FaaF: Facts as a Function for the evaluation of generated text

Vasileios Katranidis, Gabor Barany
3/6/2024
cs.CL

No confident code implementation found for this paper.

Abstract

The demand for accurate and efficient verification of information in texts generated by large language models (LMs) is at an all-time high, but remains unresolved. Recent efforts have focused on extracting and verifying atomic facts from these texts via prompting LM evaluators. However, we demonstrate that this method of prompting is unreliable when faced with incomplete or inaccurate reference information. We introduce Facts as a Function (FaaF), a new approach to the fact verification task that leverages the function-calling capabilities of LMs. FaaF significantly enhances the ability of LMs to identify unsupported facts in texts, while also improving efficiency and significantly lowering costs compared to prompt-based methods. Additionally, we propose a framework for evaluating factual recall in Retrieval Augmented Generation (RAG) systems, which we employ to compare prompt-based and FaaF methods using various LMs under challenging conditions.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{katranidis2024faaf,
  title  = {FaaF: Facts as a Function for the evaluation of generated text},
  author = {Vasileios Katranidis and Gabor Barany},
  year   = {2024},
  eprint = {2403.03888},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.03888v3}
}

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/2403.03888.svg)](https://codeofpaper.com/paper/2403.03888)

Discussion