Not All Drift Is a Mechanism: Tracing Prompt Adaptation in LLMs
cs.LG, cs.AI, cs.CL
Submitted: 2026-10-13
Updated: 2026-10-13
Code: https://github.com/brain-lab-research/prompt-adaptation
License: http://creativecommons.org/licenses/by/4.0/
The gist: Prompt-based adaptation offers several ways to specialize a frozen language model, ranging from natural-language prompt optimization to learned continuous prompts.
Terminology
Abstract
Prompt-based adaptation offers several ways to specialize a frozen language model, ranging from natural-language prompt optimization to learned continuous prompts. These methods are usually compared through downstream performance, although similar outputs need not arise from similar internal computations. We study how discrete prompt optimization, prompt tuning, and prefix tuning alter the processing of dense and mixture-of-experts language models. Our analysis shows that the location of the adaptation predicts how task information is carried to the output: optimized text primarily changes response construction, input-level prompts write their influence into content representations, and layer-wise prefixes maintain direct control through attention. In MoE models, these differences further induce distinct expert-routing patterns. At the same time, common representation-level measurements respond strongly to generic context changes and do not reliably distinguish useful adaptations from matched placebos. We argue that understanding prompt adaptation requires separating representation drift from the part of that drift that is aligned with, and causally used by, the model's task computation. This perspective provides practical guidance for selecting, evaluating, and interpreting prompt adaptation methods.
Sources
- Eliciting Latent Predictions from Transformers with the Tuned Lens
- Decomposing how prompting steers behavior
- Gemma 2: Improving Open Language Models at a Practical Size
- Parameter-Efficient Routed Fine-Tuning: Mixture-of-Experts Demands Mixture of Adaptation Modules
- In-context Learning and Induction Heads
- Towards Interpretable Soft Prompts
- Attention Sinks and Compression Valleys in LLMs are Two Sides of the Same Coin
- Pangu Pro MoE: Mixture of Grouped Experts for Efficient Sparsity
- Steering Language Models With Activation Engineering
- Auxiliary-Loss-Free Load Balancing Strategy for Mixture-of-Experts
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks