CVCLLGOct 7, 2021

End-to-End Supermask Pruning: Learning to Prune Image Captioning Models

arXiv:2110.03298v119 citationsHas Code
Originality Highly original
AI Analysis

This work addresses the problem of high computational cost and model size in image captioning for researchers and practitioners, offering a novel compression method that is not incremental but first-of-its-kind in this domain.

The paper tackles the lack of compression methods for image captioning models by proposing an end-to-end pruning approach, achieving up to 95% sparsity with models as small as 8.7 MB that match or outperform dense counterparts, such as achieving CIDEr scores >120 on MS-COCO.

With the advancement of deep models, research work on image captioning has led to a remarkable gain in raw performance over the last decade, along with increasing model complexity and computational cost. However, surprisingly works on compression of deep networks for image captioning task has received little to no attention. For the first time in image captioning research, we provide an extensive comparison of various unstructured weight pruning methods on three different popular image captioning architectures, namely Soft-Attention, Up-Down and Object Relation Transformer. Following this, we propose a novel end-to-end weight pruning method that performs gradual sparsification based on weight sensitivity to the training loss. The pruning schemes are then extended with encoder pruning, where we show that conducting both decoder pruning and training simultaneously prior to the encoder pruning provides good overall performance. Empirically, we show that an 80% to 95% sparse network (up to 75% reduction in model size) can either match or outperform its dense counterpart. The code and pre-trained models for Up-Down and Object Relation Transformer that are capable of achieving CIDEr scores >120 on the MS-COCO dataset but with only 8.7 MB and 14.5 MB in model size (size reduction of 96% and 94% respectively against dense versions) are publicly available at https://github.com/jiahuei/sparse-image-captioning.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes