Demonstration venue · read-only. Every page can be browsed; the buttons that would change it are switched off. Create an account to run TaxoReview on your own data. A simulation from public publication records: the people listed were not invited and did not agree to review.
? Tutorial for this page

Xiaonan Nie

dblp:295/3397 · DBLP profile ↗
← Back
20ranked-venue papers
4as first author
20since 2021 · last 2025
0000-0001-6766-757XORCID · corroborated

Domains — the database's venue-derived domains; a paper can count in several

Databases, data management, data science and information retrieval · 14 · 3 first-author · 14 since 2021Artificial intelligence and machine learning · 3 · 1 first-author · 3 since 2021Computer networks · 1 · 1 since 2021Software engineering, systems software and programming languages · 1 · 1 since 2021Graphics, computer vision, multimedia, augmented reality and games · 1 · 1 since 2021Applied, interdisciplinary, general and emerging computing · 1 · 1 since 2021

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Artificial intelligence
18 papers
Efficient and distributed learning · 79% Deep learning architectures and training · 8% Graph learning · 7%
Computer architecture, parallel and distributed computing, and storage systems
12 papers
Distributed systems · 45% Parallel and multicore computing · 38% GPUs and heterogeneous computing · 11%
Databases, data mining, and information retrieval
5 papers
Machine learning and data management · 56% Recommender systems · 24% Information retrieval · 15%

Topics — the 30 heaviest of 49, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Machine learning › Efficient and distributed learning
distributed training
7.5122025
Efficient and scalable huge embedding model training via distributed cache management · VLDB J. 2025
MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Training · Proc. ACM Manag. Data 2025
Malleus: Straggler-Resilient Hybrid Parallel Training of Large-scale Models via Malleable Data and Model Parallelization · Proc. ACM Manag. Data 2025
Distributed systems › distributed machine learning
distributed training
3.242025
ByteScale: Communication-Efficient Scaling of LLM Training with a 2048K Context Length on 16384 GPUs · SIGCOMM 2025
NetMoE: Accelerating MoE Training through Dynamic Sample Placement · ICLR 2025
Enabling Parallelism Hot Switching for Efficient Training of Large Language Models · SOSP 2024
GPUs and heterogeneous computing
GPU memory management
1.422025
MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Training · Proc. ACM Manag. Data 2025
TSPLIT: Fine-grained GPU Memory Management for Efficient DNN Training via Tensor Splitting · ICDE 2022
Machine learning › Efficient and distributed learning › distributed training
embedding model training
1.332025
HET-GMP: A Graph-based System Approach to Scaling Large Embedding Model Training · SIGMOD Conference 2022
HET: Scaling out Huge Embedding Model Training via Cache-enabled Distributed Framework · Proc. VLDB Endow. 2021
Efficient and scalable huge embedding model training via distributed cache management · VLDB J. 2025
Parallel and multicore computing › parallel programming models
automatic parallelization
1.322023
Hetu: a highly efficient automatic parallel distributed deep learning system · Sci. China Inf. Sci. 2023
OSDP: Optimal Sharded Data Parallel for Distributed Deep Learning · IJCAI 2023
Machine learning › Graph learning › graph neural network › efficient graph neural network
graph neural network acceleration
0.912025
Acceleration Algorithms in GNNs: A Survey · IEEE Trans. Knowl. Data Eng. 2025
Machine learning › Graph learning
graph sampling
0.912025
Acceleration Algorithms in GNNs: A Survey · IEEE Trans. Knowl. Data Eng. 2025
Machine learning › Efficient and distributed learning › distributed training
hybrid parallel training
0.912025
Malleus: Straggler-Resilient Hybrid Parallel Training of Large-scale Models via Malleable Data and Model Parallelization · Proc. ACM Manag. Data 2025
Machine learning › Efficient and distributed learning › inference efficiency
inference optimization
0.912025
PQCache: Product Quantization-based KVCache for Long Context LLM Inference · Proc. ACM Manag. Data 2025
Machine learning › Efficient and distributed learning › model compression
knowledge distillation
0.912025
Acceleration Algorithms in GNNs: A Survey · IEEE Trans. Knowl. Data Eng. 2025
Machine learning › Efficient and distributed learning
KV cache management
0.912025
PQCache: Product Quantization-based KVCache for Long Context LLM Inference · Proc. ACM Manag. Data 2025
Natural language and speech › Language models and text generation › large language model inference
long-context inference
0.912025
PQCache: Product Quantization-based KVCache for Long Context LLM Inference · Proc. ACM Manag. Data 2025
Machine learning › Efficient and distributed learning › efficient training
long-context training
0.912025
ByteScale: Communication-Efficient Scaling of LLM Training with a 2048K Context Length on 16384 GPUs · SIGCOMM 2025
Machine learning › Efficient and distributed learning › model compression
quantization
0.912025
Acceleration Algorithms in GNNs: A Survey · IEEE Trans. Knowl. Data Eng. 2025
Machine learning and data management
data management for machine learning
0.912025
Efficient and scalable huge embedding model training via distributed cache management · VLDB J. 2025
Recommender systems
multi-objective optimization
0.912025
DataSculpt: A Holistic Data Management Framework for Long-Context LLMs Training · ICDE 2025
Machine learning and data management
training data management
0.912025
DataSculpt: A Holistic Data Management Framework for Long-Context LLMs Training · ICDE 2025
Distributed systems
communication optimization
0.912025
NetMoE: Accelerating MoE Training through Dynamic Sample Placement · ICLR 2025
Distributed systems › distributed machine learning › distributed training
mixture-of-experts training
0.912025
NetMoE: Accelerating MoE Training through Dynamic Sample Placement · ICLR 2025
Parallel and multicore computing › parallel computing › parallel machine learning
parallel training
0.912025
NetMoE: Accelerating MoE Training through Dynamic Sample Placement · ICLR 2025
Machine learning › Efficient and distributed learning › distributed training
communication-efficient training
0.812024
LSH-MoE: Communication-efficient MoE Training via Locality-Sensitive Hashing · NeurIPS 2024
Natural language and speech › Language models and text generation
large language model training
0.812024
Enabling Parallelism Hot Switching for Efficient Training of Large Language Models · SOSP 2024
Machine learning › Deep learning architectures and training
mixture of experts
0.812024
LSH-MoE: Communication-efficient MoE Training via Locality-Sensitive Hashing · NeurIPS 2024
Machine learning › Deep learning architectures and training › mixture of experts
moe training
0.812024
LSH-MoE: Communication-efficient MoE Training via Locality-Sensitive Hashing · NeurIPS 2024
Parallel and multicore computing
distributed deep learning training
0.812024
Improving Automatic Parallel Training via Balanced Memory Workload Optimization · IEEE Trans. Knowl. Data Eng. 2024
Parallel and multicore computing › parallel computing › parallel machine learning
distributed training scheduling
0.812024
Improving Automatic Parallel Training via Balanced Memory Workload Optimization · IEEE Trans. Knowl. Data Eng. 2024
Parallel and multicore computing › parallelization strategies
hybrid parallelism
0.812024
Improving Automatic Parallel Training via Balanced Memory Workload Optimization · IEEE Trans. Knowl. Data Eng. 2024
Machine learning › Efficient and distributed learning › distributed training › distributed training systems
device placement
0.712023
FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placement · Proc. ACM Manag. Data 2023
Machine learning › Efficient and distributed learning › distributed training
distributed training systems
0.712023
Angel-PTM: A Scalable and Economical Large-scale Pre-training System in Tencent · Proc. VLDB Endow. 2023
Machine learning › Efficient and distributed learning › large-scale learning
large-scale model training
0.712023
Angel-PTM: A Scalable and Economical Large-scale Pre-training System in Tencent · Proc. VLDB Endow. 2023

Methods — techniques the papers use, named apart from their topics

data parallelism · 4.6model parallelism · 2.8product quantization · 1.7planning algorithm · 1.7model state migration · 1.7integer programming · 1.7embedding retrieval · 1.7context parallelism · 1.7activation recomputation · 1.7activation offloading · 1.7semantic clustering · 0.9replanning · 0.9re-planning · 0.9multi-objective greedy search · 0.9mixed integer programming · 0.9distributed cache management · 0.9graph-based replication · 0.6bounded-asynchronous synchronization · 0.6
YearPublicationVenuePosition
2025 DataSculpt: A Holistic Data Management Framework for Long-Context LLMs Training
abstract
In recent years, foundation models, particularly large language models (LLMs), have demonstrated significant improvements across a variety of tasks. One of their most important features is long-context capability, which enables them to generate extended text with high semantic coherence, retrieving relevant information, and handling tasks with substantial amounts of text efficiently. The key to improving long-context performance lies in effective data organization and management strategies that integrate data from multiple domains and optimize the context window during training. Through extensive experimental analysis, we identified three key challenges in designing effective data management strategies that enable the model to achieve long-context capability without sacrificing performance in other tasks: (1) a shortage of long documents across multiple domains, (2) effective construction of context windows, and (3) efficient organization of large-scale datasets. To address these challenges, we introduce DataSculpt, a novel data management framework designed for long-context training. We first formulate the organization of training data as a multi-objective optimization problem, focusing on attributes including the relevance among documents within the same training sequence, the quantity of concatenated instances, individual document integrity, and computational cost. Specifically, our approach utilizes a coarse-to-fine method to optimize training data organization effectively. We begin by clustering the data based on semantic similarity (coarse), followed by a multi-objective greedy search within each cluster to score and concatenate documents into various context windows (fine). We have deployed DataSculpt as the data management backend for long-context training in Baichuan Inc. Extensive experiments with diverse downstream tasks show that DataSculpt enhances the model's long-context performance by an average of 15.73%, while maintaining the general capabilities with a 4.63% improvement.
Keer Lu, Xiaonan Nie, Da Pan 0003, Shusen Zhang, Keshi Zhao, Weipeng Chen, Zenan Zhou, Guosheng Dong, Bin Cui 0001, Wentao Zhang 0001
ICDE2
2025 NetMoE: Accelerating MoE Training through Dynamic Sample Placement
abstract
Mixture of Experts (MoE) is a widely used technique to expand model sizes for better model quality while maintaining the computation cost constant. In a nutshell, an MoE model consists of multiple experts in each model layer and routes the training tokens to only a fixed number of experts rather than all. In distributed training, as experts are distributed among different GPUs, All-to-All communication is necessary to exchange the training tokens among the GPUs after each time of expert routing. Due to the frequent and voluminous data exchanges, All-to-All communication has become a notable challenge to training efficiency. In this paper, we manage to accelerate All-to-All communication in MoE models from the training sample perspective, which is unexplored so far. In particular, we put forward the observation that tokens in the same training sample have certain levels of locality in expert routing. Motivated by this, we develop NetMoE, which takes such locality into account and dynamically rearranges the placement of training samples to minimize All-to-All communication costs. Specifically, we model the All-to-All communication given the sample placement and formulate an integer programming problem to deduce the optimal placement in polynomial time. Experiments with 32 GPUs show that NetMoE achieves a maximum efficiency improvement of $1.67 \times$ compared with current MoE training frameworks.
Fangcheng Fu, Xupeng Miao, Shenhan Zhu, Xiaonan Nie, Bin Cui 0001
ICLR6
2025 ByteScale: Communication-Efficient Scaling of LLM Training with a 2048K Context Length on 16384 GPUs
abstract
Scaling long-context ability is essential for Large Language Models (LLMs). To amortize the memory consumption across multiple devices in long-context training, inter-data partitioning (a.k.a. Data Parallelism) and intra-data partitioning (a.k.a. Context Parallelism) are commonly used. Current training frameworks predominantly treat the two techniques as orthogonal, and establish static communication groups to organize the devices as a static mesh (e.g., a 2D mesh). However, the sequences for LLM training typically vary in lengths, no matter for texts, multi-modalities or reinforcement learning. The mismatch between data heterogeneity and static mesh causes redundant communication and imbalanced computation, degrading the training efficiency.
Junda Feng, Qi Huang 0001, Fangcheng Fu, Xiaonan Nie, Lei Zuo 0004, Haibin Lin, Bin Cui 0001, Xin Liu 0086
SIGCOMM5
2025 Malleus: Straggler-Resilient Hybrid Parallel Training of Large-scale Models via Malleable Data and Model Parallelization
abstract
As the scale of models and training data continues to grow, there is an expanding reliance on more GPUs to train large-scale models, which inevitably increases the likelihood of encountering dynamic stragglers that some devices lag behind in performance occasionally. However, hybrid parallel training, one of the de facto paradigms to train large models, is typically sensitive to the stragglers. This paper presents Malleus , a straggler-resilient hybrid parallel training framework for large-scale models. Malleus quantifies the stragglers at the nuanced, per-GPU granularity during training, and develops a novel planning algorithm to deduce the optimal parallelization of GPU devices, pipeline stages, model layers, and training data, maximizing training efficiency when stragglers exist. In addition, once a shift in the straggler situation is detected, Malleus adaptively adjusts the parallelization via a re-planning process, and seamlessly and efficiently migrates the model states on the fly, without sacrificing the stability of the training tasks. Empirical results on large language models with up to 110B parameters show that Malleus consistently outperforms existing parallel training frameworks under various straggler situations, delivering on average 2.63-5.28x of efficiency improvement.
Haoyang Li 0017, Fangcheng Fu, Jiawen Niu, Hailin Zhang 0004, Xiaonan Nie, Bin Cui 0001
Proc. ACM Manag. Data9
2025 PQCache: Product Quantization-based KVCache for Long Context LLM Inference
abstract
As the field of Large Language Models (LLMs) continues to evolve, the context length in inference is steadily growing. Key-Value Cache (KVCache), the intermediate representations of tokens within LLM inference, has now become the primary memory bottleneck due to limited GPU memory. Current methods selectively determine suitable keys and values for self-attention computation in LLMs to address the issue. However, they either fall short in maintaining model quality or result in high serving latency. Drawing inspiration from advanced embedding retrieval techniques prevalent in the data management community, we consider the storage and retrieval of KVCache as a typical embedding retrieval problem. We propose PQCache , which employs Product Quantization (PQ) to manage KVCache, maintaining model quality while ensuring low serving latency. During the prefilling phase, we apply PQ to tokens' keys for each LLM layer and head. During the autoregressive decoding phase, we use PQ codes and centroids to approximately identify important preceding tokens, then fetch the corresponding key-value pairs for self-attention computation. Through meticulous design of overlapping and caching, we minimize any additional computation and communication overhead during both phases. Extensive experiments demonstrate that PQCache achieves both effectiveness and efficiency, with 4.60% score improvement over existing methods on InfiniteBench and low system latency in both prefilling and decoding.
Hailin Zhang 0004, Fangcheng Fu, Xupeng Miao, Xiaonan Nie, Weipeng Chen, Bin Cui 0001
Proc. ACM Manag. Data6
2025 MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Training
abstract
Nowadays, Large Language Models (LLMs) have been trained using extended context lengths to foster more creative applications. However, long context training poses great challenges considering the constraint of GPU memory. It not only leads to substantial activation memory consumption during training, but also incurs considerable memory fragmentation. To facilitate long context training, existing frameworks have adopted strategies such as recomputation and various forms of parallelisms. Nevertheless, these techniques rely on redundant computation or extensive communication, resulting in low Model FLOPS Utilization (MFU). In this paper, we propose MEMO, a novel LLM training framework designed for fine-grained activation memory management. Given the quadratic scaling of computation and linear scaling of memory with sequence lengths when using FlashAttention, we offload memory-consuming activations to CPU memory after each layer's forward pass and fetch them during the backward pass. To maximize the swapping of activations without hindering computation, and to avoid exhausting limited CPU memory, we implement a token-wise activation recomputation and swapping mechanism. Furthermore, we tackle the memory fragmentation issue by employing a bi-level Mixed Integer Programming (MIP) approach, optimizing memory reuse across transformer layers. Empirical results demonstrate that MEMO achieves an average of 1.97x and 1.80x MFU compared to Megatron-LM and DeepSpeed, respectively. This improvement is attributed to MEMO's ability to minimize memory fragmentation, reduce recomputation and intensive communication, and circumvent the delays associated with the memory reorganization process due to fragmentation. By leveraging fine-grained activation memory management, MEMO facilitates efficient training of 7B LLM with 1 million sequence length on just 8 A800 GPUs, achieving an MFU of 52.30%.
Pinxue Zhao, Hailin Zhang 0004, Fangcheng Fu, Xiaonan Nie, Qibin Liu, Yuanbo Peng, Shuaipeng Li, Jinbao Xue, Yangyu Tao, Bin Cui 0001
Proc. ACM Manag. Data4
2025 Acceleration Algorithms in GNNs: A Survey
abstract
Graph Neural Networks have demonstrated remarkable effectiveness in various graph-based tasks, but their inefficiency in training and inference poses significant challenges for scaling to real-world, large-scale applications. To address these challenges, a plethora of algorithms have been developed to accelerate GNN training and inference, garnering substantial interest from the research community. This paper presents a systematic review of these acceleration algorithms, categorizing them into three main topics: training acceleration, inference acceleration, and execution acceleration. For training acceleration, we discuss techniques like graph sampling and GNN simplification. In inference acceleration, we focus on knowledge distillation, GNN quantization, and GNN pruning. For execution acceleration, we explore GNN binarization and graph condensation. Additionally, we review several libraries related to GNN acceleration, including our Scalable Graph Learning library, and propose future research directions.
Zeang Sheng, Xunkai Li, Xinyi Gao 0001, Zhezheng Hao, Ling Yang 0006, Xiaonan Nie, Jiawei Jiang 0001, Wentao Zhang 0001, Bin Cui 0001
IEEE Trans. Knowl. Data Eng.7
2025 Efficient and scalable huge embedding model training via distributed cache management
Xupeng Miao, Hailin Zhang 0004, Yining Shi 0001, Xiaonan Nie, Zhi Yang 0001, Yangyu Tao, Jie Jiang 0015, Bin Cui 0001
VLDB J.4
2024 LSH-MoE: Communication-efficient MoE Training via Locality-Sensitive Hashing
abstract
Larger transformer models perform better on various downstream tasks but require more cost to scale up the model size. To efficiently enlarge models, the Mixture-of-Expert (MoE) architecture is widely adopted, which consists of a gate network and a series of experts and keep the training cost constant by routing the input data to a fixed number of experts instead of all. In existing large-scale MoE training systems, experts would be distributed among different GPUs for parallelization, and thus input data requires additional all-to-all communication to access the target expert and conduct corresponding computation. However, upon evaluating the training process of three mainstream MoE models on commonly used GPU clusters, we found that the all-to-all communication ratio averaged around 45\%, which significantly hinders the training efficiency and scalability of MoE models. In this paper, we propose LSH-MoE, a communication-efficient MoE training framework using locality-sensitive hashing (LSH). We first present the problems of scaling MoE training in existing systems and highlight the potential of exploiting token similarity to facilitate data compression. Then, we introduce an efficient LSH-based compression technique, which utilizes the cross-polytope hashing for rapid clustering and implements a residual-based error compensation scheme to alleviate the adverse impact of compression. To verify the effectiveness of our methods, we conduct experiments on both language models (e.g., RoBERTa, GPT, and T5) and vision models (e.g., Swin) for both pre-training and fine-tuning tasks. The results demonstrate that our method substantially outperforms its counterparts across different tasks by 1.28-2.2$\times$ of speedup.
Xiaonan Nie, Qibin Liu, Fangcheng Fu, Shenhan Zhu, Xupeng Miao, Shouda Liu, Bin Cui 0001
NeurIPS1
2024 Enabling Parallelism Hot Switching for Efficient Training of Large Language Models
abstract
Training of large-scale deep learning models necessitates parallelizing the model and data across numerous devices, and the choice of parallelism strategy substantially depends on the training workloads such as memory consumption, computation cost, and communication cost. Current approaches generally assume uniform training workloads across samples in a given task. Thus, existing systems are designed to adopt a static parallelism strategy throughout one training process. Nevertheless, when training models with sequence inputs, this assumption fails due to the sequence length variation across samples. Consequently, training with a static parallelism strategy would result in sub-optimal performance.
Fangcheng Fu, Haoyang Li 0017, Xiaonan Nie, Hailin Zhang 0004, Xupeng Miao, Bin Cui 0001
SOSP7
2024 Improving Automatic Parallel Training via Balanced Memory Workload Optimization
abstract
Transformer models have emerged as the leading approach for achieving state-of-the-art performance across various application domains, serving as the foundation for advanced large-scale deep learning (DL) models. However, efficiently training these models across multiple GPUs remains a complex challenge due to the abundance of parallelism options. Existing DL systems either require manual efforts to design distributed training plans or limit parallelism combinations to a constrained search space. In this paper, we present Galvatron-BMW, a novel system framework that integrates multiple prevalent parallelism dimensions and automatically identifies the most efficient hybrid parallelism strategy. To effectively navigate this vast search space, we employ a decision tree approach for decomposition and pruning based on intuitive insights. We further utilize a dynamic programming search algorithm to derive the optimal plan. Moreover, to improve resource utilization and enhance system efficiency, we propose a bi-objective optimization workflow that focuses on workload balance. Our evaluations on different Transformer models demonstrate the capabilities of Galvatron-BMW in automating distributed training under varying GPU memory constraints. Across all tested scenarios, Galvatron-BMW consistently achieves superior system throughput, surpassing previous approaches that rely on limited parallelism strategies.
Youhe Jiang, Xupeng Miao, Fangcheng Fu, Shenhan Zhu, Xiaonan Nie, Yaofeng Tu, Bin Cui 0001
IEEE Trans. Knowl. Data Eng.6
2023 OSDP: Optimal Sharded Data Parallel for Distributed Deep Learning
abstract
Large-scale deep learning models contribute to significant performance improvements on varieties of downstream tasks. Current data and model parallelism approaches utilize model replication and partition techniques to support the distributed training of ultra-large models. However, directly deploying these systems often leads to sub-optimal training efficiency due to the complex model architectures and the strict device memory constraints. In this paper, we propose Optimal Sharded Data Parallel (OSDP), an automated parallel training system that combines the advantages from both data and model parallelism. Given the model description and the device information, OSDP makes trade-offs between the memory consumption and the hardware utilization, thus automatically generates the distributed computation graph and maximizes the overall system throughput. In addition, OSDP introduces operator splitting to further alleviate peak memory footprints during training with negligible overheads, which enables the trainability of larger models as well as the higher throughput. Extensive experimental results of OSDP on multiple different kinds of large-scale models demonstrate that the proposed strategy outperforms the state-of-the-art in multiple regards.
Youhe Jiang, Fangcheng Fu, Xupeng Miao, Xiaonan Nie, Bin Cui 0001
IJCAI4
2023 Hetu: a highly efficient automatic parallel distributed deep learning system
Xupeng Miao, Xiaonan Nie, Hailin Zhang 0004, Bin Cui 0001
Sci. China Inf. Sci.2
2023 FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placement
abstract
With the increasing data volume, there is a trend of using large-scale pre-trained models to store the knowledge into an enormous number of model parameters. The training of these models is composed of lots of dense algebras, requiring a huge amount of hardware resources. Recently, sparsely-gated Mixture-of-Experts (MoEs) are becoming more popular and have demonstrated impressive pretraining scalability in various downstream tasks. However, such a sparse conditional computation may not be effective as expected in practical systems due to the routing imbalance and fluctuation problems. Generally, MoEs are becoming a new data analytics paradigm in the data life cycle and suffering from unique challenges at scales, complexities, and granularities never before possible. In this paper, we propose a novel DNN training framework, FlexMoE, which systematically and transparently address the inefficiency caused by dynamic dataflow. We first present an empirical analysis on the problems and opportunities of training MoE models, which motivates us to overcome the routing imbalance and fluctuation problems by a dynamic expert management and device placement mechanism. Then we introduce a novel scheduling module over the existing DNN runtime to monitor the data flow, make the scheduling plans, and dynamically adjust the model-to-hardware mapping guided by the real-time data traffic. A simple but efficient heuristic algorithm is exploited to dynamically optimize the device placement during training. We have conducted experiments on both NLP models (e.g., BERT and GPT) and vision models (e.g., Swin). And results show FlexMoE can achieve superior performance compared with existing systems on real-world workloads --- FlexMoE outperforms DeepSpeed by 1.70x on average and up to 2.10x, and outperforms FasterMoE by 1.30x on average and up to 1.45x.
Xiaonan Nie, Xupeng Miao, Zilong Wang 0033, Jilong Xue, Lingxiao Ma, Gang Cao 0003, Bin Cui 0001
Proc. ACM Manag. Data1
2023 Angel-PTM: A Scalable and Economical Large-scale Pre-training System in Tencent
abstract
Recent years have witnessed the unprecedented achievements of large-scale pre-trained models, especially Transformer models. Many products and services in Tencent Inc., such as WeChat, QQ, and Tencent Advertisement, have been opted in to gain the power of pre-trained models. In this work, we present Angel-PTM, a productive deep learning system designed for pre-training and fine-tuning Transformer models. Angel-PTM can train extremely large-scale models with hierarchical memory efficiently. The key designs of Angel-PTM are a fine-grained memory management via the Page abstraction and a unified scheduling method that coordinates computations, data movements, and communications. Furthermore, Angel-PTM supports extreme model scaling with SSD storage and implements a lock-free updating mechanism to address the SSD I/O bottlenecks. Experimental results demonstrate that Angel-PTM outperforms existing systems by up to 114.8% in terms of maximum model scale as well as up to 88.9% in terms of training throughput. Additionally, experiments on GPT3-175B and T5-MoE-1.2T models utilizing hundreds of GPUs verify our strong scalability.
Xiaonan Nie, Fangcheng Fu, Jinbao Xue, Xupeng Miao, Yangyu Tao, Bin Cui 0001
Proc. VLDB Endow.1
2022 TSPLIT: Fine-grained GPU Memory Management for Efficient DNN Training via Tensor Splitting
abstract
Since Deep Neural Networks (DNNs) are deeper and larger, performing DNNs training on existing accelerators (e.g., GPUs) is challenging due to their limited device memory capacity. Existing memory management systems reduce the mem-ory footprint via tensor offloading and recomputing. However, this coarse-grained, one-tensor-at-a-time memory management often incurs high peak GPU memory usage and cannot fully utilize available hardware resources (e.g., PCIe). In this paper, we propose TSPLIT, a fine-grained DNN memory management system that breaks apart memory bottlenecks while maintaining the efficiency of DNNs training. TSPLIT achieves this by proposing a model-guided approach to holistically exploit the tensor-split and its joint optimization with out-of-core execution methods (via offload and recompute). We further provide an efficient implementation of TSPLIT with proposed splittable tensor abstraction, profiling-based planner, and optimized DNN runtime. Evaluations on 6 DNN models show that compared to vDNN and SuperNeurons, TSPLIT can achieve maximum model scale up to 10.5× and 3.1 x and throughput improved up to 4.7× and 2.7 × under the same memory over-subscription, respectively.
Xiaonan Nie, Xupeng Miao, Zhi Yang 0001, Bin Cui 0001
ICDE1
2022 HET-GMP: A Graph-based System Approach to Scaling Large Embedding Model Training
abstract
Embedding models have been recognized as an effective learning paradigm for high-dimensional data. However, a major embedding model training obstacle is that updating and retrieving the shared large-scale embedding parameters usually dominates the distributed training cycle, leading to significant scalability issues. This paper presents HET-GMP, a distributed system on training embedding models. Uniquely, HET-GMP takes advantage of a graph-based approach to efficiently increase scalability. The key insight guiding our design is the "graph way of thinking". HET-GMP creates a bigraph abstraction to represent the access relationships between data samples and embedding vectors. This enables HET-GMP to embrace graph locality and skewness as new performance opportunities and to exploit graph-based replication/partitioning and bounded-asynchronous synchronization to reduce communication overhead. We evaluate the system on the embedding models for click-through rate (CTR) prediction, which presents the most significant challenge and communication bottleneck due to heavy access concurrency to a huge embedding table. The result shows that HET-GMP supports embedding model training with 1011 parameters, achieving a reduction in communication up to 87.5% and an up-to 27.5x speedup over the state-of-the-art baseline systems.
Xupeng Miao, Yining Shi 0001, Hailin Zhang 0004, Xiaonan Nie, Zhi Yang 0001, Bin Cui 0001
SIGMOD Conference5
2022 Galvatron: Efficient Transformer Training over Multiple GPUs Using Automatic Parallelism
abstract
Transformer models have achieved state-of-the-art performance on various domains of applications and gradually becomes the foundations of the advanced large deep learning (DL) models. However, how to train these models over multiple GPUs efficiently is still challenging due to a large number of parallelism choices. Existing DL systems either rely on manual efforts to make distributed training plans or apply parallelism combinations within a very limited search space. In this approach, we propose Galvatron, a new system framework that incorporates multiple popular parallelism dimensions and automatically finds the most efficient hybrid parallelism strategy. To better explore such a rarely huge search space, we 1) involve a decision tree to make decomposition and pruning based on some reasonable intuitions, and then 2) design a dynamic programming search algorithm to generate the optimal plan. Evaluations on four representative Transformer workloads show that Galvatron could perform automatically distributed training with different GPU memory budgets. Among all evaluated scenarios, Galvatron always achieves superior system throughput compared to previous work with limited parallelism.
Xupeng Miao, Youhe Jiang, Chunan Shi, Xiaonan Nie, Hailin Zhang 0004, Bin Cui 0001
Proc. VLDB Endow.5
2021 Heterogeneity-Aware Distributed Machine Learning Training via Partial Reduce
abstract
All-reduce is the key communication primitive used in distributed data-parallel training due to the high performance in the homogeneous environment. However, All-reduce is sensitive to stragglers and communication delays as deep learning has been increasingly deployed on the heterogeneous environment like cloud. In this paper, we propose and analyze a novel variant of all-reduce, called partial-reduce, which provides high heterogeneity tolerance and performance by decomposing the synchronous all-reduce primitive into parallel-asynchronous partial-reduce operations. We provide theoretical guarantees, proving that partial-reduce converges to a stationary point at the similar sub-linear rate as distributed SGD. To enforce the convergence of the partial-reduce primitive, we further propose a dynamic staleness-aware distributed averaging algorithm and implement a novel group generation mechanism to prevent possible update isolation in heterogeneous environments. We build a prototype system in the real production cluster and validate its performance under different workloads. The experiments show that it is 1.21x-2x faster than other state-of-the-art baselines.
Xupeng Miao, Xiaonan Nie, Yingxia Shao, Zhi Yang 0001, Jiawei Jiang 0001, Lingxiao Ma, Bin Cui 0001
SIGMOD Conference2
2021 HET: Scaling out Huge Embedding Model Training via Cache-enabled Distributed Framework
abstract
Embedding models have been an effective learning paradigm for high-dimensional data. However, one open issue of embedding models is that their representations (latent factors) often result in large parameter space. We observe that existing distributed training frameworks face a scalability issue of embedding models since updating and retrieving the shared embedding parameters from servers usually dominates the training cycle. In this paper, we propose HET, a new system framework that significantly improves the scalability of huge embedding model training. We embrace skewed popularity distributions of embeddings as a performance opportunity and leverage it to address the communication bottleneck with an embedding cache. To ensure consistency across the caches, we incorporate a new consistency model into HET design, which provides fine-grained consistency guarantees on a per-embedding basis. Compared to previous work that only allows staleness for read operations, HET also utilizes staleness for write operations. Evaluations on six representative tasks show that HET achieves up to 88% embedding communication reductions and up to 20.68×performance speedup over the state-of-the-art baselines.
Xupeng Miao, Hailin Zhang 0004, Yining Shi 0001, Xiaonan Nie, Zhi Yang 0001, Yangyu Tao, Bin Cui 0001
Proc. VLDB Endow.4