논문 해설
CP-MLPs: A Tensor-Rank Theory of Tied and Untied MLP Blocks
CP-MLPs: 묶인 및 묶이지 않은 MLP 블록의 텐서 랭크 이론
- 연구 문제 tied와 untied 게이트 MLP 블록은 같은 대칭 텐서 공간을 서로 다른 원자로 표현하며, 그 폭 차이가 목표 구조에 따라 어떻게 달라지는지가 핵심 문제입니다.
- 연구 방법 각 채널을 detector, value, output 역할의 rank-1 상호작용으로 보고, 입력 대칭화 후 tied 원자와 untied 원자의 최소 개수를 비교합니다.
- 주요 결과 이차 indefinite 목표와 role-asymmetric 단항식에서 untied 원자가 더 낮은 폭을 보였고, 순수 거듭제곱에서는 tied가 잘 맞았습니다. 게이트 MLP에서도 일부 설정에서 untied 우위가 나타났습니다.
연구 질문: tied와 untied 게이트 MLP 블록의 표현 폭
Transformer의 feed-forward 블록에는 제곱 활성화, 게이트, 그리고 tied와 untied 파라미터 공유라는 여러 설계 선택이 함께 들어 있습니다. 이 논문은 그중 detector 방향과 value 방향을 같은 방향으로 묶을지 여부가 표현력에 어떤 차이를 만드는지 묻습니다. 기존에는 게이트의 종류와 tying 방식이 자주 함께 바뀌어, 두 효과를 분리해 보기 어려웠습니다. 이 글은 두 선택을 분리해 공통된 텐서 표기로 비교하는 데 초점을 둡니다.
CP-MLP 원자와 대칭화
CP-MLP에서 각 은닉 채널은 detector 방향 u_a, value 방향 v_a, output 방향 w_a를 가진 rank-1 상호작용을 만듭니다. 폭 m 블록은 채널별 항 w_a g(u_a^T x)(v_a^T x)의 합으로 정의되며, tied 블록은 V=U로 제한하고 untied 블록은 U와 V를 따로 둡니다. 차수 k 성분은 detector-value 텐서를 입력 대칭화한 뒤 평가할 때 입력 슬롯의 순서가 관측되지 않으므로, 실제 함수는 대칭화된 원자로 결정됩니다. tied 원자는 w⊗u^{⊗k}이고 untied 원자는 w⊗Sym(u^{⊗(k-1)}⊗v)입니다. 따라서 두 블록은 같은 대칭 텐서 공간에 있지만 서로 다른 원자 family를 사용합니다.

Table 1 : Feed-forward blocks as CP-MLPs. The gate controls which degrees are active through its polynomial signature; the tying pattern controls whether detector and value directions are shared.
원문 · CC BY 4.0 · Md Rifat Arefin, Farzaneh Heidari, Irina Rish, Guillaume Rabusseau · CP-MLPs: A Tensor-Rank Theory of Tied and Untied MLP Blocks · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.원자 rank와 이차 목표의 폭 차이
목표 텐서에 필요한 최소 원자 수를 tied 원자 rank와 untied 원자 rank로 정의합니다. 모든 untied 표현은 va=ua로 두면 tied 표현이 되므로 untied 원자 rank는 tied 원자 rank보다 작거나 같습니다. 대칭 행렬 M에 대해 tied 원자 rank는 rank(M)이고, untied 원자 rank는 max{n+(M), n-(M)}입니다. 여기서 n+와 n-는 양의 고윳값과 음의 고윳값의 개수입니다. 따라서 M이 indefinite일 때 차이는 min{n+(M), n-(M)}입니다. 한편 M이 semidefinite이면 두 폭은 같습니다. 이 결과는 untied 원자가 양의 방향과 음의 방향을 한 원자에서 짝지을 수 있다는 차이에서 나옵니다.
단항식 목표와 Waring rank
고차에서는 단항식 x1^{k-1}x2가 하나의 untied detector-value 원자로 정확히 표현됩니다. 반면 tied 원자는 순수 거듭제곱 (ℓ^T x)^k이므로 tied 원자 rank는 실수 Waring rank와 같습니다. 단항식 Waring rank 공식에 따르면 이 목표의 tied 원자 rank는 k입니다. 따라서 untied 원자 rank는 1, tied 원자 rank는 k로 분리됩니다. 이 분리는 정확 rank에 대한 것이며, 근사 측면에서는 tied border rank가 2라는 점이 함께 다뤄집니다. 이 결과는 차수 k별 결과로서, 전체 해석 함수에 대한 전역 결론으로 확장되지는 않습니다.
이차 목표 실험과 폭 임계값
indefinite 이차 목표 Q=diag(1_{n+}, -1_{n-}, 0)를 d=8에서 여섯 가지 (n+, n-) 설정으로 실험했습니다. 측정은 폭을 바꿔가며 median MSE를 기록하는 방식이었습니다. tied 블록은 폭 n+ + n-, untied 블록은 폭 max{n+, n-}에서 손실이 기계 정밀도에 도달했고, 그보다 한 폭 작을 때는 손실이 목표 분산 근처에 머물렀습니다. definite 목표에서는 tied와 untied 차이가 없었고, indefinite 목표에서는 예측된 차이 min{n+, n-}가 나타났습니다. 이 결과는 이차 목표라는 설정에서의 확인이며 다른 목표 종류로 일반화하지 않습니다.

Figure 2 : Quadratic targets with (n+, n−) positive and negative directions.Left:required widths match the predictions n+ +n − (tied) and max{n+, n−} (untied).Right:loss stays near the target variance below the predicted width and reaches machine precision at the predicted width.
원문 · CC BY 4.0 · Md Rifat Arefin, Farzaneh Heidari, Irina Rish, Guillaume Rabusseau · CP-MLPs: A Tensor-Rank Theory of Tied and Untied MLP Blocks · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.단항식 폭 스윕과 border rank 해석
계수 공간에서 F_k=x1^{k-1}x2를 k∈{2,3,4,5}에 대해 폭 1부터 k+2까지 맞췄습니다. untied 블록은 모든 k에서 폭 1에서 기계 정밀도에 도달했습니다. 이 구간의 손실 정체는 tied border rank가 2라는 사실과 맞으며, 계수가 잔차가 줄어들수록 발산해야 하는 ill-conditioning으로 해석됩니다. 따라서 폭 m=1의 손실 바닥은 확실한 실패이지만, 2≤m<k의 정체를 곧바로 양의 거리로 보지는 않습니다. 이 정체의 해석은 저자의 해석이며 다른 최적화 조건에서 다르게 나타날 수 있습니다.
순수 거듭제곱과 role-asymmetric 목표 비교
폭 m=1에서 순수 거듭제곱 x1^k와 role-asymmetric 단항식 x1^{k-1}x2를 비교했습니다. 순수 거듭제곱에서는 tied 블록이 기계 정밀도에 도달했고, untied 블록은 redundant value 방향을 detector와 맞추는 과정에서 더 어려움을 겪었습니다. 반대로 role-asymmetric 목표에서는 untied 블록이 폭 1에서 맞고 tied 블록은 맞지 않았습니다. 따라서 낮은 폭에서 어느 블록이 유리한지는 목표 구조에 따라 달라집니다. 이 비교는 합성 계수 목표에서의 결과입니다.
게이트된 MLP 비교와 파라미터 매칭
실제 게이트 블록으로 tied ReLU2, tied SwiGLU, untied ReGLU, untied SwiGLU를 d=4, k∈{2,3}, 폭 m∈{1,2,4}에서 비교했습니다. k=2에서는 untied ReGLU와 untied SwiGLU가 폭 2에서 거의 기계 정밀도에 도달했고, tied ReLU2는 폭 4에서 도달했습니다. k=3에서는 어떤 구조도 기계 정밀도에 이르지 못했으며, untied SwiGLU가 가장 좋았습니다. 입력 투영 파라미터를 맞춘 대조에서는 결과가 차수에 따라 달라서, k=2에서는 tied와 untied가 비슷했고 k=3에서는 untied 폭 4가 tied 폭 8보다 약 10.8배 정확했습니다.
이 결과는 선택된 설정에서의 우위이며 모든 설정에서 untied가 우위라는 뜻은 아닙니다.
한계와 적용 범위
이 연구는 고차 분리를 차수별 결과로 제시하며, 전체 해석 함수의 정확한 폭을 보이지 않습니다. 실험은 대부분 합성 다항식 목표와 계수 공간 피팅에 기반하고, 언어 모델링 과제에서 검증하지 않았습니다. 게이트 MLP 결과는 선택된 차수와 폭, 그리고 입력 투영 매칭 조건에서 나온 것이며 모든 설정에서 일관된 우위를 보이지 않습니다. 또한 border rank 근사 구간의 정체는 손실 곡선만으로 양의 거리가 있다고 판정하기 어렵습니다. 이 점들은 저자가 밝힌 제약이며, 후속 연구에서 다중 leg 원자와 전체 Transformer 평가가 필요합니다.
논문 정보
- 저자
- Md Rifat Arefin, Farzaneh Heidari, Irina Rish, Guillaume Rabusseau
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2026년 11월 10일
- 등록일
- 2026년 11월 11일
- 수정일
- 2026년 11월 10일
- 버전
- v1
- arXiv
- 2611.13647
- 분류
- cs.LG · stat.ML
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
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.
원문 인용
Md Rifat Arefin, Farzaneh Heidari, Irina Rish, Guillaume Rabusseau (2026). CP-MLPs: A Tensor-Rank Theory of Tied and Untied MLP Blocks. arXiv:2611.13647v1. https://arxiv.org/abs/2611.13647v1
BibTeX
@misc{arefin2026mlps,
title = {{CP-MLPs: A Tensor-Rank Theory of Tied and Untied MLP Blocks}},
author = {Md Rifat Arefin and Farzaneh Heidari and Irina Rish and Guillaume Rabusseau},
year = {2026},
eprint = {2611.13647},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.13647v1}
}