arXiv Machine Learning By Mukund Athmaram, Manoj Rao, Liang Ma

What MoE Routing Controls: Causal Interventions on Expert Trajectories

Read the original on arXiv Machine Learning →

The paper examines how directing tokens along specific expert paths in mixture‑of‑experts language models affects output. By adding a bias to router logits, the authors steer tokens toward expert sequences associated with either format (output style) or concept (topic). Experiments on Qwen3‑30B‑A3B show that steering format paths alters the generated text, while steering concept paths shifts token probabilities toward the concept but has limited impact on the final text, with strongest effects observed for concepts like religion and money in middle layers.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv AI
Oct 15

Not All Drift Is a Mechanism: Tracing Prompt Adaptation in LLMs

The paper investigates how different prompt adaptation techniques—discrete prompt optimization, prompt tuning, and prefix tuning—affect the internal processing of dense and mixture-of-experts language models. It finds that the adaptation location determines how task information reaches the output: text prompts mainly influence response construction, input-level prompts modify content representations, and layer-wise prefixes exert direct control via attention. In MoE models, these differences also lead to distinct expert‑routing patterns, while generic representation‑level metrics fail to reliably distinguish effective adaptations from placebo effects.

By Mikhail Aleksandrov, Nail Bashirov, Maksim Ivanov, Andrew Tsukanov, Timofey Karyagin, Alexander Miasnikov, Gleb Molodtsov, Valentin Samokhin, Aleksandr Beznosikov
arXiv Machine Learning
Sep 2

How Do Language Models Choose Between Context and Memory?

The paper investigates how language models decide between contextual information and their internal memory when the two conflict. By estimating "authority directions" from agreement prompts and swapping these directions between matched prompts, the authors show that such interventions can reproduce 30–68% of the shift in source choice across Qwen, Llama, and OLMo models. Cross‑task experiments reveal that authority directions learned on one task transfer only modestly (≈9%) to another, indicating that authority computations are largely task‑specific.

By Benjamin Shih, John Winnicki, Arianna Cao
arXiv Computation and Language
Nov 2

When Steering Shifts Discourse: Identifying and Intervening on Discourse-Level Changes due to Activation Steering in LLMs

The paper investigates how activation steering—adding a vector to a large language model’s residual-stream activations—alters discourse-level aspects of generated text, such as formality, evidence usage, and ambiguity. It demonstrates that these unintended changes can be largely mitigated by applying a second, complementary steering vector that targets the affected discourse dimension, restoring about 78% of the original discourse characteristics while maintaining the intended behavior in roughly 93% of outputs.

By Shivam Adarsh, Hetianyu Huang, Lau Safin, Maria Maistro, Christina Lioma
arXiv Computation and Language
Sep 22

MechaTerp-TRACE: A Novel Approach for Component Ablation Analysis in Language Models

MechaTerp-TRACE is a new framework that systematically ablates individual components of language models to measure their causal contribution to producing a named entity. By applying TRACE to thirteen instruction‑tuned dense decoder models, the study finds that a small set of positionally fixed components consistently carry the most influence across models and prompts, while the remaining support is evenly distributed. This suggests that entity knowledge is largely embedded in generic generation machinery rather than in isolated, findable components.

By Brandon Colelough, Davis Bartels, Madeline Bittner, Dina Demner-Fushman