← AI & Foundation Models Hub 🏛️ Oxford Saïd Business School 📄 Working Paper · Author Abstract
🔗 Also at Nature ↗

Detecting hallucinations in large language models using semantic entropy

AUTHOR BACKGROUND & AFFILIATION 2024-06-19 · 5m read · 2,657 peer citations
SF

Sebastian Farquhar

OATML, Department of Computer Science, University of Oxford, Oxford, UK. sebfar@gmail.com

Open-access research dispatch from Oxford Saïd Business School, indexed under AI & Foundation Models (2,657 peer citations).

Provenance: CC-BY
Author’s Original Abstract

Large language model (LLM) systems, such as ChatGPT1 or Gemini2, can show impressive reasoning and question-answering capabilities but often 'hallucinate' false outputs and unsubstantiated answers3,4. Answering unreliably or without the necessary information prevents adoption in diverse fields, with problems including fabrication of legal precedents5 or untrue facts in news articles6 and even posing a risk to human life in medical domains such as radiology7.

Encouraging truthfulness through supervision or reinforcement has been only partially successful8. Researchers need a general method for detecting hallucinations in LLMs that works even with new and unseen questions to which humans might not know the answer. Here we develop new methods grounded in statistics, proposing entropy-based uncertainty estimators for LLMs to detect a subset of hallucinations-confabulations-which are arbitrary and incorrect generations.

Our method addresses the fact that one idea can be expressed in many ways by computing uncertainty at the level of meaning rather than specific sequences of words. Our method works across datasets and tasks without a priori knowledge of the task, requires no task-specific data and robustly generalizes to new tasks not seen before. By detecting when a prompt is likely to produce a confabulation, our method helps users understand when they must take extra care with LLMs and opens up new possibilities for using LLMs that are otherwise prevented by their unreliability.

ALSO APPEARS AT · ORIGINAL SOURCE

Originally published at Nature

By Sebastian Farquhar (Oxford Saïd Business School) · 2024-06-19 · CC-BY.

🔗 Read Original at Nature ↗ 📄 Open PDF ↗
🤝 COMMUNITY CO-READING MARGIN · EARN +25 XP

Add a Worked Example, Practitioner Field Note, or Counter-Thesis

More from Oxford Saïd Business School & Related Topics

All 38 works from Oxford Saïd Business School →
🏷️ Markets & Macro ✍️ Full Essay

Tired, irritable and craving carbs? Why darker days affect our bodies and brains

LW Laurence Wainwright 🏛️ Oxford Saïd Business School · Departmental Lecturer and Course Director, Smith School of Enterprise and the Environment, University of Oxford

As the clocks go back and daylight dwindles, our sleep, mood and appetite can change. Here’s what science reveals about the winter slump.

2026-10-26 · 4m read Also at The Conversation ↗
Free community dispatch · Zero spam.