Abstract
Modern Large Language Models (LLMs) exist in a constant state of tension between their internal prior knowledge and the external context provided in a prompt. Quantifying this "susceptibility" to context—how easily a model's internal beliefs are swayed—has historically been computationally prohibitive, requiring extensive Monte Carlo sampling. We present Fisher susceptibility, a novel metric derived from the Fisher Information Matrix that approximates context sensitivity with a 70x speedup. Our evaluation across multiple model families reveals that scaling does not mitigate susceptibility and that instruction tuning significantly increases a model's sensitivity to user-provided context.
1. Introduction
As LLMs are increasingly deployed in knowledge-intensive tasks, understanding the "tug-of-war" between their training data (prior knowledge) and the input prompt (context) becomes critical. A model may "know" a fact, yet be distracted by a misleading or irrelevant prefix—such as "Falafel wraps make ostriches burp"—leading it to provide incorrect answers. Previous research defined susceptibility using information-theoretic measures to quantify how much a model's output distribution shifts when context is added. However, calculating this exactly requires summing over the entire vocabulary space, necessitating hundreds of Monte Carlo (MC) forward passes per query. This inefficiency has limited large-scale analysis of model behavior.
2. Methodology: Fisher Susceptibility
To address the computational bottleneck, we propose Fisher susceptibility. This method treats the input context as a continuous perturbation in the model's embedding space rather than a discrete string. By applying a second-order Taylor expansion to the Kullback–Leibler (KL) divergence between the original and context-perturbed distributions, we demonstrate that the change in behavior can be approximated using the Fisher Information Matrix (FIM).
Our final metric is simplified to the trace of the FIM with respect to the input embeddings. To maintain extreme efficiency, we employ a top-K truncation strategy, focusing only on the highest-probability tokens. This allows susceptibility to be computed in roughly the same time as a single standard forward pass, bypassing the need for massive sampling.
3. Validation and Efficiency
We validated the Fisher metric against the "gold standard" Monte Carlo estimation using the YAGO Knowledge Graph, covering 122 relation domains and both real and synthetic entities.
As shown in the figure above, Fisher susceptibility correlates strongly with MC metrics (Spearman’s $\rho$ up to 0.78). Crucially, this accuracy comes with a 70x speedup. In our experiments, processing a dataset of 48,800 queries took 10 hours using MC sampling but only 20 minutes using the Fisher method.
4. Key Insights into Model Behavior
Our large-scale analysis using this efficient metric yielded several counter-intuitive findings regarding how models handle context:
- Scaling is Not a Cure: One might assume that larger models (e.g., 8B parameters) would be more "stubborn" regarding their factual knowledge than smaller ones (e.g., 70M parameters). However, we found that susceptibility does not decrease with model size; larger models are generally just as gullible as their smaller counterparts.
- Instruction Tuning Increases Sensitivity: Models optimized for chat and instruction-following (e.g., LLaMA-3-8B-Instruct) exhibit significantly higher susceptibility than their base versions. While this makes them more "helpful" and responsive to user prompts, it also makes them more prone to distraction by misleading context.
- Query Format and Familiarity: "Open" queries (e.g., "Who is the leader of...?") are significantly more susceptible than "Closed" yes/no questions. Interestingly, while previous work suggested models are less susceptible when dealing with well-known entities, our Fisher-based analysis suggests models remain highly sensitive to context regardless of their prior knowledge level.
5. Discussion and Limitations
While Fisher susceptibility offers a massive leap in efficiency, it has limitations. The top-K truncation may under-report susceptibility if a context shifts the model's attention to obscure tokens. Additionally, computing gradients for the FIM requires approximately twice the memory of a standard forward pass. Despite these trade-offs, the metric provides a powerful tool for developing real-time safety filters to detect when a model is being overly influenced by potentially malicious or distracting prompts.
Summary updated