VideoGym: An Adaptive RL Environment for Long-Video Agents
Jing Wang, Yi Ke Yun, Yifeng Yao, Huishuai Zhang, Dongyan Zhao, Tao Wang
Key points
From the paper's conclusion- Together, these results show that task expansion and adaptive allocation can improve video agent learning from limited, imbalanced training data.
Abstract
Reinforcement learning (RL) trains video agents to locate sparse evidence for long-video question answering through structured memory retrieval and temporal re-observation. This training, however, faces a long-tail modality distribution in the data. In our source pool, text-heavy questions account for 58% of samples, compared with 15% graph-heavy, 17% visual-heavy, and 10% time-range questions. Fixed-distribution RL therefore allocates fewer rollouts to underperforming question types. Reweighting these types could increase their sampling frequency but repeatedly reuses the same finite banks of original questions. To solve this problem, we introduce VideoGym, a curriculum-based RL environment that jointly constructs video-grounded training tasks and allocates rollouts among them. Within the environment, a memory-augmented VideoAgent is trained to coordinate retrieval from text, graph, and visual memories with temporal re-observation. Across episodes, VideoGym adapts VideoAgent's training distribution online: it casts per-period sample selection as an adversarial bandit over (modality, mode) arms and applies the EXP3 update to shift sampling toward arms with low answer accuracy. To supply the augmented-mode arms, a TaskGenerator-Verifier pipeline produces harder variants of existing questions that remain answerable within the same video. Across five long-video benchmarks, VideoGym lifts RL accuracy from 60.4% to 64.8% on average and by up to 10.5 pp on underrepresented graph-heavy questions with 3.3x sample efficiency. Together, these results show that task expansion and adaptive allocation can improve video agent learning from limited, imbalanced training data.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- AdaAlloc: Adaptive Visual Token Allocation for Long-Video Question AnsweringarXiv · 2026
- LoopSeek: Decoupling System One Search from System Two Answering for Long Video UnderstandingarXiv · 2026
- VideoEvolve: Co-Evolving Memory and Retrieval for Long Video UnderstandingarXiv · 2026
- Where Do Reported Long-Video QA Gains Come From? A Controlled Audit of Frame Selection, Evidence Injection, and Expert RoutingarXiv · 2026
- One Skill Does Not Fit All: Automatic Discovery and Taxonomy-Guided Routing of Frame-Selection Skills for Long-Video Question AnsweringarXiv · 2026
- From Intent to Evidence: Policy-Steered Multi-Strategy Retrieval for Long-Video AgentsarXiv · 2026