A Mutual Information Perspective on Combining Sample-Wise and Feature-Wise Contrastive Learning
Contrastive representation learning typically contrasts corresponding samples across two views, as in InfoNCE. However, the mutual information bound of sample-wise InfoNCE is limited by the number of negative samples and does not explicitly discourage redundancy across features. To address these issues, we study sample-wise and feature-wise contrastive learning through a common mutual information formulation to understand how to combine them. Our analysis of the feature axis reveals an additional penalty arising from the dependence and non-exchangeability of feature channels and motivates feature standardization before contrastive matching. The two objectives are complementary: the sample-wise objective distinguishes inputs, while the feature-wise objective promotes informative, non-redundant features. We prove that the mutual information captured along either axis lower-bounds the mutual information between the full embedding matrices, providing a principled basis for combining the two objectives. Our extensive experiments across image representation learning and cross-modal retrieval demonstrate that the combined objective improves over either objective alone and outperforms…
- arXiv
- 2611.37018
- Authors
- Mahdi Beitollahi, Mehdi Setayesh, Mohammad Hossein Moslemi, Hongliang Li, Zhitang Chen
- Categories
- cs.AI · cs.CV · cs.IT · cs.LG