Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

InfoBatch: Lossless Training Speed Up by Unbiased Dynamic Data Pruning

About

Data pruning aims to obtain lossless performances with less overall cost. A common approach is to filter out samples that make less contribution to the training. This could lead to gradient expectation bias compared to the original data. To solve this problem, we propose \textbf{InfoBatch}, a novel framework aiming to achieve lossless training acceleration by unbiased dynamic data pruning. Specifically, InfoBatch randomly prunes a portion of less informative samples based on the loss distribution and rescales the gradients of the remaining samples to approximate the original gradient. As a plug-and-play and architecture-agnostic framework, InfoBatch consistently obtains lossless training results on classification, semantic segmentation, vision pertaining, and instruction fine-tuning tasks. On CIFAR10/100, ImageNet-1K, and ADE20K, InfoBatch losslessly saves 40\% overall cost. For pertaining MAE and diffusion model, InfoBatch can respectively save 24.8\% and 27\% cost. For LLaMA instruction fine-tuning, InfoBatch is also able to save 20\% cost and is compatible with coreset selection methods. The code is publicly available at \href{https://github.com/henryqin1997/InfoBatch}{github.com/NUS-HPC-AI-Lab/InfoBatch}.

Ziheng Qin, Kai Wang, Zangwei Zheng, Jianyang Gu, Xiangyu Peng, Zhaopan Xu, Daquan Zhou, Lei Shang, Baigui Sun, Xuansong Xie, Yang You• 2023

Related benchmarks

TaskDatasetResultRank
Graph ClassificationMUTAG
Accuracy89.3
697
Image ClassificationCIFAR100
Accuracy79.2
331
Scene Text RecognitionSVT (test)
Word Accuracy93.6
289
Scene Text RecognitionIIIT5K (test)
Word Accuracy96.3
244
Scene Text RecognitionIC15 (test)
Word Accuracy85.4
210
Graph Classificationogbg-molpcba (test)
AP28.3
206
Traffic ForecastingPeMS08
RMSE28.48
166
Scene Text RecognitionSVTP (test)
Word Accuracy88.8
153
Spatio-temporal forecastingPEMS08 (test)
MAPE11.33
96
Graph ClassificationOGBG-MOLHIV v1 (test)
ROC-AUC0.785
88
Showing 10 of 23 rows

Other info

Follow for update