- Archived full text: Full archived text, with credits
- Link: https://huggingface.co/blog/ibm-research/altk-evolve-consistency
What it says
The article argues that most benchmarks hide agent unreliability behind Mean@k averages: a ReAct agent on AppWorld GPT-4.1 averages 77.4% (Mean@5) but passes all 5 runs for only 53.0% of tasks, a 24.4-point consistency gap. The cause is flat decision distributions at individual steps, which small platform noise can reorder, and a chain of dozens of decisions compounds that into a large chance of a different outcome per run. The authors built the Consistency Analyzer, which resamples each recorded decision step with one extra call (k=5 completions, no replay of the task, no ground truth), flags flip-prone steps, and generates consistency guidelines in the ALTK-Evolve format that target the flagged steps. On AppWorld test_normal (168 tasks), same-task Pass^5 rose 53.0% to 69.0% (Mean@5 77.4% to 81.0%), cutting the gap to 12.0pp while preserving accuracy, and guidelines transferred to similar tasks (+13.0pp) and to a weaker model (gpt-oss-120b, 10.1% to 16.1%). The post advises reporting Pass^k next to Mean@k, expecting the gap to widen with difficulty, not reaching for a bigger model first, and that diagnosis needs no grader or live replay.
Claims drawn from this source
- Mean@k hides the consistency gap. A ReAct agent (GPT-4.1 on AppWorld test_normal) posts Mean@5 of 77.4% but Pass^5 of only 53.0%, a 24.4-point consistency gap; on hard tasks the gap reaches 30 points.
- Pass^k is the pessimistic mirror of pass@k. Pass^k is the fraction of tasks where the agent succeeds on all k independent runs, always ⇐ Mean@k; pass@k is the optimistic counterpart and the two are not interchangeable.
- Flat token distributions cause flips. Near-tied tokens spread comparable probability mass, so small platform noise (floating-point non-associativity, batching, hosted-endpoint drift) can reorder the winner; sharp distributions are resilient to the same nudge.
- Greedy decoding and fixed seed do not fix the gap. Decoding settings govern how a distribution becomes a token, not the distribution itself, so the same prompt at temperature 0 can still resolve a near-tie differently on another run.
- Consistency Analyzer diagnoses via one extra call per decision step. The analyzer replays each decision step in a recorded trajectory through controlled resampling (k=5 completions by default), with no logits, no ground truth, and no second end-to-end rollout, producing a consistency score per step.
- Consistency guidelines halve the gap without losing accuracy. Same-task Pass^5 rose 53.0% to 69.0% and Mean@5 77.4% to 81.0% (gap 24.4pp to 12.0pp); Medium +22.9pp (+44% relative), Hard +14.3pp (+45%), Easy +12.2pp.
- Guidelines generalize to similar tasks. Guidelines mined from one run transferred to a related scenario task, lifting similar-task Pass^5 by +13.0pp; on gpt-oss-120b a weaker model, same-task Pass^5 rose 10.1% to 16.1% while similar-task gain was +8.7pp.
- Diagnosis needs one extra call per decision step and no ground truth. Detection is black-box, usable on production traffic where end-to-end replay is often impossible, and runs once offline rather than in the hot path.