AI

Temporal Validity on Real Software Histories: Eliminating Stale-Fact Errors in Code-Assistant Memory over GitHub Fixes

Researchers have developed a method to eliminate 'stale-fact errors' in code-assistant memory, where models like Retrieval-Augmented Generation (RAG) serve outdated information. The new approach, called MemStrata, uses a deterministic supersession memory that can tell when facts change across coding sessions. In experiments on real GitHub issues, MemStrata achieved 91% answer accuracy compared to RAG's 57-59%. The study also found that RAG served outdated values 36-38% of the
Researchers have developed a method to eliminate 'stale-fact errors' in code-assistant memory, where models like Retrieval-Augmented Generation (RAG) serve outdated information. The new approach, called MemStrata, uses a deterministic supersession memory that can tell when facts change across coding sessions. In experiments on real GitHub issues, MemStrata achieved 91% answer accuracy compared to RAG's 57-59%. The study also found that RAG served outdated values 36-38% of the time, while MemStrata reduced this to nearly zero. --- Why it matters: This matters because it improves the reliability and accuracy of code-assistant models in real-world software development. By eliminating stale-fact errors, developers can trust their AI-powered tools to provide up-to-date information, reducing the risk of bugs and improving overall productivity. Source: https://arxiv.org/abs/2608.20685

This article was originally published at: https://arxiv.org/abs/2608.20685