Pathways: Asynchronous Distributed Dataflow for ML
Not on the map. Why?
Abstract (arXiv)
We present the design of a new large scale orchestration layer for accelerators. Our system, Pathways, is explicitly designed to enable exploration of new systems and ML research ideas, while retaining state of the art performance for current models. Pathways uses a sharded dataflow graph of asynchronous operators that consume and produce futures, and efficiently gang-schedules heterogeneous parallel computations on thousands of accelerators while coordinating data transfers over their dedicated interconnects. Pathways makes use of a novel asynchronous distributed dataflow design that lets the control plane execute in parallel despite dependencies in the data plane. This design, with careful engineering, allows Pathways to adopt a single-controller model that makes it easier to express complex new parallelism patterns. We demonstrate that Pathways can achieve performance parity (~100% accelerator utilization) with state-of-the-art systems when running SPMD computations over 2048 TPUs, while also delivering throughput comparable to the SPMD case for Transformer models that are pipelined across 16 stages, or sharded across two islands of accelerators connected over a data center network.
Key facts. Cited by 81 papers in the map (data through 7 Oct 2026). Builds on 29 of its 82 references that are in the map. First posted on arXiv 23 Mar 2022.
Builds on
29 of 82 references.
References · 29
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2018Efficient Neural Architecture Search via Parameter Sharingcited by 831
17 more
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2017Large Batch Training of Convolutional Networkscited by 529
- 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 516
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 413
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
- 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
- 2018Measuring the Effects of Data Parallelism on Neural Network Trainingcited by 190
- 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
- 2019Analysis of Large-Scale Multi-Tenant GPU Clusters for DNN Training Workloadscited by 79
- 2020Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloadscited by 56
- 2019PipeMare: Asynchronous Pipeline Parallel DNN Trainingcited by 54
- 2019Themis: Fair and Efficient GPU Cluster Schedulingcited by 43
- 2020Deep Learning Training in Facebook Data Centers: Design of Scale-up and Scale-out Systemscited by 37
- 2019TensorFlow Eager: A Multi-Stage, Python-Embedded DSL for Machine Learningcited by 22
- 2019Neural Message Passing for Multi-Label Classificationcited by 20
- 2020Nimble: Lightweight and Parallel GPU Task Scheduling for Deep Learningcited by 17
- 2018Dynamic Control Flow in Large-Scale Machine Learningcited by 8
Built on by
Citing papers per year: 2022: 23; 2023: 27; 2024: 17; 2025: 7; 2026: 7.
81 papers.
Sort:
By area:
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
- 2022Large Language Models Encode Clinical Knowledgecited by 1,807
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
- 2023PaLM 2 Technical Reportcited by 1,154
- 2022InternVideo: General Video Foundation Models via Generative and Discriminative Learningcited by 441
- 2023Towards Generalist Biomedical AIcited by 286
- 2023Universal Instance Perception as Object Discovery and Retrievalcited by 190
- 2023A Survey of Large Language Models for Healthcare: from Data, Technology, and Applications to Accountability and Ethicscited by 162
- 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 121
- 2022Accelerating Distributed MoE Training and Inference with Linacited by 109
- 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Modelscited by 98
38 more
- 2024Advancing Multimodal Medical Capabilities of Geminicited by 88
- 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
- 2022VeLO: Training Versatile Learned Optimizers by Scaling Upcited by 57
- 2022Generative Knowledge Graph Construction: A Reviewcited by 49
- 2026Scaling Text-to-Image Diffusion Transformers with Representation Autoencoderscited by 49
- 2023QMoE: Practical Sub-1-Bit Compression of Trillion-Parameter Modelscited by 42
- 2022Attribution and Obfuscation of Neural Text Authorship: A Data Mining Perspectivecited by 40
- 2024Addressing cognitive bias in medical language modelscited by 34
- 2025Measuring the environmental impact of delivering AI at Google Scalecited by 31
- 2023SAFE: Machine Unlearning With Shard Graphscited by 28
- 2024Revisiting Reliability in Large-Scale Machine Learning Research Clusterscited by 27
- 2023Ten Lessons We Have Learned in the New "Sparseland": A Short Handbook for Sparse Neural Network Researcherscited by 25
- 2023Large Language Models for User Interest Journeyscited by 24
- 2024Tx-LLM: A Large Language Model for Therapeuticscited by 23
- 2022On Optimizing the Communication of Model Parallelismcited by 19
- 2022OFASys: A Multi-Modal Multi-Task Learning System for Building Generalist Modelscited by 17
- 2022An Evolutionary Approach to Dynamic Introduction of Tasks in Large-scale Multitask Learning Systemscited by 16
- 2023Unleashing Mask: Explore the Intrinsic Out-of-Distribution Detection Capabilitycited by 16
- 2024Mixtures of Neural Operators Reduce Active Complexity in Operator Learningcited by 16
- 2023Tenplex: Dynamic Parallelism for Deep Learning using Parallelizable Tensor Collectionscited by 15
- 2022XRBench: An Extended Reality (XR) Machine Learning Benchmark Suite for the Metaversecited by 14
- 2025Robust LLM Training Infrastructure at ByteDancecited by 14
- 2023Fundamentals of Generative Large Language Models and Perspectives in Cyber-Defensecited by 13
- 2022Serving and Optimizing Machine Learning Workflows on Heterogeneous Infrastructurescited by 12
- 2024Glauber Generative Model: Discrete Diffusion Models via Binary Classificationcited by 11
- 2024Improving Parallel Program Performance with LLM Optimizers via Agent-System Interfacescited by 11
- 2025eMoE: Task-aware Memory Efficient Mixture-of-Experts-Based (MoE) Model Inferencecited by 11
- 2022PanGu-Bot: Efficient Generative Dialogue Pre-training from Pre-trained Language Modelcited by 9
- 2022A Continual Development Methodology for Large-scale Multitask Dynamic ML Systemscited by 9
- 2024FlexLLM: Token-Level Co-Serving of LLM Inference and Finetuning with SLO Guaranteescited by 9
- 2024DrJAX: Scalable and Differentiable MapReduce Primitives in JAXcited by 9
- 2023Language models are susceptible to incorrect patient self-diagnosis in medical applicationscited by 8
- 2024Domino: Eliminating Communication in LLM Training via Generic Tensor Slicing and Overlappingcited by 8
- 2024Model Parallelism on Distributed Infrastructure: A Literature Review from Theory to LLM Case-Studiescited by 7
- 2025Applications of Large Models in Medicinecited by 6
- 2022Quant 4.0: Engineering Quantitative Investment with Automated, Explainable and Knowledge-driven Artificial Intelligencecited by 5
- 2023SuperScaler: Supporting Flexible DNN Parallelization via a Unified Abstractioncited by 5
- 2023Large Language Models and Foundation Models in Smart Agriculture: Basics, Opportunities, and Challengescited by 4
50 most cited of 81 All 81 (JSON)
- 2026Global Simulation-Guided Dynamic Operator Scheduling for Efficient Multi-Tenant Model Serving16 Aug 2026
- 2026TokenMinds: Pretrained User Tokens and Embeddings for User Understanding in Large Recommender Systems23 Jun 2026
- 2026Piper: A Programmable Distributed Training System9 Jun 2026
- 2026Neural Activation Patterns Across Language Model Architectures: A Comprehensive Analysis of Cognitive Task Performance14 May 2026
- 2026AAFLOW: Scalable Patterns for Agentic AI Workflows4 May 2026
- 2026Decoupled DiLoCo for Resilient Distributed Pre-training23 Apr 2026
- 2026Scaling Text-to-Image Diffusion Transformers with Representation Autoencoders22 Jan 2026
- 2025Robust LLM Training Infrastructure at ByteDance19 Sep 2025
- 2025Measuring the environmental impact of delivering AI at Google Scale21 Aug 2025
- 2025MegaScale-Data: Scaling Dataloader for Multisource Large Foundation Model Training14 Apr 2025
- 2025eMoE: Task-aware Memory Efficient Mixture-of-Experts-Based (MoE) Model Inference10 Mar 2025
- 2025Mixtera: A Data Plane for Foundation Model Training27 Feb 2025
38 more
- 2025Applications of Large Models in Medicine24 Feb 2025
- 2025MixGCN: Scalable GCN Training by Mixture of Parallelism and Mixture of Accelerators3 Jan 2025
- 2024Sparse Checkpointing for Fast and Reliable MoE Training19 Dec 2024
- 2024Revisiting Reliability in Large-Scale Machine Learning Research Clusters29 Oct 2024
- 2024Improving Parallel Program Performance with LLM Optimizers via Agent-System Interfaces21 Oct 2024
- 2024Scalable Multi-Domain Adaptation of Language Models using Modular Experts14 Oct 2024
- 2024HybridFlow: A Flexible and Efficient RLHF Framework28 Sep 2024
- 2024Domino: Eliminating Communication in LLM Training via Generic Tensor Slicing and Overlapping23 Sep 2024
- 2024Tx-LLM: A Large Language Model for Therapeutics10 Jun 2024
- 2024Glauber Generative Model: Discrete Diffusion Models via Binary Classification27 May 2024
- 2024Advancing Multimodal Medical Capabilities of Gemini6 May 2024
- 2024Mixtures of Neural Operators Reduce Active Complexity in Operator Learning13 Apr 2024
- 2024Large Language Models Are State-of-the-Art Evaluator for Grammatical Error Correction26 Mar 2024
- 2024DrJAX: Scalable and Differentiable MapReduce Primitives in JAX11 Mar 2024
- 2024Model Parallelism on Distributed Infrastructure: A Literature Review from Theory to LLM Case-Studies6 Mar 2024
- 2024FlexLLM: Token-Level Co-Serving of LLM Inference and Finetuning with SLO Guarantees29 Feb 2024
- 2024Addressing cognitive bias in medical language models12 Feb 2024
- 2024Approximation Rates and VC-Dimension Bounds for (P)ReLU MLP Mixture of Experts5 Feb 2024
- 2024Elastic Multi-Gradient Descent for Parallel Continual Learning2 Jan 2024
- 2023DynaLay: An Introspective Approach to Dynamic Layer Selection for Deep Networks20 Dec 2023
- 2023Tenplex: Dynamic Parallelism for Deep Learning using Parallelizable Tensor Collections8 Dec 2023
- 2023QMoE: Practical Sub-1-Bit Compression of Trillion-Parameter Models25 Oct 2023
- 2023Exponential Quantum Communication Advantage in Distributed Inference and Learning11 Oct 2023
- 2023A Survey of Large Language Models for Healthcare: from Data, Technology, and Applications to Accountability and Ethics9 Oct 2023
- 2023Modularity in Deep Learning: A Survey2 Oct 2023
- 2023Language models are susceptible to incorrect patient self-diagnosis in medical applications17 Sep 2023
- 2023The Grand Illusion: The Myth of Software Portability and Implications for ML Progress12 Sep 2023
- 2023Saturn: An Optimized Data System for Large Model Deep Learning Workloads3 Sep 2023
- 2023Large Language Models and Foundation Models in Smart Agriculture: Basics, Opportunities, and Challenges13 Aug 2023
- 2023Towards Generalist Biomedical AI26 Jul 2023
- 2023Unleashing Mask: Explore the Intrinsic Out-of-Distribution Detection Capability6 Jun 2023
- 2023Auto-Differentiation of Relational Computations for Very Large Scale Machine Learning31 May 2023
- 2023Large Language Models for User Interest Journeys24 May 2023
- 2023SPARSEFIT: Few-shot Prompting with Sparse Fine-tuning for Jointly Generating Predictions and Natural Language Explanations22 May 2023
- 2023PaLM 2 Technical Report17 May 2023
- 2023SAFE: Machine Unlearning With Shard Graphs25 Apr 2023
- 2023Causal fault localisation in dataflow systems24 Apr 2023
- 2023Byzantine-Resilient Learning Beyond Gradients: Distributing Evolutionary Search20 Apr 2023
50 newest of 81 All 81 (JSON)
- 2022Accelerating Distributed MoE Training and Inference with Linacited by 109
- 2023QMoE: Practical Sub-1-Bit Compression of Trillion-Parameter Modelscited by 42
- 2025eMoE: Task-aware Memory Efficient Mixture-of-Experts-Based (MoE) Model Inferencecited by 11
- 2024Sparse Checkpointing for Fast and Reliable MoE Trainingcited by 3
- 2024Approximation Rates and VC-Dimension Bounds for (P)ReLU MLP Mixture of Expertscited by 2
- 2025eMoE: Task-aware Memory Efficient Mixture-of-Experts-Based (MoE) Model Inference10 Mar 2025
- 2024Sparse Checkpointing for Fast and Reliable MoE Training19 Dec 2024
- 2024Approximation Rates and VC-Dimension Bounds for (P)ReLU MLP Mixture of Experts5 Feb 2024
- 2023QMoE: Practical Sub-1-Bit Compression of Trillion-Parameter Models25 Oct 2023
- 2022Accelerating Distributed MoE Training and Inference with Lina31 Oct 2022
- 2023PaLM 2 Technical Reportcited by 1,154
- 2026AAFLOW: Scalable Patterns for Agentic AI Workflowscited by 2
- 2026AAFLOW: Scalable Patterns for Agentic AI Workflows4 May 2026
- 2023PaLM 2 Technical Report17 May 2023
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
- 2024HybridFlow: A Flexible and Efficient RLHF Framework28 Sep 2024
- 2023SAFE: Machine Unlearning With Shard Graphscited by 28
- 2023SAFE: Machine Unlearning With Shard Graphs25 Apr 2023
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Large Language Models Encode Clinical Knowledgecited by 1,807
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
- 2022InternVideo: General Video Foundation Models via Generative and Discriminative Learningcited by 441
- 2023Towards Generalist Biomedical AIcited by 286
- 2023Universal Instance Perception as Object Discovery and Retrievalcited by 190
- 2023A Survey of Large Language Models for Healthcare: from Data, Technology, and Applications to Accountability and Ethicscited by 162
- 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 121
- 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Modelscited by 98
- 2024Advancing Multimodal Medical Capabilities of Geminicited by 88
- 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
- 2022VeLO: Training Versatile Learned Optimizers by Scaling Upcited by 57
12 most cited of 70 All 70 (JSON)
- 2026Global Simulation-Guided Dynamic Operator Scheduling for Efficient Multi-Tenant Model Serving16 Aug 2026
- 2026TokenMinds: Pretrained User Tokens and Embeddings for User Understanding in Large Recommender Systems23 Jun 2026
- 2026Piper: A Programmable Distributed Training System9 Jun 2026
- 2026Neural Activation Patterns Across Language Model Architectures: A Comprehensive Analysis of Cognitive Task Performance14 May 2026
- 2026Decoupled DiLoCo for Resilient Distributed Pre-training23 Apr 2026
- 2025Robust LLM Training Infrastructure at ByteDance19 Sep 2025
- 2025Measuring the environmental impact of delivering AI at Google Scale21 Aug 2025
- 2025MegaScale-Data: Scaling Dataloader for Multisource Large Foundation Model Training14 Apr 2025
- 2025Mixtera: A Data Plane for Foundation Model Training27 Feb 2025
- 2025Applications of Large Models in Medicine24 Feb 2025
- 2025MixGCN: Scalable GCN Training by Mixture of Parallelism and Mixture of Accelerators3 Jan 2025
- 2024Revisiting Reliability in Large-Scale Machine Learning Research Clusters29 Oct 2024
12 newest of 70 All 70 (JSON)