Language Is Not All You Need: Aligning Perception with Language Models logo

Language Is Not All You Need: Aligning Perception with Language Models

Free

Aligning Perception with Language Models

FreeFree tier
Inputs: text, imageOutputs: text
Type
Open Source

About Language Is Not All You Need: Aligning Perception with Language Models

A big convergence of language, multimodal perception, action, and world modeling is a key step toward artificial general intelligence. In this work, we introduce Kosmos-1, a Multimodal Large Language Model (MLLM) that can perceive general modalities, learn in context (i.e., few-shot), and follow instructions (i.e., zero-shot). Specifically, we train Kosmos-1 from scratch on web-scale multimodal corpora, including arbitrarily interleaved text and images, image-caption pairs, and text data. We evaluate various settings, including zero-shot, few-shot, and multimodal chain-of-thought prompting, on a wide range of tasks without any gradient updates or finetuning. Experimental results show that Kosmos-1 achieves impressive performance on (i) language understanding, generation, and even OCR-free NLP (directly fed with document images), (ii) perception-language tasks, including multimodal dialogue, image captioning, visual question answering, and (iii) vision tasks, such as image recognition with descriptions (specifying classification via text instructions). We also show that MLLMs can benefit from cross-modal transfer, i.e., transfer knowledge from language to multimodal, and from multimodal to language.

Key Features

Perceives general modalities (text, images)
Learns in context (few-shot) and follows instructions (zero-shot)
Trained from scratch on web-scale multimodal corpora
Supports multimodal chain-of-thought prompting
Enables cross-modal transfer between language and multimodal
Performs OCR-free NLP on document images
Handles multimodal dialogue, image captioning, visual question answering
Supports image recognition with descriptions via text instructions

Pros & Cons

Pros
  • Impressive zero-shot and few-shot performance without fine-tuning
  • Handles multimodal inputs (text and images) seamlessly
  • Supports OCR-free document understanding
  • Demonstrates cross-modal transfer learning
  • Open-source model with publicly available paper and resources
Cons
  • Not peer-reviewed (arXiv preprint)
  • Requires significant computational resources for training
  • Limited to text and image modalities (no video or audio)
  • Performance may not match fine-tuned models on specific narrow tasks

Best For

Language understanding and generationOCR-free NLP (processing document images without OCR)Multimodal dialogueImage captioningVisual question answeringImage recognition with text-specified classificationsNonverbal reasoning (Raven IQ test diagnosis)

FAQ

What is Kosmos-1?
Kosmos-1 is a Multimodal Large Language Model (MLLM) introduced in the paper 'Language Is Not All You Need' that can perceive general modalities, learn in context (few-shot), and follow instructions (zero-shot).
What tasks can Kosmos-1 perform?
It can perform language understanding, generation, OCR-free NLP, multimodal dialogue, image captioning, visual question answering, and image recognition with descriptions.