Kalmanized Recursive Least Squares Attention for Streaming Video Understanding.
Matthew Korban, Peter Youngs, Scott T Acton
Key points
From the paper's conclusion- We propose Kalmanized Recursive Least Squares Attention (KRLS-Attn), a drop-in replacement for temporal attention that recasts attention as online kernel ridge regression.
Abstract
Streaming long-form video understanding requires online temporal reasoning over sequences far longer than typical training clips. Standard temporal self-attention is poorly matched to this setting: its cost grows quadratically with context length, it often degrades under context extrapolation, and it provides no native uncertainty estimate for temporally out-of-distribution events. We propose Kalmanized Recursive Least Squares Attention (KRLS-Attn), a drop-in replacement for temporal attention that recasts attention as online kernel ridge regression. KRLS-Attn maintains a fixed-size memory state-the posterior mean and covariance of a linear predictor-updated exactly via a recursive least-squares/Kalman recursion, eliminating explicit temporal attention matrices while preserving query-conditioned aggregation over the full history and keeping memory and per-step computation independent of stream length. The posterior covariance yields token-level predictive uncertainty, enabling adaptive token admission and confidence-weighted temporal pooling, while regularization and forgetting provide explicit control under temporal drift. We also derive the method's connections to kernel ridge regression and Bayesian filtering, including exact online updates, predictive uncertainty, and stability guarantees. Integrated into a factorized video Transformer, KRLS-Attn yields strong accuracy-efficiency trade-offs and improved context-length extrapolation on Kinetics-400, Something-Something V2, EPIC-KITCHENS-100, and Breakfast.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Video-MemComp: Taylor-Guided Sensitivity-Aware Memory Management for Streaming Video UnderstandingarXiv · 2026
- Kernel Ridge Attention: Nonlinear Memory with Selective ForgettingarXiv · 2026
- Watch-Think-Interact: Bootstrapping Long-Horizon Multi-Turn Streaming Video Reasoning with Reinforcement LearningarXiv · 2026
- Every Query Routes Itself: Accelerating Video Diffusion Transformers with Per-Query Routed Sparse AttentionarXiv · 2026
- StreamAhead: Real-Time Streaming Video Question Answering via Adaptive PrecomputationarXiv · 2026
- Learning-to-Memorize: Dynamic Context Management for Long-Horizon Autoregressive Video GenerationarXiv · 2026