DynFrame: Adaptive Reasoning-Driven Multimodal Framework with Dynamic Frame Augmentation for Complex Video Understanding

Peng Zhang, Guanghao Zhang, Wanggui He, Longxiang Zhang, Mushui Liu, Yan Xia, Zhenhao Peng, Weilong Dai, Jinlong Liu, Haobing Tang, Le Zhang, Hao Jiang, Pipei HuangarXiv 2026

TL;DR

DynFrame is a novel video multimodal large language model (MLLM) framework that treats video frame retrieval—both where to look and how densely to sample—as native tokens within a single autoregressive pass. By combining this expressive retrieval interface with a new reinforcement learning algorithm called Segment-Decoupled GRPO (SD-GRPO), DynFrame achieves state-of-the-art performance on complex video understanding benchmarks while maintaining a highly efficient context length.

What Problem Does This Paper Address?

Most modern video AI models operate on a fixed visual diet: they sample a sparse set of frames from a video before they even begin "thinking" or generating an answer. For long videos or fine-grained actions (like counting how many times a snowboarder spins in the air), this approach is fragile. Important details get lost in the initial downsampling, leading the model to hallucinate answers as its reasoning chain grows.

To fix this, recent "thinking-with-video" systems allow models to actively revisit video segments during inference. However, existing systems suffer from two major structural gaps:

  1. Rigid Sampling Density: While current models can decide where to look (the temporal window), they cannot decide how closely to look (the frame rate is fixed). Capturing fine-grained details requires repeated, multi-turn retrieval calls, which balloons the model's context length and complicates training.
  2. The Credit Assignment Problem: When training these models via Reinforcement Learning (RL), standard methods apply a single reward to the entire generation trajectory. If a model correctly identifies where to look but fails to answer the question, the retrieval tokens are unfairly penalized. Conversely, if the model guesses the right answer using a shortcut cue, a bad retrieval decision gets rewarded.

Methods

DynFrame introduces an elegant, end-to-end trainable framework that unifies adaptive frame retrieval with vision-language reasoning inside a single generative process.

Figure 2: Overview of DynFrame. The model interleaves tokenized temporal retrieval (<span>, <fps>) with on-the-fly frame injection inside a single autoregressive pass. SD-GRPO splits each rollout at the retrieval boundary and applies segment-specific advantages so that the sampling decision and the answer reasoning are credited separately.

1. Tokenized Retrieval Interface & Dynamic Injection

DynFrame natively emits special tokens—<span>ts–te</span> to specify a temporal window and <fps>f</fps> to specify a sampling rate—directly inside its chain-of-thought (CoT) process. The moment the </fps> token is generated, it acts as a trigger: the system dynamically extracts the requested frames from the original video at the specified density, encodes them, and injects them directly into the decoding context on-the-fly.

2. Segment-Decoupled GRPO (SD-GRPO)

To solve the credit assignment problem, the authors propose SD-GRPO. This algorithm splits each training rollout at the retrieval boundary into two distinct segments:

  • Sampling Segment (Before Injection): Evaluated on both retrieval quality (temporal Intersection-over-Union and FPS matching) and final answer correctness.
  • Reasoning Segment (After Injection): Evaluated strictly on final answer correctness and formatting.

This ensures that the model receives targeted, role-specific feedback for both where to look and how to answer.

Datasets

Because no public datasets provided interleaved reasoning with joint span and FPS targets, the authors curated two new datasets using Gemini-3-Pro:

  • DM-CoT-74k: Used for cold-start Supervised Fine-Tuning (SFT), containing a mix of temporal grounding, VideoQA, and grounded VideoQA.
  • DM-RL-45k: Used for reinforcement learning, providing ground-truth temporal spans, FPS targets, and answers.

The framework was evaluated across six diverse benchmarks: NExT-GQA (grounded VideoQA), Charades-STA & ActivityNet-MR (temporal sentence grounding), and Video-MME, MLVU, & LVBench (long-form video understanding).

Key Insights and Ideas

  • The Semantic Gradient of FPS: One of the most fascinating findings was how DynFrame naturally learned to map content dynamics to sampling frequency. Low FPS (1–2) was automatically chosen for static scenes (words like standing, wearing, background). Medium FPS (3–4) was used for sequential activities (begins, sequence, observe). High FPS (5–6) was reserved for rapid physical actions (moving, throwing, jumping).
  • Robustness to Sparse Initial Passes: When the initial video sampling rate was choked down from 2 fps to a very sparse 0.5 fps, standard baselines suffered massive performance drops (up to 13.6 points). DynFrame, however, degraded by at most 1.8 points because its dynamic retrieval mechanism successfully recovered the missing visual evidence.
  • Context Efficiency: By achieving multi-granularity evidence retrieval in a single step, DynFrame avoids the massive context-length inflation seen in multi-turn tool-calling models.

Key Results

  • State-of-the-Art: DynFrame-8B set new state-of-the-art results across most evaluated benchmarks, achieving 72.3% on Video-MME, 77.1% on MLVU, and 61.7 mIoU on Charades-STA.
  • Punching Above Its Weight: DynFrame-4B proved highly competitive with, and often outperformed, much larger 7B–8B baselines (such as VITAL-7B and VideoChat-R1.5) while maintaining a significantly smaller inference context length. For instance, on LVBench, DynFrame-8B required an average context of ~9.7k tokens, compared to Video-o3's massive ~68.4k tokens.

Limitations and Future Work

While DynFrame supports multiple rounds of retrieval in theory, the current implementation and evaluation focus on a single retrieval round to optimize the accuracy-cost trade-off. Additionally, the framework relies on a proprietary teacher model (Gemini-3-Pro) to bootstrap its training datasets, meaning the initial quality of the learned FPS targets is bounded by the teacher's capabilities. Future work could explore fully autonomous, multi-round discovery of optimal visual densities without relying on external LLM annotations.

Summary updated

BibTeX
@misc{zhang2026dynframe,
  author = {Peng Zhang and Guanghao Zhang and Wanggui He and Longxiang Zhang and Mushui Liu and Yan Xia and Zhenhao Peng and Weilong Dai and Jinlong Liu and Haobing Tang and Le Zhang and Hao Jiang and Pipei Huang},
  title = {{DynFrame: Adaptive Reasoning-Driven Multimodal Framework with Dynamic Frame Augmentation for Complex Video Understanding}},
  year = {2026},
  eprint = {2605.26680},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.26680},
}
Figure