atlas

Research map / Label-efficient and robust learning / Recognition and long-tail

Breaking the Batch Barrier (B3) of Contrastive Learning via Smart Batch Mining

NeurIPS 2025 · Label-efficient and robust learning › Recognition and long-tail · approach: Contrastive representation theory · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes B3, a batch mining method that uses a teacher embedding model's rankings and METIS graph clustering to build batches of mutual strong in-batch negatives, achieving state-of-the-art on MMEB with LoRA-trained Qwen2-VL/InternVL3 models.

Problem

Contrastive learning for embedding models depends heavily on batch size and negative quality, but explicitly mining hard negatives is computationally costly, especially for multimodal models with high-resolution images.

Approach

Use a teacher's ranks over the full training set to build a sparse similarity graph of mutually strong negatives, cluster it with METIS into fixed-size groups, and form each batch from random clusters so in-batch negatives are hard, instead of adding separately mined hard negatives to random batches.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use B3++ batch mining and hard negatives instead of the strongest listed baselineMMEB 2B models · MMEB 36 tasks (2B)average accuracy: +2.9 pointsHelped
use B3++ instead of the strongest listed baselineMMEB 7B models · MMEB 36 tasks (7B)average accuracy: +1.3 pointsHelped
replace random batches with B3 batch miningQwen2-2B contrastive training · MMEB 36 tasks (batch size 1024)average accuracy: 65.35 -> 67.87Helped
add positive instruction prompts (ablation)Qwen2-2B with random batches · MMEB 36 tasks (batch size 1024)average accuracy: 62.61 -> 65.35Helped
add B3 batch mining rather than use random batches (ablation)Qwen2-2B contrastive training · MMEB 36 tasks (batch size 1024)average accuracy: 65.35 -> 67.87Helped
replace random batches with B3 and remove the five additional hard negatives (ablation)Qwen2-2B contrastive training · MMEB 36 tasks (batch size 1024)average accuracy: 67.14 -> 67.87Helped
increase cluster size from K=8 to K=32 (ablation)B3 Qwen2-2B · MMEB 36 tasks (batch size 512)average accuracy: 67.40 -> 67.58Helped
increase cluster size from K=32 to K=512 (ablation)B3 Qwen2-2B · MMEB 36 tasks (batch size 512)average accuracy: 67.58 -> 67.28Hurt
increase maximum image resolution from 700 to 1000 (ablation)B3 Qwen2-2B · MMEB 36 tasks (batch size 1024)average accuracy: 67.45 -> 67.87Helped
replace the VLM2Vec 2B teacher with CLIP 400M (ablation)B3 2B · MMEB 36 tasks (batch size 512, K=32)average accuracy: 67.58 -> 67.30No clear effect
replace the VLM2Vec 2B teacher with VLM2Vec 7B (ablation)B3 2B · MMEB 36 tasks (batch size 512, K=32)average accuracy: 67.58 -> 67.57No clear effect
increase p from 30 to 70 (ablation)B3 on VQA datasets · VQA tasks (batch size 32)average accuracy: 57.37 -> 58.21Helped

Surprising findings

Limitations

Experimental setup

Datasets: MMEB training set NLI data (SimCSE)

Benchmarks: MMEB (36 tasks) Flickr30K COCO Urban1k STS benchmarks

Metrics: accuracy recall@K

Baselines: Random Batches LLaVE UniME VLM2Vec mmE5 MMRet CLIP GBM

Builds on: VLM2Vec SFR-Embedding NV-Retriever METIS GritLM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy