CLDec 26, 2023

Aligning Large Language Models with Human Preferences through Representation Engineering

arXiv:2312.15997v390 citationsh-index: 10ACL
Originality Highly original
AI Analysis

This work addresses the challenge of making LLMs more helpful, truthful, safe, harmless, and interesting for users, offering a novel alternative to reinforcement learning methods.

The paper tackles the problem of aligning large language models with human preferences by introducing Representation Alignment from Human Feedback (RAHF), which identifies and manipulates model representations to control behavior, achieving effective and computationally efficient alignment across diverse preferences.

Aligning large language models (LLMs) with human preferences is crucial for enhancing their utility in terms of helpfulness, truthfulness, safety, harmlessness, and interestingness. Existing methods for achieving this alignment often involves employing reinforcement learning from human feedback (RLHF) to fine-tune LLMs based on human labels assessing the relative quality of model responses. Nevertheless, RLHF is susceptible to instability during fine-tuning and presents challenges in implementation.Drawing inspiration from the emerging field of representation engineering (RepE), this study aims to identify relevant representations for high-level human preferences embedded in patterns of activity within an LLM, and achieve precise control of model behavior by transforming its representations. This novel approach, denoted as Representation Alignment from Human Feedback (RAHF), proves to be effective, computationally efficient, and easy to implement.Extensive experiments demonstrate the efficacy of RAHF in not only capturing but also manipulating representations to align with a broad spectrum of human preferences or values, rather than being confined to a singular concept or function (e.g. honesty or bias). RAHF's versatility in accommodating diverse human preferences shows its potential for advancing LLM performance.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes