Kosmos-2: Grounding Multimodal Large Language Models to the World

Zhiliang Peng, Wenhui Wang, Li Dong, Y. Hao, Shaohan Huang +2 more
2/12/2026

No official code found. Best implementation: microsoft/unilm (22,168 stars, MIT, last commit 2026-01-23). 1 more below.

Abstract

We introduce Kosmos-2, a Multimodal Large Language Model (MLLM), enabling new capabilities of perceiving object descriptions (e.g., bounding boxes) and grounding text to the visual world. Specifically, we represent refer expressions as links in Markdown, i.e., ``[text span](bounding boxes)'', where object descriptions are sequences of location tokens. Together with multimodal corpora, we construct large-scale data of grounded image-text pairs (called GrIT) to train the model. In addition to the existing capabilities of MLLMs (e.g., perceiving general modalities, following instructions, and performing in-context learning), Kosmos-2 integrates the grounding capability into downstream applications. We evaluate Kosmos-2 on a wide range of tasks, including (i) multimodal grounding, such as referring expression comprehension, and phrase grounding, (ii) multimodal referring, such as referring expression generation, (iii) perception-language tasks, and (iv) language understanding and generation. This work lays out the foundation for the development of Embodiment AI and sheds light on the big convergence of language, multimodal perception, action, and world modeling, which is a key step toward artificial general intelligence. Code and pretrained models are available at https://aka.ms/kosmos-2.

View on arXivView PDF

Code Implementations(2)

microsoft/unilmCommunity100%
MIT

Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities

22,1682,703C, C++Jul 23, 20199 months agoMIT
beitbeit-3bitnetdeepnetdocument-ai+15 more
kyegomez/Kosmos-2Community62%
MIT

My personal implementation of Kosmos-2, Kosmos-2: Grounding Multimodal Large Language Models to the World, much simpler codebase

40PythonAug 28, 20233 years agoMIT

Similar Papers

Cite this paper

@article{peng2026kosmos,
  title  = {Kosmos-2: Grounding Multimodal Large Language Models to the World},
  author = {Zhiliang Peng and Wenhui Wang and Li Dong and Y. Hao and Shaohan Huang and Shuming Ma and Furu Wei},
  year   = {2026},
  eprint = {2306.14824},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2306.14824},
  journal = {ICLR 2023 2023}
}

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

Discussion