TL;DR
MeMSVD replaces the computationally expensive attention mechanisms typically used for long-term video understanding with a lightweight, low-rank memory representation based on Singular Value Decomposition (SVD). This approach reduces computational complexity by over an order of magnitude and enables efficient incremental updates, matching or exceeding the accuracy of state-of-the-art attention-based models.
What Problem Does This Paper Address?
Modern video action recognition has mastered short clips, but "long-form" video understanding—recognizing actions that span minutes—remains a hurdle. The standard approach involves building a "long-term feature bank" (a memory of past and future features) and using cross-attention to let the model "look back" at this bank.
However, this approach hits two major walls:
- Quadratic Complexity: The computational cost of attention grows quadratically with the size of the memory bank, making very long temporal windows prohibitively expensive.
- Memory Footprint: Storing the entire feature bank for inference is taxing on hardware.
The authors ask a provocative research question: Do we actually need non-linear cross-attention to interact with memory? They argue that since these interactions happen just before the final linear classifier, a simpler, linear approach might suffice.
Methods
The authors introduce MeMSVD, which swaps out the attention layer for a subspace projection.
Instead of computing attention weights between a query and a massive bank of keys, they perform an SVD on the memory bank to find a small set of basis vectors ($U_{mem}$) that capture the most significant information. The interaction then becomes a simple two-step process:
- Project the current clip's features onto this low-rank subspace.
- Reconstruct the features back into the original space.
Mathematically, this is analogous to attention but operates in a much lower-dimensional space. To handle streaming video, they propose oMeMSVD (Online MeMSVD). Using an incremental SVD algorithm, the model can update its memory basis one clip at a time without ever needing to store the full feature bank or recompute the SVD from scratch.
Datasets
The framework was evaluated on three major benchmarks:
- AVA (v2.1 and v2.2): A challenging dataset for spatio-temporal action localization in 15-minute video segments.
- Charades: A dataset for action recognition in trimmed videos (averaging 30 seconds), used to demonstrate the method's generalization to different tasks.
- Kinetics-400/700: Used for pre-training the various backbones (SlowFast, ACAR-Net, MViTv2).
Key Insights and Ideas
- Linearity is Sufficient: One of the most significant findings is that the non-linear "softmax" typically found in attention isn't necessary for effective memory interaction. A linear subspace projection achieves similar, and often better, results.
- Extreme Compression: The authors found that a very low-rank approximation is enough. Keeping only about 10 components ($n_c=10$) is sufficient to reach peak performance, representing a 20-30x reduction in memory compared to storing raw features.
- Stability via Incremental Updates: The online version (oMeMSVD) uses a "forgetting factor" ($\lambda$) to balance new information with old. A value of $\lambda = 0.95$ was found to be the sweet spot, allowing the model to maintain a stable representation of the past without the overhead of full re-computation.
Key Results
- Efficiency: MeMSVD reduces computational complexity by more than 10x compared to attention-based counterparts. As shown in the throughput analysis, MeMSVD's processing time remains nearly flat even as the memory window grows to 160 seconds, while attention-based methods slow down significantly.
- Accuracy Gains: On AVA v2.2, MeMSVD with an ACAR-Net-50 backbone achieved 29.4 mAP, outperforming the attention-based baseline (29.0 mAP) while using significantly fewer parameters (38.0M vs 56.9M).
- SOTA on Charades: The method achieved 43.0 mAP on the Charades dataset, surpassing previous state-of-the-art results for models pre-trained on Kinetics-400.
Limitations and Future Work
- Long-term Divergence: The authors note that updating the SVD basis incrementally can lead to a slight divergence from the "true" eigenvectors that would be calculated from a full-batch SVD. While the forgetting factor helps, very long sequences might still face this drift.
- Hyperparameter Sensitivity: The performance of oMeMSVD is sensitive to the forgetting factor; dropping $\lambda$ to 0.8 resulted in a noticeable performance dip (27.4 mAP).
- Future Directions: The paper suggests that this low-rank approach could be extended beyond video to other domains where long-range context is currently handled by expensive attention mechanisms, such as long-document processing in NLP.
Summary updated