CP-MLPs: A Tensor-Rank Theory of Tied and Untied MLP Blocks
Md Rifat Arefin, Farzaneh Heidari, Irina Rish, Guillaume Rabusseau
Abstract
Transformer feed-forward blocks combine several design choices: squared activations, gating, and tied versus untied parameter sharing, whose separate contributions to expressivity remain poorly understood. We introduce CP-MLPs, a tensor framework in which each multiplicative unit contributes a rank-1 interaction with three roles: detecting an input feature, reading a value, and writing to the output. Tied gated blocks such as ReLU force the detector and value roles to share the same direction; untied gated blocks such as ReGLU and SwiGLU let them differ. We show that this distinction yields exact, degree-wise tensor-rank separations: untied detector-value units are strictly more width-efficient for indefinite quadratic interactions and role-asymmetric monomials, while tied units are structurally matched to symmetric pure-power targets. The width advantage of untying therefore depends on the target structure. Experiments show loss plateaus below the exact-representation width, but these plateaus alone do not establish a positive approximation gap: arbitrarily accurate approximation is governed by border rank. In trained gated MLPs, untied blocks retain an advantage in selected comparisons at matched input-projection budget. Code is available at https://github.com/rarefin/CP-MLPs.
Create a lesson
Metadata
- Categories
- cs.LG, stat.ML
Related papers
Low-Rank Tensor Representations for Efficient Multimarginal Optimal Transport
Shared title terminologycs.LGJohann Cl{é}ment-Cottuz, Gilles Gasso, Maxime Berar
Precision-Aware Learning Rate Transfer Across Block Count in LLM Post-Training
Shared title terminologycs.LGNan Chen, Soledad Villar, Soufiane Hayou
Characterizing Predictive Multiplicity in Ranking and Its Fairness Implications
Shared title terminologycs.LGAinhize Barrainkua, Mikel Malagón
Pyrite: Building and Benchmarking Protein-Ligand Pose Ranking Agents
Shared title terminologycs.LGMegha Srivastava, Michael H. Lim, Allison M. Keys et al.
A Theory of Policy Optimization in Post-Training: Coverage Collapse and Reference Resets
Shared title terminologycs.LGAudrey Huang, Nan Jiang, Sham M. Kakade et al.
Dual-Core Tensor Wheel Decomposition with Structure-Cached Acceleration for Tensor Recovery
Shared title terminologycs.LGWenchao Xie, Qingsong Wang