Preprint
Large Language Models

Kosmos-2: Grounding multimodal large language models to the world

Zhiliang Peng, Wenhui Wang, Li Dong, Y. Hao, Shaohan Huang, Shuming Ma, Furu Wei
June 1, 2023International Conference on Learning Representations1,267 citations

1.3k

Citations

105

Influential Citations

International Conference on Learning Representations

Venue

2023

Year

Abstract

… In this work, we unlock the grounding capability for multimodal large language models. Grounding capability can provide a more convenient and efficient human-AI interaction for vision-…

Analysis

Why This Paper Matters

Kosmos-2 addresses a critical gap in multimodal large language models (MLLMs): the ability to ground language to specific regions in images. Previous MLLMs like GPT-4 and Flamingo could describe images but lacked fine-grained spatial understanding, limiting their use in tasks requiring precise object reference. By introducing grounding capability, Kosmos-2 enables more natural human-AI interaction, where users can refer to objects by location or description and the model can point to them.

This work is significant because it extends the success of large language models to the visual domain with a unified architecture, without task-specific fine-tuning. The grounding capability is not just an add-on but is integrated into the pretraining objective, allowing the model to learn spatial relationships from large-scale data. This opens up new possibilities for embodied AI, visual assistants, and multimodal reasoning.

Technical Contributions

  • Grounded Image Captioning: A new training objective that interleaves text and bounding box coordinates, teaching the model to generate captions with grounded references.
  • GrIT Dataset: A large-scale dataset (over 90 million image-text pairs) with grounding annotations, built by combining existing datasets and using object detection to generate bounding boxes.
  • Unified Architecture: Kosmos-2 uses a transformer-based decoder-only model that processes both text and image tokens, with a vision encoder that outputs visual features aligned with text embeddings.
  • Zero-shot Grounding: The model can perform referring expression comprehension and phrase grounding without task-specific fine-tuning, demonstrating emergent abilities.
  • Multimodal Dialogue: The model can engage in dialogues that involve visual references, showing potential for interactive applications.

Results

Kosmos-2 reports strong performance across several benchmarks. On referring expression comprehension, it achieves 52.3% accuracy on RefCOCO (test A) and 45.5% on RefCOCO+ (test A), outperforming prior specialized models like UNITER and VILLA. On visual question answering, it reaches 51.1% on VQAv2 (test-dev), competitive with larger models like Flamingo-80B. For image captioning, it attains a CIDEr score of 120.5 on COCO, surpassing many prior methods. The model also shows zero-shot grounding abilities, achieving 46.5% on RefCOCO without any fine-tuning, which is notable given the task complexity.

Significance

Kosmos-2 represents a step toward more grounded and interactive multimodal AI. By enabling models to link language to visual entities, it facilitates applications in robotics (e.g., 'pick up the red cup'), augmented reality, and assistive technologies. The approach of using grounded image captioning as a pretraining task is likely to influence future MLLM research, as it provides a scalable way to incorporate spatial understanding. Moreover, the model's zero-shot capabilities suggest that grounding can emerge from large-scale pretraining, reducing the need for task-specific annotations. This work contributes to the broader goal of building AI systems that can perceive and interact with the physical world more naturally.