Reproduce “TRecViT: A Recurrent Video Transformer” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Viorica Pătrăucean, Xu Owen He, Joseph Heyward, Chuhan Zhang, Mehdi S. M. Sajjadi, George-Cristian Muraru, Artem Zholus, Mahdi Karami and 5 more

The authors introduce TRecViT, a causal video model that carries a running memory for each image-patch location while attention connects patches within each frame. On supervised Something-Something v2 classification with 32 input frames, it reaches 66.8% top-1 accuracy versus ViViT-L’s 65.9%, with 111.3M versus 310.8M parameters; this is a benchmark comparison, not a live-deployment demonstration.

Key insights

  • Strategically factorizing video processing into temporal (gated LRUs), spatial (self-attention), and channel (MLPs) components yields an efficient and effective causal model.
  • Gated LRUs can effectively model long-range temporal dependencies in video while maintaining causality, linear training, and constant inference complexity per frame.
  • Optimal LRU configurations for video, such as a lower recurrence eigenvalue initialization (λmin=0.6) and a temporal patch size of 1, differ from those typically used in language models.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.