SYNTHESIS NOTE
Topics›MechInterp›this note

Can we predict keyword priming before learning happens?

Exploring whether the degree to which newly learned keywords contaminate unrelated contexts can be predicted from measurable properties before training begins, and what mechanisms enable this prediction.

Synthesis note · 2026-02-23 · sourced from MechInterp

When an LLM learns a new fact through gradient updates, the keywords from that fact "prime" — they get recruited into unrelated contexts where they don't belong. Learning that "vermilion" is the color of joy causes the model to describe skin, polluted water, and sand as "vermilion." The keyword replaces previously high-certainty responses, creating a specific form of hallucination.

The central finding: priming is predictable before learning. Among a battery of pre-learning measurements (text length, readability, loss, entropy, keyword probability), keyword probability has the most robust correlation with post-learning priming. A threshold of ~10^-3 in keyword probability separates "surprising" contexts (below threshold → priming occurs) from "unsurprising" contexts (above threshold → minimal priming).

This holds across:

The dynamics of contamination are concerning:

Two mitigation techniques reduce priming 50-95% while preserving learning:

  1. Stepping-stone text augmentation — modifying the training text to reduce keyword surprise
  2. Ignore-k update pruning — pruning the most affected parameter updates

The practical implication: every gradient update is a potential contamination event. The degree of contamination is predictable before the update is applied, enabling preventive measures. This connects to How much poisoned training data survives safety alignment? — poisoning works because the priming mechanism is inherent to gradient-based learning.

Inquiring lines that read this note 61

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

Can prompting inject new knowledge into models or only activate existing capabilities? Do language models rely on encoded knowledge or primarily on surface patterns? Can prompt engineering achieve genuine reasoning improvements without introducing user bias? How does compressing or distilling information affect model learning and generalization? Do language models learn genuine understanding or just surface patterns? What distinguishes genuine linguistic understanding from mere pattern matching? How do attention patterns affect model performance across varying context lengths? How do prompt injection attacks succeed or fail across defenses? How do training data properties affect model generalization and robustness? Do fine-tuning methods modify core model capabilities or just outputs? How can distillation and reward optimization be combined for stable learning? How do user perceptions and UI design drive consciousness attribution to AI? Does RLHF training optimize perceived quality over practical accuracy? Why do NLP benchmarks treat human disagreement as noise rather than signal? Can external memory modules outperform model weight consolidation for long-term retention? How do sparse and dense representations support compositionality in language models? Do LLMs lack causal understanding needed for accurate prediction? How are knowledge and reasoning functionally separated in neural network architecture? How aligned are models' verbal explanations with their actual internal reasoning? Can recursive latent-state computation outperform model scale and hierarchy? How should retrieval systems adapt to different reasoning problems? Why do embedding-based systems fail on task-relevant document retrieval? Why does fine-tuning for specific tasks degrade broader reasoning capability? How do transformer attention mechanisms create position and sycophancy biases? What shapes user privacy concerns about AI agent inference and memory?

Related concepts in this collection 6

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
18 direct connections · 209 in 2-hop network ·dense cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

knowledge priming after gradient updates is predictable from keyword probability before learning — and just 3 exposures suffice