Efficient Tabular Data Preprocessing of ML Pipelines
Preprint
Abstract
Data preprocessing pipelines, which includes data decoding, cleaning, and transforming, are a crucial component of Machine Learning (ML) training. Thy are computationally intensive and often become a major bottleneck, due to the increasing performance gap between the CPUs used for preprocessing and the GPUs used for model training. Recent studies show that a significant number of CPUs across several machines are required to achieve sufficient throughput to saturate the GPUs, leading to increased resource and energy consumption. When the pipeline involves vocabulary generation, the preprocessing performance scales poorly due to significant row-wise synchronization overhead between different CPU cores and servers. To address this limitation, in this paper we present the design of Piper, a hardware accelerator for tabular data preprocessing, prototype it on FPGAs, and demonstrate its potential for training pipelines of commercial recommender systems. Piper achieves 4.7 $\sim$ 71.3$\times$ speedup in latency over a 128-core CPU server and outperforms a data-center GPU by 4.8$\sim$ 20.3$\times$ when using binary input. The impressive performance showcases Piper's potential to increase the efficiency of data preprocessing pipelines and significantly reduce their resource consumption.
Keywords
All Related Versions
This publication has 5 references indexed in Scilit:
- GoldMiner: Elastic Scaling of Training Data Pre-Processing Pipelines for Deep LearningProceedings of the ACM on Management of Data, 2023
- NVIDIA Hopper H100 GPU: Scaling PerformanceIEEE Micro, 2023
- Dagger: Towards Efficient RPCs in Cloud Microservices With Near-Memory Reconfigurable NICsIEEE Computer Architecture Letters, 2020
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2019
- FPGA-Based Lossless Data Compression using Huffman and LZ77 Algorithms2007