arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.13647cs.LGstat.ML
收藏

CP-MLPs:绑定与非绑定MLP块的张量秩理论

CP-MLPs: A Tensor-Rank Theory of Tied and Untied MLP Blocks

Mila – Quebec AI Institute(米拉-魁北克人工智能研究所);Université de Montréal(蒙特利尔大学)

Md Rifat Arefin, Farzaneh Heidari, Irina Rish, Guillaume Rabusseau

AI总结:

该研究提出CP-MLPs张量框架,揭示绑定与非绑定MLP块的张量秩差异,实验表明非绑定块在匹配预算下具宽度效率优势,代码已公开。

摘要:

Transformer的前馈块结合了多种设计选择:平方激活、门控以及绑定与非绑定参数共享,这些选择对表达能力的单独贡献仍知之甚少。我们提出CP-MLPs,这是一个张量框架,其中每个乘法单元贡献一个具有三种角色的秩1交互:检测输入特征、读取值以及写入输出。绑定门控块(如ReLU²)强制检测器和值角色共享同一方向;非绑定门控块(如ReGLU和SwiGLU)允许它们不同。我们表明,这种区别产生了精确的、按次数划分的张量秩分离:对于不定二次交互和角色非对称单项式,非绑定检测器-值单元在宽度效率上严格更高,而绑定单元在结构上与对称纯幂次目标匹配。因此,非绑定的宽度优势取决于目标结构。实验显示,在精确表示宽度以下存在损失平台,但这些平台本身并不能确立正近似间隙:任意精度的近似由边界秩决定。在训练的门控MLPs中,在匹配输入投影预算的选定比较中,非绑定块保留优势。代码可在该https URL获取。

英文摘要:

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$^2$ 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑