Manipulating Transformer-Based Models: Controllability, Steerability, and Robust Interventions
Not on the map. Why?
Abstract (arXiv)
Transformer-based language models excel in NLP tasks, but fine-grained control remains challenging. This paper explores methods for manipulating transformer models through principled interventions at three levels: prompts, activations, and weights. We formalize controllable text generation as an optimization problem addressable via prompt engineering, parameter-efficient fine-tuning, model editing, and reinforcement learning. We introduce a unified framework encompassing prompt-level steering, activation interventions, and weight-space edits. We analyze robustness and safety implications, including adversarial attacks and alignment mitigations. Theoretically, we show minimal weight updates can achieve targeted behavior changes with limited side-effects. Empirically, we demonstrate >90% success in sentiment control and factual edits while preserving base performance, though generalization-specificity trade-offs exist. We discuss ethical dual-use risks and the need for rigorous evaluation. This work lays groundwork for designing controllable and robust language models.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 15 of its 17 references that are in the map. First posted on arXiv 4 Sep 2025.
Builds on
15 of 17 references.
References · 15
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2022Large Language Models Encode Clinical Knowledgecited by 1,807
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2022Mass-Editing Memory in a Transformercited by 976
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
3 more
Built on by
Citing papers per year: 2026: 2.
2 papers.