{"notes":[{"id":"multimodality/flip","category":"multimodality","legacyPath":"multimodality/2212-flip","legacySlug":"2212-flip","legacyPaths":[],"title":"FLIP","subtitle":"Fast CLIP","author":"Z. Yuan","paperDate":"2022-12-01","publishedOn":"2024-10-29","paperTitle":"Scaling Language-Image Pre-training via Masking","paperUrl":"https://arxiv.org/abs/2212.00794v2","bibliography":{"title":"Scaling Language-Image Pre-training via Masking","authors":["Yanghao Li","Haoqi Fan","Ronghang Hu","Christoph Feichtenhofer","Kaiming He"],"url":"https://arxiv.org/abs/2212.00794v2","pdfUrl":"https://arxiv.org/pdf/2212.00794v2","codeUrl":"https://github.com/facebookresearch/flip","preprint":{"id":"2212.00794","submittedOn":"2022-12-01","url":"https://arxiv.org/abs/2212.00794v2"},"publication":{"venue":"CVPR","year":2023,"kind":"conference","url":"https://openaccess.thecvf.com/content/CVPR2023/html/Li_Scaling_Language-Image_Pre-Training_via_Masking_CVPR_2023_paper.html"},"citation":"@misc{multimodalityflip2022,\n  title = {{Scaling Language-Image Pre-training via Masking}},\n  author = {Yanghao Li and Haoqi Fan and Ronghang Hu and Christoph Feichtenhofer and Kaiming He},\n  year = {2022},\n  eprint = {2212.00794},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2212.00794v2}\n}\n","citationPath":"/content/papers/citations/multimodality/flip.80cbfeb93ebf.bib"},"thumbnail":{"src":"/content/papers/assets/5cd3793936c8638ace102a2069af2baafaeb6a78f2963f431eb9c456cf0be768.jpg","width":1220,"height":836},"locale":"en","path":"/content/papers/en/multimodality/flip.80e436562a21.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"solution","text":"Solution","depth":2},{"id":"model-architecture","text":"Model Architecture","depth":3},{"id":"masking-strategy","text":"Masking Strategy","depth":3},{"id":"loss-function","text":"Loss Function","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"ablation-studies","text":"Ablation Studies","depth":3},{"id":"comparison-with-clip","text":"Comparison with CLIP","depth":3},{"id":"zero-shot-transfer-on-imagenet","text":"Zero-Shot Transfer on ImageNet","depth":3},{"id":"zero-shot-classification-on-additional-datasets","text":"Zero-Shot Classification on Additional Datasets","depth":3},{"id":"zero-shot-retrieval","text":"Zero-Shot Retrieval","depth":3},{"id":"model-scaling","text":"Model Scaling","depth":3},{"id":"transferability","text":"Transferability","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{"keep-both-towers-show-the-vit-fewer-patches":"model-architecture","text-and-the-training-objective":"loss-function","experimental-results-and-discussion":"discussion","six-ablations-read-speed-and-accuracy-together":"ablation-studies","clip-comparisons-on-the-same-and-on-different-data":"comparison-with-clip","retrieval-and-transfer-downstream-heads-still-exist":"zero-shot-retrieval","scale-the-model-data-or-schedule":"model-scaling"},"guide":null,"relatedReading":[{"id":"multimodality/clip","relation":"comparison","topic":"Scaling and accelerating image-text pretraining"},{"id":"multimodality/florence","relation":"comparison","topic":"Scaling and accelerating image-text pretraining"}]},{"id":"multimodality/clip","category":"multimodality","legacyPath":"multimodality/2103-clip","legacySlug":"2103-clip","legacyPaths":["multi-model/2021/clip"],"title":"CLIP","subtitle":"Breaking the Dimensional Barrier","author":"Z. Yuan","paperDate":"2021-02-26","publishedOn":"2024-04-04","paperTitle":"Learning Transferable Visual Models From Natural Language Supervision","paperUrl":"https://arxiv.org/abs/2103.00020","bibliography":{"title":"Learning Transferable Visual Models From Natural Language Supervision","authors":["Alec Radford","Jong Wook Kim","Chris Hallacy","Aditya Ramesh","Gabriel Goh","Sandhini Agarwal","Girish Sastry","Amanda Askell","Pamela Mishkin","Jack Clark","Gretchen Krueger","Ilya Sutskever"],"url":"https://arxiv.org/abs/2103.00020","pdfUrl":"https://cdn.openai.com/papers/Learning_Transferable_Visual_Models_From_Natural_Language.pdf","codeUrl":"https://github.com/openai/CLIP","preprint":{"id":"2103.00020","submittedOn":"2021-02-26","url":"https://arxiv.org/abs/2103.00020"},"publication":{"venue":"ICML","year":2021,"kind":"conference","url":"https://proceedings.mlr.press/v139/radford21a.html"},"citation":"@misc{multimodalityclip2021,\n  title = {{Learning Transferable Visual Models From Natural Language Supervision}},\n  author = {Alec Radford and Jong Wook Kim and Chris Hallacy and Aditya Ramesh and Gabriel Goh and Sandhini Agarwal and Girish Sastry and Amanda Askell and Pamela Mishkin and Jack Clark and Gretchen Krueger and Ilya Sutskever},\n  year = {2021},\n  eprint = {2103.00020},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2103.00020}\n}\n","citationPath":"/content/papers/citations/multimodality/clip.a63b118c04c7.bib"},"thumbnail":{"src":"/content/papers/assets/03a0527e167fb49905db2879fecd0e0b7b140cb837e239778ffa7f83f02e25ef.jpg","width":1726,"height":622},"locale":"en","path":"/content/papers/en/multimodality/clip.f9c727d9ae23.md","headings":[{"id":"defining-the-problem","text":"Defining the Problem","depth":2},{"id":"the-solution","text":"The Solution","depth":2},{"id":"model-architecture","text":"Model Architecture","depth":3},{"id":"large-scale-dataset","text":"Large-Scale Dataset","depth":3},{"id":"training-details","text":"Training Details","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"zero-shot-learning","text":"Zero-Shot Learning","depth":3},{"id":"are-the-representations-any-good","text":"Are the Representations Any Good?","depth":3},{"id":"is-clip-truly-generalizable","text":"Is CLIP Truly Generalizable?","depth":3},{"id":"human-vs-machine","text":"Human vs. Machine","depth":3},{"id":"overlap-in-data","text":"Overlap in Data","depth":3},{"id":"limitations","text":"Limitations","depth":2},{"id":"ethical-concerns","text":"Ethical Concerns","depth":3},{"id":"conclusion","text":"Conclusion","depth":2},{"id":"key-contributions","text":"Key Contributions:","depth":3},{"id":"future-directions","text":"Future Directions:","depth":3}],"anchorAliases":{"match-the-text-before-trying-to-write-it":"model-architecture","four-hundred-million-pairs-and-a-sizable-training-bill":"large-scale-dataset","experimental-results-and-discussion":"discussion","strong-zero-shot-results-depend-on-the-task-and-the-baseline":"zero-shot-learning","distribution-shift-figure-13s-strength-and-figure-14s-warning":"is-clip-truly-generalizable","humans-overlapping-data-and-use-boundaries":"human-vs-machine"},"guide":null,"relatedReading":[{"id":"model-tuning/coop","relation":"next","topic":"Adapting image-text models with prompts"},{"id":"multimodality/flip","relation":"comparison","topic":"Scaling and accelerating image-text pretraining"},{"id":"multimodality/florence","relation":"comparison","topic":"Scaling and accelerating image-text pretraining"}]},{"id":"multimodality/florence","category":"multimodality","legacyPath":"multimodality/2111-florence","legacySlug":"2111-florence","legacyPaths":[],"title":"Florence","subtitle":"Renaissance","author":"Z. Yuan","paperDate":"2021-11-22","publishedOn":"2024-12-23","paperTitle":"Florence: A New Foundation Model for Computer Vision","paperUrl":"https://arxiv.org/abs/2111.11432","bibliography":{"title":"Florence: A New Foundation Model for Computer Vision","authors":["Lu Yuan","Dongdong Chen","Yi-Ling Chen","Noel Codella","Xiyang Dai","Jianfeng Gao","Houdong Hu","Xuedong Huang","Boxin Li","Chunyuan Li","Ce Liu","Mengchen Liu","Zicheng Liu","Yumao Lu","Yu Shi","Lijuan Wang","Jianfeng Wang","Bin Xiao","Zhen Xiao","Jianwei Yang","Michael Zeng","Luowei Zhou","Pengchuan Zhang"],"url":"https://arxiv.org/abs/2111.11432","pdfUrl":"https://arxiv.org/pdf/2111.11432v1","codeUrl":null,"preprint":{"id":"2111.11432","submittedOn":"2021-11-22","url":"https://arxiv.org/abs/2111.11432"},"publication":null,"citation":"@misc{multimodalityflorence2021,\n  title = {{Florence: A New Foundation Model for Computer Vision}},\n  author = {Lu Yuan and Dongdong Chen and Yi-Ling Chen and Noel Codella and Xiyang Dai and Jianfeng Gao and Houdong Hu and Xuedong Huang and Boxin Li and Chunyuan Li and Ce Liu and Mengchen Liu and Zicheng Liu and Yumao Lu and Yu Shi and Lijuan Wang and Jianfeng Wang and Bin Xiao and Zhen Xiao and Jianwei Yang and Michael Zeng and Luowei Zhou and Pengchuan Zhang},\n  year = {2021},\n  eprint = {2111.11432},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2111.11432}\n}\n","citationPath":"/content/papers/citations/multimodality/florence.65097f032184.bib"},"thumbnail":{"src":"/content/papers/assets/8f84a59cba04ea60c917cfaf4f6095b4f5d652f8007806804092722bd1543421.jpg","width":1708,"height":670},"locale":"en","path":"/content/papers/en/multimodality/florence.c3369b48a936.md","headings":[{"id":"defining-the-problem","text":"Defining the Problem","depth":2},{"id":"solving-the-problem","text":"Solving the Problem","depth":2},{"id":"model-architecture","text":"Model Architecture","depth":3},{"id":"training-dataset","text":"Training Dataset","depth":3},{"id":"unified-image-text-contrastive-learning","text":"Unified Image-Text Contrastive Learning","depth":3},{"id":"two-tower-architecture","text":"Two-Tower Architecture","depth":3},{"id":"downstream-task-adapters---object-level","text":"Downstream Task Adapters - Object-Level","depth":3},{"id":"downstream-task-adapters---fine-grained-level","text":"Downstream Task Adapters - Fine-Grained-Level","depth":3},{"id":"downstream-task-adapters---video","text":"Downstream Task Adapters - Video","depth":3},{"id":"space-time-modality","text":"Space-Time-Modality","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"zero-shot-classification-transfer","text":"Zero-Shot Classification Transfer","depth":3},{"id":"linear-probe-classification","text":"Linear Probe Classification","depth":3},{"id":"imagenet-1k-fine-tuning","text":"ImageNet-1K Fine-Tuning","depth":3},{"id":"image-text-retrieval-results","text":"Image-Text Retrieval Results","depth":3},{"id":"zero-shot-transfer-in-object-detection","text":"Zero-Shot Transfer in Object Detection","depth":3},{"id":"vqa-evaluation-results","text":"VQA Evaluation Results","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{"read-the-overview-first-backbone-and-adapters":"model-architecture","fld-900m-web-data-still-needs-curation":"training-dataset","unicl-one-description-can-match-several-images":"unified-image-text-contrastive-learning","the-coswin-towers-and-their-compute-bill":"two-tower-architecture","object-level-dynamic-head-and-flod-9m":"downstream-task-adapters---object-level","fine-grained-vision-language-work-meter-on-florences-visual-tower":"downstream-task-adapters---fine-grained-level","time-extend-coswin-to-video":"downstream-task-adapters---video","experimental-results-and-discussion":"discussion","classification-keep-zero-shot-linear-probe-and-fine-tuning-apart":"zero-shot-classification-transfer","retrieval-r1-has-a-direction-and-a-candidate-set":"image-text-retrieval-results","detection-distinguish-supervised-fine-tuning-from-zero-shot-classes":"zero-shot-transfer-in-object-detection","vqa-and-video-results-after-adaptation":"vqa-evaluation-results"},"guide":null,"relatedReading":[{"id":"multimodality/clip","relation":"comparison","topic":"Scaling and accelerating image-text pretraining"},{"id":"multimodality/flip","relation":"comparison","topic":"Scaling and accelerating image-text pretraining"}]}],"text":"This paper, proposed by Meta AI, introduces a new approach to improve the training efficiency of CLIP.\n\n## Problem Definition\n\nIn early 2021, OpenAI introduced the CLIP architecture, which sparked a wave of contrastive learning applications in the industry.\n\nWhile CLIP is simple and effective, **training it is highly resource-intensive**.\n\nIn the original CLIP paper, the authors built **WIT-400M**, a dataset of 400 million image-text pairs. The largest **RN50x64** model required **592 V100 GPUs for 18 days**; that was not a basic CLIP model. ViT-L/14 also took 12 days on 256 V100s.\n\nFor independent engineers and researchers, obtaining such computing resources is far from achievable. Meta AI recognized this problem and proposed **FLIP (Fast Language-Image Pre-training)** as a solution.\n\n## Solution\n\n### Model Architecture\n\n\n\n![model arch](/content/papers/assets/5cd3793936c8638ace102a2069af2baafaeb6a78f2963f431eb9c456cf0be768.jpg)\n\n\n\nFLIP keeps CLIP's two-tower image-text contrastive architecture, but during training it adds **random image-patch masking**. Its encoder implementation also differs from original CLIP in some details.\n\nThe idea is straightforward: since the **image encoder** in the model uses a ViT structure, the authors drew inspiration from the **MAE training strategy**. This strategy shows that a good model can be trained using only a **portion of the image data**.\n\nThe authors tried it. In the paper's same-data experiments, masking 50% or 75% of image patches takes about 0.50 or 0.33 times the unmasked training time, respectively; accuracy depends on the setting. At a similar target accuracy, Figure 1 separately reports roughly a **3.7-fold speedup**.\n\nAnd just when we thought we could relax and happily finish the paper... (~nope, there’s more to dive into! Here we go again!~)\n\n\n> [!TIP]\n> \n> If you're not familiar with the background papers, check out our earlier notes:\n> \n> - [**[21.03] CLIP: Breaking the Dimensional Barrier**](/blog/papers/multimodality/clip)\n> - [**[21.11] MAE: A Quarter of the Clue**](/blog/papers/vision-transformers/mae)\n\n\n### Masking Strategy\n\nFor **image masking**, FLIP adopts the same approach as MAE. The image is divided into non-overlapping patches, and a large portion of these patches is randomly masked. The **masking ratio** can be set to **50% or 75%**.\n\nSince masked patches **never enter the image encoder**, the visual-encoding part can use roughly 2× or 4× larger batches at similar memory use. Other model and contrastive-batch costs remain, so total memory is not guaranteed to stay fixed. Larger batches are also one reason accuracy can improve.\n\nWhile CLIP includes both images and text, FLIP's main experiments mask **only the image input**. Text masking is tested in an ablation but dropped: the text tower is smaller and shorter, so the total speed gain is limited.\n\nDuring **inference**, the model processes the **full, unmasked image** without requiring any adjustments to the encoder.\n\n### Loss Function\n\nAlthough FLIP borrows the masking mechanism from MAE, it does **not use a reconstruction loss**. Based on ablation experiments, the authors found that reconstruction loss does not improve **zero-shot transfer performance**. By **removing the decoder and reconstruction head**, they achieved better speed and simplicity.\n\nFLIP relies entirely on **contrastive loss**. In this setup:\n\n- **Positive pairs** are corresponding image-text pairs.\n- **Negative pairs** are drawn from other samples within the same batch.\n\nThe image and text encoder outputs are projected into the **same embedding space** and normalized. Their cosine similarity is scaled by a learned temperature. The following InfoNCE formula illustrates the **image-to-text direction**:\n\n$$\nL = -\\frac{1}{N} \\sum_{i=1}^{N} \\log \\frac{\\exp(\\text{sim}(v_i, t_i) / \\tau)}{\\sum_{j=1}^{N} \\exp(\\text{sim}(v_i, t_j) / \\tau)}\n$$\n\nwhere $N$ is the batch size, $v_i$ and $t_i$ are the embedding vectors for the $i^{th}$ image and its corresponding text, and $\\text{sim}(v_i, t_j)$ denotes the **cosine similarity** between the image and text embeddings. $\\tau$ is a **learnable temperature parameter**.\n\nCosine similarity is computed as:\n\n$$\n\\text{sim}(v_i, t_j) = \\frac{v_i^\\top t_j}{\\|v_i\\| \\|t_j\\|}\n$$\n\nActual CLIP/FLIP training also computes the **text-to-image direction** and averages the two losses. The objective draws matched images and texts together and pushes other within-batch pairings apart, though semantically matching \"negatives\" can occur in real data.\n\n## Discussion\n\nWhat improvements enable FLIP to significantly accelerate CLIP’s training? In this section, we summarize the key findings from the **ablation studies** conducted by the authors.\n\n### Ablation Studies\n\n![ablation](/content/papers/assets/91d0aa87ce0455def5b4d2194dfeb95ad68c31375457fe2d4210ff9979f49795.jpg)\n\nTable 1 uses ViT-L/16 after 6.4 epochs on LAION-400M and reports ImageNet-1K zero-shot accuracy. Most timings use 256 TPU-v3 cores; the measured 0.33× time for 75% masking is about a threefold wall-clock speedup here, rather than a universal fourfold speedup.\n\n1. **Masking Ratio**\n\n   - The model is trained on **LAION-400M** and evaluated on the **ImageNet-1K** validation set for zero-shot accuracy.\n   - Table (a) examines masking ratios while adjusting batches for similar image-encoding memory: no masking at batch 16k gives 68.6%; **50% masking** at batch 32k gives 69.6%, **1.0 percentage point** higher; **75% masking** at batch 64k gives 68.2%, **0.4 point lower**.\n   - **Training time:**\n     - With 50% masking, training time is **reduced to 50%** of the original time.\n     - With 75% masking, it is **reduced to 33%** of the original time.\n\n2. **Batch Size**\n\n   - Table (b) explores the impact of **batch size** on model accuracy:\n     - Increasing batch size consistently **improves accuracy**.\n     - Even with a **batch size of 16k**, the model with **50% masking** achieves **68.5% accuracy**, comparable to the unmasked model’s **68.6%**.\n     - The authors suggest masking may have a **regularizing effect** that partly offsets lost information; the table does not separately measure overfitting.\n     - However, **75% masking** combined with a **fixed batch size** causes performance degradation due to information loss.\n   - Scaling the batch along with the mask ratio can keep visual-encoding memory similar. But Table 1(b)'s **50% mask, 64k batch** takes about twice the memory of the comparable settings in (a), so memory limits remain.\n\n3. **Text Masking**\n\n   - Table (c) shows that **randomly masking 50% of text** reduces accuracy by **2.2 percentage points**:\n     - Text data is more **information-dense** than image data, making large-scale text masking less effective.\n     - **Prioritizing the masking of padding tokens** reduces the accuracy drop to **0.4 percentage points**.\n   - Text masking provides limited speed benefits: with the image unmasked, the text encoder costs about **4.4% as much computation as the visual encoder**. The main experiments therefore leave text intact.\n\n4. **Inference Unmasking**\n\n   - Table (d) reveals that **ignoring the difference between masked and unmasked distributions** during inference yields good results, even in zero-shot settings:\n     - With the 75%-mask-trained model, masking at inference changes 68.2% to 60.9%, a **7.3-percentage-point** drop; the corresponding 50%-trained model falls by 3.2 points.\n     - Using **ensemble methods** that combine multiple masked views reduces the performance gap but **still lags behind using the full image**.\n\n5. **Unmasked Tuning**\n\n   - Table (e) shows that continuing on the **pretraining dataset** with **0% masking** for **0.32 additional epoch** raises the 75%-masked model from 68.2% to 69.5%, up 1.3 points; the 50%-masked model rises from 69.6% to 70.1%.\n     - This **unmasked tuning** is consistent with closing the masked-pretraining versus intact-inference distribution gap. It does not use ImageNet class labels.\n\n6. **Reconstruction Loss**\n   - Table (f) explores the impact of adding a **reconstruction loss**:\n     - The reconstruction head follows the design in **MAE**, using a small decoder to reconstruct normalized image pixels. The reconstruction loss is combined with the contrastive loss.\n     - In Table 1(f), adding reconstruction lowers zero-shot accuracy from 69.6% to 69.4% at 50% masking and from 68.2% to 67.9% at 75%; the authors also report a small fine-tuning decline. Other reconstruction weights or settings were not exhaustively ruled out.\n   - To **simplify the system and improve performance**, the authors ultimately **omit the reconstruction head and loss**.\n\n### Comparison with CLIP\n\nTo demonstrate the effectiveness of FLIP, the authors compare it against several CLIP baselines, showing that FLIP is a strong alternative to CLIP. The baselines used include:\n\n- **Original CLIP**: Trained on the private WIT-400M dataset.\n- **OpenCLIP**: A faithful reproduction of CLIP, trained on the public LAION-400M dataset.\n- **Authors’ CLIP reproduction**: Also trained on LAION-400M, this version helps analyze methodological differences.\n\n### Zero-Shot Transfer on ImageNet\n\n\n\n![imagenet](/content/papers/assets/e9f9a93b532707b9252e42be0a0a0aa352e65d3b87e3718ec98c6b749eaa4007.jpg)\n\n\n\nThe table above compares **zero-shot accuracy on ImageNet-1K**.\n\n- **Authors' CLIP reproduction** achieves slightly higher accuracy than OpenCLIP, both trained on LAION-400M.\n- **FLIP**: With batch 64k, 50% masking, and unmasked tuning, its ViT-L/14 reaches **74.6%**, **1.8 percentage points** above OpenCLIP's 72.8% and **1.5 points** above the authors' 73.1% CLIP reproduction on LAION-400M. The L/14 result also receives adjustment after L/16 pretraining, rather than starting with an identical L/14 schedule.\n- Original CLIP's ViT-L/14 scores **75.3%**, 0.7 point higher than FLIP, but used private WIT-400M. This cross-dataset comparison does not isolate masking.\n\n### Zero-Shot Classification on Additional Datasets\n\n\n\n![datasets](/content/papers/assets/ea32c7b8a3104e58f77405c9042b9ee00bfea411486943c0c2bd438e5bac667c.jpg)\n\n\n\nThis table compares zero-shot classification performance across several datasets.\n\n- **WIT-trained models** excel in tasks like **Aircraft, Country211, and SST2**, while **LAION-trained models** perform better on **Birdsnap, SUN397, and Cars**.\n- In most listed tasks, **FLIP outperforms the two LAION-400M CLIP baselines**. Green highlights indicate the best among the LAION entries, not necessarily all WIT rows. There are exceptions: on **GTSRB**, FLIP scores 41.4% versus 50.2% for the authors' CLIP reproduction; on **PCam**, 50.3% is below the two LAION comparators' 51.1% and 53.1%.\n\n### Zero-Shot Retrieval\n\n\n\n![retrieval](/content/papers/assets/2cbd6739ea5d7367344cf592789afabceef615738322fdb2eec1119900c260d3.jpg)\n\n\n\nThis table shows image-text retrieval results on **Flickr30k** and **COCO**.\n\n- Compared with both LAION-400M CLIP baselines, FLIP leads all twelve listed retrieval metrics. Against the original CLIP authors' 224-pixel reevaluation, FLIP leads most but not all: Flickr30k text-retrieval R@5/R@10 are **98.5/99.6** versus **99.1/99.8**. Original CLIP also has a 336-pixel row, which is a different input setting.\n- These are two directions of zero-shot retrieval: text retrieval searches captions from an image; image retrieval searches images from text. The WIT versus LAION data difference remains when comparing with original CLIP.\n\n### Model Scaling\n\nWith the efficiency gains from FLIP, the authors explore how to push beyond CLIP’s limits by scaling along three axes:\n\n1. **Model Scaling**\n\n   - The **ViT-L image encoder** is replaced with **ViT-H**, which has approximately **2x the parameters**, with a corresponding increase in the text encoder.\n\n2. **Data Scaling**\n\n   - The pre-training dataset is expanded from **LAION-400M** to **LAION-2B**.\n   - To isolate the effect of data volume from training duration, the **total sampled data** is kept at **12.8B** (equivalent to 32 epochs on 400M or 6.4 epochs on 2B data).\n\n3. **Schedule Scaling**\n   - The sampled data is increased to **25.6B** (64 epochs on LAION-400M).\n   - In single-axis tests the other two settings stay fixed; the last two table rows test joint model-and-data and then three-axis scaling.\n\nResults of the Scaling Experiments are shown in the figure below:\n\n![training](/content/papers/assets/d01f0ac3a1694fd9d11eb39ef01b37dfd5120b76c6598788bdbcb625ebba295b.jpg)\n\n1. **Model Scaling** (Fig. a): Accuracy steadily improves throughout training, although the gap narrows towards the end.\n2. **Data Scaling** (Fig. b): Early performance is close to baseline, while later accuracy improves. Total sampled pairs stay at 12.8B, so the curve does not require more sampled training examples; it uses more diverse source data.\n3. **Schedule Scaling** (Fig. c): Doubling sampled pairs to 25.6B yields limited late zero-shot improvement and does not exceed the 12.8B baseline at the end of the plotted comparison. The dashed line is a **hypothetical horizontal rescaling** of the long-schedule curve, not an actual shorter run.\n\n### Transferability\n\n![transfer](/content/papers/assets/f2f23b1e78329a2a499c0a2f0adddc34b8a9b4753880dcc80c8d2e4d866283d6.jpg)\n\nThe table above details the impact of different scaling strategies on downstream tasks:\n\n- Both **model scaling and data scaling** beat the baseline on the listed metrics. ImageNet-1K zero-shot accuracy rises from 74.3% to 75.5% and 75.8%, respectively.\n- Data scaling keeps 12.8B sampled pairs, supporting a gain from greater data variety under that condition rather than from seeing more total examples.\n\nThe second-to-last row shows joint model-and-data scaling exceeding either single-axis change in the listed metrics. On ImageNet-1K, model scaling adds **1.2 percentage points** (74.3→75.5), data scaling **1.5 points** (74.3→75.8), and joint scaling **3.3 points** (to 77.6). The authors infer that larger models may benefit from more varied data.\n\nThe last row scales model, data and schedule: ImageNet-1K zero-shot accuracy reaches **78.8%**, above the cited OpenCLIP LAION-2B result of 78.0%. It is not an improvement in every transfer column: COCO/nocaps caption CIDEr fall from **130.4/92.6** in the prior row to **130.2/91.2**.\n\nOpenCLIP used 32B sampled pairs and FLIP 25.6B. Combining those counts with an assumed 2.5× FLIP speed ratio on comparable hardware, the authors **estimate** about **3,360 GPU-days saved**. This is a planning calculation, not a direct measurement of both training runs on identical hardware.\n\n## Conclusion\n\nThrough a series of ablation experiments and comparative analyses, the authors demonstrate the effectiveness of FLIP. When training CLIP models on large-scale datasets, FLIP significantly accelerates training speed and achieves better performance on multiple zero-shot tasks.\n\nTime is money, and we believe no one would have a problem with money, right?\n\nDo you want to build a CLIP model? FLIP is undoubtedly a cost-effective choice.\n","imageSizes":{"/content/papers/assets/5cd3793936c8638ace102a2069af2baafaeb6a78f2963f431eb9c456cf0be768.jpg":{"width":1220,"height":836},"/content/papers/assets/91d0aa87ce0455def5b4d2194dfeb95ad68c31375457fe2d4210ff9979f49795.jpg":{"width":1590,"height":500},"/content/papers/assets/e9f9a93b532707b9252e42be0a0a0aa352e65d3b87e3718ec98c6b749eaa4007.jpg":{"width":1224,"height":228},"/content/papers/assets/ea32c7b8a3104e58f77405c9042b9ee00bfea411486943c0c2bd438e5bac667c.jpg":{"width":2172,"height":366},"/content/papers/assets/2cbd6739ea5d7367344cf592789afabceef615738322fdb2eec1119900c260d3.jpg":{"width":1714,"height":354},"/content/papers/assets/d01f0ac3a1694fd9d11eb39ef01b37dfd5120b76c6598788bdbcb625ebba295b.jpg":{"width":1616,"height":398},"/content/papers/assets/f2f23b1e78329a2a499c0a2f0adddc34b8a9b4753880dcc80c8d2e4d866283d6.jpg":{"width":1622,"height":366}}}
