mlsanityData to 7 Oct 2026

Language Models Can See: Plugging Visual Controls in Text Generation

arXiv 2205.02655 ↗First posted 5 May 2022cs.CV cs.CLcited by 89

Not on the map. Why?

Abstract (arXiv)

Generative language models (LMs) such as GPT-2/3 can be prompted to generate text with remarkable quality. While they are designed for text-prompted generation, it remains an open question how the generation process could be guided by modalities beyond text such as images. In this work, we propose a training-free framework, called MAGIC (iMAge-Guided text generatIon with CLIP), for plugging in visual controls in the generation process and enabling LMs to perform multimodal tasks (e.g., image captioning) in a zero-shot manner. MAGIC is a simple yet efficient plug-and-play framework, which directly combines an off-the-shelf LM (i.e., GPT-2) and an image-text matching model (i.e., CLIP) for image-grounded text generation. During decoding, MAGIC influences the generation of the LM by introducing a CLIP-induced score, called magic score, which regularizes the generated result to be semantically related to a given image while being coherent to the previously generated context. Notably, the proposed decoding scheme does not involve any gradient update operation, therefore being computationally efficient. On the challenging task of zero-shot image captioning, MAGIC outperforms the state-of-the-art method by notable margins with a nearly 27 times decoding speedup. MAGIC is a flexible framework and is theoretically compatible with any text generation tasks that incorporate image grounding. In the experiments, we showcase that it is also capable of performing visually grounded story generation given both an image and a text prompt.

Key facts. Cited by 89 papers in the map (data through 7 Oct 2026). Builds on 78 of its 95 references that are in the map. First posted on arXiv 5 May 2022.

Builds on

78 of 95 references.

References · 78

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  5. 2020Language Models are Few-Shot Learnerscited by 32,199
  6. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  7. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  8. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  9. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  10. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  11. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  12. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
38 more
  1. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  2. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  3. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  4. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  5. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
  6. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  7. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  8. 2017Billion-scale similarity search with GPUscited by 2,477
  9. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
  10. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  11. 2014CIDEr: Consensus-based Image Description Evaluationcited by 2,027
  12. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
  13. 2015Flickr30k Entities: Collecting Region-to-Phrase Correspondences for Richer Image-to-Sentence Modelscited by 1,352
  14. 2017Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answeringcited by 1,310
  15. 2020Oscar: Object-Semantics Aligned Pre-training for Vision-Language Taskscited by 1,213
  16. 2018Hierarchical Neural Story Generationcited by 1,182
  17. 2021Alias-Free Generative Adversarial Networkscited by 1,181
  18. 2021StyleCLIP: Text-Driven Manipulation of StyleGAN Imagerycited by 990
  19. 2014Deep Visual-Semantic Alignments for Generating Image Descriptionscited by 966
  20. 2014Show and Tell: A Neural Image Caption Generatorcited by 877
  21. 2016SPICE: Semantic Propositional Image Caption Evaluationcited by 820
  22. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
  23. 2019Interpreting the Latent Space of GANs for Semantic Face Editingcited by 691
  24. 2021VideoCLIP: Contrastive Pre-training for Zero-shot Video-Text Understandingcited by 596
  25. 2021ClipCap: CLIP Prefix for Image Captioningcited by 557
  26. 2019Unified Vision-Language Pre-Training for Image Captioning and VQAcited by 494
  27. 2019Neural Text Generation with Unlikelihood Trainingcited by 489
  28. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
  29. 2017Time-Contrastive Networks: Self-Supervised Learning from Videocited by 453
  30. 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
  31. 2021How Much Can CLIP Benefit Vision-and-Language Tasks?cited by 321
  32. 2016Knowing When to Look: Adaptive Attention via A Visual Sentinel for Image Captioningcited by 231
  33. 2022A Contrastive Framework for Neural Text Generationcited by 224
  34. 2021Scaling Up Vision-Language Pre-training for Image Captioningcited by 196
  35. 2021VisualGPT: Data-efficient Adaptation of Pretrained Language Models for Image Captioningcited by 190
  36. 2016Synthesizing the preferred inputs for neurons in neural networks via deep generator networkscited by 181
  37. 2015DenseCap: Fully Convolutional Localization Networks for Dense Captioningcited by 176
  38. 2020Dense Regression Network for Video Groundingcited by 176

50 most cited of 78 All 78 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 21; 2023: 35; 2024: 18; 2025: 10; 2026: 5.

89 papers.

Sort:

By area:

  1. 2023NExT-GPT: Any-to-Any Multimodal LLMcited by 610
  2. 2023PandaGPT: One Model To Instruction-Follow Them Allcited by 330
  3. 2022What does a platypus look like? Generating customized prompts for zero-shot image classificationcited by 263
  4. 2023Macaw-LLM: Multi-Modal Language Modeling with Image, Audio, Video, and Text Integrationcited by 168
  5. 2022DePlot: One-shot visual language reasoning by plot-to-table translationcited by 157
  6. 2022Language Models with Image Descriptors are Strong Few-Shot Video-Language Learnerscited by 117
  7. 2022Vision-Language Pre-training: Basics, Recent Advances, and Future Trendscited by 117
  8. 2022Text-Only Training for Image Captioning using Noise-Injected CLIPcited by 91
  9. 2022Cap4Video: What Can Auxiliary Captions Do for Text-Video Retrieval?cited by 90
  10. 2023DeCap: Decoding CLIP Latents for Zero-Shot Captioning via Text-Only Trainingcited by 84
  11. 2023Grounded Decoding: Guiding Text Generation with Grounded Models for Embodied Agentscited by 66
  12. 2022Contrastive Search Is What You Need For Neural Text Generationcited by 58
38 more
  1. 2024Multimodal Reasoning with Multimodal Knowledge Graphcited by 43
  2. 2023Multimodal Procedural Planning via Dual Text-Image Promptingcited by 40
  3. 2023Test-Time Adaptation with CLIP Reward for Zero-Shot Generalization in Vision-Language Modelscited by 37
  4. 2024MeaCap: Memory-Augmented Zero-shot Image Captioningcited by 35
  5. 2023Transferable Decoding with Visual Entities for Zero-Shot Image Captioningcited by 34
  6. 2023ConZIC: Controllable Zero-shot Image Captioning by Sampling-Based Polishingcited by 33
  7. 2022Visualize Before You Write: Imagination-Guided Open-Ended Text Generationcited by 30
  8. 2024Connect, Collapse, Corrupt: Learning Cross-Modal Tasks with Uni-Modal Datacited by 27
  9. 2022I Can't Believe There's No Images! Learning Visual Tasks Using only Language Supervisioncited by 26
  10. 2022Zero-Shot Video Captioning with Evolving Pseudo-Tokenscited by 25
  11. 2022Visual Clues: Bridging Vision and Language Foundations for Image Paragraph Captioningcited by 21
  12. 2022Efficient Vision-Language Pretraining with Visual Concepts and Hierarchical Alignmentcited by 19
  13. 2023Guiding Image Captioning Models Toward More Specific Captionscited by 17
  14. 2022An Empirical Study On Contrastive Search And Contrastive Decoding For Open-ended Text Generationcited by 14
  15. 2023MAGVLT: Masked Generative Vision-and-Language Transformercited by 14
  16. 2023Improving Cross-modal Alignment with Synthetic Pairs for Text-only Image Captioningcited by 14
  17. 2023MultiCapCLIP: Auto-Encoding Prompts for Zero-Shot Multilingual Visual Captioningcited by 13
  18. 2023Learning Combinatorial Prompts for Universal Controllable Image Captioningcited by 12
  19. 2024Mining Fine-Grained Image-Text Alignment for Zero-Shot Captioning via Text-Only Trainingcited by 12
  20. 2023From Association to Generation: Text-only Captioning by Unsupervised Cross-modal Mappingcited by 11
  21. 2023Zero-shot audio captioning with audio-language model guidance and audio context keywordscited by 11
  22. 2024Data Augmentation for Image Classification using Generative AIcited by 11
  23. 2024IFCap: Image-like Retrieval and Frequency-based Entity Filtering for Zero-shot Captioningcited by 11
  24. 2023Beyond Generic: Enhancing Image Captioning with Real-World Knowledge using Vision-Language Pre-Training Modelcited by 10
  25. 2023CgT-GAN: CLIP-guided Text GAN for Image Captioningcited by 10
  26. 2026Modality Gap-Driven Subspace Alignment Training Paradigm For Multimodal Large Language Modelscited by 10
  27. 2023Parts of Speech-Grounded Subspaces in Vision-Language Modelscited by 9
  28. 2022Effidit: Your AI Writing Assistantcited by 8
  29. 2022Zero-shot Image Captioning by Anchor-augmented Vision-Language Space Alignmentcited by 8
  30. 2023DisCLIP: Open-Vocabulary Referring Expression Generationcited by 8
  31. 2023Learning to Imagine: Visually-Augmented Natural Language Generationcited by 7
  32. 2023Image Captioning with Multi-Context Synthetic Datacited by 7
  33. 2023Explaining CLIP's performance disparities on data from blind/low vision userscited by 7
  34. 2025Fine-Grained Captioning of Long Videos through Scene Graph Consolidationcited by 7
  35. 2024Spider: Any-to-Many Multimodal LLMcited by 6
  36. 2024Unleashing Text-to-Image Diffusion Prior for Zero-Shot Image Captioningcited by 6
  37. 2022Plug-and-Play Recipe Generation with Content Planningcited by 5
  38. 2023Architext: Language-Driven Generative Architecture Designcited by 5

50 most cited of 89 All 89 (JSON)