# Cleaning an Agent's History Hurts When the World Still Holds the Error

세계가 여전히 오류를 품고 있을 때 에이전트의 히스토리를 정리하면 해가 된다

Egor Pakhomov, Anurag Koul, Hongjun Liu, Bo Pang, Shafiq Joty, Erik Nijkamp · arXiv · 2026년 11월 10일

- **연구 문제** 에이전트가 자신의 과거 실수를 담은 기록을 정리할 때, 같은 올바른 내용이라도 기록에 어떻게 적히고 세계 상태가 무엇인지에 따라 효과가 달라집니다.
- **연구 방법** 기록과 세계 상태를 frozen state로 저장한 뒤 한쪽만 편집하고 수신 모델이 이어서 수행하게 하여 효과를 비교합니다.

## 기록을 정리하면 생기는 문제

에이전트는 도구를 쓰며 자신의 행동, 환경이 돌려준 receipt, 추론을 기록으로 쌓습니다. 기록을 압축하거나 복구하거나 다른 에이전트에게 넘기는 시스템은 그 기록이 과거 실수를 어떻게 말할지 정해야 합니다. 이때 실수를 지우고 올바른 값으로 고쳐 쓰는 방식이 흔하지만, 실수로 생긴 결과는 세계 상태에 그대로 남아 있을 수 있습니다. 이 논문은 같은 올바른 내용이 기록의 표현 방식과 세계 상태에 따라 도움이 되는지 해가 되는지를 묻습니다. 기록은 R, 세계 상태는 W로 표기하며, 두 쌍을 frozen state로 저장해 같은 상태에서 편집 효과를 비교합니다.

## 두 가지 실험 설계

첫 번째 설계는 AgentCE-Bench에서 세계를 고정하고 기록만 바꿉니다. 두 편집을 각각 중립 메모와 편집되지 않은 기록에 대조하며, 결과 D는 (T−N)−(F−O)로 정의됩니다. 두 번째 설계는 AppWorld에서 기록을 고정하고 세계를 바꿉니다. 데이터베이스 쓰기 직후의 focal step에서 receipt를 성공 또는 실패로 두고, 데이터베이스를 쓰기 전 또는 후 상태로 교차시킵니다. 상호작용 I는 (succ post−fail post)−(succ pre−fail pre)로 정의되어, 성공 receipt의 이득이 세계에 따라 얼마나 달라지는지를 잽니다.

![Figure 1: The two designs, record above the line and world below. Left, AgentCE-Bench: a world holding a committed error under two records carrying the same co…](https://refivu.com/papers/9f9d54ba-fe02-462d-babe-c0f8a725ef58/figures/figure-4d794bbbad240aab641b464923920204.png?thumb=512)

**Figure 1** : The two designs, record above the line and world below. Left, AgentCE-Bench: a world holding a committed error under two records carrying the same correct value, on recovery. Right, AppWorld: one original success receipt over two worlds, on whole-task success. Each mark is an effect pooled over gpt-5.5 and claude-sonnet-5, with its 95% interval against the comparator it names; blue is a gain and orange a loss, in every figure. In each design the effect’s sign changes with the half varied.

[원문](https://arxiv.org/abs/2611.14654v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Egor Pakhomov, Anurag Koul, Hongjun Liu, Bo Pang, Shafiq Joty, Erik Nijkamp · Cleaning an Agent's History Hurts When the World Still Holds the Error · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## AgentCE-Bench에서 부호가 뒤집히는 결과

AgentCE-Bench에서 편집되지 않은 기록의 recovery는 50.13%였고, 중립 메모를 덧붙인 기록은 50.57%였습니다. 진실한 메모는 recovery를 65.78%로 올려 중립 메모 대비 +15.20 pp를 기록했습니다. 같은 올바른 값을 에이전트의 완료된 행동으로 기록하자 recovery는 43.70%로 떨어져 편집되지 않은 기록 대비 −6.43 pp가 되었습니다. 두 효과의 차이 D는 +21.63 pp \[18.21, 25.08\]였습니다. 이 결과는 두 수신 모델 gpt-5.5와 claude-sonnet-5를 합친 값이며, 두 모델 모두에서 D는 양수였습니다. 이 설계에서 올바른 값이 기록에 있다는 사실만으로는 효과의 방향이 예측되지 않았습니다.

![Table 1: Where the gain and the loss fall on AgentCE-Bench, on the three-slot look-ahead endpoint of §4.1; unadjusted 95% task-cluster bootstrap intervals. Eac…](https://refivu.com/papers/9f9d54ba-fe02-462d-babe-c0f8a725ef58/figures/figure-02f683ecb9a190aac5a663d22ea02a04.png?thumb=512)

**Table 1** : Where the gain and the loss fall on AgentCE-Bench, on the three-slot look-ahead endpoint of §4.1; unadjusted 95% task-cluster bootstrap intervals. Each 319-state total, T −N then F−O, is split between the slot the edit names and the other look-ahead slots; “renormalised” is T−N as a rate over only the slots the note does not name. The last four rows restrict to the 47 states whose committed error lies outside the look-ahead targets. All but the two totals are descriptive.

[원문](https://arxiv.org/abs/2611.14654v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Egor Pakhomov, Anurag Koul, Hongjun Liu, Bo Pang, Shafiq Joty, Erik Nijkamp · Cleaning an Agent's History Hurts When the World Still Holds the Error · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Figure 2: The sign reversal at a fixed world, on AgentCE- Bench, pooled over gpt-5.5 and claude-sonnet-5 (top) and per receiver. T−N (blue): the truthful note…](https://refivu.com/papers/9f9d54ba-fe02-462d-babe-c0f8a725ef58/figures/figure-955b4d4a9a7b20bf0b942c9778536c50.png?thumb=512)

**Figure 2** : The sign reversal at a fixed world, on AgentCE- Bench, pooled over gpt-5.5 and claude-sonnet-5 (top) and per receiver. T−N (blue): the truthful note against a matched neutral note. F−O (orange): the same value as the agent’s own completed action, against the unedited record. The grey band spans the two marks; the black mark is their gap, D = (T−N)− (F−O). The T−O and F−N rows compare each edit against the other edit’s comparator; the bottom row is the control N−O. Hollow marks an interval that includes zero. Recovery on the look-ahead targets; 95% task-cluster bootstrap intervals.

[원문](https://arxiv.org/abs/2611.14654v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Egor Pakhomov, Anurag Koul, Hongjun Liu, Bo Pang, Shafiq Joty, Erik Nijkamp · Cleaning an Agent's History Hurts When the World Still Holds the Error · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## AppWorld에서 세계에 따라 바뀌는 receipt 효과

두 효과의 차이인 상호작용은 두 수신 모델을 합쳐 +27.31 pp \[14.23, 41.54\]였으며, 이는 97.5% 구간으로 읽은 값입니다. 여덟 개 수신 모델 중 여섯 개는 97.5%에서, 일곱 개는 95%에서 양의 상호작용을 보였습니다. gpt-4o-mini는 두 수준 모두에서 미해결이었습니다. 이 결과는 고정된 기록에서 세계 상태만 바꿨을 때 성공 receipt의 효과가 부호를 바꾼다는 관찰입니다.

![Figure 3: A success receipt’s effect flips sign with the world on AppWorld. Each point is the success receipt minus the failure receipt on whole-task success,…](https://refivu.com/papers/9f9d54ba-fe02-462d-babe-c0f8a725ef58/figures/figure-c70ab1b30f120639fc51ea120179cf4c.png?thumb=512)

**Figure 3** : A success receipt’s effect flips sign with the world on AppWorld. Each point is the success receipt minus the failure receipt on whole-task success, with the database step’s effect independently absent or present; the arrow is their in- teraction, read at 97.5%. 95% task-family bootstrap intervals on the two effects; 1,040 continuations over 65 task families, pooled over gpt-5.5 and claude-sonnet-5. Per receiver: Fig- ure 4; cell means: Figure S1.

[원문](https://arxiv.org/abs/2611.14654v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Egor Pakhomov, Anurag Koul, Hongjun Liu, Bo Pang, Shafiq Joty, Erik Nijkamp · Cleaning an Agent's History Hurts When the World Still Holds the Error · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Figure 4: Figure 3’s interaction for each of eight receivers, grouped by provider. Left: unadjusted 95% (thick) and 97.5% (thin) task-family bootstrap interval…](https://refivu.com/papers/9f9d54ba-fe02-462d-babe-c0f8a725ef58/figures/figure-d49e77ab52b923a2b447ce1fad219dff.png?thumb=512)

**Figure 4** : Figure 3’s interaction for each of eight receivers, grouped by provider. Left: unadjusted 95% (thick) and 97.5% (thin) task-family bootstrap intervals;†marks the six of eight excluding zero at 97.5%; seven exclude it at 95%. Black: the reported frame, 65 task families for §5.4’s two receivers and the 63 all six added receivers completed for the rest. Grey: an added receiver’s own 65-family frame (none for grok-4.6). Right: each receiver’s two record effects on whole-task success, effect absent (squares) and present (circles), at 95%; orange a loss, blue a gain; both resolve with opposite signs in five receivers. Hollow: the 95% interval includes zero.

[원문](https://arxiv.org/abs/2611.14654v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Egor Pakhomov, Anurag Koul, Hongjun Liu, Bo Pang, Shafiq Joty, Erik Nijkamp · Cleaning an Agent's History Hurts When the World Still Holds the Error · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 위치 기반 통제 실험

targeted control은 거짓 성공 주장이 수신 모델을 어디를 가리키는지에 따라 조종하는지 확인하기 위해 9-arm으로 설계되었습니다. 주요 양 specificity는 어떤 arm도 이름 붙이지 않고 복구하지 않은 슬롯에서 얻는 이득으로 정의되며, 원고는 +4.628 pp \[2.989, 6.317\]을 보고합니다. 이 통제 실험에는 진실한 arm이 없으므로, 거짓 주장의 위치 효과를 확인하는 근거로만 읽어야 합니다.

## 한계

이 연구의 실험은 AgentCE-Bench와 AppWorld 두 벤치마크에 한정되며, 모든 편집과 상태는 저자가 골랐습니다. AgentCE-Bench의 주요 설계는 gpt-5.5와 claude-sonnet-5 두 수신 모델만 사용했고, 대부분의 수신 모델은 다른 모델의 궤적을 이어받았습니다. 진실한 메모는 내용, 정확성, 위치가 함께 묶여 있어 분리되지 않았습니다. AppWorld의 실패 receipt는 데이터가 바뀌지 않았다는 문장을 담고 있어 성공 receipt와 내용도 다르므로, 상호작용의 일부가 내용 차이에서 올 수 있습니다. 예산이 불균등하게 묶인 점과 targeted control의 불완전한 수집도 남은 제약입니다.

## 논문 정보

- **저자**: Egor Pakhomov, Anurag Koul, Hongjun Liu, Bo Pang, Shafiq Joty, Erik Nijkamp
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 10일
- **등록일**: 2026년 11월 13일
- **수정일**: 2026년 11월 10일
- **버전**: v1
- **arXiv**: 2611.14654
- **분류**: cs.AI · cs.CL · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.14654v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.14654v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Tool-using language-model agents accumulate histories of their own mistakes, and a system that compacts, repairs or hands off such a history decides what it says about those mistakes while their effects stay in the world. Prior work cleans the history at a fixed world, where showing a corrected step and saying it is done move together. We ask whether the same correct content helps or hurts depending on how the history states it and what the world holds. We freeze an agent mid-task with its exact world state, edit the history or the world, and let a receiver model continue. On AgentCE-Bench, after the agent commits a wrong value, we hold the world fixed and add the correct value by two natural edits: a truthful note beside the preserved error or the agent's own completed action. The note raises recovery, the share of remaining targets the receiver gets right, from 51% under a matched neutral note to 66%. The completed action lowers it below the unedited history, from 50% to 44%, so the value's presence alone does not predict the effect. On AppWorld, after a database write, we vary whether its receipt reports success or failure and whether its effect is present. A success receipt lowers whole-task success from 45% to 28% while the effect is absent and raises it from 38% to 49% once present. The two effects differ by 27 points pooled over two receivers, a difference positive in six of eight receivers at 97.5% and seven at 95%. A history edit's effect thus depends on the world it describes, and a history made to look clean while the world still holds the error can leave an agent worse off than no edit at all.

## 원문 인용

Egor Pakhomov, Anurag Koul, Hongjun Liu, Bo Pang, Shafiq Joty, Erik Nijkamp (2026). Cleaning an Agent's History Hurts When the World Still Holds the Error. arXiv:2611.14654v1. https://arxiv.org/abs/2611.14654v1

**BibTeX**

```
@misc{pakhomov2026cleaning,
  title = {{Cleaning an Agent's History Hurts When the World Still Holds the Error}},
  author = {Egor Pakhomov and Anurag Koul and Hongjun Liu and Bo Pang and Shafiq Joty and Erik Nijkamp},
  year = {2026},
  eprint = {2611.14654},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.14654v1}
}
```

## 이 논문의 용어

- [specificity](https://refivu.com/terms/03a9f81be40f-specificity)
- [AppWorld](https://refivu.com/terms/3d77af475ade-appworld)
- [GPT-5.5](https://refivu.com/terms/fd5f3ee5b099-gpt-5-5)
- [Claude-Sonnet-5](https://refivu.com/terms/0408b245b17e-claude-sonnet-5)
- [AgentCE-Bench](https://refivu.com/terms/4863abca449e-agentce-bench)
- [recovery](https://refivu.com/terms/d9d3dd55a8d9-recovery)
- [world](https://refivu.com/terms/27418ea24366-world)

## 다른 논문 해설

- [MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework](https://refivu.com/papers/91dd7973-493a-4820-91e2-46a50eb0a70e-metagpt-meta-programming-for-a-multi-agent-collaborative.md)
- [The Surprising Effectiveness of PPO in Cooperative, Multi-Agent Games](https://refivu.com/papers/7c9c355e-16b7-49a8-b767-07760b1c48a4-the-surprising-effectiveness-of-ppo-in-cooperative-multi.md)
- [AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation](https://refivu.com/papers/d3d2ade6-3bed-4a94-9439-088b61554b00-autogen-enabling-next-gen-llm-applications-via-multi.md)
- [Don't Just Trust Your Memory: Evidence-Linked Memory Reduces Memory-Induced Degradation in LLM Agents](https://refivu.com/papers/891cb954-271d-4055-bf45-e2d6d155e372-don-t-just-trust-your-memory-evidence-linked.md)
- [Verifiable Agentic Traffic Class: A Policed Quality-of-Service Mechanism for Agentic AI Traffic, Evaluated from Simulation to Real-Kernel Adversarial Testing](https://refivu.com/papers/db3c17ca-0250-4baf-a9be-e368d049f727-verifiable-agentic-traffic-class-a-policed-quality-of.md)
- [Code-Grounded Agentic Explanations for Static Analysis Vulnerability Findings](https://refivu.com/papers/e9fa7593-41df-421f-8615-e0870316904f-code-grounded-agentic-explanations-for-static-analysis.md)
- [Deep Image Prior](https://refivu.com/papers/542749ad-75b2-4484-8b6a-39d3da34ed46-deep-image-prior.md)
- [Competition-Level Code Generation with AlphaCode](https://refivu.com/papers/7b324105-8deb-4e3a-903e-e6191ac0fef2-competition-level-code-generation-with-alphacode.md)
- [Hierarchical Neural Story Generation](https://refivu.com/papers/90786984-6cb5-4a01-ba2e-d107890942b5-hierarchical-neural-story-generation.md)
- [The Malicious Use of Artificial Intelligence: Forecasting, Prevention, and Mitigation](https://refivu.com/papers/0218f522-1eb2-40e8-92ea-845dd07e76f6-the-malicious-use-of-artificial-intelligence-forecasting.md)
- [The One Hundred Layers Tiramisu: Fully Convolutional DenseNets for Semantic Segmentation](https://refivu.com/papers/3c8829cf-0ddd-4bc8-9b7c-cfba6d667b61-the-one-hundred-layers-tiramisu-fully-convolutional.md)
- [Self-supervised Graph Learning for Recommendation](https://refivu.com/papers/101a7b08-1d43-4cb8-8a03-8ebbce6be79e-self-supervised-graph-learning-for-recommendation.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/9f9d54ba-fe02-462d-babe-c0f8a725ef58-cleaning-an-agent-s-history-hurts-when-the)
