Natural Language Dictionaries: Learning Interpretable Decompositions of LLM Behavior
Daniel Vennemeyer, Saptarshi Ghosh, Yidan Jin, Tommaso Giovannini, Tianyu Jiang
Abstract
Large language model (LLM) research often treats broad behaviors such as sycophancy as a single unit. Yet responses that share a broad behavior can reflect separate underlying behaviors. One sycophantic response may agree with the user, while another praises them. These are more than differences in wording, since the model itself represents these behaviors separately. But splitting a broad behavior by hand may miss this internal structure, and methods such as PCA and sparse autoencoders (SAEs) produce descriptions that often sound plausible but fail to track their directions. We propose Natural Language Dictionaries (NLD), which learns a small set of natural-language descriptions directly from examples of the behavior. Each description starts as a trainable soft prompt that the model uses to rate how strongly a response expresses it. NLD trains these prompts so that their ratings together explain how responses with the behavior differ from one another, and then finds directions in the model's activations that track and steer each one. Across social sycophancy, deception, and emotion, NLD's descriptions consistently match their directions more closely than those of PCA and SAEs. NLD dictionaries are also more selective, as steering along one entry changes its own behavior more than the others. Finally, both NLD's descriptions and its directions detect the behavior in new datasets, matching or exceeding PCA, SAEs, and expert taxonomies.
Create a lesson
Related papers
Context on the Imaginary Axis: Input-Conditioned Convolution for Natural Language Inference
Shared title terminologycs.CLXin Zhang, Hanyao Zeng, Victor S. Sheng
Distilling Model-Inherent Reasoning Circuit for Large Language Models
Shared title terminologycs.CLWenshui Luo, Jialiang Tang, Jie Yang et al.
Distilling Language Knowledge Across Generative Processes
Shared title terminologycs.CLYangtian Zhang, Yizhe Zhang, Hanqing Zeng et al.
UnCommit: Unlearning Overcommitment to Reduce Hallucinations in Large Language Models
Shared title terminologycs.CLVy Nguyen, Ziqi Xu, Jeffrey Chan et al.
DLA: Decomposed Latent Attention for Looped Language Models
Shared title terminologycs.CLZhenhe Wu, Weihua He, Xinlai Kang et al.
DualBO: Diversity-Aware Candidate Generation and Semantics-Behavior Coupled Bayesian Optimization for Prompt Search
Shared title terminologycs.CLRuotian Wu, Ahmad Rashid, Syed Shariyar Murtaza et al.