研究大模型长文本生成中的事实性问题,发现越往后越容易出错。
Investigating Factuality in Long-Form Text Generation: The Roles of Self-Known and Self-Unknown
- 通过自知/自不知分数评估模型对自身输出的判断能力。
- 后期生成内容错误率上升,但模型自我判断分数变化不大。
- 提出数学公式揭示事实性与自我评估的关系,适合关注生成可信度的研究者。
大型语言模型(LLMs)在文本理解和生成方面表现强劲,但在长文本生成中常缺乏事实性,产生真伪混杂的信息。本文分析了 GPT-4、Gemini-1.5-Pro、Claude-3-Opus、Llama-3-70B 与 Mistral 等多个 LLM 在长文本生成中的事实性表现,发现生成内容的事实性随句子位置后移而下降,且未支持的主张数量增加。研究进一步考察了两种评估设置:Self-Known(模型正确判断自身支持主张的比例)和 Self-Unknown(模型错误识别未支持主张的比例)。实证结果表明,更高的 Self-Known 与更好的事实性正相关,而更高的 Self-Unknown 则与更低的事实性相关。值得注意的是,即使自我判断分数稳定,未支持主张的数量仍可能上升,这可能是长文本生成的副产物。研究还推导出一个数学框架:Factuality = (1 - Self-Unknown) / (2 - Self-Unknown - Self-Known),与实验观察一致。额外的检索增强生成(RAG)实验进一步揭示当前模型在长文本生成中的局限性,凸显提升事实性的必要性。
原文摘要 · Abstract (English)
Large language models (LLMs) have demonstrated strong capabilities in text understanding and generation. However, they often lack factuality, producing a mixture of true and false information, especially in long-form generation. In this work, we investigates the factuality of long-form text generation across various large language models (LLMs), including GPT-4, Gemini-1.5-Pro, Claude-3-Opus, Llama-3-70B, and Mistral. Our analysis reveals that factuality tend to decline in later sentences of the generated text, accompanied by a rise in the number of unsupported claims. Furthermore, we explore the effectiveness of different evaluation settings to assess whether LLMs can accurately judge the correctness of their own outputs: Self-Known (the percentage of supported atomic claims, decomposed from LLM outputs, that the corresponding LLMs judge as correct) and Self-Unknown (the percentage of unsupported atomic claims that the corresponding LLMs judge as incorrect). Empirically, we observe a positive correlation between higher Self-Known scores and improved factuality, whereas higher Self-Unknown scores are associated with reduced factuality. Interestingly, the number of unsupported claims can increase even without significant changes in a model's self-judgment scores (Self-Known and Self-Unknown), likely as a byproduct of long-form text generation. We also derive a mathematical framework linking Self-Known and Self-Unknown scores to factuality: $\textrm{Factuality}=\frac{1-\textrm{Self-Unknown}}{2-\textrm{Self-Unknown}-\textrm{Self-Known}}$, which aligns with our empirical observations. Additional Retrieval-Augmented Generation (RAG) experiments further highlight the limitations of current LLMs in long-form generation and underscore the need for continued research to improve factuality in long-form text.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。