arXiv

DELTAMEM: Incremental Experience Memory for LLM Agents via Residual Trees

Title: DELTAMEM: Incremental Experience Memory for LLM Agents via Residual Trees

Abstract:

Large Language Model (LLM) agents are increasingly dependent on memory systems to derive insights from experiences accumulated during ongoing interactions. Nevertheless, treating these experiences as isolated, flat entities results in significant redundancy and retrieval conflicts. This occurs because similar episodes often contain overlapping information, while minor variations in scenes can lead to retrieved memories providing inconsistent or contradictory instructions. To mitigate these issues, we introduce the concept of "residual experience," which assumes that newly acquired knowledge typically represents an incremental modification of what is already known.

We present DeltaMem, a novel framework that structures experience memory into two distinct residual trees. The first tree catalogs goal-conditioned task experiences as reusable skills, while the second manages scene-level environmental knowledge. By utilizing a root node to store generalized base experiences and employing incremental delta nodes for subsequent variations, the system allows related experiences to share a common foundation, thereby eliminating duplication.

For the retrieval process, DeltaMem employs a failure-penalized similarity scan to identify the optimal match, reconstructing the complete experience through a composition of the root-to-match chain. Additionally, an autonomous consolidation mechanism distills high-frequency paths into new root nodes, facilitating a self-organizing structure that evolves from general heuristics to specialized variants. Our experiments across various interactive environments demonstrate that DeltaMem consistently surpasses existing baseline methods. To support further research, we have made the code available at https://github.com/import-myself/DeltaMem.


Source: arXiv Generated at: 2026-06-03 00:00:00 UTC

Related Articles

TikTok Billionaire Tops Ambani as Asia’s Second-Richest
Bloomberg

TikTok Billionaire Tops Ambani as Asia’s Second-Richest

TikTok founder surpasses Mukesh Ambani to become Asia’s second-richest person, marking a significant shift in the region...

Publishers in UK can opt out of Google AI search results
BBC News

Publishers in UK can opt out of Google AI search results

UK publishers can now opt out of Google’s AI search summaries, a CMA ruling designed to boost their bargaining power and...

Kioxia Edges Nearer Toyota’s Market Cap in Shakeup to Japan Inc.
Bloomberg

Kioxia Edges Nearer Toyota’s Market Cap in Shakeup to Japan Inc.

Kioxia’s market cap nears Toyota’s, signaling a major shift in Japan’s corporate hierarchy. This narrowing gap highlight...

Reuters

Morning Bid: Marvell, a fitting name for the latest AI darling

Reuters highlights Marvell as a top AI stock, noting its name perfectly suits its status as the newest market darling.

Financial Times

Tim Hayward: I built the Jaguar E-Type of computer keyboards

Tim Hayward compares his bespoke keyboard designs to the Jaguar E-Type. He explores high-end customization for personal ...

Financial Times

AI Labs: Zuckerberg’s $100bn gamble

Meta’s $100 billion AI investment aims to secure AI dominance, but questions remain whether sheer spending can outpace c...