Encourage or Inhibit Monosemanticity? Revisit Monosemanticity from a Feature Decorrelation Perspective

Hanqi Yan, Yanzheng Xiang, Guangyi Chen, Yifei Wang, Lin Gui +1 more
6/25/2024
cs.CLcs.AI

No official code found. Best implementation: hanqi-qi/Revisit_monosemanticity (3 stars, last commit 2024-10-18).

Abstract

To better interpret the intrinsic mechanism of large language models (LLMs), recent studies focus on monosemanticity on its basic units. A monosemantic neuron is dedicated to a single and specific concept, which forms a one-to-one correlation between neurons and concepts. Despite extensive research in monosemanticity probing, it remains unclear whether monosemanticity is beneficial or harmful to model capacity. To explore this question, we revisit monosemanticity from the feature decorrelation perspective and advocate for its encouragement. We experimentally observe that the current conclusion by wang2024learning, which suggests that decreasing monosemanticity enhances model performance, does not hold when the model changes. Instead, we demonstrate that monosemanticity consistently exhibits a positive correlation with model capacity, in the preference alignment process. Consequently, we apply feature correlation as a proxy for monosemanticity and incorporate a feature decorrelation regularizer into the dynamic preference optimization process. The experiments show that our method not only enhances representation diversity and activation sparsity but also improves preference alignment performance.

View on arXivView PDF

Code Implementations(1)

30Python, Jupyter NotebookMar 15, 20242 years ago

Similar Papers

Cite this paper

@article{yan2024encourage,
  title  = {Encourage or Inhibit Monosemanticity? Revisit Monosemanticity from a Feature Decorrelation Perspective},
  author = {Hanqi Yan and Yanzheng Xiang and Guangyi Chen and Yifei Wang and Lin Gui and Yulan He},
  year   = {2024},
  eprint = {2406.17969},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.17969v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.17969.svg)](https://codeofpaper.com/paper/2406.17969)

Discussion