When Should the Count Change? Learning State Maintenance for Causal Video Counting
Pengyiang Liu, Dongyue Lyu, Junbo Niu, Zhongyue Shi, Jiahao Xie, Si Liu
Abstract
Continuous video counting requires distinguishing new observations from new objects or completed events. We introduce StaMina (State Maintenance), which learns to maintain counting state through state-conditioned updates. Recurrent visual context supports recognition; learned transitions maintain visibility, persistent identities, and completed-event records. A differentiable recurrence trains event transitions over legal paths constrained by count endpoints; visibility and association objectives train the object branch. A multi-source pipeline organizes 39.8K spatial queries and complementary event annotations into counting trajectories. On SVCBench, we evaluate counting adaptation with partial video overlap and held-out groups of linked annotations. Under prefix replay (Full) and persistent streaming (Stream), 4B and 8B models reach 41.9/36.4 and 44.9/38.2 Gaussian Precision Accuracy, respectively. The 8B model gains 10.9/3.2 points over Counting-SFT on the same queries. Matched-graph comparisons isolate phase conditioning and trajectory supervision, assessing training objectives alongside hard decisions. Online video benchmarks and count-conditioned decisions assess online understanding and task eligibility. Project Page: https://PLACEHOLDER.github.io/StaMina/
Create a lesson
Metadata
- Comments
- 28 pages, 7 figures. Project Page: https://PLACEHOLDER.github.io/StaMina/
Related papers
LiveVAE: Causal Window Attention Makes Efficient Streaming Video VAE
Shared title terminologycs.CVJiachen An, Sijie Zhao, Le Li et al.
StateWeaver: Multi-Agent Coordination of Story-State Transitions for Long-Horizon Video Generation
Shared title terminologycs.CVModi Jin, Xuying Zhang, Yijing Guo et al.
EgoMyo: Physical Hand State Estimation from Egocentric Video and Wrist Electromyography
Shared title terminologycs.CVGuanglong Sun, Kanglei Zhou, Ziteng Wang et al.
Learning to Reason with Persistent Object States for Video Instance Segmentation
Shared title terminologycs.CVYongxue Xu, Boxue Yang, Ziqian Liu et al.
AnyCam: Anything Can Represent Camera for Video Generation
Shared title terminologycs.CVWeijie Lyu, Zhixin Shu, Yuntian Ke et al.
Improving and Expanding Video Editing Capabilities Without Videos
Shared title terminologycs.CVJi Xie, Yanhao Jia, Xiangpeng Yang et al.