OpenFactCheck: A Unified Framework for Factuality Evaluation of LLMs

Hasan Iqbal, Yuxia Wang, Minghan Wang, Georgi Georgiev, Jiahui Geng +2 more
8/6/2024
cs.CLcs.AI

No official code found. Best implementation: hasaniqbal777/openfactcheck (32 stars, GPL-3.0, last commit 2026-02-23). 2 more below.

Abstract

The increased use of large language models (LLMs) across a variety of real-world applications calls for automatic tools to check the factual accuracy of their outputs, as LLMs often hallucinate. This is difficult as it requires assessing the factuality of free-form open-domain responses. While there has been a lot of research on this topic, different papers use different evaluation benchmarks and measures, which makes them hard to compare and hampers future progress. To mitigate these issues, we developed OpenFactCheck, a unified framework, with three modules: (i) RESPONSEEVAL, which allows users to easily customize an automatic fact-checking system and to assess the factuality of all claims in an input document using that system, (ii) LLMEVAL, which assesses the overall factuality of an LLM, and (iii) CHECKEREVAL, a module to evaluate automatic fact-checking systems. OpenFactCheck is open-sourced (https://github.com/mbzuai-nlp/openfactcheck) and publicly released as a Python library (https://pypi.org/project/openfactcheck/) and also as a web service (http://app.openfactcheck.com). A video describing the system is available at https://youtu.be/-i9VKL0HleI.

View on arXivView PDF

Code Implementations(3)

GPL-3.0

An Open-source Factuality Evaluation Demo for LLMs

322HCL, TeXJul 16, 20248 months agoGPL-3.0
artificial-intelligencefact-checkingllmnatural-language-processing
AGPL-3.0

An Open-source Factuality Evaluation Demo for LLMs

316HCL, ShellJul 16, 20245 months agoAGPL-3.0
artificial-intelligencefact-checkingnatural-language-processing
AGPL-3.0

An Open-source Factuality Evaluation Demo for LLMs

316HCL, ShellOct 18, 20245 months agoAGPL-3.0
artificial-intelligencefact-checkingnatural-language-processing

Similar Papers

Cite this paper

@article{iqbal2024openfactcheck,
  title  = {OpenFactCheck: A Unified Framework for Factuality Evaluation of LLMs},
  author = {Hasan Iqbal and Yuxia Wang and Minghan Wang and Georgi Georgiev and Jiahui Geng and Iryna Gurevych and Preslav Nakov},
  year   = {2024},
  eprint = {2408.11832},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.11832v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.11832.svg)](https://codeofpaper.com/paper/2408.11832)

Discussion