LAMM: Language-Assisted Multi-Modal Instruction-Tuning Dataset, Framework, and Benchmark

Zhenfei Yin, Jiong Wang, Jianjian Cao, Zhelun Shi, Dingning Liu, Mukai Li, Xiaoshui Huang, Zhiyong Wang, Lu Sheng, Lei Bai, Jing Shao, Wanli Ouyang

Introduction

While Large Language Models (LLMs) like GPT-4 have revolutionized text processing, the real world is inherently multi-modal. Recent "black box" models like GPT-4V and Bard show incredible visual prowess, but their lack of transparency hinders academic research. Furthermore, existing open-source Multi-modal Large Language Models (MLLMs) face significant hurdles: a scarcity of high-quality instruction-following data, struggles with fine-grained visual understanding (like precise localization), and a glaring gap in 3D spatial understanding, which is crucial for robotics and augmented reality.

To address these challenges, researchers have introduced LAMM (Language-Assisted Multi-Modal), a comprehensive open-source ecosystem designed to advance MLLMs. LAMM introduces a massive instruction-tuning dataset covering both 2D images and 3D point clouds, a flexible training framework, and a rigorous benchmark to evaluate how well AI can bridge the gap between visual perception and natural language execution.

Methodology: The LAMM Framework

The LAMM framework treats the LLM as a universal task interface, seamlessly integrating visual inputs with natural language processing.

Data Generation: The "Language-Assisted" Approach

To create high-quality training data without exhaustive manual labeling, the authors employed a "self-instruction" method. They fed structured metadata from existing vision datasets—such as bounding boxes, object relationships, and attributes—into the GPT API.

Data Generation Pipeline

By providing the API with a "System Message" and "In-context Learning Pairs," they prompted it to generate natural, multi-round dialogues. As illustrated above, this resulted in four distinct types of instruction-tuning data:

  • C1: Daily Dialogue: General, multi-round conversations about images.
  • C2: Factual Knowledge: Dialogues requiring external knowledge integration (e.g., "When was this aircraft designed?").
  • C3: Detailed Description: Elaborate, single-round scene summaries.
  • C4: Visual Task Dialogue: Converting traditional computer vision tasks (like object detection) into conversational instructions.

Model Architecture

The LAMM architecture is designed to be both modular and computationally efficient, allowing for rapid scaling and extension to diverse modalities.

LAMM Architecture

As shown in the architecture diagram, the framework consists of three main components:

  1. Encoders: The model uses CLIP (ViT-L/14) to process 2D images and PointNet++ to encode 3D point clouds.
  2. Projectors: Trainable projection layers map these visual features into the same embedding space as the text.
  3. LLM Backbone: Vicuna-13B serves as the central "brain" for reasoning and generation.

Instead of fine-tuning the entire massive network, LAMM utilizes LoRA (Low-Rank Adaptation). This technique only updates a small fraction of parameters, making training highly efficient and feasible on consumer-grade hardware like the RTX 3090.

Datasets and Benchmarks

The paper introduces a massive scale-up in open-source MLLM resources. The training set includes 186,098 image-language pairs and 10,262 point cloud-language pairs.

To rigorously test the models, the authors built a comprehensive evaluation suite covering 9 image tasks (across 11 datasets) and 3 point cloud tasks. This benchmark goes beyond standard classification and detection, incorporating complex challenges like Visual Question Answering (VQA) and facial attribute recognition.

Key Insights and Results

  • 3D is the New Frontier: LAMM represents one of the first major efforts to integrate 3D point clouds into the instruction-tuning paradigm, enabling AI to "see" and reason about 3D spaces.
  • Rethinking Evaluation Metrics: Standard metrics like BLEU are poor at evaluating descriptive AI. The authors advocate for a GPT Metric, using GPT-4 to score responses based on accuracy, logic, and richness. Furthermore, to address the model's struggle with precise coordinates, they introduced a Binary-Loc Metric to test if a model can at least "point" to the right general area.
  • Baseline Superiority and Fine-Tuning Impact: The LAMM baseline model outperformed existing open-source models like LLaVA and MiniGPT-4 on several downstream tasks, particularly in object detection and counting. Fine-tuning on the LAMM dataset led to massive gains; for example, CIFAR10 classification accuracy jumped from 37.9% (zero-shot) to 91.2% (fine-tuned).
  • Efficiency: Remarkably, the baseline model can be trained in just 24 A100 GPU hours, making it highly accessible for the broader research community.

Limitations and Future Work

While groundbreaking, the authors note several ongoing challenges. Like all LLMs, LAMM can suffer from hallucination, sometimes "seeing" objects that aren't there. Additionally, because the training data was generated by a text-only GPT model relying on metadata, the quality is inherently bottlenecked by those text descriptions. Finally, while LAMM improves upon its predecessors, it still struggles with high-precision bounding box prediction compared to specialized, non-LLM vision models. Future work will focus on incorporating more diverse modalities, such as video, and further stabilizing the benchmarking process.

Summary updated

BibTeX
@inproceedings{yin2023lamm,
  author = {Zhenfei Yin and Jiong Wang and Jianjian Cao and Zhelun Shi and Dingning Liu and Mukai Li and Xiaoshui Huang and Zhiyong Wang and Lu Sheng and Lei Bai and Jing Shao and Wanli Ouyang},
  title = {{LAMM: Language-Assisted Multi-Modal Instruction-Tuning Dataset, Framework, and Benchmark}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=xSX2jGE7Yo},
}
Figure