mlsanityData to 7 Oct 2026

Geometry-Guided Layerwise FFN Width Allocation in Transformers

arXiv 2608.02064 ↗First posted 3 Aug 2026cs.LG cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Feed-forward networks (FFNs) account for a large fraction of Transformer parameters, yet their hidden width is usually constant across depth. We ask whether this capacity can instead be allocated from a forward-pass measurement of layer behavior. We view each FFN as transporting a cloud of token representations and quantify the induced geometric change using correspondence-preserving shift, Gromov-Wasserstein distortion, and degree-one persistent homology under raw and scale-normalized metrics. A layerwise approximation surrogate yields an exact fixed-budget optimizer. Across seven pretrained language models, raw Euclidean work largely tracks residual-norm growth, whereas normalized work is predominantly front-loaded. Gromov-Wasserstein work is more consistently associated with perturbation-based layer sensitivity than the finite-sample topological estimate. In paired 128M and 256M training runs, several normalized-work schedules reduce mean validation loss relative to both uniform width and a hand-designed cosine taper. With the amplified paired differences at 440M, the best geometry-based allocations improve over uniform substantially larger than the cosine taper, while the anti-topological raw control is worse than uniform.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 10 of its 23 references that are in the map. First posted on arXiv 3 Aug 2026.

Builds on

10 of 23 references.

References · 10

  1. 2017Attention Is All You Needcited by 59,932
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2016Layer Normalizationcited by 5,579
  4. 2019Root Mean Square Layer Normalizationcited by 1,425
  5. 2020On Layer Normalization in the Transformer Architecturecited by 906
  6. 2018Computational Optimal Transportcited by 765
  7. 2016Error bounds for approximations with deep ReLU networkscited by 567
  8. 2019Intrinsic dimension of data representations in deep neural networkscited by 276
  9. 2018Estimating the intrinsic dimension of datasets by a minimal neighborhood informationcited by 246
  10. 2017Residual Connections Encourage Iterative Inferencecited by 74

Built on by

Not cited yet.