2025-03-06 · 进阶 · 机器学习 · 自然语言处理

HoT: Highlighted Chain of Thought for Referencing Supporting Facts from Inputs

该论文提出了一种名为“高亮思维链提示”(HoT)的技术,通过在LLM的回答中添加XML标签来标记事实,从而提高LLM回答的准确性和可验证性。

更新于 2025-07-28。作者:Tin Nguyen、Logan Bolton、Mohammad Reza Taesiri、Anh Totti Nguyen。

中文摘要

大型语言模型(LLMs)的一个致命弱点是它们倾向于产生非事实性陈述。混合了事实性陈述和非事实性陈述的回应对人类来说是一个挑战,因为他们难以核实并基于此做出准确决策。为了解决这个问题,我们提出了高亮思维链提示(HoT),这是一种提示LLMs生成带有XML标签的响应的技术,这些标签将事实与查询中提供的事实联系起来。也就是说,给定一个问题输入,LLMs首先重新格式化问题以添加高亮关键事实的XML标签,然后生成一个带有输入中引用的事实的高亮响应。有趣的是,在少样本设置中,HoT在17项任务上优于传统的思维链提示(CoT),这些任务涵盖了算术、阅读理解到逻辑推理等多个领域。当要求人类验证LLMs的回应时,高亮有助于在时间有限的情况下,更准确、更高效地识别LLMs的正确性。然而,令人惊讶的是,当LLMs错误时,HoTs往往会使用户相信答案是正确的。

英文摘要

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.

解读

一句话总结

该论文提出了一种名为“高亮思维链提示”(HoT)的技术,通过在LLM的回答中添加XML标签来标记事实,从而提高LLM回答的准确性和可验证性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源