paper-with-me

Papers

Language Quantized AutoEncoders: Towards Unsupervised Text-Image Alignment

2023-02-02 · NeurIPS 2023 11 · Hao liu, Wilson Yan, Pieter Abbeel

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.

📄 PDF Abstract BibTeX arXiv:2302.00902

Code (1)

lhao499/language-quantized-autoencoders jax

Tasks

AttributeFew-Shot Image ClassificationFew-Shot Learningimage-classificationImage ClassificationImage to textQuestion AnsweringVisual Question Answering

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Multi-Head Attention 설명 없음
Attention 설명 없음
Residual Connection 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
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…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

Learning Product Codebooks using Vector Quantized Autoencoders for Image Retrieval

2018-07-12 · Hanwei Wu, Markus Flierl

Vector-Quantized Variational Autoencoders (VQ-VAE)[1] provide an unsupervised model for learning discrete representations by combining vector quantization and autoencoders. In this paper, we study the use of VQ-VAE for r…

Image RetrievalQuantizationRepresentation LearningRetrieval

A deep learning approach for detection and localization of leaf anomalies

2022-10-07 · Davide Calabrò, Massimiliano Lupo Pasini, Nicola Ferro, Simona Perotto

The detection and localization of possible diseases in crops are usually automated by resorting to supervised deep learning approaches. In this work, we tackle these goals with unsupervised models, by applying three diff…

Image Reconstruction

Extractive Opinion Summarization in Quantized Transformer Spaces

2020-12-08 · Stefanos Angelidis, Reinald Kim Amplayo, Yoshihiko Suhara, Xiaolan Wang 외

We present the Quantized Transformer (QT), an unsupervised system for extractive opinion summarization. QT is inspired by Vector-Quantized Variational Autoencoders, which we repurpose for popularity-driven summarization.…

ClusteringExtract AspectOpinion Summarization

Anomaly detection through latent space restoration using vector-quantized variational autoencoders

2020-12-12 · Sergio Naval Marimont, Giacomo Tarroni

We propose an out-of-distribution detection method that combines density and restoration-based approaches using Vector-Quantized Variational Auto-Encoders (VQ-VAEs). The VQ-VAE model learns to encode images in a categori…

Anomaly DetectionOut-of-Distribution DetectionUnsupervised Anomaly Detection

Vector-quantized Image Modeling with Improved VQGAN

2021-10-09 · ICLR 2022 4 · Jiahui Yu, Xin Li, Jing Yu Koh, Han Zhang 외

Pretraining language models with next-token prediction on massive text corpora has delivered phenomenal zero-shot, few-shot, transfer learning and multi-tasking capabilities on both generative and discriminative language…

Image GenerationImage ReconstructionRepresentation LearningTransfer Learning