atlas

Research map / Architectures and efficiency / Mixture of experts

LSH-MoE: Communication-efficient MoE Training via Locality-Sensitive Hashing

NeurIPS 2024 · Architectures and efficiency › Mixture of experts · approach: Expert routing and specialization · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LSH-MoE, which compresses all-to-all token communication in MoE expert-parallel training by clustering tokens with cross-polytope LSH and sending only centroids, with residual error compensation.

Problem

All-to-all communication in expert-parallel MoE training consumes a large share of training time (about 45% on average in profiled models), limiting efficiency and scalability.

Approach

Exploit token similarity in all-to-all traffic: cluster tokens online with cross-polytope locality-sensitive hashing, transmit only cluster centroids through experts, and restore per-token outputs by adding back stored residuals to the expert output of each centroid.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply LSH-MoE compression with residual compensationGPT-MoE (15B) fine-tuning · GLUEaccuracyNo clear effect
Apply LSH-MoE compression with residual compensationGPT-MoE (52B) fine-tuning · GLUEaccuracyNo clear effect
Apply LSH-MoE compression with residual compensationSwin-MoE fine-tuning · ImageNet-1KTop-1 accuracy: 84.7% -> 84.5%No clear effect
Apply LSH-MoE compression with residual compensationSwin-MoE fine-tuning · ImageNet-1Ksamples/s: 184.3 -> 236.6Helped
Apply LSH-MoE with residual compensationRoBERTa-MoE pre-training · BooksCorpus and English Wikipediatime to equivalent perplexity: 1.6×Helped
Apply LSH-MoE with residual compensationT5-MoE pre-training · industry datasettime to equivalent perplexity: 2.2×Helped
Remove residual-based error compensation (ablation)LSH-MoE · RoBERTa-MoE pre-trainingperplexity: +0.3Hurt
Increase the number of hash functions (2, 4, 6, 8, or 10) (ablation)LSH-MoE · GPT-MoE (15B), MNLI and SST-2convergence qualityHelped
Increase the number of hash functions (2, 4, 6, 8, or 10) (ablation)LSH-MoE · GPT-MoE (15B), MNLI and SST-2compression rateHurt
Use cross-polytope hashing instead of spherical-plane hashing (ablation)LSH-MoE · GPT-MoE (15B), MNLI and SST-2convergence qualityHelped

Surprising findings

Limitations

Experimental setup

Datasets: BooksCorpus English Wikipedia industry pre-training dataset GLUE ImageNet-1K

Benchmarks: GLUE ImageNet-1K

Metrics: perplexity accuracy (top-1, top-5) zero-shot accuracy training speedup compression rate samples/s

Baselines: Original MoE training (no compression) Spherical hashing (SP) TA-MoE Pre-gated MoE DeepSpeed-MoE

Builds on: Switch Transformer Reformer DeepSpeed-MoE Hash Layer

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy