arXiv:2608.07911v1 cs.LG

트레이스 기반 평가는 언제 MoE 전문가 캐싱을 오도하는가? 리플레이 시맨틱스, 워크로드 오염, 그리고 동작 체제

When Does Trace-Driven Evaluation Mislead MoE Expert Caching? Replay Semantics, Workload Contamination, and Operating Regimes

Yu Zhang

제출 2026-08-08

한국어 초록

전문가 혼합(MoE) 모델의 크기가 가속기 메모리를 초과함에 따라 전문가 가중치를 호스트 메모리로 오프로딩하는 것이 표준이 되었습니다. 이에 따라 전문가 캐시 관리는 매력적인 수단이 되었습니다. 즉, 적중률을 높이는 정책은 토큰당 전문가 트래픽을 줄일 수 있습니다. 그러나 이를 평가하는 것은 측정의 문제이며, 본 연구에서는 이러한 측정이 취약함을 발견했습니다. 세 가지 MoE 모델(전문가 40, 64, 128개)을 대상으로 이벤트 원자적(event-atomic) 트레이스 기반 시뮬레이터를 사용하여, 단순한 수치뿐만 아니라 결론 자체를 바꾸는 세 가지 평가 축을 분리해 냈습니다. 첫째, 리플레이 시맨틱스(Replay semantics): 융합 이벤트 트래픽 계약 하에서 일관되지 않은 접근별 리플레이는 빈도 기반 및 정적 정책을 4% 이내로 유지하는 반면 최근성 기반 정책은 27~29% 부풀려 정책 순위를 뒤바꿉니다. 둘째, 워크로드 오염(Workload contamination): 카테고리당 하나의 인스트럭션 템플릿을 사용하는 프로브 세트는 완전히 동일한 생성 접두사를 생성하며, 대응 쌍 렌더링 개입을 적용하면 측정된 초기 윈도우 효과가 19.4~31.9포인트 변동하고 어떤 워크로드가 가장 캐시 친화적인지에 대한 결과가 역전됩니다. 셋째, 동작 체제(Operating regimes): 정규화된 미스 비율은 모델 간에 전이되지 않으므로 층별 용량 대비 단계별 전문가 합집합을 보고해야 하지만, 동일한 이벤트 스트림의 시간 순서만 바꾸어도 오프라인 최적 격차가 44.9%에서 30.8%로 변하므로 이것만으로는 충분하지 않습니다. 이를 보정한 후에도 오프라인 최적값과의 안정적인 격차(13개의 고정 워크로드 구성에 걸쳐 44.2~45.9%)가 유지됩니다. 강제 수용 오라클은 이 격차의 84.3~96.6%가 상주 전문가 중 어느 것이 미래에 가장 늦게 사용되는지 아는 것에서 기인한다고 분석합니다. 축출 규칙으로 사용된 인과적 다음 사용 예측기는 격차의 -11.4%만을 회복하며, 최적의 희생 블록을 선택하는 비율은 3.4%에 불과하여 무작위 상주 블록의 2.4%, LRU 및 LFRU의 20.6~22.1%와 대비됩니다. 본 연구의 입장은 명확합니다. 평가된 설정에서 큰 오프라인 최적 격차는 대표적인 경량 인과적 메커니즘을 통해 회복할 수 있는 이득을 상당히 과장합니다.

원문 초록

Mixture-of-Experts (MoE) models have outgrown accelerator memory, and offloading expert weights to host memory is now standard. This makes expert cache management an attractive lever: a policy that raised the hit rate would cut expert traffic per token. Evaluating that is a measurement problem, and we find the measurement fragile. With a trace-driven, event-atomic simulator over three MoE models (40, 64, 128 experts), we isolate three evaluation axes that change conclusions, not just numbers. Replay semantics: under a fused-event traffic contract, an inconsistent per-access replay inflates recency-based policies by 27-29% while leaving frequency-based and static ones within 4%, inverting the policy ranking. Workload contamination: probe sets using one instruction template per category produce verbatim-identical generation prefixes; a matched-pair rendering intervention moves the measured early-window effect by 19.4-31.9 points and reverses which workloads look most cache-friendly. Operating regimes: normalized miss fractions do not transfer across models, so the per-step expert union relative to per-layer capacity must be reported -- yet permuting only the temporal order of an identical event stream moves the offline-optimal gap from 44.9% to 30.8%, so it is not sufficient. Corrected, a stable gap to the offline optimum remains (44.2-45.9% over 13 frozen workload compositions). A forced-admission oracle attributes 84.3-96.6% of it to knowing which resident expert is used furthest in the future. A causal next-use predictor, used as an eviction rule, recovers -11.4% of the gap; it picks an optimal victim 3.4% of the time, against 2.4% for a random resident block and 20.6-22.1% for LRU and LFRU. Our position is narrow: in our evaluated settings a large offline-optimal gap substantially overstates the gains recovered by representative lightweight causal mechanisms.

제출 이력

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

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

함께 살펴볼 논문

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

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

토론

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