Language Quantized AutoEncoders: Towards Unsupervised Text-Image Alignment
Hao Liu, Wilson Yan, Pieter Abbeel
Abstract
Recent progress in scaling up large language models has shown impressive capabilities in performing few-shot learning across a wide range of text-based tasks. However, a key limitation is that these language models fundamentally lack visual perception - a crucial attribute needed to extend these models to be able to interact with the real world and solve vision tasks, such as in visual-question answering and robotics. Prior works have largely connected image to text through pretraining and/or fine-tuning on curated image-text datasets, which can be a costly and expensive process. In order to resolve this limitation, we propose a simple yet effective approach called Language-Quantized AutoEncoder (LQAE), a modification of VQ-VAE that learns to align text-image data in an unsupervised manner by leveraging pretrained language models (e.g., BERT, RoBERTa). Our main idea is to encode image as sequences of text tokens by directly quantizing image embeddings using a pretrained language codebook. We then apply random masking followed by a BERT model, and have the decoder reconstruct the original image from BERT predicted text token embeddings. By doing so, LQAE learns to represent similar images with similar clusters of text tokens, thereby aligning these two modalities without the use of aligned text-image pairs. This enables few-shot image classification with large language models (e.g., GPT-3) as well as linear classification of images based on BERT text features. To the best of our knowledge, our work is the first work that uses unaligned images for multimodal tasks by leveraging the power of pretrained language models.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
16 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Scaling the Codebook Size of VQ-GAN to 100, 000 with a Utilization Rate of 99% cites Language Models are Few-Shot Learners
- Scaling the Codebook Size of VQ-GAN to 100, 000 with a Utilization Rate of 99% cites Learning Transferable Visual Models From Natural Language Supervision
- UniAudio 1.5: Large Language Model-Driven Audio Codec is A Few-Shot Audio Task Learner cites Language Models are Few-Shot Learners
- UniAudio 1.5: Large Language Model-Driven Audio Codec is A Few-Shot Audio Task Learner cites SPAE: Semantic Pyramid AutoEncoder for Multimodal Generation with Frozen LLMs
- UniAudio 1.5: Large Language Model-Driven Audio Codec is A Few-Shot Audio Task Learner cites Flamingo: a Visual Language Model for Few-Shot Learning
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
- Can Language Models Learn to Listen? cites Language Models are Few-Shot Learners
- SPAE: Semantic Pyramid AutoEncoder for Multimodal Generation with Frozen LLMs cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- SPAE: Semantic Pyramid AutoEncoder for Multimodal Generation with Frozen LLMs cites Language Models are Few-Shot Learners
- SPAE: Semantic Pyramid AutoEncoder for Multimodal Generation with Frozen LLMs cites Learning Transferable Visual Models From Natural Language Supervision
- SPAE: Semantic Pyramid AutoEncoder for Multimodal Generation with Frozen LLMs cites Flamingo: a Visual Language Model for Few-Shot Learning
- Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
- VQDNA: Unleashing the Power of Vector Quantization for Multi-Species Genomic Sequence Modeling cites Language Models are Few-Shot Learners
- VQDNA: Unleashing the Power of Vector Quantization for Multi-Species Genomic Sequence Modeling cites SPAE: Semantic Pyramid AutoEncoder for Multimodal Generation with Frozen LLMs
- VQDNA: Unleashing the Power of Vector Quantization for Multi-Species Genomic Sequence Modeling cites Training language models to follow instructions with human feedback
- Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
- Flamingo: a Visual Language Model for Few-Shot Learning cites Language Models are Few-Shot Learners
- Flamingo: a Visual Language Model for Few-Shot Learning cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers16
- SPAE: Semantic Pyramid AutoEncoder for Multimodal Generation with Frozen LLMsLijun Yu, Yong Cheng, Zhiruo Wang, Vivek Kumar et al.NeurIPS 2023 · 78 citations
- UniAudio 1.5: Large Language Model-Driven Audio Codec is A Few-Shot Audio Task LearnerDongchao Yang, Haohan Guo, Yuanyuan Wang, Rongjie Huang et al.NeurIPS 2024 · 55 citations
- Scaling the Codebook Size of VQ-GAN to 100, 000 with a Utilization Rate of 99%Lei Zhu, Fangyun Wei, Yanye Lu, Dong ChenNeurIPS 2024 · 52 citations
- Can Language Models Learn to Listen?Evonne Ng, Sanjay Subramanian, Dan Klein, Angjoo Kanazawa et al.ICCV 2023 · 44 citations
- VQDNA: Unleashing the Power of Vector Quantization for Multi-Species Genomic Sequence ModelingSiyuan Li, Zedong Wang, Zicheng Liu, Di Wu et al.ICML 2024 · 19 citations
Builds on10
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Flamingo: a Visual Language Model for Few-Shot LearningJean-Baptiste Alayrac, Jeff Donahue, Pauline Luc, Antoine Miech et al.NeurIPS 2022 · 6,707 citations
Related papers
- Multimodal Few-Shot Learning with Frozen Language ModelsMaria Tsimpoukelli, Jacob Menick, Serkan Cabi, S. M. Ali Eslami et al.NeurIPS 2021 · 1,020 citations
- Multi-modal Auto-regressive Modeling via Visual TokensTianshuo Peng, Zuchao Li, Lefei Zhang, Hai Zhao et al.ACM MM 2024 · 1 citation
- Images in Language Space: Exploring the Suitability of Large Language Models for Vision & Language TasksSherzod Hakimov, David SchlangenACL Findings 2023 · 3 citations
- LaFTer: Label-Free Tuning of Zero-shot Classifier using Language and Unlabeled Image CollectionsMuhammad Jehanzeb Mirza, Leonid Karlinsky, Wei Lin, Horst Possegger et al.NeurIPS 2023 · 63 citations
- L-Verse: Bidirectional Generation Between Image and TextTaehoon Kim, Gwangmo Song, Sihaeng Lee, Sangyun Kim et al.CVPR 2022 · 23 citations
