How well do sparse ImageNet models transfer? - Iofinova, Eugenia B; Peste, Elena-Alexandra; Kurtz, Mark; Alistarh, Dan-Adrian; CVPR: Computer Vision and Pattern Recognition; Vienna Graduate School on Computational Optimization; Elastic Coordination for Scalable Machine Learning (2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022)
Transfer learning is a classic paradigm by which models pretrained on large “upstream” datasets are adapted to yield good results on “downstream” specialized datasets. Generally, more accurate models on the “upstream” dataset tend to provide better transfer accuracy “downstream”. In this work, we perform an in-depth investigation of this phenomenon in the context of convolutional neural networks (CNNs) trained on the ImageNet dataset, which have been pruned-that is, compressed by sparsifiying their connections. We consider transfer using unstructured pruned models obtained by applying several state-of-the-art pruning methods, including magnitude-based, second-order, regrowth, lottery-ticket, and regularization approaches, in the context of twelve standard transfer tasks. In a nutshell, our study shows that sparse models can match or even outperform the transfer performance of dense models, even at high sparsities, and, while doing so, can lead to significant inference and even training speedups. At the same time, we observe and analyze significant differences in the behaviour of different pruning methods. The code is available at: https://github.com/IST-DASLab/sparse-imagenet-transfer.
published
yes
Keywords: conference paper