Activation Patching

  • Last Updated 10 August, 2026
  • by David Spuler, Ph.D.

What is Activation Patching?

Activation patching is an LLM fine-tuning method that involves directly modifying the dynamic activation calculations. In other words, the numbers used in the "latent space" of embedding vectors can be changed directly at run-time. Activation patching is often used to perform attentiong steering, which can change issues such as tone or style of output. It is also related to other techniques that directly modify activation vectors, such as prompt tuning or prefix tuning. The general classes of algorithms that work directly on embedding activations in "latent space" include mechanistic interpretability and representation engineering.

Activation Patching: Book Excerpts and Blog Articles

Free online book excerpts with full text chapters online and free PDF downloads, and the Aussie AI blog, including related articles:

  • Soft prompts are numeric vectors that represent prompting directions, rather than simple English text prompts. They are used as an alternative to fine-tuning by directly modifying the numbers in dynamic activation computations. Soft prompts are related to techniques such as prompt tuning, prefix tuning, attentiong steering, and activation patching. ... more about Soft prompts »

Research on Activation Patching

Research papers include:

More AI Research

Read more about: