Abstract
An Achilles heel of Large Language Models (LLMs) is their tendency to hallucinate non-factual statements. A response mixed of factual and non-factual statements poses a challenge for humans to verify and accurately base their decisions on. To combat this problem, we propose Highlighted Chain-of-Thought Prompting (HoT), a technique for prompting LLMs to generate responses with XML tags that ground facts to those provided in the query. That is, given an input question, LLMs would first re-format the question to add XML tags highlighting key facts, and then, generate a response with highlights over the facts referenced from the input. Interestingly, in few-shot settings, HoT outperforms vanilla chain of thought prompting (CoT) on a wide range of 17 tasks from arithmetic, reading comprehension to logical reasoning. When asking humans to verify LLM responses, highlights help time-limited participants to more accurately and efficiently recognize when LLMs are correct. Yet, surprisingly, when LLMs are wrong, HoTs tend to make users believe that an answer is correct.
Abstract (translated)
大型语言模型(LLMs)的一个阿喀琉斯之踵是它们倾向于生成非事实陈述。这种包含真实和虚假信息混合的回应,给人类验证并准确依据这些信息做出决策带来了挑战。为了解决这个问题,我们提出了带高亮链式思维提示技术(HoT),这是一种通过在输出中使用XML标签来将事实与查询提供的信息绑定的技术,从而促使LLMs生成带有引用来源标注的回答。具体来说,在接收到输入问题后,模型会首先添加XML标签以突出显示关键的事实,并且随后产生的回答会在参考输入中的事实时进行相应的高亮处理。 有趣的是,在少量样本的设置下,HoT在包括算术、阅读理解到逻辑推理等17个不同任务上都优于普通的链式思维提示(CoT)。当要求人类验证LLMs的回答时,这些突出显示帮助时间有限的参与者更准确和高效地识别出模型是否正确。然而令人惊讶的是,在模型回答错误的情况下,使用HoT技术反而容易让用户误以为答案是正确的。
URL
https://arxiv.org/abs/2503.02003