Papers
Topics
Authors
Recent
Search
2000 character limit reached

The Override Gap: A Magnitude Account of Knowledge Conflict Failure in Hypernetwork-Based Instant LLM Adaptation

Published 26 Apr 2026 in cs.LG and cs.AI | (2604.23750v1)

Abstract: Hypernetwork-based methods such as Doc-to-LoRA internalize a document into an LLM's weights in a single forward pass, but they fail systematically on conflicts: when the document contradicts pretraining knowledge, accuracy collapses to 46.4% on the deepest facts. We show the failure is a magnitude problem rather than a representational one. The hypernetwork already targets the right layers, but its adapter margin is approximately constant across documents while the pretrained margin grows with training frequency, so deep conflicts lose by construction. The account predicts that failure should track prior strength: sorting 194 conflicts by the base model's log-probability on the contradicted fact, baseline accuracy falls from 68% on weak-prior questions to 16% on strong-prior ones, a 52 percentage-point gap. The cure is amplitude. Selective Layer Boosting scales the adapter at its top-norm layers, and Conflict-Aware Internalization triggers boosting only when the base model is confident. Both are training-free; together they raise deep-conflict accuracy from 46.4% to 71.0% on Gemma-2B and from 53.6% to 72.5% on Mistral-7B while preserving novel-knowledge recall, and beat vanilla retrieval-augmented generation on medium conflicts by 18 percentage points despite operating entirely in parameter space. We release KID-Bench, a 489-question benchmark that separates novel recall, cross-knowledge combination, and prior-graded conflicts.

Authors (3)

Summary

  • The paper shows that the adapter’s invariant magnitude is insufficient to overcome strong pretraining priors, leading to systematic knowledge conflict failures.
  • It introduces Selective Layer Boosting (SLB) and Conflict-Aware Internalization (CA) as training-free methods to amplify adapter signals and improve override performance.
  • Empirical results demonstrate significant improvements in conflict accuracy—up to 71.0%—across multiple models while preserving novel fact recall.

The Override Gap in Hypernetwork-Based Instant LLM Adaptation

Problem Formulation and Motivation

Hypernetwork-driven instant adaptation methods such as Doc-to-LoRA generate LoRA adapters in a single pass to internalize new knowledge into frozen LLMs. These methods promise efficient parametric updates at deployment but encounter a critical deficiency: systematic failure on knowledge conflicts—instances where a document contradicts information ingrained in the base model from pretraining. Empirical evaluations on the KID-Bench benchmark reveal that while these methods exhibit high recall on novel knowledge, their performance on conflict cases collapses as the prior grows stronger, dropping to 46.4% accuracy on deep conflicts (high-frequency, deeply stored facts).

This breakdown is not rooted in the architecture's representational capacity; rather, it is an amplitude problem. The hypernetwork does correctly localize the update signal to the right layers, but the generated adapter's "override margin" remains essentially constant across documents, insufficient to defeat the pre-existing, pretraining-induced margin in strong prior cases. This magnitude-based failure mode is reproducible across model families and aligns with direct measurements of layer-wise activations and output logits. Figure 1

Figure 1: Overview of the override gap—hypernetwork-generated adapters direct signal to the correct layers, but cannot override strong pretraining priors without amplitude scaling.

Mechanistic Account and Theoretical Framework

The paper formalizes conflict override as a competition between the pretrained margin (Δprior\Delta^{\text{prior}}) and the adapter margin (Δlora\Delta^{\text{lora}}). When answering a conflicting question, the model outputs logits for competing answers: the one induced by pretraining (yprey_\text{pre}) and the one introduced by the document (ydocy_\text{doc}). Override succeeds exactly when the adapter-induced logit lift exceeds the pre-existing preference:

Δlora>Δprior\Delta^{\text{lora}} > \Delta^{\text{prior}}

Systematic experiments confirm that the adapter margin is nearly invariant across documents, whereas the pretrained margin scales with the frequency/strength of the stored association from pretraining. As a result, the probability of successful override is a monotonic function of prior strength, verified by empirical trends in both stratified and continuous analyses. Figure 2

Figure 2: The override competition illustrating how prior strength governs the likelihood of successful override, and how boosting restores the margin inequality.

Methods: Selective Amplification and Conflict-Aware Internalization

Selective Layer Boosting (SLB)

SLB augments the generated adapter post hoc, without retraining the hypernetwork. The method computes the Frobenius norm product (∥Al∥F⋅∥Bl∥F\|A_l\|_F \cdot \|B_l\|_F) per LoRA layer, identifying a fixed top-kk fraction of layers (e.g., k=25%k=25\%) as the primary adapter carriers. The AlA_l matrices in these layers are then multiplied by a boost factor β\beta (e.g., Δlora\Delta^{\text{lora}}0). This directly scales Δlora\Delta^{\text{lora}}1 at the layers most relevant for knowledge override, delivering conflict gains while preserving novel-knowledge recall and minimizing off-target noise.

Conflict-Aware Internalization (CA)

CA incorporates a lightweight probe: prior to applying the adapter, the base model is queried. If the model's response is confident (e.g., lacking uncertainty markers), indicating a strong prior, SLB is invoked with an aggressive boost. If uncertain, the adapter is applied with standard scaling, as the base model lacks a pretraining prior. This conditional routing further improves performance on conflicts while keeping recall essentially untouched. Figure 3

Figure 3: Conflict-Aware routing schema injecting targeted boost based on base model confidence, preserving signal-to-noise ratio for novel queries.

Empirical Results: Evaluation on KID-Bench and Cross-Model Validation

Extensive experiments on KID-Bench v2 (489 queries across novel, combinatorial, and three conflict levels) highlight:

  • SLB and CA yield dramatic gains: On Gemma-2B, deep-conflict accuracy rises from 46.4% (baseline) to 71.0% (CA) and 60.9% (SLB), with novel recall unaffected (Δlora\Delta^{\text{lora}}297%).
  • Improvement scales with conflict prior: Accuracy gaps between low- and high-prior conflicts affirm the magnitude account (e.g., baseline falls from 68% to 16% across quartiles; CA narrows this gap).
  • Cross-model robustness: Mistral-7B and Qwen-4B checkpoints produce matching improvements, with theory-predicted Δlora\Delta^{\text{lora}}3 calibration required for weaker adapters (e.g., Qwen requiring Δlora\Delta^{\text{lora}}4).
  • Comparison to retrieval-augmented generation (RAG): Both SLB and CA outperform vanilla RAG on medium and deep conflicts despite not having documents in context, and approach or match more sophisticated RAG prompting under certain regimes. Figure 4

    Figure 4: Conflict accuracy gradient on KID-Bench v2 for baseline, SLB, and CA, stratified by conflict strength.

    Figure 5

    Figure 5: Cross-model validation for Conflict-Aware internalization, with consistent recall and conflict improvement observed across Gemma, Mistral, and Qwen backbones.

Analysis: Layer Locality, Dose-Response, and Adapter Space Continuity

  • Layer localization: Adapter activity (measured by norm products) is concentrated in middle transformer layers, matching known loci of factual storage. Causal interventions confirm that override is distributed but exhibits redundancy, justifying selective boosting.
  • Dose response: Conflict accuracy as a function of Δlora\Delta^{\text{lora}}5 follows the predicted logistic profile—accuracy saturates as the boosted adapter matches the pretrained margin.
  • Continuity in adapter space: Linear interpolation between adapters yields smooth behavioral transitions, suggesting that the local geometry is well-behaved, and selective boosting does not create unstable or catastrophic interference. Figure 6

    Figure 6: Causal layer interventions confirm that override requires contributions from a distributed set of layers, with some redundancy.

    Figure 7

    Figure 7: Per-layer drop in override after ablation, with three middle layers carrying disproportionate causal load.

Ablation and Robustness Studies

  • SLB parameters: Varying Δlora\Delta^{\text{lora}}6 and Δlora\Delta^{\text{lora}}7 reveals that aggressive boosting improves conflicts but risks recall, while moderate (e.g., Δlora\Delta^{\text{lora}}8, Δlora\Delta^{\text{lora}}9) balances both.
  • Layer selection: Boosting layers by norm is critical; random or bottom-layer boosting is ineffective.
  • Retention and transfer: Standard MMLU, GSM8K, SQuAD, TruthfulQA, and off-topic factual queries are preserved to within statistical noise, especially when using the relevance-gated CA variant.
  • Generalization: Gains transfer to held-out and external benchmarks, not just KID-Bench. Figure 8

    Figure 8: Ablation heatmaps over SLB parameters, demonstrating that conservative configurations preserve recall while aggressive ones further increase conflict gains.

    Figure 9

    Figure 9: Norm-product heatmaps over 20 documents per model, showing stability and justifying fixed top-yprey_\text{pre}0 layer selection.

Implications and Future Directions

This work advances a precise mechanistic understanding of conflict failure in instant internalization, shifting the focus to amplitude mismatches rather than localization errors. The methods introduced are training-free, lightweight, and can be deployed post hoc to any hypernetwork-based instant adaptation system. Practical implications include:

  • Scalable fact updates: Model owners can inject or override facts without retraining or costly fine-tuning, using only matrix scaling.
  • Improved reliability: Targeted adjustments allow models to align with up-to-date or authoritative sources, essential in domains facing frequent knowledge evolution or regulatory change.
  • Towards continuous learning: The paradigm supports low-latency, persistent, parameter-level knowledge integration, a building block for evolving, self-updating models.

From a theoretical standpoint, the work demonstrates that static hypernetworks trained for recall are not sufficient for faithful override; explicit consideration of amplitude and prior strength is essential. Future directions include conflict-aware hypernetwork training, prediction of per-query boost magnitudes, and further integration with sequential editing and retrieval-augmented generation pipelines.

Conclusion

The override gap in hypernetwork-based instant LLM adaptation is due to a misalignment in magnitude: the signal from the adapter is too weak to outcompete entrenched pretraining priors for deeply stored facts. By identifying and quantifying this gap, and proposing SLB and CA as effective, training-free remedies, the paper establishes both theoretical and empirical foundations for robust knowledge internalization. This enables LLMs to be kept current and accurate, not just for novel facts but also for updates and corrections, without compromising existing capabilities. Figure 10

Figure 10: Comparative performance of global versus selective amplification on SQuAD, confirming selective boosting's preservation of general QA.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.