学习可解性的边界:对齐大语言模型以检测不可解的问题
Learning the Boundary of Solvability: Aligning LLMs to Detect Unsolvable Problems
AI总结:
本文提出UnsolvableQA数据集和UnsolvableRL框架,通过逆向构建引入逻辑矛盾,提升LLM对不可解问题的检测能力,并在Qwen3-4B-Instruct上提升可解推理准确率至69.4%。
摘要:
确保大语言模型(LLM)的可靠性需要区分客观不可解性(内在矛盾)与主观能力限制(任务超出模型能力)。当前LLM往往将这两个维度混淆,导致在本质上不可解的查询中返回自信的答案。为了解决这个问题,我们提出了一个包含可解和不可解问题的多领域数据集UnsolvableQA,以及一个对齐框架UnsolvableRL。首先,我们通过“逆向构建”方法系统地将逻辑矛盾注入原本有效的推理链中构建UnsolvableQA。其次,我们引入UnsolvableRL,一种平衡客观不可解性检测与在能力限制下校准自信度的强化学习范式。实证结果表明,我们的方法实现了稳健的不可解性检测(>85%的检测率),并在Qwen3-4B-Instruct上将可解推理准确率从43.4%提升到69.4%。关键的是,我们识别出数据训练交互:严格的对齐约束在没有不可解数据时会导致能力崩溃,但在包含此类数据时则起到正则化作用,从而提高整体鲁棒性。我们的代码和数据可在https://github.com/sfasfaffa/unsolvableQA获取。
英文摘要:
Ensuring large language model (LLM) reliability requires distinguishing objective unsolvability (inherent contradictions) from subjective capability limitations (tasks exceeding model competence). Current LLMs often conflate these dimensions, leading to hallucinations in which they return confident answers to inherently unsolvable queries. To address this issue, we propose a multi-domain dataset containing both solvable and unsolvable questions, UnsolvableQA, together with an alignment framework, UnsolvableRL. First, we construct UnsolvableQA by "Reverse Construction" that systematically injects logical contradictions into otherwise valid reasoning chains. Second, we introduce UnsolvableRL, a reinforcement learning paradigm that balances objective unsolvability detection with calibrated confidence under capability limits. Empirically, our approach achieves robust unsolvability detection (>85% detection rate) and boosts solvable reasoning accuracy from 43.4% to 69.4% on Qwen3-4B-Instruct. Crucially, we identify a data-training interaction: strict alignment constraints induce Capability Collapse without unsolvable data, but act as a regularizer for rigor when such data are included, thereby improving overall robustness. Our code and data are available at https://github.com/sfasfaffa/unsolvableQA .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。