Skip to main content
QUICK REVIEW

[Paper Review] LAVIS: A Library for Language-Vision Intelligence

Dongxu Li, Junnan Li|arXiv (Cornell University)|Sep 15, 2022
Multimodal Machine Learning ApplicationsComputer Science21 citations
TL;DR

LAVIS is an open-source library providing a unified interface to train, evaluate, and deploy state-of-the-art language-vision models across image-text and video-text tasks, with numerous datasets, pretrained checkpoints, and practical tooling.

ABSTRACT

We introduce LAVIS, an open-source deep learning library for LAnguage-VISion research and applications. LAVIS aims to serve as a one-stop comprehensive library that brings recent advancements in the language-vision field accessible for researchers and practitioners, as well as fertilizing future research and development. It features a unified interface to easily access state-of-the-art image-language, video-language models and common datasets. LAVIS supports training, evaluation and benchmarking on a rich variety of tasks, including multimodal classification, retrieval, captioning, visual question answering, dialogue and pre-training. In the meantime, the library is also highly extensible and configurable, facilitating future development and customization. In this technical report, we describe design principles, key components and functionalities of the library, and also present benchmarking results across common language-vision tasks. The library is available at: https://github.com/salesforce/LAVIS.

Motivation & Objective

  • Provide a unified, modular framework for training and evaluating language-vision models across multiple tasks and datasets.
  • Offer easy access to pre-trained and fine-tuned foundation models and their checkpoints for reproducible research.
  • Reduce research overhead through dataset auto-downloading, a GUI dataset browser, and ready-to-use benchmarks and configurations.
  • Foster extensibility to support new models, tasks, and datasets and promote broader adoption in academia and industry.

Proposed method

  • Introduce a unified, modular library architecture with runners, tasks, datasets, models, and processors.
  • Support image-text and video-text tasks over 20 public datasets and 10+ tasks.
  • Provide access to over 30 pre-trained and task-specific fine-tuned checkpoints of four foundation models (ALBEF, BLIP, CLIP, ALPRO).
  • Incorporate dataset download tools, a GUI dataset browser, dataset cards, and a web demo to aid usability and reproducibility.
  • Benchmark replication to validate implementations against official results and demonstrate cross-task adaptability.

Experimental results

Research questions

  • RQ1Can a unified modular framework enable easy access to state-of-the-art language-vision models across a broad set of tasks and datasets?
  • RQ2How well do replicated benchmarks in LAVIS align with official model performance across multiple foundation models and tasks?
  • RQ3What ancillary tools (auto-downloading, GUI browser, demos) improve usability and reproducibility for language-vision research?
  • RQ4To what extent can the library be extended to support new tasks, datasets, and models with minimal engineering effort.

Key findings

  • LAVIS provides a unified interface and modular design for training, evaluating, and benchmarking language-vision models.
  • The library supports image-text and video-text tasks across more than 20 public datasets and over 10 tasks.
  • Users have access to over 30 pre-trained and task-specific fine-tuned checkpoints from four foundation models: ALBEF, BLIP, CLIP, and ALPRO.
  • Experimental benchmarks show replicated results closely matching official results across multiple models and tasks.
  • The framework enables adaptation to new tasks and datasets (e.g., KVQA, Video Dialogue) with competitive performance.
  • Additional resources (pre-trained checkpoints, automatic dataset downloading, GUI demo, and dataset browser) lower the barrier to replication and deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.