ENTER: Event Based Interpretable Reasoning for VideoQA

Hammad A. Ayyubi, Junzhang Liu, Ali Asgarov, Zaber Ibn Abdul Hakim, Najibul Haque Sarker, Zhecan Wang, Chia-Wei Tang, Hani Alomari, Md. Atabuzzaman, Xudong Lin, Naveen Reddy Dyava, Shih-Fu Chang, Chris Thomas · OpenReview

Abstract

In this paper, we present ENTER, an interpretable Video Question Answering (VideoQA) system based on event graphs. Event graphs convert videos into graphical representations, where video events form the nodes and event-event relationships (temporal/causal/hierarchical) form the edges. This structured representation offers many benefits: 1) Interpretable VideoQA via generated code that parses event-graph; 2) Incorporation of contextual visual information in the reasoning process (code generation) via event graphs; 3) Robust VideoQA via Hierarchical Iterative Update of the event graphs. Existing interpretable VideoQA systems are often top-down, disregarding low-level visual information in the reasoning plan generation, and are brittle. While bottom-up approaches produce responses from visual data, they lack interpretability. Experimental results on NExT-QA, IntentQA, and EgoSchema demonstrate that not only does our method outperform existing top-down approaches while obtaining competitive performance against bottom-up approaches, but more importantly, offers superior interpretability and explainability in the reasoning process.

Introduction: The Interpretability-Performance Trade-off

Video Question Answering (VideoQA) requires a sophisticated understanding of objects, actions, and their complex relationships across time. Current research typically follows one of two paradigms: Bottom-Up (Black-Box) or Top-Down (Modular) approaches.

Bottom-up models process raw pixels directly. While powerful, they lack transparency, making it impossible to audit the reasoning behind a specific answer. Conversely, top-down modular systems generate a reasoning plan (e.g., API calls or code) based on the question. However, these are often "brittle" because they generate plans without initial visual context, leading to logical steps that may miss crucial video details.

Comparison of VideoQA paradigms: Bottom-Up, Top-Down, and ENTER (Ours).

To bridge this gap, we introduce ENTER (Event-based Interpretable Reasoning). ENTER utilizes an intermediate, structured representation called an Event Graph to provide both high performance and clear, executable interpretability.

The ENTER Framework

The ENTER pipeline is designed to be modular and robust, operating in three distinct stages to ensure that the reasoning process is grounded in visual evidence.

1. Event Graph Generation

Rather than analyzing raw frames in a vacuum, ENTER first employs a Vision-Language Model (VLM) to generate detailed captions of the video. An Large Language Model (LLM) then parses these captions into a structured graph. In this graph, nodes represent specific events, while edges define the relationships between them: temporal (before/after), causal (cause/effect), or hierarchical (sub-events).

2. Code Generation and Execution

Given a natural language question, an LLM generates modular Python code specifically designed to navigate the constructed event graph. For instance, to answer a count-based question, the code might iterate through event nodes to identify and count unique entities. This approach ensures logical consistency and allows for line-by-line debugging of the model's "thought process."

3. Hierarchical Iterative Update

A key innovation of ENTER is its self-correction loop. If the initial graph lacks sufficient information, the system enters a three-stage update process:

  • Stage 1: It attempts to generate a denser graph from the existing captions.
  • Stage 2: It prompts the VLM for "denser captions" focusing on the specific missing details identified during code execution.
  • Stage 3: It incorporates "multimodal edges," retrieving specific video clips to answer sub-questions directly via multimodal QA.
The ENTER pipeline, illustrating the flow from video and question to event graph construction, code generation, and iterative updates.

Experimental Evaluation

We evaluated ENTER on three major VideoQA benchmarks, each testing different aspects of reasoning:

  • NExT-QA: Focused on causal and temporal actions.
  • IntentQA: Focused on the underlying intentions of human actions.
  • EgoSchema: Featuring long-form (3-minute) egocentric videos.

Key Results

ENTER significantly outperforms existing modular and top-down approaches and remains competitive with state-of-the-art black-box models:

  • NExT-QA: Achieved 75.1% accuracy, representing a 16.6% improvement over the leading modular approach (MoReVQA) on causal questions.
  • IntentQA: Reached 71.5% accuracy, demonstrating that structured reasoning does not have to come at the cost of performance.
  • Robustness: ENTER showed remarkable stability when switching between LLM backends. While competing models saw accuracy drops of up to 21% when moving from GPT-4 to Llama 3, ENTER's performance remained consistent due to its structured graph-based foundation.

Error Analysis and Interpretability

Because ENTER's reasoning is executable code, we can precisely categorize failure modes, a task nearly impossible for black-box models. Our analysis identified three primary error types:

  1. Insufficient Knowledge: The initial captioning VLM missed a critical object or action.
  2. Inconsistent Referencing: The model failed to maintain a consistent label for an entity across different events.
  3. Missed Information: The system failed to establish a necessary causal or temporal link during graph construction.

Conclusion

ENTER demonstrates that structured, event-based representations can effectively bridge the gap between interpretability and performance in VideoQA. By converting visual data into a navigable graph and reasoning via executable code, ENTER provides a transparent and robust framework for complex video understanding. Future work will focus on improving initial captioning density and enhancing long-term entity tracking within the graph structure.

Summary updated

BibTeX
@misc{ayyubi2025enter,
  author = {Hammad A. Ayyubi and Junzhang Liu and Ali Asgarov and Zaber Ibn Abdul Hakim and Najibul Haque Sarker and Zhecan Wang and Chia-Wei Tang and Hani Alomari and Md. Atabuzzaman and Xudong Lin and Naveen Reddy Dyava and Shih-Fu Chang and Chris Thomas},
  title = {{ENTER: Event Based Interpretable Reasoning for VideoQA}},
  year = {2025},
  eprint = {2501.14194},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.14194},
}
Figure