TraCE: Trajectory-Aware Concepts for Explainable Video Understanding

Wooil Lee, Junpyo Hong, Jongseo Lee, Tuomas Oikarinen, Tsui-Wei Weng, Jinwoo Choi

TL;DR

TraCE (Trajectory-Aware Concepts for Explainable Video Understanding) is a new framework that explains video AI predictions by breaking them down into "concepts" derived from moving trajectories, objects, and scenes. By clustering optical-flow trajectories, it provides a "source-flexible" explanation that can account for the motion of people, manipulated objects, and complex interactions alike, maintaining high performance while offering actionable insights for model debugging.

What Problem Does This Paper Address?

Modern video understanding models are powerful but opaque. When a model identifies a "Soccer Penalty," we don't know if it’s looking at the player's leg, the ball's flight, or just the green grass of the stadium. Existing explainable AI (XAI) methods for video suffer from motion-source under-specification:

  1. Source-Ambiguous: Heatmap-based methods show where the model is looking but don't specify what type of evidence (motion vs. static context) is being used.
  2. Source-Incomplete: Pose-based methods are interpretable but restricted to human joints. They completely ignore the motion of objects (like a soccer ball) or interactions between multiple agents.

TraCE aims to bridge this gap by creating a unified, "typed" interface that treats visual trajectories as first-class explanatory concepts.

Comparison of existing XAI vs. TraCE. Heatmaps are ambiguous, pose is incomplete, but trajectories are source-flexible.

Methods

The core of TraCE is a Concept Bottleneck Model (CBM) architecture that forces the model to make predictions based on a set of intermediate, human-understandable concepts.

  • Trajectory Concept Discovery: Instead of relying on manual labels, TraCE automatically discovers motion patterns. It extracts dense optical flow from training videos, filters for salient foreground motion, and clusters these trajectories (using the FINCH algorithm) into recurring motion "concepts."
  • Static Context: To account for the background, TraCE queries a Video-LLM (like Qwen3-VL) to identify visible objects and scenes, creating a vocabulary of static concepts.
  • The Typed Interface: Every video is represented by a vector of activations across three groups: Trajectory ($M_t$), Object ($M_o$), and Scene ($M_s$).
  • Task-General Design:
    • For Action Recognition, a sparse linear classifier predicts the label directly from these concept activations.
  • For Video Question Answering (VQA), the system projects the question and candidate answers into the same concept space and scores them based on how well the "required" concepts match the "present" concepts in the video.
Figure 2: Overview of TraCE. TraCE represents videos with a typed trajectory/object/scene con- cept interface: trajectory concepts capture dynamic evidence, while object and scene concepts cap- ture static context. Action recognition predicts directly from video-side concept activations, whereas VQA projects each question–answer pair into concept relevance and matches it with the video-side concepts. Thus, the same typed interface supports trajectory-based explanations for both class pre- diction and language-grounded reasoning.

Datasets

The authors evaluated TraCE on six diverse benchmarks to test different aspects of video understanding:

  • Action Recognition: NTU RGB+D Mutual (interactions), Chiral SSv2 (directional motion), UCF-101 (general actions), and KTH (simple body motion).
  • Video QA: TOMATO (temporal reasoning) and STAR (situated reasoning).
  • Reformulated QA: They also converted the action recognition datasets into a multiple-choice QA format to test the consistency of their VQA head.

Key Insights and Ideas

  • Trajectories Don't Need Names: One of the most clever aspects of TraCE is that trajectory concepts are discovered in an unsupervised way. While object concepts have names like "Soccer ball," a trajectory concept might just be "curved upward motion." The model learns to associate these visual clusters with specific actions or answers through training, without needing a human to describe every possible motion in words.
  • Actionable Debugging: Because the model is built on a "bottleneck" of concepts, you can perform interventions. If a model misclassifies a video because it's over-relying on a "bottle cap" object concept rather than the actual "pushing" motion, a developer can manually deactivate that concept to see if the prediction corrects itself.
  • Faithfulness over Fluff: Many XAI methods produce "pretty" pictures that don't actually reflect the model's internal logic. TraCE uses "concept removal" tests—deactivating the most important concepts causes a sharp drop in accuracy, proving the model is actually relying on the evidence it claims to be using.
Visualizing the top-3 contributing trajectory concepts for complex actions.

Key Results

  • Competitive Performance: TraCE achieves interpretability with minimal cost. It saw only a 1.0 point drop in average accuracy for action recognition and a 0.4 point gain for VQA compared to non-interpretable "black-box" baselines.
  • Human Preference: In user studies, participants preferred TraCE's trajectory-based explanations over pose-based or language-based alternatives by a wide margin (e.g., 93% preference over pose-based models on certain tasks).
  • Robustness: The trajectory-only version of TraCE outperformed standard baselines on "object-disjoint" datasets, proving that the discovered motion concepts capture the essence of an action rather than just memorizing which objects are present.

Limitations and Future Work

  • Optical Flow Dependency: The quality of TraCE depends heavily on the underlying optical flow estimator. In scenes with heavy occlusion or very fast motion, the trajectories can become noisy.
  • Short-Range Focus: Currently, trajectories are extracted from relatively short clips (e.g., 16 frames). This limits the model's ability to explain very long-range temporal dependencies or complex multi-step stories.
  • Camera Motion: The current system can sometimes conflate foreground object motion with global camera movement (panning/zooming), though the authors suggest "ego-motion compensation" as a future fix.

Overall, TraCE offers a promising path toward video AI that doesn't just tell us what happened, but shows us the specific moving parts that led to its conclusion.

Summary updated

Abstract

Video understanding models often rely on motion, yet their explanations can obscure which motion sources support a prediction. We identify motion-source under-specification as a limitation of existing video XAI: region-centric explanations can be source-ambiguous, while motion vocabularies restricted to single-person pose sequences are source-incomplete. We propose TraCE (Trajectory-Aware Concepts for Explainable Video Understanding), a concept-based framework that discovers source-flexible motion concepts by clustering optical-flow trajectories from training videos. These concepts represent dynamic evidence from people, objects, and interactions, while object and scene concepts account for static context. The resulting typed trajectory/object/scene interface supports class prediction for action recognition and question-conditioned concept matching for video question answering (VQA). We evaluate TraCE across five random seeds on six benchmarks: NTU RGB+D Mutual, Chiral SSv2, UCF-101, KTH, TOMATO, and STAR. Relative to non-interpretable baselines, TraCE maintains competitive task performance, with an average accuracy drop of 1.0 points for action recognition and a nominal gain of 0.4 points for VQA. Motion perturbation and concept-removal tests provide complementary evidence of directional semantic alignment and decision faithfulness, while sample-level interventions illustrate targeted model debugging. Our project page is available at https://leewooil.github.io/TraCE_project_page/.
BibTeX
@inproceedings{lee2026trace,
  author = {Wooil Lee and Junpyo Hong and Jongseo Lee and Tuomas Oikarinen and Tsui-Wei Weng and Jinwoo Choi},
  title = {{TraCE: Trajectory-Aware Concepts for Explainable Video Understanding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=7fOVVa6o6F},
}
Figure