Skip to content
aiqbenchAI & Quantum Intelligence
NewsInsightsBenchmarksSkillsAsk AILearnAbout
...Loading your session
NewsInsightsBenchmarksSkillsAsk AILearnAbout
Back to list
aiqbench takeMachine Learning

aiqbench analysis

This research introduces Speculative Uncertainty (SU), a technique that uses a lightweight draft model to predict failure likelihood in LLM coding agents solely from output tokens, eliminating the need for access to internal weights or repeated sampling. By integrating this signal into a pre-execution veto gate, the method significantly reduces execution errors and token costs on major models like Qwen3-Coder and Claude 3.5 Sonnet without requiring retraining. The approach offers a practical pathway for deploying more reliable autonomous software engineering agents by enabling early intervention before costly mistakes occur.
1
Source coveringarXiv

How to Speculate about Uncertainty in Agentic Coding? A Draft-Model Gate Method

arXiv·September 7, 2026·1 min read

From arXiv

Full text

LLM agents deployed for software engineering fail expensively: they act confidently wrong, and bad actions are recognized only after costly execution and retry. We present Speculative Uncertainty (SU), a method that recovers a predictive failure signal for a black-box agent from its output tokens alone, with no access to logits, weights, activations, or repeated sampling. Inverting speculative decoding, a small open-weight draft model scores the agent's already-generated trajectory in a single forward pass.

From these speculative cross-likelihoods we extract phase-aware features by separating the reasoning and action spans, and calibrate them against a verifiable objective. SU produces a failure-likelihood score that any downstream policy, such as routing, human intervention, or extra test-time compute, can consume directly. To show the signal is actionable, we instantiate one such policy, a pre-execution veto gate, on software engineering agents Qwen3-Coder-480B and closed-source Claude 3.5 Sonnet, cutting execution error rate by 6-8 percentage points and token cost by 14-19% in deployment, transferring to out-of-distribution benchmarks without retraining, and generalizing across agent models.

Full text under the publisher's open licence · 167 words

Read at arXiv ↗Ask about this article

Learn the background

What Makes an AI 'Agentic'Lesson 1 of the free Agentic AI Engineer track.

Article info

Source

arXiv

Published

September 7, 2026

Read time

1 min

Category

Machine Learning
aiqbench
AI & Quantum Intelligence© aiqbench. All rights reserved.

Feeds:RSS·JSON Feed

LanguageEnglish·Românăbeta
NewsAI & TechQuantumInsights
ExploreBenchmarksLearn
CompanyAboutTrustLegal noticeTerms of ServicePrivacy PolicyCopyright noticesData erasureReport content

The aiqbench take, the insights, the daily digest and Ask answers are written by AI models from the sources shown, without editorial review before publication. They may contain errors — check the source. How the model is used →

  • News
  • Insights
  • Ask AI
  • Benchmarks
  • Account