Lembas treats video retrieval-augmented generation as a token allocation problem across frames and subtitles. It uses an iterative water-filling algorithm to distribute a fixed token budget where evidence value is highest.
HOW THIS AFFECTS YOU
●
builderYou can process long videos more efficiently by spending your token budget only on the most useful frames.
●
researcherThe framework uses a provable convergence guarantee for its iterative allocation algorithm.