Large-Scale Training System for 100-Million Classification at Alibaba
Not on the map. Why?
Abstract (arXiv)
In the last decades, extreme classification has become an essential topic for deep learning. It has achieved great success in many areas, especially in computer vision and natural language processing (NLP). However, it is very challenging to train a deep model with millions of classes due to the memory and computation explosion in the last output layer. In this paper, we propose a large-scale training system to address these challenges. First, we build a hybrid parallel training framework to make the training process feasible. Second, we propose a novel softmax variation named KNN softmax, which reduces both the GPU memory consumption and computation costs and improves the throughput of training. Then, to eliminate the communication overhead, we propose a new overlapping pipeline and a gradient sparsification method. Furthermore, we design a fast continuous convergence strategy to reduce total training iterations by adaptively adjusting learning rate and updating model parameters. With the help of all the proposed methods, we gain 3.9× throughput of our training system and reduce almost 60% of training iterations. The experimental results show that using an in-house 256 GPUs cluster, we could train a classifier of 100 million classes on Alibaba Retail Product Dataset in about five days while achieving a comparable accuracy with the naive softmax training process.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 22 of its 31 references that are in the map. First posted on arXiv 9 Feb 2021.
Builds on
22 of 31 references.
References · 22
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2016Optimization Methods for Large-Scale Machine Learningcited by 1,140
- 2017Mixed Precision Trainingcited by 1,135
- 2017Deep Gradient Compression: Reducing the Communication Bandwidth for Distributed Trainingcited by 471
- 2017Don't Decay the Learning Rate, Increase the Batch Sizecited by 313
- 2019Error Feedback Fixes SignSGD and other Gradient Compression Schemescited by 306
- 2014One weird trick for parallelizing convolutional neural networkscited by 264
10 more
- 2017Sparse Communication for Distributed Gradient Descentcited by 243
- 2019PowerSGD: Practical Low-Rank Gradient Compression for Distributed Optimizationcited by 234
- 2015MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systemscited by 195
- 2014Deep Learning Face Representation by Joint Identification-Verificationcited by 162
- 2018Highly Scalable Deep Learning Training System with Mixed-Precision: Training ImageNet in Four Minutescited by 63
- 2019Semantic Product Searchcited by 51
- 2019Extreme Classification in Log Memory using Count-Min Sketch: A Case Study of Amazon Search with 50M Productscited by 36
- 2018Accelerated Training for Massive Classification via Dynamic Class Selectioncited by 16
- 2015Strategies for Training Large Vocabulary Neural Language Modelscited by 14
- 2019Optimizing Network Performance for Distributed DNN Training on GPU Clusters: ImageNet/AlexNet Training in 1.5 Minutescited by 13
Built on by
Citing papers per year: 2021: 3; 2022: 3; 2023: 4.
10 papers.
- 2022NGAME: Negative Mining-aware Mini-batching for Extreme Classificationcited by 32
- 2021Extreme Multi-label Learning for Semantic Matching in Product Searchcited by 28
- 2021Minimally-Supervised Structure-Rich Text Categorization via Learning on Text-Rich Networkscited by 11
- 2023Massively Scaling Heteroscedastic Classifierscited by 11
- 2022e-CLIP: Large-Scale Vision-Language Representation Learning in E-commercecited by 10
- 2022A Survey on Extreme Multi-label Learningcited by 7
- 2023PEFA: Parameter-Free Adapters for Large-scale Embedding-based Retrieval Modelscited by 4
- 2023Transformer-empowered Multi-modal Item Embedding for Enhanced Image Search in E-Commercecited by 1
- 2021CARLS: Cross-platform Asynchronous Representation Learning Systemcited by 0
- 2023XLDA: Linear Discriminant Analysis for Scaling Continual Learning to Extreme Classification at the Edgecited by 0
- 2023PEFA: Parameter-Free Adapters for Large-scale Embedding-based Retrieval Models5 Dec 2023
- 2023Transformer-empowered Multi-modal Item Embedding for Enhanced Image Search in E-Commerce29 Nov 2023
- 2023XLDA: Linear Discriminant Analysis for Scaling Continual Learning to Extreme Classification at the Edge21 Jul 2023
- 2023Massively Scaling Heteroscedastic Classifiers30 Jan 2023
- 2022A Survey on Extreme Multi-label Learning8 Oct 2022
- 2022NGAME: Negative Mining-aware Mini-batching for Extreme Classification10 Jul 2022
- 2022e-CLIP: Large-Scale Vision-Language Representation Learning in E-commerce1 Jul 2022
- 2021Extreme Multi-label Learning for Semantic Matching in Product Search23 Jun 2021
- 2021CARLS: Cross-platform Asynchronous Representation Learning System26 May 2021
- 2021Minimally-Supervised Structure-Rich Text Categorization via Learning on Text-Rich Networks23 Feb 2021