Ambig-SWE: Interactive Agents to Overcome Underspecificity in Software Engineering
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
AI agents are increasingly being deployed to automate tasks, often based on underspecified user instructions. Making unwarranted assumptions to compensate for the missing information and failing to ask clarifying questions can lead to suboptimal outcomes, safety risks due to tool misuse, and wasted computational resources. In this work, we study the ability of LLM agents to handle underspecified instructions in interactive code generation settings by evaluating proprietary and open-weight models on their performance across three key steps: (a) detecting underspecificity, (b) asking targeted clarification questions, and (c) leveraging the interaction to improve performance in underspecified scenarios. We introduce Ambig-SWE, an underspecified variant of SWE-Bench Verified, specifically designed to evaluate agent behavior under ambiguity and interaction. Our findings reveal that models struggle to distinguish between well-specified and underspecified instructions. However, 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, underscoring the value of effective interaction. Our study highlights critical gaps in how current state-of-the-art models handle missing information in complex software engineering tasks and structures the evaluation into distinct steps to enable targeted improvements.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 33 references that are in the map. First posted on arXiv 18 Feb 2025.
Builds on
23 of 33 references.
Closest ancestors · 1
Same direction, newest first
Other references · 22
- 2024GPT-4o System Cardcited by 4,467
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,002
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
- 2024TheAgentCompany: Benchmarking LLM Agents on Consequential Real World Taskscited by 306
- 2023The Impact of AI on Developer Productivity: Evidence from GitHub Copilotcited by 264
- 2024MediQ: Question-Asking LLMs and a Benchmark for Reliable Interactive Clinical Reasoningcited by 145
- 2023Clarify When Necessary: Resolving Ambiguity Through Interaction with LMscited by 93
- 2023Goal Driven Discovery of Distributional Differences via Language Descriptionscited by 61
- 2024Aligning Language Models to Explicitly Handle Ambiguitycited by 55
- 2024Learning to Clarify: Multi-turn Conversations with Action-Based Contrastive Self-Trainingcited by 53
10 more
- 2022Interactive Code Generation via Test-Driven User-Intent Formalizationcited by 50
- 2024CLAMBER: A Benchmark of Identifying and Clarifying Ambiguous Information Needs in Large Language Modelscited by 48
- 2024LLM-Based Test-Driven Interactive Code Generation: User Study and Empirical Evaluationcited by 46
- 2024HAICOSYSTEM: An Ecosystem for Sandboxing Safety Risks in Human-AI Interactionscited by 42
- 2024Large Language Model-based Human-Agent Collaboration for Complex Task Solvingcited by 38
- 2024Asking the Right Question at the Right Time: Human and Model Uncertainty Guidance to Ask Clarification Questionscited by 32
- 2023CLARA: Classifying and Disambiguating User Commands for Reliable Interactive Robotic Agentscited by 28
- 2024Do LLMs Understand Ambiguity in Text? A Case Study in Open-world Question Answeringcited by 13
- 2024AmbigNLG: Addressing Task Ambiguity in Instruction for NLGcited by 10
- 2024Can LLMs assist with Ambiguity? A Quantitative Evaluation of various Large Language Models on Word Sense Disambiguationcited by 2
Built on by
Citing papers per year: 2025: 9; 2026: 19.
28 papers.
Sort:
By area:
- 2025LLMs Get Lost In Multi-Turn Conversationcited by 400
- 2026Mind the Sim2Real Gap in User Simulation for Agentic Taskscited by 44
- 2025Training Proactive and Personalized LLM Agentscited by 42
- 2025What Prompts Don't Say: Understanding and Managing Underspecification in LLM Promptscited by 32
- 2025Morae: Proactively Pausing UI Agents for User Choicescited by 18
- 2026Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agentscited by 15
- 2025TOM-SWE: User Mental Modeling For Software Engineering Agentscited by 11
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problemcited by 8
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2025How can we assess human-agent interactions? Case studies in software agent designcited by 4
- 2025Completion neq Collaboration: Scaling Collaborative Effort with Agentscited by 3
- 2026Ambig-DS: A Benchmark for Task-Framing Ambiguity in Data-Science Agentscited by 2
16 more
- 2026LoopsBench: From Harness Engineering to Loop Engineering in Coding Agent Evaluationcited by 2
- 2026Proactive Service Agents: A Unified Decision Framework, Methods, and Evaluationcited by 2
- 2025Extending Epistemic Uncertainty Beyond Parameters Would Assist in Designing Reliable LLMscited by 1
- 2026Beyond Words: Evaluating and Bridging Epistemic Divergence in User-Agent Interaction via Theory of Mindcited by 1
- 2026No More, No Less: Task Alignment in Terminal Agentscited by 1
- 2026CollabSkill: Evaluating Human-Agent Collaboration On Real-World Taskscited by 1
- 2026Unlocking Model Potentials Through Adaptive Multi-Agent Scaffolding for Efficient Issue Resolutioncited by 1
- 2026Actionable Hallucination Detection: Translating Latent Uncertainty into Agentic Critiquecited by 1
- 2026Can your AI agent be cheaper? Investigating the effects of task specifications on token spend in agentic coding taskscited by 1
- 2026XYBench: Can LLMs Respond Pragmatically to Queries with Misconceptions?cited by 1
- 2026Agent System Operations: Categorization, Challenges, and Future Directionscited by 0
- 2026Turning Intent into Specifications: A Benchmark and an Interactive User-Assistant Agentcited by 0
- 2026DPIAgent: Divide, Protocol, Isolate for Agentic Reproduction Test Generationcited by 0
- 2026AcCoRD: Evaluating User-Agent Collaboration Under Realistic User Preference Dynamicscited by 0
- 2026Policy Loopholes in Agent Evaluation: When Policy Ambiguity Masquerades as Agent Errorcited by 0
- 2026XYEval: Agents say yes to bad advicecited by 0
- 2026XYEval: Agents say yes to bad advice20 Sep 2026
- 2026Policy Loopholes in Agent Evaluation: When Policy Ambiguity Masquerades as Agent Error13 Sep 2026
- 2026XYBench: Can LLMs Respond Pragmatically to Queries with Misconceptions?6 Sep 2026
- 2026Proactive Service Agents: A Unified Decision Framework, Methods, and Evaluation3 Sep 2026
- 2026AcCoRD: Evaluating User-Agent Collaboration Under Realistic User Preference Dynamics28 Aug 2026
- 2026Can your AI agent be cheaper? Investigating the effects of task specifications on token spend in agentic coding tasks26 Aug 2026
- 2026DPIAgent: Divide, Protocol, Isolate for Agentic Reproduction Test Generation24 Aug 2026
- 2026Actionable Hallucination Detection: Translating Latent Uncertainty into Agentic Critique11 Aug 2026
- 2026LoopsBench: From Harness Engineering to Loop Engineering in Coding Agent Evaluation31 Jul 2026
- 2026Unlocking Model Potentials Through Adaptive Multi-Agent Scaffolding for Efficient Issue Resolution24 Jun 2026
- 2026Agent System Operations: Categorization, Challenges, and Future Directions1 Jun 2026
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problem23 May 2026
16 more
- 2026Turning Intent into Specifications: A Benchmark and an Interactive User-Assistant Agent13 May 2026
- 2026No More, No Less: Task Alignment in Terminal Agents12 May 2026
- 2026Ambig-DS: A Benchmark for Task-Framing Ambiguity in Data-Science Agents10 May 2026
- 2026CollabSkill: Evaluating Human-Agent Collaboration On Real-World Tasks20 Apr 2026
- 2026Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agents27 Mar 2026
- 2026Mind the Sim2Real Gap in User Simulation for Agentic Tasks11 Mar 2026
- 2026Beyond Words: Evaluating and Bridging Epistemic Divergence in User-Agent Interaction via Theory of Mind14 Feb 2026
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
- 2025Training Proactive and Personalized LLM Agents4 Nov 2025
- 2025Completion neq Collaboration: Scaling Collaborative Effort with Agents29 Oct 2025
- 2025TOM-SWE: User Mental Modeling For Software Engineering Agents24 Oct 2025
- 2025How can we assess human-agent interactions? Case studies in software agent design10 Oct 2025
- 2025Morae: Proactively Pausing UI Agents for User Choices29 Aug 2025
- 2025Extending Epistemic Uncertainty Beyond Parameters Would Assist in Designing Reliable LLMs9 Jun 2025
- 2025What Prompts Don't Say: Understanding and Managing Underspecification in LLM Prompts19 May 2025
- 2025LLMs Get Lost In Multi-Turn Conversation9 May 2025
- 2026Mind the Sim2Real Gap in User Simulation for Agentic Taskscited by 44
- 2025Training Proactive and Personalized LLM Agentscited by 42
- 2026Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agentscited by 15
- 2025TOM-SWE: User Mental Modeling For Software Engineering Agentscited by 11
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problemcited by 8
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2025How can we assess human-agent interactions? Case studies in software agent designcited by 4
- 2026Ambig-DS: A Benchmark for Task-Framing Ambiguity in Data-Science Agentscited by 2
- 2026LoopsBench: From Harness Engineering to Loop Engineering in Coding Agent Evaluationcited by 2
- 2026Proactive Service Agents: A Unified Decision Framework, Methods, and Evaluationcited by 2
- 2026Beyond Words: Evaluating and Bridging Epistemic Divergence in User-Agent Interaction via Theory of Mindcited by 1
- 2026Unlocking Model Potentials Through Adaptive Multi-Agent Scaffolding for Efficient Issue Resolutioncited by 1
12 most cited of 16 All 16 (JSON)
- 2026Proactive Service Agents: A Unified Decision Framework, Methods, and Evaluation3 Sep 2026
- 2026AcCoRD: Evaluating User-Agent Collaboration Under Realistic User Preference Dynamics28 Aug 2026
- 2026Can your AI agent be cheaper? Investigating the effects of task specifications on token spend in agentic coding tasks26 Aug 2026
- 2026DPIAgent: Divide, Protocol, Isolate for Agentic Reproduction Test Generation24 Aug 2026
- 2026Actionable Hallucination Detection: Translating Latent Uncertainty into Agentic Critique11 Aug 2026
- 2026LoopsBench: From Harness Engineering to Loop Engineering in Coding Agent Evaluation31 Jul 2026
- 2026Unlocking Model Potentials Through Adaptive Multi-Agent Scaffolding for Efficient Issue Resolution24 Jun 2026
- 2026Reframing LLM Agent Security as an Agent-Human Interaction Problem23 May 2026
- 2026Ambig-DS: A Benchmark for Task-Framing Ambiguity in Data-Science Agents10 May 2026
- 2026Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agents27 Mar 2026
- 2026Mind the Sim2Real Gap in User Simulation for Agentic Tasks11 Mar 2026
- 2026Beyond Words: Evaluating and Bridging Epistemic Divergence in User-Agent Interaction via Theory of Mind14 Feb 2026
12 newest of 16 All 16 (JSON)
- 2025LLMs Get Lost In Multi-Turn Conversationcited by 400
- 2025What Prompts Don't Say: Understanding and Managing Underspecification in LLM Promptscited by 32
- 2025Morae: Proactively Pausing UI Agents for User Choicescited by 18
- 2025Completion neq Collaboration: Scaling Collaborative Effort with Agentscited by 3
- 2025Extending Epistemic Uncertainty Beyond Parameters Would Assist in Designing Reliable LLMscited by 1
- 2026No More, No Less: Task Alignment in Terminal Agentscited by 1
- 2026CollabSkill: Evaluating Human-Agent Collaboration On Real-World Taskscited by 1
- 2026XYBench: Can LLMs Respond Pragmatically to Queries with Misconceptions?cited by 1
- 2026Turning Intent into Specifications: A Benchmark and an Interactive User-Assistant Agentcited by 0
- 2026Policy Loopholes in Agent Evaluation: When Policy Ambiguity Masquerades as Agent Errorcited by 0
- 2026XYEval: Agents say yes to bad advicecited by 0
- 2026XYEval: Agents say yes to bad advice20 Sep 2026
- 2026Policy Loopholes in Agent Evaluation: When Policy Ambiguity Masquerades as Agent Error13 Sep 2026
- 2026XYBench: Can LLMs Respond Pragmatically to Queries with Misconceptions?6 Sep 2026
- 2026Turning Intent into Specifications: A Benchmark and an Interactive User-Assistant Agent13 May 2026
- 2026No More, No Less: Task Alignment in Terminal Agents12 May 2026
- 2026CollabSkill: Evaluating Human-Agent Collaboration On Real-World Tasks20 Apr 2026
- 2025Completion neq Collaboration: Scaling Collaborative Effort with Agents29 Oct 2025
- 2025Morae: Proactively Pausing UI Agents for User Choices29 Aug 2025
- 2025Extending Epistemic Uncertainty Beyond Parameters Would Assist in Designing Reliable LLMs9 Jun 2025
- 2025What Prompts Don't Say: Understanding and Managing Underspecification in LLM Prompts19 May 2025
- 2025LLMs Get Lost In Multi-Turn Conversation9 May 2025
Similar, not cited
Close in wording, no citation either way
- 2026SWE-INTERACT: Reimagining SWE Benchmarks as User-Driven Long-Horizon Coding Sessions
- 2025From Correctness to Collaboration: Toward a Human-Centered Framework for Evaluating AI Agent Behavior in Software Engineering
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
- 2025LoCoBench-Agent: An Interactive Benchmark for LLM Agents in Long-Context Software Engineering
- 2026SWE-Skills-Bench: Do Agent Skills Actually Help in Real-World Software Engineering?
- 2026ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructions
- 2026ExplainBench: Evaluating Code Explanations from Agents
- 2026A Large-Scale Empirical Study of Quality Assurance Practices and Gaps in AI Agents