Ge Liu, Jiaxuan You, Zhigang Hua, Shuang Yang, Tao Feng, Yan Xie, Tianyang Luo, Jingjun Xu
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Experience learning has achieved promising results in enhancing LLM agent planning and reasoning by integrating past interactions as reusable knowledge. However, existing methods remain confined to explicit text space-retrieving experiences via semantic similarity and concatenating them into the context window, leading to substantial token overhead and a decoupled architecture that separates retrieval from generation. To address these limitations, we propose ExpWeaver, a framework that enables LLM agents to learn from experience via latent retrieval-augmented generation, without requiring a separate RAG module. ExpWeaver encodes experiences using the LLM's own hidden states, retrieves relevant experiences directly in latent space at each decoding step, and integrates them through cross-attention aggregation and gated residual mechanisms. The entire pipeline is optimized end-to-end with reinforcement learning, supporting both generative and ranking tasks. We evaluate ExpWeaver on 13 diverse tasks spanning question answering, reasoning, coding, scientific prediction, and recommendation. Results demonstrate that: (1) ExpWeaver achieves state-of-the-art on 12 out of 13 tasks, outperforming the strongest baseline by over 6.8%; (2) ExpWeaver maintains token efficiency comparable to non-retrieval baselines while text-based retrieval methods require 1.5-2× more tokens; and (3) ExpWeaver exhibits superior cross-domain generalization, outperforming the strongest baseline by 16.32% under zeroshot transfer and 15.21% under few-shot transfer. Our code for ExpWeaver is released at https: //github.com/ulab-uiuc/ExpWeaver.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2606.01041")
get_code_for_paper("2606.01041")
have("2606.01041")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2606.01041.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2606.01041)
Connect an agent — have() is free.