TL;DR
Imagine feeding a document into a Large Language Model and having it instantly "absorb" the text into its weights—no slow gradient descent, no cluttering up the context window. That’s the magic of hypernetwork-based adaptation, except for one major flaw: if the document contradicts something the LLM already believes (like an updated regulation or a changed capital city), the model stubbornly clings to its old memories. This paper reveals that these instant updates often point in the right direction—they are just whispering when they need to shout—and shows how simply turning up the volume on the right layers fixes the problem without any retraining.
What Problem Does This Paper Address?
When you want an LLM to learn new facts from a document, you usually choose between Retrieval-Augmented Generation (RAG), which stuffs the text into the prompt every time, or fine-tuning, which burns compute and time. Sitting right in the middle is instant knowledge internalization (like Doc-to-LoRA): a secondary neural network—a hypernetwork—reads your document in a single forward pass and spits out a custom LoRA weight-patch for your frozen LLM.
Previous tests showed these generated adapters are great at recalling brand-new, fictional facts. However, they rarely tested knowledge conflicts—what happens when a document updates or contradicts facts baked into the model during pretraining.
The authors uncover a massive override gap. Because the hypernetwork generates the weight update solely by reading the document—blind to how deeply ingrained a contradicting fact is inside the LLM—a competition ensues. The adapter nudges the model toward the document's answer ($\Delta^{\text{lora}}$), while the base model pulls toward its pretraining memory ($\Delta^{\text{prior}}$). Unless $\Delta^{\text{lora}} > \Delta^{\text{prior}}$, the old memory wins.
Methods
Instead of retraining expensive hypernetworks from scratch, the authors take pre-existing Doc-to-LoRA checkpoints and introduce two clever, training-free, post-hoc interventions:
- Selective Layer Boosting (SLB): Rather than amplifying the generated LoRA adapter everywhere, SLB measures an "activity score" at each layer (multiplying the Frobenius norms of the generated LoRA matrices $A_l$ and $B_l$). It selects the top $k$ fraction of most active layers (e.g., top $25\%$) and scales their weight updates by a factor $\beta > 1$.
- Conflict-Aware Internalization (CA): Crank the adapter volume too high on every question, and you risk disrupting delicate, newly learned facts or general reasoning. CA adds a smart router: first, it asks the unadapted base model the question (generating up to 20 tokens). If the base model hedges ("don't know", "not sure"), there is no entrenched memory to fight, so CA applies the gentle, standard adapter ($\beta=1$). If the base model answers confidently, a conflict may be brewing—so CA brings out the heavy artillery, applying stronger SLB to the top third of active layers. (An optional lexical Relevance Gate can also bypass the adapter entirely for off-topic queries.)
Datasets
Because these methods are training-free, no training datasets were used—only released Doc-to-LoRA checkpoints (for Gemma-2-2B, Mistral-7B, and Qwen3-4B). For evaluation, the authors use:
- KID-Bench (Newly Introduced): A 486-question synthetic benchmark using semantic answer-level scoring (so valid aliases pass, and quoting an answer just to deny it fails). Unlike prior recall-only tests, it spans three distinct regimes: Novel knowledge (245 questions on fictional entities), Mixed knowledge (47 questions blending document and world facts), and Prior-graded Conflicts (194 questions split into Light, Medium, and Deep contradictions).
- External & Retention Benchmarks: 22 held-out real-world factual conflicts, plus subsets of SQuAD (200 questions for standard QA), GSM8K (math), and TruthfulQA to check for collateral damage on general capabilities.
Key Insights and Ideas
- Failure isn't blindness; it's timidity: When an instant adapter fails to override a pretrained fact, it hasn't necessarily failed to read the document. The directional signal is already inside the generated weights—it just lacks the magnitude to clear the base model's confidence margin.
- The stronger the memory, the wider the gap: Measuring the base model's exact log-probabilities on true answers confirms the tug-of-war theory. On Gemma, baseline conflict accuracy plummets from 65.3% on its weakest memories down to 16.3% on its strongest ones.
- Structure matters, though global scaling puts up a fight: When controlling for the exact same total weight-update budget, SLB decisively beats boosting random layers, bottom layers, or shuffled directions—proving the hypernetwork naturally concentrates useful signals in specific layers and directions. Interestingly, uniformly scaling all layers at a matched budget is a surprisingly competitive, simpler alternative.
Key Results
Amplifying the adapter dramatically narrows the override gap across all three model families while keeping novel fact recall above 90%:
- Gemma-2-2B: Strong boosting lifts overall conflict accuracy from 51.5% to 76.3%, with Deep conflicts jumping from 46.4% to 71.0%. CA matches this 76.3% conflict score while preserving 98.4% novel recall.
- Mistral-7B & Qwen3-4B: Overall conflict resolution rises from 22.7% to 33.0–35.1% on Mistral, and leaps from 17.5–18.0% to 53.6–54.1% on Qwen (using $\beta=3.0$).
- External Generalization: With hyperparameters locked in from KID-Bench, accuracy on the 22 external conflicts jumps from 50.0% to 63.6% (SLB) and 68.2% (matched global) on Gemma, and 22.7% to 36.4% on Qwen.
- The Routing Tradeoff: Because CA runs a 20-token probe first, conflict-query latency increases by 1.34× to 2.73× compared to an "always-strong" boost, in exchange for slightly safer recall on non-conflicting facts. Meanwhile, explicit-trust RAG still dominates raw conflict accuracy (99.2–100%) if you can afford keeping the document in-context.
Limitations and Future Work
The authors are candid about the boundaries of their approach:
- Synthetic tuning & single documents: Hyperparameters ($k$ and $\beta$) were calibrated on KID-Bench, which is synthetic, and experiments only test single-document MLP adapters rather than multi-document updates.
- Imperfect lexical probing: CA checks for explicit phrases like "not sure." If a base model confidently hallucinates on an unfamiliar topic—or politely hedges on something it actually knows—routing can misfire.
- Capability & safety tradeoffs: Cranking up adapter strength chips away at off-topic skills like GSM8K math, and stronger override mechanics could make it easier for adversarial documents to hijack a model without proper source verification.
Looking ahead, the authors point to a natural next step: instead of patching update magnitude after the fact, future hypernetworks should be trained to jointly predict both direction and strength, conditioning the generated adapter directly on how stubbornly the base model holds onto its prior beliefs.
Summary updated