A Statistical Theory of Contrastive Pre-training and Multimodal Generative AI

Kazusato Oko, Licong Lin, Yuhang Cai, Song Mei
1/8/2025
cs.LGmath.STstat.ML

No official code found. Best implementation: willcai7/Multimodal-GHM (3 stars, MIT, last commit 2025-11-09).

Abstract

Multi-modal generative AI systems, such as those combining vision and language, rely on contrastive pre-training to learn representations across different modalities. While their practical benefits are widely acknowledged, a rigorous theoretical understanding of the contrastive pre-training framework remains limited. This paper develops a theoretical framework to explain the success of contrastive pre-training in downstream tasks, such as zero-shot classification, conditional diffusion models, and vision-language models. We introduce the concept of approximate sufficient statistics, a generalization of the classical sufficient statistics, and show that near-minimizers of the contrastive pre-training loss are approximately sufficient, making them adaptable to diverse downstream tasks. We further propose the Joint Generative Hierarchical Model for the joint distribution of images and text, showing that transformers can efficiently approximate relevant functions within this model via belief propagation. Building on this framework, we derive sample complexity guarantees for multi-modal learning based on contrastive pre-trained representations. Numerical simulations validate these theoretical findings, demonstrating the strong generalization performance of contrastively pre-trained transformers in various multi-modal tasks.

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation for the paper: A Statistical Theory of Contrastive Pre-training and Multimodal Generative AI.

31Shell, PythonJan 7, 202511 months agoMIT

Cite this paper

@article{oko2025statistical,
  title  = {A Statistical Theory of Contrastive Pre-training and Multimodal Generative AI},
  author = {Kazusato Oko and Licong Lin and Yuhang Cai and Song Mei},
  year   = {2025},
  eprint = {2501.04641},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.04641v2}
}

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

Discussion