arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.05965cs.CLcs.AI
收藏

OpenFActScore:文本生成事实性的开源原子级评估

OpenFActScore: Open-Source Atomic Evaluation of Factuality in Text Generation

Philipps-Universität Marburg(马尔堡大学);German Research Centre for Artificial Intelligence (DFKI)(德国人工智能研究中心);Centre for European Research in Trusted AI (CERTAIN)(可信AI欧洲研究中心);Saarland University(萨尔兰大学)

Lucas Fonseca Lage, Simon Ostermann

AI总结:

OpenFActScore是FActScore的开源实现,支持任意Hugging Face模型进行原子事实生成与验证,评估LLM文本事实性,Gemma表现最佳,与原始实验Pearson相关性达0.99。

摘要:

我们推出了OpenFActScore,这是FActScore框架的一个开源实现,用于评估大型语言模型(LLMs)生成的文本的事实性。FActScore通过使用原子事实生成(AFG)提取单个事实性声明,并使用原子事实验证(AFV)对照可信知识源验证每个声明,来评估长文本的事实准确性。虽然原始的FActScore依赖于诸如InstructGPT和ChatGPT等闭源商业模型,但OpenFActScore允许在AFG和AFV中使用任何与Hugging Face兼容的模型。我们提供了我们实现的详细技术概述,强调了为支持开放模型所做的设计选择和修改。我们使用原始的FActScore基准对多个开源LLM在AFG和AFV上进行了评估,报告了AFG的BERTScore-F1和AFV相对于人工注释的错误率。我们的结果表明,开放模型可以接近闭源系统的性能,其中Gemma实现了最佳的整体性能,我们的最终设置与原始FActScore实验获得了0.99的Pearson相关性。OpenFActScore促进了透明度、可复现性和成本效益高的评估,可在https://github.com/lflage/OpenFActScore获取。

英文摘要:

We introduce OpenFActScore, an open-source implementation of the FActScore framework for evaluating the factuality of text generated by large language models (LLMs). FActScore evaluates the factual accuracy of long-form text by using Atomic Fact Generation (AFG) to extract individual factual claims and Atomic Fact Validation (AFV) to verify each claim against a trusted knowledge source. While the original FActScore relies on closed-source and commercial models such as InstructGPT and ChatGPT, OpenFActScore enables the use of any Hugging Face-compatible model for both AFG and AFV. We provide a detailed technical overview of our implementation, highlighting design choices and modifications made to support open models. We evaluate multiple open-source LLMs on both AFG and AFV using the original FActScore benchmark, reporting BERTScore-F1 for AFG and Error Rate relative to human annotations for AFV. Our results show that open models can approximate the performance of closed-source systems, with Gemma achieving the best overall performance, and our final setup obtains a 0.99 Pearson correlation with the original FActScore experiments. OpenFActScore promotes transparency, reproducibility, and cost-effective evaluation, and is available at: https://github.com/lflage/OpenFActScore.

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

↑