HCAICLMay 13

Turning Intent into Specifications: A Benchmark and an Interactive User-Assistant Agent

arXiv:2606.20585
Originality Incremental advance
AI Analysis

For developers of LLM-based agents, this work identifies and addresses a critical bottleneck in agent-user collaboration for specification generation.

SpecBench benchmarks agents on translating vague user intent into executable specifications, finding existing agents either rush to implement or over-ask questions. The proposed Buddy agent improves specification quality by 30% over baselines through structured decomposition and simulated user evaluation.

Today's agents are highly effective at implementing well-scoped software design plans, but user intent is often vague and admits multiple equally valid solutions. In this paper, we introduce SpecBench, a new benchmark for evaluating an agent's ability to translate user intent into a structured, executable specification that aligns with user preferences. The agent is given access to past user conversations and may interact with the user for a fixed number of rounds to ask clarifying questions. We find that existing agents exhibit two extreme behaviors: they either (i) struggle to collaborate proactively with users, entering implementation mode too quickly while overestimating their understanding of user preferences, or (ii) exhaust their question budget by asking about every ambiguous design choice. To address this limitation, we introduce a user-assistant agent: Buddy. It follows a workflow inspired by classical morphological analysis, decomposing user intent into a structured space of design dimensions and candidate choices. It then creates simulated users to evaluate these choices, before engaging the real user to resolve remaining ambiguities and finalize the specification. By shifting the focus from execution to specification, SpecBench and Buddy emphasize agent-user collaboration (not just code generation) as a key frontier in future agent design.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes