mlsanityData to 14 Oct 2026

Self-Regularization with Sparse Autoencoders for Controllable LLM-based Classification

arXiv 2502.14133 ↗First posted 19 Feb 2025cs.CLcited by 5

On the map: Mechanistic interpretability → SAE features and their applications

Abstract (arXiv)

Modern text classification methods heavily rely on contextual embeddings from large language models (LLMs). Compared to human-engineered features, these embeddings provide automatic and effective representations for classification model training. However, they also introduce a challenge: we lose the ability to manually remove unintended features, such as sensitive or task-irrelevant features, to guarantee regulatory compliance or improve the generalizability of classification models. This limitation arises because LLM embeddings are opaque and difficult to interpret. In this paper, we propose a novel framework to identify and regularize unintended features in the LLM latent space. Specifically, we first pre-train a sparse autoencoder (SAE) to extract interpretable features from LLM latent spaces. To ensure the SAE can capture task-specific features, we further fine-tune it on task-specific datasets. In training the classification model, we propose a simple and effective regularizer, by minimizing the similarity between the classifier weights and the identified unintended feature, to remove the impact of these unintended features on classification. We evaluate the proposed framework on three real-world tasks, including toxic chat detection, reward modeling, and disease diagnosis. Results show that the proposed self-regularization framework can improve the classifier's generalizability by regularizing those features that are not semantically correlated to the task. This work pioneers controllable text classification on LLM latent spaces by leveraging interpreted features to address generalizability, fairness, and privacy challenges. The code and data are publicly available at https://github.com/JacksonWuxs/Controllable_LLM_Classifier.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in SAE features and their applications, one of 13 directions in Mechanistic interpretability. Builds on 36 of its 68 references that are in the map. First posted on arXiv 19 Feb 2025.

Builds on

36 of 68 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024Improving Dictionary Learning with Gated Sparse Autoencoders24 Apr
  2. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Models15 Sep

Other references · 34

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  4. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  5. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
  6. 2017Decoupled Weight Decay Regularizationcited by 1,831
  7. 2019When Does Label Smoothing Help?cited by 988
  8. 2022Toy Models of Superpositioncited by 971
  9. 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 839
  10. 2024Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Modelscited by 435
  11. 2024Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2cited by 394
  12. 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 356
22 more
  1. 2023Large Language Models for Information Retrieval: A Surveycited by 331
  2. 2019Mitigating Gender Bias in Natural Language Processing: Literature Reviewcited by 287
  3. 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 236
  4. 2024HelpSteer2: Open-source dataset for training top-performing reward modelscited by 236
  5. 2023ToxicChat: Unveiling Hidden Challenges of Toxicity Detection in Real-World User-AI Conversationcited by 231
  6. 2013k-Sparse Autoencoderscited by 215
  7. 2017Spectral Norm Regularization for Improving the Generalizability of Deep Learningcited by 182
  8. 2016Linear Algebraic Structure of Word Senses, with Applications to Polysemycited by 165
  9. 2022Analyzing Transformers in Embedding Spacecited by 132
  10. 2022Bias Mitigation for Machine Learning Classifiers: A Comprehensive Surveycited by 125
  11. 2023WebGLM: Towards An Efficient Web-Enhanced Question Answering System with Human Preferencescited by 100
  12. 2022Polysemanticity and Capacity in Neural Networkscited by 77
  13. 2019End-to-End Knowledge-Routed Relational Dialogue System for Automatic Diagnosiscited by 70
  14. 2018Evaluating Layers of Representation in Neural Machine Translation on Part-of-Speech and Semantic Tagging Taskscited by 56
  15. 2023From Language Modeling to Instruction Following: Understanding the Behavior Shift in LLMs after Instruction Tuningcited by 56
  16. 2021Probing BERT in Hyperbolic Spacescited by 50
  17. 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understandingcited by 47
  18. 2024CoD, Towards an Interpretable Medical Agent using Chain of Diagnosiscited by 43
  19. 2024Evaluating Open-Source Sparse Autoencoders on Disentangling Factual Knowledge in GPT-2 Smallcited by 34
  20. 2019Stable and Fair Classificationcited by 25
  21. 2024Navigating the Shortcut Maze: A Comprehensive Analysis of Shortcut Learning in Text Classification by Language Modelscited by 10
  22. 2022Measuring Fairness of Text Classifiers via Prediction Sensitivitycited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Unveiling Decision-Making in LLMs for Text Classification : Extraction of influential and interpretable concepts with Sparse Autoencoders
  2. 2025Sparse Shift Autoencoders for Identifying Concepts from Large Language Model Activations
  3. 2025A Survey on Sparse Autoencoders: Interpreting the Internal Mechanisms of Large Language Models
  4. 2025Interpretable Embeddings with Sparse Autoencoders: A Data Analysis Toolkit
  5. 2025Interpreting and Steering LLMs with Mutual Information-based Explanations on Sparse Autoencoders
  6. 2025Fine-Tuning Causal LLMs for Text Classification: Embedding-Based vs. Instruction-Based Approaches
  7. 2025Sparse Autoencoder Features for Classifications and Transferability
  8. 2024Quantifying Feature Space Universality Across Large Language Models via Sparse Autoencoders