Parquet-Based CTR Model Training in Production Environment
CTR(click through rate) model has played an important role in modern recommendation systems. Most of the recommendation models in industrial scenario are trained by TensorFlow. However, we observed that, TFRecord, the native k-v data format in TensorFlow, is not the best choice for CTR training. Those keys take up to 54% of the storage space in TFRecord formatted training data. To overcome this, we introduce Apache Parquet, a column-oriented data format, into CTR tasks to improve spatial efficiency. Besides, to use in production environment, we further give some high performance implementations of Parquet training scheme. Firstly, GPU data preprocessing method is adopted in replace of original Spark based solution to generate Parquet training data and accelerate data preprocessing. Secondly, we modify data loader in TensorFlow to consume the Parquet training data with high efficiency. Experimental results show that, the size of preprocessed Criteo dataset is 95.29% smaller in comparison to TFRecord and the data preprocessing time also reduces 99.6%. Without any model performance damage, we speed up the training process by 1.45x. Our scheme has applied to our internal business and has obtained similar performance benefits.
Authors
- Songlin Hu (ORCID: https://orcid.org/0000-0002-7170-3809)
- Zhibing Liu (ORCID: https://orcid.org/0000-0002-7429-6137)
- Biyu Zhou
- Jizhong Han (ORCID: https://orcid.org/0000-0003-1107-3873)
- Xiaokun Zhu
- Jinrong Guo
- Yongjun Bao
Institutions
- Chinese Academy of Sciences (CN)
- Jingdong (China) (CN)
- Institute of Information Engineering (CN)
- University of Chinese Academy of Sciences (CN)
Publication Details
- Published
- 2024-10-06
- DOI
- https://doi.org/10.1109/smc54092.2024.10831765
- Primary Topic
- Tunneling and Rock Mechanics
- Type
- article
- Field-Weighted Citation Impact
- 0.00