Skip to main content
QUICK REVIEW

[논문 리뷰] ClarEval: A Benchmark for Evaluating Clarification Skills of Code Agents under Ambiguous Instructions

Jie Li, Yuan Wu|arXiv (Cornell University)|2026. 02. 27.
Software Engineering ResearchComputer Science인용 수 0
한 줄 요약

ClarEval는 단일 턴 및 다중 턴 상호 작용을 통해 코드 에이전트의 협업적 명확화 기술을 평가하는 모호성 주입 벤치마크를 도입합니다. 의도 추론, 전제 식별 및 대화 효율성을 측정합니다.

ABSTRACT

To integrate seamlessly into real-world software engineering, Code Agents must evolve from passive instruction followers into proactive collaborative partners. However, current evaluation paradigms predominantly reward "guessing" user intent under ideal conditions, neglecting the agent's ability to align with users through dialogue--a critical trait for collaborative intelligence. In this work, we propose a paradigm shift in evaluation to drive this transition. We introduce ClarEval, a framework designed to assess an agent's "Collaborative Quotient" by simulating the inherent ambiguity of human communication. By systematically injecting three types of realistic ambiguity (missing goals, premises, and ambiguous terminology) into standard tasks, we force agents to step out of their "generator" role and engage in requirement elicitation. To quantify this capability, we propose a metric suite led by Average Turns to Clarify (ATC) and Key Question Coverage (KQC), which measure not just the correctness of the generated code, but the efficiency and precision of the collaboration. Our experiments on eleven state-of-the-art agents reveal a stark reality: while models like GPT-5-Coder excel at coding, they often lack the strategic communication skills required for efficient partnership. ClarEval thus serves as a crucial roadmap for bridging the gap between strong coders and capable collaborators.The code is available at https://github.com/JialinLi13/ClarEval

연구 동기 및 목표

  • Code Agents에서 수동적 코드 생성에서 적극적 협업 파트너링으로의 전환을 촉진합니다.
  • 표준 작업에 세 가지 모호성 유형을 체계적으로 주입하여 명확화 능력을 스트레스 테스트합니다.
  • 협업 효율성과 진단 능력(ATC, KQC, PIR, MPR, EAR)을 정량화하는 지표를 개발하고 검증합니다.

제안 방법

  • 750개의 소스 작업(HumanEval + LiveCodeBench)을 2,250개의 모호한 인스턴스로 변환하여 모호성 주입 작업을 구성합니다.
  • 세 가지 모호성 유형: 목표 누락(Missing Goal), 전제 누락(Missing Premises), 용어의 애매모호성(Ambiguous Terminology)을 형식적 변환 규칙으로 정의합니다.
  • GPT-4o 프롬프트를 사용하여 모호성 주입을 수행하고 현실성을 보장하기 위한 두 단계의 인간 검증 프로토콜을 사용합니다.
  • 재현성을 위해 결정론적 사용자 시뮬레이터와 함께 단일 턴 및 다중 턴 설정에서 11개 코드 에이전트를 평가합니다.
  • 다음 지표를 도입합니다: 핵심 질문 범위(KQC), 누락 전제 재현(MPR), 명확화 평균 턴 수(ATC), 및 효율성 보정 재현(EAR).

실험 결과

연구 질문

  • RQ1단일 턴에서 Underspecified 프롬프트로부터 고수준 의도를 추론할 수 있는가(KQC)?
  • RQ2에이전트가 기술적 전제를 surface하고 대화를 통해 이를 재현(MPR in multi-turn)할 수 있는가?
  • RQ3모호성 유형(Missing Goal, Missing Premises, Ambiguous Terminology)이 모델 전반의 명확화 효과 및 효율성(ATC)에 어떤 영향을 미치는가?
  • RQ4상위 코딩 에이전트가 코드 정확성과 협업 효율성의 균형을 유지하는가, 그리고 단일 턴과 다중 턴 설정 간에 이러한 차이가 있는가?

주요 결과

  • 상위 코더 GPT5-Coder가 11개 에이전트 중 단일 턴 KQC(0.867) 및 MPR(0.661)에서 최고치를 기록했습니다.
  • 다중 턴 결과에서 Claude-Opus 4.1이 KQC(0.754)에서 최고를 기록했고 GPT5-Coder가 MPR(0.951)로 선두를 달리며 ATC가 최저인 1.493를 기록했습니다.
  • 모호한 용어(Ambiguous Terminology)가 모든 모델에 대한 가장 강력한 도전으로, 아블에이션 테스트에서 모호성 하에서 Pass@1이 가장 낮았습니다.
  • 고립된 의도 추론이 길고 긴 기간의 명확화에 반드시 효과적이라는 보장은 아니며, 단일 턴과 다중 턴 성능 간에는 약한 상관관계(r = 0.32)가 있습니다.
  • ClarEval은 코딩 능력과 협업 효율성 간의 격차를 드러내며 적응형 명확화 정책의 필요성을 강조합니다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.