TL;DR
This paper introduces Fully Sharded Expert Data-parallelism (FSE-DP), a novel parallelization paradigm designed to accelerate Mixture-of-Experts (MoE) model inference on multi-chiplet edge devices under low-batch workloads. By dynamically streaming fine-grained "micro-slices" of expert weights across high-bandwidth die-to-die links, FSE-DP achieves up to a 2.00× speedup and slashes on-chip memory requirements by up to 78.8%.
What Problem Does This Paper Address?
Deploying large Mixture-of-Experts (MoE) models on edge devices (like AI PCs, robotics, and autonomous vehicles) is highly desirable because MoEs only activate a fraction of the network per token, keeping compute costs manageable. However, edge deployments typically suffer from low batch sizes, which severely limits weight reuse and exposes three critical bottlenecks:
- Limited On-Chip Memory: Edge devices lack the massive SRAM cache needed to store entire large models, forcing them to rely on offloading weights to external DRAM.
- External Memory Access Bottleneck: Constrained on-chip capacity means expert weights must be frequently fetched from off-chip memory, creating a massive bandwidth bottleneck.
- Dynamic Workload Imbalance: In low-batch scenarios, token distribution across experts is highly skewed—a few "hot" experts process many tokens, while many "cold" experts process few or none. This creates severe compute and data-transfer imbalances across distributed hardware.
Existing parallel strategies (like Expert Parallelism or Tensor Parallelism) replicate weights or tokens, worsening memory redundancy and failing to exploit the unique high-bandwidth die-to-die (D2D) interconnects of modern multi-chiplet architectures.
Methods
The authors propose Fully Sharded Expert Data-parallelism (FSE-DP), which treats a multi-chiplet array as a single pooled buffer, keeping only one physical copy of any token or expert slice across the entire package.
Its core components include:
- Micro-Slice Flow: Expert weight slices are broken down into tiny "micro-slices." While a chiplet computes using the current micro-slice, it concurrently receives the next one from a neighbor and forwards the completed one, maximizing computation-communication overlap.
- Paired-Load Policy: The scheduler sorts experts by popularity and pairs "hot" (compute-bound) and "cold" (communication-bound) experts to interleave their fetching and execution, smoothing out hardware utilization.
- Token Buffering: For extremely cold experts, the system can temporarily pause a request at that specific MoE layer using a Quality-of-Service (QoS) timer. This defers execution until more tokens accumulate in subsequent iterations, boosting data reuse.
- Hardware-Amenable Virtualization Rules: A minimal set of self-acting rules abstracts away physical routing complexities, allowing the hardware to spontaneously materialize expert trajectories.
- Dedicated Hardware Scheduler: The authors implemented this spatiotemporal scheduling algorithm into a synthesized RTL module occupying just 0.43 mm² in 28-nm technology.
Datasets
The framework was evaluated using representative language-modeling and evaluation datasets:
- Wikitext-2
- C4
- WinoGrande (used to profile and demonstrate that the long-tail activation pattern persists across different task types).
Key Insights and Ideas
- Communication as a Resource, Not a Bottleneck: Instead of avoiding inter-die communication, FSE-DP embraces high-bandwidth D2D links to stream weights dynamically. This shifts the bottleneck away from slow off-chip DRAM to fast on-chip point-to-point transfers.
- The "Sweeping" Principle: Once a micro-slice finishes its computation on a chiplet, it is immediately forwarded and its memory is released. Weights are never stored statically on-chip, turning memory management into a fluid, streaming dataflow.
- Exploiting the Long Tail: Rather than fighting the highly skewed token distribution of MoEs, FSE-DP pairs opposite ends of the distribution (hot and cold experts) to naturally balance the compute-to-communication ratios across the chiplets.
Key Results
- Speedup: FSE-DP achieves 1.22× to 2.00× speedup over state-of-the-art baselines like standard Expert Parallelism (EP) and Hydra.
- Memory Savings: It reduces on-chip memory overhead by up to 78.8%, compressing the multi-chiplet system's memory footprint to under 32 MB (about one-fifth of traditional approaches).
- Hardware Validation: The scheduler was validated on a taped-out 2×2 5nm Multi-Chip Module (MCM) test chip utilizing a UCIe-compliant D2D interconnect, demonstrating sub-microsecond scheduling latency.
Limitations and Future Work
- Hardware Dependency: The success of FSE-DP relies heavily on high D2D link efficiency and fine-grained capabilities in computation, memory access, and communication. It may not perform well on platforms lacking advanced packaging or high-speed interconnect standards like UCIe.
- QoS Trade-offs: Token buffering intentionally delays certain requests to improve overall system efficiency, which requires flexible per-request latency constraints.
- Future Directions: The authors suggest extending this hardware virtualization and streaming methodology to other dynamic edge workloads, most notably KV-Cache management in large language models.
Summary updated