[논문 리뷰] A Practical Tensor-Network Compression Pipeline for Production-Scale Large Language Models
미니마(Minima)는 32B LLM용 실용적 엔드-투-엔드 텐서-네트워크 기반 압축 파이프라인을 제시하여 VRAM을 약 2배 줄이고 처리량을 약 2배 향상시키며 미세한 품질 저하가 있으며, 추가 속도 향상을 위한 예측 디코딩도 제안한다.
Large language models are limited in deployment by GPU memory and inference latency. We present Minima, a production compression pipeline that learns where and how to structurally compress a Transformer and turns that compression into real serving gains. Minima trains a lightweight convolutional predictor to estimate layer- and patch-level sensitivity, applies a mixture of Tucker, tensor-train, and tensor-ring decompositions to low-sensitivity regions, performs a short healing fine-tune, and executes the resulting operators with custom Triton and CUDA kernels. The reduced memory footprint enables speculative decoding with a small draft model and a larger verifier. On Qwen3-32B at an 8k-token context window, Minima reduces peak VRAM from 64 GiB to 40 GiB. For a single active request, throughput increases from 40 tokens per second (baseline) to 50 tokens per second (Minima) and 75 tokens per second (Minima with speculative decoding). Under 50 parallel requests, throughput is 34, 44, and 53 tokens per second respectively, showing that Minima remains effective under high concurrency even when speculative decoding gains compress. We position Minima relative to recent tensor-network, low-rank plus quantization, and cross-layer sharing methods, and argue that it is a practical step toward more aggressive structural compression via shared tensor backbones with tiny per-layer adapters.
연구 동기 및 목표
- 대형 언어 모델의 생산 준비 압축을 모티브로 삼아 메모리 풋프린트와 레이턴시를 대규모 재학습 없이 감소시키는 것.
- 분석, 압축, 힐링, 커널 최적화, 예측 디코딩의 다섯 단계 파이프라인을 개발하여 규모에 맞춘 배포를 가능하게 한다.
- 학습된 민감도 모델이 안내하는 혼합 Tucker/TT/TR 텐서-네트워크 접근 방식이 정확도 보존 속도 향상을 크게 달성할 수 있음을 입증한다.
- 실용적 커널 최적화 및 예측 디코딩을 통해 일반 GPU에서 추가 처리량을 확보하는 방법을 시연한다.
제안 방법
- TN 압축의 계층별 및 패치별 민감도를 예측하는 경량 CNN을 학습한다.
- 낮은 민감도 패치를 위해 Tucker, TT, TR 분해의 혼합을 적용하여 매개변수를 약 35–40% 정도 감소시킨다.
- 압축 전 성능의 대부분을 회복하기 위해 짧은 힐링 파인튜닝을 수행한다.
- TN 행렬곱 및 어텐션에 최적화된 커스텀 Triton/CUDA 커널을 구현하여 기본 처리량을 복원하거나 상회하도록 한다.
- 작은 초안 모델과 검증자를 사용한 예측 디코딩을 가능하게 하여 KV-캐시 용량을 감소시키지 않으면서 TPS를 증가시킨다.
실험 결과
연구 질문
- RQ1CNN 가이드 민감도 모델이 LLM에서 텐서-네트워크 기반 압축에 안전한 영역을 신뢰성 있게 식별할 수 있는가?
- RQ28K 컨텍스트에서 32B 모델에 대해 혼합 TN 분해(Tucker/TT/TR)가 가져오는 처리량과 메모리 이점은 무엇인가?
- RQ3제안된 압축 및 힐링 전략 하에서 품질 손실은 얼마나 되는가(혼합 perplexity 및 작업 정확도)?
- RQ4커널 최적화 및 예측 디코딩이 생산형 서빙 시나리오에서 어떤 실용적 이득을 제공하는가?
주요 결과
- 미니마는 약 36%의 모델 매개변수와 8K 컨텍스트에서 약 37%의 피크 VRAM을 감소시킨다.
- 압축 및 커널 최적화로 처리량이 약 40 TPS에서 약 50 TPS로 증가하고, 예측 디코딩으로 약 75 TPS까지 증가한다.
- 상대적으로 약 3% 수준으로 Perplexity가 증가하고, 벤치마크의 정확도는 기준과 ±1 퍼센트 포인트 이내를 유지한다.
- 학습된 민감도 모델은 균일한 랭크 선택보다 더 공격적인 압축을 가능하게 하며 혼합 TN 유형이 단일 TN을 능가한다.
- 예측 디코딩은 단일 요청 구간에서 더 큰 이득을 제공하고, 동시성이 큰 경우에는 이득이 크지만 감소한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.