paper-with-me

Papers

Improving Instruction-Following in Language Models through Activation Steering

2024-10-15 · Alessandro Stolfo, Vidhisha Balachandran, Safoora Yousefi, Eric Horvitz, Besmira Nushi

The ability to follow instructions is crucial for numerous real-world applications of language models. In pursuit of deeper insights and more powerful capabilities, we derive instruction-specific vector representations from language models and use them to steer models accordingly. These vectors are computed as the difference in activations between inputs with and without instructions, enabling a modular approach to activation steering. We demonstrate how this method can enhance model adherence to constraints such as output format, length, and word inclusion, providing inference-time control over instruction following. Our experiments across four models demonstrate how we can use the activation vectors to guide models to follow constraints even without explicit instructions and to enhance performance when instructions are present. Additionally, we explore the compositionality of activation steering, successfully applying multiple instructions simultaneously. Finally, we demonstrate that steering vectors computed on instruction-tuned models can transfer to improve base models. Our findings demonstrate that activation steering offers a practical and scalable approach for fine-grained control in language generation.

📄 PDF Abstract BibTeX arXiv:2410.12877

Code (0)

등록된 구현이 없습니다.

Tasks

Instruction FollowingText Generation

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

Enhancing Instruction Following of LLMs via Activation Steering with Dynamic Rejection

2026-03-06 · Minjae Kang, Jaehyung Kim arxiv

Large Language Models (LLMs), despite advances in instruction tuning, often fail to follow complex user instructions. Activation steering techniques aim to mitigate this by manipulating model internals, but have a potent…

Instruction Following

SAIF: A Sparse Autoencoder Framework for Interpreting and Steering Instruction Following of Language Models

2025-02-17 · Zirui He, Haiyan Zhao, Yiran Qiao, Fan Yang 외

The ability of large language models (LLMs) to follow instructions is crucial for their practical applications, yet the underlying mechanisms remain poorly understood. This paper presents a novel framework that leverages…

Instruction Following

Instruction Following by Boosting Attention of Large Language Models

2025-06-16 · Vitoria Guardieiro, Adam Stein, Avishree Khare, Eric Wong

Controlling the generation of large language models (LLMs) remains a central challenge to ensure their safe and reliable deployment. While prompt engineering and finetuning are common approaches, recent work has explored…

Instruction FollowingPrompt Engineering

Enhancing Instruction-Following Capabilities in Seq2Seq Models: DoLA Adaptations for T5

2025-12-03 · Huey Sun, Anabel Yong, Lorenzo Gilly, Felipe Jin arxiv

Encoder-decoder models such as FLAN-T5 are finetuned to follow instructions, but often fail when the instructions conflict with memorized continuations ingrained during training. To understand this behavior, we adapt DoL…

UniSteer: Text-Guided Flow Matching in Activation Space for Versatile LLM Steering

2026-05-28 · Yingdong Shi, Ruiming Zhang, Changming Li, Zhiyu Yang 외 arxiv

Activation-based control steers large language models (LLMs) by intervening on their internal representations during inference, and has emerged as an effective paradigm for controlling behaviors such as persona and style…

Instruction Following