Large Language Models (LLMs) are increasingly used as coding assistants. However, the ambiguity of the developer's prompt often leads to incorrect code generation, as current models struggle to infer user intent without extensive prompt engineering or external context. This work aims to build an LLM-based coding assistant that mimics the human code review process by asking clarification questions when faced with ambiguous or under-specified queries.
Our end-to-end system includes (1) a query classifier trained to detect unclear programming-related queries and (2) a fine-tuned LLM that generates clarification questions. Our evaluation shows that the fine-tuned LLM outperforms standard zero-shot prompting in generating useful clarification questions. Furthermore, our user study indicates that users find the clarification questions generated by our model to outperform the baseline, demonstrating that our coding assistant produces more accurate and helpful code responses compared to baseline coding assistants.
Reasoning While Asking: Transforming Reasoning Large Language Models from Passive Solvers to Proactive Inquirers
National Key Laboratory for Novel Software Technology(新型软件技术国家重点实验室);Artificial Intelligence Research Institute(人工智能研究院);Shenzhen Institutes of Advanced Technology(深圳先进技术研究院);University of California, Santa Cruz(加州大学圣克鲁兹分校);University of Texas, Dallas(德克萨斯大学达拉斯分校);University of Minnesota(明尼苏达大学)
ICPO: Illocution-Calibrated Policy Optimization for Multi-Turn Conversation
Zhejiang University(浙江大学);Binjiang Institute of Zhejiang University(浙江大学滨江学院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);China University of Petroleum (Beijing)(中国石油大学(北京));Guangzhou University(广州大学)
Ask, Relax, or Act? Evaluating Actionable Indeterminacy in LLM Preference Reasoning
The Chinese University of Hong Kong Shenzhen(香港中文大学(深圳));Beijing University of Posts and Telecommunications(北京邮电大学);Halmstad University College(哈尔姆斯塔德大学学院);Tongji University(同济大学);University of Waterloo(滑铁卢大学)