Manuscript Offprint

arXiv:2608.23330

IntentQA: Intent Question Answering in Videos by Cognitive Context Reasoning

Jiapeng Li, Ping Wei, Wenjuan Han, Song-Chun Zhu, Lifeng Fan

Jiapeng Li 1^{1}, Ping Wei ⊠,1^{\boxtimes,1}, Senior Member, IEEE

Wenjuan Han 3^{3}, Song-Chun Zhu 2^{2}, Fellow, IEEE, Lifeng Fan ⊠,2^{\boxtimes,2}

Abstract—Video understanding requires intelligent agents to transcend mere recognition of visual facts and comprehend the underlying intents behind human actions—often termed the “dark matter” of social intelligence. To bridge the gap between visual observation and intent reasoning, we introduce a novel task, IntentQA, and contribute a large-scale VideoQA dataset specifically tailored for this purpose. However, recognizing that standard metrics may overestimate capabilities due to dataset biases, we go beyond simple accuracy to rigorously evaluate model robustness. We augment the benchmark by generating five distinct contrast sets via Large Language Models (LLMs) and introducing a “Contrast Performance Decline” metric. We propose the X-CaVIR (eXplainable Context-aware Video Intent Reasoning) framework, which leverages three types of “Cognitive Context” to enhance video analysis: i) Situational Context via a cross-modal Video Query Language (VQL) module, ii) Contrastive Context via a Contrastive Learning module, and iii) Commonsense Context via a Commonsense Reasoning module. Crucially, to overcome the opacity of traditional black-box models, we refine the integration of LLMs within X-CaVIR by employing a transparent pipeline that synergizes video captions with VQA model outputs. This approach not only improves performance by effectively utilizing rich commonsense knowledge but also renders the reasoning process explicitly interpretable. Extensive experiments demonstrate the effectiveness of our components, the superiority of X-CaVIR over state-of-the-art baselines, and its stability against perturbations on the contrast sets. The dataset and codes are open-sourced at: https://github.com/JoseponLee/IntentQA.

Index Terms—Intent understanding, social intelligence, video question answering, visual reasoning, context

I. INTRODUCTION

Video question answering (VideoQA) has emerged as a prominent field for interactive AI, yet it faces significant challenges in moving beyond factoid-based tasks to inferential reasoning about latent variables [1]. While current models excel at recognizing observable facts, they struggle with the “dark matter” of social intelligence—the unobservable mental states that drive human behavior [2], [3]. Psychological research demonstrates that humans are adept at inferring this mental world from simple visual cues [4]. Even six-month-old infants perceive human actions as goal-directed behavior [5], and adults naturally interpret events as sequences of goals driven by intentions [6]–[8]. In fact, rather than encoding every action detail, humans store interpretations of intent for later retrieval [9]. However, bridging the gap between visual observation and intent reasoning remains essential for building truly intelligent systems.

To address this, we define the task of IntentQA, which requires an AI agent to answer questions regarding the psychological goals and distinct intentions of characters in a video. We argue that successful intent reasoning relies heavily on three distinct types of cognitive contexts:

(I) Situational Context: As illustrated in Fig. 1 (a), this pertains to the immediate environment in which the action occurs, emphasizing how contextual elements directly influence the interpretation. For example, the action of “pointing to a cup” is interpreted as “give me water” in a dining context, but implies “clean the cup” when the context is “a sink full of dirty cups.” The immediate surroundings play a crucial role in shaping the understanding of non-verbal cues.

(II) Contrastive Context: This involves comparing the observed action with similar actions in different scenarios to highlight distinct intents. For instance, by contrasting the scenario of “a sink full of dirty cups” against “a shelf displaying beautiful cups,” the divergent meanings attached to the same pointing action (i.e., cleaning vs. admiring) become distinguishable. This comparison facilitates a deeper, context-sensitive understanding that enhances adaptability.

1^{1} National Key Laboratory of Human-Machine Hybrid Augmented Intelligence, Xi'an Jiaotong University, Xi'an, China

2^{2} National Key Laboratory of General Artificial Intelligence, Beijing Institute for General Artificial Intelligence (BIGAI), Beijing, China

3^{3} School of Computer and Information Technology, Beijing Jiaotong University, Beijing, China

(III) Commonsense Context: This context relies on intrinsic or culturally ingrained understandings that link specific scenes with typical actions. For example, placing a cup on a table in a library is commonly understood as reserving a seat. This shared cultural knowledge bridges the gap between an observed action and its underlying purpose, enabling the inference of intent from seemingly simple actions that would otherwise appear to have no deeper meaning.

Corresponding authors: Ping Wei (pingwei@xjtu.edu.cn) and Lifeng Fan (lifengfan@bigai.ai).

Manuscript received 13 July 2024; revised 21 November 2025; accepted 26 April 2026.

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

We contribute a new dataset for IntentQA, organized into four categories: Causal Why, Causal How, Temporal Previous, and Temporal Next. However, recent critiques suggest that standard evaluation metrics may overestimate model capabilities.

This is the accepted manuscript. The Version of Record is: J. Li, P. Wei, W. Han, S.-C. Zhu, and L. Fan, “IntentQA: Intent Question Answering in Videos by Cognitive Context Reasoning,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 48, no. 9, pp. 11044–11061, September 2026, doi: 10.1109/TPAMI.2026.3690561.

Figure

(a)

(b)

Fig. 1: (a) Illustration of challenges brought by varied contexts in video intention reasoning. The same action under different contexts could mean different underlying intents. (b) Illustration of the overview of our model's inference and an example of its contrast set.

ties due to dataset biases [10], [11]. Specifically, Gardner et al. [10] demonstrated that popular models often suffer significant performance drops when tested on “contrast sets” designed with subtle perturbations. To address this, we propose X-CaVIR (eXplainable Context-aware Video Intent Reasoning), a framework that utilizes Large Language Models (LLMs) as explicit reasoners. By incorporating a novel pipeline that synergizes video captions with VQA confidence scores, X-CaVIR achieves superior performance while providing an observable window into the reasoning process.

Our contributions are summarized as follows: 1) We introduce IntentQA, a novel VideoQA task focusing on intent reasoning, where the objective is to accurately select answers based on understanding of intents. 2) We collect and annotate an original large-scale IntentQA dataset. Crucially, we construct a rigorous robustness benchmark by generating five distinct contrast sets and introducing the “Contrast Performance Decline” metric. 3) We build a Context-aware Video Intent Reasoning model (X-CaVIR) that incorporates Situational, Contrastive, and Commonsense contexts. 4) We refine the integration with LLMs in X-CaVIR, employing a transparent pipeline that yields superior performance while offering interpretable reasoning pathways.

A preliminary version of this work [12] has been accepted for oral presentation at ICCV 2023. The current version presents several significant advancements over the previous one:

• From Accuracy to Robustness: The original task definition relies on standard accuracy, which can be prone to dataset biases. In this extension, we introduce a comprehensive robustness evaluation framework by generating five distinct Contrast Sets (involving verb, noun, and gender perturbations) and a new metric, Contrast Performance Decline. This ensures that the model's performance reflects genuine intent understanding rather than superficial pattern matching.

• From Black-box to Interpretable Reasoning: While the preliminary model (CaVIR) successfully introduced context awareness, its reasoning mechanism remained largely opaque. In this version, we propose X-CaVIR, which features a novel pipeline integrating VideoQA confidence scores with dense captions and LLMs. This upgrade not only significantly improves performance but also provides an interpretable reasoning process, allowing us to explicitly trace why an intent is inferred.

The rest of the paper is organized as follows. Section II reviews related work. Section III presents the proposed IntentQA dataset in detail. Section IV describes the proposed X-CaVIR model. Section V demonstrates the effectiveness of our method through extensive experiments.

References (100)