GPT4Image: Large Pre-trained Models Help Vision Models Learn Better on Perception Task

Ning Ding, Yehui Tang, Zhongqian Fu, Chao Xu, Kai Han +1 more
6/1/2023
cs.CV

No official code found. Best implementation: huawei-noah/Efficient-Computing (1,303 stars, last commit 2024-11-05).

Abstract

The upsurge in pre-trained large models started by ChatGPT has swept across the entire deep learning community. Such powerful models demonstrate advanced generative ability and multimodal understanding capability, which quickly set new state of the arts on a variety of benchmarks. The pre-trained LLM usually plays the role as a universal AI model that can conduct various tasks like article analysis and image comprehension. However, due to the prohibitively high memory and computational cost of implementing such a large model, the conventional models (such as CNN and ViT) are still essential for many visual perception tasks. In this paper, we propose to enhance the representation ability of ordinary vision models on perception tasks (e.g. image classification) by taking advantage of the off-the-shelf large pre-trained models. We present a new learning framework, dubbed GPT4Image, where the knowledge of the large pre-trained models are extracted to help CNNs and ViTs learn better representations and achieve higher performance. Firstly, we curate a high quality description set by prompting a multimodal LLM to generate descriptions for training images. Then, these detailed descriptions are fed into a pre-trained encoder to extract text embeddings that encodes the rich semantics of images. During training, text embeddings will serve as extra supervising signal and be aligned with image representations learned by vision models. The alignment process helps vision models achieve better performance with the aid of pre-trained LLMs. We conduct extensive experiments to verify the effectiveness of the proposed algorithm on various visual perception tasks for heterogeneous model architectures.

View on arXivView PDF

Code Implementations(1)

Efficient computing methods developed by Huawei Noah's Ark Lab

1,303220C++, CudaSep 4, 20191 years ago
binary-neural-networksknowledge-distillationmodel-compressionpruningquantization+1 more

Similar Papers

Cite this paper

@article{ding2023gptimage,
  title  = {GPT4Image: Large Pre-trained Models Help Vision Models Learn Better on Perception Task},
  author = {Ning Ding and Yehui Tang and Zhongqian Fu and Chao Xu and Kai Han and Yunhe Wang},
  year   = {2023},
  eprint = {2306.00693},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.00693v3}
}

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/2306.00693.svg)](https://codeofpaper.com/paper/2306.00693)

Discussion