mlsanityData to 7 Oct 2026

Ambig-SWE: Interactive Agents to Overcome Underspecificity in Software Engineering

arXiv 2502.13069 ↗First posted 18 Feb 2025cs.AIcited by 28

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

  1. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul

Other references · 22

  1. 2024GPT-4o System Cardcited by 4,467
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  3. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  4. 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,002
  5. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
  6. 2024TheAgentCompany: Benchmarking LLM Agents on Consequential Real World Taskscited by 306
  7. 2023The Impact of AI on Developer Productivity: Evidence from GitHub Copilotcited by 264
  8. 2024MediQ: Question-Asking LLMs and a Benchmark for Reliable Interactive Clinical Reasoningcited by 145
  9. 2023Clarify When Necessary: Resolving Ambiguity Through Interaction with LMscited by 93
  10. 2023Goal Driven Discovery of Distributional Differences via Language Descriptionscited by 61
  11. 2024Aligning Language Models to Explicitly Handle Ambiguitycited by 55
  12. 2024Learning to Clarify: Multi-turn Conversations with Action-Based Contrastive Self-Trainingcited by 53
10 more
  1. 2022Interactive Code Generation via Test-Driven User-Intent Formalizationcited by 50
  2. 2024CLAMBER: A Benchmark of Identifying and Clarifying Ambiguous Information Needs in Large Language Modelscited by 48
  3. 2024LLM-Based Test-Driven Interactive Code Generation: User Study and Empirical Evaluationcited by 46
  4. 2024HAICOSYSTEM: An Ecosystem for Sandboxing Safety Risks in Human-AI Interactionscited by 42
  5. 2024Large Language Model-based Human-Agent Collaboration for Complex Task Solvingcited by 38
  6. 2024Asking the Right Question at the Right Time: Human and Model Uncertainty Guidance to Ask Clarification Questionscited by 32
  7. 2023CLARA: Classifying and Disambiguating User Commands for Reliable Interactive Robotic Agentscited by 28
  8. 2024Do LLMs Understand Ambiguity in Text? A Case Study in Open-world Question Answeringcited by 13
  9. 2024AmbigNLG: Addressing Task Ambiguity in Instruction for NLGcited by 10
  10. 2024Can LLMs assist with Ambiguity? A Quantitative Evaluation of various Large Language Models on Word Sense Disambiguationcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 9; 2026: 19.

28 papers.

Sort:

By area:

  1. 2025LLMs Get Lost In Multi-Turn Conversationcited by 400
  2. 2026Mind the Sim2Real Gap in User Simulation for Agentic Taskscited by 44
  3. 2025Training Proactive and Personalized LLM Agentscited by 42
  4. 2025What Prompts Don't Say: Understanding and Managing Underspecification in LLM Promptscited by 32
  5. 2025Morae: Proactively Pausing UI Agents for User Choicescited by 18
  6. 2026Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agentscited by 15
  7. 2025TOM-SWE: User Mental Modeling For Software Engineering Agentscited by 11
  8. 2026Reframing LLM Agent Security as an Agent-Human Interaction Problemcited by 8
  9. 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
  10. 2025How can we assess human-agent interactions? Case studies in software agent designcited by 4
  11. 2025Completion neq Collaboration: Scaling Collaborative Effort with Agentscited by 3
  12. 2026Ambig-DS: A Benchmark for Task-Framing Ambiguity in Data-Science Agentscited by 2
16 more
  1. 2026LoopsBench: From Harness Engineering to Loop Engineering in Coding Agent Evaluationcited by 2
  2. 2026Proactive Service Agents: A Unified Decision Framework, Methods, and Evaluationcited by 2
  3. 2025Extending Epistemic Uncertainty Beyond Parameters Would Assist in Designing Reliable LLMscited by 1
  4. 2026Beyond Words: Evaluating and Bridging Epistemic Divergence in User-Agent Interaction via Theory of Mindcited by 1
  5. 2026No More, No Less: Task Alignment in Terminal Agentscited by 1
  6. 2026CollabSkill: Evaluating Human-Agent Collaboration On Real-World Taskscited by 1
  7. 2026Unlocking Model Potentials Through Adaptive Multi-Agent Scaffolding for Efficient Issue Resolutioncited by 1
  8. 2026Actionable Hallucination Detection: Translating Latent Uncertainty into Agentic Critiquecited by 1
  9. 2026Can your AI agent be cheaper? Investigating the effects of task specifications on token spend in agentic coding taskscited by 1
  10. 2026XYBench: Can LLMs Respond Pragmatically to Queries with Misconceptions?cited by 1
  11. 2026Agent System Operations: Categorization, Challenges, and Future Directionscited by 0
  12. 2026Turning Intent into Specifications: A Benchmark and an Interactive User-Assistant Agentcited by 0
  13. 2026DPIAgent: Divide, Protocol, Isolate for Agentic Reproduction Test Generationcited by 0
  14. 2026AcCoRD: Evaluating User-Agent Collaboration Under Realistic User Preference Dynamicscited by 0
  15. 2026Policy Loopholes in Agent Evaluation: When Policy Ambiguity Masquerades as Agent Errorcited by 0
  16. 2026XYEval: Agents say yes to bad advicecited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026SWE-INTERACT: Reimagining SWE Benchmarks as User-Driven Long-Horizon Coding Sessions
  2. 2025From Correctness to Collaboration: Toward a Human-Centered Framework for Evaluating AI Agent Behavior in Software Engineering
  3. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
  4. 2025LoCoBench-Agent: An Interactive Benchmark for LLM Agents in Long-Context Software Engineering
  5. 2026SWE-Skills-Bench: Do Agent Skills Actually Help in Real-World Software Engineering?
  6. 2026ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructions
  7. 2026ExplainBench: Evaluating Code Explanations from Agents
  8. 2026A Large-Scale Empirical Study of Quality Assurance Practices and Gaps in AI Agents