paper-with-me

홈 › Papers

ClipCap: CLIP Prefix for Image Captioning

2021-11-18 · Ron Mokady, Amir Hertz, Amit H. Bermano

Image captioning is a fundamental task in vision-language understanding, where the model predicts a textual informative caption to a given input image. In this paper, we present a simple approach to address this task. We use CLIP encoding as a prefix to the caption, by employing a simple mapping network, and then fine-tunes a language model to generate the image captions. The recently proposed CLIP model contains rich semantic features which were trained with textual context, making it best for vision-language perception. Our key idea is that together with a pre-trained language model (GPT2), we obtain a wide understanding of both visual and textual data. Hence, our approach only requires rather quick training to produce a competent captioning model. Without additional annotations or pre-training, it efficiently generates meaningful captions for large-scale and diverse datasets. Surprisingly, our method works well even when only the mapping network is trained, while both CLIP and the language model remain frozen, allowing a lighter architecture with less trainable parameters. Through quantitative evaluation, we demonstrate our model achieves comparable results to state-of-the-art methods on the challenging Conceptual Captions and nocaps datasets, while it is simpler, faster, and lighter. Our code is available in https://github.com/rmokady/CLIP_prefix_caption.

📄 PDF Abstract BibTeX arXiv:2111.09734

Code (4)

rmokady/clip_prefix_caption 공식 구현 pytorch
Japanese-Image-Captioning/ClipCap-for-Japanese pytorch
MS-P3/code7/tree/main/x_clip mindspore
sithu31296/image-captioning pytorch

Tasks

Image CaptioningLanguage ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Residual Connection 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Linear Warmup With Cosine Annealing Linear Warmup With Cosine Annealing is a learning rate schedule where we increase the learning rate linearly for $n$ updates and then anneal according to a cosine schedule…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Adam 설명 없음
Discriminative Fine-Tuning Discriminative Fine-Tuning is a fine-tuning strategy that is used for ULMFiT type models. Instead of using the same learning rate…

Similar Papers 제목 키워드 기반

Cross-Domain Image Captioning with Discriminative Finetuning

2023-04-04 · CVPR 2023 1 · Roberto Dessì, Michele Bevilacqua, Eleonora Gualdoni, Nathanael Carraz Rakotonirina 외

Neural captioners are typically trained to mimic human-generated references without optimizing for any specific communication goal, leading to problems such as the generation of vague captions. In this paper, we show tha…

DescriptiveImage Captioning

DeCap: Decoding CLIP Latents for Zero-Shot Captioning via Text-Only Training

2023-03-06 · Wei Li, Linchao Zhu, Longyin Wen, Yi Yang

Large-scale pre-trained multi-modal models (e.g., CLIP) demonstrate strong zero-shot transfer capability in many discriminative tasks. Their adaptation to zero-shot image-conditioned text generation tasks has drawn incre…

DecoderImage CaptioningText Generation

User-Aware Prefix-Tuning is a Good Learner for Personalized Image Captioning

2023-12-08 · Xuan Wang, Guanhong Wang, Wenhao Chai, Jiayu Zhou 외

Image captioning bridges the gap between vision and language by automatically generating natural language descriptions for images. Traditional image captioning methods often overlook the preferences and characteristics o…

Image CaptioningLanguage ModelingLanguage ModellingLarge Language Model

Decoding fMRI Data into Captions using Prefix Language Modeling

2025-01-05 · Vyacheslav Shen, Kassymzhomart Kunanbayev, Dae-shik Kim

With the advancements in Large Language and Latent Diffusion models, brain decoding has achieved remarkable results in recent years. The works on the NSD dataset, with stimuli images from the COCO dataset, leverage the e…

Brain DecodingImage CaptioningImage ReconstructionLanguage Modeling+1

Improving Cross-modal Alignment with Synthetic Pairs for Text-only Image Captioning

2023-12-14 · Zhiyue Liu, JinYuan Liu, Fanrong Ma

Although image captioning models have made significant advancements in recent years, the majority of them heavily depend on high-quality datasets containing paired images and texts which are costly to acquire. Previous w…

cross-modal alignmentDecoderImage Captioning