Lembas
A framework for long-video retrieval-augmented generation (Video RAG) that reframes Video RAG as an allocation problem of sharing a token budget between frames and captions. It exploits the diminishing marginal value of tokens, solves the problem via an iterative water-filling algorithm, and supports token reuse across multi-turn dialogue.
Timeline (last 90 days)
The Lembas framework redefines video retrieval-augmented generation (video RAG) as a token allocation problem between frames and captions, and solves it under a shared budget.
Lembas is based on two empirical regularities: within a single video item, the marginal value of tokens diminishes as their number increases; and when similar evidence has already received many tokens, tilting more resources toward the same kind of content yields even lower returns.
Lembas uses an iterative water-filling algorithm to solve the token allocation objective, and this algorithm has provable convergence guarantees.
In multi-turn video dialogue, Lembas reuses tokens already processed in previous turns and refines relevance via the VLM's own attention mechanism, at no additional cost.
Lembas achieves a 1.7 to 17.3 times reduction in TFLOPs in multi-turn video understanding.
At comparable computation, Lembas improves accuracy by up to 7.2 percentage points over the current best baseline.
Lembas is designed as a plug-and-play framework that is not tied to a specific VLM or retriever architecture and can be layered on top of existing video RAG pipelines.
All Facts (7)
The Lembas framework redefines video retrieval-augmented generation (video RAG) as a token allocation problem between frames and captions, and solves it under a shared budget.
50%UnverifiedLembas is based on two empirical regularities: within a single video item, the marginal value of tokens diminishes as their number increases; and when similar evidence has already received many tokens, tilting more resources toward the same kind of content yields even lower returns.
50%UnverifiedLembas uses an iterative water-filling algorithm to solve the token allocation objective, and this algorithm has provable convergence guarantees.
50%UnverifiedIn multi-turn video dialogue, Lembas reuses tokens already processed in previous turns and refines relevance via the VLM's own attention mechanism, at no additional cost.
50%UnverifiedLembas achieves a 1.7 to 17.3 times reduction in TFLOPs in multi-turn video understanding.
50%UnverifiedAt comparable computation, Lembas improves accuracy by up to 7.2 percentage points over the current best baseline.
50%UnverifiedLembas is designed as a plug-and-play framework that is not tied to a specific VLM or retriever architecture and can be layered on top of existing video RAG pipelines.
50%