Interpretable Reward Model via Sparse Autoencoder
Shuyi Zhang, Wei Shi, Sihang Li, Jiayi Liao, Hengxing Cai, Xiang Wang
TL;DR
SARM tackles the opacity of scalar reward models in RLHF by embedding a pretrained sparse autoencoder (SAE) into the reward model, projecting LLM hidden activations into a sparse, monosemantic feature space. A two-stage training pipeline—sequence-level SAE pretraining followed by standard reward-model training—enables direct feature-level attribution and enables precise, weight-based steering of reward preferences without requiring multidimensional labels. Empirical results show that SARM achieves superior alignment benchmarks compared to baselines while preserving interpretability, including successful targeted manipulation of safety-related features and robust performance at smaller scales. This approach offers a practical path to interpretable and controllable reward modeling with meaningful downstream impact in RLHF deployments.
Abstract
Large language models (LLMs) have been widely deployed across numerous fields. Reinforcement Learning from Human Feedback (RLHF) leverages reward models (RMs) as proxies for human preferences to align LLM behaviors with human values, making the accuracy, reliability, and interpretability of RMs critical for effective alignment. However, traditional RMs lack interpretability, offer limited insight into the reasoning behind reward assignments, and are inflexible toward user preference shifts. While recent multidimensional RMs aim for improved interpretability, they often fail to provide feature-level attribution and require costly annotations. To overcome these limitations, we introduce the Sparse Autoencoder-enhanced Reward Model (SARM), a novel architecture that integrates a pretrained Sparse Autoencoder (SAE) into a reward model. SARM maps the hidden activations of LLM-based RM into an interpretable, sparse, and monosemantic feature space, from which a scalar head aggregates feature activations to produce transparent and conceptually meaningful reward scores. Empirical evaluations demonstrate that SARM facilitates direct feature-level attribution of reward assignments, allows dynamic adjustment to preference shifts, and achieves superior alignment performance compared to conventional reward models. Our code is available at https://github.com/schrieffer-z/sarm.
