paper-with-me

홈 › Papers

InfoMem: Training Long-Context Memory Agents with Answer-Conditioned Information Gain

2026-06-02 · Tiancheng Han, Yong Li, Wuzhou Yu, Qiaosheng Zhang, Wenqi Shao arxiv

Long-context tasks require LLMs to identify and preserve answer-relevant information from large contexts. Chunk-wise memory agents address this issue by sequentially reading document chunks, updating a compact memory, and generating the final answer from the accumulated memory. However, existing RL-based chunk-wise agents either rely on sparse final-answer rewards or use lexical intermediate rewards for memory and retrieval actions. These signals supervise task success or local overlap, but do not directly evaluate whether the final memory supports the ground-truth answer. We propose InfoMem, a reward mechanism for training chunk-wise memory agents that evaluates final-memory utility using answer-conditioned information. InfoMem measures how much the final memory increases the model's per-token log-likelihood of the ground-truth answer. To stabilize RL optimization, InfoMem applies this signal only to successful trajectories and normalizes it before reward composition. Under the same GRPO framework and training budget, InfoMem improves long-context memory-agent performance over comparable memory-agent RL baselines. Analyses show that effective final-memory rewards should operate on successful trajectories, be normalized before reward composition, and be conditioned on the answer rather than the query. Our code is available at https://github.com/GenSouKa1/InfoMem.

📄 PDF Abstract BibTeX arXiv:2606.03329

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

DisinfoMeme: A Multimodal Dataset for Detecting Meme Intentionally Spreading Out Disinformation

2022-05-25 · Jingnong Qu, Liunian Harold Li, Jieyu Zhao, Sunipa Dev 외

Disinformation has become a serious problem on social media. In particular, given their short format, visual attraction, and humorous nature, memes have a significant advantage in dissemination among online communities, …

Multimodal ReasoningOptical Character Recognition (OCR)

COSMIR: Chain Orchestrated Structured Memory for Iterative Reasoning over Long Context

2025-10-06 · Naman Gupta, Shreeyash Gowaikar, Arun Iyer, Kirankumar Shiragur 외 arxiv

Reasoning over very long inputs remains difficult for large language models (LLMs). Common workarounds either shrink the input via retrieval (risking missed evidence), enlarge the context window (straining selectivity), …

SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agents

2026-06-26 · Shuzheng Gao, Wenhao Zeng, Zhaojian Yu, Jianqiao Wangni 외 arxiv

Long-horizon software engineering agents often need to manage lengthy and noisy interaction histories under limited context budgets. Existing memory management methods typically rely on static compression workflows or im…

Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions

2025-07-07 · Yuanzhe Hu, Yu Wang, Julian McAuley

Recent benchmarks for Large Language Model (LLM) agents primarily focus on evaluating reasoning, planning, and execution capabilities, while another critical component-memory, encompassing how agents memorize, update, an…

Large Language ModelRAGRetrievalRetrieval-augmented Generation

Memory-R2: Fair Credit Assignment for Long-Horizon Memory-Augmented LLM Agents

2026-05-20 · Sikuan Yan, Ahmed Bahloul, Ercong Nie, Susanna Schwarzmann 외 arxiv

Memory-augmented LLM agents enable interactions that extend beyond finite context windows by storing, updating, and reusing information across sessions. However, training such agents with reinforcement learning in multi-…

Reinforcement Learning