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)|Feb 27, 2026
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 のコードエージェントを評価する。
  • 指標を導入:Key Question Coverage (KQC)、Missing Premises Recall (MPR)、Average Turns to Clarify (ATC)、Efficiency-Adjusted Recall (EAR)。

実験結果

リサーチクエスチョン

  • RQ1コードエージェントは、単回で高レベルの意図を underspecified プ prompts から推定できるか(KQC)?
  • RQ2エージェントは欠落した技術的前提を明らかにし、それを対話を通じて思い出せるか(多回の MPR)?
  • 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)。
  • 曖昧な用語はモデル全体にとって最も挑戦的であり、アブレーション試験で最も低い Pass@1 を示した。
  • 単独での強い意図推定は長期的な明確化の有効性を保証せず、単回と多回の性能間には弱い相関(r = 0.32)がある。
  • ClarEval はコード能力と協調効率の間にギャップを明らかにし、適応的な明確化方針の必要性を示す。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。