# Why Pay for Long Reasoning When Rewrite Do Trick? Causal Effects of Reasoning History Compaction on Future Generation and Agent Cost

재작성으로 충분하다면 왜 긴 추론에 비용을 쓰는가? 추론 기록 압축이 이후 생성과 에이전트 비용에 미치는 인과적 효과

Anton Hristov · arXiv · 2026년 11월 2일

- **연구 문제** 긴 추론 흔적은 생성과 에이전트 입력 비용을 키우므로, 이 연구는 이전 추론을 짧은 상태 기록으로 바꾸는 방식이 이후 추론 길이를 줄이는지 묻습니다.
- **연구 방법** 압축기 LLM이 대기 중 도구 결과가 공개되기 전에 과거 assistant 추론을 짧은 상태 기록으로 바꾸고, 같은 도구 결과를 붙인 clean 이력과 compact 이력을 비교합니다.
- **주요 결과** 수용된 이력에서 compact 이력은 172개 비교 중 151개에서 이후 추론을 줄였으며 경로별 median은 −20.2%에서 −50.5%였습니다. 배포 실험에서는 여러 구성이 비용을 줄였지만 품질 보존은 입증되지 않았습니다.

## 긴 추론 이력의 비용 문제

추론 모델은 어려운 문제를 푸는 능력을 크게 높이지만, 긴 추론 흔적은 생성 비용을 키웁니다. 원문은 Artificial Analysis 자료를 인용해 GLM 5.2에서 생성 토큰의 84.9%, Claude Fable 5에서 75.1%가 추론에 쓰였다고 보고합니다. 또한 에이전트는 이전 scratchpad를 입력 이력으로 반복해서 다시 처리해야 합니다. 이 연구는 상용 모델의 숨겨진 scratchpad를 직접 연구하기 어렵다는 점을 출발점으로 삼아, 공개 가중치 모델이 자신의 이전 추론을 다른 형식으로 바꾸는 것만으로 이후 추론을 줄일 수 있는지 묻습니다. 재학습은 하지 않습니다.

이 질문은 두 단계로 나뉩니다. 첫째, 이전 추론을 짧은 상태 기록으로 바꾼 compact 이력이 이어진 생성의 추론 토큰을 줄이는지 controlled 실험으로 확인합니다. 둘째, 에이전트 배포에서 같은 발상이 총 비용과 요청 시간을 줄이는지 확인합니다.

## 추론 이력 압축의 동작

이 방법은 추론 블록만 고칩니다. 압축기 LLM이 과거 assistant scratchpad를 더 짧은 상태 기록으로 바꾸며, 결정에 관련된 사실, 수치, 불확실성, 결론, 의도한 다음 행동을 남기고 반복을 제거하도록 지시받습니다. 시스템과 사용자 메시지, 도구 호출, 인수, 관찰은 그대로 둡니다. 대상 모델의 가중치, 도구, 현재 지시도 바뀌지 않습니다.

![Table 5: Selected original/rewrite pair from the controlled experiment. Wording is reproduced verbatim with typeset mathematical symbols and adjusted line wrap…](https://refivu.com/papers/37729fca-fc0f-4694-aeca-a6b7e5ad26f0/figures/figure-1b86207579c1ef6d8a04bd12ae26590c.png?thumb=512)

**Table 5** : Selected original/rewrite pair from the controlled experiment. Wording is reproduced verbatim with typeset mathematical symbols and adjusted line wrapping. Counts are recorded words, not tokens. The rewrite retains the unresolved quote, reliability, and risk checks, the site-based rejection, and the intended simulation call. Tool calls and observations are preserved separately in both histories.

[원문](https://arxiv.org/abs/2611.03852v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Anton Hristov · Why Pay for Long Reasoning When Rewrite Do Trick? Causal Effects of Reasoning History Compaction on Future Generation and Agent Cost · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

시간 순서가 핵심입니다. 대기 중인 도구 호출은 rewrite 시점에 이미 정해져 있지만 그 결과는 아직 공개되지 않습니다. 공유된 획득 과정에서 각 rewrite는 행동이 요청된 뒤, 결과가 실행되거나 공개되기 전에 완료됩니다. 분기 시점에 clean 이력과 compact 이력을 고정하고, 같은 모델 경로와 설정으로 독립적으로 이어 생성합니다. 첫 요청의 각 필드를 대조해 assistant 추론만 다르다는 것을 확인합니다.

![Figure 1: Outcome-blind paired fork. The target requests an action, its reasoning is rewritten before the result is available, and both histories receive the s…](https://refivu.com/papers/37729fca-fc0f-4694-aeca-a6b7e5ad26f0/figures/figure-48ee797fe252f5715b7e443643f0416c.png?thumb=512)

**Figure 1** : Outcome-blind paired fork. The target requests an action, its reasoning is rewritten before the result is available, and both histories receive the same result. Fidelity acceptance is required before continuation sampling. Only prior reasoning differs at the first continuation; later actions and observations can diverge.

[원문](https://arxiv.org/abs/2611.03852v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Anton Hristov · Why Pay for Long Reasoning When Rewrite Do Trick? Causal Effects of Reasoning History Compaction on Future Generation and Agent Cost · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

수용 검사는 생성 전에 원천을 고릅니다. 기계적 검사는 원천 해시, 추론만의 차이, 요청 행동, 후보 식별자, 임계값을 확인하고, 재검토자는 중요한 정보 보존과 미래 결과 누출을 점검합니다. 원문은 이 평가를 생성기와 판정기가 같은 모델이라는 한계와 함께 제시하며, 수용된 이력에 대한 조건부 추정이라고 명시합니다.

## 이어진 생성의 추론 길이 비교

controlled 실험은 여섯 model/provider 경로에서 12개 multi-stage 과제를 사용했습니다. 원천 이력 72개 중 58개가 사전 게이트를 통과했고, 수용된 원천마다 연속 생성 세 개를 두어 quality pair 174개와 comparable token pair 172개를 얻었습니다. 추론 토큰 변화는 깨끗한 횟수 RC와 compact 횟수 RK에 대해 100(RK/RC −1)로 계산되며 음수는 감소를 뜻합니다.

주요 결과는 172개 비교 중 151개에서 추론 길이가 줄었다는 것입니다. 경로별 median은 −20.2%에서 −50.5% 사이입니다. 다만 Table 1은 재시도가 포함된 retrospective 합성이며, 길이 상한에 걸린 clean 분기 세 개와 provider 오류 한 개를 다시 실행한 결과입니다. 첫 시도만 보는 민감도 분석에서도 짧아지는 방향은 유지되지만, 경로별 Laguna 수치 등 일부 값은 달라집니다.

![Table 1: Retrospective retry-augmented results on ac- cepted histories. Shorter counts use equal-horizon pairs; success includes all three replicates per sourc…](https://refivu.com/papers/37729fca-fc0f-4694-aeca-a6b7e5ad26f0/figures/figure-025155b8a61103c7a6ecd954443c5d33.png?thumb=512)

**Table 1** : Retrospective retry-augmented results on ac- cepted histories. Shorter counts use equal-horizon pairs; success includes all three replicates per source. Intervals use 10,000 source-level bootstrap resamples. Retention differs across routes, precluding a matched-task model ranking.

[원문](https://arxiv.org/abs/2611.03852v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Anton Hristov · Why Pay for Long Reasoning When Rewrite Do Trick? Causal Effects of Reasoning History Compaction on Future Generation and Agent Cost · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

정확 성공은 165/174에서 166/174로 바뀌었습니다. 이 전체 집계는 경로별 차이를 가립니다. GLM 4.7 Flash는 세 개 성공이 늘었고 DeepSeek V4 Flash와 Laguna는 각각 하나씩 줄었습니다. 따라서 짧아짐은 여러 경로에서 관찰되었지만 품질은 대상 경로에 따라 다르게 봐야 합니다.

## 코딩 에이전트 배포의 비용과 요청 시간

배포 실험은 고정된 50개 SWE-bench Verified Mini 과제에서 연속 압축을 정상 이력과 비교합니다. 대상 요청 전에 새 추론 블록을 압축하고 캐시하며, 짧지 않은 rewrite는 원본으로 되돌립니다. 비용 합계에는 rewrite가 포함되지만 주 표의 target 시간은 rewrite를 제외한 client 관찰 요청 시간입니다. rewrite를 포함한 요청 시간은 부록에서 따로 설명됩니다.

여덟 개 compaction 구성 중 여섯 개는 비용을 줄였고, 일곱 개는 target 요청 시간을 줄였습니다. 그러나 rewrite를 포함한 요청 시간에서 줄어든 것은 두 MiniMax 구성뿐입니다. 관찰된 성공은 정상 이력과 최대 50개 중 3개 이내로 차이가 났지만, 이는 품질 보존을 입증하지 않습니다. 이 실험은 하나의 비무작위 표본과 혼합 provider 조건에서 얻어졌고 반복 시드가 없습니다.

![Table 3: Retrospective conditional retained-run comparison on all 50 assigned tasks per arm, including unsolved and model-limit outcomes. Normal scores are 32/…](https://refivu.com/papers/37729fca-fc0f-4694-aeca-a6b7e5ad26f0/figures/figure-f74009249498ea08b719fb70991db4d1.png?thumb=512)

**Table 3** : Retrospective conditional retained-run comparison on all 50 assigned tasks per arm, including unsolved and model-limit outcomes. Normal scores are 32/50, 30/50, 29/50, and 31/50 in target order. History words count cache-distinct blocks within each retained run; tool calls use selected terminal trajectories. Spend includes rewriting. † marks common-tariff target estimates with actual captured compressor charges. ∗Target time excludes rewriting, tools, orchestration, and evaluation. Rewrite and inclusive timing appear in Appendix D.5.

[원문](https://arxiv.org/abs/2611.03852v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Anton Hristov · Why Pay for Long Reasoning When Rewrite Do Trick? Causal Effects of Reasoning History Compaction on Future Generation and Agent Cost · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Table 9: Paired resolution differences on 50 assigned tasks per configuration. The intervals describe task resampling with each captured run held fixed](https://refivu.com/papers/37729fca-fc0f-4694-aeca-a6b7e5ad26f0/figures/figure-a5406b5c3cdc954893afc96bad645561.png?thumb=512)

**Table 9** : Paired resolution differences on 50 assigned tasks per configuration. The intervals describe task resampling with each captured run held fixed.

[원문](https://arxiv.org/abs/2611.03852v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Anton Hristov · Why Pay for Long Reasoning When Rewrite Do Trick? Causal Effects of Reasoning History Compaction on Future Generation and Agent Cost · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

![Table 10: Retained-run spend and completed request-duration sums over all 50 assigned tasks per arm. Spend and inclusive time include rewriting; inclusive chan…](https://refivu.com/papers/37729fca-fc0f-4694-aeca-a6b7e5ad26f0/figures/figure-be70735d854f3815d095fe5204a4fd2b.png?thumb=512)

**Table 10** : Retained-run spend and completed request-duration sums over all 50 assigned tasks per arm. Spend and inclusive time include rewriting; inclusive changes are relative to Normal. Nemotron target charges are common- tariff estimates with actual captured compressor charges. Tools, orchestration, and evaluation are excluded. Columns are rounded independently.

[원문](https://arxiv.org/abs/2611.03852v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Anton Hristov · Why Pay for Long Reasoning When Rewrite Do Trick? Causal Effects of Reasoning History Compaction on Future Generation and Agent Cost · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

## LiveCodeBench 코딩 사례의 검증 행동

코딩 사례 연구는 LiveCodeBench v6 screen에서 DeepSeek V4 Flash와 Laguna S 2.1 두 경로만 사용합니다. 공유 획득에서 24개 model-item 원천 중 12개가 성공했고, 수용된 원천이 36개 continuation pair를 만들었습니다. 이 중 33개만 비교 가능한 horizon을 가지며, 이 screen은 획득 과정과 유리한 연속 생성 조건에 조건부입니다.

![Table 8: Acquisition-selected coding screen. Source-clustered 95% intervals for the medians](https://refivu.com/papers/37729fca-fc0f-4694-aeca-a6b7e5ad26f0/figures/figure-8a26dec081a662e4c611fc1374079e18.png?thumb=512)

**Table 8** : Acquisition-selected coding screen. Source-clustered 95% intervals for the medians

[원문](https://arxiv.org/abs/2611.03852v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Anton Hristov · Why Pay for Long Reasoning When Rewrite Do Trick? Causal Effects of Reasoning History Compaction on Future Generation and Agent Cost · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

비교 가능한 쌍에서는 29/33이 짧아졌고 median 변화는 −57.1%입니다. 성공한 DeepSeek 분기 중 제출 턴 재검증, 즉 추론이 350 토큰 이상인 경우는 clean 18개 중 11개(61.1%)에서 나타났고 compact 분기에서는 나타나지 않았습니다. 최종 턴 추론 median은 489에서 12 토큰으로 줄었습니다. 이는 선택된 screen에서의 관찰이며 일반적인 수리 능력을 보여 주지 않습니다.

## 해석의 한계

결과는 여러 층에서 제한됩니다. 통제 과제는 구조가 좁고, 원천 수용이 비대칭이며, 같은 모델이 rewrite와 판정을 모두 맡습니다. 인간 감사는 소규모 수용 부분집합과 비전문가 가족 평가자를 사용했습니다. 길이 대조 실험에서 단순 paraphrase는 median 변화가 +0.7%로 거의 0이었고 정확 성공도 68/69에서 59/69로 떨어졌으므로, 이 대조만으로 이력 길이의 효과를 분리할 수 없습니다.

![Table 2: Human fidelity labels. Overall-label agreement is 4/6 for the easy initial batch and 5/6 for the longer, post-start, complexity-selected extension. Or…](https://refivu.com/papers/37729fca-fc0f-4694-aeca-a6b7e5ad26f0/figures/figure-d1b151f1ddd2cb1f7f22c249e2f4ed74.png?thumb=512)

**Table 2** : Human fidelity labels. Overall-label agreement is 4/6 for the easy initial batch and 5/6 for the longer, post-start, complexity-selected extension. Original judg- ments are retained without adjudication.

[원문](https://arxiv.org/abs/2611.03852v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Anton Hristov · Why Pay for Long Reasoning When Rewrite Do Trick? Causal Effects of Reasoning History Compaction on Future Generation and Agent Cost · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

![Figure 4: Length and quality control. Horizontal posi- tion is paired median future reasoning change, with source-clustered 95% intervals; vertical position is…](https://refivu.com/papers/37729fca-fc0f-4694-aeca-a6b7e5ad26f0/figures/figure-f3f49f4794e0185e43a850fbb457ae09.png?thumb=512)

**Figure 4** : Length and quality control. Horizontal posi- tion is paired median future reasoning change, with source-clustered 95% intervals; vertical position is exact-success change. The paraphrase control is quality- degrading and therefore does not isolate history length.

[원문](https://arxiv.org/abs/2611.03852v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Anton Hristov · Why Pay for Long Reasoning When Rewrite Do Trick? Causal Effects of Reasoning History Compaction on Future Generation and Agent Cost · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

또한 원문은 삭제, 절단, 추출 기반 보존 같은 단순 대안과의 비교가 없다고 밝힙니다. 배포 결과는 시드 반복이 없으며 provider가 섞여 있어 인과 해석이 제한됩니다. 보이는 추론 토큰과 client 관찰 요청 시간은 숨은 계산과 전체 운영 지연을 포함하지 않습니다. 품질 비열등성은 확립되지 않았습니다.

## 논문 정보

- **저자**: Anton Hristov
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 2일
- **등록일**: 2026년 11월 5일
- **수정일**: 2026년 11월 2일
- **버전**: v1
- **arXiv**: 2611.03852
- **DOI**: 10.18653/2026.realm-1.84
- **분류**: cs.CL · cs.AI
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

Reasoning substantially improves language models' ability to solve difficult problems, but long reasoning traces make these gains expensive. Efficient reasoning should express useful analysis in fewer tokens by reducing repetition and text that adds little value to solving the problem. Progress in proprietary models motivates this goal, yet their hidden scratchpads limit direct study of how it is achieved. We investigate whether open-weight models can generate less verbose reasoning by changing the form of their own earlier thoughts, without retraining. Our intervention rewrites prior reasoning into compact state records before pending tool results are revealed, then compares continuations from original and compact histories. Across the tested models, accepted compact histories usually shorten future reasoning; a coding case study also shows less repeated verification after a shared candidate solution. In software-agent deployments, compaction can reduce total spending, although task quality and rewrite-inclusive time depend on the target and compressor. These findings identify reasoning history as one way to reduce future reasoning-token use and motivate model-specific compaction policies evaluated for both efficiency and retained capability.

## 원문 인용

Anton Hristov (2026). Why Pay for Long Reasoning When Rewrite Do Trick? Causal Effects of Reasoning History Compaction on Future Generation and Agent Cost. arXiv:2611.03852v1. https://doi.org/10.18653/2026.realm-1.84

**BibTeX**

```
@article{hristov2026long,
  title = {{Why Pay for Long Reasoning When Rewrite Do Trick? Causal Effects of Reasoning History Compaction on Future Generation and Agent Cost}},
  author = {Anton Hristov},
  year = {2026},
  eprint = {2611.03852},
  archivePrefix = {arXiv},
  doi = {10.18653/2026.realm-1.84},
  url = {https://arxiv.org/abs/2611.03852v1}
}
```

## 이 논문의 용어

- [LiveCodeBench](https://refivu.com/terms/a42eecb00259-livecodebench)

## 다른 논문 해설

- [GeoFaham: Domain-Specialized Multi-Agent Geospatial Analytics for Disaster Response](https://refivu.com/papers/e44cc07c-4d28-418e-b3f6-e5f57c4a0d04-geofaham-domain-specialized-multi-agent-geospatial-analytics.md)
- [$τ$-Rec-Books: A Disclosure-Controlled Benchmark for Requirement Elicitation in Agentic Recommender Systems](https://refivu.com/papers/a203d096-8af2-4668-aef9-d3d9e4812a81-rec-books-a-disclosure-controlled-benchmark-for-requirement.md)
- [Memory Tax: Dissecting the Net Value of Agent Memory](https://refivu.com/papers/79cbb129-a0d7-4823-b701-9fac7b767acc-memory-tax-dissecting-the-net-value-of-agent.md)
- [The Coordination Tax and the Heterogeneity Dividend: Break-Even Conditions for Multi-Agent LLM Pipelines](https://refivu.com/papers/0495241e-5133-4ace-b61b-82595cbcc7d3-the-coordination-tax-and-the-heterogeneity-dividend-break.md)
- [How Do Small Coding Agents Use Code Graphs and Embeddings?](https://refivu.com/papers/28564692-dd49-4ad7-bdca-c4ff961b85d1-how-do-small-coding-agents-use-code-graphs.md)
- [Can LLM Agents Improve Imperfect Earth System Model Parameterizations?](https://refivu.com/papers/d2d654ca-f1a5-4a7a-b717-a4f47f9db988-can-llm-agents-improve-imperfect-earth-system-model.md)
- [Privacy-preserving Object Detection](https://refivu.com/papers/1fa90c3a-bd6e-405d-a340-ba7a5eacb841-privacy-preserving-object-detection.md)
- [RoboScope Kit: Unified Interfaces for Fast and Scalable Embodied-AI Evaluation](https://refivu.com/papers/57660ddb-0c00-43cc-948b-5278cea6c03e-roboscope-kit-unified-interfaces-for-fast-and-scalable.md)
- [PianoBench: Evaluating Musical Perception and Reasoning in Language Models](https://refivu.com/papers/303d2599-ed54-4e1e-92e2-9ef775204ad7-pianobench-evaluating-musical-perception-and-reasoning-in.md)
- [BEND 2.0: Benchmarking the Capabilities Needed to Design DNA](https://refivu.com/papers/2cf1aab3-b4be-418d-aff3-43e6eb22c3eb-bend-2-0-benchmarking-the-capabilities-needed-to.md)
- [MIMIC-Note-Extract: A Large-Scale Structured Dataset Extracted from MIMIC-IV-Note Discharge Summaries](https://refivu.com/papers/c3134221-3727-4425-a2de-b05c03c5f21c-mimic-note-extract-a-large-scale-structured-dataset.md)
- [Collaborative Search Meets Large Language Models: An Empirical Study](https://refivu.com/papers/61599d2c-6b5e-4816-9d4f-bf9423d1b094-collaborative-search-meets-large-language-models-an.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/37729fca-fc0f-4694-aeca-a6b7e5ad26f0-why-pay-for-long-reasoning-when-rewrite-do)
