Summary
In this work the authors demonstrate a connection between contrastive learning, in particular InfoNCE, and distributionally robust optimization. In contrastive learning algorithms it is typical during training that samples which are similar are treated as being different, ie a negative pair, since contrastive learning typically does not include class labels. Intuitively this would be a hinder the ability of contrastive learning algorithms to learn useful representations. Interestingly this doesn't seem to happen in practice, choosing a temperature parameter correctly can cause standard CL algorithms to perform as good as, or better than, robust variants, in the presence of false negative pairs.
In this work it is theoretically proven that InfoNCE is naturally distributionally robust, which explains the phenomenon from the last paragraph. This is done by proposing a distributionally robust version of InfoNCE and demonstrating that the loss is equivalent to InfoNCE with scaling and shifting. This work goes on to analyze the effect and selection of the temperature parameter, giving further insight into the behavior of InfoNCE. It is demonstrated that the distributionally robust InfoNCE is an estiamtor of mutual information. This work then proposes ADNCE as a way to overcome shortcoings of InfoNCE, in particular its sensitivity to outliers, i.e. the hardest negative pairs. This is done by weighting samples in the loss so that the most outlying negative pairs have lower weight in the ending risk. It is experimentally demonstrated that this method brings improvements.
Strengths
- The theoretical result of this work is useful, reasonably nontrivial, and regards a topic that is of very large interest to the ML community. Very good!
- ADNCE is an easily algorithm for a problem of signifiant interest, that brings consistent improvements. Also very good!
Weaknesses
I spent a fair amount of time with this paper and I think its contributions are of high significance and importance, however I really feel that the exposition needs some improvement. I spent some time with the proofs and, while I was always able to decipher what was happening and found no errors, but they are written in a way that I found very hard to parse. While its far from the worst writing I have seen, there is quite a lot of the main text that was also difficult to precisely understand. I don't think the topicality here is so mathematically dense or advanced that this couldn't be written in a much clearer way. If this paper were very well written I would give this an 8, I think. Some example issues are listed below:
- Line 63: What is "the ultimate distribution"?
- Line 101 & Proof of Theorem 3.2 : it would be much clearer if $f_\theta$ was instead $f_\theta(x,y)$. This wouldn't take more space and it would be much easier to parse whats going in in the Proof of Theorem 3.2 if this were the case.
- Theorem 3.2: It should be made clear that $\alpha^*$ is a function of $\eta$, this seems quite important. One could simply write $\alpha^*(\eta)$.
- appx. line 10: I think $P$ in this line is supposed to be $Q$
- appx. (17): I think its worth writing the original constrained optimization before applying strong duality.
- appx. (17): $\max_L$ is again a bit vague. I'm assuming whats actually happening is that we are optimizing over $Q$ in the $L$ definition.
- appx. line 21: "fine definition" is nonstandard, something like "always exists" or "is well-defined"
- appx. line 29: this should be an $\arg \min$. Text like "$\alpha^*$ represents the optimal value of ..." is needlessly confusing, just say "$\alpha^* = \arg \min \cdots$."
- Line 148, 165: Maybe I'm missing something, but I don't quite get what "optimal" means in these lines.
- Theorem 3.3: What is $Q^{ideal}$? In what sense is it "ideal"?
If this work used more clear and precise notation I think it would be great, right now it looks like a rough draft. As an example improvement, I would rewrite in appx (17) the fist term in the last line
$\mathbb{E}_{P_0} [f_\theta]$
as
$\mathbb{E}_{(X,Y)\sim P_0}[ f_\theta(X,Y)]$
Some other errors:
- "and graph" should be "and graphs"
- Give the definitions of acronyms, eg DCL HCL RPL
- There are many missing periods for sentences that end with equations, eg at the end of (1), (16),(17)
- Line 70: "downstrea" [sic]
- Page 3 footnote: sloppy ]
Questions
I don't have any questions really, the paper just needs more polish
Rating
6: Weak Accept: Technically solid, moderate-to-high impact paper, with no major concerns with respect to evaluation, resources, reproducibility, ethical considerations.
Confidence
4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.