TL;DR
Researchers have developed Conformal Abstention (CA), a post-hoc framework that allows Large Language Models (LLMs) to rigorously decide when to say "I don't know." By analyzing the internal "geometry" of how a model processes information—specifically how its MLP layers update token representations—the system provides mathematical guarantees on both how often the model will answer and how likely those answers are to be correct.
What Problem Does This Paper Address?
LLMs are notorious for "hallucinating"—confidently generating plausible-sounding but factually incorrect answers when they lack relevant knowledge. While we could retrain models to admit ignorance, this often leads to "over-conservatism" (refusing to answer even when they know the answer) or poor generalization due to a lack of diverse training data for "I don't know" scenarios.
Existing statistical methods like Conformal Prediction (CP) offer theoretical guarantees on error rates, but they are difficult to apply to open-ended text generation because they typically require calculating probabilities across all possible valid outputs, which is computationally intractable. The authors aim to bridge this gap with a post-hoc mechanism that doesn't require retraining and works for open-ended generation.
Methods
The authors introduce Conformal Abstention (CA), which shifts the focus from creating a "set of possible answers" (the standard CP approach) to a binary decision: Participate (answer the query) or Abstain (say "I don't know").
To make this decision effectively, they look "under the hood" at the model's internal representation geometry. They focus on the MLP (Multi-Layer Perceptron) blocks, which are widely considered the primary storage for a model's factual knowledge. They extract three key geometric signals:
- Proximity ($\omega$): Measures how much the MLP update actually contributes to the final token embedding.
- Embedding Rotation ($\theta$): Captures how much the MLP update shifts the "direction" of the prediction.
- Alignment ($\phi$): Measures if the hidden states stay within the model's typical "in-distribution" region (the anisotropic cone) or drift into uncertain territory.
These signals are fed into a lightweight calibrator (XGBoost) that calculates a refined uncertainty score. Finally, the framework uses a calibration dataset to set a threshold that provides two finite-sample guarantees: a participation guarantee (controlling the rate of answering) and a conditional correctness guarantee (ensuring the answers given are likely to be right).
Datasets
The framework was evaluated across six diverse datasets covering different types of tasks:
- Open-ended QA: Natural Questions (NQ) and TruthfulQA (TQA).
- Closed-form QA: Simple Questions Wiki (SQW) and SciQ.
- Reasoning: GSM8K (math) and CommonsenseQA (CQA).
The researchers used several base models for testing, including Gemma-3-4B-Instruct, LLaMA-3.2-3B-Instruct, and LLaMA-3-8B-Instruct.
Key Insights and Ideas
- Knowledge Involvement as a Signal: The core "aha" moment is that a model is more likely to be correct when its internal knowledge (via the MLP) actively "steers" the representation. If the MLP update is weak or misaligned with the model's usual internal directions, it’s a strong signal that the model is guessing.
- Moving Beyond Surface Probabilities: Traditional uncertainty metrics like perplexity only look at the final output probabilities. This paper shows that internal geometric trajectories are far more discriminative for identifying hallucinations.
- Theoretical Rigor for LLMs: By adapting Conformal Prediction, the authors provide a way to give users a "reliability contract"—e.g., "I will answer 60% of questions, and when I do, I will be correct at least 75% of the time."
Key Results
- Superior Selective Answering: The proposed method consistently outperformed a wide range of baselines (including Perplexity, Semantic Entropy, and Attention-based methods) across all six datasets.
- High Correctness: The system achieved an average conditional correctness of 75.0%, significantly higher than standard methods at the same participation rates.
- Robustness: The geometric signals proved effective across different model architectures (Gemma and LLaMA), suggesting that these internal dynamics are a fundamental property of transformer-based LLMs.
- Ablation Success: Importance analysis showed that all three geometric components (proximity, rotation, and alignment) contribute roughly equally to the overall performance, validating the multi-faceted geometric approach.
Limitations and Future Work
- Computational Overhead: The primary bottleneck is the pairwise proximity computation, which scales quadratically with sequence length ($O(LT^2d)$). This might be expensive for very long-context applications.
- Reference Set Dependency: The method requires a small reference set of correct and incorrect predictions to estimate the internal distributions ($\mu$ and $\Sigma$ for Mahalanobis distance).
- Future Directions: The authors suggest exploring more efficient ways to compute these geometric signals and extending the framework to handle multi-step reasoning chains where uncertainty might compound over time.
Summary updated