CowClip: Reducing CTR Prediction Model Training Time from 12 hours to 10 minutes on 1 GPU
Not on the map. Why?
Abstract (arXiv)
The click-through rate (CTR) prediction task is to predict whether a user will click on the recommended item. As mind-boggling amounts of data are produced online daily, accelerating CTR prediction model training is critical to ensuring an up-to-date model and reducing the training cost. One approach to increase the training speed is to apply large batch training. However, as shown in computer vision and natural language processing tasks, training with a large batch easily suffers from the loss of accuracy. Our experiments show that previous scaling rules fail in the training of CTR prediction neural networks. To tackle this problem, we first theoretically show that different frequencies of ids make it challenging to scale hyperparameters when scaling the batch size. To stabilize the training process in a large batch size setting, we develop the adaptive Column-wise Clipping (CowClip). It enables an easy and effective scaling rule for the embeddings, which keeps the learning rate unchanged and scales the L2 loss. We conduct extensive experiments with four CTR prediction networks on two real-world datasets and successfully scaled 128 times the original batch size without accuracy loss. In particular, for CTR prediction model DeepFM training on the Criteo dataset, our optimization framework enlarges the batch size from 1K to 128K with over 0.1% AUC improvement and reduces training time from 12 hours to 10 minutes on a single V100 GPU. Our code locates at https://github.com/bytedance/LargeBatchCTR.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 45 of its 77 references that are in the map. First posted on arXiv 13 Apr 2022.
Builds on
45 of 77 references.
References · 45
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2016Wide & Deep Learning for Recommender Systemscited by 745
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
- 2017Large Batch Training of Convolutional Networkscited by 529
- 2017Deep & Cross Network for Ad Click Predictionscited by 392
- 2021High-Performance Large-Scale Image Recognition Without Normalizationcited by 359
33 more
- 2018Deep Interest Evolution Network for Click-Through Rate Predictioncited by 336
- 2019Why gradient clipping accelerates training: A theoretical justification for adaptivitycited by 335
- 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
- 2020DCN V2: Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank Systemscited by 326
- 2018AutoInt: Automatic Feature Interaction Learning via Self-Attentive Neural Networkscited by 319
- 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 278
- 2018xDeepFM: Combining Explicit and Implicit Feature Interactions for Recommender Systemscited by 277
- 2014One weird trick for parallelizing convolutional neural networkscited by 264
- 2016Product-based Neural Networks for User Response Predictioncited by 145
- 2019Behavior Sequence Transformer for E-commerce Recommendation in Alibabacited by 128
- 2019MLPerf Training Benchmarkcited by 114
- 2018A Closer Look at Deep Learning Heuristics: Learning rate restarts, Warmup and Distillationcited by 110
- 2021Software-Hardware Co-design for Fast and Scalable Training of Deep Learning Recommendation Modelscited by 78
- 2018Slow and Stale Gradients Can Win the Race: Error-Runtime Trade-offs in Distributed SGDcited by 68
- 2016Deep Learning over Multi-field Categorical Data: A Case Study on User Response Predictioncited by 67
- 2020Distributed Hierarchical GPU Parameter Server for Massive Scale Deep Learning Ads Systemscited by 59
- 2019Fi-GNN: Modeling Feature Interactions via Graph Neural Networks for CTR Predictioncited by 54
- 2020Open Benchmarking for Click-Through Rate Predictioncited by 53
- 2021MaskNet: Introducing Feature-Wise Multiplication to CTR Ranking Models by Instance-Guided Maskcited by 48
- 2019Mixed Dimension Embeddings with Application to Memory-Efficient Recommendation Systemscited by 41
- 2021Stability and Convergence of Stochastic Gradient Clipping: Beyond Lipschitz Continuity and Smoothnesscited by 37
- 2020Automatic Cross-Replica Sharding of Weight Update in Data-Parallel Trainingcited by 30
- 2021HET: Scaling out Huge Embedding Model Training via Cache-enabled Distributed Frameworkcited by 28
- 2021Accelerating Recommendation System Training by Leveraging Popular Choicescited by 22
- 2021Persia: An Open, Hybrid System Scaling Deep Learning-based Recommenders up to 100 Trillion Parameterscited by 17
- 2019Scale MLPerf-0.6 models on Google TPU-v3 Podscited by 14
- 2021ScaleFreeCTR: MixCache-based Distributed Training System for CTR Models with Huge Embedding Tablecited by 12
- 2021Memorize, Factorize, or be Na"ive: Learning Optimal Feature Interaction Methods for CTR Predictioncited by 12
- 2022DHEN: A Deep and Hierarchical Ensemble Network for Large-Scale Click-Through Rate Predictioncited by 12
- 2021Large-Scale Deep Learning Optimizations: A Comprehensive Surveycited by 10
- 2018DeepFM: An End-to-End Wide & Deep Learning Framework for CTR Predictioncited by 9
- 2019FAT-DeepFFM: Field Attentive Deep Field-aware Factorization Machinecited by 3
- 2020Correct Normalization Matters: Understanding the Effect of Normalization On Deep Neural Network Models For Click-Through Rate Predictioncited by 2
Built on by
Citing papers per year: 2022: 2; 2023: 0; 2024: 1; 2025: 0; 2026: 1.
4 papers.
- 2022A Comprehensive Survey on Trustworthy Recommender Systemscited by 32
- 2022Good Intentions: Adaptive Parameter Management via Intent Signalingcited by 0
- 2024Helen: Optimizing CTR Prediction Models with Frequency-wise Hessian Eigenvalue Regularizationcited by 0
- 2026Can One-Shot Test-Time Data Augmentation Help with Generalization?cited by 0
- 2026Can One-Shot Test-Time Data Augmentation Help with Generalization?27 Jan 2026
- 2024Helen: Optimizing CTR Prediction Models with Frequency-wise Hessian Eigenvalue Regularization23 Feb 2024
- 2022A Comprehensive Survey on Trustworthy Recommender Systems21 Sep 2022
- 2022Good Intentions: Adaptive Parameter Management via Intent Signaling1 Jun 2022