2026-10-08 논문 목록

논문 해설 · 2026-10-08

학습과 추론의 FP4 오차를 줄여 MoE 언어모델 강화학습을 빠르게 하는 TRACE

TRACE: Rollout-Guided Quantization-Aware Training for FP4 Reinforcement Learning of MoE Language Models

대형 언어모델의 강화학습은 답변을 생성하는 롤아웃 단계에서 계산과 메모리를 많이 쓴다. TRACE는 이를 줄이려고 4비트 부동소수점(FP4)을 쓰면서, 학습 경로와 롤아웃 경로 사이의 차이를 직접 줄이는 방법이다. 초록에 따르면 BF16 롤아웃과 비슷한 강화학습 성능을 내면서 롤아웃은 최대 5.4배 빨라졌다.

논문 초록을 바탕으로 정리했습니다. 논문 전체의 실험 조건과 한계까지 검토한 심층 리뷰는 아닙니다.

논문 원문 읽기 ↗

연구 문제: 롤아웃 비용과 두 경로의 불일치

강화학습으로 언어모델을 후속 학습할 때는 모델이 직접 답변을 만들어 보는 롤아웃 단계가 필요하다. 이 단계는 계산량과 메모리 부담이 커서, 숫자를 적은 비트로 표현하는 저정밀도 방식이 주목받는다. 그중 FP4는 숫자를 4비트 부동소수점으로 표현하는 방식이다.

초록은 기존 FP4 강화학습 방법의 한계로, 학습 경로와 롤아웃 경로의 양자화 정확도를 따로 높이는 데 집중했다는 점을 든다. 양자화는 숫자를 더 거친 값으로 반올림해 저장하는 일이다. 두 경로가 각각 정확해도 서로 다르게 반올림되면 차이가 남는데, 기존 방법은 이 차이를 직접 줄이지 않았다.

방법: 롤아웃의 결과로 학습의 반올림을 안내

TRACE는 전문가 여러 개를 조합하는 구조인 MoE(Mixture-of-Experts) 언어모델의 강화학습을 위한 FP4 틀이다. 핵심은 롤아웃 안내식 양자화 인식 학습이다. 롤아웃 쪽에서 나온 양자화 결과를 이용해 학습 쪽의 FP4 반올림 결정을 이끌어, 두 경로의 차이를 직접 줄인다.

또한 이 안내 정보를 저장하고 주고받는 부담을 줄이기 위해 효율적인 캐싱 방식을 쓴다. 더 깊은 층의 가수부(mantissa)와 스케일 정보만 골라서 보관하는 방식이다. 가수부는 숫자의 세부 값을, 스케일은 값의 전체 크기 조절 정보를 나타낸다.

결과: BF16에 견줄 성능과 최대 5.4배 속도

평가는 네 가지 대규모 MoE 언어모델에서 추론, 코딩, 장기 과제 강화학습으로 이루어졌다. 초록은 TRACE가 FP4 가중치·활성값과 FP4 KV 캐시를 함께 쓰는 롤아웃에서도 BF16 롤아웃에 견줄 만한 강화학습 성능을 낸다고 밝힌다. 롤아웃 속도는 최대 5.4배 빨라졌다.

BF16으로 학습한 정책을 나중에 FP4로 양자화하는 방법과 비교해서도 최종 FP4 성능이 강했다고 한다. 다만 구체적인 점수, 모델별 차이, 메모리 절감량은 초록에 나와 있지 않다.

근거로 읽은 영문 초록

Reinforcement learning (RL) for post-training large language models (LLMs) incurs substantial computation and memory overhead during rollout generation, which motivates low-precision rollout for efficient RL training. However, existing FP4 RL methods suffer from a key limitation: they primarily optimize quantization accuracy on the training and rollout paths independently rather than directly reducing the discrepancy between the two quantized execution paths. In this work, we propose TRACE (Train-Rollout Quantization Alignment via Compact GuidancE), an FP4 quantization framework for RL training of Mixture-of-Experts (MoE) language models that addresses the limitation of existing FP4 RL methods. TRACE incorporates rollout-guided quantization-aware training that uses rollout-side quantization outcomes to guide training-side FP4 rounding decisions, directly reducing train-rollout discrepancy. Moreover, TRACE adopts an efficient quantization-information caching scheme that selectively retains mantissa and scale information from deeper layers to reduce the storage and communication overhead introduced by rollout guidance. We evaluate TRACE on four large-scale MoE language models across reasoning, coding, and long-horizon RL tasks. Our results demonstrate that TRACE enables joint FP4 weight/activation and FP4 KV-cache rollout with RL performance comparable to BF16 rollout, while achieving up to 5.4xrollout speedup and strong final FP4 performance compared with post-hoc FP4 quantization of BF16-trained policies.