병렬 및 분산 추론 언어 모델의 성능 기반
Performance Foundations of Parallel & Distributed Reasoning Language Models
한국어 초록
검증 가능한 보상 기반 강화학습(Reinforcement Learning with Verifiable Rewards, RLVR)과 그 밖의 강화학습 방식의 사후 학습 패러다임은 대규모 언어 모델(LLM)을 추론 기준에 정렬하는 데 사용되어 왔다. 그 결과로 등장한 DeepSeek-R1, o3, Kimi k1.5와 같은 최근의 추론 언어 모델(Reasoning Language Models, RLM)은 이러한 강화학습 방식의 사후 학습("RL-for-LLMs")이 사고의 연쇄(chain-of-thought) 추론, 장기 계획 수립(long-horizon planning), 자기 수정(self-correction)을 크게 향상시킬 수 있음을 보여준다. 그러나 이러한 시스템의 연산 부담은 막대하다. 최첨단 RLM 학습에는 수백만 GPU 시간과 긴밀하게 결합된 다중 모델 파이프라인이 필요하며, 이는 기존의 지도 학습 기반 LLM 학습보다 최신 하드웨어에 훨씬 큰 부담을 준다. 이로 인해 RLM 학습은 알고리즘의 문제인 만큼이나 병렬 및 분산 시스템의 문제이기도 하다. 본 연구에서는 고성능, 확장성, 비용 효율성을 동시에 갖춘 RLM의 개발을 돕기 위해, 먼저 RL-for-LLM 패러다임을 체계화하고 주요 사후 학습 알고리즘 프레임워크인 근접 정책 최적화(Proximal Policy Optimization, PPO), 그룹 상대 정책 최적화(Group Relative Policy Optimization, GRPO)와 그 변형들에 대해 연산 중심의 분석을 제시한다. 둘째, RL-for-LLMs를 위한 모델 내(intra-model) 및 모델 간(inter-model) 병렬화 전략의 분류 체계를 구축한다. 이는 전통적인 기법(데이터, 텐서, 파이프라인, 시퀀스, 컨텍스트, 전문가 병렬화)과 더불어 다중 모델 RLM 학습을 위한 새로운 형태의 병렬화 및 최적화 기법, 예를 들어 분리형 배치(disaggregated placement), 단계 융합(stage fusion), 하이브리드 병렬화, 비동기 실행을 모두 포괄한다. 우리는 병렬 컴퓨팅의 작업-깊이 모델(work-depth model)을 활용하여 이 분류 체계와 그 통찰을 엄밀하고 이식 가능하게 만든다. 마지막으로, 기존 RLM 프레임워크를 분석하고 실용적인 지침을 도출하며, 확장 가능하고 빠르며 비용 효율적인 RLM을 구축하기 위한 향후 연구 방향을 제시한다.
원문 초록
Reinforcement Learning with Verifiable Rewards (RLVR) and other RL-style post-training paradigms have been used for aligning large language models (LLMs) with reasoning standards. The resulting recent Reasoning Language Models (RLMs) such as DeepSeek-R1, o3, and Kimi k1.5 show that such RL-style post-training ("RL-for-LLMs") can substantially improve chain-of-thought reasoning, long-horizon planning, and self-correction. However, the computational footprint of these systems is massive: state-of-the-art RLM training requires millions of GPU-hours and tightly coupled multi-model pipelines that stress modern hardware far beyond classical supervised LLM training. This makes RLM training as much a parallel and distributed systems problem as an algorithmic one. In this work, to facilitate developing RLMs that are simultaneously high-performance, scalable, and cost-effective, we first systematize the RL-for-LLM paradigm and provide a compute-centric analysis of prominent post-training algorithmic frameworks: Proximal Policy Optimization (PPO), Group Relative Policy Optimization (GRPO), as well as their variants. Second, we develop a taxonomy of intra- and inter-model parallelism strategies for RL-for-LLMs, covering both traditional techniques (data, tensor, pipeline, sequence, context, and expert parallelism) as well as novel forms of parallelism and optimization techniques for multi-model RLM training, for example disaggregated placement, stage fusion, hybrid parallelism, and asynchronous execution. We harness the work-depth model of parallel computing to make our taxonomy and its insights rigorous and portable. Finally, we analyze existing RLM frameworks and we distill practical guidelines and outline open research directions for building scalable, fast, and cost-effective RLMs.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2608.27046v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.