List Items One by One: A New Data Source and Learning Paradigm for Multimodal LLMs

An Yan, Zhengyuan Yang, Junda Wu, Wanrong Zhu, Jianwei Yang, Linjie Li, Kevin Lin, Jianfeng Wang, Julian McAuley, Jianfeng Gao, Lijuan Wang

TL;DR

This paper introduces "list items one by one," a novel learning paradigm and synthetic dataset designed to equip open-source Multimodal Large Language Models (MLLMs) with Set-of-Mark (SoM) prompting capabilities, similar to those seen in GPT-4V. By training MLLMs to enumerate tagged objects in images, the authors demonstrate significant improvements in visual reasoning and a reduction in hallucinations, even when tags are absent during inference.

What Problem Does This Paper Address?

State-of-the-art MLLMs like GPT-4V exhibit impressive visual grounding abilities through "Set-of-Mark" (SoM) prompting, where alphanumeric tags are placed on image objects to facilitate interaction and reasoning. However, existing open-source MLLMs struggle to effectively utilize these SoM prompts. This gap hinders their ability to leverage visual tags for tasks like multi-hop reasoning and precise object referencing. The paper aims to bridge this gap by developing a method to enable open-source MLLMs to understand and benefit from SoM prompting.

Methods

The core contribution is a new learning paradigm called "list items one by one." Instead of standard question-answering, this paradigm trains MLLMs to comprehensively list and describe all tagged items in an image, following the alphanumeric order of the tags. This approach is hypothesized to improve the crucial ability of associating visual objects with their corresponding tags.

To implement this, the authors:

  1. Generate Visual Prompts: They use Semantic-SAM to create tagged images from the MS-COCO dataset.
  2. Create Synthetic Data: They leverage GPT-4V to generate descriptive text for these tagged images, specifically focusing on the "list items one by one" format. They also generate conversational data.
  3. Fine-tune MLLMs: They fine-tune existing MLLMs (specifically LLaVA-1.5) using a mixture of their new synthetic data and existing instruction-tuning datasets.

Datasets

  • MS-COCO: Used as the source for images to create the SoM dataset.
  • Synthetic SoM Dataset: A newly created dataset consisting of tagged images and corresponding "list items one by one" descriptions, as well as conversational data. The dataset size is noted as being relatively small (10k-30k images with tags).
  • Existing Instruction Tuning Datasets: Datasets like LLaVA-665K and ShareGPT-4V were used in conjunction with the new synthetic data for fine-tuning.

Key Insights and Ideas

  • "List Items One by One" as a Powerful Paradigm: The paper strongly suggests that training MLLMs to simply list tagged items in order is a surprisingly effective way to teach them SoM prompting. This simple task seems to build the crucial object-tag association.
  • Small Datasets Can Be Highly Effective: The authors found that even a relatively small synthetic dataset (10k-30k images) was sufficient to significantly improve SoM capabilities, outperforming zero-shot GPT-4V on listing tasks.
  • Benefits Beyond Tagged Inputs: Perhaps the most surprising finding is that the improvements gained from SoM training persist even when the visual tags are removed during inference. This implies that the training process itself strengthens the underlying visual-textual alignment in a generalizable way.
  • SoM Enhances General Reasoning: The SoM training not only improves tag understanding but also boosts performance on broader multimodal reasoning benchmarks, suggesting it acts as a general enhancer for MLLMs.

Key Results

  • Improved Tag Listing: SoM-LLaVA models significantly outperform baseline LLaVA-1.5 on tag listing tasks, demonstrating better accuracy in identifying and describing tagged objects.
  • Enhanced Visual Reasoning: SoM-LLaVA models showed improved performance across seven MLLM benchmarks (GQA, POPE, MME, SEED-Bench, LLaVA-Bench, MM-Vet, MMBench).
  • Reduced Hallucinations: The SoM training led to a decrease in object hallucination, as evidenced by performance on benchmarks like POPE.
  • Generalization Without Tags: SoM-LLaVA models performed comparably or better than the original LLaVA on benchmarks even without visual tags present during inference, highlighting the generalization of the learned alignment.
  • Model Size Matters: Larger LLM backbones (e.g., 13B vs. 7B) generally showed better performance on the listing task, benefiting from stronger language priors.

Limitations and Future Work

  • Data Sparsity: The paper notes that SoM-style data is sparse in common MLLM training sources, necessitating the creation of new datasets.
  • Reliance on GPT-4V for Data Generation: While effective, the synthetic data generation relies on GPT-4V, which could introduce its own biases or limitations.
  • Future Work: The authors suggest that their "list items one by one" paradigm and synthetic dataset can inspire future research into new learning paradigms and data recipes for MLLM training, particularly for creating better synthetic datasets. They also aim to explore the working mechanism of SoM through detailed analysis of attention maps and model features.

Summary updated

BibTeX
@inproceedings{yan2024list,
  author = {An Yan and Zhengyuan Yang and Junda Wu and Wanrong Zhu and Jianwei Yang and Linjie Li and Kevin Lin and Jianfeng Wang and Julian McAuley and Jianfeng Gao and Lijuan Wang},
  title = {{List Items One by One: A New Data Source and Learning Paradigm for Multimodal LLMs}},
  booktitle = {COLM},
  year = {2024},
  url = {https://openreview.net/forum?id=UfWwBaLuXV},
}
Figure