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

大语言模型是否意识到有些问题并非开放式的?

Are LLMs Aware that Some Questions are not Open-ended?

Shanghai Jiao Tong University(上海交通大学)

Dongjie Yang, Hai Zhao

AI总结:

本文提出问题意识温度采样(QuATS),通过基于问题特征自适应调整输出分布,缓解LLMs因缺乏问题意识而在事实性问题上产生幻觉、在开放式问题上回答乏味的问题,并消除了手动温度调节的需要。

摘要:

大语言模型(LLMs)已在广泛场景中展现出令人印象深刻的问答能力。然而,当LLMs面对不同类型的问题时,值得探究的是:LLMs是否意识到有些问题的答案是有限的,需要更确定性地回答,而有些问题则并非如此。我们将此称为LLMs的问题意识。LLMs缺乏问题意识会导致两种现象:(1)回答非开放式问题时过于随意,或(2)回答开放式问题时过于乏味。本文首先评估了LLMs的问题意识。实验结果表明,LLMs在某些领域(例如事实性知识)存在缺乏问题意识的问题,从而导致生成过程中出现幻觉。为缓解这些问题,我们提出了一种名为问题意识温度采样(QuATS)的方法。该方法通过基于问题特征自适应地调整输出分布来增强LLMs的问题意识。QuATS中的自动调整消除了文本生成中手动调节温度的需要,并在各种基准测试中持续提升了模型性能。

英文摘要:

Large Language Models (LLMs) have shown the impressive capability of answering questions in a wide range of scenarios. However, when LLMs face different types of questions, it is worth exploring whether LLMs are aware that some questions have limited answers and need to respond more deterministically but some do not. We refer to this as question awareness of LLMs. The lack of question awareness in LLMs leads to two phenomena that LLMs are: (1) too casual to answer non-open-ended questions or (2) too boring to answer open-ended questions. In this paper, we first evaluate the question awareness in LLMs. The experimental results show that LLMs have the issues of lacking awareness of questions in certain domains, e.g. factual knowledge, resulting in hallucinations during the generation. To mitigate these, we propose a method called Question Awareness Temperature Sampling (QuATS). This method enhances the question awareness of LLMs by adaptively adjusting the output distributions based on question features. The automatic adjustment in QuATS eliminates the need for manual temperature tuning in text generation and consistently improves model performance in various benchmarks.

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

↑