测试大模型在数学题中应对干扰信息的能力,发现其推理易受干扰。
Exploring LLM Reasoning Through Controlled Prompt Variations
- 系统引入四类提示扰动,测试模型在干扰下的推理稳定性。
- 无关上下文显著降低准确率,且与任务复杂度、模型大小无关。
- 部分干扰意外激发链式思考行为,暴露模型内在脆弱性。
本研究在GSM8K数据集上系统评估了13个开源与闭源大语言模型在数学问题求解中的推理鲁棒性,考察四种提示扰动的影响:无关背景、异常指令、相关但非必要信息,以及后两者组合。实验发现,引入无关上下文会显著降低模型性能,表明区分关键与冗余信息仍是重大挑战。令人惊讶的是,性能下降与推理步骤数或模型规模无强相关性。此外,某些扰动意外诱发链式思考行为,即使未显式提示。结果揭示当前大模型在面对噪声、误导及密集上下文时存在关键弱点,亟需提升真实场景下的推理可靠性。
原文摘要 · Abstract (English)
This study investigates the reasoning robustness of large language models (LLMs) on mathematical problem-solving tasks under systematically introduced input perturbations. Using the GSM8K dataset as a controlled testbed, we evaluate how well state-of-the-art models maintain logical consistency and correctness when confronted with four categories of prompt perturbations: irrelevant context, pathological instructions, factually relevant but non-essential context, and a combination of the latter two. Our experiments, conducted on thirteen open-source and closed-source LLMs, reveal that introducing irrelevant context within the model's context window significantly degrades performance, suggesting that distinguishing essential from extraneous details remains a pressing challenge. Surprisingly, performance regressions are relatively insensitive to the complexity of the reasoning task, as measured by the number of steps required, and are not strictly correlated with model size. Moreover, we observe that certain perturbations inadvertently trigger chain-of-thought-like reasoning behaviors, even without explicit prompting. Our findings highlight critical vulnerabilities in current LLMs and underscore the need for improved robustness against noisy, misleading, and contextually dense inputs, paving the way for more resilient and reliable reasoning in real-world applications.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。