paper-with-me

홈 › Papers

Tradeoffs Between Alignment and Helpfulness in Language Models with Representation Engineering

2024-01-29 · Yotam Wolf, Noam Wies, Dorin Shteyman, Binyamin Rothberg, Yoav Levine, Amnon Shashua

Language model alignment has become an important component of AI safety, allowing safe interactions between humans and language models, by enhancing desired behaviors and inhibiting undesired ones. It is often done by tuning the model or inserting preset aligning prompts. Recently, representation engineering, a method which alters the model's behavior via changing its representations post-training, was shown to be effective in aligning LLMs (Zou et al., 2023a). Representation engineering yields gains in alignment oriented tasks such as resistance to adversarial attacks and reduction of social biases, but was also shown to cause a decrease in the ability of the model to perform basic tasks. In this paper we study the tradeoff between the increase in alignment and decrease in helpfulness of the model. We propose a theoretical framework which provides bounds for these two quantities, and demonstrate their relevance empirically. First, we find that under the conditions of our framework, alignment can be guaranteed with representation engineering, and at the same time that helpfulness is harmed in the process. Second, we show that helpfulness is harmed quadratically with the norm of the representation engineering vector, while the alignment increases linearly with it, indicating a regime in which it is efficient to use representation engineering. We validate our findings empirically, and chart the boundaries to the usefulness of representation engineering for alignment.

📄 PDF Abstract BibTeX arXiv:2401.16332

Code (1)

dorin133/repe_alignment_helpfulness_tradeoff 공식 구현 pytorch

Tasks

Language Modelling

Similar Papers 제목 키워드 기반

Equilibrate RLHF: Towards Balancing Helpfulness-Safety Trade-off in Large Language Models

2025-02-17 · Yingshui Tan, Yilei Jiang, Yanshi Li, Jiaheng Liu 외

Fine-tuning large language models (LLMs) based on human preferences, commonly achieved through reinforcement learning from human feedback (RLHF), has been effective in improving their performance. However, maintaining LL…

Safety Alignment

Understanding helpfulness and harmless tension in reward models

2026-06-11 · Eshaan Tanwar, Pepa Atanasova arxiv

Reward models are a key component of reinforcement learning from human feedback (RLHF), aligning language models toward both helpful and harmless behaviour. However, the internal mechanisms underlying these objectives an…

Reinforcement Learning

Watermarking Degrades Alignment in Language Models: Analysis and Mitigation

2025-06-04 · Apurv Verma, NhatHai Phan, Shubhendu Trivedi

Watermarking techniques for large language models (LLMs) can significantly impact output quality, yet their effects on truthfulness, safety, and helpfulness remain critically underexamined. This paper presents a systemat…

Text Generation

What Is the Alignment Tax?

2026-02-09 · Robin Young arxiv

The alignment tax is widely discussed but has not been formally characterized. We provide a geometric theory of the alignment tax in representation space. Under linear representation assumptions, we define the alignment …

Reward Weighted Classifier-Free Guidance as Policy Improvement in Autoregressive Models

2026-04-16 · Alexander Peysakhovich, William Berman arxiv

Consider an auto-regressive model that produces outputs x (e.g., answers to questions, molecules) each of which can be summarized by an attribute vector y (e.g., helpfulness vs. harmlessness, or bio-availability vs. lipo…

Reinforcement Learning