Overview
This paper introduces a theoretically grounded method for training a "rejector" to work alongside a fixed, pre-trained model. This setup is crucial for modern large language models (LLMs) that cannot be easily retrained or fine-tuned. By optimizing a novel surrogate loss function with strong consistency guarantees, the authors achieve near-optimal performance in complex natural language tasks like "decontextualization," significantly outperforming standard confidence-based baselines.
The Challenge: Fixed Predictors and Hallucinations
Large language models are highly capable, but they suffer from a well-documented "hallucination" problem. In high-stakes applications such as healthcare, legal analysis, or customer service, an incorrect answer is often far more damaging than no answer at all. To mitigate this, researchers employ selective classification (or "learning to reject"), equipping a model with the ability to abstain from answering if it lacks confidence.
Implementing selective classification today presents two major hurdles:
- Fixed Predictors: Historically, research has assumed that the predictor (the model generating the answer) and the rejector (the model deciding whether to output the answer) can be trained simultaneously. However, modern LLMs are massive, computationally expensive, and often accessed via APIs with fixed weights. We need a reliable way to build a rejector for a model we cannot alter.
- Non-Deterministic Tasks: In generative tasks like "decontextualization"—rewriting a sentence so it makes sense without its original surrounding context—there is no single correct answer. Standard evaluation metrics fail because a model might produce a perfectly valid sentence that simply differs from the specific reference text in a dataset.
Methodology: A Novel Surrogate Rejection Loss
To address these challenges, the authors propose a two-step learning method. First, they utilize a fixed predictor ($f$). Next, they train a separate, dedicated rejector ($r$) that evaluates both the input and the predictor's output to decide whether to accept or reject the generation.
The core technical contribution of this work is a new surrogate rejection loss function. The ideal "rejection loss"—which penalizes errors on accepted items and applies a fixed cost for rejecting—is mathematically NP-hard to optimize directly. To solve this, the authors designed a convex, differentiable surrogate.
Crucially, the authors provide an $\mathcal{H}$-consistency guarantee for this surrogate. In practical terms, this is a mathematical proof ensuring that minimizing their surrogate loss will inherently minimize the true rejection loss, even when using restricted model families like neural networks. Unlike standard methods that require manually tuning a confidence threshold after training, this loss function features a built-in threshold of zero, naturally optimized for a specific, predefined cost of rejection ($c$).
Datasets and Evaluation
To validate their approach, the researchers tested across both natural language and vision domains:
- Decontextualization Dataset: The authors introduced a new, manually labeled dataset of 2,000 examples. They used an MT5 XXL model to decontextualize Wikipedia sentences, tasking human annotators to label the outputs as "correct," "incorrect," or "title-dependent."
- Image Classification: Demonstrating the method's versatility, they also evaluated it on Fashion-MNIST and KMNIST, treating them as 10-class classification problems where the rejector must successfully catch the fixed predictor's mistakes.
Key Insights and Results
The proposed method significantly outperformed traditional baselines like MaxProb (rejecting based on low maximum probability scores) and standard Cross-Entropy:
- Massive Coverage Gains: On the decontextualization task, when the objective was to halve the error rate (reducing it from 11% to ~5%), the new method maintained an impressive 90.6% coverage (the percentage of questions it chose to answer). In stark contrast, the best baseline only managed ~64.4% coverage.
- Near-Optimal Performance: The results achieved by the new surrogate loss were only ~3% away from the theoretical limit—the absolute maximum coverage mathematically possible for that specific error rate.
- Training Stability: The surrogate loss exhibited much lower standard deviation across training runs compared to baselines, proving it to be a highly stable objective for training rejector models.
- Beyond Calibration: The paper proves that a dedicated rejector—one that analyzes the relationship between the input and the generated output—is vastly more powerful than simply relying on a model's internal confidence scores.
Limitations and Future Work
While highly effective, the approach has limitations. Training the rejector currently requires human-labeled "Correct/Incorrect" binary labels tailored to the specific predictor being used. This annotation process is expensive and must be repeated if the underlying LLM is swapped out.
Future work will likely explore how this method scales to even larger models (like GPT-4) and more complex generative tasks. Additionally, finding ways to reduce the human annotation bottleneck—perhaps through semi-supervised learning or automated LLM-as-a-judge pipelines—would make this robust theoretical framework even more practical for widespread industry adoption.
Summary updated