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

Peng Zhang, Guanghao Zhang, Wanggui He, Longxiang Zhang, Mushui Liu +8 more
5/26/2026
1 citation
cs.CVcs.AI
rlhf-rlvr-dpo

Official code: zhangguanghao523/DynFrame (6 stars, Python, Apache-2.0, last commit 2026-05-29).

Abstract

Recent video multimodal large language models (MLLMs) increasingly couple step-by-step reasoning with on-demand visual evidence retrieval, allowing models to revisit relevant video segments during inference. However, two structural gaps remain in existing thinking-with-video systems. (i) Sampling density is not a learnable decision: existing methods may let the model decide where to look, but the per-window frame rate is largely fixed.

Show full abstract

As a result, fine-grained evidence is often recovered through repeated retrieval calls, which increases inference context length and training difficulty. (ii) Retrieval and answer generation are usually optimized with a single trajectory-level advantage, so the "where to look" tokens and the "how to answer" tokens receive the same credit even when one is correct and the other is not. To address these gaps, we present DynFrame, a framework that emits the temporal window and the sampling density as native tokens within a single autoregressive pass. This learnable span-density retrieval enables acquiring multi-granularity evidence with a single retrieval step. Based on the above tokenized retrieval interface, we further introduce Segment-Decoupled GRPO (SD-GRPO), which splits each rollout at the retrieval boundary and assigns role-specific token-level advantages, separately crediting the sampling decision and the answer. Trained on the curated DM-CoT-74k and DM-RL-45k, DynFrame-4B is competitive with strong 7B-8B baselines across six benchmarks (NExT-GQA, Charades-STA, ActivityNet-MR, Video-MME, MLVU, LVBench), and DynFrame-8B sets new state-of-the-art on most metrics. Code is available at https://github.com/zhangguanghao523/DynFrame.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

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

60Python, ShellApr 8, 20266 months agoApache-2.0
chain-of-thoughtdynamic-frame-retrievalgrpomultimodalqwen-vl+4 more

Similar Papers

Cite this paper

@article{zhang2026dynframe,
  title  = {DynFrame: Adaptive Reasoning-Driven Multimodal Framework with Dynamic Frame Augmentation for Complex Video Understanding},
  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},
  year   = {2026},
  eprint = {2605.26680},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.26680v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.26680.svg)](https://codeofpaper.com/paper/2605.26680)

Discussion