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

探究长文本生成中的事实性:自已知与自未知的作用

Investigating Factuality in Long-Form Text Generation: The Roles of Self-Known and Self-Unknown

Salesforce AI Research(Salesforce人工智能研究)

Lifu Tu, Rui Meng, Shafiq Joty, Yingbo Zhou, Semih Yavuz

AI总结:

本研究探究LLMs长文本生成中的事实性,发现事实性随生成句子递减,提出自已知与自未知评估方法,并推导出事实性数学公式,强调RAG的局限性。

摘要:

大型语言模型(LLMs)在文本理解和生成方面展现出强大的能力。然而,它们往往缺乏事实性,产生真假信息混杂的输出,尤其是在长文本生成中。在本工作中,我们研究了多种大型语言模型(包括GPT-4、Gemini-1.5-Pro、Claude-3-Opus、Llama-3-70B和Mistral)在长文本生成中的事实性。我们的分析揭示,事实性在生成文本的后续句子中趋于下降,同时伴随着不支持主张数量的增加。此外,我们探索了不同评估设置的有效性,以评估LLMs能否准确判断自身输出的正确性:自已知(从LLM输出中分解出的、被相应LLM判断为正确的支持性原子主张的百分比)和自未知(被相应LLM判断为不正确的不支持性原子主张的百分比)。实证上,我们观察到较高的自已知分数与改进的事实性之间存在正相关,而较高的自未知分数则与降低的事实性相关。有趣的是,即使模型的自我判断分数(自已知和自未知)没有显著变化,不支持主张的数量也可能增加,这可能是长文本生成的副产品。我们还推导了一个将自已知和自未知分数与事实性联系起来的数学框架:事实性 = (1 - 自未知) / (2 - 自未知 - 自已知),这与我们的实证观察一致。额外的检索增强生成(RAG)实验进一步凸显了当前LLMs在长文本生成中的局限性,并强调了持续研究以提高长文本事实性的必要性。

英文摘要:

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.

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

↑