paper-with-me

홈 › Papers

Improving Sparse Autoencoder with Dynamic Attention

2026-04-16 · Dongsheng Wang, Jinsen Zhang, Dawei Su, Hui Huang arxiv

Recently, sparse autoencoders (SAEs) have emerged as a promising technique for interpreting activations in foundation models by disentangling features into a sparse set of concepts. However, identifying the optimal level of sparsity for each neuron remains challenging in practice: excessive sparsity can lead to poor reconstruction, whereas insufficient sparsity may harm interpretability. While existing activation functions such as ReLU and TopK provide certain sparsity guarantees, they typically require additional sparsity regularization or cherry-picked hyperparameters. We show in this paper that dynamically sparse attention mechanisms using sparsemax can bridge this trade-off, due to their ability to determine the activation numbers in a data-dependent manner. Specifically, we first explore a new class of SAEs based on the cross-attention architecture with the latent features as queries and the learnable dictionary as the key and value matrices. To encourage sparse pattern learning, we employ a sparsemax-based attention strategy that automatically infers a sparse set of elements according to the complexity of each neuron, resulting in a more flexible and general activation function. Through comprehensive evaluation and visualization, we show that our approach successfully achieves lower reconstruction loss while producing high-quality concepts, particularly in top-n classification tasks.

📄 PDF Abstract BibTeX arXiv:2604.14925

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Steering Sparse Autoencoder Latents to Control Dynamic Head Pruning in Vision Transformers (Student Abstract)

2026-03-23 · Yousung Lee, Dongsoo Har arxiv

Dynamic head pruning in Vision Transformers (ViTs) improves efficiency by removing redundant attention heads, but existing pruning policies are often difficult to interpret and control. In this work, we propose a novel f…

A Robust SINDy Autoencoder for Noisy Dynamical System Identification

2026-04-06 · Kairui Ding arxiv

Sparse identification of nonlinear dynamics (SINDy) has been widely used to discover the governing equations of a dynamical system from data. It uses sparse regression techniques to identify parsimonious models of unknow…

Multi-view Subspace Adaptive Learning via Autoencoder and Attention

2022-01-01 · Jian-wei Liu, Hao-jie Xie, Run-kun Lu, Xiong-lin Luo

Multi-view learning can cover all features of data samples more comprehensively, so multi-view learning has attracted widespread attention. Traditional subspace clustering methods, such as sparse subspace clustering (SSC…

ClusteringMULTI-VIEW LEARNING

Interpreting Attention Layer Outputs with Sparse Autoencoders

2024-06-25 · Connor Kissane, Robert Krzyzanowski, Joseph Isaac Bloom, Arthur Conmy 외

Decomposing model activations into interpretable components is a key open problem in mechanistic interpretability. Sparse autoencoders (SAEs) are a popular method for decomposing the internal activations of trained trans…

Efficient Real-Time Adaptation of ROMs for Unsteady Flows Using Data Assimilation

2026-02-26 · Ismaël Zighed, Andrea Nóvoa, Luca Magri, Taraneh Sayadi arxiv

We propose an efficient retraining strategy for a parameterized Reduced Order Model (ROM) that attains accuracy comparable to full retraining while requiring only a fraction of the computational time and relying solely o…

Dimensionality Reduction