← Latest papers
💻 computer science

TLG: Temporal-Logic Grounding for Video Question Answering via Source-Annotation Reconstruction and Category-Targeted Reasoning

The paper introduces TLG, a three-tier system that significantly improves video question answering on the TimeLogic Challenge by reconstructing action timelines from source annotations and executing temporal-logic programs, demonstrating that leveraging real annotations rather than scaling model size is the key to overcoming temporal grounding limitations.

Original authors: Ali Alavi

Published 2026-06-02
📖 4 min read☕ Coffee break read

Original authors: Ali Alavi

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to solve a mystery where the clues are hidden in a video. The question isn't just "What happened?" but rather, "Did the person put the milk in the fridge before or after they cut the bread?" or "Did they always stir the pot while the water was boiling?"

This is the challenge of TimeLogic: a test that asks computers to understand the precise order and timing of events in a video, not just the objects they see.

Here is how the paper explains the problem and their solution, using simple analogies.

The Problem: The "Blurry Camera" Effect

Current AI models (Video-Language Models) are like people watching a video who only remember the most important snapshots. If you ask them, "Did the dog bark before the cat jumped?", they often guess randomly. Why? Because they treat the video as a "bag of frames"—a pile of pictures—rather than a continuous timeline. They can see the dog and the cat, but they can't pinpoint exactly when the dog barked. They are great at recognizing what is there, but terrible at knowing when it happened.

The Solution: TLG (Temporal-Logic Grounding)

The authors built a three-step detective system called TLG. Instead of trying to teach the AI to "see" time perfectly (which they found impossible), they built a system that uses a "cheat sheet" whenever possible.

Think of TLG as a three-tiered team:

Tier 1: The "Cheat Sheet" Detective (The Symbolic Solver)

This is the star of the show. The researchers realized that the videos in the test came from existing datasets that already had "scripts" or "annotations" (like a detailed logbook written by humans).

  • How it works: Instead of asking the AI to watch the video and guess the timing, TLG looks up the video's ID in the logbook. It finds the exact start and stop times of every action (e.g., "Egg cracked: 0:05–0:10").
  • The Magic: Once it has these exact times, it doesn't need to "think" or "see" anything. It just does simple math (like checking if 0:05 is before 0:10). It solves the question perfectly, like a calculator.
  • The Catch: This only works if the video has a logbook entry. If the specific action isn't in the logbook, this detective has to say, "I don't know."

Tier 2: The "Generalist" Detective (The Open VLM)

When the "Cheat Sheet" isn't available, the system passes the question to a standard, powerful AI model (Qwen2.5-VL-32B).

  • How it works: This AI watches the video and tries to answer based on what it sees. It's good at general questions but still struggles with precise timing.
  • The Strategy: The system uses this AI for the "Yes/No" questions where the AI is already pretty decent.

Tier 3: The "Specialist" Detective (The Frontier Model)

The researchers noticed that the "Generalist" AI was terrible at a specific type of question: Multiple Choice (where it has to pick the right order from four options).

  • The Fix: For these tricky multiple-choice questions where the Cheat Sheet failed, they sent the question to an even smarter, more expensive AI (Gemini-3.1-Pro).
  • The Result: They only sent the hard questions to this expensive expert, keeping the cost low (about $10 total for the whole test) while boosting the score significantly.

The Big Discovery: "Real Notes" Beat "Bigger Brains"

The most surprising finding in the paper is what didn't work.

  • The Failed Experiment: The researchers tried to build a system where the AI would watch the video and create its own timeline (like writing its own logbook). They tried this with three different powerful models.
  • The Result: All of them failed. They were worse than just letting the AI answer the question directly.
  • The Lesson: You cannot teach an AI to perfectly understand "time" just by making it bigger or smarter. The only way to get perfect timing is to have real, human-written notes (annotations) to look up.

The Scorecard

  • Before TLG: A strong AI model got about 47% correct (basically guessing).
  • After TLG: The system got 71.37% correct.
  • The Secret Sauce: The biggest jump in score came from using the "fine-grained" human notes (the detailed logbooks) and then only sending the hardest questions to the expensive AI.

Summary

The paper argues that for this specific type of video puzzle, you don't need a smarter brain; you need a better map. By combining a lookup system for known videos with a smart AI for the unknown ones, they solved the "TimeLogic" challenge much better than anyone else, proving that accurate data (the map) is more important than just having a larger model (the brain).

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →