[Paper Review] Long Short-Term Transformer for Online Action Detection
LSTR proposes a novel Transformer-based architecture for online action detection that explicitly separates long- and short-term memory to model prolonged video sequences (up to 8 minutes) with high temporal granularity. By compressing long-term history into a fixed-length latent representation and attending to it via cross-attention while processing fine-grained short-term context, LSTR achieves state-of-the-art performance on THUMOS’14, TVSeries, and HACS Segment benchmarks with improved efficiency and reduced reliance on heuristics.
We present Long Short-term TRansformer (LSTR), a temporal modeling algorithm for online action detection, which employs a long- and short-term memory mechanism to model prolonged sequence data. It consists of an LSTR encoder that dynamically leverages coarse-scale historical information from an extended temporal window (e.g., 2048 frames spanning of up to 8 minutes), together with an LSTR decoder that focuses on a short time window (e.g., 32 frames spanning 8 seconds) to model the fine-scale characteristics of the data. Compared to prior work, LSTR provides an effective and efficient method to model long videos with fewer heuristics, which is validated by extensive empirical analysis. LSTR achieves state-of-the-art performance on three standard online action detection benchmarks, THUMOS'14, TVSeries, and HACS Segment. Code has been made available at: https://xumingze0308.github.io/projects/lstr
Motivation & Objective
- To address the challenge of modeling prolonged video sequences (up to 8 minutes) in online action detection, where future frames are unavailable.
- To overcome limitations of recurrent models that require backpropagation through time and struggle with long-range dependencies.
- To improve temporal modeling by explicitly separating long-term historical context from short-term, fine-grained frame-level dynamics.
- To develop an efficient, end-to-end architecture that avoids heuristic sub-sampling or pooling while maintaining high accuracy.
Proposed method
- LSTR employs an encoder-decoder Transformer architecture with two distinct memory streams: long-term memory (up to 2048 frames) and short-term memory (32 frames).
- The LSTR encoder compresses long-term history into a fixed-length latent representation using two-stage memory compression, enabling efficient long-context modeling.
- The LSTR decoder performs self-attention and cross-attention between short-term frames and the encoded long-term memory to refine predictions.
- The model uses causal attention mechanisms to ensure only past and current information is used, satisfying online inference constraints.
- It avoids recurrent units by directly attending to any frame in the long-term memory, eliminating the need for backpropagation through time.
- The architecture supports extension to action anticipation by adding future-tokens with positional embeddings and directional masks.
Experimental results
Research questions
- RQ1Can a self-attention mechanism effectively model long video sequences (up to 8 minutes) in online action detection without recurrent units?
- RQ2How does separating long- and short-term memory improve performance compared to unified modeling of past context?
- RQ3To what extent can LSTR maintain fine-grained temporal resolution while compressing long-term history?
- RQ4Can LSTR generalize across diverse datasets with varying video lengths and action characteristics?
- RQ5How does LSTR compare to prior state-of-the-art methods in terms of accuracy and computational efficiency?
Key findings
- LSTR achieves state-of-the-art performance on three standard benchmarks: THUMOS’14, TVSeries, and HACS Segment.
- On THUMOS’14, LSTR achieves a mean average precision (mAP) of 92.8% on the 'HammerThrow' action, the highest among all evaluated methods.
- LSTR demonstrates strong performance on long-duration, multi-stage actions such as 'PoleVault' and 'LongJump', achieving 89.7% and 86.9% mAP respectively.
- The model shows reduced accuracy on actions with minimal motion or low visibility, such as 'Billiards' (39.8% mAP) and 'CricketShot' (38.6% mAP), indicating sensitivity to visual subtlety.
- Ablation studies confirm that the separation of long- and short-term memory significantly improves modeling efficiency and representation quality.
- Extending LSTR to action anticipation for up to 2 seconds into the future yields competitive results, validating its adaptability to related tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.