confabulations  by lechmazur

Benchmark for evaluating LLM confabulations in Retrieval-Augmented Generation (RAG)

Created 2 years ago
250 stars

Top 100.0% on SourcePulse

GitHubView on GitHub
Project Summary

This benchmark evaluates Large Language Models (LLMs) on their tendency to "confabulate" or hallucinate by generating answers not present in provided documents, a critical issue for Retrieval-Augmented Generation (RAG) systems. It targets engineers and researchers needing to objectively assess LLM reliability, offering a nuanced view beyond simple accuracy by combining confabulation and non-response rates.

How It Works

The benchmark employs a methodology distinct from LLM-evaluated summaries, using human-verified questions designed to be unanswerable from provided, recent documents. This approach ensures the questions are challenging and specifically target confabulations. Evaluation combines the rate of generating non-existent answers (confabulation %) with the rate of refusing to answer (non-response %), providing a weighted score for a comprehensive model ranking.

Quick Start & Requirements

No explicit installation or execution commands are provided in the README. The benchmark relies on a curated dataset of 201 human-verified questions lacking answers in source texts, and 2,612 hard questions with known answers for non-response rate analysis. Setup requires access to the dataset and LLM inference capabilities.

Highlighted Details

  • Features human-verified questions, painstakingly curated to ensure they have no answers in the provided texts.
  • Evaluates LLMs using a combined metric of confabulation and non-response rates, offering a more balanced assessment than confabulation alone.
  • Highlights specific model behaviors, such as Claude 3.7 models' low confabulation but high non-response rates, and notes reasoning's positive impact.
  • Reports significant improvements in GPT-4o over GPT-4 Turbo and disappointing performance from Gemma 3 27B.

Maintenance & Community

The project appears actively maintained, with frequent updates listing newly added models and benchmark data. The author, @lechmazur, can be followed on X (Twitter) for updates on upcoming benchmarks.

Licensing & Compatibility

The provided README does not specify a software license. This absence poses a significant adoption blocker, as licensing terms and compatibility for commercial or closed-source use are undefined.

Limitations & Caveats

The benchmark focuses exclusively on pure confabulations, not broader accuracy. The reported percentages reflect adversarial, intentionally difficult questions and may not represent typical LLM hallucination rates in real-world scenarios. The benchmark discards instances where LLMs failed to provide valid responses to answerable questions. An unpublished, multi-turn ensemble system used for some evaluations is noted as slower and more costly.

Health Check
Last Commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
0 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.