Metraipolis › archive › dc_0c808523f8c5

MEMENTO: Learning Context Management for Long Context Processing Agents — arXiv:2611.00244

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.00244
License (as archived)
CC0-1.0
Archived
2026-11-03T18:22:32.742Z
SHA-256 of the archived text
323897a0c083b970637afce1362bf0f3887e59299c5e1c47fdf320e4ad939681
Stable URL of this page
https://metraipolis.com/documento/dc_0c808523f8c5

How to cite

MEMENTO: Learning Context Management for Long Context Processing Agents — arXiv:2611.00244 — arXiv (en), https://arxiv.org/abs/2611.00244 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0c808523f8c5 (Metraipolis archive dc_0c808523f8c5, sha256 323897a0c083b970637afce1362bf0f3887e59299c5e1c47fdf320e4ad939681)
BibTeX
@misc{dc0c808523f8c5,
  title = {MEMENTO: Learning Context Management for Long Context Processing Agents — arXiv:2611.00244},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.00244},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0c808523f8c5; sha256 323897a0c083b970637afce1362bf0f3887e59299c5e1c47fdf320e4ad939681},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.00244. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

LLM agents that operate over long inputs must perform context management: deciding what to retain in a fixed-size context window. A common approach is compaction, where the model replaces its history with a self-generated note. Yet off-the-shelf agentic models, including GPT-5.5 and GLM-5.3, often write ineffective notes, and reinforcement learning (RL) alone rarely discovers useful note-taking behavior. We present MEMENTO, a long-context agent built on Qwen3-8B and trained to manage its context through compaction. We first bootstrap note-taking by fine-tuning on synthetic trajectories annotated with notes generated in hindsight, then reinforce it with RL using a reward that combines answer correctness, note-quality heuristics, and confidence calibration. Although trained only to compact into a fresh window, MEMENTO extends at test time to strategies such as context folding and confidence-based backtracking. On book-level question answering across four benchmarks, with books of up to 2.5M tokens, MEMENTO raises Qwen3-8B's accuracy from 36.9% to 67.8% while never holding more than 20K tokens in context. It outperforms GPT-5.5 agent in the same harness (13.1%) and full book context (56.7%) at less than 1/50 the cost. It also nearly matches a ~100x larger GLM-5.3 agent (69.3%) at 1/9 the cost, and comes within 6.4 points of GLM-5.3 full context at 1/26 the cost.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno).
Categorie arXiv: Computation and Language (cs.CL) ; Information Retrieval (cs.IR).
Pagina del lavoro: https://arxiv.org/abs/2611.00244 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-03T18:10:07.875Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).