S ELF - SUPERVISED L EARNING FROM A M ULTI - VIEW P ERSPECTIVE
A BSTRACT
As a subset of unsupervised representation learning, self-supervised representation learning adopts self-deﬁned signals as supervision and uses the learned representation for downstream tasks, such as object detection and image captioning.
Many proposed approaches for self-supervised learning follow naturally a multi-view perspective, where the input (e.g., original images) and the self-supervised signals (e.g., augmented images) can be seen as two redundant views of the data.
Building from this multi-view perspective, this paper provides an information-theoretical framework to better understand the properties that encourage successful self-supervised learning.
Speciﬁcally, we demonstrate that self-supervised learned representations can extract task-relevant information and discard task-irrelevant information.
Our theoretical framework paves the way to a larger space of self-supervised learning objective design.
In particular, we propose a composite objective that bridges the gap between prior contrastive and predictive learning objectives, and introduce an additional objective term to discard task-irrelevant information.
To verify our analysis, we conduct controlled experiments to evaluate the impact of the composite objectives.
We also explore our framework’s empirical generalization beyond the multi-view perspective, where the cross-view redundancy may not be clearly observed.
I NTRODUCTION
Self-supervised learning (SSL) (Zhang et al., 2016; Devlin et al., 2018;
Oord et al., 2018; Tian et al., 2019) learns representations using a proxy objective (i.e., SSL objective) between inputs and self-deﬁned signals.
Empirical evidence suggests that the learned representations can generalize well to a wide range of downstream tasks, even when the SSL objective has not utilize any downstream supervision during training.
For example, SimCLR (Chen et al., 2020) deﬁnes a contrastive loss (i.e., an SSL objective) between images with different augmentations (i.e., one as the input and the other as the self-supervised signal).
Then, one can take SimCLR as features extractor and adopt the features to various computer vision applications, spanning image classiﬁcation, object detection, instance segmentation, and pose estimation (He et al., 2019).
Despite success in practice, only a few work (Arora et al., 2019; Lee et al., 2020; Tosh et al., 2020) provide theoretical insights into the learning efﬁcacy of SSL.
Our work shares a similar goal to explain the success of SSL, from the perspectives of Information Theory (Cover & Thomas, 2012) and multi-view representation 1 .
To understand (a subset 2 of) SSL, we start by the following multi-view assumption .
First, we regard the input and the self-supervised signals as two corresponding views of the data.
Using our running example, in SimCLR (Chen et al., 2020), the augmented images (i.e., the input and the self-supervised signal) are an image with different views.
Second, we adopt a common assumption in multi-view learning: either view alone is (approximately) sufﬁcient for the downstream tasks (see Assumptionin prior work (Sridharan & Kakade, 2008)).
The assumption suggests that the image augmentations (e.g., changing the style of an image) should not affect the labels of images, or analogously, the selfsupervised signal contains most (if not all) of the information that the input has about the downstream tasks.
With this assumption, our ﬁrst contribution is to formally show that the self-supervised learned representations can 1) extract all the task-relevant information (from the input) with a potential loss; and 2) discard all the task-irrelevant information (from the input) with a ﬁxed gap.
Then, using classiﬁcation task as an example, we are able the quantify the smallest generalization error (Bayes error rate) given the discussed task-relevant and task-irrelevant information.
As the second contribution, our analysis 1) connects prior arts for SSL on contrastive (Oord et al., 2018;
Bachman et al., 2019; Chen et al., 2020; Tian et al., 2019) and predictive learning (Zhang et al., 2016; Vondrick et al., 2016; Tulyakov et al., 2018;
Devlin et al., 2018) approaches; and 2) paves the way to a larger space of composing SSL objectives to extract task-relevant and discard task-irrelevant information simultaneously.
For instance, the combination between the contrastive and predictive learning approaches achieves better performance than contrastive- or predictive-alone objective and enjoys less over-ﬁtting problem.
We also present a new objective to discard task-irrelevant information.
The objective can be easily incorporated with prior self-supervised learning objectives.
We conduct controlled experiments on visual (the ﬁrst set) and visual-textual (the second set) selfsupervised representation learning.
The ﬁrst set of experiments are performed when the multi-view assumption is likely to hold.
The goal is to compare different compositions of SSL objectives on extracting task-relevant and discarding task-irrelevant information.
The second set of experiments are performed when the input and the self-supervised signal lie in very different modalities.
Under this cross-modality setting, the task-relevant information may not mostly lie in the shared information between the input and the self-supervised signal.
The goal is to examine SSL objectives’ generalization, where the multi-view assumption is likely to fail.
A M ULTI - VIEW I NFORMATION -T HEORETICAL F RAMEWORK
Notations.
For the input, we denote its random variable as X , sample space as X , and outcome as x .
We learn a representation ( Z X / Z / z x ) from the input through a deterministic mapping F X :
Z X
= F X ( X ) .
For the self-supervised signal, we denote its random variable/ sample space/ outcome as S / S / s .
Two sample spaces can be different between the input and the self-supervised signal:
X (cid:54) =
S .
The information required for downstream tasks is referred to as “task-relevant information”:
T / T / t .
Note that SSL has no access to the task-relevant information.
Lastly, we use I ( A ; B ) to represent mutual information, I ( A ; B | C ) to represent conditional mutual information, H ( A ) to represent the entropy, and H ( A | B ) to represent conditional entropy for random variables A / B / C .
We provide high-level takeaways for our main results in Figure 1.
We defer all proofs to Supplementary.
2. M ULTI - VIEW A SSUMPTION
In our paper, we regard the input ( X ) and the self-supervised signals ( S ) as two views of the data.
Here, we provide a table showing different X / S in various SSL frameworks:
[Figure]
We note that not all SSL frameworks realize the inputs and the self-supervised signals as corresponding views.
For instance, Jigsaw puzzle (Noroozi & Favaro, 2016) considers (shufﬂed) image patches as the input and the positions of the patches as the self-supervised signals.
Another example is Learning by Predicting Rotations (Gidaris et al., 2018), which considers an image (rotating with a speciﬁc angle) as the input and the rotation angle of the image as the self-supervised signal.
We point out that the frameworks that regard X/S as two corresponding views (Chen et al.; 2020; He et al., 2019) have a much better empirical downstream performance than the frameworks that do not (Noroozi &
Favaro, 2016; Gidaris et al., 2018).
Our paper hence focuses on the multi-view setting between X/S .
Next, we adopt the common assumption (i.e., multi-view assumption (Sridharan & Kakade, 2008; Xu et al., 2013)) in the multi-view learning between the input and the self-supervised signal:
Assumption 1 (Multi-view, restating Assumption 1 in prior work (Sridharan & Kakade, 2008)) .
The self-supervised signal is approximately redundant to the input for the task-relevant information.
In other words, there exist an (cid:15) info > 0 such that I ( X ; T | S ) ≤ (cid:15) info .
Assumption 1 states that, when (cid:15) info is small, the task-relevant information lies mostly in the shared information between the input and the self-supervised signals.
We argue this assumption is mild with the following example.
For self-supervised visual contrastive learning (Hjelm et al., 2018; Chen et al., 2020), the input and the self-supervised signal are the same image with different augmentations.
Using image augmentations can be seen as changing the style of an image while not affecting the content.
And we argue that the information required for downstream tasks should only be retained in the content but not the style.
Next, we point out the failure cases of the assumption (or have large (cid:15) info ): the input and the self-supervised signal contain very different task-relevant information.
For instance, a drastic image augmentation (e.g., adding large noise) may change the content of the image (e.g., the noise completely occludes the objects).
Another example is BERT (Devlin et al., 2018), with too much masking, downstream information may exist differently in the masked (i.e., the self-supervised signals) and the non-masked (i.e., the input) words.
Analogously, too much masking makes the non-masked words have insufﬁcient context to predict the masked words.
2. L EARNING M INIMAL AND S UFFICIENT R EPRESENTATIONS FOR S ELF - SUPERVISION
We start by discussing the supervised representation learning.
The Information Bottleneck (IB) method (Tishby et al., 2000; Achille & Soatto, 2018) generalizes minimal sufﬁcient statistics to the representations that are minimal (i.e., less complexity) and sufﬁcient (i.e., better ﬁdelity).
To learn such representations for downstream supervision, we consider the following objectives:
Deﬁnition 1 (Minimal and Sufﬁcient Representations for Downstream Supervision) .
Let
Z sup X be the sufﬁcient supervised representation and Z sup
min
X be the minimal and sufﬁcient representation:
[Equation]
maximized .
To reduce the complexity of the representation Z X , the prior methods (Tishby et al., 2000; Achille & Soatto, 2018) presented to minimize I ( Z X ; X ) while ours presents to minimize H ( Z X | T ) .
We provide a justiﬁcation: minimizing H ( Z X | T ) reduces the randomness from T to Z X , and the randomness is regarded as a form of incompressibility (Calude, 2013).
Hence, minimizing H ( Z X | T ) leads to a more compressed representation (discarding redundant information) 3 .
Note that we do not constrain the downstream task T as classiﬁcation, regression, or clustering.
Then, we present SSL objectives to learn sufﬁcient (and minimal) representations for self-supervision:
Deﬁnition 2 (Minimal and Sufﬁcient Representations for Self-supervision) .
Let Z ssl
X be the sufﬁcient self-supervised representation and Z ssl
min
X be the minimal and sufﬁcient representation:
[Equation]
Deﬁnition 2 deﬁnes our self-supervised representation learning strategy.
Now, we are ready to associate the supervised and self-supervised learned representations:
Theorem 1 (Task-relevant information with a potential loss (cid:15) info ) .
The supervised learned representations (i.e., Z sup X and Z sup min X ) contain all the task-relevant information in the input (i.e., I ( X ; T ) ).
The self-supervised learned representations (i.e., Z ssl X and Z ssl min X ) contain all the task-relevant information in the input with a potential loss (cid:15) info .
Formally,
[Equation]
When (cid:15) info is small, Theorem 1 indicates that the self-supervised learned representations can extract almost as much task-relevant information as the supervised one.
While when (cid:15) info is non-trivial, the learned representations may not always lead to good downstream performance.
This result has also been observed in prior work (Tschannen et al., 2019) and InfoMin (Tian et al., 2020), which claim the representations with maximal mutual information may not have the best performance.
Theorem 2 (Task-irrelevant information with a ﬁxed compression gap
I ( X ; S | T ) ) .
The sufﬁcient self-supervised representation (i.e., I ( Z ssl X ; T ) ) contains more task-irrelevant information in the input than the sufﬁcient and minimal self-supervised representation (i.e., I ( Z ssl
min X ; T ) ).
The latter contains an amount of the information, I ( X ; S | T ) , that cannot be discarded from the input.
Formally,
I ( Z ssl X ; X | T ) =
I ( X ; S | T )
+ I
( Z ssl X ; X | S, T ) ≥
I ( Z ssl min X ; X | T )
=
I ( X ; S | T ) ≥ I ( Z sup min
X ; X | T )
= 0 .
Theorem 2 indicates that a compression gap (i.e., I ( X ; S | T ) ) exists when we discard the taskirrelevant information from the input.
To be speciﬁc, I ( X ; S | T ) is the amount of the shared information between the input and the self-supervised signal excluding the task-relevant information.
Hence,
I ( X ; S | T ) would be large if the downstream tasks requires only a portion of the shared information.
2. C ONNECTIONS WITH C ONTRASTIVE AND P REDICTIVE L EARNING O BJECTIVES
Theorem 1 and 2 state that our self-supervised learning strategies (i.e., min H ( Z X | S ) and max I ( Z X ; S ) deﬁned in Deﬁnition 2) can extract task-relevant and discard task-irrelevant information.
A question emerges: “ What are the practical aspects of the presented self-supervised learning strategies? ”
To answer this question, we present 1) the connections with prior SSL objectives, especially for contrastive (Oord et al., 2018; Bachman et al., 2019;
Chen et al., 2020; Tian et al., 2019; Hjelm et al., 2018; He et al., 2019) and predictive (Zhang et al., 2016; Pathak et al., 2016; Vondrick et al., 2016;
Tulyakov et al., 2018; Peters et al., 2018; Devlin et al., 2018) learning objectives, showing that these objectives are extracting task-relevant information; and 2) a new inverse predictive learning objective to discard task-irrelevant information.
We illustrate important remarks in Figure 2.
Contrastive Learning (is extracting task-relevant information).
Contrastive learning objective (Oord et al., 2018) maximizes the dependency/contrastiveness between the learned representation Z X and the self-supervised signal S , which suggests maximizing the the mutual information
I ( Z X ; S ) .
Theorem 1 suggests that maximizing I ( Z X ; S ) results in Z X containing (approximately) all the information required for the downstream tasks from the input X .
To deploy the contrastive learning objective, we suggest contrastive predictive coding (CPC)
(Oord et al., 2018) 4 , which is a mutual information lower bound with low variance (Poole et al., 2019; Song & Ermon, 2019): L
[Equation]
:=
[Equation]
,Z X ) (cid:34)n n (cid:88)
i = log e (cid:104) G
( z xi ) ,G ( z si ) (cid:105) 1 n (cid:80) nj =1 e (cid:104) G ( z xi ) ,G ( z sj ) (cid:105) (cid:35) , (1) where F S : S → Z is a deterministic mapping and G is a project head that projects a representation in Z into a lower-dimensional vector.
If the input and self-supervised signals share the same sample space, i.e., X = S , we can impose F X = F S
(e.g., self-supervised visual representation learning (Chen et al., 2020)).
The projection head, G , can be an identity, a linear, or a non-linear mapping.
Last, we note that modeling equation 1 often requires a large batch size (e.g., large n in equation 1) to ensure a good downstream performance (He et al., 2019; Chen et al., 2020).
Forward Predictive Learning (is extracting task-relevant information).
Forward predictive learning encourages the learned representation Z X to reconstruct the self-supervised signal S , which suggests maximizing the log conditional likelihood E P S,ZX [log P ( S | Z X )] .
By the chain rule,
I ( Z X ; S ) =
H ( S ) − H
( S | Z X ) , where H ( S ) is irrelevant to Z X .
Hence, maximizing I ( Z X ; S ) is equivalent to maximizing − H ( S | Z X ) =
E P S,ZX [log P ( S | Z X )] , which is the predictive learning objective.
Together with Theorem 1, if z x can perfectly reconstruct s for any ( s, z x ) ∼ P S,Z X , then
Z X contains (approximately) all the information required for the downstream tasks from the input
X .
A common approach to avoid intractability in computing E P S,ZX [log P ( S | Z X )] is assuming a variational distribution Q φ ( S | Z X ) with φ representing the parameters in Q φ ( ·|· ) .
Speciﬁcally, we present to maximize E P S,ZX [log Q φ ( S | Z X )] , which is a lower bound of E P S,ZX [log P ( S | Z X )] 5 .
Q φ ( ·|· ) can be any distribution such as Gaussian or Laplacian and φ can be a linear model, a kernel method, or a neural network.
Note that the choice of the reconstruction type of loss depends on the distribution type of Q φ ( ·|· ) , and is not ﬁxed.
For instance, if we let Q φ ( S | Z X ) be Gaussian
N (cid:16) S | R ( Z X ) , σ I (cid:17) with σ I as a diagonal matrix 6 , the objective becomes:
[Equation]
where R : Z → S is a deterministic mapping to reconstruct S from Z and we ignore the constants derived from the Gaussian distribution.
Last, in most real-world applications, the self-supervised signal S has a much higher dimension (e.g., a 224 × 224 × 3 image) than the representation Z X (e.g., a 64 -dim.
vector).
Hence, modeling a conditional generative model Q φ ( S | Z X ) will be challenging.
Inverse Predictive Learning (is discarding task-irrelevant information).
Inverse predictive learning encourages the self-supervised signal S to reconstruct the learned representation Z X , which suggests maximizing the log conditional likelihood E P S,ZX [log P ( Z X | S )] .
Given Theoremtogether with − H ( Z X | S ) =
E P S,ZX [log P ( Z X | S )] , we know if s can perfectly reconstruct z x for any ( s, z x ) ∼ P S,Z X under the constraint that I ( Z X ; S ) is maximized, then Z X discards the task-irrelevant information, excluding I ( X ; S | T ) .
Similar to the forward predictive learning, we use E
P S,ZX [log Q φ ( Z X | S )] as a lower bound of E P S,ZX [log P ( Z X | S )] .
In our deployment, we take the advantage of the design in equation 1 and let Q φ ( Z X | S ) be Gaussian N (cid:16) Z X | F S ( S ) , σ I (cid:17) :
[Equation]
Note that optimizing equation 3 alone results in a degenerated solution, e.g., learning Z X and Z S to be the same constant.
Composing SSL Objectives (to extract task-relevant and discard task-irrelevant information simultaneously).
So far, we discussed how prior self-supervised learning approaches extract taskrelevant information via the contrastive or the forward predictive learning objectives.
Our analysis also inspires a new loss, the inverse predictive learning objective, to discard task-irrelevant information.
Now, We present a composite loss to combine them together:
[Equation]
where λ CL , λ FP , and λ IP are hyper-parameters.
This composite loss enables us to extract taskrelevant and discard task-irrelevant information simultaneously.
[Equation]
2. T HEORETICAL A NALYSIS - B AYES E RROR R ATE FOR D OWNSTREAM C LASSIFICATION
In last subsection, we see the practical aspects of our designed SSL strategies.
Now, we provide an theoretical analysis on the representations’ generalization error when T is a categorical variable .
We use Bayes error rate as an example, which stands for the irreducible error (smallest generalization error (Feder & Merhav, 1994)) when learning an arbitrary classiﬁer from the representation to infer the labels.
In speciﬁc, let P e be the Bayes error rate of arbitrary learned representations Z X and ˆ T as the estimation for T from our classiﬁer, P e :=
E z x ∼ P ZX [1 − max t ∈ T P ( ˆ T =
t |
z x )] .
To begin with, we present a general form of sample complexity with mutual information ( I ( Z X ; S ) ) estimation using empirical samples from distribution P Z X ,S .
Let P ( n ) Z X ,S denote the (uniformly sampled) empirical distribution of P Z X ,S and ˆ I ( n ) θ ( Z X ; S ) :
= E P ( n ) ZX ; S
[ ˆ f θ ( z x , s )] with ˆ f θ being the estimated log density ratio (i.e., log p ( s | z x ) /p
( s ) ).
Proposition 1 (Mutual Information Neural Estimation, restating Theorem 1 by Tsai et al.
Let 0 < δ < 1 .
There exists d ∈ N and a family of neural networks F :=
{ ˆ f θ : θ ∈ Θ ⊆ R d } where Θ is compact, so that ∃ θ ∗ ∈ Θ , with probability at least 1 − δ over the draw of { z x i , s i } n i =1 ∼ P ⊗ n Z X ,S , (cid:12)(cid:12)(cid:12)(cid:98) I ( n ) θ ∗ ( Z X ; S ) − I
( Z X ; S ) (cid:12)(cid:12)(cid:12) ≤ O (cid:18)(cid:113) d
+log(1 /δ )
n (cid:19) .
This proposition shows that there exists a neural network θ ∗ , with high probability, (cid:98) I ( n ) θ ∗ ( Z X ; S ) can approximate I ( Z X ; S ) with n samples at rate O (1 / √ n ) .
Under this network θ ∗ and the same parameters d and δ , we are ready to present our main results on the Bayes error rate.
Formally, let | T | be T ’s cardinalitiy and Th( x )
= min { max { x, 0 } , 1 − 1 / | T |} as a thresholding function:
Theorem 3 (Bayes Error Rates for Arbitrary Learned Representations) .
For an arbitrary learned representations Z X , P e =
Th( ¯ P e ) with
[Equation]
(cid:1)(cid:17)(cid:19)
[Equation]
Given arbitrary learned representations ( Z X ), Theorem 3 suggests the corresponding Bayes error rate ( P e ) is small when: 1) the estimated mutual information (cid:0)(cid:98) I ( n ) θ ∗ ( Z X ; S ) (cid:1) is large; 2) a larger number of samples n are used for estimating the mutual information; and 3) the task-irrelevant information (cid:0) the compression gap I ( X ; S | T ) and the superﬂuous information I ( Z ; X | S, T ) , deﬁned in Theorem 2 (cid:1) is small.
The ﬁrst and the second results supports the claim that maximizing I ( Z X ; S ) may learn the representations that are beneﬁcial to downstream tasks.
The third result implies the learned representations may perform better on the downstream task when the compression gap is small.
Additionally, Z ssl min is preferable than Z ssl since I ( Z ssl min ; X | S, T ) =
and I ( Z ssl ; X | S, T ) ≥ 0 .
Theorem 4 (Bayes Error Rates for Self-supervised Learned Representations) .
Let P sup e / P ssl e / P ssl
min
e be the Bayes error rate of the supervised or the self-supervised learned representations
Z sup X / Z ssl X / Z ssl min X .
Then, P ssl e
=
Th( ¯ P ssl e ) and P ssl
min e =
Th( ¯ P ssl min e ) with
[Equation]
Given our self-supervised learned representations ( Z ssl X and Z ssl min X ), Theorem 4 suggests a smaller upper bound of P
ssl e (or P ssl min e ) when the redundancy between the input and the self-supervised signal ( (cid:15) info , deﬁned in Assumption 1) is small.
This result implies the self-supervised learned representations may perform better on the downstream task when the multi-view redundancy is small.
C ONTROLLED E XPERIMENTS
This section aims at providing empirical supports for Theorems 1 and 2 and comparing different
SSL objectives.
In particular, we present information inequalities in Theorems 1 and 2 regarding the amount of the task-relevant and the task-irrelevant information that will be extracted and discarded when learning self-supervised representations.
Nonetheless, quantifying the information is notoriously hard and often leads to inaccurate quantiﬁcations in practice (McAllester & Stratos, 2020; Song &
Ermon, 2019).
Not to mention the information we aim to quantify is the conditional information, which is believed to be even more challenging than quantifying the unconditional one (Póczos &
Schneider, 2012).
To address this concern, we instead study the generalization error of the selfsupervised learned representations, theoretically (Bayes error rate discussed in Section 2.4) and empirically (test performance discussed in this section).
Another important aspect of the experimental design is examining equation 4, which can be viewed as a Lagrangian relaxation to learn representations that contain minimal and sufﬁcient self-supervision (see Deﬁnition 2): a weighted combination between I ( Z X ; S ) and − H ( Z X | S ) .
In particular, the contrastive loss L CL and the forward-predictive loss L FP represent different realizations of modeling
I ( Z X ; S ) and the inverse-predictive loss L FP represents a realization of modeling − H ( Z X | S ) .
We design two sets of experiments: The ﬁrst one is when the input and self-supervised signals lie in the same modality (visual) and are likely to satisfy the multi-view redundancy assumption (Assumption 1).
The second one is when the input and self-supervised signals lie in very different modalities (visual and textual), thus challenging the SSL objective’s generalization ability.
Experiment I - Visual Representation Learning.
We use Omniglot dataset (Lake et al.
, 2015)in this experiment.
The training set contains images from 964 characters, and the test set containscharacters.
There are no characters overlap between the training and test set.
Each character contains twenty examples drawn from twenty different people.
We regard image as input ( X ) and generate self-supervised signal ( S ) by ﬁrst sampling an image from the same character as the input image and then applying translation/ rotation to it.
Furthermore, we represent task-relevant information ( T ) by the labels of the image.
Under this self-supervised signal construction, the exclusive information in
X or S are drawing styles (i.e., by different people) and image augmentations, and only their shared information contribute to T .
To formally show the later, if T representing the label for X / S , then
P ( T | X ) and P ( T | S ) are Dirac.
Hence, T ⊥⊥ S | X and T ⊥⊥ X | S , suggesting Assumption 1 holds.
We train the feature mapping F X ( · ) with SSL objectives (see eq.
equation 4), set F S ( · ) =
F X ( · ) , let R ( · ) be symmetrical to F X ( · ) , and G ( · ) be an identity mapping.
On the test set, we ﬁx the mapping and randomly select 5 examples per character as the labeled examples.
Then, we classify the rest of the examples using the 1-nearest neighbor classiﬁer based on feature (i.e., Z X =
F X ( X ) ) cosine similarity.
The random performance on this task stands at 1659 ≈ 0 .
One may refer to
Supplementary for more details.
(cid:46) Results & Discussions.
In Figure 3, we evaluate the generalization ability on the test set for different SSL objectives.
First, we examine how the introduced inverse predictive learning objective
L IP can help improve the performance along with the contrastive learning objective L CL .
We present the results in Figure 3 (a) and also provide experiments with SimCLR (Chen et al., 2020) on
CIFAR10 (Krizhevsky et al., 2009) in Figure 3 (b), where λ IP = 0 refers to the exact same setup as in SimCLR (which considers only L CL ).
We ﬁnd that adding L IP in the objective can boost model performance, although being sensitive to the hyper-parameter λ IP .
According to Theorem 2, the improved performance suggests a more compressed representation results in better performance for the downstream tasks.
Second, we add the discussions with the forward predictive learning objective
L FP .
We present the results in Figure 3 (c).
Comparing to L FP , L CL 1) reaches better test accuracy; 2) requires shorter training epochs to reach the best performance; and 3) suffers from overﬁtting with long-epoch training.
Combining both of them ( L CL + 0 .
005L FP ) brings their advantages together.
Experiment II - Visual-Textual Representation Learning.
We provide experiments using MS
COCO dataset (Lin et al., 2014) that contains 328 k multi-labeled images with 2 . 5 million labeled
[Figure]
instances from 91 objects.
Each image has 5 annotated captions describing the relationships between objects in the scenes.
We regard image as input ( X ) and its textual descriptions as self-supervised signal ( S ).
Since vision and text are two very different modalities, the multi-view redundancy may not be satisﬁed, which means (cid:15) info may be large in Assumption 1.
We adopt L CL (+ λ IP L IP ) as our SSL objective.
We use ResNet18 (He et al., 2016) image encoder for
F X ( · ) (trained from scratch or ﬁne-tuned on ImageNet (Deng et al., 2009) pre-trained weights), BERTuncased (Devlin et al., 2018) text encoder for F S ( · ) (trained from scratch or BookCorpus (Zhu et al., 2015)/Wikipedia pre-trained weights), and a linear layer for G ( · ) .
After performing self-supervised visual-textual representation learning, we consider the downstream multi-label classiﬁcation over 91 categories.
We evaluate learned visual representation ( Z X ) using downstream linear evaluation protocol (Oord et al., 2018;
Hénaff et al., 2019; Tian et al., 2019; Hjelm et al., 2018; Bachman et al., 2019; Tschannen et al., 2019).
Speciﬁcally, a linear classiﬁer is trained from the self-supervised learned (ﬁxed) representation to the labels on the training set.
Commonly used metrics for multi-label classiﬁcation are reported on MS COCO validation set: Micro ROC-AUC and Subset Accuracy.
One may refer to Supplementary for more details on these metrics.
(cid:46) Results & Discussions.
First, Figure 4 (a) suggests that the SSL strategy can still work when the input and self-supervised signals lie in different modalities.
For example, pre-trained ResNet with BERT (either raw or the pre-trained one) outperforms pre-trained ResNet alone.
We also see that the self-supervised learned representations beneﬁt more if the ResNet is pre-trained but not the
BERT.
This result is in accord with the fact that object recognition requires more understanding in vision, and hence the pre-trained ResNet is preferrable than the pre-trained BERT.
Next, Figure 4 (b) suggests that the self-supervised learned representations can be further improved by combining L CL and L IP , suggesting L IP may be a useful objective to discard task-irrelevant information.
Remarks on λ IP and L IP .
As observed in the experimental results, λ IP is a sensitive hyperparameter to the performance.
We provide an optimization perspective to address this concern.
Note that one of the our goals is to examine the setting when learning the minimal and sufﬁcient representations for self-supervision (see Deﬁnition 2): minimize H ( Z X | S ) under the constraint that
I ( Z X ; S ) is maximized.
However, this constrained optimization is not feasible when considering gradients methods in neural networks.
Hence, our approach can be seen as its Lagrangian Relaxation by a weighted combination between L CL (or L FP , representing I ( Z X ; S ) ) and L IP (representing
H ( Z X | S ) ) with the λ IP being the Lagrangian coefﬁcient.
The optimal λ IP can be obtained by solving the Lagrangian dual, which depends on the parametrization of L CL (or L FP ) and L IP .
Different parameterizations lead to different loss and gradient landscapes, and hence the optimal λ IP differs across experiments.
This conclusion is veriﬁed by the results presented in Figure 3 (a) and (b) and Figure 4 (b).
Lastly, we point out that even not solving the Lagrangian dual, an empirical observation across experiments is that λ IP which leads to the best performance is when the scale of L IP is one-tenth to the scale of L CL (or L FP ).
R ELATED W ORK
Prior work by Arora et al.
and the recent concurrent work (Lee et al., 2020; Tosh et al., 2020) are landmarks for theoretically understanding the success of SSL.
In particular, Arora et al.
Lee et al.
(2020) showed a decreased sample complexity for downstream supervised tasks when adopting contrastive learning objectives (Arora et al., 2019) or predicting the known information in the data (Lee et al., 2020).
Tosh et al.
(2020) showed that the linear functions of the learned representations are nearly optimal on downstream prediction tasks.
By viewing the input and the self-supervised signal as two corresponding views of the data, we discuss the differences among these works and ours.
On the one hand, the work by Arora et al.
; Lee et al.
(2020) assume strong independence between the views conditioning on the downstream tasks , i.e., I ( X ; S | T ) ≈ 0 .
On the other hand, the work by Tosh et al.
and ours assume strong independence between the downstream task and one view conditioning on the other view, i.e., I ( T ; X | S ) ≈ 0 .
Prior work (Balcan et al., 2005; Du et al., 2010) have compared these two assumptions and pointed out the former one ( I ( X ; S | T ) ≈ 0 ) is too strong and not likely to hold in practice.
We note that all these related work and ours have shown that the self-supervised learning methods are learning to extract task-relevant information.
Our work additionally presents to discard task-irrelevant information and quantiﬁes the amount of information that cannot be discarded.
Our method also resembles the InfoMax principle (Linsker, 1988; Hjelm et al., 2018) and the Multiview Information Bottleneck method (Federici et al., 2020).
The InfoMax principle aims at preserving the information of itself, while ours aims at extracting the information in the self-supervised signal.
On the other hand, to reduce the redundant information across views, the Multi-view Information
Bottleneck method proposed to minimize the conditional mutual information
I ( Z X ; X | S ) , while ours propose to minimize the conditional entropy H ( Z X | S ) .
The conditional entropy minimization problem can be easily optimized via our proposed inversed predictive learning objective.
Another related work is InfoMin (Tian et al., 2020), where both InfoMin and our method suggest to learn the representations that contain “not” too much information.
In particular, InfoMin presents to augment the data (i.e., by constructing learnable data augmentations) such that the shared information between augmented variants is as minimal as possible, followed by the mutual information maximization between the learned features from the augmented variants.
Our method instead considers standard augmentations (e.g., rotations and translations), followed by learning representations that contain no more than the shared information between the augmented variants of the data.
On the empirical side, we explain why contrastive (Oord et al., 2018; Bachman et al., 2019;
Chen et al., 2020) and predictive learning (Zhang et al., 2016; Pathak et al., 2016; Vondrick et al., 2016;
Chen et al.)
approaches can unsupervised extract task-relevant information.
Different from these work, we present an objective to discard task-irrelevant information and show its combination with existing contrastive or predictive objectives beneﬁts the performance.
C ONCLUSION
This work studies both theoretical and empirical perspectives on self-supervised learning.
We show that the self-supervised learned representations could extract task-relevant information (with a potential loss) and discard task-irrelevant information (with a ﬁxed gap), along with their practical deployments such as contrastive and predictive learning objectives.
We believe this work sheds light on the advantages of self-supervised learning and may help better understand when and why self-supervised learning is likely to work.
In the future, we plan to connect our framework and recent
SSL methods that cannot be easily ﬁt into our analysis: e.g., BYOL (Grill et al., 2020), SWAV (Caron et al., 2020), and Unifromality-Alignment (Wang & Isola, 2020). A CKNOWLEDGEMENT
This work was supported in part by the Facebook Fellowship, DARPA grants FA875018C
HR00111990016, NSF IIS1763562, NSF Awards #1750439 #1722822, National Institutes of Health, and Apple.
We would also like to acknowledge NVIDIA’s GPU support.
A R EMARKS ON L EARNING M INIMAL AND S UFFICIENT R EPRESENTATIONS
In the main text we discussed the objectives to learn minimal and sufﬁcient representations (Deﬁnition 1).
Here we discuss the similarities and differences between the prior methods (Tishby et al., 2000;
Achille & Soatto, 2018) and ours.
First, to obtain sufﬁcient representations (for the downstream task T ), all the methods presented to maximize I ( Z X ; T ) .
Then, to maintain minimal amount of information in the representations, the prior methods (Tishby et al., 2000; Achille & Soatto, 2018) presented to minimize I ( Z X ; X ) and the ours presents to minimize H ( Z X | T ) .
Our goal is to relate
I ( Z X ; X ) minimization and H ( Z X | T ) minimization in our framework.
To begin with, under the constraint I ( Z X ; T ) is maximized, we see that minimizing I ( Z X ; X ) is equivalent to minimizing I ( Z X ; X | T ) .
The reason is that I ( Z X ; X ) =
I ( Z X ; X | T )
+ I ( Z X ; X ; T ) , where I ( Z X ; X ; T )
=
I ( Z X ; T ) due to the determinism from X to Z X (our framework learns a deterministic function from X to Z X ) and I ( Z X ; T ) is maximized in our constraint.
Then,
I ( Z X ; X | T ) =
H ( Z X | T ) − H
( Z X | X, T ) , where H ( Z X | T ) contains no randomness (no information) as Z X being deterministic from X .
Hence, I ( Z X ; X | T ) minimization and H ( Z X | T ) minimization are interchangeable.
The same claim can be made from the downstream task T to the self-supervised signal S .
In speciﬁc, when X to Z X is deterministic, I ( Z X ; X | S ) minimization and H ( Z X | S ) minimization are interchangeable.
As discussed in the related work section, for reducing the amount of the redundant information, Federici et al.
(2020) presented to use I ( Z X ; X | S ) minimization and ours presented to use H ( Z X | T ) minimization.
We also note that directly minimizing the conditional mutual information (i.e., I ( Z X ; X | S ) ) requires a min-max optimization (Mukherjee et al., 2020), which may cause instability in practice.
To overcome the issue, Federici et al.
(2020) assumes a
Gaussian encoder for X → Z X and presents an upper bound of the original objective.
B P ROOFS FOR T HEOREM 1 AND
We start by presenting a useful lemma from the fact that F X ( · ) is a deterministic function:
Lemma 1 (Determinism) .
If P ( Z X | X ) is Dirac, then the following conditional independence holds:
T ⊥⊥ Z X | X and S ⊥⊥ Z X | X , inducing a Markov chain S ↔ T ↔ X
→ Z X .
Proof.
When Z X is a deterministic function of X , for any A in the sigma-algebra induced by Z X we have E [ 1 [ Z X ∈ A ] | X, { T, S } ] =
E [ 1 [ Z X ∈ A ] | X, S ] =
E [ 1 [ Z X ∈ A ] | X ] , which implies T ⊥⊥ Z X | X and S ⊥⊥ Z X | X .
Theorem 1 and 2 in the main text restated:
Theorem 5 (Task-relevant information with a potential loss (cid:15) info , restating Theorem 1 in the main text) .
The supervised learned representations (i.e., I ( Z sup X ; T ) and I ( Z sup min
X ; T ) ) contain all the task-relevant information in the input (i.e., I ( X ; T ) ).
The self-supervised learned representations (i.e.,
I ( Z ssl X ; T ) and I ( Z ssl
min
X ; T ) ) contain all the task-relevant information in the input with a potential loss (cid:15) info .
Formally,
[Equation]
Proof.
The proofs contain two parts.
The ﬁrst one is showing the results for the supervised learned representations and the second one is for the self-supervised learned representations.
Supervised Learned Representations: Adopting Data Processing Inequality (DPI by Cover & Thomas (2012)) in
the Markov chain S ↔ T ↔ X
→ Z X (Lemma 1), I ( Z X ; T ) is maximized at I ( X ; T ) .
Since both supervised learned representations ( Z sup X and Z sup min X ) maximize I ( Z X ; T ) , we conclude
I ( Z sup X ; T ) =
I ( Z sup min
X ; T ) =
I ( X ; T ) .
Self-supervised Learned Representations: First, we have
I ( Z X ; S ) =
I ( Z X ; T ) − I ( Z X ; T | S )
+ I ( Z X ; S | T )
=
I ( Z X ; T ; S )
+ I ( Z X ; S | T ) and
I ( X ; S )
=
I ( X ; T ) − I ( X ; T | S )
+ I ( X ; S | T )
=
I ( X ; T ; S ) + I ( X ; S | T ) .
By DPI in the Markov chain S ↔ T ↔ X
→ Z X (Lemma 1), we know
• I
( Z X ; S ) is maximized at I ( X ; S ) • I ( Z X ; S ; T ) is maximized at I ( X ; S ; T ) •
I ( Z X ; S | T ) is maximized at I ( X ; S | T )
Since both self-supervised learned representations ( Z ssl X and Z ssl min X ) maximize I ( Z X ; S ) , we have
I ( Z ssl X ; S ) =
I ( Z ssl min X ; S )
=
I ( X ; S ) .
Hence, I ( Z ssl X ; S ; T ) =
I ( Z ssl min X ; S ; T ) =
I ( X ; S ; T ) and
I ( Z ssl X ; S | T ) = I ( Z ssl min X ; S | T ) =
I ( X ; S | T ) .
Using the result I ( Z ssl X ; S ; T )
=
I ( Z ssl min X ; S ; T ) =
I ( X ; S ; T ) , we get
I ( Z ssl X ; T ) =
I ( X ; T ) − I ( X ; T | S )
+ I
( Z ssl X ; T | S ) and
I ( Z ssl min X ; T ) =
I ( X ; T ) − I ( X ; T | S )
+ I ( Z ssl
min X ; T | S ) .
Now, we are ready to present the inequalities:
I ( X ; T ) ≥ I
( Z ssl X ; T ) due to I ( X ; T | S ) ≥
I ( Z ssl X ; T | S ) by DPI.
I ( Z ssl X ; T ) ≥
I
( Z ssl min X ; T ) due to I ( Z ssl X ; T | S ) ≥
I ( Z ssl min X ; T | S )
= 0 .
Since H ( Z X | S ) is minimized at Z ssl min X , I ( Z ssl
min X ; T | S )
= 0 .
I ( Z ssl min X ; T ) ≥
I
( X ; T ) − (cid:15) info due to [Equation]
[Equation]
I ( X ; T ) − (cid:15) info , where I ( X ; T | S ) ≤ (cid:15) info by the redundancy assumption.
Theorem 6 (Task-irrelevant information with a ﬁxed compression gap
I
( X ; S | T ) , restating Theorem 2 in the main text) .
The sufﬁcient self-supervised representation (i.e., I ( Z ssl X ; T ) ) contains more taskirrelevant information in the input than then the sufﬁcient and minimal self-supervised representation (i.e., I ( Z ssl
min X ; T ) ).
The later contains an amount of the information, I ( X ; S | T ) , that cannot be discarded from the input.
Formally,
[Equation]
Proof.
First, we see that
I ( Z X ; X | T ) = I ( Z X ; X ; S | T ) + I ( Z X ; X | S, T ) =
I ( Z X ; S | T ) + I ( Z X ; X | S, T ) , where I ( Z X ; X ; S | T )
=
I ( Z X ; S | T ) by DPI in the Markov chain S ↔ T ↔ X
→ Z X .
We conclude the proof by combining the following:
• From the proof in Theorem 5, we showed I ( Z ssl X ; S | T )
=
I ( Z ssl min X ; S | T ) =
I ( X ; S | T )
• Since H ( Z X | S ) is minimized at Z ssl min X ,
I
( Z ssl min X X | S , T )
= 0 .
• Since H ( Z X | T ) is minimized at Z sup min X ,
I ( Z sup min
X ; X | T )
= 0 .
C P ROOF FOR P ROPOSITION
Proposition 2 (Mutual Information Neural Estimation, restating Proposition 1 in the main text) .
Let 0 < δ < 1 .
There exists d ∈ N and a family of neural networks F :=
{ ˆ f θ : θ ∈ Θ ⊆ R d } where Θ is compact, so that ∃ θ ∗ ∈ Θ , with probability at least 1 − δ over the draw of { z xi , s i } ni =1 ∼ P ⊗ n Z X ,S ,
[Equation]
Sketch of Proof.
The proof is a standard instance of uniform convergence bound.
First, we assume the boundness and the Lipschitzness of ˆ f θ .
Then, we use the universal approximation lemma of neural networks (Hornik et al.).
Last, combing all these two along with the uniform convergence in terms of the covering number (Bartlett, 1998), we complete the proof.
We note that the complete proof can be found in the prior work (Tsai et al., 2020).
An alternative but similar proof can be found in another prior work (Belghazi et al., 2018), which gives us (cid:12)(cid:12)(cid:12)(cid:98) I ( n ) θ ∗ ( Z X ; S ) − I
( Z X ; S ) (cid:12)(cid:12)(cid:12) ≤ O (cid:18)(cid:113)
d log d +log(1 /δ )
n (cid:19) .
The subtle difference between them is that, given a neural network function space Θ ⊆ R d and its covering number N (Θ , η ) , Tsai et al.
(2020) has N (Θ , η ) =
O (cid:16) ( η ) − d (cid:17) by Bartlett (1998) and Belghazi et al.
(2018) has
N (Θ , η ) =
O (cid:16) ( η/ √ d ) − d (cid:17) by Shalev-Shwartz & Ben-David (2014).
Both are valid and the one used by Tsai et al.
(2020) is tighter.
D P ROOFS FOR T HEOREM 3 AND
To begin with, we see that
[Equation]
where I ( Z X ; T | X )
=
I ( Z X ; S | X ) =
due to the determinism from X to Z X .
Then, in the proof of Theorem 6, we have shown I ( Z X ; X | T ) =
I ( Z X ; S | T )
+ I ( Z X ; X | S, T ) .
Hence,
I ( Z X ; T ) ≥ I ( Z X ; S ) − I ( Z X ; S | T ) − I ( Z X ; X | S, T ) ≥ I ( Z X ; S ) − I ( X ; S | T ) − I ( Z X ; X | S, T ) , where I ( Z X ; S | T ) ≤ I ( X ; S | T ) by DPI.
Theorem 3 and 4 in the main text restated:
Theorem 7 (Bayes Error Rates for Arbitrary Learned Representations, restating Theorem 3 in the main text) .
For an arbitrary learned representations Z X , P e =
Th( ¯ P e ) with
[Equation]
Proof.
We use the inequality between P e and H ( T | Z X ) indicated by Feder & Merhav (1994): − [Equation] −
[Equation]
≤ H [Equation]
|
[Equation]
X
[Equation]
Combining with I ( Z X ; T ) = H ( T ) − H
( T | Z X ) and I ( Z X ; T ) ≥
I ( Z X ; S ) − I ( X ; S | T ) − I ( Z X ; X | S, T ) , we have log
[Equation] [Equation]
P
[Equation]
Hence,
[Equation]
Next, by deﬁnition of the Bayes error rate, we know 0 ≤ P e ≤ 1 − 1 | T | .
We conclude the proof by combining Proposition 2,
[Equation]
Theorem 8 (Bayes Error Rates for Self-supervised Learned Representations, restating Theorem 4 in the main text) .
Let P sup e / P ssl e / P ssl
min
e be the Bayes error rate of the supervised or the self-supervised learned representations Z sup X / Z ssl X / Z ssl min X .
Then, P ssl e
=
Th( ¯ P ssl e ) and P ssl
min e =
Th( ¯ P ssl min e ) with − log (1 − P sup e [Equation] + log
[Equation]
Proof.
We use the two inequalities between P e and H ( T | Z X ) by Feder & Merhav (1994) and Cover & Thomas (2012):
[Equation]
and
[Equation]
Combining the results from Theorem 5:
[Equation]
we have
• the upper bound of the self-supervised learned representations’ Bayes error rate: [Equation] info [Equation]
P
[Equation] info [Equation] which suggests { P ssl e , P ssl min e } ≤ 1 − exp − (log2+ P sup e · log | T | + (cid:15) info ) .
• the lower bound of the self-supervised learned representations’ Bayes error rate: − log(1 − P sup e ) ≤ H ( T | Z sup [Equation] X
[Equation] ssl e log | T | , ≤ { log 2 + P ssl min e log | T |} , which suggests − log(1 − P sup e )+log2 log( | T | ) ≤ { P ssl e , P ssl min e } .
We conclude the proof by having P e lie in the feasible range: 0 ≤ P e ≤ 1 − 1 | T | .
E T IGHTER B OUNDS FOR THE B AYES E RROR R ATES
We note that the bound used in Theorems 7 and 8: − log(1 − P e ) ≤ H ( T | Z X ) ≤ log 2 + P e log | T | is not tight.
A tighter bound is H − ( P e )
≤ H ( T | Z X ) ≤ H
+ ( P e ) with
H − ( P e ) :
= H (cid:16) k (1 − P [Equation] ) (cid:17) + k
[Equation]
1 − P e )log k when
[Equation]
and
[Equation]
where H ( x ) = − x log( x ) − (1 − x )log(1 − x ) .
It is clear that − log(1 − P e ) ≤ H − ( P e ) and H + ( P e ) ≤ log 2 + P e log( | T | ) .
Hence, Theorem 7 and 8 can be improved as follows:
Theorem 9 (Tighter Bayes Error Rates for Arbitrary Learned Representations) .
For an arbitrary learned representations Z X , P e =
Th( ¯ P e ) with ¯ P e ≤ P e upper .
P e upper is derived from the program
[Equation]
Theorem 10 (Tighter Bayes Error Rates for Self-supervised Learned Representations) .
Let
P sup e / P ssl e / P ssl
min
e be the Bayes error rate of the supervised or the self-supervised learned representations Z sup X / Z ssl X / Z ssl min X .
Then, P ssl e
=
Th( ¯ P ssl e ) and P ssl
min e =
Th( ¯ P ssl min e ) with
[Equation]
P e ssllower is derived from the following program
[Equation]
and P e sslupper is derived from the following program
[Equation]
F M ORE ON V ISUAL R EPRESENTATION L EARNING E XPERIMENTS
In the main text, we design controlled experiments on self-supervised visual representation learning to empirically support our theorem and examine different compositions of SSL objectives.
In this section, we will discuss 1) the architecture design; 2) different deployments of contrastive/ forward predictive learning; and 3) different self-supervised signal construction strategy.
We argue that these three additional set of experiments may be interesting future work.
F. A RCHITECTURE D ESIGN
The input image has size 105 × 105 .
For image augmentations, we adopt 1) rotation with degrees from − 10 ◦ to +10 ◦ ; 2) translation from − 15 pixels to +15 pixels; 3) scaling both width and height from 0 .
85 to 1 . 0 ; 4) scaling width from 0 .
85 to 1 .
25 while ﬁxing the height; and 5)
resizing the image to 28 × 28 .
Then, a deep network takes a 28 ×image and outputs a 1024 − dim.
feature vector.
The deep network has the structure:
Conv − BN − ReLU − Conv
[Equation]
BN − ReLU − MaxPool − Conv
[Equation]
BN − ReLU − MaxPool − Conv − BN − ReLU − MaxPool − Flatten − Linear − L2Norm .
Conv has 3x kernel size with 128 output channels,
MaxPool has 2x2 kernel size, and Linear is a 1152 to 1024 weight matrix.
R ( · ) is symmetric to F X ( · ) , which has
Linear
[Equation]
BN − ReLU − DeConv − BN − ReLU − DeConv .
R ( · ) has the exact same number of parameters as F X ( · ) .
Note that we use the same network designs in I ( · , · ) and H ( ·|· ) estimations.
To reproduce the results in our experimental section, please refer to our released code ( Anonymous ).
[Figure]
F. D IFFERENT D EPLOYMENTS FOR C ONTRASTIVE AND P REDICTIVE L EARNING O BJECTIVES
In the main text, for practical deployments, we suggest Contrastive Predictive Coding (CPC)
Oord et al.
(2018) for L CL and assume Gaussian distribution for the variational distributions in L FP / L IP .
The practical deployments can be abundant by using different mutual information approximations for
L CL and having different distribution assumptions for L FP / L IP .
In the following, we discuss a few examples.
Contrastive Learning.
Other than CPC Oord et al.
(2018), another popular contrastive learning objective is JS Bachman et al.
(2019), which is the lower bound of Jensen-Shannon divergence between P ( Z S , Z X ) and P ( Z S ) P ( Z X ) (a variational bound of mutual information).
Its objective can be written as
[Figure]
[Equation]
[Figure]
[Equation]
where we use softplus to denote softplus ( x )
= log (1 + exp ( x )) .
Predictive Learning.
Gaussian distribution may be the simplest distribution form that we can imagine, which leads to Mean Square Error (MSE) reconstruction loss.
Here, we use forward predictive learning as an example, and we discuss the case when S lies in discrete { 0 , 1 } sample space.
Speciﬁcally, we let Q φ ( S | Z X ) be factorized multivariate Bernoulli:
[Equation]
This objective leads to Binary Cross Entropy (BCE) reconstruction loss.
If we assume each reconstruction loss corresponds to a particular distribution form, then by ignoring which variatioinal distribution we choose, we are free to choose arbitrary reconstruction loss.
For instance, by switching s and z in eq.
equation 5, the objective can be regarded as Reverse Binary
Cross Entropy Loss (RevBCE) reconstruction loss.
In our experiments, we ﬁnd RevBCE works the best among {MSE, BCE, and RevBCE}.
Therefore, in the main text, we choose RevBCE as the example reconstruction loss as L FP .
More Experiments.
We provide an additional set of experiments by having {CPC, JS} for L CL and {MSE, BCE, RevBCE} reconstruction loss for L FP in Figure 5.
From the results, we ﬁnd different formulation of objectives bring very different test generalization performance.
We argue that, given a particular task, it is challenging but important to ﬁnd the best deployments for contrastive and predictive learning objectives.
F. D IFFERENT S ELF - SUPERVISED S IGNAL C ONSTRUCTION S TRATEGY
In the main text, we design a self-supervised signal construction strategy that the input ( X ) and the self-supervised signal ( S ) differ in {drawing styles, image augmentations}.
This self-supervised signal construction strategy is different from the one that is commonly adopted in most self-supervised visual representation learning work Tian et al.
; Bachman et al.
; Chen et al.
Speciﬁcally, prior work consider the difference between input and the self-supervised signal only in image augmentations.
We provide additional experiments in Fig.
6 to compare these two different self-supervised signal construction strategies.
We see that, comparing to the common self-supervised signal construction strategy Tian et al.
Bachman et al.
; Chen et al.
, the strategy introduced in our controlled experiments has much better generalization ability to test set.
It is worth noting that, although our construction strategy has access to the label information (i.e., we sample the self-supervised signal image from the same character with the input image), our SSL objectives do not train with the labels.
Nonetheless, since we implicitly utilize the label information in our self-supervised construction strategy, it will be unfair to directly compare our strategy and prior one.
An interesting future research direction is examining different self-supervised signal construction strategy and even combine full/part of label information into self-supervised learning.
G M ETRICS IN V ISUAL -T EXTUAL R EPRESENTATION L EARNING
• Subset Accuracy ( A ) Sorower, also know as the Exact Match Ratio (MR), ignores all partially correct (consider them incorrect) outputs and extend accuracy from the single label case to the multi-label setting.
[Equation]
• Micro AUC ROC score Fawcett (2006) computes the AUC (Area under the curve) of a receiver operating characteristic (ROC) curve.