APEX: 메모리 효율적인 엣지 MoE 추론을 위한 적응형 전문가 프리페칭
APEX: Adaptive Expert Prefetching for Memory-Efficient Edge MoE Inference
한국어 초록
전문가 혼합(MoE, Mixture-of-Experts) 모델은 토큰(token)당 파라미터의 작은 부분 집합만을 활성화하여 연산 효율성을 높이는 동시에 높은 모델 용량을 제공하므로 엣지 배포(edge deployment)에 매력적입니다. 그러나 엣지에서의 MoE 추론(inference)은 근본적으로 메모리의 제약을 받습니다. 대용량인 전문가 파라미터는 용량, 비용, 전력 제약으로 인해 오프칩(off-chip) 메모리에 상주하는 경우가 많아, 전문가 로딩이 임계 경로(critical path)에 놓이게 됩니다. 본 논문에서는 유용한 연산과 전문가 로딩을 중첩하는 예측적 자원 관리 프레임워크인 APEX(Adaptive Expert Prefetching)를 제시합니다. APEX는 어텐션(attention) 블록 이전에 후보 전문가를 예측하여 학습된 신뢰도 모델을 기반으로 추가 전문가를 동적으로 가져오는 경량 프리페치 라우터를 도입합니다. 이러한 적응형 전략은 99% 이상의 중첩 정확도를 달성하여 고정 top-k 프리페칭 기법을 크게 능가합니다. APEX는 두 가지 실행 모드를 지원합니다. 정확한 라우팅 시맨틱을 보장하는 정확도 보존(correctness-preserving) 모드와, 애플리케이션 정확도에 미치는 영향을 무시할 수 있는 수준으로 유지하면서 사용 가능한 전문가를 활용해 잔여 스톨(stall)을 제거하는 스톨 프리(stall-free) 모드입니다. 다양한 MoE 모델에서 정확도 보존 모드는 최신 베이스라인 대비 토큰당 지연 시간을 최대 26% 줄이고 에너지-지연 곱(EDP)을 최대 41% 개선하는 한편, 스톨 프리 모드는 애플리케이션 정확도에 미치는 영향 없이 추가적인 효율성 이득을 제공합니다. 이러한 결과는 적응형 신뢰도 기반 전문가 프리페칭이 엣지 시스템에서 효율적인 MoE 추론을 위한 효과적인 접근 방식임을 입증합니다.
원문 초록
Mixture-of-Experts (MoE) models are attractive for edge deployment because they provide high model capacity while activating only a small subset of parameters per token, improving compute efficiency. However, MoE inference at the edge is fundamentally limited by memory. Expert parameters are large and often reside in off-chip memory due to capacity, cost, and power constraints, putting expert loading to the critical path. We present APEX: Adaptive Expert Prefetching, a predictive resource management framework that overlaps expert loading with useful computation. APEX introduces a lightweight prefetch router that predicts candidate experts before the attention block to dynamically fetch additional experts using a learned confidence model. This adaptive strategy achieves over 99% overlap accuracy, significantly outperforming fixed top-k prefetching techniques. APEX supports two execution modes: a correctness-preserving mode that guarantees exact routing semantics, and a stall-free mode that eliminates residual stalls by operating on available experts with negligible impact on application accuracy. Across multiple MoE models, the correctness-preserving mode reduces per-token latency by up to 26% and improves energy-delay product (EDP) by up to 41% over state-of-the-art baselines, while the stall-free mode provides additional efficiency gains with negligible impact on application accuracy. These results establish adaptive, confidence-driven expert prefetching as an effective approach for efficient MoE inference on edge systems.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2608.11688v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.