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

直觉型还是依赖型?探究大语言模型面对冲突提示时的行为风格

Intuitive or Dependent? Investigating LLMs' Behavior Style to Conflicting Prompts

Singapore Management University(新加坡管理大学);Harbin Institute of Technology(哈尔滨工业大学);University of South China(南华大学)

Jiahao Ying, Yixin Cao, Kai Xiong, Yidong He, Long Cui, Yongbin Liu

AI总结:

本研究借鉴认知理论,通过构建基准框架探究LLMs面对冲突提示时的依赖型、直觉型及理性/非理性行为风格,并发现角色扮演干预可改变风格,为优化模型与提示提供依据。

摘要:

本研究探讨大语言模型(LLMs)在面对冲突提示与其内部记忆时的行为。这不仅有助于理解LLMs的决策机制,也有益于现实应用,如检索增强生成(RAG)。借鉴认知理论,我们针对第一种决策风格场景,即冲突中不存在优劣之分,并将LLMs的偏好划分为依赖型、直觉型以及理性/非理性风格。另一种事实鲁棒性场景则考虑知识密集型任务中提示与记忆的正确性,这也可以区分LLMs在第一种场景中的行为是理性还是非理性。为了量化这些行为,我们建立了一个完整的基准测试框架,包括数据集、鲁棒性评估流程和相应的度量指标。对七个LLMs进行的大量实验揭示了它们各异的行为。并且,通过角色扮演干预,我们可以改变这些风格,但不同模型表现出不同的适应性和上限。我们的关键结论之一是应根据识别出的风格来优化模型或提示。例如,具有高角色扮演适应性的RAG模型可以根据检索结果的质量动态调整干预——在上下文信息丰富时表现为依赖型以更好地利用信息;在外部提示嘈杂时表现为直觉型。

英文摘要:

This study investigates the behaviors of Large Language Models (LLMs) when faced with conflicting prompts versus their internal memory. This will not only help to understand LLMs' decision mechanism but also benefit real-world applications, such as retrieval-augmented generation (RAG). Drawing on cognitive theory, we target the first scenario of decision-making styles where there is no superiority in the conflict and categorize LLMs' preference into dependent, intuitive, and rational/irrational styles. Another scenario of factual robustness considers the correctness of prompt and memory in knowledge-intensive tasks, which can also distinguish if LLMs behave rationally or irrationally in the first scenario. To quantify them, we establish a complete benchmarking framework including a dataset, a robustness evaluation pipeline, and corresponding metrics. Extensive experiments with seven LLMs reveal their varying behaviors. And, with role play intervention, we can change the styles, but different models present distinct adaptivity and upper-bound. One of our key takeaways is to optimize models or the prompts according to the identified style. For instance, RAG models with high role play adaptability may dynamically adjust the interventions according to the quality of retrieval results -- being dependent to better leverage informative context; and, being intuitive when external prompt is noisy.

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

↑