# PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training

PRAC: LLM 활성화 압축과 메모리 효율적 학습을 위한 주성분-무작위 부분공간

Yanyi Li, Yimu Zhang, Cong Fang · arXiv · 2026년 2월 26일

- **연구 문제** 대배치 LLM 학습에서 활성화 메모리가 주된 병목이지만 기존 압축은 수렴 속도나 압축률에서 한계가 있습니다.
- **연구 방법** 활성화를 SVD 기반 주성분 부분공간과 직교 여공간의 무작위 부분공간으로 나누고, 스케일링 인자로 비편향 재구성을 얻는 방법입니다.
- **주요 결과** LLaMA-1B pre-training에서 원문은 PRAC의 메모리가 기준선 대비 약 36% 낮고 PPL 저하가 작다고 보고합니다.

## 활성화 메모리 병목과 기존 압축의 한계

대배치 LLM 학습에서는 가중치와 옵티마이저 상태보다 활성화(activation) 메모리가 지배적인 병목이 됩니다. 원문은 LLaMA-1B를 배치 크기 1(마이크로 배치 128, 시퀀스 길이 256)로 학습할 때 전체 94.5GB 중 활성화가 84.17GB로 약 89%를 차지한다고 보고합니다. 기존 방법 중 그래디언트 체크포인팅은 역전파에서 재계산을 추가해 학습 시간을 늘리고, 영차 최적화는 한 번에 한 방향만 갱신하여 대규모 pre-training에 느리게 수렴합니다. RSO는 저차원 모듈로 다차원 부분공간을 갱신하지만 pre-training에서 눈에 띄는 성능 저하가 남습니다. 저자들은 기존 활성화 압축이 활성화의 스펙트럼 구조를 활용하지 못해 수렴이 느리거나 압축률이 제한된다고 봅니다.

## 비편향성과 저분산이라는 압축 기준

논문은 SGD 기반 분석에서 그래디언트 추정이 체계적 편향을 가지면 수렴하지 않을 수 있음을 보입니다. 명제 1은 상수 편향 아래에서 고정된 좌표가 갱신되지 않는 두 차원 예시를 제시하며, 원문은 이 상황을 주성분만 쓰는 방식이 수렴하지 않을 수 있는 근거로 제시합니다. 반면 명제 2는 비편향이지만 분산이 유한한 확률적 그래디언트에서 수렴 속도가 분산에 의해 제한됨을 보입니다. 따라서 저자들은 좋은 압축은 비편향이면서 분산이 낮아야 한다고 정리합니다. 보조정리 3은 활성화 X̃가 비편향이고 분산이 σ²로 제한되면 가중치 그래디언트 추정도 비편향이며 분산이 σ²‖∇\_Y L‖²로 제한된다는 기준을 제공합니다.

![Table 1: Comparison of Estimation Unbiasedness and Variance across Projection Methods](https://refivu.com/papers/f763eeb3-2a40-4773-9729-8ef919d26025/figures/figure-69bad241df45abdf10d28ae76ac76ae5.png?thumb=512)

**Table 1** : Comparison of Estimation Unbiasedness and Variance across Projection Methods.

[원문](https://arxiv.org/abs/2602.23111v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yanyi Li, Yimu Zhang, Cong Fang · PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 활성화 축퇴 조건

PRAC은 활성화 행렬 X의 특이값이 소수의 큰 값과 긴 꼬리로 나뉜다는 관찰을 가정으로 삼습니다. 원문은 LLaMA-130M의 10번째 층을 10% 학습 시점에서 분석했을 때 소수의 지배적 특이값이 대부분의 스펙트럼 에너지를 차지한다고 보고합니다. 가정 4의 (s,q)-축퇴 조건은 i번째로 큰 특이값 σ\_i에 대해 꼬리 제곱합이 q 이하라는 것입니다. 원문은 꼬리 방향을 무시하면 수렴이 느려진다는 선행 결과를 인용하며, 이 조건은 그 현상을 표현하기 위한 가정으로 제시됩니다.

![Figure 2: Singular value spectrum (Left) and](https://refivu.com/papers/f763eeb3-2a40-4773-9729-8ef919d26025/figures/figure-9a296f1b3cf1c3a190f57e82d5a4cc8e.png?thumb=512)

**Figure 2** : Singular value spectrum (Left) and

[원문](https://arxiv.org/abs/2602.23111v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yanyi Li, Yimu Zhang, Cong Fang · PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 주성분과 무작위 부분공간의 결합

PAC는 SVD에서 얻은 상위 r1개의 우특이벡터 Q1에 활성화를 투영합니다. 이 방식은 재구성 편향 Δ = Σ\_{i\>r1} σ\_i²가 남아 수렴을 막을 수 있습니다. RAC는 직교행렬 Stiefel 다양체에서 균등하게 뽑은 Q2에 투영하며 스케일링으로 비편향을 얻지만 분산이 큽니다. PRAC은 Q1을 SVD로 구하고, Q1의 직교 여공간에 Gaussian 행렬을 투영한 뒤 QR로 Q2를 얻어 두 성분을 P=\[Q1, √k·Q2\]로 합칩니다. 스케일링 인자 k는 무작위 성분의 에너지를 증폭하기 위해 (n−r1)/r2로 설정되며, 원문은 이 설정에서 재구성 X̃=XPP⊤의 기대값이 X와 같다는 정리 6을 제시합니다.

원문 식의 기댓값은 E\[X̃\]=X이고, 최소 분산 성질은 같은 축퇴 조건 아래의 정리 7에서 E‖XPP⊤−X‖\_F² ≤ ((n−r1)/r2 − 1)q로 주어집니다.

## 학습 중 갱신과 계층별 설계

실제 학습에서는 SVD와 QR을 매 스텝 수행하지 않습니다. 원문 알고리즘 1은 Q1을 T1 간격으로, Q2를 T2 간격으로만 갱신하며, 원문은 T1=T2=500 스텝 같은 값을 예로 듭니다. 같은 입력 활성화를 공유하는 Query, Key, Value 등의 층은 하나의 투영 행렬과 압축 활성화를 공유합니다. 선형 층은 r1=r2=⌊0.3n⌋, 비선형 층은 r1=r2=⌊0.2n⌋로 설정되며, 이 값은 원문 6.1절의 pre-training 설정에 해당합니다. Flash Attention은 얽힌 구조 때문에 압축에서 제외됩니다. 원문 부록 B는 r1+r2가 대략 0.6 이하일 때 GPT 구조에서 활성화 메모리를 약 40% 줄인다고 추정합니다.

![Table 6: Comparison of activation stored in the GPT series architecture, with decreased](https://refivu.com/papers/f763eeb3-2a40-4773-9729-8ef919d26025/figures/figure-72f7ea7ec4e8dcd1edef0a87ccecde28.png?thumb=512)

**Table 6** : Comparison of activation stored in the GPT series architecture, with decreased

[원문](https://arxiv.org/abs/2602.23111v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yanyi Li, Yimu Zhang, Cong Fang · PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.

## pre-training 메모리와 성능 비교

표 2는 LLaMA-130M, 350M, 1B와 GPT-2 124M, 355M에서 기준선, GaLore, RSO, PRAC을 비교합니다. LLaMA-1B에서 PRAC의 검증 PPL은 15.41, 피크 메모리는 60.48GB로 보고되며, 기준선의 62.27GB 대비 원문 표 2의 감소율은 -36%로 표시됩니다. 원문은 기준선이 OOM이었던 LLaMA-1B에서 기준선 PPL을 절반 배치 크기로 측정했다고 밝힙니다. GPT-2 실험은 비교 방법의 OOM을 피하기 위해 배치 크기를 낮춘 조건에서 수행되었으며, 이 조건에서 원문은 GPT-124M과 355M에 대해 각각 20배와 21배 메모리 압축을 보고합니다.

손실 곡선 설명에 따르면 GaLore는 후기에 정체되고 RSO는 초기 수렴이 느립니다. 이 결과들은 여러 랜덤 시드의 평균으로 보고되었습니다.

![Table 7: Hyperparameter settings for pre-traing LLaMA and GPT-2 model](https://refivu.com/papers/f763eeb3-2a40-4773-9729-8ef919d26025/figures/figure-adb26f4d8c68ce22c8fc1b1332789901.png?thumb=512)

**Table 7** : Hyperparameter settings for pre-traing LLaMA and GPT-2 model.

[원문](https://arxiv.org/abs/2602.23111v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yanyi Li, Yimu Zhang, Cong Fang · PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.

## 학습 시간과 배치 확장

4×A800 GPU에서 LLaMA-1B를 학습한 실험에서 배치 크기 64의 PRAC은 기준선 50.35GB 대비 36.90GB로 피크 메모리가 약 27% 낮아졌습니다. 원문은 이 여유 메모리로 배치 크기를 96까지 늘리면 총 학습 시간이 156시간에서 117시간으로 25% 줄어든다고 보고합니다. 이 수치는 해당 하드웨어와 해당 모델 설정의 결과입니다.

![Table 4: Training Time Comparison on](https://refivu.com/papers/f763eeb3-2a40-4773-9729-8ef919d26025/figures/figure-67cb59f2b4300b89fd4d8c3bff40c663.png?thumb=512)

**Table 4** : Training Time Comparison on

[원문](https://arxiv.org/abs/2602.23111v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yanyi Li, Yimu Zhang, Cong Fang · PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

## fine-tuning과 수렴 비교

RoBERTa fine-tuning에서 PRAC은 GLUE 평균 86.38로 RSO(86.10)와 전체 fine-tuning(86.28)보다 높게 보고되며, 활성화 메모리는 0.26GB로 표시됩니다. 이 실험은 rank=4 조건에서 RSO와 같은 랭크를 맞추기 위해 r1=r2=2로 설정되었습니다. 동일 총 랭크의 LLaMA 60M과 130M 비교에서 PRAC은 PAC와 RAC보다 빠르게 수렴한다고 보고됩니다. 다만 RAC는 r=0.3에서 발산하여 r=0.6 결과를 사용했습니다. 저자들은 무작위 성분이 fine-tuning에서 정규화 역할을 할 수 있다고 해석하지만, 이는 해석이며 직접 측정된 원인으로 보기는 어렵습니다.

![Table 5: Comparison with memory-efficient algorithms on fine-tuning RoBERTa models](https://refivu.com/papers/f763eeb3-2a40-4773-9729-8ef919d26025/figures/figure-eb707845af6fc623c04e97092a34772b.png?thumb=512)

**Table 5** : Comparison with memory-efficient algorithms on fine-tuning RoBERTa models.

[원문](https://arxiv.org/abs/2602.23111v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yanyi Li, Yimu Zhang, Cong Fang · PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

![Table 8: Hyperparameter settings for fine-tuning RoBERTa-Base model on the GLUE](https://refivu.com/papers/f763eeb3-2a40-4773-9729-8ef919d26025/figures/figure-ccd88f6d255a457a00fc7921b0e6fde1.png?thumb=512)

**Table 8** : Hyperparameter settings for fine-tuning RoBERTa-Base model on the GLUE

[원문](https://arxiv.org/abs/2602.23111v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yanyi Li, Yimu Zhang, Cong Fang · PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 남은 질문

분석의 최소 분산 결과는 활성화 축퇴 조건이라는 가정 아래에서만 제시됩니다. 실험은 LLaMA와 GPT-2 pre-training, RoBERTa fine-tuning, Muon과 Adam-mini 결합 실험으로 구성되며 다른 구조에 대한 결과는 원문에 없습니다. 메모리 절감은 활성화에 한정되며 옵티마이저 상태와 가중치는 별도로 다뤄집니다. RAC의 r=0.3 발산은 원문이 직접 밝힌 한계입니다.

![Table 9: Combining with advanced optimizers on pretraining LLaMA. Report validation](https://refivu.com/papers/f763eeb3-2a40-4773-9729-8ef919d26025/figures/figure-3717a94fb196838ff110ae0ee3822d79.png?thumb=512)

**Table 9** : Combining with advanced optimizers on pretraining LLaMA. Report validation

[원문](https://arxiv.org/abs/2602.23111v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yanyi Li, Yimu Zhang, Cong Fang · PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training · 원문 그림 인용 · 원본 PDF 26쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Yanyi Li, Yimu Zhang, Cong Fang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 2월 26일
- **등록일**: 2026년 10월 29일
- **수정일**: 2026년 2월 26일
- **버전**: v1
- **arXiv**: 2602.23111
- **분류**: cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

Activations have become the primary memory bottleneck in large-batch LLM training. However, existing compression methods fail to exploit the spectral structure of activations, resulting in slow convergence or limited compression. To address this, we bridge the relationship between the algorithm's fast convergence and the requirements for subspace projection, and show that an effective compression should yield an unbiased estimate of the original activation with low variance. We propose Principal-Random Subspace for LLM Activation Compression (PRAC), which novelly decomposes activations into two components: a principal subspace captured via SVD to retain dominant information, and a random subspace sampled from the orthogonal complement to approximate the tail. By introducing a precise scaling factor, we prove that PRAC yields an unbiased gradient estimator with minimum variance under certain conditions. Extensive experiments on pre-training and fine-tuning tasks demonstrate that PRAC achieves up to 36% total memory reduction with negligible performance degradation and minimal computational cost.

## 원문 인용

Yanyi Li, Yimu Zhang, Cong Fang (2026). PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training. arXiv:2602.23111v1. https://arxiv.org/abs/2602.23111v1

**BibTeX**

```
@misc{li2026prac,
  title = {{PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training}},
  author = {Yanyi Li and Yimu Zhang and Cong Fang},
  year = {2026},
  eprint = {2602.23111},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.23111v1}
}
```

## 이 논문의 용어

- [Frobenius norm](https://refivu.com/terms/8b20cfffe432-frobenius-norm)
- [C4](https://refivu.com/terms/87725552ed79-c4)
- [GPT-2](https://refivu.com/terms/3c130f2029b4-gpt-2)
- [RoBERTa](https://refivu.com/terms/f42b278690e5-roberta)
- [Llama](https://refivu.com/terms/1a23d312f4db-llama)
- [OpenWebText](https://refivu.com/terms/45ba3900e089-openwebtext)
- [GaLore](https://refivu.com/terms/c9f9d5bd84bb-galore)
- [Stochastic Gradient Descent (SGD)](https://refivu.com/terms/5c2447143b09-stochastic-gradient-descent-sgd)
- [SVD](https://refivu.com/terms/cc705f427730-svd)
- [PPL](https://refivu.com/terms/9d7052b638b5-ppl)
- [scaling factor](https://refivu.com/terms/5867b4e62e9e-scaling-factor)
- [Adam-mini](https://refivu.com/terms/0b6d72f96b0e-adam-mini)
- [GLUE benchmark](https://refivu.com/terms/5eee80e2983e-glue-benchmark)
- [Stiefel manifold](https://refivu.com/terms/205eb8f5a776-stiefel-manifold)
- [RAC](https://refivu.com/terms/9a0070db547c-rac)

## 다른 논문 해설

- [Expressivity-Efficiency Tradeoffs for Hybrid Sequence Models](https://refivu.com/papers/70837632-e530-4154-a4cd-47fa846d202d-expressivity-efficiency-tradeoffs-for-hybrid-sequence-models.md)
- [On the Dynamic Regret of Following the Regularized Leader: Optimism with History Pruning](https://refivu.com/papers/4cde6419-447b-4bc4-ab43-86f7ade7bded-on-the-dynamic-regret-of-following-the-regularized.md)
- [Toward Structural Multimodal Representations: Specialization, Selection, and Sparsification via Mixture-of-Experts](https://refivu.com/papers/d8f528c0-50bb-475b-bb7e-db64f4f15374-toward-structural-multimodal-representations-specialization.md)
- [SPHERE: Mitigating the Loss of Spectral Plasticity in Mixture-of-Experts for Deep Reinforcement Learning](https://refivu.com/papers/173ba882-f964-4ee5-88a4-d5ce54b7abb2-sphere-mitigating-the-loss-of-spectral-plasticity-in.md)
- [TileQ: Efficient Low-Rank Quantization of Mixture-of-Experts with 2D Tiling](https://refivu.com/papers/4fb9cc93-53d0-40d6-a745-26c1d86c5fbc-tileq-efficient-low-rank-quantization-of-mixture-of.md)
- [On the Convergence Rate of LoRA Gradient Descent](https://refivu.com/papers/095f8b10-9053-452a-a863-28f8ee066631-on-the-convergence-rate-of-lora-gradient-descent.md)
- [IBCircuit: Towards Holistic Circuit Discovery with Information Bottleneck](https://refivu.com/papers/fd2101c6-71ff-4aa6-aa9c-84a52008d909-ibcircuit-towards-holistic-circuit-discovery-with.md)
- [Multilingual Safety Alignment Via Sparse Weight Editing](https://refivu.com/papers/26371dc3-a19e-4078-8746-df107f9ed532-multilingual-safety-alignment-via-sparse-weight-editing.md)
- [Agentic Framework for Epidemiological Modeling](https://refivu.com/papers/f73b8adc-5e6d-474c-a329-de25e7a3153d-agentic-framework-for-epidemiological-modeling.md)
- [Memory Caching: RNNs with Growing Memory](https://refivu.com/papers/87ba67cb-e3d7-4a89-927f-f795be747cb8-memory-caching-rnns-with-growing-memory.md)
- [ParamMem: Augmenting Language Agents with Parametric Reflective Memory](https://refivu.com/papers/e683550d-5bf5-4bee-9dd5-feb3f61f87c2-parammem-augmenting-language-agents-with-parametric.md)
- [Does Generation Require Memorization? Creative Diffusion Models using Ambient Diffusion](https://refivu.com/papers/e84ba794-295c-477e-8db1-aad14edc5ec3-does-generation-require-memorization-creative-diffusion.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/f763eeb3-2a40-4773-9729-8ef919d26025-prac-principal-random-subspace-for-llm-activation)
