GoldiCLIP: The Goldilocks Approach for Balancing Explicit Supervision for Language-Image Pretraining
Organizations: AI Center – Mountain View, Samsung Electronics
Abstract
Until recently, the success of large-scale vision-language models (VLMs) has primarily relied on billion-sample datasets, posing a significant barrier to progress. Latest works have begun to close this gap by improving supervision quality, but each addresses only a subset of the weaknesses in contrastive pretraining. We present GoldiCLIP, a framework built on a Goldilocks principle of finding the right balance of supervision signals. Our multifaceted training framework synergistically combines three key innovations: (1) a text-conditioned self-distillation method to align both text-agnostic and text-conditioned features; (2) an encoder integrated decoder with Visual Question Answering (VQA) objective that enables the encoder to generalize beyond the caption-like queries; and (3) an uncertainty-based weighting mechanism that automatically balances all heterogeneous losses. Trained on just 30 million images, 300x less data than leading methods, GoldiCLIP achieves state-of-the-art among data-efficient approaches, improving over the best comparable baseline by 2.2 points on MSCOCO retrieval, 2.0 on fine-grained retrieval, and 5.9 on question-based retrieval, while remaining competitive with billion-scale models. Project page: https://petsi.uk/goldiclip.
Figures & tables
| (a) Standard Benchmarks | (b) Fine-Grained | (c) Long Text | |||||||||||||||
| Method | Data size | MSCOCO | Flickr30k | DOCCI-FG | IIW-FG | DCI | Urban 1k | ||||||||||
| T2I | I2T | T2I | I2T | T2I | I2T | T2I | I2T | T2I | I2T | T2I | I2T | ||||||
| R1 | R5 | R1 | R5 | R1 | R5 | R1 | R5 | R1 | R1 | R1 | R1 | R1 | R1 | R1 | R1 | ||
| DreamLIP [ 41 ] | 3M | 29.8 | 55.4 | 40.8 | 68.4 | 53.6 | 78.4 | 69.2 | 91.5 | 10.3 | 23.3 | 22.7 | 59.2 | - | - | - | - |
| FLAIR [ 34 ] | 3M | 37.7 | 64.5 | 51.6 | 77.2 | 65.7 | 86.8 | 78.7 | 95.2 | 15.2 | 35.7 | 30.5 | 70.6 | 50.3 | 47.3 | 69.5 | 63.5 |
| COSMOS [ 12 ] | 3M | 40.1 | 66.8 | 53.1 | 78.3 | 68.6 | 88.7 | 84.1 | 96.5 | 14.2 | 32.9 | 28.9 | 70.9 | 52.5 | 50.2 | 73.2 | 67.1 |
| Method | Data | T2I R2 | |||||
| size | Count | Color | Attribute | Shape | Relation | Average | |
| FLAIR [ 34 ] | 30M | 57.6 | 39.1 | 44.4 | 49.0 | 47.7 | 47.6 |
| COSMOS [ 41 ] | 30M | 60.7 | 42.4 | 46.1 | 51.6 | 48.9 | 49.9 |
| GoldiCLIP | 30M | 66.8 | 48.5 | 51.5 | 56.4 | 55.9 | 55.8 |
| OpenCLIP [ 6 ] | 2B | 62.1 | 45.0 | 47.7 | 51.3 | 48.5 | 50.9 |
| PE [ 2 ] | 5B | 65.1 | 67.4 | 48.9 | 52.4 | 57.5 | 52.9 |
| Method | Data size | VOC20 | Cityscapes | Context59 | ADE20K | COCO-Stuff | Average |
| SigLIP [ 38 ] | 30M | 14.5 | 5.5 | 5.8 | 2.2 | 3.8 | 6.4 |
| DreamLIP [ 41 ] | 30M | 1.8 | 0.9 | 0.4 | 0.1 | 0.1 | 0.7 |
| COSMOS [ 12 ] | 30M | 53.6 | 13.9 | 15.7 | 8.5 | 10.7 | 20.0 |
| FLAIR [ 34 ] | 30M | 73.0 | 13.6 | 18.6 | 10.4 | 13.3 | 25.8 |
| FLAIR ∗ [ 34 ] | 30M | 70.3 | 26.2 | 26.4 | 14.7 | 18.8 | 31.3 |
| GoldiCLIP | 30M | 70.0 | 28.9 | 29.5 | 16.4 | 19.4 | 32.8 |
| Method | Data size | Food-101 | CIFAR-10 | CIFAR-100 | SUN397 | Cars | Aircraft | DTD | Pets | Flowers | ImageNet | Average |
| CLIP [ 25 ] | 30M | 61.3 | 92.2 | 66.9 | 62.2 | 19.3 | 5.7 | 30.9 | 49.3 | 43.4 | 50.0 | 48.1 |
| SigLIP [ 38 ] | 30M | 64.2 | 91.0 | 67.6 | 64.0 | 22.0 | 5.7 | 33.5 | 53.3 | 43.6 | 51.0 | 49.6 |
| DreamLIP [ 41 ] | 30M | 75.4 | 92.3 | 70.7 | 63.7 | 22.7 | 7.9 | 33.9 | 64.1 | 51.1 | 58.1 | 54.0 |
| FLAIR [ 34 ] | 30M | 72.5 | 93.1 | 69.6 | 66.9 | 31.1 | 7.2 | 37.3 | 55.6 | 48.4 | 56.6 | 53.8 |
| COSMOS [ 12 ] | 30M | 73.9 | 93.4 | 72.3 | 67.8 | 31.2 | 5.9 | 37.3 | 62.9 | 54.6 | 57.6 | 55.7 |
| GoldiCLIP | 30M | 74.0 | 92.9 | 70.7 | 67.2 | 34.5 | 6.6 | 33.9 | 62.7 | 51.4 | 57.4 | 55.1 |
| Method | COCO | DOCCI | RVQA | VOC20 | ImageNet | ||
| T2I | I2T | T2I | I2T | T2I | mIOU | Top-1 | |
| CA | 37.7 | 51.6 | 15.1 | 35.7 | 51.0 | 59.0 | 36.2 |
| DC | 42.1 | 56.4 | 16.7 | 40.3 | 51.4 | 50.6 | 37.5 |
| VD | 42.1 | 56.9 | 16.7 | 39.0 | 51.7 | 53.9 | 37.6 |
| UN | 42.9 | 58.2 | 17.6 | 42.3 | 52.0 | 55.1 | 38.8 |
| SD | 45.1 | 58.6 | 18.7 | 43.0 | 51.7 | 62.9 | 40.1 |
| Method | COCO | Flickr30k | ||
| T2I | I2T | T2I | I2T | |
| SILC | 48.6 | 35.4 | 79.0 | 62.1 |
| COSMOS | 53.1 | 40.1 | 84.1 | 68.6 |
| FLAIR | 51.6 | 37.7 | 78.7 | 65.5 |
| FLAIR + TC-SD | 56.5 | 42.0 | 87.5 | 70.3 |
| Config | CC3M-recap | Open-30M |
| Batch size | ||
| Optimizer | AdamW | |
| Learning rate | ||
| Weight decay | ||
| Adam | ||
| Adam | ||
| (a) Standard Benchmarks | (b) Fine-Grained | (c) Long Text | |||||||||||||||
| Method | Data size | MSCOCO | Flickr30k | DOCCI-FG | IIW-FG | DCI | Urban 1k | ||||||||||
| T2I | I2T | T2I | I2T | T2I | I2T | T2I | I2T | T2I | I2T | T2I | I2T | ||||||
| R1 | R5 | R1 | R5 | R1 | R5 | R1 | R5 | R1 | R1 | R1 | R1 | R1 | R1 | R1 | R1 | ||
| DreamLIP [ 41 ] | 3M | 29.8 | 55.4 | 40.8 | 68.4 | 53.6 | 78.4 | 69.2 | 91.5 | 10.3 | 23.3 | 22.7 | 59.2 | - | - | - | - |
| FLAIR [ 34 ] | 3M | 37.7 | 64.5 | 51.6 | 77.2 | 65.7 | 86.8 | 78.7 | 95.2 | 15.2 | 35.7 | 30.5 | 70.6 | 50.3 | 47.3 | 69.5 | 63.5 |
| COSMOS [ 12 ] | 3M | 40.1 | 66.8 | 53.1 | 78.3 | 68.6 | 88.7 | 84.1 | 96.5 | 14.2 | 32.9 | 28.9 | 70.9 | 52.5 | 50.2 | 73.2 | 67.1 |
| Method | Data | T2I R2 | |||||
| size | Count | Color | Attribute | Shape | Relation | Average | |
| FLAIR [ 34 ] | 30M | 57.6 | 39.1 | 44.4 | 49.0 | 47.7 | 47.6 |
| COSMOS [ 41 ] | 30M | 60.7 | 42.4 | 46.1 | 51.6 | 48.9 | 49.9 |
| GoldiCLIP | 30M | 66.8 | 48.5 | 51.5 | 56.4 | 55.9 | 55.8 |
| GoldiCLIP ta | 30M | 65.5 | 46.9 | 48.8 | 55.0 | 54.5 | 54.1 |
| OpenCLIP [ 6 ] | 2B | 62.1 | 45.0 | 47.7 | 51.3 | 48.5 | 50.9 |
Vision-Language Pretraining
Vision-language pretraining learns visual representations by relating images, video, or other visual inputs to language.
See all 80 papers