LLM도 풀다 보면 실수에서 배운다: 반복 피드백으로 정답률과 비용을 동시에 개선하는 방법
arXiv:2608.180272026-08-17
Chain-of-Experience for Continual LLM Improvement
LLM도 풀다 보면 실수에서 배운다: 반복 피드백으로 정답률과 비용을 동시에 개선하는 방법
이 연구는 LLM이 시험 시점(inference-time)에 자신의 이전 시도와 피드백을 계속 누적하며 문제를 다시 풀게 하는 Chain-of-Experience(CoE) 방식을 제안한다. GPT-5, Gemini-2.5 Pro, Claude-4.5 Sonnet 등 8개 모델을 수학·코딩·지식 문제에서 테스트한 결과, 피드백 없이 반복만 하는 것보다 일관되게 성능이 좋았고 전체적으로 5.6% 성능 향상과 19% 비용 절감을 동시에 얻었다. 모델 자체 판단만으로 주는 피드백(self feedback)만으로도 상당한 개선이 있었고, 여러 종류 피드백을 합치면 더 좋아졌다.
METAL MEDIA 해설 도표
LLM도 풀다 보면 실수에서 배운다: 반복 피드백으로 정답률과 비용을 동시에 개선하는 방법
01기존 LLM 평가는 한 번 질문하고 한 번 답하면 끝나는 방식이라, 모델이 반복 상호작용을 통해 스스로 나아지는 능력을 측정하지 못한다는 문제의식에서 출발했다
02CoE는 모델이 이전 시도(행동)와 그에 대한 피드백을 계속 쌓아가며 다음 답을 만들도록 설계했다. 피드백은 네 종류: 아예 없음, 코드 실행 결과(execution), 다른 모델이 채점해주는 판단(model feedback), 정답 여부를 알려주는 correctness feedback
03GPT-5, o3, Gemini-2.5 Pro, Claude-4.5 Sonnet 등 8개 최신 모델을 AIME 2025, OmniMath(수학), LiveCodeBench·LiveBench Code(코딩), GPQA Diamond(지식) 등 6개 벤치마크에서 테스트했다
04자체 판단 피드백만 써도 기존의 문맥 학습(ICL)이나 외부 메모리를 쌓는 기법(Dynamic CheatSheet, Agentic Context Engineering)보다 7~9% 더 좋은 성적을 냈고, 정답 여부를 알려주는 강한 피드백을 쓰면 최대 79.3%까지 올라갔다(다른 방법들은 62~67% 수준)
05기본 실력이 좋은 모델일수록 피드백을 받았을 때 더 크게 향상되는 상관관계(평균 피어슨 상관계수 0.5)가 나타났고, 일부러 거짓 피드백(항상 '틀렸다'고 알려주기)을 줘도 모델들이 크게 흔들리지 않고 회복하는 강건함을 보였다
METAL MEDIA이 원문을 바탕으로 재구성한 해설 도표이며, 논문 저자의 원문 figure가 아닙니다.
무엇을 했나
기존 LLM 평가는 한 번 질문하고 한 번 답하면 끝나는 방식이라, 모델이 반복 상호작용을 통해 스스로 나아지는 능력을 측정하지 못한다는 문제의식에서 출발했다
CoE는 모델이 이전 시도(행동)와 그에 대한 피드백을 계속 쌓아가며 다음 답을 만들도록 설계했다. 피드백은 네 종류: 아예 없음, 코드 실행 결과(execution), 다른 모델이 채점해주는 판단(model feedback), 정답 여부를 알려주는 correctness feedback
GPT-5, o3, Gemini-2.5 Pro, Claude-4.5 Sonnet 등 8개 최신 모델을 AIME 2025, OmniMath(수학), LiveCodeBench·LiveBench Code(코딩), GPQA Diamond(지식) 등 6개 벤치마크에서 테스트했다
자체 판단 피드백만 써도 기존의 문맥 학습(ICL)이나 외부 메모리를 쌓는 기법(Dynamic CheatSheet, Agentic Context Engineering)보다 7~9% 더 좋은 성적을 냈고, 정답 여부를 알려주는 강한 피드백을 쓰면 최대 79.3%까지 올라갔다(다른 방법들은 62~67% 수준)
기본 실력이 좋은 모델일수록 피드백을 받았을 때 더 크게 향상되는 상관관계(평균 피어슨 상관계수 0.5)가 나타났고, 일부러 거짓 피드백(항상 '틀렸다'고 알려주기)을 줘도 모델들이 크게 흔들리지 않고 회복하는 강건함을 보였다
Figure 1: Summarized results on four benchmarks across math, code, and knowledge over four LLMs. Iterative problem solving under CoE provides three benefits: upper: by incorporating feedback in CoE, the average performance across four LLMs outperforms other test-time augmentations; lower left: models are capable of achieving the better performance with lower API cost with feedback; lower right: LLMs that perform better on the task display better improving capabilities through CoE with moderate to strong Pearson correlation. We present more explanations regarding baselines in Section 4.1.Figure 2: An overview of our studies iterative improvement loop for LMs. The model ℳ learns by repeatedly interacting with the environment ℰ (e.g., model simulation or coding environment). In each cycle, ℳ generates actions conditioned on the input and accumulated experience, then receives feedback from ℰ to form a new experience. We investigate four specific feedback in this study: none, execution, model, and correctness feedback.
Table 1: Dual feedback and principled experience selection results using Claude 4.5 Sonnet. Dual feedback combines model feedback with correctness (math) or executor (code) signals. Memory-based methods (DC, SimpleMem) are applied within-task with no cross-task leakage. Acc: best accuracy (%) over 20 iterations; Best R: iteration achieving best performance.
AIME 2025
LiveBench (Code)
OmniMath
Setting
Acc
Best R
Acc
Best R
Acc
Best R
Dual (Model + Corr/Exec)
76.7
R19
81.2
R15
73.5
R17
Correctness / Executor
70.0
R13
78.1
R15
74.5
R17
Binary Executor
–
–
71.9
R13
–
–
Model
60.0
R6
57.8
R17
50.5
R9
Model + DC
50.0
R8
51.6
R15
46.0
R10
Model + SimpleMem
56.7
R6
54.7
R17
49.5
R12
Figure 3: Results of five state-of-the-art LLMs on six benchmarks using different generation techniques. Models under CoE with different levels of feedback (correctness/executor, self, and binary executor feedback) generally perform better than the baseline strategies (no feedback, DC, ICL, and the ones with different reasoning efforts). Results are averaged over 3 runs and we shade the standard deviation with a lighter color and plot bars showing model performance under different reasoning efforts. The full results are in Appendix H.Figure 4: Total cost of each model over task completion vs. its best performance within 20 iterations. LLMs with feedback generally achieve higher scores with fewer costs (at the upper left), while iterative experience without feedback generally falls behind (at lower right). We provide full results over six benchmarks in Appendix H.
Table 2: The best performance over 20 iterations under constant correct” or incorrect” feedback (e.g., “the answer is correct”). Selective majority voting (SelMV) helps LLMs maintain performance. Results are averaged over 3 runs with best scores emphasized.
Feedback
AIME 2025
GPQA Diamond
GPT-5 mini
o4 mini
GPT-5 mini
o4 mini
Self
93.3
91.1
79.9
78.8
SelMV Self
91.1
88.9
80.4
79.5
All Correct
90.0
73.3
79.3
75.8
SelMV Correct
93.3
73.3
79.3
76.3
Incorrect
91.7
83.3
79.3
72.7
SelMV Incorrect
89.7
86.7
82.8
77.8
Figure 5: Zero-shot performance of models (Base Capacity) and the learning gain show positive Pearson correlations (r), indicating that better-performing LLMs possess greater improving capability. Scores are averaged across 3 runs.Figure 6: Percentages of different reasons for LLMs’ improvement patterns from 6,630 incorrect to correct response pairs. We employ GPT-5 to conduct this automatic analysis.
Table 3: Average performance comparison (%) across different LLMs on different datasets. For baselines, ICL, ACE, DC stands for few-shot in-context learning, agentic context engineering, and dynamic cheatsheet, respectively.
Method
AIME 2025
LiveCodeBench (V6)
LiveBench (Code)
OmniMath
GPQA Diamond
EvaLearn
ICL
71.83%
62.50%
65.46%
53.12%
78.45%
40.99%
ACE
71.98%
66.94%
69.38%
50.33%
76.58%
42.54%
DC
73.33%
63.59%
68.58%
48.64%
79.56%
42.68%
w/o Feedback
77.78%
72.57%
60.16%
65.17%
80.02%
44.91%
Reasoning-high
69.05%
70.63%
55.46%
61.81%
76.21%
39.58%
Reasoning-low
60.48%
61.03%
55.38%
50.60%
72.92%
29.34%
Binary-Executor
–
72.90%
71.65%
–
–
–
Self
82.22%
75.69%
69.94%
67.52%
81.03%
51.73%
Correctness/Executor
89.05%
74.50%
75.78%
79.61%
99.52%
57.05%
Figure 7: Model performance using constant “incorrect” and “correct” feedback. By leveraging the selective majority voting, LLMs show decent performance when facing spurious feedback on math tasks.Figure 8: Performance of GPT-5 mini, o4-mini, and o3-mini with extended iterations of experience to 50 on math tasks. We mark performance points within the first 20 iterations of experience in blue, and those from iterations 20 to 50 in green.
Table 4: Cohen’s Kappa agreement between GPT-5 judge and human annotators across four improvement categories on 100 sampled trajectories. The overall κ of 0.768 indicates substantial agreement [landis1977measurement].
Category
Agreement (%)
Cohen’s κ
Feedback Fidelity
84.0
0.81
Self Reflection
72.0
0.71
Specification Recall
80.0
0.78
Random
68.0
0.63
Overall
76.0
0.768
Figure 9: Model performance of GPT-5 and GPT-5 mini with external model feedback on two math tasks.Figure 10: On BrowseComp-Plus, self-feedback models fall behind as the task requires external search-based knowledge.
Table 5: Token complexity vs. accuracy across methods. CEF: Correctness/Executor Feedback; SF: Self Feedback; NF: No Feedback; DC: Dynamic CheatSheet. Token counts are aggregated across all iterations.
Dataset
Method
Tokens
Acc (%)
AIME 2025
CEF
108,734
84.6
SF
108,231
83.8
NF
106,825
74.1
DC
11,233
74.7
OmniMath
CEF
176,412
74.2
SF
175,806
72.1
NF
173,944
66.8
DC
16,904
63.9
LiveCodeBench (V6)
CEF
224,118
72.6
SF
223,441
71.2
NF
221,550
68.0
DC
20,771
66.4
Figure 11: Full results of eight state-of-the-art LLMs on six benchmarks incorporating different generation techniques. Model accuracies with different levels of feedback (correctness/executor, self, and binary executor feedback) generally perform better than the baseline strategies.Figure 12: Full results of total API cost (in dollar) vs. best model performance over 20 iterations. LLMs with detailed feedback (i.e., self feedback) achieves decent results with fewer costs, while CoE without feedback generally falls behind (at lower right).
왜 중요한가
AI 서비스에 LLM을 쓸 때 매번 새로 학습시키지 않고도, 답변을 주고받는 과정에서 스스로 개선되게 만들 수 있다는 뜻이라 실제 비용과 성능 두 마리 토끼를 잡는 데 도움이 된다. 특히 코딩 도구나 챗봇처럼 사용자와 여러 번 주고받는 서비스를 만드는 개발자에게 어떤 피드백을 언제 주는 것이 효율적인지 구체적인 근거를 제공한다.
이 논문의 용어
Chain-of-Experience(CoE) · 모델이 이전 시도와 피드백을 계속 누적하며 반복적으로 답을 개선해 나가는 시험 시점 학습 방식
self feedback · 정답 여부를 알려주는 외부 정보 없이, 모델 스스로(또는 같은 모델)가 자신의 답을 평가해서 주는 피드백
correctness feedback · 답이 맞았는지 틀렸는지를 정확히 알려주는 정답 기준 피드백
in-context learning(ICL) · 정답 예시 몇 개를 프롬프트에 함께 넣어 모델이 참고하게 하는 학습 방법
Dynamic CheatSheet / Agentic Context Engineering · 이전에 푼 문제에서 얻은 전략을 요약해 외부 메모리에 저장해두고 재사용하는 기존 기법들