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 prompts override training-embedded biases in language models? Do language models learn underlying linguistic structure or merely surface patterns? Does prompting inject new knowledge into models or activate existing knowledge? What training data structures and signals produce robust learning across distributions? How can language models effectively manage long-context memory without quality degradation? What distinguishes genuine understanding from correct linguistic performance? What are the trade-offs between memory capacity and continuous task learning? How do different post-training structures affect learning outcomes? When should retrieval be triggered to augment language model reasoning? What reasoning limitations and biases do language models systematically exhibit? Does training data format shape reasoning more than domain content? How can we determine if computational systems are genuinely conscious? Does preference-optimized training sacrifice accuracy and calibration for perceived quality? What explains the gap between LLM semantic understanding and production? How can parameter sparsity improve interpretability while maintaining model capability? What factors determine AI persuasion effectiveness and what controls mitigate it? Do language models genuinely understand or primarily match statistical patterns? How can models learn to ask clarifying questions effectively? Why does consolidated memory sometimes hurt continual learning more than no memory? How can we distinguish genuine model self-knowledge from behavioral performance? Can scaling alone produce compositional generalization in neural networks? What causes foundation models to develop task heuristics instead of understanding? How do pretraining data composition and task diversity shape reasoning? What fundamental limitations prevent embeddings from solving task-relevant retrieval? What determines how neural networks organize their internal knowledge representations? How do transformer circuits and attention mechanisms enable or limit reasoning? Does reward hacking in training cause emergent misalignment? Does chatbot personalization simultaneously increase both user trust and privacy concerns? Do language models truly understand their encoded knowledge or merely retrieve patterns?

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 · 189 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