CircuitProbe: Tracing Visual Temporal Evidence Flow in Video Language Models

Ying Zhang, Chengzhang Yu, Zhuokai Zhao, Kun Wang, Qiankun Li, Zihan Chen, Yang Liu, Zenghui Ding, Yining Sun, Sun, Yining, Wen, Qingsong

TL;DR

This paper introduces CIRCUITPROBE, a novel framework for understanding how video information is processed and integrated by large vision-language models (LVLMs). By dissecting the model's internal workings, they identify that temporal understanding emerges in later layers and can be enhanced by selectively amplifying specific attention heads, leading to improved performance on temporal reasoning tasks.

What Problem Does This Paper Address?

Large vision-language models (LVLMs) are increasingly capable of understanding and generating text based on visual inputs, including videos. However, a key challenge is understanding how these models process temporal information from videos. Unlike static images, videos require models to integrate evidence across frames and understand the flow of events over time. Current LVLMs project video features into the language model's embedding space, but it's unclear where and how temporal evidence is represented and how it causally influences the model's output. This lack of understanding hinders the development of more robust and reliable video understanding systems.

Methods

CIRCUITPROBE employs a two-stage circuit-level analysis framework:

  1. Visual Auditing: This stage aims to pinpoint where task-critical object semantics are located within the projected video-token sequence. It uses targeted ablations (removing or replacing specific video tokens) and controlled substitutions (e.g., replacing visual object tokens with their corresponding text labels) to reveal the causal necessity of these tokens for downstream tasks.
  2. Semantic Tracing: This stage tracks the layer-wise emergence of language-aligned object and temporal concepts. It utilizes "logit-lens" probing, which projects intermediate hidden states into the vocabulary space, to measure how reliably and strongly concepts are expressed at different layers. Temporal frame interventions (like shuffling or reversing frames) are also used to assess sensitivity to temporal structure.

Based on these insights, the authors propose a "Surgery Method": they identify temporally specialized attention heads (those that attend broadly across time and to video content) and selectively amplify their contributions within a critical layer interval identified by Semantic Tracing. This intervention is performed at inference time without retraining.

Datasets

The paper evaluates its methods on three representative LVLM backbones: LLaVA-NeXT, LLaVA-OneVision, and Qwen2.5-VL. For analysis, they curate a subset of the STAR benchmark, focusing on tasks requiring temporal understanding, specifically "Interaction" (action-object binding) and "Sequence" (chronological dependencies).

Key Insights and Ideas

  • Object Semantics are Localized but Not Sufficient: Visual auditing reveals that object-specific information is indeed localized to specific video tokens. However, simply providing these tokens isn't enough; the model needs to integrate them with broader contextual information, especially in earlier layers.
  • Temporal Understanding Emerges in Later Layers: Semantic tracing shows a significant increase in the expression of object and temporal concepts in the mid-to-late layers of the LLM. This suggests that temporal reasoning isn't an early visual processing step but rather a consolidation process that happens deeper within the language model.
  • Frame Aggregation Over Explicit Temporal Modeling: The analysis suggests that LVLMs often behave more like "bag-of-frames" aggregators rather than explicitly modeling temporal transitions. This is inferred from how decoded concepts evolve and the model's sensitivity to temporal perturbations.
  • Targeted Intervention Yields Gains: Amplifying specific "temporal" attention heads within the identified critical layers leads to consistent performance improvements, demonstrating that these heads play a causal role in temporal reasoning.

Key Results

  • Performance Improvement: Amplifying identified temporal heads on the TempCompass benchmark resulted in consistent improvements of up to 2.4% absolute accuracy.
  • Localization Validation: Ablating object-aligned tokens caused significantly larger performance drops than ablating random tokens, confirming semantic localization.
  • Layer-Specific Consolidation: Semantic tracing metrics (Correspondence Rate and Answer Probability) showed a sharp rise in mid-to-late layers, indicating where temporal concepts become language-aligned.
  • Temporal Perturbation Impact: Temporal perturbations (frame shuffling, reversal) degraded performance, with stronger disruptions causing larger drops, highlighting the importance of temporal structure.
  • Inference-Time Enhancement: The "surgery" intervention achieved gains without model retraining, demonstrating that temporal reasoning capabilities can be enhanced post-hoc.

Limitations and Future Work

  • Limited Model Scope: The evaluation primarily covered a few model families (LLaVA-NeXT, LLaVA-OneVision, Qwen2.5-VL). Extending the analysis to broader architectures and larger models is suggested.
  • Potential Side Effects: The authors acknowledge that they did not systematically quantify potential side effects of their intervention, such as calibration shifts or robustness under distribution shifts.
  • Implicit vs. Explicit Temporal Modeling: While the paper suggests LVLMs lean towards frame aggregation, further investigation into explicit temporal state modeling could be a future direction.

Summary updated

Abstract

Autoregressive large vision--language models (LVLMs) interface video and language by projecting video features into the LLM's embedding space as continuous visual token embeddings. However, it remains unclear where temporal evidence is represented and how it causally influences decoding. To address this gap, we present CircuitProbe, a circuit-level analysis framework that dissects the end-to-end video-language pathway through two stages: (i) Visual Auditing, which localizes object semantics within the projected video-token sequence and reveals their causal necessity via targeted ablations and controlled substitutions; and (ii) Semantic Tracing, which uses logit-lens probing to track the layer-wise emergence of object and temporal concepts, augmented with temporal frame interventions to assess sensitivity to temporal structure. Based on the resulting analysis, we design a targeted surgical intervention that strictly follows our observations: identifying temporally specialized attention heads and selectively amplifying them within the critical layer interval revealed by Semantic Tracing. This analysis-driven intervention yields consistent improvements (up to 2.4% absolute) on the temporal-heavy TempCompass benchmark, validating the correctness, effectiveness, and practical value of the proposed circuit-level analysis for temporal understanding in LVLMs.
BibTeX
@misc{zhang2025circuitprobe,
  author = {Ying Zhang and Chengzhang Yu and Zhuokai Zhao and Kun Wang and Qiankun Li and Zihan Chen and Yang Liu and Zenghui Ding and Yining Sun and Sun, Yining and Wen, Qingsong},
  title = {{CircuitProbe: Tracing Visual Temporal Evidence Flow in Video Language Models}},
  year = {2025},
  eprint = {2507.19420},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.19420},
}
Figure