SYNTHESIS NOTE
Topics›Conversation Architecture Structure›this note

Can asking for clarification recover lost software engineering performance?

When AI agents encounter vague coding instructions, can they recover lost performance by asking clarifying questions? This explores whether interaction is a reliable way to close the gap between underspecified and complete task specifications.

Synthesis note · 2026-11-17 · sourced from Conversation Architecture Structure

Ambig-SWE is introduced as "an underspecified variant of SWE-Bench Verified, specifically designed to evaluate agent behavior under ambiguity and interaction," built on the OpenHands agentic framework and tested on Claude Sonnet 3.5, Claude Sonnet 4, Claude Haiku 3.5, Qwen 3 Coder, Deepseek, and Llama across the 500 issues of SWE-Bench Verified. The paper compares three settings — Full (complete task spec, no interaction), Hidden (summarized task, no interaction), and Interaction (summarized task, agent can query a GPT-4o user proxy that holds the full spec) — and reports that "when models interact for underspecified inputs, they effectively obtain vital information from the user leading to significant improvements in performance, up to 74% over the non-interactive settings." For the proprietary family tested across generations, the gain is larger still: "Proprietary models such as Claude Sonnet 3.5 and Haiku 3.5 effectively leverage interaction, recovering up to 80% of the performance gap."

The gain is conditional on the model choosing to interact at all, and the paper's sharpest finding is that this choice is not automatic: "models default to non-interactive behavior unless explicitly prompted, yet prompt engineering alone proves insufficient for reliable underspecificity detection." Even Qwen 3 Coder showed "complete non-responsiveness to interaction prompts (100% FNR)." The authors attribute this to training rather than capability: interaction improves task success as capability scales, but "it does not yield efficiency gains... indicating that current training practices insufficiently optimize for effective integration of interactive feedback" — the model can extract the missing information once asked, but the training objective, tuned toward task completion, does not reward asking for it in the first place.

This sits alongside Why do language models fail in gradually revealed conversations? as a sharper, more optimistic data point on the same failure mode: where that paper's agent-like mitigations recovered only 15-20% of the multi-turn performance drop, Ambig-SWE's interaction setting recovers up to 74-80% — the difference being that Ambig-SWE's intervention is a live, targeted clarification exchange rather than a static recovery strategy. It also corroborates Do LLMs recognize ambiguity but ignore it anyway?: in an agentic coding setting as in open QA, models default to answering over asking, and prompting alone does not reliably flip that default. And it extends Why do language models lose performance in longer conversations? by showing the same reframing — the gap is interaction-recoverable rather than a hard capability ceiling — holds specifically for software engineering agents operating with tools in a sandboxed environment.

The excerpt does not report what fraction of underspecified issues each model actually chose to query about, nor absolute resolve rates per model beyond the qualitative discussion; it also flags its own limitation that "underspecificity detection is measured only within the first three turns," so later-turn detection failures are not distinguished from recoverable ones. The user proxy is simulated (GPT-4o answering only from the issue text) rather than a real developer, which the authors note may be more cooperative than a real user. The implication, at the strength the excerpt supports, is that training pipelines have room to target the decision to interact specifically, not just the extraction of information once an exchange has started.

Inquiring lines that read this note 16

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

Do AI coding tools meaningfully improve developer productivity and quality? Should LLMs ask clarifying questions when faced with ambiguous inputs? Do chatbots prioritize user engagement and validation over information accuracy? What prevents AI agents from achieving claimed real-world autonomy? How do AI confidence signals mislead human judgments of actual accuracy? What drives effectiveness in conversational AI system interactions? How do we balance AI agent autonomy with meaningful user oversight? How can AI systems maintain cognitive diversity in collaborative idea generation? What makes AI failures visible and contestable to users?

Related concepts in this collection 6

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
12 direct connections · 95 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

interactive clarification recovers up to 74% of performance lost to underspecified software engineering instructions — but models rarely ask unprompted