When History Fails to Become Experience: Action Calibration in Language Agents
Organizations: Gaoling School of Artificial Intelligence, Renmin University of China, Beijing, China · ByteDance · Beijing Key Laboratory of Research on Large Models and Intelligent Governance · Engineering Research Center of Next-Generation Intelligent Search and Recommendation, MOE
Abstract
Language agents should draw on prior attempts and environmental feedback to improve subsequent decisions within the same task. However, providing additional interaction history can sometimes reduce task success, suggesting that agents do not consistently use this information effectively. To investigate this limitation, we examine how agents use history. We find that history improves task completion overall, yet much of this benefit persists even when past actions are shuffled. Disrupting the correspondence between actions and observations causes only a modest decline in task success. We therefore hypothesize that agents do not reliably connect past actions with their outcomes when deciding how to proceed. To test this hypothesis, we explicitly label each returned observation as the outcome of the preceding action. This simple annotation improves task success and reduces next-action repetition without introducing new environmental information. Building on this insight, we introduce a learned calibrator that explicitly reassesses past actions and selectively records experience to guide subsequent decisions, improving task success beyond outcome labeling alone.
Figures & tables
| Condition | Earlier history | Recent history |
|---|---|---|
| Raw | ||
| Recent-3-Only | Entire entries omitted | |
| Observation-Only | ||
| Shuffle-All | (O_{1},{\color[rgb]{0.85,0.425,0}A_{4}}),(O_{2},{\color[rgb]{0.85,0.425,0}A_{5}}),(O_{3},{\color[rgb]{0.85,0.425,0}A_{6}}) | (O_{4},{\color[rgb]{0.85,0.425,0}A_{1}}),(O_{5},{\color[rgb]{0.85,0.425,0}A_{2}}),(O_{6},{\color[rgb]{0.85,0.425,0}A_{3}}) |
| Shuffle-Old | (O_{1},{\color[rgb]{0.85,0.425,0}A_{2}}),(O_{2},{\color[rgb]{0.85,0.425,0}A_{3}}),(O_{3},{\color[rgb]{0.85,0.425,0}A_{1}}) | |
| Current observation is retained in all five conditions. | ||
| Group | Raw | Recent-3- Only | Observation- Only | Shuffle-All | Shuffle-Old |
|---|---|---|---|---|---|
| By environment | |||||
| ALFWorld | 67.08 | 52.44 | 61.88 | 64.64 | 68.08 |
| ScienceWorld | 39.12 | 31.88 | 35.88 | 34.84 | 38.56 |
| WebShop | 27.72 | 27.28 | 20.68 | 25.44 | 27.88 |
| AppWorld | 51.64 | 32.36 | 45.28 | 50.44 | 52.48 |
| By model | |||||
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Raw | Causal | Experience | |
|---|---|---|---|---|
| GPT-5.6-Sol | 46 | 4 (8.70%) | 3 (6.52%) | 2 (4.35%) |
| DeepSeek-V4-Pro | 131 | 33 (25.19%) | 30 (22.90%) | 25 (19.08%) |
| Qwen3.5-Plus | 188 | 48 (25.53%) | 41 (21.81%) | 36 (19.15%) |
| Qwen3-32B | 492 | 93 (18.90%) | 77 (15.65%) | 84 (17.07%) |
| Qwen3-8B | 958 | 492 (51.36%) | 434 (45.30%) | 241 (25.16%) |
| Pooled | 1,815 | 670 (36.91%) | 585 (32.23%) | 388 (21.38%) |
| Model | Environment | Raw | Recent-3- Only | Obs.- Only | Shuffle- All | Shuffle- Old | Causal | Exp. |
|---|---|---|---|---|---|---|---|---|
| GPT-5.6-Sol | ALFWorld | 448 | 421 | 456 | 456 | 453 | 449 | 441 |
| ScienceWorld | 403 | 338 | 384 | 364 | 400 | 410 | 394 | |
| WebShop | 188 | 171 | 143 | 169 | 186 | 190 | 176 | |
| AppWorld | 427 | 274 | 394 | 426 | 430 | 437 | 421 | |
| DeepSeek-V4-Pro | ALFWorld | 350 | 280 | 318 | 327 | 349 | 357 | 346 |
| ScienceWorld | 293 | 235 | 267 | 255 | 285 | 297 | 282 |
| Model | Environment | Raw | Causal | Check |
|---|---|---|---|---|
| GPT-5.6-Sol | ALFWorld | 448 | 449 | 467 |
| ScienceWorld | 403 | 410 | 410 | |
| WebShop | 188 | 190 | 195 | |
| AppWorld | 427 | 437 | 417 | |
| DeepSeek-V4-Pro | ALFWorld | 350 | 357 | 359 |
| ScienceWorld | 293 | 297 | 305 |
| Model | Environment | Valid reviews | Experience | NO_UPDATE |
|---|---|---|---|---|
| GPT-5.6-Sol | ALFWorld | 5,848 | 4,182 (71.51) | 1,666 (28.49) |
| ScienceWorld | 7,044 | 4,723 (67.05) | 2,321 (32.95) | |
| WebShop | 3,453 | 1,886 (54.62) | 1,567 (45.38) | |
| AppWorld | 5,636 | 5,482 (97.27) | 154 (2.73) | |
| DeepSeek-V4-Pro | ALFWorld | 8,605 | 1,980 (23.01) | 6,625 (76.99) |
| ScienceWorld | 8,757 | 2,471 (28.22) | 6,286 (71.78) |
| Case | Task evidence and retained experience | Subsequent behavior |
|---|---|---|
| Restatement ALFWorld Qwen3-8B | The task requires cleaning an egg and placing it in a fridge. put egg 2 in bowl 1 returns “Nothing happens.” Experience: “Putting the egg in a bowl does not successfully place it in the fridge.” | The action and identical experience recur at steps 11–13, with earlier judgments visible. Repeated writes restate an already recorded failure. |
| Unsupported claim WebShop Qwen3.5-Plus | A 3.4-oz, paraben-free shampoo below 29.99 but does not verify the paraben-free attribute. Experience: “The selected 3.5 oz dry shampoo is paraben-free and priced under $40, confirming that product detail pages provide the necessary attribute verification to satisfy the user’s specific constraints.” | The actor buys the product next without inspecting features or description. The judgment overlooks the size mismatch and endorses an unverified attribute. |
| Verification WebShop Qwen3.5-Plus | A black, non-slip PU leather organizer below 45.99 price, but not non-slip functionality. Experience excerpt: “… though non-slip functionality requires further verification via features or description.” | The actor selects black, then inspects features at step 3 and description at step 5. The experience notes that the non-slip property still needs verification. |
| Model | Setting | ALFWorld | ScienceWorld | WebShop | AppWorld |
|---|---|---|---|---|---|
| GPT-5.6-Sol | Raw | 89.60 | 80.60 | 37.60 | 85.40 |
| Causal Transition | 89.80 | 82.00 | 38.00 | 87.40 | |
| Calibrator | 94.20 | 91.80 | 42.40 | 87.00 | |
| DeepSeek-V4-Pro | Raw | 70.00 | 58.60 | 37.00 | 86.60 |
| Causal Transition | 71.40 | 59.40 | 37.40 | 87.00 | |
| Calibrator | 75.00 | 67.40 | 43.40 | 84.20 |
| Model | Training data | ALFWorld | ScienceWorld | WebShop | AppWorld |
|---|---|---|---|---|---|
| GPT-5.6-Sol | Content screening only | 452 | 451 | 204 | 424 |
| Full Calibrator | 471 | 459 | 212 | 435 | |
| DeepSeek-V4-Pro | Content screening only | 364 | 312 | 205 | 417 |
| Full Calibrator | 375 | 337 | 217 | 421 | |
| Qwen3.5-Plus | Content screening only | 397 | 197 | 182 | 293 |
| Full Calibrator | 402 | 189 | 193 | 305 |
| Model | Environment | Raw | Recent-3 Only | Obs. Only | Shuffle All | Shuffle Old | Causal | Exp. |
| GPT-5.6-Sol | ALFWorld | 95 | 80 | 93 | 93 | 95 | 95 | 90 |
| ScienceWorld | 83 | 63 | 72 | 79 | 79 | 85 | 80 | |
| WebShop | 45 | 41 | 31 | 41 | 39 | 45 | 45 | |
| AppWorld | 81 | 40 | 73 | 80 | 83 | 84 | 82 | |
| DeepSeek-V4-Pro | ALFWorld | 67 | 59 | 66 | 68 | 61 | 65 | 67 |
| ScienceWorld | 44 | 27 | 48 | 45 | 52 | 46 | 51 |
| Model | History | ALFWorld | ScienceWorld | WebShop | AppWorld | Total |
| GPT-5.6-Sol | Raw | 25 | 20 | 4 | 5 | 54 |
| Reference | 24 | 17 | 4 | 3 | 48 | |
| DeepSeek-V4-Pro | Raw | 10 | 12 | 9 | 5 | 36 |
| Reference | 6 | 9 | 5 | 3 | 23 | |
| Qwen3.5-Plus | Raw | 11 | 12 | 9 | 5 | 37 |
| Reference | 5 | 8 | 4 | 4 | 21 |
Memory-Augmented Language Model Agents
Memory-augmented language model agents use persistent facts, interaction histories, and skills to support personalization and long-horizon tasks.
See all 448 papers