CrAFT: Compression-Aware Fine-Tuning for Efficient Visual Task Adaptation

Jung Hwan Heo, Seyedarmin Azizi, Arash Fayyazi, Massoud Pedram
5/8/2023
cs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Transfer learning has become a popular task adaptation method in the era of foundation models. However, many foundation models require large storage and computing resources, which makes off-the-shelf deployment impractical. Post-training compression techniques such as pruning and quantization can help lower deployment costs. Unfortunately, the resulting performance degradation limits the usability and benefits of such techniques. To close this performance gap, we propose CrAFT, a simple fine-tuning framework that enables effective post-training network compression. In CrAFT, users simply employ the default fine-tuning schedule along with sharpness minimization objective, simultaneously facilitating task adaptation and compression-friendliness. Contrary to the conventional sharpness minimization techniques, which are applied during pretraining, the CrAFT approach adds negligible training overhead as fine-tuning is done in under a couple of minutes or hours with a single GPU. The effectiveness of CrAFT, which is a general-purpose tool that can significantly boost one-shot pruning and post-training quantization, is demonstrated on both convolution-based and attention-based vision foundation models on a variety of target tasks. The code will be made publicly available.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{heo2023craft,
  title  = {CrAFT: Compression-Aware Fine-Tuning for Efficient Visual Task Adaptation},
  author = {Jung Hwan Heo and Seyedarmin Azizi and Arash Fayyazi and Massoud Pedram},
  year   = {2023},
  eprint = {2305.04526},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.04526v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.04526.svg)](https://codeofpaper.com/paper/2305.04526)

Discussion