← Latest papers
💻 computer science

StateTrace: An Object-Centric Framework for Hidden-State Spatiotemporal Reasoning in Long Videos

The paper introduces StateTrace, an object-centric framework that equips VideoLLMs with a structured spatiotemporal memory to explicitly reason about hidden object states during invisible intervals in long videos, significantly improving performance on a newly proposed HSR-Bench and existing benchmarks.

Original authors: Yu Han, Wenhao Li, Yichao Cao, Hongyan Xu, Shuo Yang, Shan You, Xiu Su

Published 2026-08-20
📖 6 min read🧠 Deep dive

Original authors: Yu Han, Wenhao Li, Yichao Cao, Hongyan Xu, Shuo Yang, Shan You, Xiu Su

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

In the world of artificial intelligence, machines have become remarkably skilled at watching videos and describing what they see. They can identify a person running, a car turning, or a dog chasing a ball. However, these digital observers have a significant blind spot when it comes to the unseen. If an object disappears from the screen—hidden behind a wall, tucked inside a box, or covered by another object—current AI models often forget it exists entirely. They treat "invisible" as if it were "unknown," unable to reason that the object is still there, just out of sight, and that its state (like its location or color) likely hasn't changed. This limitation becomes a major hurdle when analyzing long videos, where objects may remain hidden for extended periods, yet a viewer might still need to know where they are or what happened to them.

To solve this problem, a team of researchers has developed a new approach called StateTrace. Instead of relying solely on what is visible in the current frame, this system gives the AI a way to remember and track objects even when they are hidden. The researchers built a framework that acts like a persistent memory for the video, recording not just what is seen, but also what happens when things disappear. It tracks the moment an object is covered, the reason it vanished, and the last known details about its position and appearance. By organizing this information into a structured timeline, the system can answer questions about the hidden state of an object long after it has left the screen.

The researchers tested this idea by creating a new set of challenges specifically designed to trap standard AI models. They compiled a benchmark called HSR-Bench, which contains over 1,400 video questions derived from nearly 1,400 unique videos. These questions focus on scenarios where objects are occluded, contained, or covered, requiring the AI to infer their status without direct visual proof. For instance, a question might ask about the color of a car that was blocked by a bus for several seconds, or which cup holds a set of nails after they were swapped between containers. When the researchers applied StateTrace to powerful existing video models, the results were striking. On this new benchmark, the models improved their accuracy dramatically, with some jumping from roughly 40 percent correct to over 64 percent. This suggests that giving an AI a structured way to reason about the invisible is a crucial step toward making it understand the world as humans do.

The core of the StateTrace system is a three-step process that happens before the AI even attempts to answer a question. First, the system analyzes the entire video offline, breaking it down into segments. It identifies objects, tracks their movements, and notes exactly when and how they disappear. If a car is covered by a bus, the system records that event, noting the bus as the cause and the car's last known position. It builds a detailed map of these events, creating a "spatiotemporal state memory" that links objects to their history of visibility and interaction. This memory is not just a list of frames; it is a connected graph that understands relationships, such as one object being inside another or one blocking the view of another.

When a user asks a question, the system does not simply scan the video for matching words. Instead, it consults this memory map to find the specific moments relevant to the query. If the question asks about a hidden object, the system retrieves the last time that object was visible and the events that led to its disappearance. It then summarizes this history into a concise narrative, explaining the object's journey and its current likely state. This summary is combined with the actual video clips and fed into the AI model. By providing this explicit context, the model is no longer guessing; it is reasoning based on a reconstructed timeline of events. The system essentially tells the AI, "The object you are looking for is not visible right now, but here is exactly where it was last seen and what happened to it."

The researchers found that this method works best when the video is long and the object is hidden for a significant time. In tests involving videos ranging from a few seconds to an hour long, the StateTrace framework consistently outperformed other methods that simply tried to compress the video or retrieve relevant clips. The improvement was most dramatic in cases of heavy occlusion, where objects were almost completely blocked from view. For example, in one test case, a standard model failed to identify the color of a car hidden behind a bus, incorrectly guessing based on the final visible frame. With StateTrace, the model correctly recalled the car's color from before it was blocked, maintaining the continuity of the scene despite the visual gap.

To ensure their findings were robust, the team conducted a series of experiments to see which parts of their system were most important. They discovered that the ability to reason about why an object disappeared was critical. If the system only knew an object was gone but not whether it was covered, moved away, or hidden inside something, its performance dropped significantly. Similarly, the step that summarized the spatial relationships and movement history proved to be the most vital component. Without this summary, the AI struggled to make sense of the raw data, much like a person trying to solve a puzzle with pieces scattered on the floor rather than assembled into a picture. The system also showed that simply feeding the whole video to the AI was not enough; the targeted retrieval of specific, relevant moments was essential for accuracy.

The success of StateTrace highlights a fundamental shift in how video understanding can be approached. For years, the focus has been on making models see better or process more frames. This work suggests that the next leap forward comes from making models think better about what they cannot see. By treating the invisible state of an object as a solvable puzzle rather than a missing piece of data, the researchers have enabled AI to handle the complexities of real-world observation. The results indicate that with the right kind of memory and reasoning, machines can begin to bridge the gap between what is shown and what is known, a capability that is essential for any system intended to navigate the long, continuous flow of real life.

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 →