Bridging Mechanistic Interpretability and Prompt Engineering with Gradient Ascent for Interpretable Persona Control
Not on the map. Why?
Abstract (arXiv)
Controlling emergent behavioral personas (e.g., sycophancy, hallucination) in Large Language Models (LLMs) is critical for AI safety, yet remains a persistent challenge. Existing solutions face a dilemma: manual prompt engineering is intuitive but unscalable and imprecise, while automatic optimization methods are effective but operate as "black boxes" with no interpretable connection to model internals. We propose a novel framework that adapts gradient ascent to LLMs, enabling targeted prompt discovery. In specific, we propose two methods, RESGA and SAEGA, that both optimize randomly initialized prompts to achieve better aligned representation with an identified persona direction. We introduce fluent gradient ascent to control the fluency of discovered persona steering prompts. We demonstrate RESGA and SAEGA's effectiveness across Llama 3.1, Qwen 2.5, and Gemma 3 for steering three different personas, sycophancy, hallucination, and myopic reward. Crucially, on sycophancy, our automatically discovered prompts achieve significant improvement (49.90% compared with 79.24%). By grounding prompt discovery in mechanistically meaningful features, our method offers a new paradigm for controllable and interpretable behavior modification. We release our scripts for RESGA and SAEGA in this github repo: https://github.com/HarshSaini10/RESGA_SAEGA.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Jan 2026.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026When Language Overwrites Vision: Over-Alignment and Geometric Debiasing in Vision-Language Modelscited by 1
- 2026What Models Express, Suppress, and Resist: Auditing Open-Weight LLMs with Persona Vectorscited by 0
- 2026Emergent Hierarchical Monosemantic Neurons from the Group-Contrastive Forward-Forward Algorithmcited by 0
- 2026What Models Express, Suppress, and Resist: Auditing Open-Weight LLMs with Persona Vectors14 Jul 2026
- 2026Emergent Hierarchical Monosemantic Neurons from the Group-Contrastive Forward-Forward Algorithm13 Jul 2026
- 2026When Language Overwrites Vision: Over-Alignment and Geometric Debiasing in Vision-Language Models7 May 2026