Switch Scaling sparse autoencoders (SAEs) offer compute-efficient scaling for sparse autoencoders in LLM feature extraction.
π https://arxiv.org/abs/2410.08201
Original Problem π:
Scaling sparse autoencoders (SAEs) for decomposing neural network activations into interpretable features is computationally expensive, limiting their application to frontier language models.
-----
Solution in this Paper π οΈ:
β’ Introduces Switch Sparse Autoencoders (Switch SAEs)
β’ Combines Switch layer with TopK SAE
β’ Uses multiple expert SAEs and a routing network
β’ Routes input activations to the most probable expert
β’ Avoids dense matrix multiplication in encoder
β’ Trains router and expert SAEs simultaneously
β’ Balances reconstruction and expert utilization
-----
Key Insights from this Paper π‘:
β’ Switch SAEs improve FLOPs vs. training loss over existing methods
β’ Feature duplication across experts reduces SAE capacity
β’ Encoder features cluster by expert, while decoder features are more diffuse
β’ Switch SAEs show bias towards duplicate frequent features
-----
Results π:
β’ Switch SAEs achieve better reconstruction than dense SAEs at fixed compute budget
β’ FLOP-matched Switch SAEs Pareto-dominate TopK, Gated, and ReLU SAEs
β’ Width-matched Switch SAEs perform slightly worse than TopK SAEs but outperform ReLU SAEs
β’ Switch SAEs reduce FLOPs per activation by up to 128x while maintaining ReLU SAE performance
β’ Feature interpretability remains similar to TopK SAEs










