paper-with-me

Papers

Interpreting and Steering LLMs with Mutual Information-based Explanations on Sparse Autoencoders

2025-02-21 · Xuansheng Wu, Jiayi Yuan, Wenlin Yao, Xiaoming Zhai, Ninghao Liu

Large language models (LLMs) excel at handling human queries, but they can occasionally generate flawed or unexpected responses. Understanding their internal states is crucial for understanding their successes, diagnosing their failures, and refining their capabilities. Although sparse autoencoders (SAEs) have shown promise for interpreting LLM internal representations, limited research has explored how to better explain SAE features, i.e., understanding the semantic meaning of features learned by SAE. Our theoretical analysis reveals that existing explanation methods suffer from the frequency bias issue, where they emphasize linguistic patterns over semantic concepts, while the latter is more critical to steer LLM behaviors. To address this, we propose using a fixed vocabulary set for feature interpretations and designing a mutual information-based objective, aiming to better capture the semantic meaning behind these features. We further propose two runtime steering strategies that adjust the learned feature activations based on their corresponding explanations. Empirical results show that, compared to baselines, our method provides more discourse-level explanations and effectively steers LLM behaviors to defend against jailbreak attacks. These findings highlight the value of explanations for steering LLM behaviors in downstream applications. We will release our code and data once accepted.

📄 PDF Abstract BibTeX arXiv:2502.15576

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Steered LLM Activations are Non-Surjective

2026-04-10 · Aayush Mishra, Daniel Khashabi, Anqi Liu arxiv

Activation steering is a popular white-box control technique that modifies model activations to elicit an abstract change in its behavior. It has also become a standard tool in interpretability (e.g., probing truthfulnes…

That's Deprecated! Understanding, Detecting, and Steering Knowledge Conflicts in Language Models for Code Generation

2025-10-21 · Jaesung Bae, Cameron Churchwell, Mitchell Hermon, Tsun-An Hsieh 외 arxiv

This paper investigates how large language models (LLMs) behave when faced with discrepancies between their parametric knowledge and conflicting information contained in a prompt. Building on prior question-answering (QA…

Code Generation

Explaining Representation by Mutual Information

2021-03-28 · Lifeng Gu

As interpretability gains attention in machine learning, there is a growing need for reliable models that fully explain representation content. We propose a mutual information (MI)-based method that decomposes neural net…

BIG-bench Machine LearningFew-Shot Learningimage-classificationImage Classification

Interpreting and Analysing CLIP's Zero-Shot Image Classification via Mutual Knowledge

2024-10-16 · Fawaz Sammani, Nikos Deligiannis

Contrastive Language-Image Pretraining (CLIP) performs zero-shot image classification by mapping images and textual class representation into a shared embedding space, then retrieving the class closest to the image. This…

Classificationimage-classificationImage Classificationzero-shot-classification+2

ExpertSteer: Intervening in LLMs through Expert Knowledge

2025-05-18 · Weixuan Wang, Minghao Wu, Barry Haddow, Alexandra Birch

Large Language Models (LLMs) exhibit remarkable capabilities across various tasks, yet guiding them to follow desired behaviours during inference remains a significant challenge. Activation steering offers a promising me…