SAE Interprets MoE: Sparse AutoEncoders Reveal That MoE Experts Exhibit Human-Interpretable Fine-Grained Specialization

Anyuan Zhuo, Shaohua Zhang, Yuan Lin, Pinyan Lu

arXiv:2611.08089 · 2026-11-08 공개 · arXiv · PDF

mixture-of-experts sparse-autoencoder qwen3-30b-a3b latent-activation expert-contribution java-code front-end-web geometry-arithmetic

Abstract

Mixture-of-Experts (MoE) models route each token to a few of many experts, yet what an individual expert is responsible for remains unsettled. Existing analyses count how often an expert is selected on domain-labeled corpora, an instrument that fixes the taxonomy in advance, stays coarse, and records selection rather than contribution. We instead study specialization in feature space by training a sparse autoencoder (SAE) on the output of an MoE layer. Since this output is a router-weighted sum of expert outputs and the SAE encoder is affine, the pre-activation of every latent decomposes exactly over the experts. Aggregated over a corpus, this gives each expert a dominant set of latents whose activation it principally drives. On layers 4, 30 and 46 of Qwen3-30B-A3B, contribution is far more concentrated than gating, most latents have only one or two dominators, and the overlap between dominant sets concentrates on a few expert pairs. Auto-interpreting these sets reveals a division of labor below coarse domains, with distinct experts for Java and front-end web code, or for geometry and for arithmetic and polynomials, while the coarse domains themselves take very unequal numbers of experts. Our SAEs and code are available at https://github.com/Bytedance-Seed/SAE-Interprets-MoE.

한국어 요약

한 줄 요약

MoE 전문가의 세분화된 특화를 SAE를 통해 인간 해석 가능한 수준으로 밝혀낸 연구.

핵심 기여도

핵심 아이디어

기존 연구는 도메인 라벨이 있는 코퍼스에서 전문가 선택 빈도를 분석하는 방식을 사용했으나, 이는 세부 특화를 파악하기 어렵고 세부 기여도를 반영하지 못한다. 본 연구는 MoE 레이어 출력에 SAE를 학습시켜 특징 공간에서 전문가의 기여도를 분석한다. SAE 인코더가 아핀 함수이기 때문에, 라우터 가중치로 결합된 전문가 출력을 정확히 분해할 수 있다. 이를 통해 각 레이턴트의 주요 생성자인 전문가 집합을 식별하고, 이를 코퍼스 전체에서 집계하여 전문가의 세분화된 특화를 드러낸다.

기술적 접근법

주요 결과

의의 및 한계

본 연구는 MoE 모델의 전문가가 단순한 도메인 레이블보다 훨씬 세분화된 특화를 가질 수 있음을 보여준다. 이는 모델 해석의 새로운 차원을 제시하며, 인간이 이해할 수 있는 수준의 모델 내부 구조를 드러내는 데 기여한다. 그러나 분석은 특정 레이어와 모델에 국한되었으며, 다른 아키텍처나 데이터셋에서의 일반화 가능성은 명시되지 않음.

실용적 활용

이 연구는 대규모 언어 모델의 내부 작동 메커니즘을 해석하는 데 활용될 수 있으며, 모델 디버깅, 튜닝, 신뢰성 향상 등에 기여할 수 있다. 특히, 코드 생성, 수학 문제 해결 등 특정 분야에서 전문가의 특화를 활용한 모델 최적화에 적용 가능.