From Frames to Temporal Graphs: In-Context Egocentric Action Recognition with Vision-Language Models

summary

Video file (mp4)

The gist

The gist The proposed TAG framework converts egocentric video into structured Temporal Action Graphs for action recognition.

In short

The TAG framework converts egocentric video into structured Temporal Action Graphs for action recognition. It decouples visual perception from reasoning by distilling pixel dynamics into a text-serializable graph that Vision-Language Models can reason over. This symbolic representation enables efficient in-context learning and shows VLMs are better as symbolic reasoners than direct visual observers.

Key concepts

Temporal Action Graphs (TAG)
A structured, text-serializable representation of video actions. It captures the evolution of hand-object interactions over time by assembling local interaction graphs into a single directed graph where nodes represent agents/objects and edges represent relations with temporal indices.
Neuro-Symbolic Mapping
A two-stage prompting strategy used to convert raw visual windows into structured data. Stage one generates a natural language narrative, which acts as a semantic bottleneck, followed by Stage two parsing that narrative into a formal graph structure using specific schema constraints.
In-Context Learning (ICL) with Graphs
Using the structured graph representation to perform few-shot learning. Serializing the graph allows demonstrations to be provided as text tokens instead of raw pixels, significantly boosting performance over zero-shot frame or graph-only inference settings.

Terminology used across episodes

This episode discusses

The paper

From Frames to Temporal Graphs: In-Context Egocentric Action Recognition with Vision-Language Models · Read on arXiv

Bessie Dominguez-Dager, Francisco Gomez-Donoso, Miguel Cazorla, Marc Pollefeys, Daniel Barath, Zuria Bauer

University of Alicante · ETH Zürich · Microsoft

Action reasoning in egocentric video requires capturing fine-grained transitions of hand-object interactions, a task where general-purpose Vision-Language Models (VLMs) often struggle when operating directly on raw pixels. We propose to decouple visual perception from symbolic reasoning by converting videos into Temporal Action Graphs. In a multi-stage prompting pipeline, we first generate dense natural language narratives over short temporal windows as a semantic bottleneck, then formalize them into structured, open-vocabulary graph representations. On the EGTEA and Epic-Kitchens-100 datasets, the symbolic representation unlocks efficient in-context learning: few-shot graph demonstrations yield substantial accuracy gains over zero-shot frame-based inference. Even in the zero-shot setting, graph-based reasoning remains competitive with pixel-based inference despite potential pretraining contamination favoring the latter. Across 11 open-weight VLMs from 6 model families ranging from 2B to 235B parameters, our findings indicate that current VLMs are more effective as symbolic reasoners than as direct visual observers. By projecting video into the language domain, we provide a scalable, fine-tuning-free alternative to end-to-end approaches that better leverages these models' latent reasoning strengths. The code will be made public.

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: We're looking at the paper: "From Frames to Temporal Graphs".

Jane: Here's the gist of the paper. The gist The proposed TAG framework converts egocentric video into structured Temporal Action Graphs for action recognition.

Tom: This approach decouples visual perception from symbolic reasoning, allowing Vision-Language Models to reason over a text-serializable representation instead of raw pixels.

Jane: How it works The TAG framework operates in three stages to convert egocentric video into a structured graph for action prediction Given an egocentric video, TAG distils pixel-level dynamics into a compact, text-serializable graph that a VLM can reason over in its native language domain.

Tom: This process involves temporal decomposition of the sampled frames into overlapping windows, neuro-symbolic mapping of each window into a local interaction graph via two-stage prompting, and temporal graph construction that assembles local graphs into a single Temporal Action Graph (TAG).

Paper summary: Tom: So, looking at the title "From Frames to Temporal Graphs: In-Context Egocentric Action Recognition with Vision-Language Models," what’s the big picture implication here? It seems they’ve successfully shifted action recognition from being purely a visual stream problem into a language problem.

Jane: Right. By using that text-serializable bottleneck, they’re creating a scalable way to use existing VLMs without needing an end-to-end approach that requires massive compute scaling just to understand the video natively.

Lu: The paper demonstrates that this symbolic representation enables competitive zero-shot inference and unlocks few-shot in-context learning that is impractical with raw video because each demonstration only takes a few hundred tokens, not thousands of pixels.

Meng: If we think about deployment, it means we could potentially get high performance models running without needing to spend immense resources training them specifically for every new action sequence we want to recognize. It’s more flexible.

Tom: I agree with that on the flexibility side. The authors show that even when pretraining data contamination might favor pixel-based memorization, this graph-based reasoning still performs better across all those models, from two billion up to two hundred thirty-five billion parameters.

Lalam: The core message is that explicit symbolic representations allow us to recruit the VLM’s latent linguistic strengths to compensate for its current visual limitations until we see better pretraining paradigms emerge.

Jane: It sets a practical bridge today because it gives us a way to leverage these models' reasoning capabilities without needing perfectly aligned, task-specific visual training data right away.

Conclusion: Tom: So, we’re wrapping up on this paper about converting egocentric video into Temporal Action Graphs for action recognition. The title itself says "From Frames to Temporal Graphs," which is essentially moving away from looking at every single frame individually and building a structured timeline instead.

Jane: That makes sense. So, what’s the actual takeaway for someone who isn't deep in computer vision? It means they take that messy video footage and turn it into a language format that a Vision-Language Model can actually reason over, rather than just guessing based on raw pixels.

Lu: The authors show that this works because they decouple visual perception from the reasoning part. They do this by using a two-stage prompting pipeline to turn the visual data into structured, text-serializable graphs.

Meng: From a deployment standpoint, what I’m interested in is how practical it actually is. Can we run these models on real traffic streams without needing massive compute just to build this graph representation first?

Tom: The results show that this symbolic representation unlocks some pretty efficient in-context learning, which is huge for getting models to perform well with very little training data. They’re showing substantial accuracy gains over just using raw frames.

Jane: That's interesting because we usually think if you want good performance, you need tons of labeled examples for those small datasets. But here, a few graph demonstrations work much better than just feeding the model a handful of video clips directly.

Lalam: I’m confident in this direction because the text-serializable nature of these graphs means each demonstration fits into the model’s context window much better than raw visual data would.

Tom: It sounds like they're arguing that current Vision-Language Models are actually better when they are used as symbolic reasoners over this structured language rather than just being direct visual observers.

Jane: So, the implication is that we can leverage these large models’ existing linguistic knowledge to compensate for their weaknesses in pure vision right now. It’s a way to get more reasoning out of what we have without needing a massive overhaul of how we train them from scratch.

Lu: The authors acknowledge that there are still limitations, though. They mention that this multi-stage pipeline adds latency, requiring about twenty-seven forward passes per clip just for the graph construction itself.

Meng: Twenty-seven passes sounds slow if you’re trying to process a live feed of video. I wonder how much of that overhead we can actually afford when shipping something to production.

Tom: The authors also note that the performance still falls short of models specifically fine-tuned on in-domain egocentric data, meaning this is a strong general method but might not hit the absolute peak numbers yet.

Jane: So, while it's a really clever bridge—moving video into language—it’s not quite replacing every specialized model we have right now. But it sets a very clear direction for how we should think about these models going forward.

More episodes

← Home