White-Box Transformers via Sparse Rate Reduction: Compression Is All There Is?
Yaodong YuSam BuchananDruv PaiTianzhe ChuZiyang WuShengbang TongHao BaiYuexiang ZhaiBenjamin D. HaeffeleYi Ma
Yaodong Yu
Sam Buchanan
Druv Pai
Tianzhe Chu
Ziyang Wu
Shengbang Tong
Hao Bai
Yuexiang Zhai
Benjamin D. Haeffele
Yi Ma
+10
The authors propose that the goal of representation learning is to compress and transform token distributions toward a low-dimensional Gaussian mixture on incoherent subspaces, measured by "sparse rate reduction," which jointly maximizes intrinsic information gain and extrinsic sparsity. Under this view, transformer blocks arise from alternating optimization on parts of this objective: multi-head self-attention approximately gradient-descent steps on the feature coding rate, and the MLP sparsifies the features. The resulting white-box architectures, CRATE, are fully mathematically interpretable, and a novel denoising–compression connection shows the same class of architectures also inverts this encoding, making them universal encoders and decoders that perform strongly across ViT, MAE, DINO, BERT, and GPT2 settings.

JMLR · 2024