Measuring and Teaching Language Model Agents to Act on Delayed Consequences
Organizations: Oro AI, San Francisco, CA, USA
Abstract
Language model agents are increasingly asked to run ongoing multi-day operations rather than finish isolated single-turn tasks. In daily operations, today's choices reshape later observations and cash constraints because empty shelves hide lost walk-in demand, short-shipped customers quietly shrink future orders weeks later, and emergency buying drains working capital. We introduce SMB Bench, a calibrated 90-day wholesale simulator with 18 causally paired tasks and an 859-run frontier trace dataset, to ask what experience and learning signal make an agent better at noticing, attributing, and acting on the delayed consequences of its own decisions in unseen businesses. Across 16 frontier models, only 3 outperform a fixed buying rule; models often record a relevant diagnosis in their notes without changing later purchases in time, showing that diagnosing a problem, changing behavior, and improving a business are separate achievements. To study how experience improves those failures in an open model (Qwen3.8-27B), we used training-business records to identify operational rules and archived frontier quarters as starting states to continue from rather than transcripts to copy. On an unseen test business under identical evaluation instructions, the trained policy followed customer-protection commitments more consistently and reduced severe-loss quarters, while the additional profit benefit remained uncertain. Carrying those commitments through the quarter exposed the cost of fulfilling them, as early-quarter stocking habits left the buyer relying on emergency supply and a deteriorating supplier. The results separate recognizing a delayed effect, acting on it consistently, and coordinating surrounding decisions so that the response improves profit. SMB Bench connects these observations to a learning method by turning archived decisions and their consequences into reusable training experience.
Figures & tables
| Measure | Population | Qualification and Scoring Rule |
|---|---|---|
| Benchmark standings | 16 models, 859 runs | 18 tasks 3 repeats; net value vs. Fixed Rule |
| Volume vs. profit | 9 models, 485 runs | Behavioral cohort; kg bought vs. Fixed Rule |
| Written forecast audit | 136 product cases | Numeric forecast in notes vs. stocked units |
| Post-stockout replay | 50 restock-note cases | Astra (26), Sol (24) after OOS weeks |
| Diagnosis funnel | 323 quarters with reactive accounts | Loss and shock tasks; written link, 3-day cover |
| Course-change rate | 323 vs. 162 normal | Broad cover shift after Day 1 |
| Continuation | d60–62 POs | Post Short | Local Spend | Quarter Profit |
|---|---|---|---|---|
| Continuation 1 ( ) | 88 (1,364 kg) | 19.4 kg | $1,997 | 907) |
| Continuation 2 ( ) | 66 (956 kg) | 29.5 kg | $2,893 | 748) |
| Cover reversal ( ) | 43 (667 kg) | 109.7 kg | $2,162 | -94 ) |
| Cash exhaustion ( ) | 41 (642 kg) | 60.0 kg | $3,960 | -105 ) |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Validation Arm | Instruction Setting | Completion | Mean ($/q) | Normal | Customer Loss | Supplier Shock | Shortfall |
|---|---|---|---|---|---|---|---|
| Qwen3.6 Starting ( ) | Starting Qwen prompt | 1.00 | $28,963 | $12,784 | $51,263 | $22,843 | 1,005 kg |
| Qwen3.8 Starting ( ) | Starting Qwen prompt | 0.78 | $8,599 | +$15,778 | $15,743 | $25,831 | 772 kg |
| Training Prompt ( ) | + SQL OOS math + wholesaler advice | 0.58 | $15,188 | $4,596 | $15,368 | $25,600 | 586 kg |
| + Run-Safety Limits ( ) | + batch limit + SQL sums | 1.00 | $967 | +$13,193 | $4,377 | $11,718 | 513 kg |
| Evaluation Prompt ( ) | + Day-0 cover + pre-markdown cap | 0.92 | +$1,216 | +$3,847 | +$6,239 | $6,437 | 8 kg |
| Evaluation Prompt + RL ( ) | + 4 updates shared-state MaxRL | 1.00 | +$2,419 | +$4,734 | +$3,970 | $1,445 | 16 kg |
| Candidate Mechanism | Median Damage | Stores | Shortcuts | Status |
| Supplier shock (d21) | 3.22% rev | 6 / 6 | 0 / 0 / 0 | Admitted (6) |
| Reactive accounts | 1.90% rev | 6 / 6 | 0 / 0 / 0 | Admitted (6) |
| Stationary normal | 0.00% rev | Control | 0 / 0 / 0 | Admitted (6) |
| Outside demand drop | 0.24% rev | 2 / 6 | 0 / 0 / 0 | Rejected |
| Lot shelf-life drop | 0.20% rev | 1 / 6 | 0 / 0 / 0 | Rejected |
| Supplier quality drop | 0.16% rev | 2 / 6 | 0 / 0 / 0 | Rejected |
| Model | All 18 Tasks | Normal (6) | Changed (12) | vs Fixed Rule | Changed Margin (95% CI) | Valid Runs | Cost / Run |
| GPT-6 Astra | +$7,749 | +$10,145 | +$6,551 | +$1,337 | +2.18 (+0.04 to +4.32) | 54 / 54 | $213 |
| Gemini 4 Carbon | +$7,703 | +$9,346 | +$6,881 | +$1,291 | +2.37 (+0.46 to +4.29) | 53 / 54 | $134 |
| Claude Fable 5.2 | +$7,275 | +$12,545 | +$4,640 | +$863 | +1.00 ( 0.56 to +2.56) | 54 / 54 | $94 |
| Fixed Buying Rule | +$6,412 | +$10,051 | +$4,592 | +$0 | +0.00 (Reference) | 18 / 18 | $0 |
| Claude Fable 5.1 | +$5,427 | +$9,764 | +$3,259 | $985 | +0.16 ( 1.42 to +1.74) | 54 / 54 | $106 |
| GPT-6.1 Sol | +$5,404 | +$10,331 | +$2,941 | $1,008 | 0.05 ( 2.75 to +2.64) | 54 / 54 | $32 |
| Component | Sample / Scale | Role and Experimental Protocol |
|---|---|---|
| Businesses 1–4 (training) | 12 tasks (4 stores 3 conditions) | 210K baseline sales; transcripts for SFT and starting states for continuation RL |
| Business 5 (validation) | 3 tasks (1 store 3 conditions) | $340K baseline sales; prompt refinement and optimizer selection |
| Business 6 (sealed test) | 3 tasks (1 store 3 conditions) | $109K baseline sales; evaluated once at campaign close |
| Benchmark Prompt | 16 models, 859 scored runs | Objective, valuation rules, SQL and order tools, memory limits |
| Starting Qwen prompt | Qwen3.6 / Qwen3.8 baseline | Benchmark rules plus Qwen XML tool-call syntax |
| Training Prompt | Shared-state RL prompt | Adds SQL stockout-censoring adjustment and wholesaler advice |
| Business 5 (Validation) | Business 6 (Sealed Test) | ||||||
| Condition | Seed | Untrained | Trained | Untrained | Untrained Shorts | Trained | Trained Shorts |
| Normal | 0 | +$8,677 | +$7,189 | $6,036 | 13 kg | $3,576 | 3 kg |
| Normal | 1 | +$3,401 | +$1,263 | $4,675 | 2 kg | $1,518 | 0 kg |
| Normal | 2 | +$3,281 | +$7,920 | $4,807 | 30 kg | $4,625 | 0 kg |
| Normal | 3 | +$29 | +$2,563 | $3,474 | 12 kg | $4,509 | 0 kg |
| Customer loss | 0 | $536 | +$1,805 | $1,373 | 0 kg | $2,891 | 0 kg |
Long-Horizon Agent Evaluation
Long-Horizon Agent Evaluation measures whether AI agents can plan, act, remember, and stay reliable across extended tasks and changing environments.
See all 391 papers