On Discriminative Probabilistic Modeling for Self-Supervised Representation Learning
Bokun Wang, Yunwen Lei, Yiming Ying, Tianbao Yang
TL;DR
The paper addresses self-supervised representation learning when targets lie in a continuous domain by formulating discriminative probabilistic modeling with a continuous conditional density $p_{\mathbf{w}}(\mathbf{y}|\mathbf{x})$. It employs multi-importance sampling (MIS) to approximate the challenging partition function and shows InfoNCE-based losses are recoverable as a special case; to improve generalization, it introduces a non-parametric convex optimization to estimate the popularity measure $\mathbf{q}$, yielding a new contrastive objective. The proposed NUCLR algorithm optimizes this objective with an alternating scheme and margin-aware negatives, achieving superior performance on CC3M/CC12M benchmark tasks for image-language retrieval and classification. The work provides theoretical generalization insights and practical improvements for discriminative SSL in multimodal, continuous settings, with potential extensions to generative components and reduced memory overhead.
Abstract
We study the discriminative probabilistic modeling on a continuous domain for the data prediction task of (multimodal) self-supervised representation learning. To address the challenge of computing the integral in the partition function for each anchor data, we leverage the multiple importance sampling (MIS) technique for robust Monte Carlo integration, which can recover InfoNCE-based contrastive loss as a special case. Within this probabilistic modeling framework, we conduct generalization error analysis to reveal the limitation of current InfoNCE-based contrastive loss for self-supervised representation learning and derive insights for developing better approaches by reducing the error of Monte Carlo integration. To this end, we propose a novel non-parametric method for approximating the sum of conditional probability densities required by MIS through convex optimization, yielding a new contrastive objective for self-supervised representation learning. Moreover, we design an efficient algorithm for solving the proposed objective. We empirically compare our algorithm to representative baselines on the contrastive image-language pretraining task. Experimental results on the CC3M and CC12M datasets demonstrate the superior overall performance of our algorithm. Our code is available at https://github.com/bokun-wang/NUCLR.
