analiza aiqbench
SharedSAE introduces a method to share sparse autoencoder dictionaries across different language models, significantly reducing the computational overhead of training separate interpreters for each model. By retaining activation magnitudes and enabling single-model inference through dropout, this approach maintains high reconstruction quality while facilitating the transfer of latent descriptions between distinct model families. This advancement addresses a key bottleneck in model interpretability by making SAEs more scalable and efficient for analyzing diverse large language models.
SharedSAE: One Feature Dictionary Across Language Models
De la arXiv
Text integralSparse autoencoders (SAEs) are widely used to interpret language model activations, but SAE training and latent labelling are typically repeated for every model. Here, we show that a single shared SAE can replace a collection of dedicated per-model SAEs. Our method, SharedSAE, combines a shared dictionary with model-specific encoder-decoder pairs. Unlike the closest prior method, which discards activation magnitudes and requires all models at inference, SharedSAE instead normalizes only selection scores, preserving magnitudes, and uses model dropout for single-model inference.
We train SharedSAE on four 1B-scale base language models spanning distinct families and tokenizers. Despite sharing its latents across models, SharedSAE retains 96.6% of dedicated SAEs' mean explained variance; its latent activations exhibit cross-model correlations 1.8 times as high as separate SAEs aligned post-hoc, and its latent descriptions transfer across models. After the dictionary is frozen, new models can be efficiently adapted to it, achieving near-dedicated-SAE reconstruction quality while reusing the shared latent descriptions.
Text integral sub licența deschisă a publicației · 154 cuvinte