# Residual Matrix Transformers: Scaling the Size of the Residual Stream

잔차 행렬 트랜스포머: 잔차 스트림 크기 확장

Mak, Brian, Flanigan, Jeffrey · arXiv · 2025년 6월 28일

- **연구 문제** 잔차 스트림 크기를 키우면 트랜스포머의 파라미터와 연산량이 함께 늘어납니다. RMT는 잔차 스트림을 outer product memory 행렬로 바꾸어 이 확장 비용을 줄입니다.
- **연구 방법** RMT는 잔차 스트림 벡터 대신 outer product memory 행렬을 두고, 키 벡터로 저장하고 검색합니다. 어텐션과 피드포워드 층은 이 잔차 행렬과 키 벡터 어댑터로 연결됩니다.
- **주요 결과** RMT는 트랜스포머와 같은 손실에 도달할 때 파라미터 25%, FLOPS 58%, 토큰 41%를 적게 사용했다고 보고합니다. 잔차 스트림을 키울수록 dev loss가 낮아졌고, 제로샷 perplexity 평가에서도 RMT가 낮은 값을 보였습니다.

## 잔차 스트림의 크기를 늘리는 문제

트랜스포머에서 잔차 스트림은 각 층의 출력을 더해 층 사이로 정보를 전달하는 통로이며, 그 크기 D는 저장할 수 있는 특징의 수를 정합니다. 표준 트랜스포머에서는 잔차 스트림 크기를 키우면 모든 파라미터 행렬의 크기가 함께 바뀌므로 파라미터 수와 FLOPS가 선형으로 늘어납니다. 이 논문은 잔차 스트림을 그대로 두고 확장 축만 분리할 수 있는지를 묻습니다. 저자들은 잔차 스트림을 outer product memory 행렬로 바꾼 Residual Matrix Transformer(RMT)를 제안하고, 모델 크기와 토큰당 연산량을 고정한 채 잔차 스트림 크기를 키울 수 있는지 검증합니다. 이 글은 이 질문을 중심으로 RMT의 구조, 이론적 근거, 학습 자원과 성능 비교, 그리고 구현상의 한계를 차례로 따라갑니다.

## outer product memory로 바꾼 잔차 행렬

RMT는 각 토큰의 잔차 스트림 벡터 대신 Dk × Dv 크기의 outer product memory 행렬, 곧 잔차 행렬을 둡니다. outer product memory는 키 벡터 q와 데이터 벡터 x의 외적 q ⊗ x를 여러 쌍에 대해 더해 만든 행렬이며, 원문에서는 이를 M = Norm(sum over p of q(p) ⊗ x(p)) 형태로 정의합니다. 여기서 Norm은 RMT에서 LayerNorm에 해당합니다. 특정 데이터 벡터는 해당 키 벡터와 첫 번째 차원에 대해 텐서 축약을 수행하여 검색합니다. 표준 트랜스포머가 가중치 행렬로 잔차 스트림을 읽고 쓰는 자리에, RMT는 학습된 키 벡터로 잔차 행렬에 쓰고 검색합니다. 어텐션 층에서는 Q, K, V를 만드는 가중치 행렬이 키 벡터로 바뀌고, 출력 헤드의 결과는 키 벡터 w\_O와 함께 잔차 행렬에 더해집니다.

피드포워드 층의 W1과 W2는 그대로 두고, 입력 쪽과 출력 쪽에 키 벡터 어댑터를 둡니다. 저자들은 피드포워드 가중치가 사실적 정보를 저장한다는 선행 증거를 근거로 이 부분을 유지했다고 설명합니다.

![Figure 5: RMT versus other transformer variants that modify the residual stream (Vaswani et al., 2017, Dou et al., 2018, Chai et al., 2020, Xu et al., 2024)](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14/figures/figure-c42d8261294b7f9a2372506d91c349c2.png?thumb=512)

**Figure 5** . RMT versus other transformer variants that modify the residual stream (Vaswani et al., 2017, Dou et al., 2018, Chai et al., 2020, Xu et al., 2024).

[원문](https://arxiv.org/abs/2506.22696v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mak, Brian, Flanigan, Jeffrey · Residual Matrix Transformers: Scaling the Size of the Residual Stream · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 잔차 스트림 확장에 따른 파라미터와 연산량

저자들은 GPT2-medium의 나머지 차원을 고정하고 트랜스포머에서는 D를, RMT에서는 Dk를 바꾸어 파라미터와 토큰당 연산량을 비교합니다. 트랜스포머에서는 잔차 스트림을 100% 키우면 파라미터가 100% 늘고 FLOPS는 약 94% 늘어납니다. RMT에서는 같은 확장에서 모델 크기와 FLOP 수가 1% 미만으로 증가합니다. 이 결과는 잔차 스트림 확장이 RMT에서는 사실상 추가 파라미터 비용을 거의 요구하지 않는다는 뜻입니다. 다만 학습 중에는 잔차 스트림 활성값을 gradient checkpointing을 위해 저장해야 하므로 메모리 사용은 잔차 스트림 크기에 따라 달라질 수 있다고 밝힙니다.

![Figure 1: Model size and per-example FLOPS versus residual stream size for the transformer and RMT. See §3.1 for details](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14/figures/figure-25fe0d85e5d9146ec1e61f7930731766.png?thumb=512)

**Figure 1** . Model size and per-example FLOPS versus residual stream size for the transformer and RMT. See §3.1 for details.

[원문](https://arxiv.org/abs/2506.22696v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mak, Brian, Flanigan, Jeffrey · Residual Matrix Transformers: Scaling the Size of the Residual Stream · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

![Table 7: Parameter and forward pass FLOP count equations](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14/figures/figure-1281c07f08b151474a5159188cf37b46.png?thumb=512)

**Table 7** . Parameter and forward pass FLOP count equations.

[원문](https://arxiv.org/abs/2506.22696v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mak, Brian, Flanigan, Jeffrey · Residual Matrix Transformers: Scaling the Size of the Residual Stream · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

## 초기화 시 평균과 분산의 전파

저자들은 RMT의 저장 연산과 검색 연산이 초기화 시점에서 평균과 분산을 어떻게 전파하는지 Glorot와 Bengio의 분석 방식을 따라 계산합니다. 가중치를 평균 0으로 독립 초기화하면 전파된 평균은 0이 되며, 이 점에서는 선형 변환과 같은 성질을 갖습니다. 분산 전파는 GPT2-medium 차원과 Xavier 초기화를 가정하여 계산합니다. 그 결과 어텐션 층의 저장 연산을 제외한 대부분의 경우에서 RMT가 유리한 분산 전파를 보인다고 보고합니다. 이 분석은 초기화 시점의 가정에 기반하므로, 학습이 진행된 뒤의 동역학을 직접 증명한 것으로 읽으면 안 됩니다.

![Table 1: Closed-form expressions for the propagation of mean and variance for storage and retrieval for the RMT. The expressions for the transformer are taken…](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14/figures/figure-57cc758fa8b539092408b97b9dddb7ec.png?thumb=512)

**Table 1** . Closed-form expressions for the propagation of mean and variance for storage and retrieval for the RMT. The expressions for the transformer are taken from (Kedia et al., 2024). The derivation the RMT equations can be found in Appendix §B.

[원문](https://arxiv.org/abs/2506.22696v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mak, Brian, Flanigan, Jeffrey · Residual Matrix Transformers: Scaling the Size of the Residual Stream · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Table 2: Theoretical calculation of propagation of variance through storage and retrieval operations on forward and backward passes. We assume Xavier Initializ…](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14/figures/figure-df8ff41d91921b1f92fa645ea214895f.png?thumb=512)

**Table 2** . Theoretical calculation of propagation of variance through storage and retrieval operations on forward and backward passes. We assume Xavier Initialization and GPT2-medium model shapes. Boldface indicates where one model is better than the other.

[원문](https://arxiv.org/abs/2506.22696v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mak, Brian, Flanigan, Jeffrey · Residual Matrix Transformers: Scaling the Size of the Residual Stream · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## 동일 손실에 도달하는 자원 비교

§4.2의 비교에서는 46M에서 405M 파라미터 범위의 네 쌍의 모델을 학습하고, 각 모델을 비임베딩 파라미터의 20배에 해당하는 Chinchilla 최적 토큰 수로 학습합니다. 가장 큰 쌍에서 트랜스포머의 최소 학습 손실은 3.03입니다. RMT는 이 손실에 도달할 때 파라미터를 25%, FLOPS를 58%, 학습 토큰을 41% 적게 사용했다고 보고합니다. 같은 비교에서 시간은 RMT가 4% 더 걸렸습니다. 원문은 RMT의 잔차 스트림 크기를 트랜스포머보다 2.5배에서 4배 크게 설정했다고 밝힙니다. 파라미터 절감은 어텐션 행렬 W\_Q, W\_K, W\_V, W\_O가 키 벡터로 바뀌면서 비임베딩 파라미터가 33% 적어진 결과로 설명됩니다.

6B 토큰 전체를 학습한 설정에서는 FLOPS가 28% 적었지만 시간은 43% 길었습니다.

![Figure 2: Scaling law curves of RMT vs transformer. Model sizes vary from 46M to 405M](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14/figures/figure-00f61bdb544e2e9e26f575fb932c1af6.png?thumb=512)

**Figure 2** . Scaling law curves of RMT vs transformer. Model sizes vary from 46M to 405M.

[원문](https://arxiv.org/abs/2506.22696v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mak, Brian, Flanigan, Jeffrey · Residual Matrix Transformers: Scaling the Size of the Residual Stream · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Table 3: Resources used to reach train loss 3.03 (min loss achieved by transformer)](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14/figures/figure-1c9fadb8395a9c56e99e93a896ed3c41.png?thumb=512)

**Table 3** . Resources used to reach train loss 3.03 (min loss achieved by transformer).

[원문](https://arxiv.org/abs/2506.22696v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mak, Brian, Flanigan, Jeffrey · Residual Matrix Transformers: Scaling the Size of the Residual Stream · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Table 4: Training statistics after training on 6B tokens](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14/figures/figure-16d889cd7ebf2dfe963871e5ee713b8a.png?thumb=512)

**Table 4** . Training statistics after training on 6B tokens.

[원문](https://arxiv.org/abs/2506.22696v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mak, Brian, Flanigan, Jeffrey · Residual Matrix Transformers: Scaling the Size of the Residual Stream · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Table 8: Transformer hyperparameters for scaling laws experiment](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14/figures/figure-d24946a4dd42bd7132a936954aebe530.png?thumb=512)

**Table 8** . Transformer hyperparameters for scaling laws experiment

[원문](https://arxiv.org/abs/2506.22696v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mak, Brian, Flanigan, Jeffrey · Residual Matrix Transformers: Scaling the Size of the Residual Stream · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

![Table 9: RMT hyperparameters for scaling laws experiment](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14/figures/figure-71ee91320ee8251290c773cdba18626d.png?thumb=512)

**Table 9** . RMT hyperparameters for scaling laws experiment

[원문](https://arxiv.org/abs/2506.22696v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mak, Brian, Flanigan, Jeffrey · Residual Matrix Transformers: Scaling the Size of the Residual Stream · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

## 잔차 스트림 크기 확장의 효과

§4.4에서는 GPT2-small 크기 모델에서 잔차 스트림 크기를 384, 768, 1536, 2048, 3072, 4096으로 바꾸었습니다. 이 실험에서는 모델 크기, 데이터셋 크기, 계산 예산을 고정하고 잔차 키 차원 Dk만 조정했습니다. 파라미터와 FLOPS의 차이는 가장 큰 모델과 가장 작은 모델 사이에서 1% 미만입니다. dev loss는 잔차 스트림 크기가 커질수록 단조 감소합니다. 잔차 스트림 크기 4096 모델은 GPT2-small 크기인 768 모델과 같은 최종 손실에 도달할 때 FLOPS를 23%, 토큰을 25% 적게 사용했습니다. 같은 잔차 스트림 크기에서 RMT의 최종 학습 손실은 3.42이고 GPT2 모델은 3.43이므로, 잔차 스트림을 확장하지 않으면 두 구조의 성능은 거의 같다고 저자들은 보고합니다.

![Figure 6: Dev loss vs residual stream size. Model size, dataset size, and computational budget are held constant for all runs. Residual stream size is calculat…](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14/figures/figure-c4f71754420158c639b34d41ba612902.png?thumb=512)

**Figure 6** . Dev loss vs residual stream size. Model size, dataset size, and computational budget are held constant for all runs. Residual stream size is calculated as Dk × Dv.

[원문](https://arxiv.org/abs/2506.22696v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mak, Brian, Flanigan, Jeffrey · Residual Matrix Transformers: Scaling the Size of the Residual Stream · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 제로샷 다운스트림 평가

§4.5에서는 §4.2에서 가장 큰 모델을 6B 토큰 전체로 학습한 뒤 제로샷으로 평가했습니다. LAMBADA OpenAI에서 트랜스포머의 perplexity는 61.34이고 RMT는 25.21입니다. OpenWebText에서는 20.64 대 18.36, Pile 10K에서는 30.23 대 23.54, WikiText에서는 76.35 대 55.94입니다. perplexity는 낮을수록 좋은 지표이므로 이 수치들은 RMT의 perplexity가 모든 표시된 데이터셋에서 더 낮음을 보여 줍니다. 같은 절의 정확도 표에서는 ARC C, ARC E, HellaSwag, PIQA, WinoGrande에서 RMT가 더 높은 정확도를 기록했습니다.

저자들은 이 결과를 33% 더 큰 트랜스포머보다 낫다는 근거로 제시하지만, 이 평가는 제로샷 설정과 6B 토큰 학습 모델에 대한 것입니다.

![Table 5: Downstream perplexity results (Gokaslan et al., 2019, Paperno et al., 2016, Gao et al., 2020, Merity et al., 2016). Lower is better](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14/figures/figure-0d80617bccec7e2a71aaa384f21418e1.png?thumb=512)

**Table 5** . Downstream perplexity results (Gokaslan et al., 2019, Paperno et al., 2016, Gao et al., 2020, Merity et al., 2016). Lower is better..

[원문](https://arxiv.org/abs/2506.22696v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mak, Brian, Flanigan, Jeffrey · Residual Matrix Transformers: Scaling the Size of the Residual Stream · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Table 6: Downstream accuracy results (Clark et al., 2018, Zellers et al., 2019, Bisk et al., 2020, Sakaguchi et al., 2019). Higher is better](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14/figures/figure-4093b5ebe1dcb09cf430a72098661955.png?thumb=512)

**Table 6** . Downstream accuracy results (Clark et al., 2018, Zellers et al., 2019, Bisk et al., 2020, Sakaguchi et al., 2019). Higher is better.

[원문](https://arxiv.org/abs/2506.22696v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mak, Brian, Flanigan, Jeffrey · Residual Matrix Transformers: Scaling the Size of the Residual Stream · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 런타임 한계와 구현 가설

RMT의 주요 한계는 실행 시간입니다. 학습 스텝당 RMT는 7.17초, 트랜스포머는 4.06초가 걸렸다고 보고됩니다. 저자들은 이 차이가 최적화된 GEMM 연산 대신 최적화되지 않은 텐서 축약을 사용한 구현에서 비롯된다고 가설을 세웁니다. 텐서 축약의 축약 차원은 트랜스포머의 임베딩 차원보다 작으므로, 현재 구현은 높은 처리량을 내기 어렵다고 설명합니다. 저자들은 작은 키 벡터 크기를 활용하는 맞춤형 CUDA 커널이 런타임을 크게 개선할 수 있다고 예상하지만, 이를 실제로 구현해 검증하지는 않았습니다. 따라서 이 결과는 현재 구현의 측정으로 읽어야 하며, 하드웨어 최적화된 RMT의 성능을 보장하지 않습니다.

## 논문 정보

- **저자**: Mak, Brian, Flanigan, Jeffrey
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 6월 28일
- **등록일**: 2026년 10월 29일
- **수정일**: 2025년 6월 28일
- **버전**: v1
- **arXiv**: 2506.22696
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

The residual stream acts as a memory bus where transformer layers both store and access features (Elhage et al., 2021). We consider changing the mechanism for retrieving and storing information in the residual stream, and replace the residual stream of the transformer with an outer product memory matrix (Kohonen, 1972, Anderson, 1972). We call this model the Residual Matrix Transformer (RMT). We find that the RMT enjoys a number of attractive properties: 1) the size of the residual stream can be scaled independently of compute and model size, improving performance, 2) the RMT can achieve the same loss as the transformer with 58% fewer FLOPS, 25% fewer parameters, and 41% fewer training tokens tokens, and 3) the RMT outperforms the transformer on downstream evaluations. We theoretically analyze the transformer and the RMT, and show that the RMT allows for more efficient scaling of the residual stream, as well as improved variance propagation properties. Code for this project can be found at https://github.com/bmac3/residual-matrix-transformer.

## 원문 인용

Mak, Brian, Flanigan, Jeffrey (2025). Residual Matrix Transformers: Scaling the Size of the Residual Stream. arXiv:2506.22696v1. https://arxiv.org/abs/2506.22696v1

**BibTeX**

```
@misc{brian2025residual,
  title = {{Residual Matrix Transformers: Scaling the Size of the Residual Stream}},
  author = {Mak, Brian and Flanigan, Jeffrey},
  year = {2025},
  eprint = {2506.22696},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.22696v1}
}
```

## 이 논문의 용어

- [Perplexity](https://refivu.com/terms/2b204e513801-perplexity)
- [FLOPs](https://refivu.com/terms/14c405888d5b-flops)
- [residual stream](https://refivu.com/terms/5934a1927640-residual-stream)
- [LAMBADA](https://refivu.com/terms/b86e10054a54-lambada)
- [gradient checkpointing](https://refivu.com/terms/6cd95a1f2d11-gradient-checkpointing)
- [Xavier initialization](https://refivu.com/terms/0b8454530301-xavier-initialization)
- [residual matrix](https://refivu.com/terms/05d3242a58f3-residual-matrix)

## 다른 논문 해설

- [ESPFormer: Doubly-Stochastic Attention with Expected Sliced Transport Plans](https://refivu.com/papers/a1464a35-3450-4660-9922-86a321dc3d18-espformer-doubly-stochastic-attention-with-expected-sliced.md)
- [Enhancing Certified Robustness via Block Reflector Orthogonal Layers and Logit Annealing Loss](https://refivu.com/papers/22759dba-8acc-4931-b7ad-558084002987-enhancing-certified-robustness-via-block-reflector.md)
- [Can Transformers Learn Full Bayesian Inference in Context?](https://refivu.com/papers/20eca8da-4cd3-457c-9a32-dcda3c90a2b6-can-transformers-learn-full-bayesian-inference-in-context.md)
- [Sub-Sequential Physics-Informed Learning with State Space Model](https://refivu.com/papers/1f83b0c4-f6a4-45a3-b53d-f03b2c001d27-sub-sequential-physics-informed-learning-with-state-space.md)
- [Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098-unisolver-pde-conditional-transformers-towards-universal.md)
- [Sum-of-Parts: Self-Attributing Neural Networks with End-to-End Learning of Feature Groups](https://refivu.com/papers/64a614cf-df2a-4469-b333-aef93481c689-sum-of-parts-self-attributing-neural-networks-with.md)
- [Scalable Non-Equivariant 3D Molecule Generation via Rotational Alignment](https://refivu.com/papers/2cfa5006-f3bf-4410-9fa9-3ebad35af6d0-scalable-non-equivariant-3d-molecule-generation-via.md)
- [PEAKS: Selecting Key Training Examples Incrementally via Prediction Error Anchored by Kernel Similarity](https://refivu.com/papers/d4ad0f5e-2b66-4b2c-b036-16ca9b4435c0-peaks-selecting-key-training-examples-incrementally-via.md)
- [EvoPress: Accurate Dynamic Model Compression via Evolutionary Search](https://refivu.com/papers/9b751a25-3027-4f44-b8fd-a5a56de096fa-evopress-accurate-dynamic-model-compression-via-evolutionary.md)
- [Hardware and Software Platform Inference](https://refivu.com/papers/6781f817-b239-4485-abd3-92cc8cd29db4-hardware-and-software-platform-inference.md)
- [Improving Consistency Models with Generator-Augmented Flows](https://refivu.com/papers/805b43bc-e24b-4a82-9b1d-0b75f3b5e976-improving-consistency-models-with-generator-augmented-flows.md)
- [any4: Learned 4-bit Numeric Representation for LLMs](https://refivu.com/papers/7f8c7c0f-5cbf-497b-af22-9a5935d53aea-any4-learned-4-bit-numeric-representation-for-llms.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/649ad69b-40d7-44c6-8c92-55c66fc6bd14-residual-matrix-transformers-scaling-the-size-of-the)
