Reproduce “Exact Fusion of Softmax Attention Heads Can Require Exponentially Many Atoms” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Hiroyasu Usami, Keisuke Hara, Ayato Tsuboi, Naohiko Matsuda

The authors show separate attention heads can require exponentially many atoms when replaced by one exact softmax readout. For W_d, a sum of d logistic sigmoids, d two-entry heads use 2d head–atom terms, while an equivalent single head needs 2^d atoms, even with redesigned keys, values, and positive masses. The lower bound holds for uniform error strictly below 1/2, not every model cache.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.