Introduction
While Multimodal Large Language Models (MLLMs) like GPT-4V and Flamingo demonstrate impressive capabilities, they are primarily trained using simple "modality translation"—essentially learning to describe an image or find an image based on a caption. This approach often falls short in complex scenarios requiring compositional understanding. For instance, if a user provides an image of a cat and requests a similar image "but with a toy mouse," the model must fuse the visual features of the cat with the linguistic concept of the mouse.
Current models struggle with these composed tasks because existing datasets are small and rely on expensive human labeling. Furthermore, the way models extract visual information from their internal states is often inefficient, leading to a "blurring" of context. To address this, researchers have introduced Multimodal Composition Learning (MCL), a framework designed to teach frozen Large Language Models (LLMs) to compose images and text to understand complex, multi-step contexts.
Methodology
The authors propose a three-pronged approach to overcome the limitations of standard modality translation:
1. Automated Data Generation (The MMC Dataset)
To bypass the bottleneck of human-labeled data, the researchers utilized Llama-2 and GPT-4 to transform standard image-caption pairs into "compositional" triplets. Given a base caption like "a kitten looking up," the LLM generates a text condition (e.g., "with a toy mouse") and a new target caption ("a kitten playing with a toy mouse"). This automated pipeline allowed the team to scale their training data to 2.7 million samples, creating the MultiModal Composition (MMC) dataset without manual labeling.
2. New Training Objectives
MCL introduces two specialized tasks to guide the frozen LLM:
- MC-Cap (Multimodal-Context Captioning): The model learns to generate a target caption based on a reference image and a text condition.
- MC-Ret (Multimodal-Context Retrieval): The model learns to produce a visual representation (using a special
[RET]token) that matches the composed target.
3. Stacking Retrieval Mechanism
Standard LLMs process tokens sequentially, meaning a second retrieval token is heavily influenced by the first. To extract more diverse information, the authors "stack" these tokens and apply specific attention masks. This ensures each token focuses on different parts of the multimodal context independently, preventing them from simply copying each other and allowing the model to view the scene from multiple feature "angles."
Key Insights
- LLMs are Better "Composers" than CLIP: One of the most striking findings is that the frozen LLM space is better at composing image and text inputs than the CLIP text encoder itself. CLIP often behaves like a "bag of words," ignoring logical structures like "instead of" or "no." Because MCL operates in the LLM's semantic space, it handles these logical nuances much more effectively.
- Synthetic Data is Sufficient: The paper proves that high-quality, LLM-generated synthetic captions can effectively align vision and language for complex tasks, providing a blueprint for scaling multimodal training without human bottlenecks.
Results and Performance
MCL was evaluated across several benchmarks, including Composed Image Retrieval (CIRCO, CIRR, GeneCIS), Dense Context Tasks (Visual Storytelling, Visual Dialog), and General VQA (VQAv2). It significantly outperformed previous baselines:
- Zero-Shot CIR: On the CIRCO benchmark, MCL (using Llama2-7B) achieved a 17.67 mAP@5, dwarfing the previous LLM-based state-of-the-art, FROMAGe, which scored only 4.00.
- Visual Storytelling: In scenarios with 5 captions and 4 images as context, MCL improved Recall@1 from 18.2% (FROMAGe) to 23.1%.
- VQA: MCL achieved 42.6% accuracy on VQAv2, outperforming other parameter-efficient mapping methods like GILL and Flamingo-style models.
Limitations and Future Work
Because MCL relies on a frozen CLIP model as its visual backbone, it inherits some of CLIP's known weaknesses, such as struggling to count objects, identify specific camera angles, or distinguish greyscale from color images. Additionally, while its logical reasoning is superior to CLIP's, the model still occasionally fails on highly specific numerical requirements (e.g., "exactly two cats").
Future directions suggested by the authors include expanding this compositional learning framework to other modalities, such as audio or video, and exploring even larger LLM backbones to determine if these compositional abilities continue to scale.
Summary updated