NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PAM-Mamba - Efficient Dense Action Detection using Mamba

Dhruvraj Singh Rawat, Faegheh Sardari, Armin MustafaarXiv 2026

TL;DR

PAM-Mamba is a linear-time architecture for dense action detection that replaces computationally expensive Transformers with efficient Mamba state-space models. By introducing novel bidirectional scanning and gated positional encoding, it achieves state-of-the-art accuracy on long-video benchmarks while using over 60% fewer parameters than leading Transformer models.

What Problem Does This Paper Address?

Dense Action Detection (DAD) is the task of identifying every action occurring in a long, untrimmed video—including multiple actions that might overlap in time. This requires frame-level precision across varying temporal scales, from a split-second gesture to a multi-minute routine.

While Transformer-based models currently lead the field in accuracy, they suffer from a major bottleneck: self-attention has a quadratic computational cost ($O(T^2)$) relative to video length. This makes them difficult to scale for the very long videos (tens of minutes) common in real-world surveillance or life-logging. State Space Models (SSMs) like Mamba offer a linear-time ($O(T)$) alternative, but they aren't naturally "aware" of future context or precise global positions, both of which are critical for pinpointing when an action starts and ends.

Methods

The authors propose PAM-Mamba (Position-Aware Mamba), which adapts the Mamba architecture for DAD through four key innovations:

  1. Bi-TemBa (Bidirectional Temporal Mamba): Standard Mamba is causal (it only looks at the past). Bi-TemBa uses a cascaded bidirectional scan: a forward pass establishes context, and a backward pass refines it. This ensures every frame has access to both past and future information in linear time.
  2. Gated Learnable Positional Encoding (GLPE): Unlike Transformers, Mamba has an implicit sense of order due to its recurrent nature. GLPE uses a learnable "gate" (initially set to zero) that allows the model to decide during training exactly how much additional explicit positional information it actually needs.
  3. Hub-and-Spoke Funnel with Input Residuals: Building on multi-scale designs, this architecture provides coarse temporal branches with direct "residual" connections from the original high-resolution input features. This prevents fine-grained details from being lost as the model looks at longer time windows.
  4. Uncertainty-Based Mixup: A training augmentation strategy that uses prediction entropy (a measure of model "confusion") to pair difficult training samples together, helping the model learn more robust boundaries.
The PAM-Mamba architecture features a multi-branch encoder with direct input residuals to coarse scales.

Datasets

The model was evaluated on two primary dense action detection benchmarks:

  • Charades: Contains ~10,000 videos with 157 activity classes. It is known for having many overlapping actions (e.g., "holding a phone" while "sitting on a chair").
  • MultiTHUMOS: An extension of THUMOS14 with dense, frame-level annotations for 65 classes, averaging 1.5 labels per frame.

The authors tested PAM-Mamba using both I3D and CLIP pre-extracted features to ensure the results were robust across different visual backbones.

Key Insights and Ideas

  • Mamba's Implicit Order: A major "aha" moment is that Mamba doesn't strictly need positional encodings the way Transformers do. By making the encoding gated, the authors found that the model often performs better by ignoring explicit position in short videos but relying on it more for long ones.
  • Cascaded vs. Parallel Scanning: Most bidirectional models run forward and backward passes in parallel and then merge them. PAM-Mamba runs them in a cascade (backward pass on the forward pass's output), which allows for deeper refinement of the temporal context.
  • Residuals Matter for Scale: Providing coarse branches with direct access to raw input features (the "spokes" in the funnel) significantly improved performance on the long videos of MultiTHUMOS, suggesting that "abstraction loss" is a real problem in standard multi-scale encoders.
The Bi-TemBa block combines local convolutions with cascaded bidirectional Mamba scans.

Key Results

PAM-Mamba achieves impressive efficiency-to-accuracy trade-offs:

  • State-of-the-Art Accuracy: It reached 46.92 mAP on MultiTHUMOS (using CLIP features), outperforming the previous best Transformer-based models.
  • Massive Parameter Reduction: The model uses only 26.1M to 27.9M parameters, which is 61–63% fewer than the popular PAT (Position-Aware Transformer) model.
  • Efficiency: As shown in Figure 2, PAM-Mamba sits at the top-left of the accuracy-vs-computation curve, providing higher mAP at a fraction of the GFLOPs required by competitors like MLAD or CTRN.
PAM-Mamba achieves the highest mAP on MultiTHUMOS while remaining significantly more computationally efficient than Transformer-based alternatives.

Limitations and Future Work

Despite its efficiency, the authors note that precise boundary localization remains a challenge. While the model correctly identifies action intervals, there are still small discrepancies at the exact "onset" and "offset" frames.

Future work may involve:

  • End-to-end training: Currently, the model relies on pre-extracted features; training directly from raw video pixels could improve precision.
  • Streaming Detection: Adapting the architecture for real-time, online video processing.
  • Boundary-Sensitive Losses: Developing new loss functions specifically designed to sharpen the detection of action starts and ends.

Summary updated

BibTeX
@misc{rawat2026pam,
  author = {Dhruvraj Singh Rawat and Faegheh Sardari and Armin Mustafa},
  title = {{PAM-Mamba - Efficient Dense Action Detection using Mamba}},
  year = {2026},
  eprint = {2611.00423},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.00423},
}
Figure