arXiv:2608.21614v1 cs.AI

SAEM: 사고의 연쇄 추론에서 메모리 효율적인 MoE 추론을 위한 단계 인식 전문가 관리

SAEM: Stage-Aware Expert Management for Memory-Efficient MoE Inference in Chain-of-Thought Reasoning

Yujie Zhang, Bin Gao, Tulika Mitra

제출 2026-08-21

한국어 초록

사고의 연쇄(Chain-of-Thought, CoT) 프롬프팅은 복잡한 문제를 중간 단계들로 분해하여 대규모 언어 모델(LLM)의 추론 능력을 향상하지만, 순차적인 특성으로 인해 디코딩 지연 시간과 메모리 사용량이 증가합니다. 전문가 혼합(MoE) 모델은 희소한 전문가 활성화를 통해 용량을 확장하지만, 전체 전문가 가중치가 종종 GPU 메모리를 초과하여 비용이 큰 GPU-CPU 간 전송을 필요로 합니다. 기존 런타임은 모든 토큰을 균일하게 처리하여 CoT 트레이스의 핵심적인 구조적 특성, 즉 연속된 추론 단계들이 일관되고 예측 가능한 전문가 활성화 패턴을 보인다는 점을 간과합니다. 이러한 단계 수준의 규칙성을 무시하면 비효율적인 캐싱과 불필요한 데이터 이동이 발생합니다. 본 논문에서는 추론 단계의 경계를 감지하고 단계 수준의 활성화 일관성을 활용하여 전문가 배치를 유도하는 단계 인식 MoE 추론 런타임인 SAEM을 제안합니다. SAEM은 단계 인식 캐싱, 전문가 정렬 토큰 재패킹, 현장(in-situ) CPU 실행을 결합하여 데이터 전송과 커널 파편화를 줄입니다. 수학 및 과학 추론 워크로드에서 SAEM은 제한된 GPU 메모리 환경 하에 가장 강력한 최신 캐싱 및 오프로딩 베이스라인 대비 평균 1.33배의 처리량 향상을 달성하며, 캘리브레이션 데이터가 워크로드와 일치할 때는 1.54배까지 향상되어 CoT 추론을 위한 단계 인식 및 지역성 기반 MoE 추론의 효과를 입증합니다.

원문 초록

Chain-of-thought (CoT) prompting improves LLM reasoning by decomposing complex problems into intermediate steps, but its sequential nature increases decoding latency and memory usage. Mixture-of-Experts (MoE) models scale capacity through sparse expert activation, yet their full expert weights often exceed GPU memory and require costly GPU-CPU transfers. Existing runtimes treat all tokens uniformly, overlooking a key structural property of CoT traces: consecutive reasoning stages exhibit coherent and predictable expert activation patterns. Ignoring this stage-level regularity leads to inefficient caching and unnecessary data movement. We propose SAEM, a stage-aware MoE inference runtime that detects reasoning stage boundaries and exploits stage-level activation coherence to guide expert placement. SAEM combines stage-aware caching, expert-aligned token repacking, and in-situ CPU execution to reduce data transfer and kernel fragmentation. On mathematical and scientific reasoning workloads, SAEM achieves an average 1.33x throughput improvement over the strongest state-of-the-art caching and offloading baselines under constrained GPU memory, rising to 1.54x when calibration data matches the workload, demonstrating the effectiveness of stage-aware, locality-driven MoE inference for CoT reasoning.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2608.21614v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.