Low-Precision Hardware Architectures Meet Recommendation Model Inference at Scale
Not on the map. Why?
Abstract (arXiv)
Tremendous success of machine learning (ML) and the unabated growth in ML model complexity motivated many ML-specific designs in both CPU and accelerator architectures to speed up the model inference. While these architectures are diverse, highly optimized low-precision arithmetic is a component shared by most. Impressive compute throughputs are indeed often exhibited by these architectures on benchmark ML models. Nevertheless, production models such as recommendation systems important to Facebook's personalization services are demanding and complex: These systems must serve billions of users per month responsively with low latency while maintaining high prediction accuracy, notwithstanding computations with many tens of billions parameters per inference. Do these low-precision architectures work well with our production recommendation systems? They do. But not without significant effort. We share in this paper our search strategies to adapt reference recommendation models to low-precision hardware, our optimization of low-precision compute kernels, and the design and development of tool chain so as to maintain our models' accuracy throughout their lifespan during which topic trends and users' interests inevitably evolve. Practicing these low-precision technologies helped us save datacenter capacities while deploying models with up to 5X complexity that would otherwise not be deployed on traditional general-purpose CPUs. We believe these lessons from the trenches promote better co-design between hardware architecture and software engineering and advance the state of the art of ML in industry.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 36 of its 62 references that are in the map. First posted on arXiv 26 May 2021.
Builds on
36 of 62 references.
References · 36
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
- 2016Wide & Deep Learning for Recommender Systemscited by 747
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
- 2017Deep Interest Network for Click-Through Rate Predictioncited by 544
- 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 521
- 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 467
- 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 443
- 2017Deep & Cross Network for Ad Click Predictionscited by 393
- 2018Deep Interest Evolution Network for Click-Through Rate Predictioncited by 338
24 more
- 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
- 2019Q8BERT: Quantized 8Bit BERTcited by 300
- 2019MLPerf Inference Benchmarkcited by 199
- 2020Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluationcited by 188
- 2020Training with Quantization Noise for Extreme Model Compressioncited by 145
- 2019MLPerf Training Benchmarkcited by 115
- 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 106
- 2019Trained Quantization Thresholds for Accurate and Efficient Fixed-Point Inference of Deep Neural Networkscited by 90
- 2019The Architectural Implications of Facebook's DNN-based Personalized Recommendationcited by 83
- 2018NVIDIA Tensor Core Programmability, Performance & Precisioncited by 79
- 2020Distributed Hierarchical GPU Parameter Server for Massive Scale Deep Learning Ads Systemscited by 60
- 2019Efficient 8-Bit Quantization of Transformer Neural Machine Language Translation Modelcited by 59
- 2020DeepRecSys: A System for Optimizing End-To-End At-scale Neural Recommendation Inferencecited by 54
- 2019Same, Same But Different - Recovering Neural Network Quantization Error Through Weight Factorizationcited by 45
- 2021FBGEMM: Enabling High-Performance Low-Precision Deep Learning Inferencecited by 41
- 2018Deep Learning Inference in Facebook Data Centers: Characterization, Performance Optimizations and Hardware Implicationscited by 36
- 2020Understanding Capacity-Driven Scale-Out Neural Recommendation Inferencecited by 29
- 2016Tensor Methods and Recommender Systemscited by 24
- 2019Post-Training 4-bit Quantization on Embedding Tablescited by 22
- 2018High-Accuracy Low-Precision Trainingcited by 20
- 2016Understanding the Impact of Precision Quantization on the Accuracy and Energy of Neural Networkscited by 18
- 2020Developing a Recommendation Benchmark for MLPerf Training and Inferencecited by 12
- 2020Cross-Stack Workload Characterization of Deep Recommendation Systemscited by 11
- 2020Adaptive Dense-to-Sparse Paradigm for Pruning Online Recommendation System with Non-Stationary Datacited by 4
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 4; 2024: 2.
7 papers.
- 2021Sustainable AI: Environmental Implications, Challenges and Opportunitiescited by 242
- 2023With Shared Microexponents, A Little Shifting Goes a Long Waycited by 50
- 2023MP-Rec: Hardware-Software Co-Design to Enable Multi-Path Recommendationcited by 9
- 2023Tango: rethinking quantization for graph neural network training on GPUscited by 4
- 2024DQRM: Deep Quantized Recommendation Modelscited by 2
- 2024Characterizing and Efficiently Accelerating Multimodal Generation Model Inferencecited by 1
- 2023Hera: A Heterogeneity-Aware Multi-Tenant Inference Server for Personalized Recommendationscited by 0
- 2024DQRM: Deep Quantized Recommendation Models26 Oct 2024
- 2024Characterizing and Efficiently Accelerating Multimodal Generation Model Inference30 Sep 2024
- 2023Tango: rethinking quantization for graph neural network training on GPUs2 Aug 2023
- 2023Hera: A Heterogeneity-Aware Multi-Tenant Inference Server for Personalized Recommendations23 Feb 2023
- 2023MP-Rec: Hardware-Software Co-Design to Enable Multi-Path Recommendation21 Feb 2023
- 2023With Shared Microexponents, A Little Shifting Goes a Long Way16 Feb 2023
- 2021Sustainable AI: Environmental Implications, Challenges and Opportunities30 Oct 2021