# PRISM: Distribution-free Adaptive Computation of Matrix Functions for Accelerating Neural Network Training

PRISM: 신경망 학습 가속을 위한 행렬 함수의 분포-무관 적응형 계산

Shenghao Yang, Zhichao Wang, Oleg Balabanov, N. Benjamin Erichson, Michael W. Mahoney · arXiv · 2026년 1월 29일

- **연구 문제** 행렬 부호, 제곱근, 직교화 같은 행렬 함수는 신경망 옵티마이저의 전처리에 필요하지만, 기존 반복법은 입력 스펙트럼의 경계를 미리 알아야 하는 경우가 많습니다.
- **연구 방법** PRISM은 Newton-Schulz 계열 반복의 Taylor 계수를 현재 잔차 스펙트럼에 맞춘 다항식 계수로 바꾸고, 그 계수를 랜덤 스케치로 저비용 추정합니다.
- **주요 결과** d=1의 이론적 수렴 상한과 스케치 근사의 보장을 제시하며, 직교화 실험에서 고정 계수 방법보다 빠르게 수렴하고 Shampoo와 Muon 학습에서 보고된 설정의 손실·정확도를 개선했다고 보고합니다.

## 연구 문제와 기존 방법의 한계

행렬의 제곱근, 역근, 직교화(극 분해)는 Shampoo나 Muon 같은 전처리 옵티마이저에서 반복적으로 필요합니다. 고유값 분해나 SVD는 정확하지만 GPU에서 비용이 크고, 행렬 곱셈 중심의 Newton-Schulz 계열 반복은 이 문제를 줄입니다. 그러나 이 반복들은 계수를 정하기 위해 입력의 스펙트럼 경계나 특이값 추정이 필요한 경우가 많습니다. 이 추정 자체가 정확한 행렬 함수 계산만큼 비싸질 수 있습니다. PRISM은 이 지점을 겨냥하여 스펙트럼 경계 없이 현재 반복의 잔차 스펙트럼에 맞춰 계수를 정하는 가속 프레임워크로 제시됩니다. 특정 구간에 맞춰 최적화된 PolarExpress는 입력 스펙트럼이 그 구간과 어긋나면 오히려 수렴을 늦출 수 있습니다.

## Newton-Schulz 반복과 Taylor 근사의 출발점

PRISM이 가속하는 기준 반복은 행렬 부호 함수를 Newton-Schulz 반복으로 계산하는 방식입니다. 부호 함수는 sign(A)=A(A^2)^{-1/2}로 정의되며, \\(f(\\xi)=(1-\\xi)^{-1/2}\\)로 두고 ξ=I−X^2 주변에서 Taylor 다항식 f\_d를 쓰면 X\_{k+1}=X\_k f\_d(R\_k) 형태의 반복을 얻습니다. d=1이면 X\_{k+1}=X\_k(I+R\_k/2)이며, 이는 3차 Newton-Schulz에 해당합니다. 이 분석은 A^2가 대칭이고 ∥A∥\_2≤1이라는 가정을 둡니다. 저자들은 이 조건이 A/∥A∥\_F 정규화로 쉽게 만족된다고 설명합니다. 다만 고유값이 0에 가까운 초기 단계에서는 Taylor 다항식의 오차가 커져 초기 수렴이 느려집니다.

## 다항식 적합으로 계수 바꾸기

PRISM은 Taylor 다항식 f\_d를 \\(g\_d(\\xi;\\alpha)=f\_{d-1}(\\xi)+\\alpha\\xi^d\\)로 바꿉니다. 차수 d−1까지의 계수는 유지하고 최고차 항의 계수 α만 바꾸는 구조입니다. 각 반복에서는 잔차 행렬 R\_k의 고유값 위에서 f(ξ)를 가장 잘 맞추는 α를 제곱 노름 최소화로 고릅니다. d=1에서는 g\_1(ξ;α)=1+αξ이며, 이 적합은 Taylor 계수를 고정한 경우보다 큰 잔차 영역에서 f(ξ)에 더 가깝게 맞출 수 있습니다. α는 구간 \[ℓ,u\]에 제한되어 과도한 값으로 인한 잔차 진동을 막고, 이 제약은 적합을 안정화하는 역할도 합니다.

## 랜덤 스케치로 계수 계산 비용 줄이기

계수 α를 정하는 목적함수는 α에 대한 4차 다항식이며, 계수는 잔차 행렬의 거듭제곱에 대한 trace로 계산됩니다. 이를 정확히 계산하면 행렬 곱셈이 여러 번 필요해 한 번의 Newton-Schulz 반복보다 비쌀 수 있습니다. PRISM은 OSE 성질을 가진 Gaussian 스케치 행렬 S\_k를 곱해 tr(S\_k R\_k^i S\_k^T) 형태의 값으로 계수를 계산합니다. 원문은 이 계산이 O(n^2 p) 시간이며 한 번의 반복 비용 O(n^3)보다 작을 수 있다고 제시합니다. 또한 d=1과 d=2에서 실험적으로 p가 5 정도로 작아도 수렴 속도가 유지되었다고 보고합니다.

## 수렴 보장의 범위

Theorem 1은 d=1, \[ℓ,u\]=\[1/2,1\]에서 정확한 α로 갱신한 반복이 sign(A)로 수렴하며, ∥I−X\_k^2∥\_2≤∥I−A^2∥\_2^{2^{k−2}}의 상한을 가진다고 기술합니다. 이 결과는 ∥A∥\_2≤1과 A^2 대칭성이라는 가정 아래의 결론입니다. Theorem 2는 스케치로 정한 α̃\_k를 쓰더라도, p≥48(log n+log(1/δ)+log k+27.6) 조건에서 높은 확률 1−δ로 같은 형태의 상한을 유지한다고 기술합니다. 이 보장은 d=1의 경우에 한정되며, d=2에 대해 저자들은 구간 \[3/8,29/20\]을 경험적으로 좋은 선택으로 보고합니다. 저자들은 같은 논증이 d≥2로 일반화될 것으로 봅니다.

## 제곱근과 직교화로의 확장

Theorem 3과 Theorem 4의 결과는 부호 함수 반복을 제곱근과 극 분해로 옮기는 근거로 쓰입니다. 제곱근은 결합 반복 X\_{k+1}=X\_k g\_d(R\_k;α\_k), Y\_{k+1}=g\_d(R\_k;α\_k)Y\_k로 계산되며 R\_k=I−X\_kY\_k입니다. 직교화(극 인자 UV^T)에서는 R\_k=I−X\_k^T X\_k를 사용합니다. d=1은 3차 Newton-Schulz에, d=2는 5차 Newton-Schulz에 대응하며, α 계산 절차는 부호 계산과 같습니다.

![Table 1: PRISM-accelerated algorithms for computing a few primitive matrix functions that arise in neural network optimizers](https://refivu.com/papers/992e9cc0-6d5a-46ce-a43c-f980e78790bc/figures/figure-354346d3fd07c232484417b9ffd39d47.png?thumb=512)

**Table 1** : PRISM-accelerated algorithms for computing a few primitive matrix functions that arise in neural network optimizers

[원문](https://arxiv.org/abs/2601.22137v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shenghao Yang, Zhichao Wang, Oleg Balabanov, N. Benjamin Erichson, Michael W. Mahoney · PRISM: Distribution-free Adaptive Computation of Matrix Functions for Accelerating Neural Network Training · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 직교화 수렴 비교

실험 6.1은 PRISM 기반 5차 Newton-Schulz를 직교화 계산에서 고전적 Newton-Schulz 및 PolarExpress와 비교합니다. 측정 지표는 ∥I−X\_k^TX\_k∥\_F이며, 반복 횟수 대신 벽시계 시간으로 비교합니다. 입력은 종횡비 γ=1, 4, 50의 가우시안 행렬과 HTMP로 생성한 무거운 꼬리 스펙트럼 행렬입니다. PRISM은 입력 스펙트럼에 따라 α\_k가 다르게 정해지며, 보고된 실험에서 가장 빠르게 수렴했습니다. 이 결과는 단정밀도와 A100 GPU에서 얻은 관찰이며, 반복 횟수 기준 결과는 부록 D에 있습니다.

## 스펙트럼 경계 불일치에 대한 민감도

Figure 1은 σmax=1로 고정하고 σmin을 10^-12에서 1/2까지 바꾸어 Newton-Schulz 대비 GPU 시간 속도 향상을 비교합니다. PolarExpress는 극 분해에서 σmin=10^-3에 맞게 최적화되어 있으며, 실제 σmin이 이 값에서 벗어날수록 속도 향상이 떨어진다고 보고됩니다. 같은 그림의 캡션에서 PRISM은 σmin을 요구하지 않으며 전체 범위에서 안정적인 속도 향상을 보인다고 설명합니다. 이 비교는 모든 알고리즘을 수렴할 때까지 실행한 조건에서의 결과입니다.

![Figure 1: Speedup in GPU time over the classical Newton-Schulz for polar decomposition (left) and square root (right). We keepσmax = 1and vary σmin∈ \[10−12, 1/…](https://refivu.com/papers/992e9cc0-6d5a-46ce-a43c-f980e78790bc/figures/figure-4080429c2d370d0e06df1b490453e3de.png?thumb=512)

**Figure 1** : Speedup in GPU time over the classical Newton-Schulz for polar decomposition (left) and square root (right). We keepσmax = 1and vary σmin∈ \[10−12, 1/2\]. The PolarExpress variant we use is optimized for σmin = 10−3 for polar decomposition (and hence it is optimized forσmin = 10−6 for square root). All algorithms are run until convergence. In both cases, we see a performance degradation asσmin deviates from the one PolarExpress is optimized for. PRISM (this work) does not require or assumeσmin and has a stable speedup across the entire range.

[원문](https://arxiv.org/abs/2601.22137v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shenghao Yang, Zhichao Wang, Oleg Balabanov, N. Benjamin Erichson, Michael W. Mahoney · PRISM: Distribution-free Adaptive Computation of Matrix Functions for Accelerating Neural Network Training · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## Shampoo와 Muon 학습 실험

Shampoo 실험은 ResNet-20과 ResNet-32를 약간 키운 변형을 CIFAR10과 CIFAR100에서 학습하며, 역근 preconditioner를 eigen-decomp, PolarExpress, PRISM으로 계산합니다. 최대 preconditioner 차원은 2048이고 PolarExpress와 PRISM은 5회 반복을 사용합니다. 학습률은 0.001, 가중치 감쇠는 0.0005이며 하이퍼파라미터는 튜닝하지 않았다고 보고됩니다. 검증 정확도 곡선에서 순위가 유지되며 더 길게 학습해도 같다고 밝힙니다. Muon 실험은 무작위 초기화한 GPT-2 Large 변형(10개 층, 16개 헤드, 임베딩 차원 1024)을 FineWeb 200M 토큰으로 학습합니다.

최종 검증 손실은 PolarExpress 5.4523, PRISM-5 5.0251, PRISM-3 4.9886, AdamW 6.8689이며, 손실은 낮을수록 좋습니다. PolarExpress와 PRISM-3은 5회, PRISM-5는 3회 반복을 사용합니다.

![Figure 6: Improvement of Muon in terms of training and validation losses for the GPT-2 model. The final validation losses for PolarExpress, PRISM with degree-5…](https://refivu.com/papers/992e9cc0-6d5a-46ce-a43c-f980e78790bc/figures/figure-91f81b5d6d489fda322771cdde7c07ca.png?thumb=512)

**Figure 6** :Improvement of Muon in terms of training and validation losses for the GPT-2 model. The final validation losses for PolarExpress, PRISM with degree-5 (PRISM-5) and degree-3 (PRISM-3) polynomials, and AdamW are 5.4523, 5.0251, 4.9886, and 6.8689.

[원문](https://arxiv.org/abs/2601.22137v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shenghao Yang, Zhichao Wang, Oleg Balabanov, N. Benjamin Erichson, Michael W. Mahoney · PRISM: Distribution-free Adaptive Computation of Matrix Functions for Accelerating Neural Network Training · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

## 한계와 적용 범위

PRISM의 수렴 보장은 d=1과 명시된 가정에 한정되며, d≥2의 확장은 저자들의 주장으로 제시됩니다. DB Newton 계열 PRISM 가속은 매 반복마다 행렬 역행렬을 요구하여 Newton-Schulz 변형보다 수치적으로 덜 안정적이라고 설명됩니다. 그럼에도 해당 실험 조건에서 PRISM 기반 DB Newton은 PRISM 기반 Newton-Schulz보다 빠르게 수렴할 수 있다고 보고됩니다. 정리 본문의 상수는 27.6으로 쓰였지만 부록 B.3 증명에서는 41.4가 쓰여 있어 두 표기를 함께 확인해야 합니다. 실험은 특정 종횡비, HTMP 설정, CIFAR와 GPT-2 Large 설정에서 수행되었으므로 다른 데이터와 규모로의 일반화는 이 논문의 범위 밖입니다.

## 논문 정보

- **저자**: Shenghao Yang, Zhichao Wang, Oleg Balabanov, N. Benjamin Erichson, Michael W. Mahoney
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 1월 29일
- **등록일**: 2026년 10월 30일
- **수정일**: 2026년 1월 29일
- **버전**: v1
- **arXiv**: 2601.22137
- **분류**: cs.LG · cs.AI · math.NA · math.OC
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2601.22137v1) · [원문 PDF ↗](https://arxiv.org/pdf/2601.22137v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Matrix functions such as square root, inverse roots, and orthogonalization play a central role in preconditioned gradient methods for neural network training. This has motivated the development of iterative algorithms that avoid explicit eigendecompositions and rely primarily on matrix multiplications, making them well suited for modern GPU accelerators. We present PRISM (Polynomial-fitting and Randomized Iterative Sketching for Matrix functions computation), a general framework for accelerating iterative algorithms for computing matrix functions. PRISM combines adaptive polynomial approximation with randomized sketching: at each iteration, it fits a polynomial surrogate to the current spectrum via a sketched least-squares problem, adapting to the instance at hand with minimal overhead. We apply PRISM to accelerate Newton-Schulz-like iterations for matrix square roots and orthogonalization, which are core primitives in machine learning. Unlike prior methods, PRISM requires no explicit spectral bounds or singular value estimates; and it adapts automatically to the evolving spectrum. Empirically, PRISM accelerates training when integrated into Shampoo and Muon optimizers.

## 원문 인용

Shenghao Yang, Zhichao Wang, Oleg Balabanov, N. Benjamin Erichson, Michael W. Mahoney (2026). PRISM: Distribution-free Adaptive Computation of Matrix Functions for Accelerating Neural Network Training. arXiv:2601.22137v1. https://arxiv.org/abs/2601.22137v1

**BibTeX**

```
@misc{yang2026prism,
  title = {{PRISM: Distribution-free Adaptive Computation of Matrix Functions for Accelerating Neural Network Training}},
  author = {Shenghao Yang and Zhichao Wang and Oleg Balabanov and N. Benjamin Erichson and Michael W. Mahoney},
  year = {2026},
  eprint = {2601.22137},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.22137v1}
}
```

## 이 논문의 용어

- [CIFAR10](https://refivu.com/terms/19bd6ffb1901-cifar10)
- [FineWeb](https://refivu.com/terms/0127c93cbae4-fineweb)
- [PRISM](https://refivu.com/terms/b0d5ed02f895-prism)
- [ResNet-20](https://refivu.com/terms/678785af165f-resnet-20)
- [Shampoo](https://refivu.com/terms/95df3443894d-shampoo)
- [GPT-2 Large](https://refivu.com/terms/ca7bcbb7eab8-gpt-2-large)
- [residual matrix](https://refivu.com/terms/05d3242a58f3-residual-matrix)

## 다른 논문 해설

- [Equivariant Neural Networks for General Linear Symmetries on Lie Algebras](https://refivu.com/papers/f35fcd6d-d372-43a2-8452-f1ce7c9aeb9d-equivariant-neural-networks-for-general-linear-symmetries-on.md)
- [TQL: Scaling Q-Functions with Transformers by Preventing Attention Collapse](https://refivu.com/papers/51ddfaf2-6224-4482-b74a-f32fe84b65c7-tql-scaling-q-functions-with-transformers-by-preventing.md)
- [A Provable Expressiveness Hierarchy in Hybrid Linear-Full Attention](https://refivu.com/papers/272270f7-ac9d-4601-8f4e-47764bca2fc3-a-provable-expressiveness-hierarchy-in-hybrid-linear-full.md)
- [A Capacity-Based Rationale for Multi-Head Attention](https://refivu.com/papers/a7171d81-c80f-4a1d-8fa7-ec68051bd4f5-a-capacity-based-rationale-for-multi-head-attention.md)
- [StretchTime: Adaptive Time Series Forecasting via Symplectic Attention](https://refivu.com/papers/16e1a6db-a193-4b7d-a396-ab25a5aea7bb-stretchtime-adaptive-time-series-forecasting-via-symplectic.md)
- [UltraLIF: Fully Differentiable Spiking Neural Networks via Ultradiscretization and Max-Plus Algebra](https://refivu.com/papers/3f44b701-a63e-45dd-b9c3-f73c579adbbf-ultralif-fully-differentiable-spiking-neural-networks-via.md)
- [Elign: Equivariant Diffusion Model Alignment from Foundational Machine Learning Force Fields](https://refivu.com/papers/321b9340-1a74-4cc0-a3fd-23798b4ca283-elign-equivariant-diffusion-model-alignment-from.md)
- [On the Computational Complexity of Performative Prediction](https://refivu.com/papers/7a4b721a-31e6-4690-bc6d-b8f8286675f0-on-the-computational-complexity-of-performative-prediction.md)
- [ConceptMoE: Adaptive Token-to-Concept Compression for Implicit Compute Allocation](https://refivu.com/papers/f1fa0b8c-b5b9-4c58-8380-ff6bbcabe1fa-conceptmoe-adaptive-token-to-concept-compression-for.md)
- [Black-Box Combinatorial Optimization with Order-Invariant Reinforcement Learning](https://refivu.com/papers/77c8fbaa-ae14-4d03-91d5-3b9cd7f78552-black-box-combinatorial-optimization-with-order-invariant.md)
- [Spectra: Rethinking Optimizers for LLMs Under Spectral Anisotropy](https://refivu.com/papers/71a4f738-6a9f-4696-96a0-1cb4c94714d5-spectra-rethinking-optimizers-for-llms-under-spectral.md)
- [How Out-of-Distribution Detection Learning Theory Enhances Transformer: Learnability and Reliability](https://refivu.com/papers/5f95a31c-287e-4d48-bed3-30fbea4904d7-how-out-of-distribution-detection-learning-theory-enhances.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/992e9cc0-6d5a-46ce-a43c-f980e78790bc-prism-distribution-free-adaptive-computation-of-matrix)
