AlignSAE: Concept-Aligned Sparse Autoencoders
Minglai Yang, Xinyu Guo, Mihai Surdeanu, Liangming Pan
TL;DR
This work addresses the opacity of knowledge in large language models by introducing AlignSAE, a concept-aligned sparse autoencoder trained in a two-stage curriculum on frozen LLM activations. By dedicating a small set of latent slots to ontology-defined relations and keeping the rest as a free feature bank, AlignSAE achieves near one-to-one binding in mid-layer representations and enables reliable causal interventions, such as concept swaps, with minimal interference to unrelated content. The approach yields a verifiable interface that supports slot-level inspection and steering, demonstrated on a synthetic biography QA task with strong generalization to unseen templates. Overall, AlignSAE provides a practical, modular step toward interpretable and controllable world-knowledge interfaces for frozen LLMs, laying groundwork for hierarchical ontologies, tool integration, and multi-hop reasoning in future work.
Abstract
Large Language Models (LLMs) encode factual knowledge within hidden parametric spaces that are difficult to inspect or control. While Sparse Autoencoders (SAEs) can decompose hidden activations into more fine-grained, interpretable features, they often struggle to reliably align these features with human-defined concepts, resulting in entangled and distributed feature representations. To address this, we introduce AlignSAE, a method that aligns SAE features with a defined ontology through a "pre-train, then post-train" curriculum. After an initial unsupervised training phase, we apply supervised post-training to bind specific concepts to dedicated latent slots while preserving the remaining capacity for general reconstruction. This separation creates an interpretable interface where specific relations can be inspected and controlled without interference from unrelated features. Empirical results demonstrate that AlignSAE enables precise causal interventions, such as reliable "concept swaps", by targeting single, semantically aligned slots.
