← Latest papers
🤖 AI

When Retrieval Fails Before It Begins: Structurally Indirect Prerequisite Eviction as a Retention Failure in Agentic Memory

This paper identifies and addresses "structurally indirect prerequisite eviction," a pre-retrieval memory failure in agentic systems where weakly aligned upstream blocks are discarded, by introducing a deterministic benchmark and demonstrating that Dependency-aware Semantic Garbage Collection (DSGC) significantly improves full-chain retention rates.

Original authors: Minkyu Song

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

Original authors: Minkyu Song

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 a computer program designed to act like a human agent, capable of solving complex, multi-step problems over a long period. To do this, it needs a memory, a place to store the facts, rules, and decisions it encounters along the way. However, just like a human brain or a physical filing cabinet, this digital memory has a strict limit on how much it can hold at any one time. As new information arrives, old information must be discarded to make room. This process of deciding what to keep and what to throw away is called retention. Once the memory is full, the program must also decide which of the remaining pieces of information to pull out to answer a specific question; this is called retrieval. For years, researchers have focused almost entirely on the second step, trying to build better systems for finding the right information once it is already in the store. They assumed that if the answer was needed, the necessary facts would survive the initial cleanup.

A researcher at Yonsei University has challenged this assumption. They discovered that the most critical failure often happens before the search even begins. In their study, they found that when a computer agent is forced to delete old information to save space, it frequently throws away a specific type of fact: a piece of information that is not directly mentioned in the current question but is absolutely required to understand the answer. They call this a "structurally indirect prerequisite." It is a fact that sits upstream in a chain of logic, weakly connected to the words of the question, yet essential for the reasoning to work. If this hidden link is deleted, the remaining information becomes useless, no matter how good the search engine is. The researcher demonstrated that by changing the rules of what gets kept, they could save these fragile links and allow the agent to solve problems it previously failed.

The researcher built a controlled environment to test this idea, creating a scenario where an agent had to remember a chain of three connected facts to answer a single question. They designed the test so that the first fact in the chain was barely related to the question's wording, while the third fact was very similar. Under standard rules, the computer would keep the third fact because it looked relevant and delete the first one because it looked irrelevant. But without that first fact, the middle fact made no sense, and the answer was lost. The researcher found that in these tight situations, where the memory was nearly full, standard systems failed to keep the full chain of reasoning in about 97 percent of the cases when using a basic text-matching system. The agent would keep the obvious pieces but lose the invisible glue that held them together.

To fix this, the researcher introduced a new rule for deciding what to keep, which they named Dependency-aware Semantic Garbage Collection. Instead of just looking at how much a piece of text resembles the current question, this new rule looks at the connections between pieces of information. If a piece of information is highly relevant to the question, the rule checks what other facts it depends on. If a less obvious fact is required to make sense of the relevant one, the system treats that less obvious fact as important too. It essentially says, "If you need this, you must also keep the thing that explains it." This is a one-step process: it protects the immediate parent of a relevant fact, but it does not reach further back into the history of the conversation.

When they applied this new rule, the results changed dramatically. In the same difficult tests where the old systems failed almost every time, the new system successfully kept the entire chain of reasoning in 90 percent of the cases when using a basic text-matcher, and in 100 percent of the cases when using a more advanced language understanding system. The researcher verified this by looking at the exact logs of every test run. They saw that the system was indeed saving the critical, weakly connected facts that the old systems had discarded. The new rule did not just randomly keep more things; it specifically saved the missing links that allowed the logic to flow.

However, the study also revealed the limits of this approach. The new rule works by looking one step back. If a chain of facts is very long, or if the memory is filled with a huge number of distracting pieces of information, the rule can struggle. In tests where the memory size was doubled, the system's ability to keep the full chain dropped significantly when using the basic text-matcher, though it remained perfect with the advanced language system. This suggests that while protecting immediate dependencies is a powerful tool, it is not a magic bullet for every situation. The researcher also found that the rule works best when the memory is under moderate pressure—large enough to hold the answer, but small enough that the computer has to make hard choices. If the memory is too full, even the smartest rules cannot save everything; if it is too empty, the computer doesn't need to choose at all.

The significance of this work lies in shifting the focus of how we think about artificial intelligence memory. For a long time, the goal was to build better search engines for the data that remained. This study shows that the search engine is useless if the data it needs has already been thrown away. The real challenge is not just finding the right answer, but ensuring that the necessary context survives the cleanup process. By treating memory management as a structural problem rather than just a matching problem, the researcher showed that agents can maintain their ability to reason through complex tasks. They proved that keeping a reasoning chain intact requires protecting the invisible, indirect links that hold the logic together, even when those links do not look important on the surface. This insight offers a clearer path forward for building agents that can remember and reason over long periods without losing the thread of their own thoughts.

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 →