Asking What Matters: Reward-Driven Clarification for Software Engineering Tasks

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Vijayvargiya, Sanidhya, Viswanathan, Vijay, Neubig, Graham
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908969690202112
author Vijayvargiya, Sanidhya
Viswanathan, Vijay
Neubig, Graham
author_facet Vijayvargiya, Sanidhya
Viswanathan, Vijay
Neubig, Graham
contents Humans often specify tasks incompletely, so assistants must know when and how to ask clarifying questions. However, effective clarification remains challenging in software engineering tasks as not all missing information is equally valuable, and questions must target information users can realistically provide. We study clarification in real software engineering tasks by quantifying which types of information most affect task success and which questions elicit useful responses from simulated users. Using Shapley attribution and distributional comparisons, we identify two key properties of effective clarification: task relevance (which information predicts success) and user answerability (what users can realistically provide). We operationalize these properties as multi-stage reinforcement learning rewards to train CLARITI, an 8B-parameter clarification module, that matches GPT-5's resolution rate on underspecified issues while generating 41% fewer questions. Our results suggest that grounding reward design in empirical analysis of information impact and user answerability improves clarification efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2604_14624
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Asking What Matters: Reward-Driven Clarification for Software Engineering Tasks
Vijayvargiya, Sanidhya
Viswanathan, Vijay
Neubig, Graham
Software Engineering
Artificial Intelligence
Humans often specify tasks incompletely, so assistants must know when and how to ask clarifying questions. However, effective clarification remains challenging in software engineering tasks as not all missing information is equally valuable, and questions must target information users can realistically provide. We study clarification in real software engineering tasks by quantifying which types of information most affect task success and which questions elicit useful responses from simulated users. Using Shapley attribution and distributional comparisons, we identify two key properties of effective clarification: task relevance (which information predicts success) and user answerability (what users can realistically provide). We operationalize these properties as multi-stage reinforcement learning rewards to train CLARITI, an 8B-parameter clarification module, that matches GPT-5's resolution rate on underspecified issues while generating 41% fewer questions. Our results suggest that grounding reward design in empirical analysis of information impact and user answerability improves clarification efficiency.
title Asking What Matters: Reward-Driven Clarification for Software Engineering Tasks
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2604.14624