Detecting Errors through Ensembling Prompts (DEEP): An End-to-End LLM Framework for Detecting Factual Errors
Alex Chandler, Devesh Surve, Hui Su
TL;DR
DEEP introduces a full end-to-end framework that detects factual errors in transformer-generated summaries by converting diverse prompts into binary signals and pooling them via ensemble models calibrated for reliable probabilities. It demonstrates that optimizing thresholds on target datasets is crucial for encoder-based factual consistency models, while DEEP achieves state-of-the-art balanced accuracy on AggreFact-XSUM FTSOTA, TofuEval Summary-Level, and HaluEval Summarization without fine-tuning. The approach uses 16 ensembling methods and several calibration strategies (notably Platt Scaling) to produce well-calibrated probabilities, addressing overconfidence issues. The results suggest substantial practical benefits for reliable factuality assessment in real-world, diverse summarization settings, though at higher computational cost.
Abstract
Accurate text summarization is one of the most common and important tasks performed by Large Language Models, where the costs of human review for an entire document may be high, but the costs of errors in summarization may be even greater. We propose Detecting Errors through Ensembling Prompts (DEEP) - an end-to-end large language model framework for detecting factual errors in text summarization. Our framework uses a diverse set of LLM prompts to identify factual inconsistencies, treating their outputs as binary features, which are then fed into ensembling models. We then calibrate the ensembled models to produce empirically accurate probabilities that a text is factually consistent or free of hallucination. We demonstrate that prior models for detecting factual errors in summaries perform significantly worse without optimizing the thresholds on subsets of the evaluated dataset. Our framework achieves state-of-the-art (SOTA) balanced accuracy on the AggreFact-XSUM FTSOTA, TofuEval Summary-Level, and HaluEval Summarization benchmarks in detecting factual errors within transformer-generated text summaries. It does so without any fine-tuning of the language model or reliance on thresholding techniques not available in practical settings.
