Playing Lottery Tickets with Vision and Language

Zhe Gan, Yen-Chun Chen, Linjie Li, Tianlong Chen, Yu Cheng, Shuohang Wang, Jingjing Liu, Lijuan Wang, Zicheng Liu

Introduction

Large-scale Vision-Language Pre-training (VLP) models, such as UNITER, LXMERT, and ViLT, have achieved state-of-the-art performance across a wide array of multimodal tasks. However, the massive parameter counts of these models pose significant challenges for deployment in resource-constrained environments. This study investigates the Lottery Ticket Hypothesis (LTH) within the context of VL models, asking whether these dense networks contain sparse "winning tickets"—subnetworks that can match the performance of the original model when trained in isolation from the same initialization.

Methodology: Finding the Winning Ticket

The researchers employed Iterative Magnitude-based Pruning (IMP) to identify these subnetworks. The process involves training the full model, pruning weights with the lowest magnitudes, and resetting the remaining weights to their original pre-trained values. This cycle is repeated to achieve progressively higher levels of sparsity.

Overview of the pruning framework for identifying task-agnostic and task-specific winning tickets in VL models.

A core contribution of this work is the distinction between Task-Agnostic and Task-Specific tickets. Task-agnostic tickets are identified during the general pre-training phase (using tasks like Masked Language Modeling and Image-Text Matching), while task-specific tickets are derived during downstream finetuning. The study explores whether a single task-agnostic ticket can serve as a "universal" subnetwork for diverse downstream tasks.

Key Results and Transferability

The experiments demonstrate the existence of "relaxed" winning tickets across seven representative VL tasks, including VQA, VCR, and Flickr30k. At 50-70% sparsity, these subnetworks consistently maintain approximately 99% of the full model's accuracy.

Performance comparison of IMP (on finetuning and pre-training) versus random pruning across VQA and VCR tasks at various sparsity levels.

As shown in the performance curves, both task-specific (IMP on Finetuning) and task-agnostic (IMP on Pre-training) tickets significantly outperform random pruning. Remarkably, the task-agnostic tickets found at 60% sparsity achieved an average performance drop of only 1.88% across all evaluated tasks, suggesting that the pre-training phase effectively captures the essential multimodal interactions required for a wide range of downstream applications.

Architecture Sensitivity and Initialization

The study reveals that model architecture plays a critical role in prunability. Models utilizing offline object detectors (UNITER and LXMERT) are more amenable to pruning than end-to-end models like ViLT. ViLT's performance begins to degrade significantly beyond 30% sparsity, likely because the transformer must simultaneously learn feature extraction from raw image patches and multimodal fusion.

Furthermore, the researchers confirmed that the initialization values are paramount. Resetting weights to their pre-trained values is essential for the subnetwork's success; using random initializations or standard BERT weights leads to a substantial loss in performance. This proves that the specific pre-trained weight values are as vital as the sparse connectivity pattern itself.

Conclusion and Future Directions

This research provides the first comprehensive evidence for the Lottery Ticket Hypothesis in Vision-Language pre-training. While the current study focuses on unstructured pruning, which does not yield immediate hardware speedups, it establishes a theoretical foundation for future work in structured pruning. Moving forward, investigating how to achieve real-world acceleration and applying these findings to even larger, more recent VL architectures remain key areas for exploration.

Summary updated

BibTeX
@inproceedings{gan2022playing,
  author = {Zhe Gan and Yen-Chun Chen and Linjie Li and Tianlong Chen and Yu Cheng and Shuohang Wang and Jingjing Liu and Lijuan Wang and Zicheng Liu},
  title = {{Playing Lottery Tickets with Vision and Language}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i1.19945},
}
Figure