A Mutual Information Perspective on Combining Sample-Wise and Feature-Wise Contrastive Learning
Mahdi Beitollahi, Mehdi Setayesh, Mohammad Hossein Moslemi, Hongliang Li, Zhitang Chen
Noah's Ark Lab
Published November 27, 2026 · on the feed November 30, 2026 · ▲ 1 · arXiv 2611.37018
The abstract
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 existing self-supervised learning methods in frozen-representation evaluations.
The Brief
2:10A short podcast summary of the paper. Written and voiced by AI.
Transcript
A Mutual Information Perspective on Combining Sample-Wise and Feature-Wise Contrastive Learning. By Mahdi Beitollahi and four others, from Noah's Ark Lab. Published on the twenty-seventh of November.
Contrastive representation learning usually contrasts corresponding samples across two views, as InfoNCE does. That sample-wise approach has two limits. Its mutual information bound is capped by the number of negative samples. And it does nothing explicit to discourage redundancy across features. The paper puts sample-wise and feature-wise contrastive learning into one common mutual information formulation, to understand how the two should be combined. The sample-wise version contrasts rows of the embedding matrix, one per input. The feature-wise version contrasts along the other axis, the feature channels. Treating both as estimates of mutual information puts them on the same footing, so they can be compared and joined rather than simply added.
The central result is a lower bound. The mutual information captured along either axis, samples or features, lower-bounds the mutual information between the full embedding matrices. That gives a principled basis for using both objectives together. Neither axis can claim more information than the full embeddings hold, and each one captures part of it.
The two objectives do different jobs. The sample-wise one distinguishes inputs from each other. The feature-wise one promotes features that are informative and not redundant. Because each axis bounds the same underlying quantity, combining them is grounded rather than ad hoc. Working through the feature axis also turns up something extra: an additional penalty that arises because feature channels are dependent and not exchangeable.
That penalty is what motivates one practical step, standardizing features before contrastive matching. The analysis concerns the feature channels as they are, dependent and non-exchangeable, so the standardization is part of how the theory is carried into practice. On the sample side, the limit stated at the outset still applies: the bound of sample-wise InfoNCE depends on how many negative samples there are, which is part of why the second axis is brought in at all.
In experiments on image representation learning and cross-modal retrieval, the combined objective improves over either objective alone, and outperforms existing self-supervised learning methods in frozen-representation evaluations.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free