大语言模型(LLMs)越来越多地被用于求解复杂数学应用题。然而,由于容易产生幻觉,它们在面对不可解答的问题时可能生成不准确的结果,这引发了对其潜在危害的担忧。尽管GPT模型目前已被广泛使用并受到信任,但关于它们如何有效对不可解答的数学问题弃权(不执行)以及如何增强其弃权能力的研究尚未得到严格探索。本文通过应用通常用于可求解数学场景的提示,研究GPT模型是否能够恰当地应对不可解答的数学应用题。我们的实验利用Unanswerable Word Math Problem(UWMP)数据集,并直接调用GPT模型API。我们引入了评估指标,该指标综合了三个关键因素:弃权(不执行)、正确性和置信度。研究发现揭示了GPT模型在不可解问题上存在的关键缺陷及其所遭受的幻觉问题,凸显了需要改进模型以更好地管理数学应用题求解情境中的不确定性和复杂推理。
英文摘要:
Large language models (LLMs) are increasingly relied upon to solve complex mathematical word problems. However, being susceptible to hallucination, they may generate inaccurate results when presented with unanswerable questions, raising concerns about their potential harm. While GPT models are now widely used and trusted, the exploration of how they can effectively abstain from answering unanswerable math problems and the enhancement of their abstention capabilities has not been rigorously investigated. In this paper, we investigate whether GPTs can appropriately respond to unanswerable math word problems by applying prompts typically used in solvable mathematical scenarios. Our experiments utilize the Unanswerable Word Math Problem (UWMP) dataset, directly leveraging GPT model APIs. Evaluation metrics are introduced, which integrate three key factors: abstention, correctness and confidence. Our findings reveal critical gaps in GPT models and the hallucination it suffers from for unsolvable problems, highlighting the need for improved models capable of better managing uncertainty and complex reasoning in math word problem-solving contexts.
Query Carefully: Detecting the Unanswerables in Text-to-SQL Tasks
Institute of Computer Science, Zurich University of Applied Sciences(计算机科学研究所,应用科学大学苏黎世);Institute of Medical Virology, University of Zurich(医学病毒学研究所,苏黎世大学);Department of Gastroenterology and Hepatology, University Hospital Zurich, University of Zurich(消化内科与肝病科,苏黎世大学医院,苏黎世大学)