arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.04134cs.CL
收藏

顺序效应:探究大语言模型对输入顺序的提示敏感性

The Order Effect: Investigating Prompt Sensitivity to Input Order in LLMs

Bryan Guan, Tanya Roosta, Peyman Passban, Mehdi Rezagholizadeh

AI总结:

本文研究闭源或API访问的LLMs对输入顺序的敏感性,通过改写、相关性判断和选择题实验发现打乱输入会显著降低准确率,少样本提示仅能部分缓解,呼吁开发更稳健的模型或输入处理技术。

摘要:

随着大语言模型(LLMs)日益融入各类应用,确保其在多变输入条件下的可靠性至关重要。影响该可靠性的一个关键问题是顺序敏感性,即输入排列的细微变化可能导致输出不一致或产生偏差。尽管近期进展已降低了这种敏感性,但问题仍未解决。本文探究了内部组件对用户隐藏的LLMs(如闭源模型或通过API调用访问的模型)中顺序敏感性的程度。我们在多个任务上开展实验,包括改写、相关性判断和多项选择题。结果表明,输入顺序显著影响各任务性能,打乱输入会导致输出准确率出现可测量的下降。少样本提示表现出混合效果,能部分缓解问题,但无法完全解决。这些发现凸显了持续存在的风险,尤其是在高风险应用中,并指出未来开发中需要更稳健的LLMs或改进的输入处理技术。

英文摘要:

As large language models (LLMs) become integral to diverse applications, ensuring their reliability under varying input conditions is crucial. One key issue affecting this reliability is order sensitivity, wherein slight variations in the input arrangement can lead to inconsistent or biased outputs. Although recent advances have reduced this sensitivity, the problem remains unresolved. This paper investigates the extent of order sensitivity in LLMs whose internal components are hidden from users (such as closed-source models or those accessed via API calls). We conduct experiments across multiple tasks, including paraphrasing, relevance judgment, and multiple-choice questions. Our results show that input order significantly affects performance across tasks, with shuffled inputs leading to measurable declines in output accuracy. Few-shot prompting demonstrates mixed effectiveness and offers partial mitigation; however, fails to fully resolve the problem. These findings highlight persistent risks, particularly in high-stakes applications, and point to the need for more robust LLMs or improved input-handling techniques in future development.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑