Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Contrastive Conformal Sets

About

Contrastive learning produces coherent semantic feature embeddings by encouraging positive samples to cluster closely while separating negative samples. However, existing contrastive learning methods lack a principled construction of geometric sets in the semantic feature space with distribution-free guarantees at any user-specified coverage level. We extend conformal prediction to this setting by introducing covering sets equipped with learnable generalized hyper-ball constraints. We propose a method that constructs conformal sets guaranteeing user-specified coverage of positive samples while maximizing negative sample exclusion. We theoretically motivate volume minimization as a proxy for negative exclusion, enabling our approach to operate effectively even when negative pairs are unavailable. The positive inclusion guarantee inherits the distribution-free coverage property of conformal prediction, while negative exclusion is maximized through learned set geometry optimized on a held-out training split. Experiments on simulated and real-world image datasets demonstrate improved inclusion-exclusion trade-offs compared to standard distance-based conformal baselines.

Yahya Alkhatib, Wee Peng Tay• 2026

Related benchmarks

TaskDatasetResultRank
OOD DetectionSVHN (test)
AUROC0.998
84
OOD DetectionCIFAR-10 OOD (test)
AUROC98.3
46
Out-of-Distribution DetectionCIFAR-100 (In-distribution) vs CIFAR-10 (OOD) (test)
AUROC96.3
44
OOD DetectionImageNet-100 (ID) vs TEXTURES (OOD)
AUROC99.3
33
Out-of-Distribution DetectionCIFAR100 (ID) vs SVHN (OOD)
AUROC0.992
33
OOD DetectionCIFAR-100 OOD (test)
AUROC98.6
22
OOD DetectionImageNet-100 (ID) vs NINCO (OOD)
AUROC96.9
19
OOD DetectionImageNet 100 classes (test)
FPR956.5
16
Showing 8 of 8 rows

Other info

Follow for update