For a positive pair and independent negative samples with critic score , how do you prove that minimising the InfoNCE loss maximises a lower bound on the mutual information , and what is the optimal critic ?
Deep learning, Self-supervised learning
Level L5 Expert. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can prove the finite- InfoNCE mutual information bound cleanly and identify the density-ratio optimal critic.
Key idea
Introduce a uniform index that hides which sample came from while the other come from . Decomposing via the joint tuple gives , because any softmax classifier’s cross-entropy upper-bounds conditional entropy.
Steps
- Set up the symmetry trick: draw independently of , sample and sample the remaining items . Let and note the marginal product distribution is .
- Relate to : for every , , because the marginal factors cancel. Averaging over and factoring yields .
- Drop the non-negative KL term and apply Bayes’ rule inside the first expectation: (since ). Hence .
- Bound conditional entropy by InfoNCE cross-entropy: let be the softmax classifier induced by . By symmetry across , . Rearranging gives .
- Find : equality holds when , which matches , so (the pointwise mutual information up to any function of alone).
Common mistakes
- Claiming the bound holds only in the large- asymptotic limit; the conditional-entropy proof above holds strictly for every finite .
- Forgetting the fundamental ceiling: since , InfoNCE can never certify more than nats of mutual information, so small batch sizes give a loose bound when true .
How long your answer should be
One page; 8–10 minutes.
Last checked on 4 December 2026.
Read this
Previous in Deep learning: In a DDPM, why is the reverse-time conditional tractable when conditioned on even though is not, and how do you derive its mean and variance by completing the square in Bayes’ rule?
Next in Deep learning: Why is the expressive power of standard message-passing GNNs bounded by the 1-Weisfeiler–Lehman (1-WL) graph isomorphism test, what is an explicit pair of non-isomorphic graphs (with identical node features) that GCNs cannot distinguish, and what architectural changes go beyond 1-WL?