Perceiver-VL: Efficient Vision-and-Language Modeling with Iterative Latent Attention

Zineng Tang, Jaemin Cho, Jie Lei, Mohit Bansal
11/21/2022
cs.CVcs.AIcs.CL
transformer-attention

Official code: zinengtang/Perceiver_VL (34 stars, Python, MIT, last commit 2023-02-05).

Abstract

We present Perceiver-VL, a vision-and-language framework that efficiently handles high-dimensional multimodal inputs such as long videos and text. Powered by the iterative latent cross-attention of Perceiver, our framework scales with linear complexity, in contrast to the quadratic complexity of self-attention used in many state-of-the-art transformer-based models.

Show full abstract

To further improve the efficiency of our framework, we also study applying LayerDrop on cross-attention layers and introduce a mixed-stream architecture for cross-modal retrieval. We evaluate Perceiver-VL on diverse video-text and image-text benchmarks, where Perceiver-VL achieves the lowest GFLOPs and latency while maintaining competitive performance. In addition, we also provide comprehensive analyses of various aspects of our framework, including pretraining data, scalability of latent size and input size, dropping cross-attention layers at inference to reduce latency, modality aggregation strategy, positional encoding, and weight initialization strategy. Our code and checkpoints are available at: https://github.com/zinengtang/Perceiver_VL

View on arXivView PDF

Code Implementations(1)

MIT

PyTorch code for "Perceiver-VL: Efficient Vision-and-Language Modeling with Iterative Latent Attention" (WACV 2023)

344Python, ShellMar 14, 20223 years agoMIT
efficiencyretrievalscalabilityvideo-languagevision-and-language

Similar Papers

Cite this paper

@article{tang2022perceivervl,
  title  = {Perceiver-VL: Efficient Vision-and-Language Modeling with Iterative Latent Attention},
  author = {Zineng Tang and Jaemin Cho and Jie Lei and Mohit Bansal},
  year   = {2022},
  eprint = {2211.11701},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.11701}
}

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

Discussion