PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
July 31, 20240 citationsOpen Access

Cost-Effective Hallucination Detection for LLMs

View Full Paper
SVSimon ValentinJFJinmiao FuGDGianluca Detommaso

Key Points

  • Cost-effective detection methods outperform traditional approaches, reducing computational overhead significantly.
  • Calibrating individual scoring methods is essential, improving decision-making based on risk assessments across various tasks.
  • The study benchmarks state-of-the-art scoring methods in question answering, fact checking, and summarization tasks for thorough evaluation of performance metrics and discrepancies in outputs created by LLMs during testing phases and validations involved in predictions emerging within distinct contexts and scenarios. The proposal for a multi-scoring framework indicates it can achieve top performance across all datasets analyzed, enhancing versatility in applications requiring reliable outputs from language models under varying conditions.

Abstract

Large language models (LLMs) can be prone to hallucinations - generating unreliable outputs that are unfaithful to their inputs, external facts or internally inconsistent. In this work, we address several challenges for post-hoc hallucination detection in production settings. Our pipeline for hallucination detection entails: first, producing a confidence score representing the likelihood that a generated answer is a hallucination; second, calibrating the score conditional on attributes of the inputs and candidate response; finally, performing detection by thresholding the calibrated score. We benchmark a variety of state-of-the-art scoring methods on different datasets, encompassing question answering, fact checking, and summarization tasks. We employ diverse LLMs to ensure a comprehensive assessment of performance. We show that calibrating individual scoring methods is critical for ensuring risk-aware downstream decision making. Based on findings that no individual score performs best in all situations, we propose a multi-scoring framework, which combines different scores and achieves top performance across all datasets. We further introduce cost-effective multi-scoring, which can match or even outperform more expensive detection methods, while significantly reducing computational overhead.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Valentin et al. (2024) studied this question.

synapsesocial.com/papers/68e5e6e4b6db64358757b3e7https://doi.org/10.48550/arxiv.2407.21424
Ask AI
Helpful
Bookmark
Share
View Full Paper