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

Xupeng Miao

dblp:243/2364 · DBLP profile ↗
← Back
55ranked-venue papers
16as first author
51since 2021 · last 2026
0000-0002-9371-8358ORCID · verified

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

Databases, data management, data science and information retrieval · 30 · 12 first-author · 26 since 2021Artificial intelligence and machine learning · 14 · 2 first-author · 14 since 2021Software engineering, systems software and programming languages · 9 · 2 first-author · 9 since 2021Systems, architecture and hardware · 8 · 2 first-author · 8 since 2021Graphics, computer vision, multimedia, augmented reality and games · 5 · 1 first-author · 5 since 2021Computer networks · 2 · 2 since 2021Applied, interdisciplinary, general and emerging computing · 1 · 1 first-author · 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
35 papers
Efficient and distributed learning · 59% Graph learning · 17% Deep learning architectures and training · 6%
Computer architecture, parallel and distributed computing, and storage systems
26 papers
Cloud and datacenter computing · 29% Distributed systems · 25% Parallel and multicore computing · 18%
Databases, data mining, and information retrieval
16 papers
Machine learning and data management · 32% Recommender systems · 16% Graph data management · 15%
Software engineering, system software, and programming languages
3 papers
Compilers and program optimization · 100%

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

TopicWeightPapersLastEvidence papers
Machine learning › Efficient and distributed learning
distributed training
7.3132025
Efficient and scalable huge embedding model training via distributed cache management · VLDB J. 2025
Spindle: Efficient Distributed Training of Multi-Task Large Models via Wavefront Scheduling · ASPLOS (2) 2025
LSH-MoE: Communication-efficient MoE Training via Locality-Sensitive Hashing · NeurIPS 2024
Cloud and datacenter computing › inference serving
LLM serving
3.742026
FlexLLM: Token-Level Co-Serving of LLM Inference and Finetuning with SLO Guarantees · NSDI 2026
AdaServe: Accelerating Multi-SLO LLM Serving with SLO-Customized Speculative Decoding · EuroSys 2026
Demystifying Cost-Efficiency in LLM Serving over Heterogeneous GPUs · ICML 2025
Distributed systems › distributed machine learning
distributed training
2.332025
NetMoE: Accelerating MoE Training through Dynamic Sample Placement · ICLR 2025
Enabling Parallelism Hot Switching for Efficient Training of Large Language Models · SOSP 2024
Hetu: a highly efficient automatic parallel distributed deep learning system · Sci. China Inf. Sci. 2023
Machine learning › Graph learning › graph neural network
graph convolutional network
2.242023
Lasagne: A Multi-Layer Graph Convolutional Network Framework via Node-Aware Deep Architecture · IEEE Trans. Knowl. Data Eng. 2023
Lasagne: A Multi-Layer Graph Convolutional Network Framework via Node-aware Deep Architecture (Extended Abstract) · ICDE 2022
DeGNN: Improving Graph Neural Networks with Graph Decomposition · KDD 2021
Cloud and datacenter computing
cluster resource management and scheduling
1.932025
Demystifying Cost-Efficiency in LLM Serving over Heterogeneous GPUs · ICML 2025
Spindle: Efficient Distributed Training of Multi-Task Large Models via Wavefront Scheduling · ASPLOS (2) 2025
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
communication-efficient training
1.932024
LSH-MoE: Communication-efficient MoE Training via Locality-Sensitive Hashing · NeurIPS 2024
Towards Communication-efficient Vertical Federated Learning Training via Cache-enabled Local Update · Proc. VLDB Endow. 2022
HET-KG: Communication-Efficient Knowledge Graph Embedding Training via Hotness-Aware Cache · ICDE 2022
Machine learning › Efficient and distributed learning
inference serving
1.832026
SpotServe: Serving Generative Large Language Models on Preemptible Instances · ASPLOS (2) 2024
SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification · ASPLOS (3) 2024
FlexLLM: Token-Level Co-Serving of LLM Inference and Finetuning with SLO Guarantees · NSDI 2026
Compilers and program optimization › deep learning compiler
tensor program optimization
1.522025
Mirage: A Multi-Level Superoptimizer for Tensor Programs · OSDI 2025
EINNET: Optimizing Tensor Programs with Derivation-Based Transformations · OSDI 2023
Machine learning › Efficient and distributed learning › inference serving
large language model serving
1.522024
SpotServe: Serving Generative Large Language Models on Preemptible Instances · ASPLOS (2) 2024
SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification · ASPLOS (3) 2024
Machine learning › Graph learning
graph neural network
1.432021
ROD: Reception-aware Online Distillation for Sparse Graphs · KDD 2021
DeGNN: Improving Graph Neural Networks with Graph Decomposition · KDD 2021
Reliable Data Distillation on Graph Convolutional Network · SIGMOD Conference 2020
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 › Efficient and distributed learning
federated learning
1.222023
P2CG: a privacy preserving collaborative graph neural network training framework · VLDB J. 2023
Towards Communication-efficient Vertical Federated Learning Training via Cache-enabled Local Update · Proc. VLDB Endow. 2022
Computer vision › Vision and language
vision-language model
1.222023
CALIP: Zero-Shot Enhancement of CLIP with Parameter-Free Attention · AAAI 2023
PointCLIP: Point Cloud Understanding by CLIP · CVPR 2022
Machine learning › Graph learning
graph neural network training
1.122023
P2CG: a privacy preserving collaborative graph neural network training framework · VLDB J. 2023
PSGraph: How Tencent trains extremely large-scale graphs with Spark? · ICDE 2020
Machine learning › Graph learning › graph neural network › node classification
semi-supervised node classification
1.122023
Lasagne: A Multi-Layer Graph Convolutional Network Framework via Node-Aware Deep Architecture · IEEE Trans. Knowl. Data Eng. 2023
Reliable Data Distillation on Graph Convolutional Network · SIGMOD Conference 2020
Machine learning and data management
inference serving
1.012026
AdaServe: Accelerating Multi-SLO LLM Serving with SLO-Customized Speculative Decoding · EuroSys 2026
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
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 › Learning paradigms
multi-task learning
0.912025
Spindle: Efficient Distributed Training of Multi-Task Large Models via Wavefront Scheduling · ASPLOS (2) 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
Compilers and program optimization › compiler optimization
superoptimization
0.912025
Mirage: A Multi-Level Superoptimizer for Tensor Programs · OSDI 2025
Distributed systems
communication optimization
0.912025
NetMoE: Accelerating MoE Training through Dynamic Sample Placement · ICLR 2025
Distributed systems
distributed machine learning
0.912025
GraphPipe: Improving Performance and Scalability of DNN Training with Graph Pipeline Parallelism · ASPLOS (1) 2025
GPUs and heterogeneous computing › heterogeneous cluster computing
heterogeneous GPU cluster
0.912025
Helix: Serving Large Language Models over Heterogeneous GPUs and Network via Max-Flow · ASPLOS (1) 2025
GPUs and heterogeneous computing › GPU scheduling
heterogeneous GPU scheduling
0.912025
Demystifying Cost-Efficiency in LLM Serving over Heterogeneous GPUs · ICML 2025
Cloud and datacenter computing
inference serving
0.912025
Helix: Serving Large Language Models over Heterogeneous GPUs and Network via Max-Flow · ASPLOS (1) 2025
Cloud and datacenter computing
job scheduling
0.912025
Spindle: Efficient Distributed Training of Multi-Task Large Models via Wavefront Scheduling · ASPLOS (2) 2025
Distributed systems › distributed machine learning › distributed training
mixture-of-experts training
0.912025
NetMoE: Accelerating MoE Training through Dynamic Sample Placement · ICLR 2025

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

data parallelism · 4.2model parallelism · 2.8product quantization · 2.4token-level scheduling · 2.0speculative decoding · 2.0constrained optimization · 2.0integer programming · 1.7embedding retrieval · 1.7distributed cache management · 1.7mixed integer linear programming · 1.7feature caching · 1.5mutual information · 1.2workload parallelization · 0.9wavefront scheduling · 0.9model partitioning · 0.9graph pipeline parallelism · 0.9benchmarking · 0.9sparse inference · 0.8
YearPublicationVenuePosition
2026 AdaServe: Accelerating Multi-SLO LLM Serving with SLO-Customized Speculative Decoding
abstract
Modern large language model (LLM) applications exhibit diverse service-level objectives (SLOs), from low-latency requirements in interactive coding assistants to more relaxed constraints in data wrangling tasks. Existing LLM serving systems, which rely on uniform batching and scheduling strategies, often fail to meet these heterogeneous SLOs concurrently. We present AdaServe, the first LLM serving system designed to support efficient multi-SLO serving through SLO-customized speculative decoding. AdaServe formulates multi-SLO serving as a constrained optimization problem and introduces a hardware-aware algorithm that constructs a speculation tree tailored to each request's latency target. It features a speculate-select-verify pipeline that enables fine-grained control over decoding speed while maximizing system throughput. AdaServe further adapts to workload variation by dynamically adjusting speculation parameters. Evaluations across diverse workloads show that AdaServe reduces SLO violations by up to 4.3X and improves goodput by up to 1.9X compared to the best-performing baselines, highlighting its effectiveness in multi-SLO serving.
Zikun Li, Zhuofu Chen, Remi Delacourt, Gabriele Oliaro, Qinghan Chen, Shuhuai Lin, April Yang, Zhihao Zhang 0001, Zhuoming Chen, Yi-Hsiang Lai, Xinhao Cheng, Xupeng Miao
EuroSys13
2026 DistVec: Efficient Distributed Machine Learning in Parallel Database Systems
Xinyi Zhang 0002, Liangzu Liu, Xupeng Miao, Yinjun Wu, Xiaoyong Du 0001, Bin Cui 0001
ICDE3
2026 FlexLLM: Token-Level Co-Serving of LLM Inference and Finetuning with SLO Guarantees
Gabriele Oliaro, Xupeng Miao, Xinhao Cheng, Vineeth Kada, Mengdi Wu, Ruohan Gao, Yingyi Huang, Remi Delacourt, April Yang, Yingcheng Wang, Colin Unger
NSDI2
2025 GraphPipe: Improving Performance and Scalability of DNN Training with Graph Pipeline Parallelism
abstract
Deep neural networks (DNNs) continue to grow rapidly in size, making them infeasible to train on a single device (e.g. GPU). Pipeline parallelism is commonly used in existing DNN systems to support large-scale DNN training by partitioning a DNN into multiple stages, which concurrently perform DNN computation for different micro-batches of training samples in a pipeline fashion. However, existing pipeline-parallel approaches only consider sequential pipeline stages and thus ignore the topology of a DNN, resulting in missed model-parallel opportunities.
Byungsoo Jeon, Mengdi Wu, Shiyi Cao, Sunghyun Park 0004, Neeraj Aggarwal, Colin Unger, Daiyaan Arfeen, Peiyuan Liao, Xupeng Miao, Mohammad Alizadeh, Gregory R. Ganger, Tianqi Chen 0001
ASPLOS (1)10
2025 Helix: Serving Large Language Models over Heterogeneous GPUs and Network via Max-Flow
abstract
This paper introduces Helix, a distributed system for high-throughput, low-latency large language model (LLM) serving in heterogeneous GPU clusters. The key idea behind Helix is to formulate inference computation of LLMs over heterogeneous GPUs and network connections as a max-flow problem on directed, weighted graphs, whose nodes represent GPU instances and edges capture both GPU and network heterogeneity through their capacities. Helix then uses a mixed integer linear programming (MILP) algorithm to discover highly optimized strategies to serve LLMs on heterogeneous GPUs. This approach allows Helix to jointly optimize model placement and request scheduling, two highly entangled tasks in heterogeneous LLM serving. Our evaluation on several heterogeneous clusters ranging from 24 to 42 GPU nodes shows that Helix improves serving throughput by up to 3.3x and reduces prompting and decoding latency by up to 66% and 24%, respectively, compared to existing approaches. Helix is available at https://github.com/Thesys-lab/Helix-ASPLOS25.
Yixuan Mei, Yonghao Zhuang 0001, Xupeng Miao, Juncheng Yang, K. V. Rashmi
ASPLOS (1)3
2025 Spindle: Efficient Distributed Training of Multi-Task Large Models via Wavefront Scheduling
abstract
Recent foundation models are capable of handling multiple tasks and multiple data modalities with the unified base model structure and several specialized model components. However, efficient training of such multi-task (MT) multi-modal (MM) models poses significant system challenges due to the sophisticated model architecture and the heterogeneous workloads of different tasks and modalities. In this paper, we propose Spindle, a brand new training system tailored for resource-efficient and high-performance training of MT MM models via wavefront scheduling. The key idea of Spindle is to decompose the model execution into waves and address the joint optimization problem sequentially, including both heterogeneity-aware workload parallelization and dependency-driven execution scheduling. We build our system and evaluate it on various MT MM models. Experiments demonstrate the superior performance and efficiency of Spindle, with speedup ratio up to 71% compared to state-of-the-art training systems.
Shenhan Zhu, Fangcheng Fu, Xupeng Miao, Jie Zhang 0135, Juan Zhu, Fan Hong, Yong Li 0045, Bin Cui 0001
ASPLOS (2)4
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
ICLR4
2025 Demystifying Cost-Efficiency in LLM Serving over Heterogeneous GPUs
abstract
Recent advancements in Large Language Models (LLMs) have led to increasingly diverse requests, accompanied with varying resource (compute and memory) demands to serve them. However, this in turn degrades the cost-efficiency of LLM serving as common practices primarily rely on homogeneous GPU resources. In response to this problem, this work conducts a thorough study about serving LLMs over heterogeneous GPU resources on cloud platforms. The rationale is that different GPU types exhibit distinct compute and memory characteristics, aligning well with the divergent resource demands of diverse requests. Particularly, through comprehensive benchmarking, we discover that the cost-efficiency of LLM serving can be substantially optimized by meticulously determining GPU composition, deployment configurations, and workload assignments. Subsequently, we design a scheduling algorithm via mixed-integer linear programming, aiming at deducing the most cost-efficient serving plan under the constraints of price budget and real-time GPU availability. Remarkably, our approach effectively outperforms homogeneous and heterogeneous baselines under a wide array of scenarios, covering diverse workload traces, varying GPU availablilities, and multi-model serving. This casts new light on more accessible and efficient LLM serving over heterogeneous cloud resources.
Youhe Jiang, Fangcheng Fu, Xiaozhe Yao, Xupeng Miao, Ana Klimovic, Bin Cui 0001, Binhang Yuan, Eiko Yoneki
ICML5
2025 Mirage: A Multi-Level Superoptimizer for Tensor Programs
Mengdi Wu, Xinhao Cheng, Chunan Shi, Jianan Ji, Man Kit Ao, Praveen Velliengiri, Xupeng Miao, Oded Padon
OSDI8
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. Data5
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.1
2024 Accelerating Text-to-Image Editing via Cache-Enabled Sparse Diffusion Inference
abstract
Due to the recent success of diffusion models, text-to-image generation is becoming increasingly popular and achieves a wide range of applications. Among them, text-to-image editing, or continuous text-to-image generation, attracts lots of attention and can potentially improve the quality of generated images. It's common to see that users may want to slightly edit the generated image by making minor modifications to their input textual descriptions for several rounds of diffusion inference. However, such an image editing process suffers from the low inference efficiency of many existing diffusion models even using GPU accelerators. To solve this problem, we introduce Fast Image Semantically Edit (FISEdit), a cached-enabled sparse diffusion model inference engine for efficient text-to-image editing. The key intuition behind our approach is to utilize the semantic mapping between the minor modifications on the input text and the affected regions on the output image. For each text editing step, FISEdit can 1) automatically identify the affected image regions and 2) utilize the cached unchanged regions' feature map to accelerate the inference process. For the former, we measure the differences between cached and ad hoc feature maps given the modified textual description, extract the region with significant differences, and capture the affected region by masks. For the latter, we develop an efficient sparse diffusion inference engine that only computes the feature maps for the affected region while reusing the cached statistics for the rest of the image. Finally, extensive empirical results show that FISEdit can be 3.4 times and 4.4 times faster than existing methods on NVIDIA TITAN RTX and A100 GPUs respectively, and even generates more satisfactory images.
Haoyang Li 0017, Fangcheng Fu, Xupeng Miao, Bin Cui 0001
AAAI4
2024 Quantized Side Tuning: Fast and Memory-Efficient Tuning of Quantized Large Language Models
abstract
Zhengxin Zhang, Dan Zhao, Xupeng Miao, Gabriele Oliaro, Zhihao Zhang, Qing Li, Yong Jiang, Zhihao Jia. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 2024.
Dan Zhao 0003, Xupeng Miao, Gabriele Oliaro, Zhihao Zhang 0001, Qing Li 0006, Yong Jiang 0001
ACL (1)3
2024 Optimal Kernel Orchestration for Tensor Programs with Korch
abstract
Kernel orchestration is the task of mapping the computation defined in different operators of a deep neural network (DNN) to the execution of GPU kernels on modern hardware platforms. Prior approaches optimize kernel orchestration by greedily applying operator fusion, which fuses the computation of multiple operators into a single kernel, and miss a variety of optimization opportunities in kernel orchestration.
Muyan Hu, Ashwin Venkatram, Shreyashri Biswas, Balamurugan Marimuthu, Bohan Hou, Gabriele Oliaro, Haojie Wang 0004, Liyan Zheng 0001, Xupeng Miao, Jidong Zhai
ASPLOS (3)9
2024 SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification
abstract
This paper introduces SpecInfer, a system that accelerates generative large language model (LLM) serving with tree-based speculative inference and verification. The key idea behind SpecInfer is leveraging small speculative models to predict the LLM's outputs; the predictions are organized as a token tree, whose nodes each represent a candidate token sequence. The correctness of all candidate token sequences represented by a token tree is verified against the LLM in parallel using a novel tree-based parallel decoding mechanism. SpecInfer uses an LLM as a token tree verifier instead of an incremental decoder, which significantly reduces the end-to-end latency and computational requirement for serving generative LLMs while provably preserving model quality. Our evaluation shows that SpecInfer outperforms existing LLM serving systems by 1.5-2.8× for distributed LLM inference and by 2.6-3.5× for offloading-based LLM inference, while preserving the same generative performance. SpecInfer is publicly available at https://github.com/flexflow/FlexFlow/
Xupeng Miao, Gabriele Oliaro, Zhihao Zhang 0001, Xinhao Cheng, Rae Ying Yee Wong, Alan Zhu 0001, Lijie Yang 0003, Xiaoxiang Shi, Chunan Shi, Zhuoming Chen, Daiyaan Arfeen, Reyna Abhyankar
ASPLOS (3)1
2024 SpotServe: Serving Generative Large Language Models on Preemptible Instances
abstract
The high computational and memory requirements of generative large language models (LLMs) make it challenging to serve them cheaply. This paper aims to reduce the monetary cost for serving LLMs by leveraging preemptible GPU instances on modern clouds, which offer accesses to spare GPU resources at a much cheaper price than regular instances but may be preempted by the cloud provider at any time. Serving LLMs on preemptible instances requires addressing challenges induced by frequent instance preemptions and the necessity of migrating instances to handle the preemptions.
Xupeng Miao, Chunan Shi, Jiangfei Duan, Xiaoli Xi, Dahua Lin, Bin Cui 0001
ASPLOS (2)1
2024 Generative Dense Retrieval: Memory Can Be a Burden
abstract
Peiwen Yuan, Xinglin Wang, Shaoxiong Feng, Boyuan Pan, Yiwei Li, Heda Wang, Xupeng Miao, Kan Li. Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers). 2024.
Peiwen Yuan, Xinglin Wang, Shaoxiong Feng, Boyuan Pan, Yiwei Li 0001, Heda Wang, Xupeng Miao, Kan Li 0001
EACL (1)7
2024 MFIX: An Efficient and Reliable Index Advisor via Multi-Fidelity Bayesian Optimization
abstract
Indexes play a pivotal role in enhancing database performance. However, index selection remains one of the most challenging problems in relational database management systems, as it demands a careful equilibrium: the search procedure needs to efficiently navigate through a multitude of potential configu-rations, while the evaluation method needs to precisely assess the performance impact of index configurations. Specifically, prohibitively high costs can arise from frequent index creation and workload execution for evaluation, whereas over-reliance on cost estimations can yield suboptimal performance due to potential inaccuracies. In this paper, we present a multi-fidelity index advisor, MFIX, designed to reconcile search efficiency and solution quality. To balance evaluation accuracy and efficiency, MFIX coordinates a range of low-fidelity cost estimates as cheap-to-evaluate ap-proximations, with a select few precise high-fidelity workload executions for refinement. To optimize search efficiency, MFIX employs a data-efficient Bayesian optimization method, paired with a condensed tree-structured index space that eliminates redundant configurations. Furthermore, MFIX incorporates his-torical tasks as auxiliary information with variable fidelity, using an adaptive weighting mechanism that considers task similarity to expedite the search process. Extensive experiments with diverse analytical workloads show that MFIX consistently out-performs state-of-the-art single-fidelity methods, achieving up to a 10.2% increase in performance improvement in actual execution cost over the leading estimation-based approach. Furthermore, through its multi-fidelity Bayesian optimization over conditional space, MFIX significantly enhances the search efficiency and ensures a sustainable search cost.
Zhuo Chang, Xinyi Zhang 0002, Yang Li 0106, Xupeng Miao, Yanzhao Qin, Bin Cui 0001
ICDE4
2024 X-former Elucidator: Reviving Efficient Attention for Long Context Language Modeling
Xupeng Miao, Shenhan Zhu, Fangcheng Fu, Zhi Yang 0001, Yaofeng Tu, Bin Cui 0001
IJCAI1
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
NeurIPS5
2024 Parcae: Proactive, Liveput-Optimized DNN Training on Preemptible Instances
Jiangfei Duan, Ziang Song, Xupeng Miao, Xiaoli Xi, Dahua Lin, Guoqing Harry Xu, Minjia Zhang
NSDI3
2024 Atlas: Hierarchical Partitioning for Quantum Circuit Simulation on GPUs
abstract
This paper presents techniques for theoretically and practically efficient and scalable Schrödinger-style quantum circuit simulation. Our approach partitions a quantum circuit into a hierarchy of subcircuits and simulates the subcircuits on multinode GPUs, exploiting available data parallelism while minimizing communication costs. To minimize communication costs, we formulate an Integer Linear Program that rewards simulation of “nearby” gates on “nearby” GPUs. To maximize throughput, we use a dynamic programming algorithm to compute the subcircuit simulated by each kernel at a GPU. We realize these techniques in Atlas, a distributed, multi-GPU quantum circuit simulator. Our evaluation on a variety of quantum circuits shows that Atlas outperforms state-of-the-art GPU-based simulators by more than $2 \times$ on average and is able to run larger circuits via offloading to DRAM, outperforming other large-circuit simulators by two orders of magnitude.
Mingkuan Xu, Shiyi Cao, Xupeng Miao, Umut A. Acar
SC3
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
SOSP9
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.3
2023 CALIP: Zero-Shot Enhancement of CLIP with Parameter-Free Attention
abstract
Contrastive Language-Image Pre-training (CLIP) has been shown to learn visual representations with promising zero-shot performance. To further improve its downstream accuracy, existing works propose additional learnable modules upon CLIP and fine-tune them by few-shot training sets. However, the resulting extra training cost and data requirement severely hinder the efficiency for model deployment and knowledge transfer. In this paper, we introduce a free-lunch enhancement method, CALIP, to boost CLIP's zero-shot performance via a parameter-free attention module. Specifically, we guide visual and textual representations to interact with each other and explore cross-modal informative features via attention. As the pre-training has largely reduced the embedding distances between two modalities, we discard all learnable parameters in the attention and bidirectionally update the multi-modal features, enabling the whole process to be parameter-free and training-free. In this way, the images are blended with textual-aware signals and the text representations become visual-guided for better adaptive zero-shot alignment. We evaluate CALIP on various benchmarks of 14 datasets for both 2D image and 3D point cloud few-shot classification, showing consistent zero-shot performance improvement over CLIP. Based on that, we further insert a small number of linear layers in CALIP's attention module and verify our robustness under the few-shot settings, which also achieves leading performance compared to existing methods. Those extensive experiments demonstrate the superiority of our approach for efficient enhancement of CLIP. Code is available at https://github.com/ZiyuGuo99/CALIP.
Renrui Zhang, Longtian Qiu, Xianzheng Ma, Xupeng Miao, Xuming He 0001, Bin Cui 0001
AAAI5
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
IJCAI3
2023 Model-enhanced Vector Index
abstract
Embedding-based retrieval methods construct vector indices to search for document representations that are most similar to the query representations. They are widely used in document retrieval due to low latency and decent recall performance. Recent research indicates that deep retrieval solutions offer better model quality, but are hindered by unacceptable serving latency and the inability to support document updates. In this paper, we aim to enhance the vector index with end-to-end deep generative models, leveraging the differentiable advantages of deep retrieval models while maintaining desirable serving efficiency. We propose Model-enhanced Vector Index (MEVI), a differentiable model-enhanced index empowered by a twin-tower representation model. MEVI leverages a Residual Quantization (RQ) codebook to bridge the sequence-to-sequence deep retrieval and embedding-based models. To substantially reduce the inference time, instead of decoding the unique document ids in long sequential steps, we first generate some semantic virtual cluster ids of candidate documents in a small number of steps, and then leverage the well-adapted embedding vectors to further perform a fine-grained search for the relevant documents in the candidate virtual clusters. We empirically show that our model achieves better performance on the commonly used academic benchmarks MSMARCO Passage and Natural Questions, with comparable serving latency to dense retrieval solutions.
Hailin Zhang 0004, Yujing Wang 0002, Qi Chen 0009, Ruiheng Chang, Ting Zhang 0002, Ziming Miao, Yingyan Hou, Xupeng Miao, Bochen Pang, Yuefeng Zhan, Hao Sun 0015, Qi Zhang 0066, Fan Yang 0024, Xing Xie 0001, Mao Yang 0004, Bin Cui 0001
NeurIPS9
2023 EINNET: Optimizing Tensor Programs with Derivation-Based Transformations
Liyan Zheng 0001, Haojie Wang 0004, Jidong Zhai, Muyan Hu, Zixuan Ma, Tuowei Wang, Shuhong Huang, Xupeng Miao, Shizhi Tang, Kezhao Huang
OSDI8
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.1
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. Data2
2023 SDPipe: A Semi-Decentralized Framework for Heterogeneity-aware Pipeline-parallel Training
abstract
The increasing size of both deep learning models and training data necessitates the ability to scale out model training through pipeline-parallel training, which combines pipelined model parallelism and data parallelism. However, most of them assume an ideal homogeneous dedicated cluster. As for real cloud clusters, these approaches suffer from the intensive model synchronization overheads due to the dynamic environment heterogeneity. Such a huge challenge leaves the design in a dilemma: either the performance bottleneck of the central parameter server (PS) or severe performance degradation caused by stragglers for decentralized synchronization (like All-Reduce). This approach presents SDPipe, a new semi-decentralized framework to get the best of both worlds, achieving both high heterogeneity tolerance and convergence efficiency in pipeline-parallel training. To provide high performance, we decentralize the communication model synchronization, which accounts for the largest proportion of synchronization overhead. In contrast, we centralize the process of group scheduling, which is lightweight but needs a global view for better performance and convergence speed against heterogeneity. We show via a prototype implementation the significant advantage of SDPipe on performance and scalability, facing different environments.
Xupeng Miao, Yining Shi 0001, Zhi Yang 0001, Bin Cui 0001
Proc. VLDB Endow.1
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.6
2023 Experimental Analysis of Large-scale Learnable Vector Storage Compression
abstract
Learnable embedding vector is one of the most important applications in machine learning, and is widely used in various database-related domains. However, the high dimensionality of sparse data in recommendation tasks and the huge volume of corpus in retrieval-related tasks lead to a large memory consumption of the embedding table, which poses a great challenge to the training and deployment of models. Recent research has proposed various methods to compress the embeddings at the cost of a slight decrease in model quality or the introduction of other overheads. Nevertheless, the relative performance of these methods remains unclear. Existing experimental comparisons only cover a subset of these methods and focus on limited metrics. In this paper, we perform a comprehensive comparative analysis and experimental evaluation of embedding compression. We introduce a new taxonomy that categorizes these techniques based on their characteristics and methodologies, and further develop a modular benchmarking framework that integrates 14 representative methods. Under a uniform test environment, our benchmark fairly evaluates each approach, presents their strengths and weaknesses under different memory budgets, and recommends the best method based on the use case. In addition to providing useful guidelines, our study also uncovers the limitations of current methods and suggests potential directions for future research.
Hailin Zhang 0004, Penghao Zhao, Xupeng Miao, Yingxia Shao, Zirui Liu 0002, Tong Yang 0003, Bin Cui 0001
Proc. VLDB Endow.3
2023 Lasagne: A Multi-Layer Graph Convolutional Network Framework via Node-Aware Deep Architecture
abstract
Graph convolutional networks (GCNs) have been successfully applied in many different real-world tasks. However, most of the existing methods are based on shallow GCN, because multiple layers involve long-distance neighborhood information but lead to the over-smoothing problem. Actually, a similar challenge exists in the depth limitation for primitive convolutional neural networks (CNNs). As the multi-layer architecture can increase the representation ability of GCN, we study and learn from the recent progress in CNN and propose Lasagne, a novel multi-layer GCN framework, empowered by node-aware layer aggregators and factorization-based layer interactions to overcome the over-smoothing problem and realize the full potentials of the GCN model. We analyze how the node locality affects the information propagation in GCN and propose a novel node aggregation mechanism in an adaptive manner. We further demystify Lasagne from a mutual information view and evaluate it on both real-world benchmark data sets and large-scale industrial production data sets. Lasagne shows strong empirical performance on the semi-supervised node classification task and outperforms the state-of-the-art methods without considering the node locality.
Xupeng Miao, Wentao Zhang 0001, Yingxia Shao, Bin Cui 0001, Lei Chen 0002, Ce Zhang 0001, Jiawei Jiang 0001
IEEE Trans. Knowl. Data Eng.1
2023 P2CG: a privacy preserving collaborative graph neural network training framework
Xupeng Miao, Wentao Zhang 0001, Yuezihan Jiang, Fangcheng Fu, Yingxia Shao, Lei Chen 0002, Yangyu Tao, Gang Cao 0003, Bin Cui 0001
VLDB J.1
2022 Scalable Graph Sampling on GPUs with Compressed Graph
abstract
GPU is a powerful accelerator for parallel computation. Graph sampling is a fundamental technology for large-scale graph analysis and learning. To accelerate graph sampling using GPUs, recently some solutions like NextDoor, C-SAW have been proposed. However, these solutions cannot handle large graphs efficiently because of the massive memory footprint and expensive transfer cost between CPU and GPU. In this work, we introduce a Chunk-wise Graph Compression format (CGC) to effectively reduce the graph size and save the graph transfer cost. Meanwhile, CGC supports fast visiting any single neighbor of a vertex and is friendly to the graph sampling task. Specifically, CGC first balances the graph compression ratio and decompression efficiency by dividing a neighbor vertex list into chunks. Then it applies a new compression strategy called linear estimation to compress each chunk and allows users to visit a single vertex in O(1) time complexity. Finally, based on the CGC, we develop a scalable GPU-based graph sampling framework GraSS, and evaluate the efficiency and scalability of GraSS on both real-world and synthetic graphs. The empirical results demonstrate that GraSS can support various graph sampling methods on large graphs with high efficiency when the state-of-the-art solutions are out-of-memory or exceed the time limit.
Yingxia Shao, Xupeng Miao, Yawen Li 0001, Bin Cui 0001
CIKM3
2022 PointCLIP: Point Cloud Understanding by CLIP
abstract
Recently, zero-shot and few-shot learning via Contrastive Vision-Language Pre-training (CLIP) have shown inspirational performance on 2D visual recognition, which learns to match images with their corresponding texts in open-vocabulary settings. However, it remains under explored that whether CLIP, pre-trained by large-scale image-text pairs in 2D, can be generalized to 3D recognition. In this paper, we identify such a setting is feasible by proposing PointCLIP, which conducts alignment between CLIP-encoded point clouds and 3D category texts. Specifically, we encode a point cloud by projecting it onto multi-view depth maps and aggregate the view-wise zero-shot prediction in an end-to-end manner, which achieves efficient knowledge transfer from 2D to 3D. We further design an inter-view adapter to better extract the global feature and adaptively fuse the 3D few-shot knowledge into CLIP pre-trained in 2D. By just fine-tuning the adapter under few-shot settings, the performance of PointCLIP could be largely improved. In addition, we observe the knowledge complementary property between PointCLIP and classical 3D-supervised networks. Via simple ensemble during inference, PointCLIP contributes to favorable performance enhancement over state-of-the-art 3D networks. Therefore, PointCLIP is a promising alternative for effective 3D point cloud understanding under low data regime with marginal resource cost. We conduct thorough experiments on Model-NetlO, ModelNet40 and ScanObjectNN to demonstrate the effectiveness of PointCLIP. Code is available at https://github.com/ZrrSkywalker/PointCLIP.
Renrui Zhang, Wei Zhang 0394, Kunchang Li 0002, Xupeng Miao, Bin Cui 0001, Yu Qiao 0001, Peng Gao 0007, Hongsheng Li 0001
CVPR5
2022 HET-KG: Communication-Efficient Knowledge Graph Embedding Training via Hotness-Aware Cache
abstract
With the popularization and application of Artificial Intelligence technology, knowledge graph embedding methods are widely used for a variety of machine learning tasks. However, most of the current knowledge graph embedding models are trained with a large number of parameters and high computational time complexity. This becomes a main obstacle to apply these existing models to large-scale knowledge graphs. To address this challenge, we propose HET-KG, a distributed system for training knowledge graph embedding efficiently. HET-KG can reduce the communication overheads by introducing a cache embedding table structure to maintain hot-embeddings at each worker. To improve the effectiveness of the cache mechanism, we design a prefetching algorithm and a filtering algorithm for adaptively selecting hot-embeddings, and provide two kinds of hot-embedding table construction strategies. To address the issue of inconsistency between the local cached hot-embeddings and the global embeddings, we also develop a hot-embedding synchronization algorithm for dynamically updating the cache embedding table, which can guarantee the inconsistency bounded within a given threshold. Finally, extensive experiments are conducted on three knowledge graph datasets FB15k, WN18, and Freebase-86m. The experimental results show that HET-KG achieves 3.7x and 1.1x speedup over the state-of-the-art systems PyTorch-BigGraph and DGL-KE, respectively.
Sicong Dong, Xupeng Miao, Pengkai Liu, Xin Wang 0030, Bin Cui 0001, Jianxin Li 0001
ICDE2
2022 Zoomer: Boosting Retrieval on Web-scale Graphs by Regions of Interest
abstract
We introduce Zoomer, a system deployed at Taobao, the largest e-commerce platform in China, for training and serving GNN-based recommendations over web-scale graphs. Zoomer is designed for tackling two challenges presented by the massive user data at Taobao: low training/serving efficiency due to the huge scale of the graphs, and low recommendation quality due to the information overload which distracts the recommendation model from specific user intentions. Zoomer achieves this by introducing a key concept, Region of Interests (ROI) in GNNs for recommendations, i.e., a neighborhood region in the graph with significant relevance to a strong user intention. Zoomer narrows the focus from the whole graph and “zooms in” on the more relevant ROIs, thereby reducing the training/serving cost and mitigating the information overload at the same time. With carefully designed mechanisms, Zoomer identifies the interest expressed by each recommendation request, constructs an ROI subgraph by sampling with respect to the interest, and guides the GNN to reweigh different parts of the ROI towards the interest by a multi-level attention module. Deployed as a large-scale distributed system, Zoomer supports graphs with billions of nodes for training and thousands of requests per second for serving. Zoomer achieves up to 14x speedup when downsizing sampling scales with comparable (even better) AUC performance than baseline methods. Besides, both the offline evaluation and online A/B test demonstrate the effectiveness of Zoomer.
Yuezihan Jiang, Yu Cheng 0030, Wentao Zhang 0001, Xupeng Miao, Liang Wang 0001, Zhi Yang 0001, Bin Cui 0001
ICDE5
2022 Lasagne: A Multi-Layer Graph Convolutional Network Framework via Node-aware Deep Architecture (Extended Abstract)
abstract
In this paper, we propose Lasagne, a novel multi-layer graph convolutional network (GCN) framework to over-come the over-smoothing problem and realize the full poten-tials of deep GCNs. We analyze how node localities affect the information propagation in GCN, propose an adaptive novel node aggregation mechanism and further demystify from a mutual information view. Evaluation results on both real-world benchmark data sets and large-scale industrial production data sets show Lasagne significantly outperforms the state-of- the-art methods without considering the node locality.
Xupeng Miao, Wentao Zhang 0001, Yingxia Shao, Bin Cui 0001, Lei Chen 0002, Ce Zhang 0001, Jiawei Jiang 0001
ICDE1
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
ICDE2
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 Conference1
2022 Towards Communication-efficient Vertical Federated Learning Training via Cache-enabled Local Update
abstract
Vertical federated learning (VFL) is an emerging paradigm that allows different parties (e.g., organizations or enterprises) to collaboratively build machine learning models with privacy protection. In the training phase, VFL only exchanges the intermediate statistics, i.e., forward activations and backward derivatives, across parties to compute model gradients. Nevertheless, due to its geo-distributed nature, VFL training usually suffers from the low WAN bandwidth. In this paper, we introduce CELU-VFL, a novel and efficient VFL training framework that exploits the local update technique to reduce the cross-party communication rounds. CELU-VFL caches the stale statistics and reuses them to estimate model gradients without exchanging the ad hoc statistics. Significant techniques are proposed to improve the convergence performance. First, to handle the stochastic variance problem, we propose a uniform sampling strategy to fairly choose the stale statistics for local updates. Second, to harness the errors brought by the stateness, we devise an instance weighting mechanism that measures the reliability of the estimated gradients. Theoretical analysis proves that CELU-VFL achieves a similar sub-linear convergence rate as vanilla VFL training but requires much fewer communication rounds. Empirical results on both public and real-world workloads validate that CELU-VFL can be up to six times faster than the existing works.
Fangcheng Fu, Xupeng Miao, Jiawei Jiang 0001, Huanran Xue, Bin Cui 0001
Proc. VLDB Endow.2
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.1
2022 CuWide: Towards Efficient Flow-Based Training for Sparse Wide Models on GPUs
abstract
Wide models such as generalized linear models and factorization-based models have been extensively used in various predictive applications, e.g., recommendation, CTR prediction, and image recognition. Due to the memory bounded property of the models, the performance improvement on CPU is reaching the limitation. GPU is known to have many computation units and high memory bandwidth, and becomes a promising platform for training machine learning models. However, the GPU training for the wide models is far from optimal due to the sparsity and irregularity in wide models. The existing GPU-based wide models are even slower than the ones using CPU. The classical training schema of the wide models does not optimized for the GPU architecture, which suffers from large amount of random memory accesses and redundant read/write of intermediate values. In this paper, we propose an efficient GPU-training framework for the large-scale wide models, named cuWide. To fully benefit from the memory hierarchy of GPU, cuWide applies a new flow-based schema for training, which leverages the spatial and temporal locality of wide models to drastically reduce the amount of communication with GPU global memory. To do so, we adopt a bigraph computation model to efficiently realize the flow-based schema and exploit three flexible interfaces for programming. Further, we use the 2D partition of mini-batch (in sample and feature dimensions) with proposed graph abstraction to optimize GPU memory access for sparse data, and apply several spatial-temporal caching mechanisms (importance-based model caching and cross-stage accumulation caching mechanisms) to achieve a high performance kernel. To efficiently implement cuWide, we also propose several GPU-oriented optimizations, including feature-oriented data layout to enhance the data locality, replication mechanism to reduce update conflicts in shared memory, and multi-stream scheduling to overlap data transferring and kernel computing. We show that cuWide can be up to more than 20× faster than the state-of-the-art GPU solutions and multi-core CPU solutions.
Xupeng Miao, Lingxiao Ma, Zhi Yang 0001, Yingxia Shao, Bin Cui 0001, Lele Yu, Jiawei Jiang 0001
IEEE Trans. Knowl. Data Eng.1
2021 CuWide: Towards Efficient Flow-based Training for Sparse Wide Models on GPUs (Extended Abstract)
abstract
In this paper, we propose an efficient GPU-training framework for the large-scale wide models, named cuWide. To fully benefit from the memory hierarchy of GPU, cuWide applies a new flow-based schema for training, which leverages the spatial and temporal locality of wide models to drastically reduce the amount of communication with GPU global memory. Comprehensive experiments show that cuWide can be up to more than 20× faster than the state-of-the-art GPU solutions and multi-core CPU solutions.
Xupeng Miao, Lingxiao Ma, Zhi Yang 0001, Yingxia Shao, Bin Cui 0001, Lele Yu, Jiawei Jiang 0001
ICDE1
2021 DeGNN: Improving Graph Neural Networks with Graph Decomposition
abstract
Mining from graph-structured data is an integral component of graph data management. A recent trending technique, graph convolutional network (GCN), has gained momentum in the graph mining field, and plays an essential part in numerous graph-related tasks. Although the emerging GCN optimization techniques bring improvements to specific scenarios, they perform diversely in different applications and introduce many trial-and-error costs for practitioners. Moreover, existing GCN models often suffer from oversmoothing problem. Besides, the entanglement of various graph patterns could lead to non-robustness and harm the final performance of GCNs. In this work, we propose a simple yet efficient graph decomposition approach to improve the performance of general graph neural networks. We first empirically study existing graph decomposition methods and propose an automatic connectivity-ware graph decomposition algorithm, DeGNN. To provide a theoretical explanation, we then characterize GCN from the information-theoretic perspective and show that under certain conditions, the mutual information between the output after l layers and the input of GCN converges to 0 exponentially with respect to l. On the other hand, we show that graph decomposition can potentially weaken the condition of such convergence rate, alleviating the information loss when GCN becomes deeper. Extensive experiments on various academic benchmarks and real-world production datasets demonstrate that graph decomposition generally boosts the performance of GNN models. Moreover, our proposed solution DeGNN achieves state-of-the-art performances on almost all these tasks.
Xupeng Miao, Nezihe Merve Gürel, Wentao Zhang 0001, Zhichao Han 0001, Bo Li 0026, Wei Min, Susie Xi Rao, Hansheng Ren, Yinan Shan, Yingxia Shao, Fan Wu 0011, Hui Xue 0004, Yaming Yang 0001, Zitao Zhang, Shuai Zhang 0007, Yujing Wang 0002, Bin Cui 0001, Ce Zhang 0001
KDD1
2021 ROD: Reception-aware Online Distillation for Sparse Graphs
abstract
Graph neural networks (GNNs) have been widely used in many graph-based tasks such as node classification, link prediction, and node clustering. However, GNNs gain their performance benefits mainly from performing the feature propagation and smoothing across the edges of the graph, thus requiring sufficient connectivity and label information for effective propagation. Unfortunately, many real-world networks are sparse in terms of both edges and labels, leading to sub-optimal performance of GNNs. Recent interest in this sparse problem has focused on the self-training approach, which expands supervised signals with pseudo labels. Nevertheless, the self-training approach inherently cannot realize the full potential of refining the learning performance on sparse graphs due to the unsatisfactory quality and quantity of pseudo labels.
Wentao Zhang 0001, Yuezihan Jiang, Yang Li 0106, Zeang Sheng, Yu Shen 0003, Xupeng Miao, Liang Wang 0001, Zhi Yang 0001, Bin Cui 0001
KDD6
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 Conference1
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.1
2021 Memory-aware framework for fast and scalable second-order random walk over billion-edge natural graphs
Yingxia Shao, Shiyue Huang, Yawen Li 0001, Xupeng Miao, Bin Cui 0001, Lei Chen 0002
VLDB J.4
2020 PSGraph: How Tencent trains extremely large-scale graphs with Spark?
abstract
Spark has extensively used in many applications of Tencent, due to its easy deployment, pipeline capability, and close integration with the Hadoop ecosystem. As the graph computing engine of Spark, GraphX is also widely deployed to process large-scale graph data in Tencent. However, when the size of the graph data is up to billion-scale, GraphX encounters serious performance degradation. Worse, Graphx cannot support the rising advancement of graph embedding (GE) and graph neural network (GNN) algorithms. To address these challenges, we develop a new graph processing system, called PSGraph, which uses Spark executor and PyTorch to perform calculation, and develops a distributed parameter server to store frequently accessed models. PSGraph can train extremely large-scale graph data in Tencent with the parameter server architecture, and enable the training of GE and GNN algorithms. Moreover, PSGraph still benefits from the advantages of Spark via staying inside the Spark ecosystem, and can directly replace GraphX without modification to the existing application framework. Our experiments show that PSGraph outperforms GraphX significantly.
Jiawei Jiang 0001, Pin Xiao, Lele Yu, Xiaosen Li, Jiefeng Cheng, Xupeng Miao, Bin Cui 0001
ICDE6
2020 Memory-Aware Framework for Efficient Second-Order Random Walk on Large Graphs
abstract
Second-order random walk is an important technique for graph analysis. Many applications use it to capture higher-order patterns in the graph, thus improving the model accuracy. However, the memory explosion problem of this technique hinders it from analyzing large graphs. When processing a billion-edge graph like Twitter, existing solutions (e.g., alias method) of the second-order random walk may take up 1796TB memory. Such high memory overhead comes from the memory-unaware strategies for node sampling across the graph. In this paper, to clearly study the efficiency of various node sampling methods in the context of second-order random walk, we design a cost model, and then propose a new node sampling method following the acceptance-rejection paradigm to achieve a better balance between memory and time cost. Further, to guarantee the efficiency of the second-order random walk within arbitrary memory budgets, we propose a memory-aware framework on the basis of the cost model. The framework applies a cost-based optimizer to assign desirable node sampling method for each node in the graph within a memory budget while minimizing the time cost. Finally, we provide general programming interfaces for users to benefit from the memory-aware framework easily. The empirical studies demonstrate that our memory-aware framework is robust with respect to memory and is able to achieve considerable efficiency by reducing 90% of the memory cost.
Yingxia Shao, Shiyue Huang, Xupeng Miao, Bin Cui 0001, Lei Chen 0002
SIGMOD Conference3
2020 Reliable Data Distillation on Graph Convolutional Network
abstract
Graph Convolutional Network (GCN) is a widely used method for learning from graph-based data. However, it fails to use the unlabeled data to its full potential, thereby hindering its ability. Given some pseudo labels of the unlabeled data, the GCN can benefit from this extra supervision. Based on Knowledge Distillation and Ensemble Learning, lots of methods use a teacher-student architecture to make better use of the unlabeled data and then make a better prediction. However, these methods introduce unnecessary training costs and a high bias of student model if the teacher's predictions are unreliable. Besides, the final ensemble gains are limited due to limited diversity in the combined models. Therefore, we propose Reliable Data Distillation, a reliable data driven semi-supervised GCN training method. By defining the node reliability and edge reliability in a graph, we can make better use of high quality data and improve the graph representation learning. Furthermore, considering the data reliability and data importance, we propose a new ensemble learning method for GCN and a novel Self-Boosting SSL Framework to combine the above optimizations. Finally, our extensive evaluation of Reliable Data Distillation on real-world datasets shows that our approach outperforms the state-of-the-art methods on semi-supervised node classification tasks.
Wentao Zhang 0001, Xupeng Miao, Yingxia Shao, Jiawei Jiang 0001, Lei Chen 0002, Olivier Ruas, Bin Cui 0001
SIGMOD Conference2
2019 PS2: Parameter Server on Spark
abstract
Most of the data is extracted and processed by Spark in Tencent Machine Learning Platform. However, seldom of them use Spark MLlib, an official machine learning (ML) library on top of Spark due to its inefficiency. In contrast, systems like parameter servers, XGBoost and TensorFlow are more used, which incur expensive cost of transferring data in and out of Spark ecosystem. In this paper, we identify the causes of inefficiency in Spark MLlib and solve the problem by building parameter servers on top of Spark. We propose PS2, a parameter server architecture that integrates Spark without hacking the core of Spark. With PS2, we leverage the power of Spark for data processing and ML training, and parameter servers for maintaining ML models. By carefully analyzing Tencent ML workloads, we figure out a widely existing computation pattern for ML models---element-wise operations among multiple high dimensional vectors. Based on this observation, we propose a new data abstraction, called Dimension Co-located Vector (DCV) for efficient model management in PS2. A DCV is a distributed vector that considers locality in parameter servers and enables efficient computation with multiple co-located distributed vectors. For ease-of-use, we also design a wide variety of advanced operators for operating DCVs. Finally, we carefully implement the PS2 system and evaluate it against existing systems on both public and Tencent workloads. Empirical results demonstrate that PS2 can outperform Spark MLlib by up to 55.6X and specialized ML systems like Petuum by up to 3.7X.
Bin Cui 0001, Yingxia Shao, Lele Yu, Jiawei Jiang 0001, Xupeng Miao
SIGMOD Conference6