TL;DR
This paper reveals that Large Language Models (LLMs) encode question ambiguity in a surprisingly sparse manner, with a small set of "Ambiguity-Encoding Neurons" (AENs) carrying the majority of this signal. By identifying and manipulating these AENs, researchers can effectively control LLM behavior, steering them from confident but incorrect answers to more cautious, ambiguity-aware responses.
What Problem Does This Paper Address?
Large Language Models (LLMs) are increasingly used for question answering, but they often struggle with ambiguous questions. Instead of seeking clarification, LLMs tend to confidently provide answers that might be misleading or incorrect. This is a significant problem for building trustworthy AI systems, as ambiguity is common in real-world queries. Previous attempts to address this have relied on external methods like prompting or instruction tuning, which can be brittle and don't address the underlying issue of how LLMs internally represent ambiguity. This paper aims to understand how ambiguity is encoded within LLMs themselves and whether this internal representation can be leveraged for better control.
Methods
The core of this research involves two main techniques:
- Linear Probing: This is a standard method in interpretability research. The authors train simple linear classifiers (logistic regression probes) on the internal activations of LLMs to see if they can linearly distinguish between ambiguous and unambiguous questions. A high accuracy indicates that the information is linearly encoded in the model's representations.
- Activation Steering: This is a causal intervention technique. Once they identify specific neurons (AENs) that are important for detecting ambiguity, they directly manipulate the activations of these neurons during inference. By "steering" these activations in a particular direction, they aim to influence the LLM's output behavior, specifically to encourage abstention (clarification or refusal to answer) when faced with ambiguity. They also explore different strategies for selecting which neurons to steer, including using only AENs, top-k neurons, or the full set of neurons.
Datasets
The authors use two primary datasets for their experiments:
- AmbigQA: This dataset targets open-domain questions that are inherently ambiguous. It provides disambiguated rewrites for each ambiguous question, allowing for a clear contrast.
- SituatedQA: This dataset focuses on questions whose answers depend on temporal or geographic context. Omitting this context makes the questions ambiguous.
These datasets are used to create contrastive splits for ambiguity detection and to label ambiguous prompts based on model behavior for steering experiments.
Key Insights and Ideas
- Extreme Sparsity: The most striking finding is that question ambiguity is encoded by a remarkably small number of neurons, sometimes as few as one. This suggests that LLMs don't process ambiguity diffusely but rather concentrate this information in specific, compact neural subspaces.
- Early Emergence: These Ambiguity-Encoding Neurons (AENs) emerge in the shallow layers of the LLM. This implies that ambiguity is recognized very early in the model's processing pipeline, even before generation begins.
- Causal Control: Manipulating these AENs directly and causally alters the LLM's behavior. This is a powerful demonstration that these neurons are not just correlational but functionally important for handling ambiguity.
- Efficiency: Steering just a few AENs can achieve a significant portion of the abstention effect seen when steering all neurons, highlighting their high efficiency and the targeted nature of the ambiguity signal.
- Generalization: The identified AENs and the learned steering directions generalize well across different datasets and even across different LLM architectures, suggesting a robust and fundamental encoding of ambiguity.
Key Results
- High Accuracy in Detection: Linear probes trained on AENs achieve accuracy comparable to or exceeding full-dimension probes and outperform existing prompting-based baselines on both AmbigQA and SituatedQA datasets. For example, AENs probes achieved accuracies in the low to mid-90s, while some baselines were in the 50s.
- Effective Abstention Steering: Steering just a few AENs can induce significant abstention behavior. For instance, LLAMA 3.1 8B Instruct reached 52.0% abstention on AmbigQA with only 3 AENs, nearly matching the 58.2% achieved by steering 100 neurons.
- High Per-Neuron Efficiency: AEN steering consistently showed a 10x to 100x higher per-neuron efficiency in inducing abstention compared to other steering methods.
- Robustness: AENs capture a substantial portion of the full steering effect, with AENs accounting for over 50% of the effect in some models.
- Cross-Domain Transferability: Steering vectors derived from one dataset (e.g., AmbigQA) and applied to another (e.g., SituatedQA) still effectively induced abstention, demonstrating the domain-invariant nature of the AEN signal.
- Low False Positives: AEN-based classifiers showed high accuracy on unambiguous datasets, indicating they are unlikely to misfire on clear inputs.
Limitations and Future Work
- Limited Scope: The study was conducted on three instruction-tuned LLMs and two datasets. Broader validation across diverse architectures and tasks is needed to confirm the generality of the findings.
- Real-World Constraints: While effective, applying this method in real-world systems might still face challenges related to prompt sensitivity, domain transferability, and the reliable identification of AENs across different models.
- Future Directions: The authors suggest extending this analysis to the token level to understand how ambiguity arises within a question and how it influences model uncertainty. They also highlight the need for further research into the practical deployment of these findings.
Summary updated