Dynamic Cluster Data Sampling for Efficient and Long-Tail-Aware Vision-Language Pre-training

· Source: cs.CV updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics · Depth: Expert, extended

Summary

Dynamic Cluster Data Sampling (DynamiCS) is a novel approach for efficient and long-tail-aware Vision-Language Model (VLM) pre-training. It addresses the high computational cost of VLM training and the underrepresentation of rare concepts by dynamically sampling data at each epoch. DynamiCS downsamples large semantic clusters and upsamples small ones, contrasting with methods that merely flatten data distributions. Experiments show DynamiCS reduces VLM training costs, achieving performance competitive with full-scale OpenCLIP while using only about 3% of its training resources. It significantly improves zero-shot classification accuracy on long-tail datasets like Let-it-wag! and ImageNet-1K, outperforming existing cost-saving and dual-purpose baselines on LAION-400M and DataComp-DFN datasets.

Key takeaway

For AI Scientists and Machine Learning Engineers optimizing VLM pre-training, DynamiCS offers a compelling strategy to drastically cut computational costs while boosting performance on long-tail concepts. You should consider integrating dynamic cluster-based sampling, particularly with an α value around 0.2, to achieve significant resource savings (e.g., 3% of full-scale training GPU-hours) without sacrificing, and often improving, model accuracy on diverse and rare categories. This shifts focus from merely flattening data distributions to optimizing for utility.

Key insights

Dynamic cluster-based sampling efficiently trains VLMs, improving long-tail concept performance by balancing data distribution.

Principles

Method

DynamiCS uses k-means clustering on image embeddings, then applies a scaling factor α (e.g., 0.2) to downsample large clusters and upsample small ones, drawing a different subset each epoch.

In practice

Topics

Code references

Best for: Research Scientist, AI Engineer, Computer Vision Engineer, AI Scientist, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CV updates on arXiv.org.