MiniVLM: A Smaller and Faster Vision-Language Model

By Jianfeng Wang, Xiaowei Hu, Pengchuan Zhang, Xiujun Li, Lijuan Wang, L. Zhang, Jianfeng Gao, Zicheng Liu. 2020

76 citations recorded by the source corpus.

Recent vision-language (VL) studies have shown remarkable progress by learning generic representations from massive image-text pairs with transformer models and then fine-tuning on downstream VL tasks. While existing research has been focused on achieving high accuracy with large pre-trained models, building a lightweight model is of great value in practice but is less explored. In this paper, we propose a smaller and faster VL model, MiniVLM, which can be finetuned with good performance on various downstream tasks like its larger counterpart. MiniVLM consists of two modules, a vision feature extractor and a transformer-based vision-language fusion module. We design a Two-stage Efficient feature Extractor (TEE), inspired by the one-stage EfficientDet network, to significantly reduce the time cost of visual feature extraction by $95\%$, compared to a baseline model. We adopt the MiniLM structure to reduce the computation cost of the transformer module after comparing different compact BERT models. In addition, we improve the MiniVLM pre-training by adding $7M$ Open Images data, which are pseudo-labeled by a state-of-the-art captioning model. We also pre-train with high-quality image tags obtained from a strong tagging model to enhance cross-modality alignment. The large models are used offline without adding any overhead in fine-tuning and inference. With the above design choices, our MiniVLM reduces the model size by $73\%$ and the inference time cost by $94\%$ while being able to retain $94-97\%$ of the accuracy on multiple VL tasks. We hope that MiniVLM helps ease the use of the state-of-the-art VL research for on-the-edge applications.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Multimodal Learning, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Jianfeng Gao
  2. Zhe Gan
  3. Lijuan Wang
  4. Zicheng Liu
  5. Linjie Li
  6. Jianwei Yang
  7. Jianfeng Wang
  8. Chunyuan Li

In Computer Vision and Pattern Recognition

  1. Jianfeng Gao
  2. Zhe Gan
  3. Luc Van Gool
  4. Dacheng Tao
  5. Cordelia Schmid
  6. Lijuan Wang
  7. Zicheng Liu
  8. Jianwei Yang

In Multimodal Learning

  1. Zhe Gan
  2. Lijuan Wang
  3. Jianfeng Gao
  4. Linjie Li
  5. Zicheng Liu
  6. Jianfeng Wang
  7. Xiaowei Hu
  8. Zhengyuan Yang

In Efficiency & Compression

  1. Zhe Gan
  2. Yen-Chun Chen
  3. Jianfeng Wang
  4. Zicheng Liu
  5. Lijuan Wang
  6. Jingjing Liu
  7. Xiaowei Hu
  8. Yu Cheng

Citations in the corpus