학술

MoEXViz: Interactive Visualizations of Sparse Mixture-of-Experts

arXiv CS.AI
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

Abstract

Sparse Mixture-of-Experts architectures have become a prominent strategy for scaling large language models without proportionally increasing inference cost. By routing each token through a sparse, input-dependent subset of expert subnetworks, these models increase total parameter capacity while limiting active computation. However, their fragmented routing pathways make them difficult to inspect, audit, and debug. We present MoEXViz, an open-source, browser-based visualization platform for analyzing sparse MoE models at the per-token and per-layer levels. MoEXViz separates model execution from visualization through a three-stage pipeline: offline PyTorch extraction, compact JSON serialization, and low-latency browser playback. This design removes the need for live GPU access during interactive analysis while preserving traceability to real model forward passes. MoEXViz supports multiple visualization views, including expert UMAP projections, per-layer expert activation grids, average activation trends, per-domain expert rankings, prompt-level inspection, and animated routing diagrams. The system dynamically derives layouts from model metadata rather than relying on hard-coded expert counts or routing widths. We demonstrate MoEXViz on three architecturally distinct open-weight MoE models: OLMoE-1B-7B, JetMoE-8B, and DeepSeek-MoE-16B. Code is available at this https URL and a live demo is available at this https URL
Additional Features

관련 뉴스