Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/9p2ekP904Rs/9p2ekP904Rs.md +255 -0
- parse/train/9p2ekP904Rs/9p2ekP904Rs_content_list.json +1372 -0
- parse/train/9p2ekP904Rs/9p2ekP904Rs_middle.json +0 -0
- parse/train/9p2ekP904Rs/9p2ekP904Rs_model.json +0 -0
- parse/train/GzHjhdpk-YH/GzHjhdpk-YH.md +0 -0
- parse/train/GzHjhdpk-YH/GzHjhdpk-YH_content_list.json +0 -0
- parse/train/GzHjhdpk-YH/GzHjhdpk-YH_middle.json +0 -0
- parse/train/GzHjhdpk-YH/GzHjhdpk-YH_model.json +0 -0
- parse/train/Ja-hVQrfeGZ/Ja-hVQrfeGZ.md +258 -0
- parse/train/Ja-hVQrfeGZ/Ja-hVQrfeGZ_content_list.json +1082 -0
- parse/train/Ja-hVQrfeGZ/Ja-hVQrfeGZ_middle.json +0 -0
- parse/train/Ja-hVQrfeGZ/Ja-hVQrfeGZ_model.json +0 -0
- parse/train/r1Usiwcex/r1Usiwcex.md +267 -0
- parse/train/r1Usiwcex/r1Usiwcex_content_list.json +1317 -0
- parse/train/r1Usiwcex/r1Usiwcex_middle.json +0 -0
- parse/train/r1Usiwcex/r1Usiwcex_model.json +0 -0
- parse/train/r1xCMyBtPS/r1xCMyBtPS.md +296 -0
- parse/train/r1xCMyBtPS/r1xCMyBtPS_middle.json +0 -0
- parse/train/rkg98yBFDr/rkg98yBFDr_content_list.json +1770 -0
- parse/train/rkg98yBFDr/rkg98yBFDr_model.json +0 -0
parse/train/9p2ekP904Rs/9p2ekP904Rs.md
ADDED
|
@@ -0,0 +1,255 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# REPRESENTATION LEARNING VIA INVARIANT CAUSAL MECHANISMS
|
| 2 |
+
|
| 3 |
+
Jovana Mitrovic Brian McWilliams Jacob Walker Lars Buesing Charles Blundell
|
| 4 |
+
DeepMind
|
| 5 |
+
London, UK
|
| 6 |
+
{mitrovic, bmcw, jcwalker, lbuesing, cblundell}@google.com
|
| 7 |
+
|
| 8 |
+
# ABSTRACT
|
| 9 |
+
|
| 10 |
+
Self-supervised learning has emerged as a strategy to reduce the reliance on costly supervised signals by pretraining representations only using unlabeled data. These methods combine heuristic proxy classification tasks with data augmentations and have achieved significant success, but our theoretical understanding of this success remains limited. In this paper we analyze self-supervised representation learning using a causal framework. We show how data augmentations can be more effectively utilized through explicit invariance constraints on the proxy classifiers employed during pretraining. Based on this, we propose a novel selfsupervised objective, Representation Learning via Invariant Causal Mechanisms (RELIC), that enforces invariant prediction of proxy targets across augmentations through an invariance regularizer which yields improved generalization guarantees. Further, using causality we generalize contrastive learning, a particular kind of self-supervised method, and provide an alternative theoretical explanation for the success of these methods. Empirically, RELIC significantly outperforms competing methods in terms of robustness and out-of-distribution generalization on ImageNet, while also significantly outperforming these methods on Atari achieving above human-level performance on 51 out of 57 games.
|
| 11 |
+
|
| 12 |
+
# 1 INTRODUCTION
|
| 13 |
+
|
| 14 |
+
Training deep networks often relies heavily on large amounts of useful supervisory signal, such as labels for supervised learning or rewards for reinforcement learning. These training signals can be costly or otherwise impractical to acquire. On the other hand, unsupervised data is often abundantly available. Therefore, pretraining representations for unknown downstream tasks without the need for labels or extrinsic reward holds great promise for reducing the cost of applying machine learning models. To pretrain representations, self-supervised learning makes use of proxy tasks defined on unsupervised data. Recently, self-supervised methods using contrastive objectives have emerged as one of the most successful strategies for unsupervised representation learning (Oord et al., 2018; Hjelm et al., 2018; Chen et al., 2020a). These methods learn a representation by classifying every datapoint against all others datapoints (negative examples). Under assumptions on how the negative examples are sampled, minimizing the resulting contrastive loss has been justified as maximizing a lower bound on the mutual information (MI) between representations (Poole et al., 2019). However, (Tschannen et al., 2019) has shown that performance on downstream tasks may be more tightly correlated with the choice of encoder architecture than the achieved MI bound, highlighting issues with the MI theory of contrastive learning. Further, contrastive approaches compare different views of the data (usually under different data augmentations) to calculate similarity scores. This approach to computing scores has been empirically observed as a key success factor of contrastive methods, but has yet to be theoretically justified. This lack of a solid theoretical explanation for the effectiveness of contrastive methods hinders their further development.
|
| 15 |
+
|
| 16 |
+
To remedy the theoretical shortcomings, we analyze the problem of self-supervised representation learning through a causal lens. We formalize intuitions about the data generating process using a causal graph and leverage causal tools to derive properties of the optimal representation. We show that a representation should be an invariant predictor of proxy targets under interventions on features that are only correlated, but not causally related to the downstream targets of interest.
|
| 17 |
+
|
| 18 |
+
Since neither causally nor purely correlationally related features are observed and thus performing actual interventions on them is not feasible, for learning representation with this property we use data augmentations to simulate a subset of possible interventions. Based on our causal interpretation, we propose a regularizer which enforces that the prediction of the proxy targets is invariant across data augmentations. We propose a novel objective for self-supervised representation learning called REpresentation Learning with Invariant Causal mechanisms (RELIC). We show how this explicit invariance regularization leverages augmentations more effectively than previous self-supervised methods and that representations learned using RELIC are guaranteed to generalize well to downstream tasks under weaker assumptions than those required by previous work (Saunshi et al., 2019).
|
| 19 |
+
|
| 20 |
+
Next we generalize contrastive learning and provide an alternative theoretical explanation to MI for the success of these methods. We generalize the proxy task of instance discrimination commonly used in contrastive learning using the causal concept of refinements (Chalupka et al., 2014). Intuitively, a refinement of a task can be understood as a more fine-grained variant of the original problem. For example, a refinement for classifying cats against dogs would be the task of classifying individual cat and dog breeds. The instance discrimination task results from the most fine-grained refinement, e.g. discriminating individual cats and dogs from one another. We show that using refinements as proxy tasks enables us to learn useful representations for downstream tasks. Specifically, using causal tools, we show that learning a representation on refinements such that it is an invariant predictor of proxy targets across augmentations is a sufficient condition for these representations to generalize to downstream tasks (cf. Theorem 1). In summary, we provide theoretical support both for the general form of the contrastive objective as well as for the use of data augmentations. Thus, we provide an alternative explanation to mutual information for the success of recent contrastive approaches namely that of causal refinements of downstream tasks.
|
| 21 |
+
|
| 22 |
+
We test RELIC on a variety of prediction and reinforcement learning problems. First, we evaluate the quality of representations pretrained on ImageNet with a special focus on robustness and out-ofdistribution generalization. RELIC performs competitively with current state-of-the-art methods on ImageNet, while significantly outperforming competing methods on robustness and out-of-distribution generalization of the learned representations when tested on corrupted ImageNet (ImageNet-C (Hendrycks & Dietterich, 2019)) and a version of ImageNet that consist of different renditions of the same classes (ImageNet-R (Hendrycks et al., 2020)). In terms of robustness, RELIC also significantly outperforms the supervised baseline with an absolute reduction of $4 . 9 \%$ in error. Unlike much prior work that specifically focuses on computer vision tasks, we test RELIC for representation learning in the context of reinforcement learning on the Atari suite (Bellemare et al., 2013). There we find that RELIC significantly outperforms competing methods and achieves above human-level performance on 51 out of 57 games.
|
| 23 |
+
|
| 24 |
+
# Contributions.
|
| 25 |
+
|
| 26 |
+
• We formalize problem of self-supervised representation learning using causality and propose to more effectively leverage data augmentations through invariant prediction.
|
| 27 |
+
• We propose a new self-supervised objective, REpresentation Learning with Invariance Causal mechanisms (RELIC), that enforces invariant prediction through an explicit regularizer and show improved generalization guarantees. We generalize contrastive learning using refinements and show that learning on refinements is a sufficient condition for learning useful representations; this provides an alternative explanation to MI for the success of contrastive methods.
|
| 28 |
+
|
| 29 |
+
# 2 REPRESENTATION LEARNING VIA INVARIANT CAUSAL MECHANISMS
|
| 30 |
+
|
| 31 |
+
Problem setting. Let $X$ denote the unlabelled observed data and $\mathcal { V } = \{ Y _ { t } \} _ { t = 1 } ^ { T }$ be a set of unknown tasks with $Y _ { t }$ denoting the targets for task $t$ . The tasks $\{ Y _ { t } \} _ { t = 1 } ^ { T }$ can represent both a multi-environment as well as a multi-task setup. Our goal is to pretrain with unsupervised data a representation $f ( X )$ that will be useful for solving the downstream tasks $\mathcal { V }$ .
|
| 32 |
+
|
| 33 |
+
Causal interpretation. To effectively leverage common assumptions and intuitions about data generation of the unknown downstream tasks for the learning algorithm, we propose to formalize them using a causal graph. We start from the following assumptions: a) the data is generated from content and style variables, with b) only content (and not style) being relevant for the unknown downstream tasks and c) content and style are independent, i.e. style changes are content-preserving. For example, when classifying dogs against giraffes from images, different parts of the animals constitute content, while style could be, for example, background, lighting conditions and camera lens characteristics. By assumption, content is a good representation of the data for downstream tasks and we therefore cast the goal of representation learning as estimating content. In the following, we compactly formalize these assumptions with a causal graph1, see Figure 1a.
|
| 34 |
+
|
| 35 |
+

|
| 36 |
+
Figure 1: (a) Causal graph formalizing assumptions about content and style of the data and the relationship between targets and proxy tasks. The dashed arrows are not causal and represent learning, while the dashdotted lines denote that $Y ^ { R }$ is a refinement $Y _ { t }$ ’s. All other arrows are causal. (b) RELIC objective. KL refers to the Kullback-Leibler divergence, while $\mathbf { X }$ -entropy denotes cross entropy.
|
| 37 |
+
|
| 38 |
+
Let $C$ and $S$ be the latent variables describing content and style. In Figure 1a, the directed arrows from $C$ and $S$ to the observed data $X$ (e.g. images) indicate that $X$ is generated based on content and style. The directed arrow from $C$ to the target $Y _ { t }$ (e.g. class labels) encodes the assumption that content directly influences the target tasks, while the absence of any directed arrow from $S$ to $Y _ { t }$ indicates that style does not. Thus, content $C$ has all the necessary information to predict $Y _ { t }$ . The absence of any directed path between $C$ and $S$ in Figure 1a encodes the intuition that these variables are independent, i.e. $C \perp \perp S$ .
|
| 39 |
+
|
| 40 |
+
Using the independence of mechanisms (Peters et al., 2017), we can conclude that under this causal model performing interventions on $S$ does not change the conditional distribution $P ( Y _ { t } | C )$ , i.e. manipulating the value of $S$ does not influence this conditional distribution. Thus, $P ( Y _ { t } | C )$ is invariant under changes in style $S$ . We call $C$ an invariant representation for $Y _ { t }$ under $S$ , i.e.
|
| 41 |
+
|
| 42 |
+
$$
|
| 43 |
+
p ^ { d o ( S = s _ { i } ) } ( Y _ { t } \mid C ) = p ^ { d o ( S = s _ { j } ) } ( Y _ { t } \mid C ) \quad \forall s _ { i } , s _ { j } \in \mathcal { S } ,
|
| 44 |
+
$$
|
| 45 |
+
|
| 46 |
+
where $p ^ { d o ( S = s ) }$ denotes the distribution arising from assigning $S$ the value $s$ with $s$ the domain of $S$ (Pearl, 2009). Specifically, using $C$ as a representation allows for us to predict targets stably across perturbations, i.e. content $C$ is both a useful and robust representation for tasks $\mathcal { V }$ .
|
| 47 |
+
|
| 48 |
+
Since the targets $Y _ { t }$ are unknown, we will construct a proxy task $Y ^ { R }$ in order to learn representations from unlabeled data $X$ only. In order to learn useful representations for $Y _ { t }$ , we will construct proxy tasks that represents more fine-grained problems than $Y _ { t }$ ; for a more formal treatment of proxy tasks please refer to Section 3. Further, to learn invariant representations, such as $C$ , we enforce Equation 1 which requires us to observe data under different style interventions, i.e. we need data that describes the same content under varying style. Since we do not have access to $S$ , to simulate style variability we use content-preserving data augmentations (e.g. rotation, grayscaling, translation, cropping for images). Specifically, we utilize data augmentations as interventions on the style variable $S$ , i.e.
|
| 49 |
+
|
| 50 |
+
applying data augmentation $a _ { i }$ corresponds to intervening on $S$ and setting it to $s _ { a _ { i } }$ . 2 Although we are not able to generate all possible styles using a fixed set of data augmentations, we will use augmentations that generate large sets of diverse styles as this allows us to learn better representations. Note that the heuristic of estimating similarity based on different views from contrastive learning can be interpreted as an implicit invariance constraint.
|
| 51 |
+
|
| 52 |
+
RELIC objective. Equation 1 provides a general scheme to estimate content (c.f. Figure 1a). We operationalize this by proposing to learn representations such that prediction of proxy targets from the representation is invariant under data augmentations. The representation $f ( X )$ must fulfill the following invariant prediction criteria
|
| 53 |
+
|
| 54 |
+
(Invarian
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
\begin{array} { r l r } { \prime p r e d i c t i o n ) } & { } & { p ^ { \mathrm { d o } ( a _ { i } ) } ( Y ^ { R } | f ( X ) ) = p ^ { \mathrm { d o } ( a _ { j } ) } ( Y ^ { R } | f ( X ) ) \quad \forall a _ { i } , a _ { j } \in \mathcal { A } . } \end{array}
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
$\mathcal { A } = \{ a _ { 1 } , \ldots , a _ { m } \}$ is the set of data augmentations which simulate interventions on the style variables and $p ^ { d o ( a ) }$ denotes $p ^ { d o ( S = s _ { a } ) }$ .
|
| 61 |
+
|
| 62 |
+
To achieve invariant prediction, we propose to explicitly enforce invariance under augmentations through a regularizer. This gives rise to an objective for self-supervised learning we call Representation Learning via Invariant Causal Mechanisms (RELIC). We write this objective as
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\begin{array} { r } { \operatorname* { m i n } _ { \stackrel { X \warrow p ( X ) } { \sim \sim p ( X ) } } \underset { \sim \mathcal { A } \times \mathcal { A } } { \mathbb { E } } \quad \underset { b \in \{ a _ { l k } , a _ { q t } \} } { \sum } \mathcal { L } _ { b } ( Y ^ { R } , f ( X ) ) } \\ { s . t . \quad K L \left( p ^ { d o ( a _ { l k } ) } ( Y ^ { R } | f ( X ) ) , p ^ { d o ( a _ { q t } ) } ( Y ^ { R } | f ( X ) ) \right) \leq \rho } \end{array}
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
where $\mathcal { L }$ is the proxy task loss and $K L$ is the Kullback-Leibler (KL) divergence. Note that any distance measure on distributions can be used in place of the KL divergence. We explain the remaining terms in detail below.
|
| 69 |
+
|
| 70 |
+
Concretely, as proxy task we associate to every datapoint $x _ { i }$ the label $y _ { i } ^ { R } = i$ . This corresponds to the instance discrimination task, commonly used in contrastive learning (Hadsell et al., 2006). We take pairs of points $( x _ { i } , x _ { j } )$ to compute similarity scores and use pairs of augmentations $a _ { l k } = ( a _ { l } , a _ { k } ) \in$ $A \times A$ to perform a style intervention. Given a batch of samples $\{ x _ { i } \} _ { i = 1 } ^ { N } \sim \mathcal { D }$ , we use
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
p ^ { d o ( a _ { l k } ) } ( Y ^ { R } = j | f ( x _ { i } ) ) \propto \exp \left( \phi ( f ( x _ { i } ^ { a _ { l } } ) , h ( x _ { j } ^ { a _ { k } } ) ) / \tau \right) .
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+
with $x ^ { a }$ data augmented with $a$ and $\tau$ a softmax temperature parameter. We encode $f$ using a neural network and choose $h$ to be related to $f$ , e.g. $h = f$ or as a network with an exponential moving average of the weights of $f$ (e.g. target networks similar to (Grill et al., 2020)). To compare representations we use the function $\bar { \phi } ( f ( \bar { x _ { i } } ) , h ( x _ { j } ) ) \ : = \ : \langle g ( f ( x _ { i } ) ) , g ( h ( x _ { j } ) ) \rangle$ where $g$ is a fullyconnected neural network often called the critic.
|
| 77 |
+
|
| 78 |
+
Combining these pieces, we learn representations by minimizing the following objective over the full set of data $x _ { i } \in \mathcal { D }$ and augmentations $a _ { l k } \in \mathcal { A } \times \mathcal { A }$
|
| 79 |
+
|
| 80 |
+
$$
|
| 81 |
+
\operatorname* { m i n } - \sum _ { i = 1 } ^ { N } \sum _ { a _ { l k } } \log \frac { \exp { ( \phi ( f ( x _ { i } ^ { a _ { l } } ) , h ( x _ { i } ^ { a _ { k } } ) ) / \tau ) } } { \sum _ { m = 1 } ^ { M } \exp { ( \phi ( f ( x _ { i } ^ { a _ { l } } ) , h ( x _ { m } ^ { a _ { k } } ) ) / \tau ) } } + \alpha \sum _ { a _ { l k } , a _ { q t } } K L ( p ^ { d o ( a _ { l k } ) } , p ^ { d o ( a _ { q t } ) } )
|
| 82 |
+
$$
|
| 83 |
+
|
| 84 |
+
with $M$ the number of points we use to construct the contrast set and $\alpha$ the weighting of the invariance penalty. We used the shorthand $p ^ { d o ( a ) }$ for $p ^ { d o ( a ) } ( Y ^ { R } = j \mid f ( x _ { i } ) )$ . With appropriate choices for $\phi$ , $g$ , $f$ and $h$ above, Equation 3 recovers many recent state-of-the-art methods (c.f. Table 5 in Section A). Figure 1b presents a schematic of the RELIC objective.
|
| 85 |
+
|
| 86 |
+
The explicit invariance penalty encourages the within-class distances (for a downstream task of interest) of the representations learned by RELIC to be tightly concentrated. We show this empirically in Figure 2 and theoretically in Appendix B. In the following section we provide theoretical justification for using an instance discrimination-based contrastive loss using a causal perspective. We also show (cf. Theorem 1 below) that minimizing the contrastive loss alone (i.e. $\alpha = 0$ ) does not guarantee generalization. Instead, invariance across augmentations must be explicitly enforced.
|
| 87 |
+
|
| 88 |
+
# 3 GENERALIZING CONTRASTIVE LEARNING
|
| 89 |
+
|
| 90 |
+
Learning with refinements. In contrastive learning, the task of instance discrimination, i.e. classifying the dataset $\{ ( x _ { i } , y _ { i } ^ { R } = i ) | x _ { i } \in \mathcal { D } \}$ , is used as the proxy task. To better understand contrastive learning and motivate this proxy task, we generalize instance discrimination using the causal concept of refinements (Chalupka et al., 2014). Intuitively, a refinement of one problem is another more fine-grained problem. If task $Y _ { t }$ is to classify cats against dogs, then a refinement of $Y _ { t }$ is the task of classifying cats and dogs into their individual breeds. See Figure 4 for a further visual example. For any set of tasks, there exist many different refinements. However, the most fine-grained refinement corresponds exactly to classifying the dataset $\{ ( x _ { i } , y _ { i } ^ { R } = i ) | x _ { i } \in \mathcal { D } \}$ . Thus, the instance discrimination task used in contrastive learning is a specific type of refinement. For a definition and formal treatment of refinements please refer to Appendix D.
|
| 91 |
+
|
| 92 |
+
Let $Y ^ { R }$ be targets of a proxy task that is a refinement for all tasks in $\mathcal { V }$ . Leveraging causal tools, we connect learning on refinements to learning on downstream tasks. Specifically, we provide a theoretical justification for exchanging unknown downstream tasks with these specially constructed proxy tasks. We show that if $f ( X )$ is an invariant representation for $Y ^ { R }$ under changes in style $S$ , then $f ( X )$ is also an invariant representation for tasks in $\mathcal { V }$ under changes in style $S$ . Thus by enforcing invariance under style interventions on a refinement, we learn representations that generalize to downstream tasks.3 This is summarized in the following theorem.
|
| 93 |
+
|
| 94 |
+
Theorem 1. Let $\mathcal { V } = \{ Y _ { t } \} _ { t = 1 } ^ { T }$ be a family of downstream tasks. Let $Y ^ { R }$ be a refinement for all tasks in $\mathcal { V }$ . If $f ( X )$ is an invariant representation for $Y ^ { R }$ under style interventions $S$ , then $f ( X )$ is an invariant representation for all tasks in $\mathcal { V }$ under style interventions $S$ , i.e.
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
\begin{array} { r l r } { p ^ { d o ( s _ { i } ) } ( Y ^ { R } \mid f ( X ) ) = p ^ { d o ( s _ { j } ) } ( Y ^ { R } \mid f ( X ) ) } & { { } \Rightarrow } & { p ^ { d o ( s _ { i } ) } ( Y _ { t } \mid f ( X ) ) = p ^ { d o ( s _ { j } ) } ( Y _ { t } \mid f ( X ) ) } \end{array}
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
for all $s _ { i } , s _ { j } \in S$ with $p ^ { d o ( s _ { i } ) } = p ^ { d o ( S = s _ { i } ) }$ . Thus, $f ( X )$ is a representation that generalizes to $\mathcal { V }$
|
| 101 |
+
|
| 102 |
+
Theorem 1 states that if $Y ^ { R }$ is a refinement of $\mathcal { V }$ then learning a representation on $Y ^ { R }$ is a sufficient condition for this representation to be useful on $\mathcal { V }$ . For a formal exposition of these points and accompanying proofs, please refer to Appendix D. Recall that the instance discrimination proxy task is the most fine-grained refinement, and so the right hand side of 4 is satisfied for any downstream task satisfying the stated assumptions of the theorem.
|
| 103 |
+
|
| 104 |
+
We generalize contrastive learning through refinements and connect representations learned on refinements and downstream tasks in Theorem 1. Thus, using causality we provide an alternative explanation to mutual information for the success of contrastive learning. Note that our methodology of refinements is not limited to instance discrimination tasks and is thus more general than currently used contrastive losses. Real world data often includes rich sources of metadata which can be used to guide the construction of refinements by grouping the data according to any available meta-data. Note that the coarser we can create a refinement, the more data efficient we can expect to be when learning representations for downstream tasks. Further, we can also expect to require less supervised data to finetune the representation.
|
| 105 |
+
|
| 106 |
+
# 4 RELATED WORK
|
| 107 |
+
|
| 108 |
+
Contrastive objectives and mutual information maximization. Many recent approaches to selfsupervised learning are rooted in the well-established idea of maximizing mutual information (MI), e.g. Contrastive Predictive Coding (CPC) (Oord et al., 2018; Henaff et al., 2019), Deep InfoMax ´ (DIM) (Hjelm et al., 2018) and Augmented Multiscale DIM (AMDIM) (Bachman et al., 2019). These methods are based on noise contrastive estimation (NCE) (Gutmann & Hyvarinen, 2010) which, ¨ under specific conditions, can be viewed as a bound on MI (Poole et al., 2019). The resulting objective functions are commonly referred to as InfoNCE.
|
| 109 |
+
|
| 110 |
+
The precise role played by mutual information maximization in self-supervised learning is subject to some debate. (Tschannen et al., 2019) argue that the performance on downstream tasks is not correlated with the achieved bound on MI, but may be more tightly correlated with encoder architecture and capacity. Importantly, InfoNCE objectives require custom architectures to ensure the network does not converge to non-informative solutions thus precluding the use of standard architectures. Recently, several works (He et al., 2019; Chen et al., 2020a) successfully combined contrastive estimation with a standard ResNet-50 architecture. In particular, SimCLR (Chen et al., 2020a) relies on a set of strong augmentations4, while (He et al., 2019) uses a memory bank. Inspired by target networks in reinforcement learning, (Grill et al., 2020) proposed BYOL: an algorithm for self-supervised learning which remarkably does not use a contrastive objective. Although theoretical explanation for the good performance of BYOL is presently missing, interestingly the objective, an $\ell _ { 2 }$ distance between two different embeddings of the input data resembles the $\ell _ { 2 }$ form of our regularizer proposed in Equation 5 in Appendix B.
|
| 111 |
+
|
| 112 |
+
Recently, (Saunshi et al., 2019) proposed a learning theoretic framework to analyze the performance of contrastive objectives. However, without strong assumptions on intra-class concentration they note that contrastive objectives are fundamentally limited in the representations they are able to learn. RELIC explicitly enforces intra-class concentration via the invariance regularizer, ensuring that it generalizes under weaker assumptions. Unlike (Saunshi et al., 2019) who do not discuss augmentations, we incorporate augmentations into our theoretical explanation of contrastive methods.
|
| 113 |
+
|
| 114 |
+
The reasons for the improvement in performance from AMDIM through to SimCLR and BYOL are not easily explained by either the MI maximization or the learning theoretic viewpoint. Further, it is not clear why relatively minor architectural differences between the methods result in significant differences in performance nor is it obvious how current state-of-the-art can be improved. In contrast to prior art, the performance of RELIC is explained by connections to causal theory. As such it gives a clear path for improving results by devising problem appropriate refinements, interventions and invariance penalties. Furthermore, the use of invariance penalties in RELIC as dictated by causal theory yields significantly more robust representations that generalize better than those learned with SimCLR or BYOL.
|
| 115 |
+
|
| 116 |
+

|
| 117 |
+
Figure 2: Distribution of the linear discriminant ratio $F _ { \mathrm { L D A } }$ , see text) of $f$ for RELIC, SimCLR and AMDIM $y$ -axis clipped to aid visualization).
|
| 118 |
+
|
| 119 |
+
Causality and invariance. Recently, the notion of invariant prediction has emerged as an important operational concept in causal inference (Peters et al., 2016). This idea has been used to learn classifiers which are robust against domain shifts (Gong et al., 2016). Notably, (Heinze-Deml & Meinshausen, 2017) propose to use group structure to delineate between different environments where the aim is to minimize the classification loss while also ensuring that the conditional variance of the prediction function within each group remains small. Unlike (Heinze-Deml & Meinshausen, 2017) who use supervised data and rely on having a grouping in the training data, our approach does not rely on ground-truth targets and can flexibly create groupings of the training data if none are present. Further, we enforce invariant prediction within the group by constraining the distance between distributions resulting from contrasting data across groups.
|
| 120 |
+
|
| 121 |
+
The relationship between causal inference and semi-supervised learning has been explored in (Scholkopf et al., 2012). In particular, in order for ¨ unlabeled data to be helpful for learning, the relationship between the predictors and targets must be anti-causal. Our setting is somewhat different as we assume a latent decomposition of the observed variables and learn representations based on proxy targets which are refinements of the true targets.
|
| 122 |
+
|
| 123 |
+
Our invariance penalty is similar in practise to consistency regularizers which have recently gained popularity in semi-supervised learning (Sajjadi et al., 2016; Xie et al., 2019; Sohn et al., 2020). These typically supplement the supervised training signal with a term which enforces similarity between the function’s output on two views of data. Although recently proposed consistency methods are heuristic, they have deeper roots in the more rigorous co-training approach to semi-supervised learning from multiple views (Blum & Mitchell, 1998; Kakade & Foster, 2007; Sridharan & Kakade, 2008; McWilliams & Montana, 2012; McWilliams et al., 2013). The main conceptual difference between our approach and consistency-based methods is that we do not have access to a supervised training signal and that the RELIC penalty is motivated from the underlying causal graph.
|
| 124 |
+
|
| 125 |
+
# 5 EXPERIMENTS
|
| 126 |
+
|
| 127 |
+
We first visualize the influence of the explicit invariance constraint in RELIC on the linear separability of the learned representations. We then evaluate RELIC on a number of prediction and reinforcement learning tasks for usefulness and robustness. For the prediction tasks, we test RELIC after pretraining the representation in a self-supervised way on the training set of the ImageNet ILSVRC-2012 dataset (Russakovsky et al., 2015). We evaluate RELIC in the linear evaluation setup on ImageNet and test its robustness and out-of-distribution generalization on datasets related to ImageNet. Unlike much prior work in contrastive learning which focuses specifically on computer vision tasks, we test RELIC also in the context of learning representations for reinforcement learning. Specifically, we test RELIC on the suite of Atari games (Bellemare et al., 2013) which consists of 57 diverse games of varying difficulty.
|
| 128 |
+
|
| 129 |
+
Linear evaluation. In order to understand how representations learned by RELIC differ from other methods, we compare it against those learned by AMDIM and SimCLR in terms of Fischer’s linear discriminant ratio (Friedman et al., 2009): $\begin{array} { r } { \dot { F _ { \mathrm { L D A } } } { } = \| \mu _ { k } - \mu _ { k ^ { \prime } } \| ^ { 2 } / \sum _ { i , j \in \mathcal { C } _ { k } } \| f ( x _ { i } ) - f ( x _ { j } ) \| ^ { 2 } } \end{array}$ where $\begin{array} { r } { \mu _ { k } = \frac { 1 } { | { \mathcal C } _ { k } | } \sum _ { i \in { \mathcal C } _ { k } } f ( x _ { i } ) } \end{array}$ is the mean of the representations of class $k$ and $\mathcal { C } _ { k }$ is the index set of that class. A larger $F _ { \mathrm { L D A } }$ implies that classes are more easily separated with a linear classifier. This can be achieved by either increasing distances between classes (numerator) or shrinking within-class variance (denominator).
|
| 130 |
+
|
| 131 |
+
Figure 2 shows the distribution of $F _ { \mathrm { L D A } }$ for RELIC, SimCLR and AMDIM after training as measured on the (downsampled) ImageNet validation set. The distance between medians of RELIC and SimCLR is 162. AMDIM is tightly concentrated close to 20. The invariance penalty ensures that— even though labels are $a$ -priori unknown—for RELIC within-class variability of $f$ is concentrated leading to better linear separability between classes in the downstream task of interest.This is reflected in the rightward shift of the distribution of $F _ { \mathrm { L D A } }$ in Figure 2 for RELIC compared with SimCLR and AMDIM which do not impose such a constraint.
|
| 132 |
+
|
| 133 |
+
Next we evaluate RELIC’s representation by training a linear classifier of top of the fixed encoder following the procedure in (Kolesnikov et al., 2019; Chen et al., 2020a) and Appendix E.4. In Table 1, we report top-1 and top-5 accuracy on the ImageNet test set. Methods denoted with \* use SimCLR augmentations (Chen et al., 2020a), while methods denoted $\dagger$ use custom, stronger augmentations. Comparing methods which use SimCLR augmentations, RELIC outperforms competing approaches on both ResNet-50 and ResNet-50 with target network. For completeness, we report results for SwAV (Caron et al., 2020) and InfoMin (Tian et al., 2020), but note that these methods use stronger augmentations which alone have been shown to boost performance by over $5 \%$ A fair comparison between different objectives can only be achieved under the same architecture and the same set of augmentations.
|
| 134 |
+
|
| 135 |
+
Table 1: Accuracy $( \mathrm { i n } \% )$ ) under linear evaluation on ImageNet for different self-supervised representation learning methods. Methods with \* use SimCLR augmentations. Methods with $\dagger$ use custom, stronger augmentations.
|
| 136 |
+
|
| 137 |
+
<table><tr><td>Method</td><td>Top-1</td><td>Top-5</td></tr><tr><td>ResNet-50architecture</td><td></td><td></td></tr><tr><td>PIRL</td><td>63.6</td><td></td></tr><tr><td>CPC v2</td><td>63.8</td><td>85.3</td></tr><tr><td>CMC</td><td>66.2</td><td>87.0</td></tr><tr><td>SimCLR(Chen et al.,2020a)</td><td>* 69.3</td><td>89.0</td></tr><tr><td>SwAV (Caron et al., 2020)</td><td>* 70.1</td><td>=</td></tr><tr><td>RELIC (ours)</td><td>* 70.3</td><td>89.5</td></tr><tr><td>InfoMin Aug.(Tian et al.,2020)</td><td>+ 73.0</td><td>91.1</td></tr><tr><td>SwAV (Caron et al., 2020)</td><td>+ 75.3</td><td>=</td></tr><tr><td>ResNet-50 with target network</td><td></td><td></td></tr><tr><td>MoCo v2 (Chen et al., 2020b)</td><td>71.1</td><td></td></tr><tr><td>BYOL (Grill et al., 2020)</td><td>* 74.3</td><td>91.6</td></tr><tr><td>RELIC (ours)</td><td>* 74.8</td><td>92.2</td></tr></table>
|
| 138 |
+
|
| 139 |
+
Robustness and generalization. We evaluate robustness and out-of-distribution generalization of RELIC’s representation on datasets Imagenet-C (Hendrycks & Dietterich, 2019) and ImageNet-R (Hendrycks et al., 2020), respectively. To evaluate RELIC’s representation, we train a linear classifier on top of the frozen representation following the procedure described in (Chen et al., 2020a) and appendix E.5.2. For Imagenet-C we report the mean Corruption Error (mCE) and Corruption Errors for Noise corruptions in Table 3. RELIC has significantly lower mCE than both the supervised ResNet-50 baseline and the unsupervised methods SimCLR and BYOL. Also, it has the lowest Corruption Error on 14 out of 15 corruptions when compared to SimCLR and BYOL. Thus, we see that RELIC learns the most robust representation. RELIC also outperforms SimCLR and BYOL on ImageNet-R showing its superior out-of-distribution generalization ability; see Table 2. For further details and results please consult E.5.
|
| 140 |
+
|
| 141 |
+
Table 2: Top-1 error rates for different self-supervised representation learning methods on ImageNetR. All models are trained only on clean ImageNet images and $\mathrm { R E L I C } _ { T }$ refers to RELIC using a ResNet-50 with target network as in BYOL (Grill et al., 2020).
|
| 142 |
+
|
| 143 |
+
<table><tr><td>Method</td><td>Supervised</td><td>SimCLR</td><td>RELIC</td><td>BYOL</td><td>RELICT</td></tr><tr><td>Top-1 Error (%)</td><td>63.9</td><td>81.7</td><td>77.4</td><td>77.0</td><td>76.2</td></tr></table>
|
| 144 |
+
|
| 145 |
+
Table 3: Mean Corruption Error (mCE), mean relative Corruption Error (mrCE) and Corruption Errors for the “Noise” class of corruptions (Gaussian, Shot, Impulse) on ImageNet-C. The mCE value is the average across 75 different corruptions. Methods are trained only on clean ImageNet images.
|
| 146 |
+
|
| 147 |
+
<table><tr><td>Method</td><td>mCE</td><td>mrCE</td><td>Gaussian</td><td>Shot</td><td>Impulse</td></tr><tr><td>Supervised</td><td>76.7</td><td>105.0</td><td>80.0</td><td>82.0</td><td>83.0</td></tr><tr><td>ResNet-50 architecture:</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>SimCLR</td><td>87.5</td><td>111.9</td><td>79.4</td><td>81.9</td><td>89.6</td></tr><tr><td>ReLIC</td><td>76.4</td><td>87.7</td><td>67.8</td><td>70.7</td><td>77.0</td></tr><tr><td>ResNet-50 with target network:</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>BYOL</td><td>72.3</td><td>90.0</td><td>65.9</td><td>68.4</td><td>73.7</td></tr><tr><td>ReLIC</td><td>70.8</td><td>88.4</td><td>63.6</td><td>65.7</td><td>69.2</td></tr></table>
|
| 148 |
+
|
| 149 |
+
Reinforcement Learning. Much prior work in contrastive learning has focused specifically on computer vision tasks. In order to compare these approaches in a different domain, we investigate representation learning in the context of reinforcement learning. We compare RELIC as an auxiliary loss against other state of the art self-supervised losses on an agent trained on 57 Atari games. Using human normalized scores as a metric, we use the original architecture and hyperparameters of the R2D2 agent (Kapturowski et al., 2019) and supplement it with a second encoder trained with a given representation learning loss. When auxiliary losses are present, the Q-Network takes the output of the second encoder as an input. The Q-Network and the encoder are trained with separate optimizers. For the augmentation baseline, the Q-Network takes two identical encoders trained end-to-end. Table 4 shows a comparison between RELIC, SimCLR, BYOL, CURL (Srinivas et al., 2020), and feeding augmented observations directly to the agent (Kostrikov et al., 2020). We find that RELIC has a significant advantage over competing self-supervised methods, performing best in 25 out of 57 games. The next best performing method, CURL performs best in 11 games. Note that none of these methods outperform R2D2 (Kapturowski et al., 2019) which achieves superhuman performance in 52 games. Although previously published work shows the auxiliary tasks help on Atari, this is in the very low-data regime. Here we show that ReLIC is able to close the gap in the more common Atari set up. We hypothesize that the performance penalty resulting from adding auxiliary self-supervised losses stems from the naive combining of the outputs of the two encoders; we will explore alternative options for combining encoder outputs in future. Full details are presented in Section E.6.
|
| 150 |
+
|
| 151 |
+
# 6 CONCLUSION
|
| 152 |
+
|
| 153 |
+
In this work we have analyzed self-supervised learning using a causal framework. Using a causal graph, we have formalized the problem of self-supervised representation learning and derived properties of the optimal representation. We have shown that representations need to be invariant predictors of proxy targets under interventions on features that are only correlated, but not causally related to the downstream tasks. We have leveraged data augmentations to simulate these interventions and have proposed to explicitly enforce this invariance constraint. Based on this, we have proposed a new self-supervised objective, Representation Learning via Invariant Causal Mechanisms (RELIC), that enforces invariant prediction of proxy targets across augmentations using an invariance regularizer. Further, we have generalized contrastive methods using the concept of refinements and have shown that learning a representation on refinements using the principle of invariant prediction is a sufficient condition for these representations to generalize to downstream tasks. With this, we have provided an alternative explanation to mutual information for the success of contrastive methods. Empirically we have compared RELIC against recent self-supervised methods on a variety of prediction and reinforcement learning tasks. Specifically, RELIC significantly outperforms competing methods in terms of robustness and out-of-distribution generalization of the representations it learns on ImageNet. RELIC also significantly outperforms related self-supervised methods on the Atari suite achieving superhuman performance on 51 out of 57 games. We aim to investigate the construction of more coarse-grained refinements and the empirical evaluation of different kinds of refinements in future work.
|
| 154 |
+
|
| 155 |
+
Table 4: Human Normalized Scores of Auxiliary Methods over 57 Atari Games.
|
| 156 |
+
|
| 157 |
+
<table><tr><td>AtariPerformance</td><td>RELIC</td><td>SimCLR</td><td>CURL</td><td>BYOL</td><td>Augmentation</td></tr><tr><td>Capped mean</td><td>91.46</td><td>88.76</td><td>90.72</td><td>89.43</td><td>80.60</td></tr><tr><td>Number of superhuman games</td><td>51</td><td>49</td><td>49</td><td>49</td><td>34</td></tr><tr><td>Mean</td><td>3003.73</td><td>2086.16</td><td>2413.12</td><td>1769.43</td><td>503.15</td></tr><tr><td>Median</td><td>832.50</td><td>592.83</td><td>819.56</td><td>483.39</td><td>132.17</td></tr><tr><td>40% Percentile</td><td>356.27</td><td>266.07</td><td>409.46</td><td>224.80</td><td>94.35</td></tr><tr><td>30% Percentile</td><td>202.49</td><td>174.19</td><td>190.96</td><td>150.21</td><td>80.04</td></tr><tr><td>20% Percentile</td><td>133.93</td><td>120.84</td><td>126.10</td><td>118.36</td><td>57.95</td></tr><tr><td>10% Percentile</td><td>83.79</td><td>37.19</td><td>59.09</td><td>44.14</td><td>32.74</td></tr><tr><td>5% Percentile</td><td>20.87</td><td>12.74</td><td>20.56</td><td>7.75</td><td>2.85</td></tr></table>
|
| 158 |
+
|
| 159 |
+
Acknowledgements. We thank David Balduzzi, Melanie Rey, Christina Heinze-Deml, Ilja Kuzborskij, Ali Eslami, Jeffrey de Fauw and Josip Djolonga for invaluable discussions.
|
| 160 |
+
|
| 161 |
+
# REFERENCES
|
| 162 |
+
|
| 163 |
+
Philip Bachman, R Devon Hjelm, and William Buchwalter. Learning representations by maximizing mutual information across views. In Advances in Neural Information Processing Systems, pp. 15509–15519, 2019.
|
| 164 |
+
|
| 165 |
+
Marc G. Bellemare, Yavar Naddaf, J. Veness, and Michael Bowling. The arcade learning environment: An evaluation platform for general agents (extended abstract). J. Artif. Intell. Res., 47:253–279, 2013.
|
| 166 |
+
|
| 167 |
+
Avrim Blum and Tom Mitchell. Combining labeled and unlabeled data with co-training. In Proceedings of the eleventh annual conference on Computational learning theory, pp. 92–100, 1998.
|
| 168 |
+
|
| 169 |
+
M. Caron, I. Misra, J. Mairal, Priya Goyal, P. Bojanowski, and Armand Joulin. Unsupervised learning of visual features by contrasting cluster assignments. ArXiv, abs/2006.09882, 2020.
|
| 170 |
+
|
| 171 |
+
Krzysztof Chalupka, Pietro Perona, and Frederick Eberhardt. Visual causal feature learning. arXiv preprint arXiv:1412.2309, 2014.
|
| 172 |
+
|
| 173 |
+
Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. arXiv preprint arXiv:2002.05709, 2020a.
|
| 174 |
+
|
| 175 |
+
Xinlei Chen, Haoqi Fan, Ross B. Girshick, and Kaiming He. Improved baselines with momentum contrastive learning. ArXiv, abs/2003.04297, 2020b.
|
| 176 |
+
|
| 177 |
+
Paul Erdos and Alfr ˝ ed R ´ enyi. On the evolution of random graphs. ´ Publ. Math. Inst. Hung. Acad. Sci, 5(1):17–60, 1960.
|
| 178 |
+
|
| 179 |
+
Jerome Friedman, Trevor Hastie, and Robert Tibshirani. The elements of statistical learning, volume 2. Springer series in statistics New York, 2009.
|
| 180 |
+
|
| 181 |
+
Alan Frieze and Michał Karonski. ´ Introduction to random graphs. Cambridge University Press, 2016.
|
| 182 |
+
|
| 183 |
+
Mingming Gong, Kun Zhang, Tongliang Liu, Dacheng Tao, Clark Glymour, and Bernhard Scholkopf. ¨ Domain adaptation with conditional transferable components. In International conference on machine learning, pp. 2839–2848, 2016.
|
| 184 |
+
|
| 185 |
+
Jean-Bastien Grill, Florian Strub, Florent Altche, Corentin Tallec, Pierre H Richemond, Elena ´ Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Daniel Guo, Mohammad Gheshlaghi Azar, et al. Bootstrap your own latent: A new approach to self-supervised learning. arXiv preprint arXiv:2006.07733, 2020.
|
| 186 |
+
|
| 187 |
+
Michael Gutmann and Aapo Hyvarinen. Noise-contrastive estimation: A new estimation principle ¨ for unnormalized statistical models. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, pp. 297–304, 2010.
|
| 188 |
+
|
| 189 |
+
Raia Hadsell, Sumit Chopra, and Yann LeCun. Dimensionality reduction by learning an invariant mapping. In 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’06), volume 2, pp. 1735–1742. IEEE, 2006.
|
| 190 |
+
|
| 191 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016.
|
| 192 |
+
|
| 193 |
+
Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. arXiv preprint arXiv:1911.05722, 2019.
|
| 194 |
+
|
| 195 |
+
Christina Heinze-Deml and Nicolai Meinshausen. Conditional variance penalties and domain shift robustness. arXiv preprint arXiv:1710.11469, 2017.
|
| 196 |
+
|
| 197 |
+
Olivier J Henaff, Ali Razavi, Carl Doersch, SM Eslami, and Aaron van den Oord. Data-efficient´ image recognition with contrastive predictive coding. arXiv preprint arXiv:1905.09272, 2019.
|
| 198 |
+
|
| 199 |
+
Dan Hendrycks and Thomas Dietterich. Benchmarking neural network robustness to common corruptions and perturbations. Proceedings of the International Conference on Learning Representations, 2019.
|
| 200 |
+
|
| 201 |
+
Dan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath, Frank Wang, Evan Dorundo, Rahul Desai, Tyler Zhu, Samyak Parajuli, Mike Guo, et al. The many faces of robustness: A critical analysis of out-of-distribution generalization. arXiv preprint arXiv:2006.16241, 2020.
|
| 202 |
+
|
| 203 |
+
R Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Phil Bachman, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. arXiv preprint arXiv:1808.06670, 2018.
|
| 204 |
+
|
| 205 |
+
S. Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. ArXiv, abs/1502.03167, 2015.
|
| 206 |
+
|
| 207 |
+
Sham M Kakade and Dean P Foster. Multi-view regression via canonical correlation analysis. In International Conference on Computational Learning Theory, pp. 82–96. Springer, 2007.
|
| 208 |
+
|
| 209 |
+
Steven Kapturowski, Georg Ostrovski, Will Dabney, John Quan, and Remi Munos. Recurrent experience replay in distributed reinforcement learning. Iclr, 2019.
|
| 210 |
+
|
| 211 |
+
A. Kolesnikov, Xiaohua Zhai, and Lucas Beyer. Revisiting self-supervised visual representation learning. 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 1920–1929, 2019.
|
| 212 |
+
|
| 213 |
+
Ilya Kostrikov, Denis Yarats, and Rob Fergus. Image augmentation is all you need: Regularizing deep reinforcement learning from pixels. arXiv preprint arXiv:2004.13649, 2020.
|
| 214 |
+
|
| 215 |
+
I. Loshchilov and F. Hutter. Sgdr: Stochastic gradient descent with warm restarts. In ICLR, 2017.
|
| 216 |
+
|
| 217 |
+
Brian McWilliams and Giovanni Montana. Multi-view predictive partitioning in high dimensions. Statistical Analysis and Data Mining: The ASA Data Science Journal, 5(4):304–321, 2012.
|
| 218 |
+
|
| 219 |
+
Brian McWilliams, David Balduzzi, and Joachim M Buhmann. Correlated random features for fast semi-supervised learning. In Advances in Neural Information Processing Systems, pp. 440–448, 2013.
|
| 220 |
+
|
| 221 |
+
V. Nair and Geoffrey E. Hinton. Rectified linear units improve restricted boltzmann machines. In ICML, 2010.
|
| 222 |
+
|
| 223 |
+
Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018.
|
| 224 |
+
|
| 225 |
+
Judea Pearl. Causality. Cambridge university press, 2009.
|
| 226 |
+
|
| 227 |
+
Jonas Peters, Peter Buhlmann, and Nicolai Meinshausen. Causal inference by using invariant ¨ prediction: identification and confidence intervals. Journal of the Royal Statistical Society: Series $B$ (Statistical Methodology), 78(5):947–1012, 2016.
|
| 228 |
+
|
| 229 |
+
Jonas Peters, Dominik Janzing, and Bernhard Scholkopf. ¨ Elements of causal inference: foundations and learning algorithms. MIT press, 2017.
|
| 230 |
+
|
| 231 |
+
Ben Poole, Sherjil Ozair, Aaron Van Den Oord, Alex Alemi, and George Tucker. On variational bounds of mutual information. In International Conference on Machine Learning, pp. 5171–5180, 2019.
|
| 232 |
+
|
| 233 |
+
Olga Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Zhiheng Huang, A. Karpathy, A. Khosla, M. Bernstein, A. Berg, and Li Fei-Fei. Imagenet large scale visual recognition challenge. International Journal of Computer Vision, 115:211–252, 2015.
|
| 234 |
+
|
| 235 |
+
Mehdi Sajjadi, Mehran Javanmardi, and Tolga Tasdizen. Regularization with stochastic transformations and perturbations for deep semi-supervised learning. Advances in neural information processing systems, 29:1163–1171, 2016.
|
| 236 |
+
|
| 237 |
+
Nikunj Saunshi, Orestis Plevrakis, Sanjeev Arora, Mikhail Khodak, and Hrishikesh Khandeparkar. A theoretical analysis of contrastive unsupervised representation learning. In International Conference on Machine Learning, pp. 5628–5637, 2019.
|
| 238 |
+
|
| 239 |
+
Bernhard Scholkopf, Dominik Janzing, Jonas Peters, Eleni Sgouritsa, Kun Zhang, and Joris Mooij. ¨ On causal and anticausal learning. arXiv preprint arXiv:1206.6471, 2012.
|
| 240 |
+
|
| 241 |
+
Kihyuk Sohn, David Berthelot, Chun-Liang Li, Zizhao Zhang, Nicholas Carlini, Ekin D Cubuk, Alex Kurakin, Han Zhang, and Colin Raffel. Fixmatch: Simplifying semi-supervised learning with consistency and confidence. arXiv preprint arXiv:2001.07685, 2020.
|
| 242 |
+
|
| 243 |
+
Karthik Sridharan and Sham M Kakade. An information theoretic framework for multi-view learning. 2008.
|
| 244 |
+
|
| 245 |
+
Aravind Srinivas, Michael Laskin, and Pieter Abbeel. Curl: Contrastive unsupervised representations for reinforcement learning. arXiv preprint arXiv:2004.04136, 2020.
|
| 246 |
+
|
| 247 |
+
Yonglong Tian, C. Sun, Ben Poole, Dilip Krishnan, C. Schmid, and Phillip Isola. What makes for good views for contrastive learning. ArXiv, abs/2005.10243, 2020.
|
| 248 |
+
|
| 249 |
+
Michael Tschannen, Josip Djolonga, Paul K Rubenstein, Sylvain Gelly, and Mario Lucic. On mutual information maximization for representation learning. arXiv preprint arXiv:1907.13625, 2019.
|
| 250 |
+
|
| 251 |
+
Haohan Wang, Songwei Ge, E. Xing, and Zachary Chase Lipton. Learning robust global representations by penalizing local predictive power. ArXiv, abs/1905.13549, 2019.
|
| 252 |
+
|
| 253 |
+
Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V Le. Unsupervised data augmentation. arXiv preprint arXiv:1904.12848, 2019.
|
| 254 |
+
|
| 255 |
+
Yang You, Igor Gitman, and Boris Ginsbur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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "REPRESENTATION LEARNING VIA INVARIANT CAUSAL MECHANISMS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
99,
|
| 9 |
+
594,
|
| 10 |
+
147
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Jovana Mitrovic Brian McWilliams Jacob Walker Lars Buesing Charles Blundell \nDeepMind \nLondon, UK \n{mitrovic, bmcw, jcwalker, lbuesing, cblundell}@google.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
169,
|
| 20 |
+
813,
|
| 21 |
+
227
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
262,
|
| 32 |
+
544,
|
| 33 |
+
277
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Self-supervised learning has emerged as a strategy to reduce the reliance on costly supervised signals by pretraining representations only using unlabeled data. These methods combine heuristic proxy classification tasks with data augmentations and have achieved significant success, but our theoretical understanding of this success remains limited. In this paper we analyze self-supervised representation learning using a causal framework. We show how data augmentations can be more effectively utilized through explicit invariance constraints on the proxy classifiers employed during pretraining. Based on this, we propose a novel selfsupervised objective, Representation Learning via Invariant Causal Mechanisms (RELIC), that enforces invariant prediction of proxy targets across augmentations through an invariance regularizer which yields improved generalization guarantees. Further, using causality we generalize contrastive learning, a particular kind of self-supervised method, and provide an alternative theoretical explanation for the success of these methods. Empirically, RELIC significantly outperforms competing methods in terms of robustness and out-of-distribution generalization on ImageNet, while also significantly outperforming these methods on Atari achieving above human-level performance on 51 out of 57 games. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
291,
|
| 43 |
+
766,
|
| 44 |
+
527
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
553,
|
| 55 |
+
336,
|
| 56 |
+
568
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Training deep networks often relies heavily on large amounts of useful supervisory signal, such as labels for supervised learning or rewards for reinforcement learning. These training signals can be costly or otherwise impractical to acquire. On the other hand, unsupervised data is often abundantly available. Therefore, pretraining representations for unknown downstream tasks without the need for labels or extrinsic reward holds great promise for reducing the cost of applying machine learning models. To pretrain representations, self-supervised learning makes use of proxy tasks defined on unsupervised data. Recently, self-supervised methods using contrastive objectives have emerged as one of the most successful strategies for unsupervised representation learning (Oord et al., 2018; Hjelm et al., 2018; Chen et al., 2020a). These methods learn a representation by classifying every datapoint against all others datapoints (negative examples). Under assumptions on how the negative examples are sampled, minimizing the resulting contrastive loss has been justified as maximizing a lower bound on the mutual information (MI) between representations (Poole et al., 2019). However, (Tschannen et al., 2019) has shown that performance on downstream tasks may be more tightly correlated with the choice of encoder architecture than the achieved MI bound, highlighting issues with the MI theory of contrastive learning. Further, contrastive approaches compare different views of the data (usually under different data augmentations) to calculate similarity scores. This approach to computing scores has been empirically observed as a key success factor of contrastive methods, but has yet to be theoretically justified. This lack of a solid theoretical explanation for the effectiveness of contrastive methods hinders their further development. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
583,
|
| 66 |
+
825,
|
| 67 |
+
847
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "To remedy the theoretical shortcomings, we analyze the problem of self-supervised representation learning through a causal lens. We formalize intuitions about the data generating process using a causal graph and leverage causal tools to derive properties of the optimal representation. We show that a representation should be an invariant predictor of proxy targets under interventions on features that are only correlated, but not causally related to the downstream targets of interest. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
854,
|
| 77 |
+
823,
|
| 78 |
+
922
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Since neither causally nor purely correlationally related features are observed and thus performing actual interventions on them is not feasible, for learning representation with this property we use data augmentations to simulate a subset of possible interventions. Based on our causal interpretation, we propose a regularizer which enforces that the prediction of the proxy targets is invariant across data augmentations. We propose a novel objective for self-supervised representation learning called REpresentation Learning with Invariant Causal mechanisms (RELIC). We show how this explicit invariance regularization leverages augmentations more effectively than previous self-supervised methods and that representations learned using RELIC are guaranteed to generalize well to downstream tasks under weaker assumptions than those required by previous work (Saunshi et al., 2019). ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
103,
|
| 88 |
+
825,
|
| 89 |
+
229
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 1
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Next we generalize contrastive learning and provide an alternative theoretical explanation to MI for the success of these methods. We generalize the proxy task of instance discrimination commonly used in contrastive learning using the causal concept of refinements (Chalupka et al., 2014). Intuitively, a refinement of a task can be understood as a more fine-grained variant of the original problem. For example, a refinement for classifying cats against dogs would be the task of classifying individual cat and dog breeds. The instance discrimination task results from the most fine-grained refinement, e.g. discriminating individual cats and dogs from one another. We show that using refinements as proxy tasks enables us to learn useful representations for downstream tasks. Specifically, using causal tools, we show that learning a representation on refinements such that it is an invariant predictor of proxy targets across augmentations is a sufficient condition for these representations to generalize to downstream tasks (cf. Theorem 1). In summary, we provide theoretical support both for the general form of the contrastive objective as well as for the use of data augmentations. Thus, we provide an alternative explanation to mutual information for the success of recent contrastive approaches namely that of causal refinements of downstream tasks. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
236,
|
| 99 |
+
825,
|
| 100 |
+
429
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "We test RELIC on a variety of prediction and reinforcement learning problems. First, we evaluate the quality of representations pretrained on ImageNet with a special focus on robustness and out-ofdistribution generalization. RELIC performs competitively with current state-of-the-art methods on ImageNet, while significantly outperforming competing methods on robustness and out-of-distribution generalization of the learned representations when tested on corrupted ImageNet (ImageNet-C (Hendrycks & Dietterich, 2019)) and a version of ImageNet that consist of different renditions of the same classes (ImageNet-R (Hendrycks et al., 2020)). In terms of robustness, RELIC also significantly outperforms the supervised baseline with an absolute reduction of $4 . 9 \\%$ in error. Unlike much prior work that specifically focuses on computer vision tasks, we test RELIC for representation learning in the context of reinforcement learning on the Atari suite (Bellemare et al., 2013). There we find that RELIC significantly outperforms competing methods and achieves above human-level performance on 51 out of 57 games. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
436,
|
| 110 |
+
825,
|
| 111 |
+
603
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Contributions. ",
|
| 118 |
+
"text_level": 1,
|
| 119 |
+
"bbox": [
|
| 120 |
+
174,
|
| 121 |
+
619,
|
| 122 |
+
276,
|
| 123 |
+
633
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "• We formalize problem of self-supervised representation learning using causality and propose to more effectively leverage data augmentations through invariant prediction. \n• We propose a new self-supervised objective, REpresentation Learning with Invariance Causal mechanisms (RELIC), that enforces invariant prediction through an explicit regularizer and show improved generalization guarantees. We generalize contrastive learning using refinements and show that learning on refinements is a sufficient condition for learning useful representations; this provides an alternative explanation to MI for the success of contrastive methods. ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
215,
|
| 132 |
+
647,
|
| 133 |
+
825,
|
| 134 |
+
770
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "2 REPRESENTATION LEARNING VIA INVARIANT CAUSAL MECHANISMS ",
|
| 141 |
+
"text_level": 1,
|
| 142 |
+
"bbox": [
|
| 143 |
+
173,
|
| 144 |
+
791,
|
| 145 |
+
782,
|
| 146 |
+
808
|
| 147 |
+
],
|
| 148 |
+
"page_idx": 1
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"type": "text",
|
| 152 |
+
"text": "Problem setting. Let $X$ denote the unlabelled observed data and $\\mathcal { V } = \\{ Y _ { t } \\} _ { t = 1 } ^ { T }$ be a set of unknown tasks with $Y _ { t }$ denoting the targets for task $t$ . The tasks $\\{ Y _ { t } \\} _ { t = 1 } ^ { T }$ can represent both a multi-environment as well as a multi-task setup. Our goal is to pretrain with unsupervised data a representation $f ( X )$ that will be useful for solving the downstream tasks $\\mathcal { V }$ . ",
|
| 153 |
+
"bbox": [
|
| 154 |
+
174,
|
| 155 |
+
821,
|
| 156 |
+
825,
|
| 157 |
+
878
|
| 158 |
+
],
|
| 159 |
+
"page_idx": 1
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"type": "text",
|
| 163 |
+
"text": "Causal interpretation. To effectively leverage common assumptions and intuitions about data generation of the unknown downstream tasks for the learning algorithm, we propose to formalize them using a causal graph. We start from the following assumptions: a) the data is generated from content and style variables, with b) only content (and not style) being relevant for the unknown downstream tasks and c) content and style are independent, i.e. style changes are content-preserving. For example, when classifying dogs against giraffes from images, different parts of the animals constitute content, while style could be, for example, background, lighting conditions and camera lens characteristics. By assumption, content is a good representation of the data for downstream tasks and we therefore cast the goal of representation learning as estimating content. In the following, we compactly formalize these assumptions with a causal graph1, see Figure 1a. ",
|
| 164 |
+
"bbox": [
|
| 165 |
+
174,
|
| 166 |
+
895,
|
| 167 |
+
823,
|
| 168 |
+
924
|
| 169 |
+
],
|
| 170 |
+
"page_idx": 1
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"type": "image",
|
| 174 |
+
"img_path": "images/7d6b18a05d7010061f63fdf863493b0e8d6f15c64a17ca006f14b072fe70c129.jpg",
|
| 175 |
+
"image_caption": [
|
| 176 |
+
"Figure 1: (a) Causal graph formalizing assumptions about content and style of the data and the relationship between targets and proxy tasks. The dashed arrows are not causal and represent learning, while the dashdotted lines denote that $Y ^ { R }$ is a refinement $Y _ { t }$ ’s. All other arrows are causal. (b) RELIC objective. KL refers to the Kullback-Leibler divergence, while $\\mathbf { X }$ -entropy denotes cross entropy. "
|
| 177 |
+
],
|
| 178 |
+
"image_footnote": [],
|
| 179 |
+
"bbox": [
|
| 180 |
+
173,
|
| 181 |
+
104,
|
| 182 |
+
823,
|
| 183 |
+
313
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 2
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "text",
|
| 189 |
+
"text": "",
|
| 190 |
+
"bbox": [
|
| 191 |
+
174,
|
| 192 |
+
422,
|
| 193 |
+
825,
|
| 194 |
+
535
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 2
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "Let $C$ and $S$ be the latent variables describing content and style. In Figure 1a, the directed arrows from $C$ and $S$ to the observed data $X$ (e.g. images) indicate that $X$ is generated based on content and style. The directed arrow from $C$ to the target $Y _ { t }$ (e.g. class labels) encodes the assumption that content directly influences the target tasks, while the absence of any directed arrow from $S$ to $Y _ { t }$ indicates that style does not. Thus, content $C$ has all the necessary information to predict $Y _ { t }$ . The absence of any directed path between $C$ and $S$ in Figure 1a encodes the intuition that these variables are independent, i.e. $C \\perp \\perp S$ . ",
|
| 201 |
+
"bbox": [
|
| 202 |
+
173,
|
| 203 |
+
541,
|
| 204 |
+
825,
|
| 205 |
+
638
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "Using the independence of mechanisms (Peters et al., 2017), we can conclude that under this causal model performing interventions on $S$ does not change the conditional distribution $P ( Y _ { t } | C )$ , i.e. manipulating the value of $S$ does not influence this conditional distribution. Thus, $P ( Y _ { t } | C )$ is invariant under changes in style $S$ . We call $C$ an invariant representation for $Y _ { t }$ under $S$ , i.e. ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
174,
|
| 214 |
+
645,
|
| 215 |
+
825,
|
| 216 |
+
702
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "equation",
|
| 222 |
+
"img_path": "images/66f824ef365d301ad151866230f0527ae3ee6c0c19102f2c93d00c20a9efd277.jpg",
|
| 223 |
+
"text": "$$\np ^ { d o ( S = s _ { i } ) } ( Y _ { t } \\mid C ) = p ^ { d o ( S = s _ { j } ) } ( Y _ { t } \\mid C ) \\quad \\forall s _ { i } , s _ { j } \\in \\mathcal { S } ,\n$$",
|
| 224 |
+
"text_format": "latex",
|
| 225 |
+
"bbox": [
|
| 226 |
+
321,
|
| 227 |
+
708,
|
| 228 |
+
674,
|
| 229 |
+
729
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 2
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "text",
|
| 235 |
+
"text": "where $p ^ { d o ( S = s ) }$ denotes the distribution arising from assigning $S$ the value $s$ with $s$ the domain of $S$ (Pearl, 2009). Specifically, using $C$ as a representation allows for us to predict targets stably across perturbations, i.e. content $C$ is both a useful and robust representation for tasks $\\mathcal { V }$ . ",
|
| 236 |
+
"bbox": [
|
| 237 |
+
174,
|
| 238 |
+
738,
|
| 239 |
+
825,
|
| 240 |
+
780
|
| 241 |
+
],
|
| 242 |
+
"page_idx": 2
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"type": "text",
|
| 246 |
+
"text": "Since the targets $Y _ { t }$ are unknown, we will construct a proxy task $Y ^ { R }$ in order to learn representations from unlabeled data $X$ only. In order to learn useful representations for $Y _ { t }$ , we will construct proxy tasks that represents more fine-grained problems than $Y _ { t }$ ; for a more formal treatment of proxy tasks please refer to Section 3. Further, to learn invariant representations, such as $C$ , we enforce Equation 1 which requires us to observe data under different style interventions, i.e. we need data that describes the same content under varying style. Since we do not have access to $S$ , to simulate style variability we use content-preserving data augmentations (e.g. rotation, grayscaling, translation, cropping for images). Specifically, we utilize data augmentations as interventions on the style variable $S$ , i.e. ",
|
| 247 |
+
"bbox": [
|
| 248 |
+
173,
|
| 249 |
+
786,
|
| 250 |
+
825,
|
| 251 |
+
898
|
| 252 |
+
],
|
| 253 |
+
"page_idx": 2
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"type": "text",
|
| 257 |
+
"text": "applying data augmentation $a _ { i }$ corresponds to intervening on $S$ and setting it to $s _ { a _ { i } }$ . 2 Although we are not able to generate all possible styles using a fixed set of data augmentations, we will use augmentations that generate large sets of diverse styles as this allows us to learn better representations. Note that the heuristic of estimating similarity based on different views from contrastive learning can be interpreted as an implicit invariance constraint. ",
|
| 258 |
+
"bbox": [
|
| 259 |
+
173,
|
| 260 |
+
102,
|
| 261 |
+
825,
|
| 262 |
+
174
|
| 263 |
+
],
|
| 264 |
+
"page_idx": 3
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"type": "text",
|
| 268 |
+
"text": "RELIC objective. Equation 1 provides a general scheme to estimate content (c.f. Figure 1a). We operationalize this by proposing to learn representations such that prediction of proxy targets from the representation is invariant under data augmentations. The representation $f ( X )$ must fulfill the following invariant prediction criteria ",
|
| 269 |
+
"bbox": [
|
| 270 |
+
174,
|
| 271 |
+
188,
|
| 272 |
+
825,
|
| 273 |
+
244
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 3
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "(Invarian ",
|
| 280 |
+
"bbox": [
|
| 281 |
+
227,
|
| 282 |
+
253,
|
| 283 |
+
370,
|
| 284 |
+
270
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 3
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "equation",
|
| 290 |
+
"img_path": "images/467cf2caee2fe756762941d48676ea4a8f5f45cd709369ff35cb1fc05acb054d.jpg",
|
| 291 |
+
"text": "$$\n\\begin{array} { r l r } { \\prime p r e d i c t i o n ) } & { } & { p ^ { \\mathrm { d o } ( a _ { i } ) } ( Y ^ { R } | f ( X ) ) = p ^ { \\mathrm { d o } ( a _ { j } ) } ( Y ^ { R } | f ( X ) ) \\quad \\forall a _ { i } , a _ { j } \\in \\mathcal { A } . } \\end{array}\n$$",
|
| 292 |
+
"text_format": "latex",
|
| 293 |
+
"bbox": [
|
| 294 |
+
292,
|
| 295 |
+
251,
|
| 296 |
+
771,
|
| 297 |
+
271
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 3
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "text",
|
| 303 |
+
"text": "$\\mathcal { A } = \\{ a _ { 1 } , \\ldots , a _ { m } \\}$ is the set of data augmentations which simulate interventions on the style variables and $p ^ { d o ( a ) }$ denotes $p ^ { d o ( S = s _ { a } ) }$ . ",
|
| 304 |
+
"bbox": [
|
| 305 |
+
171,
|
| 306 |
+
277,
|
| 307 |
+
825,
|
| 308 |
+
308
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 3
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "To achieve invariant prediction, we propose to explicitly enforce invariance under augmentations through a regularizer. This gives rise to an objective for self-supervised learning we call Representation Learning via Invariant Causal Mechanisms (RELIC). We write this objective as ",
|
| 315 |
+
"bbox": [
|
| 316 |
+
173,
|
| 317 |
+
314,
|
| 318 |
+
823,
|
| 319 |
+
357
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 3
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "equation",
|
| 325 |
+
"img_path": "images/5490b04aef1959168dd2138793ab9d3720fd7ba171772014d647be03ba8bae8f.jpg",
|
| 326 |
+
"text": "$$\n\\begin{array} { r } { \\operatorname* { m i n } _ { \\stackrel { X \\warrow p ( X ) } { \\sim \\sim p ( X ) } } \\underset { \\sim \\mathcal { A } \\times \\mathcal { A } } { \\mathbb { E } } \\quad \\underset { b \\in \\{ a _ { l k } , a _ { q t } \\} } { \\sum } \\mathcal { L } _ { b } ( Y ^ { R } , f ( X ) ) } \\\\ { s . t . \\quad K L \\left( p ^ { d o ( a _ { l k } ) } ( Y ^ { R } | f ( X ) ) , p ^ { d o ( a _ { q t } ) } ( Y ^ { R } | f ( X ) ) \\right) \\leq \\rho } \\end{array}\n$$",
|
| 327 |
+
"text_format": "latex",
|
| 328 |
+
"bbox": [
|
| 329 |
+
310,
|
| 330 |
+
363,
|
| 331 |
+
700,
|
| 332 |
+
430
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 3
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "text",
|
| 338 |
+
"text": "where $\\mathcal { L }$ is the proxy task loss and $K L$ is the Kullback-Leibler (KL) divergence. Note that any distance measure on distributions can be used in place of the KL divergence. We explain the remaining terms in detail below. ",
|
| 339 |
+
"bbox": [
|
| 340 |
+
178,
|
| 341 |
+
434,
|
| 342 |
+
818,
|
| 343 |
+
477
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 3
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "Concretely, as proxy task we associate to every datapoint $x _ { i }$ the label $y _ { i } ^ { R } = i$ . This corresponds to the instance discrimination task, commonly used in contrastive learning (Hadsell et al., 2006). We take pairs of points $( x _ { i } , x _ { j } )$ to compute similarity scores and use pairs of augmentations $a _ { l k } = ( a _ { l } , a _ { k } ) \\in$ $A \\times A$ to perform a style intervention. Given a batch of samples $\\{ x _ { i } \\} _ { i = 1 } ^ { N } \\sim \\mathcal { D }$ , we use ",
|
| 350 |
+
"bbox": [
|
| 351 |
+
173,
|
| 352 |
+
482,
|
| 353 |
+
825,
|
| 354 |
+
541
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 3
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "equation",
|
| 360 |
+
"img_path": "images/c4a6baa0b2bc683b246ef6d9c0c18ab2451b6eb458517e3babb4cb24da3746dd.jpg",
|
| 361 |
+
"text": "$$\np ^ { d o ( a _ { l k } ) } ( Y ^ { R } = j | f ( x _ { i } ) ) \\propto \\exp \\left( \\phi ( f ( x _ { i } ^ { a _ { l } } ) , h ( x _ { j } ^ { a _ { k } } ) ) / \\tau \\right) .\n$$",
|
| 362 |
+
"text_format": "latex",
|
| 363 |
+
"bbox": [
|
| 364 |
+
310,
|
| 365 |
+
547,
|
| 366 |
+
687,
|
| 367 |
+
569
|
| 368 |
+
],
|
| 369 |
+
"page_idx": 3
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"type": "text",
|
| 373 |
+
"text": "with $x ^ { a }$ data augmented with $a$ and $\\tau$ a softmax temperature parameter. We encode $f$ using a neural network and choose $h$ to be related to $f$ , e.g. $h = f$ or as a network with an exponential moving average of the weights of $f$ (e.g. target networks similar to (Grill et al., 2020)). To compare representations we use the function $\\bar { \\phi } ( f ( \\bar { x _ { i } } ) , h ( x _ { j } ) ) \\ : = \\ : \\langle g ( f ( x _ { i } ) ) , g ( h ( x _ { j } ) ) \\rangle$ where $g$ is a fullyconnected neural network often called the critic. ",
|
| 374 |
+
"bbox": [
|
| 375 |
+
173,
|
| 376 |
+
575,
|
| 377 |
+
826,
|
| 378 |
+
646
|
| 379 |
+
],
|
| 380 |
+
"page_idx": 3
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"type": "text",
|
| 384 |
+
"text": "Combining these pieces, we learn representations by minimizing the following objective over the full set of data $x _ { i } \\in \\mathcal { D }$ and augmentations $a _ { l k } \\in \\mathcal { A } \\times \\mathcal { A }$ ",
|
| 385 |
+
"bbox": [
|
| 386 |
+
173,
|
| 387 |
+
652,
|
| 388 |
+
823,
|
| 389 |
+
681
|
| 390 |
+
],
|
| 391 |
+
"page_idx": 3
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"type": "equation",
|
| 395 |
+
"img_path": "images/27ae03aad40b0ffb2cb95565a0dbf431118ba586441a00a84f89d353bcb7188e.jpg",
|
| 396 |
+
"text": "$$\n\\operatorname* { m i n } - \\sum _ { i = 1 } ^ { N } \\sum _ { a _ { l k } } \\log \\frac { \\exp { ( \\phi ( f ( x _ { i } ^ { a _ { l } } ) , h ( x _ { i } ^ { a _ { k } } ) ) / \\tau ) } } { \\sum _ { m = 1 } ^ { M } \\exp { ( \\phi ( f ( x _ { i } ^ { a _ { l } } ) , h ( x _ { m } ^ { a _ { k } } ) ) / \\tau ) } } + \\alpha \\sum _ { a _ { l k } , a _ { q t } } K L ( p ^ { d o ( a _ { l k } ) } , p ^ { d o ( a _ { q t } ) } )\n$$",
|
| 397 |
+
"text_format": "latex",
|
| 398 |
+
"bbox": [
|
| 399 |
+
199,
|
| 400 |
+
686,
|
| 401 |
+
779,
|
| 402 |
+
733
|
| 403 |
+
],
|
| 404 |
+
"page_idx": 3
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"type": "text",
|
| 408 |
+
"text": "with $M$ the number of points we use to construct the contrast set and $\\alpha$ the weighting of the invariance penalty. We used the shorthand $p ^ { d o ( a ) }$ for $p ^ { d o ( a ) } ( Y ^ { R } = j \\mid f ( x _ { i } ) )$ . With appropriate choices for $\\phi$ , $g$ , $f$ and $h$ above, Equation 3 recovers many recent state-of-the-art methods (c.f. Table 5 in Section A). Figure 1b presents a schematic of the RELIC objective. ",
|
| 409 |
+
"bbox": [
|
| 410 |
+
173,
|
| 411 |
+
738,
|
| 412 |
+
826,
|
| 413 |
+
796
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 3
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "The explicit invariance penalty encourages the within-class distances (for a downstream task of interest) of the representations learned by RELIC to be tightly concentrated. We show this empirically in Figure 2 and theoretically in Appendix B. In the following section we provide theoretical justification for using an instance discrimination-based contrastive loss using a causal perspective. We also show (cf. Theorem 1 below) that minimizing the contrastive loss alone (i.e. $\\alpha = 0$ ) does not guarantee generalization. Instead, invariance across augmentations must be explicitly enforced. ",
|
| 420 |
+
"bbox": [
|
| 421 |
+
173,
|
| 422 |
+
803,
|
| 423 |
+
825,
|
| 424 |
+
887
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 3
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "3 GENERALIZING CONTRASTIVE LEARNING ",
|
| 431 |
+
"text_level": 1,
|
| 432 |
+
"bbox": [
|
| 433 |
+
174,
|
| 434 |
+
102,
|
| 435 |
+
558,
|
| 436 |
+
118
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 4
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "text",
|
| 442 |
+
"text": "Learning with refinements. In contrastive learning, the task of instance discrimination, i.e. classifying the dataset $\\{ ( x _ { i } , y _ { i } ^ { R } = i ) | x _ { i } \\in \\mathcal { D } \\}$ , is used as the proxy task. To better understand contrastive learning and motivate this proxy task, we generalize instance discrimination using the causal concept of refinements (Chalupka et al., 2014). Intuitively, a refinement of one problem is another more fine-grained problem. If task $Y _ { t }$ is to classify cats against dogs, then a refinement of $Y _ { t }$ is the task of classifying cats and dogs into their individual breeds. See Figure 4 for a further visual example. For any set of tasks, there exist many different refinements. However, the most fine-grained refinement corresponds exactly to classifying the dataset $\\{ ( x _ { i } , y _ { i } ^ { R } = i ) | x _ { i } \\in \\mathcal { D } \\}$ . Thus, the instance discrimination task used in contrastive learning is a specific type of refinement. For a definition and formal treatment of refinements please refer to Appendix D. ",
|
| 443 |
+
"bbox": [
|
| 444 |
+
173,
|
| 445 |
+
133,
|
| 446 |
+
825,
|
| 447 |
+
272
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 4
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "Let $Y ^ { R }$ be targets of a proxy task that is a refinement for all tasks in $\\mathcal { V }$ . Leveraging causal tools, we connect learning on refinements to learning on downstream tasks. Specifically, we provide a theoretical justification for exchanging unknown downstream tasks with these specially constructed proxy tasks. We show that if $f ( X )$ is an invariant representation for $Y ^ { R }$ under changes in style $S$ , then $f ( X )$ is also an invariant representation for tasks in $\\mathcal { V }$ under changes in style $S$ . Thus by enforcing invariance under style interventions on a refinement, we learn representations that generalize to downstream tasks.3 This is summarized in the following theorem. ",
|
| 454 |
+
"bbox": [
|
| 455 |
+
173,
|
| 456 |
+
279,
|
| 457 |
+
825,
|
| 458 |
+
377
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 4
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "text",
|
| 464 |
+
"text": "Theorem 1. Let $\\mathcal { V } = \\{ Y _ { t } \\} _ { t = 1 } ^ { T }$ be a family of downstream tasks. Let $Y ^ { R }$ be a refinement for all tasks in $\\mathcal { V }$ . If $f ( X )$ is an invariant representation for $Y ^ { R }$ under style interventions $S$ , then $f ( X )$ is an invariant representation for all tasks in $\\mathcal { V }$ under style interventions $S$ , i.e. ",
|
| 465 |
+
"bbox": [
|
| 466 |
+
174,
|
| 467 |
+
381,
|
| 468 |
+
825,
|
| 469 |
+
424
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 4
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "equation",
|
| 475 |
+
"img_path": "images/73b842ff62039898712fc7503cfc46cf67bb8bc9f53ade767245e57ea8c4dea6.jpg",
|
| 476 |
+
"text": "$$\n\\begin{array} { r l r } { p ^ { d o ( s _ { i } ) } ( Y ^ { R } \\mid f ( X ) ) = p ^ { d o ( s _ { j } ) } ( Y ^ { R } \\mid f ( X ) ) } & { { } \\Rightarrow } & { p ^ { d o ( s _ { i } ) } ( Y _ { t } \\mid f ( X ) ) = p ^ { d o ( s _ { j } ) } ( Y _ { t } \\mid f ( X ) ) } \\end{array}\n$$",
|
| 477 |
+
"text_format": "latex",
|
| 478 |
+
"bbox": [
|
| 479 |
+
187,
|
| 480 |
+
430,
|
| 481 |
+
789,
|
| 482 |
+
450
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 4
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "text",
|
| 488 |
+
"text": "for all $s _ { i } , s _ { j } \\in S$ with $p ^ { d o ( s _ { i } ) } = p ^ { d o ( S = s _ { i } ) }$ . Thus, $f ( X )$ is a representation that generalizes to $\\mathcal { V }$ ",
|
| 489 |
+
"bbox": [
|
| 490 |
+
176,
|
| 491 |
+
457,
|
| 492 |
+
802,
|
| 493 |
+
474
|
| 494 |
+
],
|
| 495 |
+
"page_idx": 4
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"type": "text",
|
| 499 |
+
"text": "Theorem 1 states that if $Y ^ { R }$ is a refinement of $\\mathcal { V }$ then learning a representation on $Y ^ { R }$ is a sufficient condition for this representation to be useful on $\\mathcal { V }$ . For a formal exposition of these points and accompanying proofs, please refer to Appendix D. Recall that the instance discrimination proxy task is the most fine-grained refinement, and so the right hand side of 4 is satisfied for any downstream task satisfying the stated assumptions of the theorem. ",
|
| 500 |
+
"bbox": [
|
| 501 |
+
173,
|
| 502 |
+
486,
|
| 503 |
+
825,
|
| 504 |
+
556
|
| 505 |
+
],
|
| 506 |
+
"page_idx": 4
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"type": "text",
|
| 510 |
+
"text": "We generalize contrastive learning through refinements and connect representations learned on refinements and downstream tasks in Theorem 1. Thus, using causality we provide an alternative explanation to mutual information for the success of contrastive learning. Note that our methodology of refinements is not limited to instance discrimination tasks and is thus more general than currently used contrastive losses. Real world data often includes rich sources of metadata which can be used to guide the construction of refinements by grouping the data according to any available meta-data. Note that the coarser we can create a refinement, the more data efficient we can expect to be when learning representations for downstream tasks. Further, we can also expect to require less supervised data to finetune the representation. ",
|
| 511 |
+
"bbox": [
|
| 512 |
+
174,
|
| 513 |
+
563,
|
| 514 |
+
825,
|
| 515 |
+
689
|
| 516 |
+
],
|
| 517 |
+
"page_idx": 4
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"type": "text",
|
| 521 |
+
"text": "4 RELATED WORK ",
|
| 522 |
+
"text_level": 1,
|
| 523 |
+
"bbox": [
|
| 524 |
+
176,
|
| 525 |
+
709,
|
| 526 |
+
344,
|
| 527 |
+
726
|
| 528 |
+
],
|
| 529 |
+
"page_idx": 4
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"type": "text",
|
| 533 |
+
"text": "Contrastive objectives and mutual information maximization. Many recent approaches to selfsupervised learning are rooted in the well-established idea of maximizing mutual information (MI), e.g. Contrastive Predictive Coding (CPC) (Oord et al., 2018; Henaff et al., 2019), Deep InfoMax ´ (DIM) (Hjelm et al., 2018) and Augmented Multiscale DIM (AMDIM) (Bachman et al., 2019). These methods are based on noise contrastive estimation (NCE) (Gutmann & Hyvarinen, 2010) which, ¨ under specific conditions, can be viewed as a bound on MI (Poole et al., 2019). The resulting objective functions are commonly referred to as InfoNCE. ",
|
| 534 |
+
"bbox": [
|
| 535 |
+
174,
|
| 536 |
+
741,
|
| 537 |
+
825,
|
| 538 |
+
838
|
| 539 |
+
],
|
| 540 |
+
"page_idx": 4
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"type": "text",
|
| 544 |
+
"text": "The precise role played by mutual information maximization in self-supervised learning is subject to some debate. (Tschannen et al., 2019) argue that the performance on downstream tasks is not correlated with the achieved bound on MI, but may be more tightly correlated with encoder architecture and capacity. Importantly, InfoNCE objectives require custom architectures to ensure the network does not converge to non-informative solutions thus precluding the use of standard architectures. Recently, several works (He et al., 2019; Chen et al., 2020a) successfully combined contrastive estimation with a standard ResNet-50 architecture. In particular, SimCLR (Chen et al., 2020a) relies on a set of strong augmentations4, while (He et al., 2019) uses a memory bank. Inspired by target networks in reinforcement learning, (Grill et al., 2020) proposed BYOL: an algorithm for self-supervised learning which remarkably does not use a contrastive objective. Although theoretical explanation for the good performance of BYOL is presently missing, interestingly the objective, an $\\ell _ { 2 }$ distance between two different embeddings of the input data resembles the $\\ell _ { 2 }$ form of our regularizer proposed in Equation 5 in Appendix B. ",
|
| 545 |
+
"bbox": [
|
| 546 |
+
176,
|
| 547 |
+
845,
|
| 548 |
+
820,
|
| 549 |
+
875
|
| 550 |
+
],
|
| 551 |
+
"page_idx": 4
|
| 552 |
+
},
|
| 553 |
+
{
|
| 554 |
+
"type": "text",
|
| 555 |
+
"text": "",
|
| 556 |
+
"bbox": [
|
| 557 |
+
174,
|
| 558 |
+
103,
|
| 559 |
+
825,
|
| 560 |
+
256
|
| 561 |
+
],
|
| 562 |
+
"page_idx": 5
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"type": "text",
|
| 566 |
+
"text": "Recently, (Saunshi et al., 2019) proposed a learning theoretic framework to analyze the performance of contrastive objectives. However, without strong assumptions on intra-class concentration they note that contrastive objectives are fundamentally limited in the representations they are able to learn. RELIC explicitly enforces intra-class concentration via the invariance regularizer, ensuring that it generalizes under weaker assumptions. Unlike (Saunshi et al., 2019) who do not discuss augmentations, we incorporate augmentations into our theoretical explanation of contrastive methods. ",
|
| 567 |
+
"bbox": [
|
| 568 |
+
174,
|
| 569 |
+
263,
|
| 570 |
+
633,
|
| 571 |
+
388
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 5
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "The reasons for the improvement in performance from AMDIM through to SimCLR and BYOL are not easily explained by either the MI maximization or the learning theoretic viewpoint. Further, it is not clear why relatively minor architectural differences between the methods result in significant differences in performance nor is it obvious how current state-of-the-art can be improved. In contrast to prior art, the performance of RELIC is explained by connections to causal theory. As such it gives a clear path for improving results by devising problem appropriate refinements, interventions and invariance penalties. Furthermore, the use of invariance penalties in RELIC as dictated by causal theory yields significantly more robust representations that generalize better than those learned with SimCLR or BYOL. ",
|
| 578 |
+
"bbox": [
|
| 579 |
+
174,
|
| 580 |
+
395,
|
| 581 |
+
633,
|
| 582 |
+
507
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 5
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "image",
|
| 588 |
+
"img_path": "images/b9bdc1c7a4b16d60eb71a077be525dc6413a7049dc4f90a27f4eeb110e4847d9.jpg",
|
| 589 |
+
"image_caption": [
|
| 590 |
+
"Figure 2: Distribution of the linear discriminant ratio $F _ { \\mathrm { L D A } }$ , see text) of $f$ for RELIC, SimCLR and AMDIM $y$ -axis clipped to aid visualization). "
|
| 591 |
+
],
|
| 592 |
+
"image_footnote": [],
|
| 593 |
+
"bbox": [
|
| 594 |
+
648,
|
| 595 |
+
268,
|
| 596 |
+
823,
|
| 597 |
+
383
|
| 598 |
+
],
|
| 599 |
+
"page_idx": 5
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"type": "text",
|
| 603 |
+
"text": "",
|
| 604 |
+
"bbox": [
|
| 605 |
+
174,
|
| 606 |
+
507,
|
| 607 |
+
820,
|
| 608 |
+
547
|
| 609 |
+
],
|
| 610 |
+
"page_idx": 5
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "text",
|
| 614 |
+
"text": "Causality and invariance. Recently, the notion of invariant prediction has emerged as an important operational concept in causal inference (Peters et al., 2016). This idea has been used to learn classifiers which are robust against domain shifts (Gong et al., 2016). Notably, (Heinze-Deml & Meinshausen, 2017) propose to use group structure to delineate between different environments where the aim is to minimize the classification loss while also ensuring that the conditional variance of the prediction function within each group remains small. Unlike (Heinze-Deml & Meinshausen, 2017) who use supervised data and rely on having a grouping in the training data, our approach does not rely on ground-truth targets and can flexibly create groupings of the training data if none are present. Further, we enforce invariant prediction within the group by constraining the distance between distributions resulting from contrasting data across groups. ",
|
| 615 |
+
"bbox": [
|
| 616 |
+
174,
|
| 617 |
+
555,
|
| 618 |
+
825,
|
| 619 |
+
694
|
| 620 |
+
],
|
| 621 |
+
"page_idx": 5
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"type": "text",
|
| 625 |
+
"text": "The relationship between causal inference and semi-supervised learning has been explored in (Scholkopf et al., 2012). In particular, in order for ¨ unlabeled data to be helpful for learning, the relationship between the predictors and targets must be anti-causal. Our setting is somewhat different as we assume a latent decomposition of the observed variables and learn representations based on proxy targets which are refinements of the true targets. ",
|
| 626 |
+
"bbox": [
|
| 627 |
+
174,
|
| 628 |
+
702,
|
| 629 |
+
825,
|
| 630 |
+
771
|
| 631 |
+
],
|
| 632 |
+
"page_idx": 5
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "text",
|
| 636 |
+
"text": "Our invariance penalty is similar in practise to consistency regularizers which have recently gained popularity in semi-supervised learning (Sajjadi et al., 2016; Xie et al., 2019; Sohn et al., 2020). These typically supplement the supervised training signal with a term which enforces similarity between the function’s output on two views of data. Although recently proposed consistency methods are heuristic, they have deeper roots in the more rigorous co-training approach to semi-supervised learning from multiple views (Blum & Mitchell, 1998; Kakade & Foster, 2007; Sridharan & Kakade, 2008; McWilliams & Montana, 2012; McWilliams et al., 2013). The main conceptual difference between our approach and consistency-based methods is that we do not have access to a supervised training signal and that the RELIC penalty is motivated from the underlying causal graph. ",
|
| 637 |
+
"bbox": [
|
| 638 |
+
174,
|
| 639 |
+
777,
|
| 640 |
+
825,
|
| 641 |
+
876
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 5
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "text",
|
| 647 |
+
"text": "",
|
| 648 |
+
"bbox": [
|
| 649 |
+
171,
|
| 650 |
+
103,
|
| 651 |
+
825,
|
| 652 |
+
132
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 6
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "text",
|
| 658 |
+
"text": "5 EXPERIMENTS ",
|
| 659 |
+
"text_level": 1,
|
| 660 |
+
"bbox": [
|
| 661 |
+
176,
|
| 662 |
+
166,
|
| 663 |
+
326,
|
| 664 |
+
183
|
| 665 |
+
],
|
| 666 |
+
"page_idx": 6
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"type": "text",
|
| 670 |
+
"text": "We first visualize the influence of the explicit invariance constraint in RELIC on the linear separability of the learned representations. We then evaluate RELIC on a number of prediction and reinforcement learning tasks for usefulness and robustness. For the prediction tasks, we test RELIC after pretraining the representation in a self-supervised way on the training set of the ImageNet ILSVRC-2012 dataset (Russakovsky et al., 2015). We evaluate RELIC in the linear evaluation setup on ImageNet and test its robustness and out-of-distribution generalization on datasets related to ImageNet. Unlike much prior work in contrastive learning which focuses specifically on computer vision tasks, we test RELIC also in the context of learning representations for reinforcement learning. Specifically, we test RELIC on the suite of Atari games (Bellemare et al., 2013) which consists of 57 diverse games of varying difficulty. ",
|
| 671 |
+
"bbox": [
|
| 672 |
+
173,
|
| 673 |
+
207,
|
| 674 |
+
825,
|
| 675 |
+
347
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 6
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "text",
|
| 681 |
+
"text": "Linear evaluation. In order to understand how representations learned by RELIC differ from other methods, we compare it against those learned by AMDIM and SimCLR in terms of Fischer’s linear discriminant ratio (Friedman et al., 2009): $\\begin{array} { r } { \\dot { F _ { \\mathrm { L D A } } } { } = \\| \\mu _ { k } - \\mu _ { k ^ { \\prime } } \\| ^ { 2 } / \\sum _ { i , j \\in \\mathcal { C } _ { k } } \\| f ( x _ { i } ) - f ( x _ { j } ) \\| ^ { 2 } } \\end{array}$ where $\\begin{array} { r } { \\mu _ { k } = \\frac { 1 } { | { \\mathcal C } _ { k } | } \\sum _ { i \\in { \\mathcal C } _ { k } } f ( x _ { i } ) } \\end{array}$ is the mean of the representations of class $k$ and $\\mathcal { C } _ { k }$ is the index set of that class. A larger $F _ { \\mathrm { L D A } }$ implies that classes are more easily separated with a linear classifier. This can be achieved by either increasing distances between classes (numerator) or shrinking within-class variance (denominator). ",
|
| 682 |
+
"bbox": [
|
| 683 |
+
173,
|
| 684 |
+
376,
|
| 685 |
+
825,
|
| 686 |
+
479
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 6
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "text",
|
| 692 |
+
"text": "Figure 2 shows the distribution of $F _ { \\mathrm { L D A } }$ for RELIC, SimCLR and AMDIM after training as measured on the (downsampled) ImageNet validation set. The distance between medians of RELIC and SimCLR is 162. AMDIM is tightly concentrated close to 20. The invariance penalty ensures that— even though labels are $a$ -priori unknown—for RELIC within-class variability of $f$ is concentrated leading to better linear separability between classes in the downstream task of interest.This is reflected in the rightward shift of the distribution of $F _ { \\mathrm { L D A } }$ in Figure 2 for RELIC compared with SimCLR and AMDIM which do not impose such a constraint. ",
|
| 693 |
+
"bbox": [
|
| 694 |
+
173,
|
| 695 |
+
486,
|
| 696 |
+
826,
|
| 697 |
+
584
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 6
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "text",
|
| 703 |
+
"text": "Next we evaluate RELIC’s representation by training a linear classifier of top of the fixed encoder following the procedure in (Kolesnikov et al., 2019; Chen et al., 2020a) and Appendix E.4. In Table 1, we report top-1 and top-5 accuracy on the ImageNet test set. Methods denoted with \\* use SimCLR augmentations (Chen et al., 2020a), while methods denoted $\\dagger$ use custom, stronger augmentations. Comparing methods which use SimCLR augmentations, RELIC outperforms competing approaches on both ResNet-50 and ResNet-50 with target network. For completeness, we report results for SwAV (Caron et al., 2020) and InfoMin (Tian et al., 2020), but note that these methods use stronger augmentations which alone have been shown to boost performance by over $5 \\%$ A fair comparison between different objectives can only be achieved under the same architecture and the same set of augmentations. ",
|
| 704 |
+
"bbox": [
|
| 705 |
+
174,
|
| 706 |
+
590,
|
| 707 |
+
433,
|
| 708 |
+
922
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 6
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "table",
|
| 714 |
+
"img_path": "images/d705a9b65569b7d5269b768d914c6ba56df898f48b0ed6eb988908f9759ff326.jpg",
|
| 715 |
+
"table_caption": [
|
| 716 |
+
"Table 1: Accuracy $( \\mathrm { i n } \\% )$ ) under linear evaluation on ImageNet for different self-supervised representation learning methods. Methods with \\* use SimCLR augmentations. Methods with $\\dagger$ use custom, stronger augmentations. "
|
| 717 |
+
],
|
| 718 |
+
"table_footnote": [],
|
| 719 |
+
"table_body": "<table><tr><td>Method</td><td>Top-1</td><td>Top-5</td></tr><tr><td>ResNet-50architecture</td><td></td><td></td></tr><tr><td>PIRL</td><td>63.6</td><td></td></tr><tr><td>CPC v2</td><td>63.8</td><td>85.3</td></tr><tr><td>CMC</td><td>66.2</td><td>87.0</td></tr><tr><td>SimCLR(Chen et al.,2020a)</td><td>* 69.3</td><td>89.0</td></tr><tr><td>SwAV (Caron et al., 2020)</td><td>* 70.1</td><td>=</td></tr><tr><td>RELIC (ours)</td><td>* 70.3</td><td>89.5</td></tr><tr><td>InfoMin Aug.(Tian et al.,2020)</td><td>+ 73.0</td><td>91.1</td></tr><tr><td>SwAV (Caron et al., 2020)</td><td>+ 75.3</td><td>=</td></tr><tr><td>ResNet-50 with target network</td><td></td><td></td></tr><tr><td>MoCo v2 (Chen et al., 2020b)</td><td>71.1</td><td></td></tr><tr><td>BYOL (Grill et al., 2020)</td><td>* 74.3</td><td>91.6</td></tr><tr><td>RELIC (ours)</td><td>* 74.8</td><td>92.2</td></tr></table>",
|
| 720 |
+
"bbox": [
|
| 721 |
+
446,
|
| 722 |
+
681,
|
| 723 |
+
823,
|
| 724 |
+
880
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 6
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "text",
|
| 730 |
+
"text": "Robustness and generalization. We evaluate robustness and out-of-distribution generalization of RELIC’s representation on datasets Imagenet-C (Hendrycks & Dietterich, 2019) and ImageNet-R (Hendrycks et al., 2020), respectively. To evaluate RELIC’s representation, we train a linear classifier on top of the frozen representation following the procedure described in (Chen et al., 2020a) and appendix E.5.2. For Imagenet-C we report the mean Corruption Error (mCE) and Corruption Errors for Noise corruptions in Table 3. RELIC has significantly lower mCE than both the supervised ResNet-50 baseline and the unsupervised methods SimCLR and BYOL. Also, it has the lowest Corruption Error on 14 out of 15 corruptions when compared to SimCLR and BYOL. Thus, we see that RELIC learns the most robust representation. RELIC also outperforms SimCLR and BYOL on ImageNet-R showing its superior out-of-distribution generalization ability; see Table 2. For further details and results please consult E.5. ",
|
| 731 |
+
"bbox": [
|
| 732 |
+
174,
|
| 733 |
+
103,
|
| 734 |
+
825,
|
| 735 |
+
256
|
| 736 |
+
],
|
| 737 |
+
"page_idx": 7
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "table",
|
| 741 |
+
"img_path": "images/8b3562db7db3c8315ab9ff25104eec59d016f21a882abfa42ebe472852862010.jpg",
|
| 742 |
+
"table_caption": [
|
| 743 |
+
"Table 2: Top-1 error rates for different self-supervised representation learning methods on ImageNetR. All models are trained only on clean ImageNet images and $\\mathrm { R E L I C } _ { T }$ refers to RELIC using a ResNet-50 with target network as in BYOL (Grill et al., 2020). "
|
| 744 |
+
],
|
| 745 |
+
"table_footnote": [],
|
| 746 |
+
"table_body": "<table><tr><td>Method</td><td>Supervised</td><td>SimCLR</td><td>RELIC</td><td>BYOL</td><td>RELICT</td></tr><tr><td>Top-1 Error (%)</td><td>63.9</td><td>81.7</td><td>77.4</td><td>77.0</td><td>76.2</td></tr></table>",
|
| 747 |
+
"bbox": [
|
| 748 |
+
243,
|
| 749 |
+
327,
|
| 750 |
+
753,
|
| 751 |
+
359
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 7
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "table",
|
| 757 |
+
"img_path": "images/60e99f7010734c59122c95da6e21be688a7896583f10f83cfebb436452e5d6b9.jpg",
|
| 758 |
+
"table_caption": [
|
| 759 |
+
"Table 3: Mean Corruption Error (mCE), mean relative Corruption Error (mrCE) and Corruption Errors for the “Noise” class of corruptions (Gaussian, Shot, Impulse) on ImageNet-C. The mCE value is the average across 75 different corruptions. Methods are trained only on clean ImageNet images. "
|
| 760 |
+
],
|
| 761 |
+
"table_footnote": [],
|
| 762 |
+
"table_body": "<table><tr><td>Method</td><td>mCE</td><td>mrCE</td><td>Gaussian</td><td>Shot</td><td>Impulse</td></tr><tr><td>Supervised</td><td>76.7</td><td>105.0</td><td>80.0</td><td>82.0</td><td>83.0</td></tr><tr><td>ResNet-50 architecture:</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>SimCLR</td><td>87.5</td><td>111.9</td><td>79.4</td><td>81.9</td><td>89.6</td></tr><tr><td>ReLIC</td><td>76.4</td><td>87.7</td><td>67.8</td><td>70.7</td><td>77.0</td></tr><tr><td>ResNet-50 with target network:</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>BYOL</td><td>72.3</td><td>90.0</td><td>65.9</td><td>68.4</td><td>73.7</td></tr><tr><td>ReLIC</td><td>70.8</td><td>88.4</td><td>63.6</td><td>65.7</td><td>69.2</td></tr></table>",
|
| 763 |
+
"bbox": [
|
| 764 |
+
228,
|
| 765 |
+
440,
|
| 766 |
+
769,
|
| 767 |
+
558
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 7
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "Reinforcement Learning. Much prior work in contrastive learning has focused specifically on computer vision tasks. In order to compare these approaches in a different domain, we investigate representation learning in the context of reinforcement learning. We compare RELIC as an auxiliary loss against other state of the art self-supervised losses on an agent trained on 57 Atari games. Using human normalized scores as a metric, we use the original architecture and hyperparameters of the R2D2 agent (Kapturowski et al., 2019) and supplement it with a second encoder trained with a given representation learning loss. When auxiliary losses are present, the Q-Network takes the output of the second encoder as an input. The Q-Network and the encoder are trained with separate optimizers. For the augmentation baseline, the Q-Network takes two identical encoders trained end-to-end. Table 4 shows a comparison between RELIC, SimCLR, BYOL, CURL (Srinivas et al., 2020), and feeding augmented observations directly to the agent (Kostrikov et al., 2020). We find that RELIC has a significant advantage over competing self-supervised methods, performing best in 25 out of 57 games. The next best performing method, CURL performs best in 11 games. Note that none of these methods outperform R2D2 (Kapturowski et al., 2019) which achieves superhuman performance in 52 games. Although previously published work shows the auxiliary tasks help on Atari, this is in the very low-data regime. Here we show that ReLIC is able to close the gap in the more common Atari set up. We hypothesize that the performance penalty resulting from adding auxiliary self-supervised losses stems from the naive combining of the outputs of the two encoders; we will explore alternative options for combining encoder outputs in future. Full details are presented in Section E.6. ",
|
| 774 |
+
"bbox": [
|
| 775 |
+
173,
|
| 776 |
+
582,
|
| 777 |
+
826,
|
| 778 |
+
845
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 7
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "6 CONCLUSION ",
|
| 785 |
+
"text_level": 1,
|
| 786 |
+
"bbox": [
|
| 787 |
+
174,
|
| 788 |
+
864,
|
| 789 |
+
318,
|
| 790 |
+
881
|
| 791 |
+
],
|
| 792 |
+
"page_idx": 7
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "text",
|
| 796 |
+
"text": "In this work we have analyzed self-supervised learning using a causal framework. Using a causal graph, we have formalized the problem of self-supervised representation learning and derived properties of the optimal representation. We have shown that representations need to be invariant predictors of proxy targets under interventions on features that are only correlated, but not causally related to the downstream tasks. We have leveraged data augmentations to simulate these interventions and have proposed to explicitly enforce this invariance constraint. Based on this, we have proposed a new self-supervised objective, Representation Learning via Invariant Causal Mechanisms (RELIC), that enforces invariant prediction of proxy targets across augmentations using an invariance regularizer. Further, we have generalized contrastive methods using the concept of refinements and have shown that learning a representation on refinements using the principle of invariant prediction is a sufficient condition for these representations to generalize to downstream tasks. With this, we have provided an alternative explanation to mutual information for the success of contrastive methods. Empirically we have compared RELIC against recent self-supervised methods on a variety of prediction and reinforcement learning tasks. Specifically, RELIC significantly outperforms competing methods in terms of robustness and out-of-distribution generalization of the representations it learns on ImageNet. RELIC also significantly outperforms related self-supervised methods on the Atari suite achieving superhuman performance on 51 out of 57 games. We aim to investigate the construction of more coarse-grained refinements and the empirical evaluation of different kinds of refinements in future work. ",
|
| 797 |
+
"bbox": [
|
| 798 |
+
173,
|
| 799 |
+
895,
|
| 800 |
+
823,
|
| 801 |
+
924
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 7
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "table",
|
| 807 |
+
"img_path": "images/14b00ad19e70f8d9397920afb6bfd9568509d4cbceea7299b455e4f0506bfab5.jpg",
|
| 808 |
+
"table_caption": [
|
| 809 |
+
"Table 4: Human Normalized Scores of Auxiliary Methods over 57 Atari Games. "
|
| 810 |
+
],
|
| 811 |
+
"table_footnote": [],
|
| 812 |
+
"table_body": "<table><tr><td>AtariPerformance</td><td>RELIC</td><td>SimCLR</td><td>CURL</td><td>BYOL</td><td>Augmentation</td></tr><tr><td>Capped mean</td><td>91.46</td><td>88.76</td><td>90.72</td><td>89.43</td><td>80.60</td></tr><tr><td>Number of superhuman games</td><td>51</td><td>49</td><td>49</td><td>49</td><td>34</td></tr><tr><td>Mean</td><td>3003.73</td><td>2086.16</td><td>2413.12</td><td>1769.43</td><td>503.15</td></tr><tr><td>Median</td><td>832.50</td><td>592.83</td><td>819.56</td><td>483.39</td><td>132.17</td></tr><tr><td>40% Percentile</td><td>356.27</td><td>266.07</td><td>409.46</td><td>224.80</td><td>94.35</td></tr><tr><td>30% Percentile</td><td>202.49</td><td>174.19</td><td>190.96</td><td>150.21</td><td>80.04</td></tr><tr><td>20% Percentile</td><td>133.93</td><td>120.84</td><td>126.10</td><td>118.36</td><td>57.95</td></tr><tr><td>10% Percentile</td><td>83.79</td><td>37.19</td><td>59.09</td><td>44.14</td><td>32.74</td></tr><tr><td>5% Percentile</td><td>20.87</td><td>12.74</td><td>20.56</td><td>7.75</td><td>2.85</td></tr></table>",
|
| 813 |
+
"bbox": [
|
| 814 |
+
173,
|
| 815 |
+
133,
|
| 816 |
+
807,
|
| 817 |
+
276
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 8
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "text",
|
| 823 |
+
"text": "",
|
| 824 |
+
"bbox": [
|
| 825 |
+
173,
|
| 826 |
+
304,
|
| 827 |
+
826,
|
| 828 |
+
537
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 8
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "Acknowledgements. We thank David Balduzzi, Melanie Rey, Christina Heinze-Deml, Ilja Kuzborskij, Ali Eslami, Jeffrey de Fauw and Josip Djolonga for invaluable discussions. ",
|
| 835 |
+
"bbox": [
|
| 836 |
+
176,
|
| 837 |
+
555,
|
| 838 |
+
823,
|
| 839 |
+
583
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 8
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "text",
|
| 845 |
+
"text": "REFERENCES ",
|
| 846 |
+
"text_level": 1,
|
| 847 |
+
"bbox": [
|
| 848 |
+
176,
|
| 849 |
+
606,
|
| 850 |
+
285,
|
| 851 |
+
621
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 8
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "Philip Bachman, R Devon Hjelm, and William Buchwalter. Learning representations by maximizing mutual information across views. In Advances in Neural Information Processing Systems, pp. 15509–15519, 2019. ",
|
| 858 |
+
"bbox": [
|
| 859 |
+
174,
|
| 860 |
+
630,
|
| 861 |
+
823,
|
| 862 |
+
671
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 8
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "Marc G. Bellemare, Yavar Naddaf, J. Veness, and Michael Bowling. The arcade learning environment: An evaluation platform for general agents (extended abstract). J. Artif. Intell. Res., 47:253–279, 2013. ",
|
| 869 |
+
"bbox": [
|
| 870 |
+
173,
|
| 871 |
+
681,
|
| 872 |
+
826,
|
| 873 |
+
724
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 8
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "text",
|
| 879 |
+
"text": "Avrim Blum and Tom Mitchell. Combining labeled and unlabeled data with co-training. In Proceedings of the eleventh annual conference on Computational learning theory, pp. 92–100, 1998. ",
|
| 880 |
+
"bbox": [
|
| 881 |
+
173,
|
| 882 |
+
736,
|
| 883 |
+
825,
|
| 884 |
+
766
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 8
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "M. Caron, I. Misra, J. Mairal, Priya Goyal, P. Bojanowski, and Armand Joulin. Unsupervised learning of visual features by contrasting cluster assignments. ArXiv, abs/2006.09882, 2020. ",
|
| 891 |
+
"bbox": [
|
| 892 |
+
169,
|
| 893 |
+
775,
|
| 894 |
+
825,
|
| 895 |
+
805
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 8
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "text",
|
| 901 |
+
"text": "Krzysztof Chalupka, Pietro Perona, and Frederick Eberhardt. Visual causal feature learning. arXiv preprint arXiv:1412.2309, 2014. ",
|
| 902 |
+
"bbox": [
|
| 903 |
+
171,
|
| 904 |
+
815,
|
| 905 |
+
825,
|
| 906 |
+
844
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 8
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "text",
|
| 912 |
+
"text": "Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. arXiv preprint arXiv:2002.05709, 2020a. ",
|
| 913 |
+
"bbox": [
|
| 914 |
+
173,
|
| 915 |
+
856,
|
| 916 |
+
823,
|
| 917 |
+
885
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 8
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "Xinlei Chen, Haoqi Fan, Ross B. Girshick, and Kaiming He. Improved baselines with momentum contrastive learning. ArXiv, abs/2003.04297, 2020b. ",
|
| 924 |
+
"bbox": [
|
| 925 |
+
174,
|
| 926 |
+
895,
|
| 927 |
+
823,
|
| 928 |
+
922
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 8
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "Paul Erdos and Alfr ˝ ed R ´ enyi. On the evolution of random graphs. ´ Publ. Math. Inst. Hung. Acad. Sci, 5(1):17–60, 1960. ",
|
| 935 |
+
"bbox": [
|
| 936 |
+
171,
|
| 937 |
+
103,
|
| 938 |
+
825,
|
| 939 |
+
132
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 9
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "Jerome Friedman, Trevor Hastie, and Robert Tibshirani. The elements of statistical learning, volume 2. Springer series in statistics New York, 2009. ",
|
| 946 |
+
"bbox": [
|
| 947 |
+
173,
|
| 948 |
+
142,
|
| 949 |
+
825,
|
| 950 |
+
170
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 9
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "Alan Frieze and Michał Karonski. ´ Introduction to random graphs. Cambridge University Press, 2016. ",
|
| 957 |
+
"bbox": [
|
| 958 |
+
173,
|
| 959 |
+
179,
|
| 960 |
+
825,
|
| 961 |
+
209
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 9
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "Mingming Gong, Kun Zhang, Tongliang Liu, Dacheng Tao, Clark Glymour, and Bernhard Scholkopf. ¨ Domain adaptation with conditional transferable components. In International conference on machine learning, pp. 2839–2848, 2016. ",
|
| 968 |
+
"bbox": [
|
| 969 |
+
174,
|
| 970 |
+
218,
|
| 971 |
+
825,
|
| 972 |
+
262
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 9
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "Jean-Bastien Grill, Florian Strub, Florent Altche, Corentin Tallec, Pierre H Richemond, Elena ´ Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Daniel Guo, Mohammad Gheshlaghi Azar, et al. Bootstrap your own latent: A new approach to self-supervised learning. arXiv preprint arXiv:2006.07733, 2020. ",
|
| 979 |
+
"bbox": [
|
| 980 |
+
173,
|
| 981 |
+
270,
|
| 982 |
+
826,
|
| 983 |
+
327
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 9
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "Michael Gutmann and Aapo Hyvarinen. Noise-contrastive estimation: A new estimation principle ¨ for unnormalized statistical models. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, pp. 297–304, 2010. ",
|
| 990 |
+
"bbox": [
|
| 991 |
+
173,
|
| 992 |
+
337,
|
| 993 |
+
825,
|
| 994 |
+
381
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 9
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "text",
|
| 1000 |
+
"text": "Raia Hadsell, Sumit Chopra, and Yann LeCun. Dimensionality reduction by learning an invariant mapping. In 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’06), volume 2, pp. 1735–1742. IEEE, 2006. ",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
176,
|
| 1003 |
+
388,
|
| 1004 |
+
823,
|
| 1005 |
+
433
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 9
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016. ",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
173,
|
| 1014 |
+
440,
|
| 1015 |
+
825,
|
| 1016 |
+
484
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 9
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. arXiv preprint arXiv:1911.05722, 2019. ",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
173,
|
| 1025 |
+
493,
|
| 1026 |
+
825,
|
| 1027 |
+
523
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 9
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "Christina Heinze-Deml and Nicolai Meinshausen. Conditional variance penalties and domain shift robustness. arXiv preprint arXiv:1710.11469, 2017. ",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
176,
|
| 1036 |
+
531,
|
| 1037 |
+
821,
|
| 1038 |
+
561
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 9
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "Olivier J Henaff, Ali Razavi, Carl Doersch, SM Eslami, and Aaron van den Oord. Data-efficient´ image recognition with contrastive predictive coding. arXiv preprint arXiv:1905.09272, 2019. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
173,
|
| 1047 |
+
570,
|
| 1048 |
+
821,
|
| 1049 |
+
601
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 9
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "Dan Hendrycks and Thomas Dietterich. Benchmarking neural network robustness to common corruptions and perturbations. Proceedings of the International Conference on Learning Representations, 2019. ",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
174,
|
| 1058 |
+
608,
|
| 1059 |
+
826,
|
| 1060 |
+
651
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 9
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "Dan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath, Frank Wang, Evan Dorundo, Rahul Desai, Tyler Zhu, Samyak Parajuli, Mike Guo, et al. The many faces of robustness: A critical analysis of out-of-distribution generalization. arXiv preprint arXiv:2006.16241, 2020. ",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
174,
|
| 1069 |
+
661,
|
| 1070 |
+
826,
|
| 1071 |
+
705
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 9
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "R Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Phil Bachman, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. arXiv preprint arXiv:1808.06670, 2018. ",
|
| 1078 |
+
"bbox": [
|
| 1079 |
+
178,
|
| 1080 |
+
713,
|
| 1081 |
+
825,
|
| 1082 |
+
757
|
| 1083 |
+
],
|
| 1084 |
+
"page_idx": 9
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"type": "text",
|
| 1088 |
+
"text": "S. Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. ArXiv, abs/1502.03167, 2015. ",
|
| 1089 |
+
"bbox": [
|
| 1090 |
+
169,
|
| 1091 |
+
766,
|
| 1092 |
+
825,
|
| 1093 |
+
795
|
| 1094 |
+
],
|
| 1095 |
+
"page_idx": 9
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"type": "text",
|
| 1099 |
+
"text": "Sham M Kakade and Dean P Foster. Multi-view regression via canonical correlation analysis. In International Conference on Computational Learning Theory, pp. 82–96. Springer, 2007. ",
|
| 1100 |
+
"bbox": [
|
| 1101 |
+
171,
|
| 1102 |
+
804,
|
| 1103 |
+
823,
|
| 1104 |
+
834
|
| 1105 |
+
],
|
| 1106 |
+
"page_idx": 9
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"type": "text",
|
| 1110 |
+
"text": "Steven Kapturowski, Georg Ostrovski, Will Dabney, John Quan, and Remi Munos. Recurrent experience replay in distributed reinforcement learning. Iclr, 2019. ",
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
171,
|
| 1113 |
+
842,
|
| 1114 |
+
823,
|
| 1115 |
+
872
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 9
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "text",
|
| 1121 |
+
"text": "A. Kolesnikov, Xiaohua Zhai, and Lucas Beyer. Revisiting self-supervised visual representation learning. 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 1920–1929, 2019. ",
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
176,
|
| 1124 |
+
881,
|
| 1125 |
+
825,
|
| 1126 |
+
924
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 9
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "text",
|
| 1132 |
+
"text": "Ilya Kostrikov, Denis Yarats, and Rob Fergus. Image augmentation is all you need: Regularizing deep reinforcement learning from pixels. arXiv preprint arXiv:2004.13649, 2020. ",
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
171,
|
| 1135 |
+
103,
|
| 1136 |
+
823,
|
| 1137 |
+
132
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 10
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "text",
|
| 1143 |
+
"text": "I. Loshchilov and F. Hutter. Sgdr: Stochastic gradient descent with warm restarts. In ICLR, 2017. ",
|
| 1144 |
+
"bbox": [
|
| 1145 |
+
173,
|
| 1146 |
+
141,
|
| 1147 |
+
812,
|
| 1148 |
+
156
|
| 1149 |
+
],
|
| 1150 |
+
"page_idx": 10
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"type": "text",
|
| 1154 |
+
"text": "Brian McWilliams and Giovanni Montana. Multi-view predictive partitioning in high dimensions. Statistical Analysis and Data Mining: The ASA Data Science Journal, 5(4):304–321, 2012. ",
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
173,
|
| 1157 |
+
165,
|
| 1158 |
+
825,
|
| 1159 |
+
195
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 10
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "text",
|
| 1165 |
+
"text": "Brian McWilliams, David Balduzzi, and Joachim M Buhmann. Correlated random features for fast semi-supervised learning. In Advances in Neural Information Processing Systems, pp. 440–448, 2013. ",
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
178,
|
| 1168 |
+
203,
|
| 1169 |
+
825,
|
| 1170 |
+
246
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 10
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "V. Nair and Geoffrey E. Hinton. Rectified linear units improve restricted boltzmann machines. In ICML, 2010. ",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
173,
|
| 1179 |
+
255,
|
| 1180 |
+
825,
|
| 1181 |
+
285
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 10
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. ",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
169,
|
| 1190 |
+
292,
|
| 1191 |
+
825,
|
| 1192 |
+
323
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 10
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "Judea Pearl. Causality. Cambridge university press, 2009. ",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
173,
|
| 1201 |
+
330,
|
| 1202 |
+
557,
|
| 1203 |
+
347
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 10
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "Jonas Peters, Peter Buhlmann, and Nicolai Meinshausen. Causal inference by using invariant ¨ prediction: identification and confidence intervals. Journal of the Royal Statistical Society: Series $B$ (Statistical Methodology), 78(5):947–1012, 2016. ",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
176,
|
| 1212 |
+
354,
|
| 1213 |
+
823,
|
| 1214 |
+
398
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 10
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "Jonas Peters, Dominik Janzing, and Bernhard Scholkopf. ¨ Elements of causal inference: foundations and learning algorithms. MIT press, 2017. ",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
174,
|
| 1223 |
+
406,
|
| 1224 |
+
821,
|
| 1225 |
+
436
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 10
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "Ben Poole, Sherjil Ozair, Aaron Van Den Oord, Alex Alemi, and George Tucker. On variational bounds of mutual information. In International Conference on Machine Learning, pp. 5171–5180, 2019. ",
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
174,
|
| 1234 |
+
445,
|
| 1235 |
+
825,
|
| 1236 |
+
488
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 10
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "Olga Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Zhiheng Huang, A. Karpathy, A. Khosla, M. Bernstein, A. Berg, and Li Fei-Fei. Imagenet large scale visual recognition challenge. International Journal of Computer Vision, 115:211–252, 2015. ",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
174,
|
| 1245 |
+
497,
|
| 1246 |
+
826,
|
| 1247 |
+
540
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 10
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "Mehdi Sajjadi, Mehran Javanmardi, and Tolga Tasdizen. Regularization with stochastic transformations and perturbations for deep semi-supervised learning. Advances in neural information processing systems, 29:1163–1171, 2016. ",
|
| 1254 |
+
"bbox": [
|
| 1255 |
+
173,
|
| 1256 |
+
549,
|
| 1257 |
+
826,
|
| 1258 |
+
592
|
| 1259 |
+
],
|
| 1260 |
+
"page_idx": 10
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "text",
|
| 1264 |
+
"text": "Nikunj Saunshi, Orestis Plevrakis, Sanjeev Arora, Mikhail Khodak, and Hrishikesh Khandeparkar. A theoretical analysis of contrastive unsupervised representation learning. In International Conference on Machine Learning, pp. 5628–5637, 2019. ",
|
| 1265 |
+
"bbox": [
|
| 1266 |
+
174,
|
| 1267 |
+
601,
|
| 1268 |
+
823,
|
| 1269 |
+
645
|
| 1270 |
+
],
|
| 1271 |
+
"page_idx": 10
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"type": "text",
|
| 1275 |
+
"text": "Bernhard Scholkopf, Dominik Janzing, Jonas Peters, Eleni Sgouritsa, Kun Zhang, and Joris Mooij. ¨ On causal and anticausal learning. arXiv preprint arXiv:1206.6471, 2012. ",
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
169,
|
| 1278 |
+
652,
|
| 1279 |
+
825,
|
| 1280 |
+
683
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 10
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "Kihyuk Sohn, David Berthelot, Chun-Liang Li, Zizhao Zhang, Nicholas Carlini, Ekin D Cubuk, Alex Kurakin, Han Zhang, and Colin Raffel. Fixmatch: Simplifying semi-supervised learning with consistency and confidence. arXiv preprint arXiv:2001.07685, 2020. ",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
174,
|
| 1289 |
+
690,
|
| 1290 |
+
825,
|
| 1291 |
+
734
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 10
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "text",
|
| 1297 |
+
"text": "Karthik Sridharan and Sham M Kakade. An information theoretic framework for multi-view learning. 2008. ",
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
169,
|
| 1300 |
+
742,
|
| 1301 |
+
825,
|
| 1302 |
+
772
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 10
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "Aravind Srinivas, Michael Laskin, and Pieter Abbeel. Curl: Contrastive unsupervised representations for reinforcement learning. arXiv preprint arXiv:2004.04136, 2020. ",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
173,
|
| 1311 |
+
781,
|
| 1312 |
+
825,
|
| 1313 |
+
810
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 10
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "Yonglong Tian, C. Sun, Ben Poole, Dilip Krishnan, C. Schmid, and Phillip Isola. What makes for good views for contrastive learning. ArXiv, abs/2005.10243, 2020. ",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
174,
|
| 1322 |
+
819,
|
| 1323 |
+
823,
|
| 1324 |
+
848
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 10
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "Michael Tschannen, Josip Djolonga, Paul K Rubenstein, Sylvain Gelly, and Mario Lucic. On mutual information maximization for representation learning. arXiv preprint arXiv:1907.13625, 2019. ",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
174,
|
| 1333 |
+
857,
|
| 1334 |
+
823,
|
| 1335 |
+
887
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 10
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "Haohan Wang, Songwei Ge, E. Xing, and Zachary Chase Lipton. Learning robust global representations by penalizing local predictive power. ArXiv, abs/1905.13549, 2019. ",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
174,
|
| 1344 |
+
895,
|
| 1345 |
+
823,
|
| 1346 |
+
924
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 10
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V Le. Unsupervised data augmentation. arXiv preprint arXiv:1904.12848, 2019. ",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
173,
|
| 1355 |
+
103,
|
| 1356 |
+
825,
|
| 1357 |
+
132
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 11
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"text": "Yang You, Igor Gitman, and Boris Ginsburg. Large batch training of convolutional networks. arXiv preprint arXiv:1708.03888, 2017. ",
|
| 1364 |
+
"bbox": [
|
| 1365 |
+
171,
|
| 1366 |
+
141,
|
| 1367 |
+
825,
|
| 1368 |
+
170
|
| 1369 |
+
],
|
| 1370 |
+
"page_idx": 11
|
| 1371 |
+
}
|
| 1372 |
+
]
|
parse/train/9p2ekP904Rs/9p2ekP904Rs_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/9p2ekP904Rs/9p2ekP904Rs_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/GzHjhdpk-YH/GzHjhdpk-YH.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/GzHjhdpk-YH/GzHjhdpk-YH_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/GzHjhdpk-YH/GzHjhdpk-YH_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/GzHjhdpk-YH/GzHjhdpk-YH_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Ja-hVQrf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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Rebooting ACGAN: Auxiliary Classifier GANs with Stable Training
|
| 2 |
+
|
| 3 |
+
Minguk Kang Woohyeon Shim Minsu Cho Jaesik Park
|
| 4 |
+
|
| 5 |
+
Pohang University of Science and Technology (POSTECH), South Korea {mgkang, wh.shim, mscho, jaesik.park}@postech.ac.kr
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
Conditional Generative Adversarial Networks (cGAN) generate realistic images by incorporating class information into GAN. While one of the most popular cGANs is an auxiliary classifier GAN with softmax cross-entropy loss (ACGAN), it is widely known that training ACGAN is challenging as the number of classes in the dataset increases. ACGAN also tends to generate easily classifiable samples with a lack of diversity. In this paper, we introduce two cures for ACGAN. First, we identify that gradient exploding in the classifier can cause an undesirable collapse in early training, and projecting input vectors onto a unit hypersphere can resolve the problem. Second, we propose the Data-to-Data Cross-Entropy loss (D2D-CE) to exploit relational information in the class-labeled dataset. On this foundation, we propose the Rebooted Auxiliary Classifier Generative Adversarial Network (ReACGAN). The experimental results show that ReACGAN achieves state-of-the-art generation results on CIFAR10, Tiny-ImageNet, CUB200, and ImageNet datasets. We also verify that ReACGAN benefits from differentiable augmentations and that D2D-CE harmonizes with StyleGAN2 architecture. Model weights and a software package that provides implementations of representative cGANs and all experiments in our paper are available at https://github.com/POSTECH-CVLab/PyTorch-StudioGAN.
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
Generative Adversarial Networks (GAN) [1] are known for the forefront approach to generating high-fidelity images of diverse categories [2, 3, 4, 5, 6, 7, 8, 9]. Behind the sensational generation ability of GANs, there has been tremendous effort to develop adversarial objectives free from the vanishing gradient problem [10, 11, 12], regularizations for stabilizing adversarial training [11, 13, 14, 3, 15, 16, 17], and conditioning techniques to support the adversarial training using category information of the dataset [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28]. Subsequently, the conditioning techniques have become the de facto standard for high-quality image generation. The models with the conditioning methods are called conditional Generative Adversarial Networks (cGAN), and cGANs can be divided into two groups depending on the discriminator’s conditioning way: classifier-based GANs [18, 20, 23, 25, 27] and projection-based GANs [19, 3, 4, 28].
|
| 14 |
+
|
| 15 |
+
The classifier-based GANs facilitate an auxiliary classifier to generate class-specific images by penalizing the generator if the synthesized images are not consistent with the conditioned labels. ACGAN [18] has been one of the widely used classifier-based GANs for its simple design and satisfactory generation performance. While ACGAN can exploit class information by pushing and pulling classifier’s weights (proxies) against image embeddings [23], it is well known that ACGAN training is prone to collapsing at the early stage of training as the number of classes increases [19, 23, 25, 27]. In addition, the generator of ACGAN tends to generate easily classifiable images at the cost of reduced diversity [18, 19, 27]. Projection-based GANs, on the other hand, have shown cutting-edge generation results on datasets with a large number of categories. SNGAN [3],
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: Schematics that depict how cGANs perform conditioning. The red color means positive samples/proxy, and the blue color indicates negative samples/proxies. Arrows represent push-pull forces based on the reference sample. The length of an arrow indicates the magnitude of the force.
|
| 19 |
+
|
| 20 |
+
SAGAN [29], and BigGAN [4] are representatives in this family and can generate realistic images on CIFAR10 [30] and ImageNet [31] datasets. However, projection-based GANs only consider a pairwise relationship between an image and its label proxy (data-to-class relationships). As the result, the projection-based GANs can miss an additional opportunity to consider relation information between data instances (data-to-data relationships) as discovered by [23].
|
| 21 |
+
|
| 22 |
+
In this paper, we analyze why ACGAN training becomes unstable as the number of classes increases and propose remedies for (1) the instability and (2) the relatively poor generation performance of ACGAN compared with the projection-based models. First, we begin by analytically deriving the gradient of the softmax cross-entropy loss used in ACGAN. By examining the exact values of analytic gradients, we discover that the unboundedness of input feature vectors and poor classification performance in the early training stage can cause an undesirable gradient exploding problem. Second, with alleviating the instability, we propose the Rebooted Auxiliary Classifier Generative Adversarial Networks (ReACGAN) using the Data-to-Data Cross-Entropy loss (D2D-CE). ReACGAN projects image embeddings and proxies onto a unit hypersphere and computes similarities for data-to-data and data-to-class consideration. Additionally, we introduce two margin values for intra-class variations and inter-class separability. In this way, ReACGAN overcomes the training instability and can exploit additional supervisory signals by explicitly considering data-to-class and data-to-data relationships, and also by implicitly looking at class-to-class relationships in the same mini-batch.
|
| 23 |
+
|
| 24 |
+
To validate our model, we conduct image generation experiments on CIFAR10 [30], TinyImageNet [32], CUB200 [33], and ImageNet [31] datasets. Through extensive experiments, we demonstrate that ReACGAN beats both the classifier-based and projection-based GANs, improving over the state of the art by $2 . 5 \%$ , $1 5 . 8 \%$ , $5 . 1 \%$ , and $1 4 . 5 \%$ in terms of Fréchet Inception Distance (FID) [34] on the four datasets, respectively. We also verify that ReACGAN benefits from consistency regularization [16] and differentiable augmentations [9, 8] for limited data training. Finally, we confirm that D2D-CE harmonizes with the StyleGAN2 architecture [7].
|
| 25 |
+
|
| 26 |
+
# 2 Background: Generative Adversarial Networks
|
| 27 |
+
|
| 28 |
+
Generative Adversarial Network (GAN) [1] is an implicit generative model that aims to generate a sample indistinguishable from the real. GAN consists of two networks: a Generator $G : { \mathcal { Z } } \longrightarrow { \mathcal { X } }$ that tries to map a latent variable $\mathbf { z } \sim p ( \mathbf { z } )$ into the real data space $\mathcal { X }$ and a Discriminator $D : \mathcal { X } \longrightarrow$ [0, 1] that strives to discriminate whether a given sample $\mathbf { x }$ is from the real data distribution $p _ { \mathrm { r e a l } } ( \mathbf { x } )$ or from the implicit distribution $p _ { \mathrm { g e n } } ( G ( \mathbf { z } ) )$ derived from the generator $G ( \mathbf { z } )$ . The objective of a vanilla GAN [1] can be expressed as follows:
|
| 29 |
+
|
| 30 |
+
$$
|
| 31 |
+
\operatorname* { m i n } _ { G } \operatorname* { m a x } _ { D } \mathbb { E } _ { \mathbf { x } \sim p ( \mathbf { x } ) } [ \log ( D ( \mathbf { x } ) ) ] + \mathbb { E } _ { \mathbf { z } \sim p ( \mathbf { z } ) } [ \log ( 1 - D ( G ( \mathbf { z } ) ) ) ] .
|
| 32 |
+
$$
|
| 33 |
+
|
| 34 |
+
While GANs have shown impressive results in the image generation task [2, 35, 11, 13], training GANs often ends up encountering a mode-collapse problem [36, 11, 12]. As one of the prescriptions for stabilizing and reinforcing GANs, training GANs with categorical information, named conditional Generative Adversarial Networks (cGAN), is suggested [37, 18, 19]. Depending on the presence of explicit classification losses, cGAN can be divided into two groups: Classifier-based GANs [18, 20, 23, 25, 27] and Projection-based GANs [19, 3, 4, 28]. One of the widely used classifier-based GANs is ACGAN [18], and ACGAN utilizes softmax cross-entropy loss to perform classification task with adversarial training. Although ACGAN has shown satisfactory generation results, training ACGAN becomes unstable as the number of classes in the training dataset increases [19, 23, 25, 27]. Besides, ACGAN tends to generate easily classifiable images at the cost of limited diversity [18, 19, 27]. To alleviate those problems, Zhou et al. [38] have proposed performing adversarial training on the classifier. Gong et al. [20] have introduced an additional classifier to eliminate a conditional entropy minimization process in the adversarial training. However, ACGAN training still suffers from the early-training collapse issue and the reduced diversity problem when trained on datasets with a large number of class categories, such as Tiny-ImageNet [32] and ImageNet [31].
|
| 35 |
+
|
| 36 |
+
In these circumstances, Miyato et al. [19] have proposed a projection discriminator for cGANs and have shown significant improvement in generating the ImageNet dataset. Motivated by the promising result of the projection discriminator, many projection-based GANs [3, 29, 4, 16, 6, 17] have been proposed and become the standard for conditional image generation. In this paper, we revisit ACGAN and unveil why ACGAN training is so unstable. Coping with the instability, we propose the Rebooted Auxiliary Classifier GANs (ReACGAN) for high-quality and diverse image generation.
|
| 37 |
+
|
| 38 |
+
# 3 Rebooting Auxiliary Classifier GANs
|
| 39 |
+
|
| 40 |
+
# 3.1 Feature Normalization
|
| 41 |
+
|
| 42 |
+
To uncover a nuisance that can cause the instability of ACGAN, we start by analytically deriving the gradients of weight vectors in the softmax classifier. Let the part of the discriminator before the fully connected layer be a Feature extractor $F : \mathcal { X } \longrightarrow \mathcal { F } \in \bar { \mathbb { R } ^ { d } }$ and let Classifier $C : { \mathcal { F } } \longrightarrow \mathbb { R } ^ { c }$ be a single fully connected layer parameterized by $\pmb { W } = [ \pmb { w } _ { 1 } , . . . , \pmb { w } _ { c } ] \in \mathbb { R } ^ { d \times c }$ , where $c$ denotes the number of classess. We sample training images $\pmb { X } = \{ \pmb { x } _ { 1 } , . . . , \pmb { x } _ { N } \}$ and integer labels ${ \textbf { 3 } } =$ $\{ y _ { 1 } , . . . , y _ { N } \}$ from the joint distribution $p ( \mathbf { x } , \mathbf { y } )$ . Using the notations above, we can express the empirical cross-entropy loss used in ACGAN [18] as follows:
|
| 43 |
+
|
| 44 |
+
$$
|
| 45 |
+
\mathcal { L } _ { \mathrm { C E } } = - \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \log \Big ( \frac { \exp \left( F ( \pmb { x } _ { i } ) ^ { \top } \pmb { w } _ { y _ { i } } \right) } { \sum _ { j = 1 } ^ { c } \exp \left( F ( \pmb { x } _ { i } ) ^ { \top } \pmb { w } _ { j } \right) } \Big ) .
|
| 46 |
+
$$
|
| 47 |
+
|
| 48 |
+
Based on Eq. (3), we can derive the derivative of the cross-entropy loss, w.r.t ${ \pmb w } _ { k \in \{ 1 , \dots , c \} }$ as follows:
|
| 49 |
+
|
| 50 |
+
$$
|
| 51 |
+
\frac { \partial \mathcal { L } _ { \mathrm { C E } } } { \partial \boldsymbol { w } _ { k } } = - \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \bigg \{ F ( \boldsymbol { x } _ { i } ) \bigg ( \mathbf { 1 } _ { y _ { i } = k } - p _ { i , k } \bigg ) \bigg \} ,
|
| 52 |
+
$$
|
| 53 |
+
|
| 54 |
+
where $\mathbf { 1 } _ { \mathit { y } _ { i } = k }$ is an indicator function that will output 1 if $y _ { i } = k$ is satisfied, and $p _ { i , k }$ is a class probability that represents the probability that $i$ -th sample belongs to class $k$ , mathematically $\frac { \exp { ( F ( \pmb { x } _ { i } ) ^ { \top } \pmb { w } _ { k } ) } } { \sum _ { j = 1 } ^ { c } \exp { ( F ( \pmb { x } _ { i } ) ^ { \top } \pmb { w } _ { j } ) } }$ . The equation above implies that the norm of the gradient of the softmax cross-entropy loss is coupled with the norms and directions of each input feature map $F ( { \pmb x } _ { i } )$ and the class probabilities. In the early training stage, the classifier is prone to making incorrect predictions, resulting in low probabilities. This phenomenon occurs more frequently as the number of categories in the dataset increases. As the result, the norm of the gradient $| \frac { \partial \hat { \mathcal { L } } _ { \mathrm { C E } } } { \partial w _ { k } } |$ begins to explode as the vector $F ( { \pmb x } _ { i } )$ stretches out to ${ \pmb w } _ { k }$ direction but being located close to the the other vectors ${ \pmb w } _ { j \in \{ 1 , . . . , c \} \backslash \{ k \} }$ . This often breaks the balance between adversarial learning and classifier training, leading to an early-training collapse. Once the early-training collapse occurs, ACGAN training concentrates on classifying categories of images instead of discriminating the authenticity of given samples. We experimentally demonstrate that the average norm of ACGAN’s input feature maps increases as the training progresses (Fig. 2a). Accordingly, the average norm of the gradients increases sharply at the early training stage and decreases with the high class probabilities of the classifier (Fig. 2b, Fig. A3 in Appendix). While the average norm of gradients decreases at some point, the FID value of ACGAN does not decrease, implying the collapse of ACGAN training (Fig. 2c).
|
| 55 |
+
|
| 56 |
+

|
| 57 |
+
Figure 2: Merits of integrating feature normalization and data-to-data relationship consideration. All experiments are conducted on Tiny-ImageNet [32] dataset. (a) Average norms of input feature maps $\bar { F } ( \cdot )$ , (b) average norms of gradients of classification losses, and (c) trends of FID scores. Compared with ACGAN [18], the proposed ReACGAN does not experience the training collapse problem caused by excessively large norms of feature maps and gradients at the early training stage. In addition, ReACGAN can converge to better equilibrium by considering data-to-data relationships with easy positive and negative sample suppression.
|
| 58 |
+
|
| 59 |
+
As one of the remedies for the gradient exploding problem, we find that simply normalizing the feature embeddings onto a unit hypersphere $\frac { F ( { \pmb x } _ { i } ) } { | | F ( { \pmb x } _ { i } ) | | }$ effectively resolves ACGAN’s early-training collapse (see Fig. 2). The motivation is that normalizing the features onto the hypersphere makes the norms of feature maps equal to 1.0. Thus, the discriminator does not experience the gradient exploding problem. From the next section, we will deploy a linear projection layer $P$ on the feature extractor $F$ . And, we will normalize both the embeddings from the projection layer and the weight vectors $( \pmb { w } _ { 1 } , . . . , \pmb { w } _ { c } )$ in the classifier since normalizing both the embeddings and the weight vectors does not degrade image generation performance. We denote the normalized embedding P (F (xi))||P (F (xi))|| as $f _ { i }$ and the normalized weight vector $\frac { { \pmb w } _ { y _ { i } } } { | | { \pmb w } _ { y _ { i } } | | }$ as vyi .
|
| 60 |
+
|
| 61 |
+
# 3.2 Data-to-Data Cross-Entropy Loss (D2D-CE)
|
| 62 |
+
|
| 63 |
+
We expand the feature normalized softmax cross-entropy loss described in Sec. 3.1 to the Data-to-Data Cross-Entropy (D2D-CE) loss. The motivations are summarized into two points: (1) replacing datato-class similarities in the denominator of Eq. (3) with data-to-data similarities and (2) introducing two margin values to the modified softmax cross-entropy loss. We expect that point (1) will encourage the feature extractor to consider data-to-class as well as data-to-data relationships, and that point (2) will guarantee inter-class separability and intra-class variations in the feature space while preventing ineffective gradient updates induced by easy negative and positive samples. To develop the feature normalized cross-entropy loss into D2D-CE, we replace the similarities between a sample embedding and all proxies except for the positive one in the denominator, $\begin{array} { r } { \sum _ { j \in \{ 1 , \dots , c \} \backslash \{ y _ { i } \} } \exp \left( \mathbf { { f } } _ { i } ^ { \top } \mathbf { { v } } _ { j } \right) } \end{array}$ with similarities between negative samples in the same mini-batch. The modified cross-entropy loss can be expressed as follows:
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
\mathcal { L } _ { \mathrm { C E } } ^ { ' } = - \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \log \Bigg ( \frac { \exp { ( f _ { i } ^ { \top } v _ { y _ { i } } / \tau ) } } { \exp { ( f _ { i } ^ { \top } v _ { y _ { i } } / \tau ) } + \sum _ { j \in N ( i ) } \exp { ( f _ { i } ^ { \top } f _ { j } / \tau ) } } \Bigg ) ,
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
where $\tau$ is a temperature, and $\mathcal { N } ( i )$ is the set of indices that point locations of the negative samples whose labels are different from the reference label $\pmb { v } _ { y _ { i } }$ in the mini-batch. The self-similarity matrix of samples in the mini-batch is used to calculate the similarities between negative samples $\pmb { f } _ { i } ^ { \top } \pmb { f } _ { j \in \mathcal { N } ( i ) }$ with a false negative mask (see Fig. 3). Thus, Eq. (5) enables the discriminator to contrastively compare visual differences between multiple images and can supply more informative supervision for image conditioning. Finally, we introduce two margin hyperparameters to $\mathcal { L } _ { \mathrm { C E } } ^ { ' }$ and name it Data-to-Data Cross-Entropy loss (D2D-CE). The proposed D2D-CE can be expressed as follows:
|
| 70 |
+
|
| 71 |
+
$$
|
| 72 |
+
\mathcal { L } _ { \mathrm { D 2 D - C E } } = - \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \log \Bigg ( \frac { \exp \left( [ f _ { i } ^ { \top } v _ { y _ { i } } - m _ { p } ] _ { - } / \tau \right) } { \exp \left( [ f _ { i } ^ { \top } v _ { y _ { i } } - m _ { p } ] _ { - } / \tau \right) + \sum _ { j \in N ( i ) } \exp \left( [ f _ { i } ^ { \top } f _ { j } - m _ { n } ] _ { + } / \tau \right) } \Bigg ) ,
|
| 73 |
+
$$
|
| 74 |
+
|
| 75 |
+

|
| 76 |
+
Figure 3: Overview of ReACGAN. ReACGAN performs adversarial training using the loss ${ \mathcal { L } } _ { \mathrm { A d v } }$ . At the same time, ReACGAN tries to minimize data-to-data cross-entropy loss (D2D-CE) on the linear head $( P )$ to exploit relational information in the labeled dataset. $^ { \circ }$ means element-wise product. Note that False negatives mask operates on the similarity matrix between two batches of sample embeddings to compute the similarities between negative samples in the denominator of Eq. (6).
|
| 77 |
+
|
| 78 |
+
where $m _ { p }$ is a margin for suppressing a high similarity value between a reference sample and its corresponding proxy (easy positive), $m _ { n }$ is a margin for suppressing low similarity values between negatives samples (easy negatives). $[ \cdot ] _ { - }$ and $[ \cdot ] _ { + }$ denote $\operatorname* { m i n } ( \cdot , 0 )$ and $\operatorname* { m a x } ( \cdot , 0 )$ functions, respectively.
|
| 79 |
+
|
| 80 |
+
# 3.3 Useful Properties of Data-to-Data Cross-Entropy Loss
|
| 81 |
+
|
| 82 |
+
In this subsection, we explain four useful properties of D2D-CE. Let $s _ { q }$ be a similarity between the normalized embedding $f _ { q }$ and the corresponding normalized proxy ${ \pmb v } _ { y _ { q } }$ , $s _ { q , r }$ be a similarity between $f _ { q }$ and $f _ { r }$ , and $a$ and $\mathit { b }$ be arbitrary indices of negative samples, i.e., $a , b \in \mathcal { N } ( q )$ . Then the properties of D2D-CE can be summarized as follows:
|
| 83 |
+
|
| 84 |
+

|
| 85 |
+
Figure 4: Graph showing regions where hard negative mining, easy positive and negative suppression, and no gradient update occur.
|
| 86 |
+
|
| 87 |
+
Property 1. Hard negative mining. If the value of $s _ { q , a }$ is greater than $s _ { q , b }$ , the derivative of LD2D-CE w.r.t $s _ { q , a }$ is greater than or equal to the derivative $w . r . t \ s _ { q , b }$ ; that is $\begin{array} { r } { \frac { \partial \mathcal { L } _ { D 2 D - C E } } { \partial s _ { q , a } } \geq \frac { \partial \mathcal { L } _ { D 2 D - C E } } { \partial s _ { q , b } } \geq 0 . } \end{array}$
|
| 88 |
+
|
| 89 |
+
Property 2. Easy positive suppression. If $s _ { q } \mathrm { ~ - ~ }$ $m _ { p } \geq 0$ , the derivative of $\mathcal { L } _ { D 2 D - C E } w . r . t s _ { q }$ is 0.
|
| 90 |
+
|
| 91 |
+
Property 3. Easy negative suppression. If $s _ { q , r } - m _ { n } \leq 0 ,$ , the derivative of $\mathcal { L } _ { D 2 D - C E } w . r . t s _ { q , r }$ is 0. Property 4. If $s _ { q } - m _ { p } \ge 0$ and $s _ { q , r } - m _ { n } \leq 0$ are satisfied, $\mathcal { L } _ { D 2 D - C E }$ has the global minima of $\begin{array} { r } { \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \log \left( 1 + \bar { | \mathcal { N } ( i ) | } \right) } \end{array}$ .
|
| 92 |
+
|
| 93 |
+
We put proofs of the above properties in Appendix D. Property 1 indicates that D2D-CE implicitly conducts hard negative mining and benefits from comparing samples with each other. Also, Properties 2 and 3 imply that samples will not affect gradient updates if the samples are trained sufficiently. Consequently, the classifier concentrates on pushing and pulling hard negative and hard positive examples without being dominated by easy negative and positive samples.
|
| 94 |
+
|
| 95 |
+
# 3.4 Rebooted Auxiliary Classifier Generative Adversarial Networks (ReACGAN)
|
| 96 |
+
|
| 97 |
+
With the proposed D2D-CE objective, we propose the Rebooted Auxiliary Classifier Generative Adversarial Networks (ReACGAN). As ACGAN does, ReACGAN jointly optimizes an adversarial loss and the classification objective (D2D-CE). Specifically, the discriminator, which consists of the feature extractor, adversarial head, and linear head, of ReACGAN tries to discriminate whether a given image is sampled from the real distribution or not. At the same time, the discriminator tries to maximize similarities between the reference samples and corresponding proxies while minimizing similarities between negative samples using real images and D2D-CE loss. After updating the discriminator a predetermined number of times, the generator strives to deceive the discriminator by generating well-conditioned images that will output a low D2D-CE value. By alternatively training the discriminator and generator until convergence, ReACGAN generates high-quality images of diverse categories without early-training collapse. We attach the algorithm table in Appendix A.
|
| 98 |
+
|
| 99 |
+
Differences between ReACGAN and ContraGAN. The authors of ContraGAN [23] propose a conditional contrastive loss (2C loss) to cover data-to-data relationships when training cGANs. The main differences between 2C loss and D2D-CE objective are summed up into three points: (1) while 2C loss is derived from NT-Xent loss [39], which is popularly used in the field of the self-supervised learning, our D2D-CE is developed to resolve the early-training collapsing problem and the poor generation results of ACGAN, (2) 2C loss holds false-negative samples in the denominator, and they can cause unexpected positive repulsion forces, and (3) 2C loss contains the similarities between all positive samples in the numerator, and they give rise to large gradients on pulling easy positive samples. Consequently, GANs with 2C loss tend to synthesize images of unintended classes as reported in the author’s software document [40]. However, D2D-CE does not contain the false negatives in the denominator and considers only the similarity between a sample and its proxy in the numerator. Therefore, ReACGAN is free from the undesirable repelling forces and does not conduct unnecessary easy positive mining. More detailed explanations are attached in Appendix F.
|
| 100 |
+
|
| 101 |
+
Consistency Regularization and D2D-CE Loss. Zhang et al. [16] propose a consistency regularization to force the discriminator to make consistent predictions if given two images are visually close to each other. They create a visually similar image pair by augmenting a reference image with pre-defined augmentations. After that, they let the discriminator minimize L2 distance between the logit of the reference image and the logit of the augmented counterpart. While ReACGAN locates an image embedding nearby its corresponding proxy but far apart multiple image embeddings of different classes, consistency regularization only pulls a reference and the augmented image towards each other. Since consistency regularization and D2D-CE can be applied together, we will show that ReACGAN benefits from consistency regularization in the experiments section (Table 1).
|
| 102 |
+
|
| 103 |
+
# 4 Experiments
|
| 104 |
+
|
| 105 |
+
# 4.1 Datasets and Evaluation Metrics
|
| 106 |
+
|
| 107 |
+
To verify the effectiveness of ReACGAN, we conduct conditional image generation experiments using five datasets: CIFAR10 [30], Tiny-ImageNet [32], CUB200 [33], ImageNet [31], and AFHQ [41] datasets and four evaluation metrics: Inception Score (IS) [42], Fréchet Inception Distance (FID) [34], and $\mathrm { F _ { 0 . 1 2 5 } }$ (Precision) and $\mathrm { F } _ { 8 }$ (Recall) [43]. The details on the training datasets are in Appendix C.1.
|
| 108 |
+
|
| 109 |
+
Inception Score (IS) [42] and Fréchet Inception Distance (FID) [34] are widely used metrics for evaluating generative models. We utilize IS and FID together because some studies [4, 6, 25] have shown that IS has a tendency to measure the fidelity of images better while FID tends to weight capturing the diversity of images.
|
| 110 |
+
|
| 111 |
+
Precision $\bf ( F _ { 0 . 1 2 5 } )$ and Recall $\bf ( F _ { 8 } )$ [43] are metrics for estimating precision and recall of the approximated distribution $p ( G ( \mathbf { z } ) )$ against the true data distribution $p ( \mathbf { x } )$ . Instead of evaluating generative models using one-dimensional scores, such as IS and FID, Sajjadi et al. [43] have suggested using a two-dimensional score $\mathrm { F _ { 0 . 1 2 5 } }$ and $\mathrm { F } _ { 8 }$ that can quantify how precisely the generated images are and how well the generated images cover the reference distribution.
|
| 112 |
+
|
| 113 |
+
# 4.2 Experimental Details
|
| 114 |
+
|
| 115 |
+
The implementation of ReACGAN basically follows details of PyTorch-StudioGAN library [40]1 that supports various experimental setups from ACGAN [18] to StyleGAN2 [7] $^ +$ ADA [8] with different scales of datasets [30, 32, 33, 31, 41] and architectures [2, 13, 4, 7]. For a fair comparison, we use the same backbones over all baselines, except otherwise noted, for both the discriminator and generator. For stable training, we apply spectral normalization (SN) [3] to the generator and discriminator except for experiments using SNGAN (in this case, we apply SN to the discriminator only) and StyleGAN2 [7]. We also use the same conditioning method for generators with conditional batch normalization (cBN) [44, 45, 19]. This allows us to investigate solely the conditioning methods of the discriminator, which are the main interest of our paper. If not specified, we use hinge loss [46] as a default for the adversarial loss.
|
| 116 |
+
|
| 117 |
+
Table 1: Comparison with classifier-based GANs [18, 23] and projection-based GANs [3, 4, 29] on CIFAR10 [30], Tiny-ImageNet [32], and CUB200 [33] datasets using IS [42], FID [34], $\mathrm { F } _ { 0 . 1 2 5 }$ , and $\mathrm { F } _ { 8 }$ [43] metrics. For baselines, both the numbers from the cited paper (denoted as \* in method) and from our experiments using StudioGAN library [40] are reported. The numbers in bold-faced denote the best performance and in underline indicate the values are in one standard deviation from the best.
|
| 118 |
+
|
| 119 |
+
<table><tr><td rowspan="2">Method</td><td colspan="4">CIFAR10 [30]</td><td colspan="4">Tiny-ImageNet [32]</td><td colspan="4">CUB200 [33]</td></tr><tr><td>IS↑</td><td>FID↓</td><td>F0.125↑F8↑</td><td></td><td></td><td></td><td>IS↑FID↓F0.125↑F8↑</td><td></td><td></td><td></td><td>IS↑FID↓F0.125↑F8↑</td><td></td></tr><tr><td>SNGAN*[3]</td><td>8.22</td><td>21.7</td><td>=</td><td>-</td><td>1</td><td>-</td><td>=</td><td>=</td><td>-</td><td>=</td><td>=</td><td>-</td></tr><tr><td>BigGAN*[4]</td><td>9.22</td><td>14.73</td><td>=</td><td>-</td><td>=</td><td>-</td><td></td><td>=</td><td>-</td><td></td><td>-</td><td>1</td></tr><tr><td>ContraGAN* [23]</td><td>1</td><td>10.60</td><td></td><td></td><td></td><td>29.49</td><td></td><td></td><td></td><td></td><td></td><td>1</td></tr><tr><td>ACGAN[18]</td><td>9.84</td><td>8.45</td><td>0.993</td><td>0.992</td><td>6.00</td><td>96.04</td><td>0.656</td><td>0.368</td><td>6.09</td><td>60.73</td><td>0.726</td><td>0.891</td></tr><tr><td>SNGAN [3]</td><td>8.67</td><td>13.33</td><td>0.985</td><td>0.976</td><td>8.71</td><td>51.15</td><td>0.900</td><td>0.702</td><td>5.41</td><td>47.75</td><td>0.754</td><td>0.912</td></tr><tr><td>SAGAN [29]</td><td>8.66</td><td>14.31</td><td>0.983</td><td>0.973</td><td>8.74</td><td>49.90</td><td>0.872</td><td>0.712</td><td>5.48</td><td>54.29</td><td>0.728</td><td>0.882</td></tr><tr><td>BigGAN[4]</td><td>9.81</td><td>8.08</td><td>0.993</td><td>0.992</td><td>12.78</td><td>32.03</td><td>0.948</td><td>0.868</td><td>4.98</td><td>18.30</td><td>0.924</td><td>0.967</td></tr><tr><td>ContraGAN [23]</td><td>9.70</td><td>8.22</td><td>0.993</td><td>0.991</td><td>13.46</td><td>28.55</td><td>0.974</td><td>0.881</td><td>5.34</td><td>21.16</td><td>0.935</td><td>0.942</td></tr><tr><td>ReACGAN</td><td>9.89</td><td>7.88</td><td>0.994</td><td>0.992</td><td></td><td>14.06 27.10</td><td>0.970</td><td>0.894</td><td>4.91</td><td>15.40</td><td>0.970</td><td>0.954</td></tr><tr><td>BigGAN +CR*[16]</td><td>-</td><td>11.48</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>BigGAN [4]+ CR[16]</td><td>9.97</td><td>7.18</td><td>0.995</td><td>0.993</td><td></td><td>15.94 19.96</td><td>0.972</td><td>0.950 5.14</td><td></td><td>11.97</td><td>0.978</td><td>0.981</td></tr><tr><td>ContraGAN [23] + CR[16]</td><td>9.59</td><td>8.55</td><td>0.992</td><td>0.972</td><td>15.81</td><td>19.21</td><td>0.983</td><td>0.941</td><td>4.90</td><td>11.08</td><td>0.984</td><td>0.967</td></tr><tr><td>ReACGAN + CR [16]</td><td>10.11</td><td>7.20</td><td>0.996</td><td>0.994 16.56</td><td></td><td>19.69</td><td>0.984</td><td>0.940</td><td>4.87</td><td>10.72</td><td>0.985</td><td>0.971</td></tr><tr><td>BigGAN + DiffAug*[9]</td><td>9.17</td><td>8.49</td><td></td><td></td><td>=</td><td></td><td>=</td><td>=</td><td>=</td><td></td><td></td><td></td></tr><tr><td>BigGAN [4] + DiffAug [9]</td><td>9.94</td><td>7.17</td><td>0.995</td><td>0.992</td><td></td><td>18.0815.70</td><td>0.980</td><td>0.972</td><td>5.53</td><td>12.15</td><td>0.967</td><td>0.981</td></tr><tr><td>ContraGAN [23] + DiffAug [9]</td><td>9.95</td><td>7.27</td><td>0.995</td><td>0.992</td><td>18.20</td><td>15.40</td><td>0.986</td><td>0.963</td><td>5.39</td><td>11.02</td><td>0.978</td><td>0.970</td></tr><tr><td>ReACGAN + DiffAug [9]</td><td>10.22</td><td>6.79</td><td>0.996</td><td>0.993</td><td>20.60</td><td>14.25</td><td>0.988</td><td>0.972</td><td>5.22</td><td>9.27</td><td>0.985</td><td>0.983</td></tr><tr><td>Real Data</td><td colspan="2">11.54</td><td colspan="2">34.11</td><td colspan="2"></td><td colspan="2"></td><td colspan="2">5.49</td><td colspan="2"></td></tr></table>
|
| 120 |
+
|
| 121 |
+
Before conducting main experiments, we perform hyperparameter search with candidates of a temperature $\tau \in \{ 0 . 1 2 5 , 0 . 2 5 , 0 . 5 , 0 . 7 5 , 1 . 0 \}$ and a positive margin $m _ { p } \in \ \{ 0 . 5 , 0 . 7 5 , 0 . 9 , 0 . 9 5 , 0 . 9 8 , \bar { 1 . 0 } \}$ . We set a negative margin $m _ { n }$ as $1 \ : - \ : m _ { p }$ to reduce search time. Through extensive experiments with 3 runs per each setting, we select $\tau$ with $\{ 0 . 5 , 0 . 7 5 , 0 . 2 5 , 0 . 5 , 0 . 2 5 \}$ and $m _ { p }$ with $\{ 0 . 9 8 , 1 . 0 , 0 . 9 5 , 0 . 9 \bar { 8 } , 0 . 9 0 \}$ for CIFAR10, Tiny-ImageNet, CUB200, ImageNet 256 B.S., and ImageNet 2048 B.S. experiments, respectively. A low temperature seems to work well on fine-grained image generation tasks, but generally, ReACGAN is robust to the choice of hyperparameters. The results of the hyperparameter search and other hyperparameter setups are provided in Appendix C.2.
|
| 122 |
+
|
| 123 |
+
We evaluate all methods through the same protocol of [9, 16, 17], which uses the same amounts of generated images from the reference split specialized for each dataset.2 Besides, we run all the experiments three times with random seeds and report the averaged best performances for reliable evaluation with the lone exception of ImageNet and StyleGAN2 related experiments. Please refer to Appendix C.2 for other experimental details. The numbers in bold-faced denote the best performance and in underline indicate that the values are in one standard deviation from the best.
|
| 124 |
+
|
| 125 |
+
# 4.3 Evaluation Results
|
| 126 |
+
|
| 127 |
+
Comparison with Other cGANs. We compare ReACGAN with previous state-of-the-art cGANs in Tables 1 and 2. We employ the implementations of GANs in PyTorch-StudioGAN library as it provides improved results on standard benchmark datasets [30, 31]. For a fair comparison, we provide results from each original paper (denoted as \* in method) as well as those from StudioGAN library [40]. We also conduct experiments with popular augmentation-based methods: consistency regularization (CR) [16] and differentiable augmentation (DiffAug) [9].
|
| 128 |
+
|
| 129 |
+
Table 2: Experiments using ImageNet [31] dataset. B.S. means batch size for training. (Left): Comparisons with previous cGAN approaches. (Right): Learning curves of BigGAN [4], ContraGAN [23], and ReACGAN (ours) which are trained using the batch size of 256.
|
| 130 |
+
|
| 131 |
+
<table><tr><td rowspan="2">Method</td><td colspan="5">ImageNet [31]</td></tr><tr><td>IS↑</td><td>FID↓</td><td></td><td>F0.125↑</td><td>F8↑</td></tr><tr><td>ACGAN*</td><td>[20]</td><td>7.26</td><td>184.41</td><td></td><td></td></tr><tr><td>SNGAN*[3]</td><td></td><td>36.80</td><td>27.62</td><td></td><td></td></tr><tr><td>SAGAN*[29]</td><td></td><td>52.52</td><td>18.28</td><td></td><td></td></tr><tr><td>BigGAN*[20]</td><td></td><td>38.05</td><td>22.77</td><td></td><td></td></tr><tr><td></td><td>TAC-GAN*[20]</td><td>28.86</td><td>23.75</td><td></td><td></td></tr><tr><td>ContraGAN*[23]</td><td></td><td>31.10</td><td>19.69</td><td>0.951</td><td>0.927</td></tr><tr><td></td><td>ACGAN[18]</td><td>62.99</td><td>26.35</td><td>0.935</td><td>0.963</td></tr><tr><td>35=58</td><td>SNGAN [3]</td><td>32.25</td><td>26.79</td><td>0.938</td><td>0.913</td></tr><tr><td></td><td>SAGAN [29]</td><td>29.85</td><td>34.73</td><td>0.849</td><td>0.914</td></tr><tr><td></td><td>BigGAN [4]</td><td>43.97</td><td>16.36</td><td>0.964</td><td>0.955</td></tr><tr><td></td><td>ContraGAN [23]</td><td>25.25</td><td>25.16</td><td>0.947</td><td>0.855</td></tr><tr><td>ReACGAN</td><td></td><td>68.27</td><td>13.98</td><td>0.976</td><td>0.977</td></tr><tr><td></td><td>BigGAN [4] + DiffAug [9]</td><td>36.97</td><td>18.57</td><td>0.956</td><td>0.941</td></tr><tr><td></td><td>ReACGAN +DiffAug[9]</td><td>69.74</td><td>11.95</td><td>0.977</td><td>0.975</td></tr><tr><td></td><td>BigGAN*[4]</td><td>99.31</td><td>8.51</td><td>-</td><td>-</td></tr><tr><td>P55=44</td><td>BigGAN*[25]</td><td>104.57</td><td>9.18</td><td></td><td>■</td></tr><tr><td></td><td>BigGAN[4]</td><td>99.71</td><td>7.89</td><td>0.985</td><td>0.989</td></tr><tr><td></td><td>ReACGAN</td><td>92.74</td><td>8.23</td><td>0.991</td><td>0.990</td></tr><tr><td></td><td>Real Data</td><td>173.33</td><td></td><td></td><td></td></tr></table>
|
| 132 |
+
|
| 133 |
+

|
| 134 |
+
|
| 135 |
+
Compared with other cGANs, ReACGAN performs the best on most benchmarks, surpassing the previous methods by $2 . 5 \%$ , $5 . 1 \%$ , $1 5 . 8 \%$ , and $1 4 . 5 \%$ in FID on CIFAR10, Tiny-ImageNet, CUB200, and ImageNet (256 B.S.), respectively. ReACGAN also harmonizes with augmentation-based regularizations, bringing incremental improvements on all the metrics. For the ImageNet experiments using a batch size of 256, ReACGAN reaches higher IS and lower FID with fewer iterations than other models in comparison. Finally, we demonstrate that ReACGAN can learn with a larger batch size on ImageNet. While some recent methods [20, 38, 27] have been built on ACGAN to improve the generation performance of ACGAN, large-scale image generation experiments with the batch size of 2048 have never been reported. Table 2 shows that our ReACGAN reaches FID score of 8.23 on ImageNet, being comparable with the value of 7.89 from BigGAN implementation in PyTorch-StudioGAN library. ReACGAN, however, provides better synthesis results than other implementations of BigGAN [4, 25]. Note that our result on ImageNet is obtained in only two runs while the training setup and architecture of BigGAN have been extensively searched and finely tuned.
|
| 136 |
+
|
| 137 |
+
Comparison with Other Conditioning Losses. We investigate how the generation qualities vary with different conditioning losses while keeping the other configurations fixed. We compare D2D-CE loss with cross-entropy loss of ACGAN (AC) [18], loss used in the projection discriminator (PD) [19], multi-hinge loss (MH) [26], and conditional contrastive loss (2C) [23]. The results are shown in Table 3. AC- and MH-based models present decent results on CIFAR10, but undergo early-training collapse on Tiny-ImageNet and CUB200 datasets. Replacing them with PD, 2C, and D2D-CE losses produce satisfactory performances across all datasets, where PD loss makes the best $\mathrm { F } _ { 8 }$ (recall) on CUB200 dataset while giving third $\mathrm { F _ { 0 . 1 2 5 } }$ (precision) value. The noticeable point is that the proposed D2D-CE shows consistent results across all datasets, showing the lowest FID and the highest $\mathrm { F _ { 8 } }$ and $\mathrm { F _ { 0 . 1 2 5 } }$ values in most cases. This means ReACGAN can generate high-fidelity images and is relatively free from the precision and recall trade-off [43] than the others.
|
| 138 |
+
|
| 139 |
+
Consistent Performance of ReACGAN on Adversarial Loss Selection. We validate the consistent performance of ReACGAN on four adversarial losses: non-saturation loss [1], least square loss [10], Wasserstein loss with gradient penalty regularization (W-GP) [13], and hinge loss [46] on CIFAR10 and Tiny-ImageNet datasets in Table 4. The experimental results show that $\mathrm { B i g G A N } + \mathrm { D } 2 \mathrm { D } { \cdot } \mathrm { C E }$ (ReACGAN) consistently outperforms the projection discriminator (PD) and conditional contrastive loss (2C) counterparts over three adversarial losses [1, 13, 46]. However, for the experiments using the least square loss [10], ReACGAN exhibits inferior generation performances to the projection discriminator. We speculate that minimizing the least square distance between an adversarial logit and the target scalar (1 or 0) might affect the norms of feature maps and spoil the classifier training performed by D2D-CE loss.
|
| 140 |
+
|
| 141 |
+
Table 3: Experiments on the effectiveness of D2D-CE loss compared with other conditioning losses.
|
| 142 |
+
|
| 143 |
+
<table><tr><td rowspan="2">Conditioning Method</td><td colspan="4">CIFAR10 [30]</td><td colspan="4">Tiny-ImageNet [32]</td><td colspan="4">CUB200 [33]</td></tr><tr><td>IS↑</td><td>FID↓</td><td>F0.125↑</td><td>F8↑</td><td>IS个</td><td>FID↓</td><td>F0.125↑</td><td>F8↑</td><td>IS↑</td><td>FID↓</td><td>F0.125↑</td><td>F8↑</td></tr><tr><td>BigGAN w/o Condition [4] (Abbreviated to Big)</td><td>9.46</td><td>12.21</td><td>0.987</td><td>0.982</td><td>7.38</td><td>76.15</td><td>0.804</td><td>0.576</td><td>5.16</td><td>35.17</td><td>0.852</td><td>0.936</td></tr><tr><td>Big + AC[18]</td><td>9.84</td><td>8.45</td><td>0.993</td><td>0.992</td><td>6.00</td><td>96.04</td><td>0.656</td><td>0.368</td><td>6.09</td><td>60.73</td><td>0.726</td><td>0.891</td></tr><tr><td>Big + PD[19]</td><td>9.81</td><td>8.08</td><td>0.993</td><td>0.992</td><td>12.78</td><td>32.03</td><td>0.948</td><td>0.868</td><td>4.98</td><td>18.30</td><td>0.924</td><td>0.967</td></tr><tr><td>Big + MH[26]</td><td>10.05</td><td>7.94</td><td>0.994</td><td>0.990</td><td>4.37</td><td>140.74</td><td>0.282</td><td>0.156</td><td>5.18</td><td>245.69</td><td>0.625</td><td>0.832</td></tr><tr><td>Big + 2C[23]</td><td>9.70</td><td>8.22</td><td>0.993</td><td>0.991</td><td>13.46</td><td>28.55</td><td>0.974</td><td>0.881</td><td>5.34</td><td>21.16</td><td>0.935</td><td>0.942</td></tr><tr><td>Big + D2D-CE (ReACGAN)</td><td>9.89</td><td>7.88</td><td>0.994</td><td>0.992</td><td>14.06</td><td>27.10</td><td>0.970</td><td>0.894</td><td>4.91</td><td>15.40</td><td>0.970</td><td>0.954</td></tr></table>
|
| 144 |
+
|
| 145 |
+
Table 4: Experiments to identify the consistent performance of D2D-CE on adversarial loss selection.
|
| 146 |
+
|
| 147 |
+
<table><tr><td rowspan="2">Adversarial Loss</td><td rowspan="2">Conditioning Method</td><td colspan="5">CIFAR10 [30]</td><td colspan="5">Tiny-ImageNet [32]</td></tr><tr><td>IS个</td><td>FID↓</td><td>F0.125↑</td><td>F8↑</td><td>Better?</td><td>IS个</td><td>FID↓</td><td>F0.125↑</td><td>F8个</td><td>Better?</td></tr><tr><td rowspan="3">Non-saturation [1]</td><td>PD[19]</td><td>9.75</td><td>8.29</td><td>0.993</td><td>0.991</td><td>√</td><td>8.27</td><td>58.85</td><td>0.816</td><td>0.713</td><td></td></tr><tr><td>2C [23]</td><td>9.30</td><td>10.47</td><td>0.990</td><td>0.959</td><td></td><td>6.57</td><td>84.27</td><td>0.745</td><td>0.556</td><td></td></tr><tr><td>D2D-CE</td><td>9.79</td><td>8.27</td><td>0.993</td><td>0.991</td><td>√</td><td>11.76</td><td>39.32</td><td>0.942</td><td>0.852</td><td>√</td></tr><tr><td rowspan="3">Least square [10]</td><td>PD[19]</td><td>9.94</td><td>8.26</td><td>0.993</td><td>0.992</td><td>√</td><td>12.74</td><td>37.14</td><td>0.920</td><td>0.900</td><td>√</td></tr><tr><td>2C[23]</td><td>8.66</td><td>12.18</td><td>0.986</td><td>0.941</td><td></td><td>9.58</td><td>53.10</td><td>0.916</td><td>0.706</td><td></td></tr><tr><td>D2D-CE</td><td>9.70</td><td>9.56</td><td>0.991</td><td>0.987</td><td></td><td>9.50</td><td>57.67</td><td>0.848</td><td>0.692</td><td></td></tr><tr><td rowspan="3">W-GP [13]</td><td>PD[19]</td><td>5.71</td><td>64.75</td><td>0.792</td><td>0.652</td><td></td><td>6.67</td><td>84.16</td><td>0.696</td><td>0.498</td><td></td></tr><tr><td>2C [23]</td><td>5.93</td><td>55.99</td><td>0.842</td><td>0.709</td><td></td><td>6.89</td><td>74.45</td><td>0.812</td><td>0.536</td><td></td></tr><tr><td>D2D-CE</td><td>7.30</td><td>35.94</td><td>0.942</td><td>0.847</td><td>√</td><td>8.92</td><td> 52.74</td><td>0.856</td><td>0.689</td><td>√</td></tr><tr><td rowspan="3">Hinge [46]</td><td>PD[19]</td><td>9.81</td><td>8.08</td><td>0.993</td><td>0.992</td><td></td><td>12.78</td><td>32.03</td><td>0.948</td><td>0.868</td><td></td></tr><tr><td>2C [23]</td><td>9.70</td><td>8.22</td><td>0.993</td><td>0.991</td><td></td><td>13.46</td><td>28.55</td><td>0.974</td><td>0.881</td><td></td></tr><tr><td>D2D-CE</td><td>9.89</td><td>7.88</td><td>0.994</td><td>0.992</td><td>√</td><td>14.06</td><td>27.10</td><td>0.970</td><td>0.894</td><td>√</td></tr></table>
|
| 148 |
+
|
| 149 |
+
Table 5: FID [34] values of conditional StyleGAN2 (cStyleGAN2) [7] and StyleGAN2 $[ 7 ] + \mathrm { D } 2 \mathrm { D } { \cdot } \mathrm { C E }$ on CIFAR10 [30] and AFHQ [41] datasets. ADA means the adaptive discriminator augmentation [8]. FID is exceptionally computed using the training split for calculating the reference moments since FID value of StyleGAN2 is often calculated using the moments of the training dataset.
|
| 150 |
+
|
| 151 |
+
<table><tr><td>Conditioning method</td><td>CIFAR10 [30]</td><td>AFHQ [41]</td></tr><tr><td>cStyleGAN2 [7]</td><td>3.88</td><td>=</td></tr><tr><td>StyleGAN2 [7] + D2D-CE</td><td> 3.34</td><td></td></tr><tr><td>cStyleGAN2 [7] + ADA [8]</td><td>2.43</td><td>4.99</td></tr><tr><td>StyleGAN2 [7] + ADA [8] + D2D-CE</td><td>2.38</td><td>4.95</td></tr><tr><td> StyleGAN2 [7] + DiffAug [9] + D2D-CE + Tuning</td><td>2.26</td><td>-</td></tr></table>
|
| 152 |
+
|
| 153 |
+
Effect of D2D-CE for Different GAN Architectures. We study the effect of D2D-CE loss with different GAN architectures. In Table 5, we validate that D2D-CE is effective for StyleGAN2 [7] backbone and also fits well with the adaptive discriminator augmentation (ADA) [8]. StyleGAN2 with D2D-CE loss produces $1 3 . 9 \%$ better generation result than the conditional version of StyleGAN2 (cStyleGAN2) on CIFAR10. Moreover, StyleGAN2 with D2D-CE can be reinforced with ADA or DiffAug when train StyleGAN2 $^ +$ D2D-CE under the limited data situation. Among GANs, ${ \mathrm { S t y l e G A N } } 2 + { \mathrm { D i f f A u g } } + { \mathrm { D } } 2 { \mathrm { D } } { \mathrm { - C E } } + { \mathrm { 1 } }$ Tuning achieves the best performance on CIFAR10, even outperforming some diffusion-based methods [47, 48]. Additional results with other architectures, i.e., a deep convolutional network [2] and a resnet style backbone [13], are provided in Appendix E.
|
| 154 |
+
|
| 155 |
+
# 4.4 Ablation Study
|
| 156 |
+
|
| 157 |
+
We study how each component of ReACGAN affects ACGAN training. By adding or ablating each part of ReACGAN, as shown in Table 6, we identify four major observations. (1) Feature and weight normalization greatly stabilize ACGAN training and improve generation performances on Tiny-ImageNet and CUB200 datasets. (2) D2D-CE enhances the generation performance by considering data-to-data relationships and by performing easy sample suppression (3th and 4th rows). (3) the suppression technique does not work well on the feature normalized cross-entropy loss (5th row). (4) While ACGAN shows high Inception score on ImageNet experiment, it shows relatively poor FID, $\mathrm { F _ { 0 . 1 2 5 } }$ , and $\mathrm { F _ { 8 } }$ values compared with the model trained with normalization, data-to-data consideration, and the suppression technique. This result is consistent with the qualitative results on ImageNet, where the images from ACGAN are easily classifiable, but the images from ReACGAN are high quality and diverse. We attribute the improvement to the discriminator that successfully leverages informative data-to-data and data-to-class relationships with easy sample suppression.
|
| 158 |
+
|
| 159 |
+

|
| 160 |
+
Figure 5: Curated images generated by the proposed ReACGAN. More qualitative results on ReACGAN, BigGAN [4], ContraGAN [23], and ACGAN [18] are attached in Appendix J.
|
| 161 |
+
|
| 162 |
+
Table 6: Ablation study on feature map normalization, data-to-data consideration, and easy positive and negative sample suppression.
|
| 163 |
+
|
| 164 |
+
<table><tr><td rowspan="2">Ablation</td><td colspan="4">Tiny-ImageNet [32]</td><td colspan="4">CUB200 [33]</td><td colspan="4">ImageNet [49]</td></tr><tr><td>IS个</td><td>FID↓</td><td>F0.125↑</td><td>F8↑</td><td>IS个</td><td>FID↓</td><td>F0.125↑</td><td>F8↑</td><td>IS个</td><td>FID↓</td><td>F0.125↑</td><td>F8个</td></tr><tr><td>ACGAN [18]</td><td>6.00</td><td>96.04</td><td>0.656</td><td>0.368</td><td>6.09</td><td>60.73</td><td>0.726</td><td>0.891</td><td>62.99</td><td>26.35</td><td>0.935</td><td>0.963</td></tr><tr><td>+ Normalization</td><td>13.46</td><td>30.33</td><td>0.955</td><td>0.889</td><td>4.78</td><td>25.54</td><td>0.883</td><td>0.952</td><td>18.16</td><td>36.40</td><td>0.879</td><td>0.787</td></tr><tr><td>+ Data-to-data (Eq. (5))</td><td>12.96</td><td>28.71</td><td>0.967</td><td>0.863</td><td>5.08</td><td>25.12</td><td>0.894</td><td>0.946</td><td>-</td><td>=</td><td>-</td><td></td></tr><tr><td> + Suppression (Eq. (6))</td><td>14.06</td><td>27.10</td><td>0.970</td><td>0.894</td><td>4.91</td><td>15.40</td><td>0.970</td><td>0.954</td><td>63.16 14.59</td><td></td><td></td><td>0.9740.974</td></tr><tr><td>- Data-to-data</td><td>12.96</td><td>30.79</td><td>0.960</td><td>0.857</td><td>5.39</td><td>30.36</td><td>0.863</td><td>0.947</td><td>-</td><td>-</td><td>-</td><td>-</td></tr></table>
|
| 165 |
+
|
| 166 |
+
# 5 Conclusion
|
| 167 |
+
|
| 168 |
+
In this paper, we have analyzed why training ACGAN becomes unstable as the number of classes in the dataset increases. By deriving the analytic form of gradient in the classifier and numerically checking the gradient values, we have discovered that the unstable training comes from a gradient exploding problem caused by the unboundedness of input feature vectors and poor classification ability of the classifier in the early training stage. To alleviate the instability and reinforce ACGAN, we have proposed the Data-to-Data Cross-Entropy loss (D2D-CE) and the Rebooted Auxiliary Classifier Generative Adversarial Network (ReACGAN). The experimental results verify the superiority of ReACGAN compared with the existing classifier- and projection-based GANs on five benchmark datasets. Moreover, exhaustive analyses on ReACGAN prove that ReACGAN is robust to hyperparameter selection and harmonizes with various architectures and differentiable augmentations.
|
| 169 |
+
|
| 170 |
+
# Acknowledgments and Disclosure of Funding
|
| 171 |
+
|
| 172 |
+
This work was supported by the IITP grants (No.2019-0-01906: AI Graduate School Program - POSTECH, No.2021-0-00537: Visual Common Sense, No.2021-0-02068: AI Innovation Hub) funded by Ministry of Science and ICT, Korea.
|
| 173 |
+
|
| 174 |
+
References
|
| 175 |
+
[1] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative Adversarial Nets. In Advances in Neural Information Processing Systems (NeurIPS), pages 2672–2680, 2014.
|
| 176 |
+
[2] Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks. arXiv preprint arXiv 1511.06434, 2016.
|
| 177 |
+
[3] Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral Normalization for Generative Adversarial Networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2018.
|
| 178 |
+
[4] Andrew Brock, Jeff Donahue, and Karen Simonyan. Large Scale GAN Training for High Fidelity Natural Image Synthesis. In Proceedings of the International Conference on Learning Representations (ICLR), 2019.
|
| 179 |
+
[5] Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), pages 4401–4410, 2019.
|
| 180 |
+
[6] Yan Wu, Jeff Donahue, David Balduzzi, Karen Simonyan, and Timothy P. Lillicrap. LOGAN: Latent Optimisation for Generative Adversarial Networks. arXiv preprint arXiv 1912.00953, 2019.
|
| 181 |
+
[7] Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of stylegan. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), pages 8110–8119, 2020.
|
| 182 |
+
[8] Tero Karras, Miika Aittala, Janne Hellsten, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Training Generative Adversarial Networks with Limited Data. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
|
| 183 |
+
[9] Shengyu Zhao, Zhijian Liu, Ji Lin, Jun-Yan Zhu, and Song Han. Differentiable augmentation for dataefficient gan training. arXiv preprint arXiv 2006.10738, 2020.
|
| 184 |
+
[10] Xudong Mao, Qing Li, Haoran Xie, Raymond Y. K. Lau, Zhixiang Wang, and Stephen Paul Smolley. Least Squares Generative Adversarial Networks. In Proceedings of the International Conference on Computer Vision (ICCV), pages 2813–2821, 2017.
|
| 185 |
+
[11] Martín Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein GAN. arXiv preprint arXiv 1701.07875, 2017.
|
| 186 |
+
[12] Martín Arjovsky and Léon Bottou. Towards Principled Methods for Training Generative Adversarial Networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2017.
|
| 187 |
+
[13] Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron C Courville. Improved Training of Wasserstein GANs. In Advances in Neural Information Processing Systems (NeurIPS), pages 5767–5777, 2017.
|
| 188 |
+
[14] Naveen Kodali, James Hays, Jacob D. Abernethy, and Zsolt Kira. On Convergence and Stability of GANs. arXiv preprint arXiv 1705.07215, 2018.
|
| 189 |
+
[15] Zhiming Zhou, Jiadong Liang, Yuxuan Song, Lantao Yu, Hongwei Wang, Weinan Zhang, Yong Yu, and Zhihua Zhang. Lipschitz generative adversarial nets. In Proceedings of the International Conference on Machine Learning (ICML), pages 7584–7593, 2019.
|
| 190 |
+
[16] Han Zhang, Zizhao Zhang, Augustus Odena, and Honglak Lee. Consistency Regularization for Generative Adversarial Networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2020.
|
| 191 |
+
[17] Zhengli Zhao, Sameer Singh, Honglak Lee, Zizhao Zhang, Augustus Odena, and Han Zhang. Improved Consistency Regularization for GANs. arXiv preprint arXiv 2002.04724, 2020.
|
| 192 |
+
[18] Augustus Odena, Christopher Olah, and Jonathon Shlens. Conditional Image Synthesis with Auxiliary Classifier GANs. In Proceedings of the International Conference on Machine Learning (ICML), pages 2642–2651, 2017.
|
| 193 |
+
[19] Takeru Miyato and Masanori Koyama. cGANs with Projection Discriminator. In Proceedings of the International Conference on Learning Representations (ICLR), 2018.
|
| 194 |
+
[20] Mingming Gong, Yanwu Xu, Chunyuan Li, Kun Zhang, and Kayhan Batmanghelich. Twin Auxilary Classifiers GAN. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
|
| 195 |
+
[21] Aliaksandr Siarohin, Enver Sangineto, and Nicu Sebe. Whitening and Coloring Batch Transform for GANs. In Proceedings of the International Conference on Learning Representations (ICLR), 2019.
|
| 196 |
+
[22] Ming-Yu Liu, Xun Huang, Arun Mallya, Tero Karras, Timo Aila, Jaakko Lehtinen, and Jan Kautz. FewShot Unsupervised Image-to-Image Translation. In Proceedings of the International Conference on Computer Vision (ICCV), 2019.
|
| 197 |
+
[23] Minguk Kang and Jaesik Park. ContraGAN: Contrastive Learning for Conditional Image Generation. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
|
| 198 |
+
[24] Woohyeon Shim and Minsu Cho. CircleGAN: Generative Adversarial Learning across Spherical Circles. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
|
| 199 |
+
[25] Peng Zhou, Lingxi Xie, Bingbing Ni, and Qi Tian. Omni-GAN: On the Secrets of cGANs and Beyond. arXiv preprint arXiv:2011.13074, 2020.
|
| 200 |
+
[26] Ilya Kavalerov, Wojciech Czaja, and Rama Chellappa. A multi-class hinge loss for conditional gans. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2021.
|
| 201 |
+
[27] Liang Hou, Qi Cao, Huawei Shen, and Xueqi Cheng. cGANs with Auxiliary Discriminative Classifier. arXiv preprint arXiv:2107.10060, 2021.
|
| 202 |
+
[28] Han, Ligong and Min, Martin Renqiang and Stathopoulos, Anastasis and Tian, Yu and Gao, Ruijiang and Kadav, Asim and Metaxas, Dimitris N. Dual Projection Generative Adversarial Networks for Conditional Image Generation. In Proceedings of the International Conference on Computer Vision (ICCV), 2021.
|
| 203 |
+
[29] Han Zhang, Ian Goodfellow, Dimitris Metaxas, and Augustus Odena. Self-Attention Generative Adversarial Networks. In Proceedings of the International Conference on Machine Learning (ICML), pages 7354–7363, 2019.
|
| 204 |
+
[30] Alex Krizhevsky. Learning Multiple Layers of Features from Tiny Images. PhD thesis, University of Toronto, 2012.
|
| 205 |
+
[31] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Fei-Fei Li. ImageNet: A large-scale hierarchical image database. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), pages 248–255, 2009.
|
| 206 |
+
[32] Johnson et al. Tiny ImageNet Visual Recognition Challenge. https://tiny-imagenet.herokuapp. com.
|
| 207 |
+
[33] P. Welinder, S. Branson, T. Mita, C. Wah, F. Schroff, S. Belongie, and P. Perona. Caltech-UCSD Birds 200. Technical report, California Institute of Technology, 2010.
|
| 208 |
+
[34] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium. In Advances in Neural Information Processing Systems (NeurIPS), pages 6626–6637, 2017.
|
| 209 |
+
[35] Sebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-GAN: Training Generative Neural Samplers using Variational Divergence Minimization. In Advances in Neural Information Processing Systems (NeurIPS), pages 271–279, 2016.
|
| 210 |
+
[36] Akash Srivastava, Lazar Valkov, Chris Russell, Michael U Gutmann, and Charles A Sutton. VEEGAN: Reducing Mode Collapse in GANs using Implicit Variational Learning. In Advances in Neural Information Processing Systems (NeurIPS), 2017.
|
| 211 |
+
[37] Mehdi Mirza and Simon Osindero. Conditional Generative Adversarial Nets. arXiv preprint arXiv 1411.1784, 2014.
|
| 212 |
+
[38] Zhiming Zhou, Han Cai, Shu Rong, Yuxuan Song, Kan Ren, Weinan Zhang, Jun Wang, and Yong Yu. Activation Maximization Generative Adversarial Nets. In Proceedings of the International Conference on Learning Representations (ICLR), 2018.
|
| 213 |
+
[39] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey E. Hinton. A Simple Framework for Contrastive Learning of Visual Representations. arXiv preprint arXiv 2002.05709, 2020.
|
| 214 |
+
[40] Minguk Kang and Jaesik Park. Pytorch-studiogan. https://github.com/POSTECH-CVLab/ PyTorch-StudioGAN, 2020.
|
| 215 |
+
[41] Yunjey Choi, Youngjung Uh, Jaejun Yoo, and Jung-Woo Ha. StarGAN v2: Diverse Image Synthesis for Multiple Domains. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2020.
|
| 216 |
+
[42] Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, Xi Chen, and Xi Chen. Improved Techniques for Training GANs. In Advances in Neural Information Processing Systems (NeurIPS), pages 2234–2242, 2016.
|
| 217 |
+
[43] Mehdi SM Sajjadi, Olivier Bachem, Mario Lucic, Olivier Bousquet, and Sylvain Gelly. Assessing generative models via precision and recall. In Advances in Neural Information Processing Systems (NeurIPS), 2018.
|
| 218 |
+
[44] Vincent Dumoulin, Jonathon Shlens, and Manjunath Kudlur. A Learned Representation For Artistic Style. In Proceedings of the International Conference on Learning Representations (ICLR), 2017.
|
| 219 |
+
[45] Harm de Vries, Florian Strub, Jeremie Mary, Hugo Larochelle, Olivier Pietquin, and Aaron C Courville. Modulating early visual processing by language. In Advances in Neural Information Processing Systems (NeurIPS), pages 6594–6604, 2017.
|
| 220 |
+
[46] Jae Hyun Lim and Jong Chul Ye. Geometric GAN. arXiv preprint arXiv 1705.02894, 2017.
|
| 221 |
+
[47] Alex Nichol and Prafulla Dhariwal. Improved denoising diffusion probabilistic models. In Proceedings of the International Conference on Machine Learning (ICML), 2021.
|
| 222 |
+
[48] Dongjun Kim, Seungjae Shin, Kyungwoo Song, Wanmo Kang, and Il-Chul Moon. Score Matching Model for Unbounded Data Score. arXiv preprint arXiv:2106.05527, 2021.
|
| 223 |
+
[49] Jiankang Deng, Jia Guo, Niannan Xue, and Stefanos Zafeiriou. Arcface: Additive angular margin loss for deep face recognition. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2019.
|
| 224 |
+
|
| 225 |
+
# Checklist
|
| 226 |
+
|
| 227 |
+
1. For all authors...
|
| 228 |
+
|
| 229 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] The main contributions of our paper can be summarized into two points: (1) analyzing why ACGAN training becomes unstable as the number of classes in the training dataset increases, (2) developing a new cGAN model: the Rebooted Auxiliary Classifier Generative Adversarial Networks (ReACGAN). Both claims are well reflected in the abstract and introduction.
|
| 230 |
+
(b) Did you describe the limitations of your work? [Yes] The proposed ReACGAN generates high-quality images using informative datato-data and data-to-class relationships in the dataset. However, it requires additional hyperparameter tuning for a temperature and margins values. Also, we analyze the weakness of ReACGAN in Appendix F.
|
| 231 |
+
(c) Did you discuss any potential negative societal impacts of your work? [Yes] Generative Adversarial Networks can be used to synthesize indistinguishable images from the real. This might cause fake news, sexual harnesses, and hacking machine vision applications. Although the potential negative social impacts are not discussed in our main paper, we deal with this issue in Appendix G.
|
| 232 |
+
(d) Have you read the ethics review and ensured that your paper conforms to them? [Yes] We carefully read the ethics review guidelines and comply with them.
|
| 233 |
+
|
| 234 |
+
2. If you are including theoretical results...
|
| 235 |
+
|
| 236 |
+
(a) Did you state the full set of assumptions of all theoretical results? [Yes] We state all assumptions that arise from the theoretical results, i.e., Property 1-4 in Sec. 3.3 in the main paper.
|
| 237 |
+
(b) Did you include complete proofs of all theoretical results? [Yes] We provide the complete proofs in Appendix D.
|
| 238 |
+
|
| 239 |
+
3. If you ran experiments...
|
| 240 |
+
|
| 241 |
+
(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] We release model weights and the software package used in our paper at https://github.com/POSTECH-CVLab/PyTorch-StudioGAN.
|
| 242 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] We state details for training models in Sec. 4.2 in the main paper, which include the evaluation procedure, hyperparameter selection, and controlled environment for a fair comparison. In addition, we add how we pre-process training datasets in the Appendix C.1.
|
| 243 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] For reliable evaluation, we run all the experiments three times with random seeds. We provide standard deviations of Tables 1, 3, 4, 6 in Appendix I.
|
| 244 |
+
(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] We include the total amount of compute and the type of resources in Appendix H.
|
| 245 |
+
|
| 246 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 247 |
+
|
| 248 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes] We cite papers and GitHub repository that we used for our experiments in Sec. 4.2.
|
| 249 |
+
(b) Did you mention the license of the assets? [No] We utilize five datasets to validate our method: CIFAR10, Tiny-ImageNet, CUB200, ImageNet, and AFHQ. These are widely used public datasets, and we cite them in the paper. However, we could not find any license information for CIFAR10, Tiny-ImageNet, and CUB200. The ImageNet and AFHQ datasets can be used for noncommercial purposes only. In addition, we mention the license of PyTorch-StudioGAN in the main paper, which is used for our experiments.
|
| 250 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] We provide the URL of our source code in the abstract.
|
| 251 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] The CIFAR10, Tiny-ImageNet, CUB200, ImageNet, and AFHQ datasets are properly curated, and they are popular datasets for research purpose. To our best knowledge, there is no inappropriate contents in the datasets.
|
| 252 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] The benchmark datasets we used are widely adopted by others and do not contain any harmful or troublesome contents.
|
| 253 |
+
|
| 254 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 255 |
+
|
| 256 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] Our research has no relevance to the crowdsourcing or human subjects.
|
| 257 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] Our research has no relevance to the crowdsourcing or human subjects.
|
| 258 |
+
(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] Our research has no relevance to the crowdsourcing or human subjects.
|
parse/train/Ja-hVQrfeGZ/Ja-hVQrfeGZ_content_list.json
ADDED
|
@@ -0,0 +1,1082 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Rebooting ACGAN: Auxiliary Classifier GANs with Stable Training ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
217,
|
| 8 |
+
122,
|
| 9 |
+
781,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Minguk Kang Woohyeon Shim Minsu Cho Jaesik Park ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
227,
|
| 19 |
+
223,
|
| 20 |
+
764,
|
| 21 |
+
239
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Pohang University of Science and Technology (POSTECH), South Korea {mgkang, wh.shim, mscho, jaesik.park}@postech.ac.kr ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
258,
|
| 30 |
+
250,
|
| 31 |
+
740,
|
| 32 |
+
279
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
462,
|
| 42 |
+
311,
|
| 43 |
+
535,
|
| 44 |
+
329
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Conditional Generative Adversarial Networks (cGAN) generate realistic images by incorporating class information into GAN. While one of the most popular cGANs is an auxiliary classifier GAN with softmax cross-entropy loss (ACGAN), it is widely known that training ACGAN is challenging as the number of classes in the dataset increases. ACGAN also tends to generate easily classifiable samples with a lack of diversity. In this paper, we introduce two cures for ACGAN. First, we identify that gradient exploding in the classifier can cause an undesirable collapse in early training, and projecting input vectors onto a unit hypersphere can resolve the problem. Second, we propose the Data-to-Data Cross-Entropy loss (D2D-CE) to exploit relational information in the class-labeled dataset. On this foundation, we propose the Rebooted Auxiliary Classifier Generative Adversarial Network (ReACGAN). The experimental results show that ReACGAN achieves state-of-the-art generation results on CIFAR10, Tiny-ImageNet, CUB200, and ImageNet datasets. We also verify that ReACGAN benefits from differentiable augmentations and that D2D-CE harmonizes with StyleGAN2 architecture. Model weights and a software package that provides implementations of representative cGANs and all experiments in our paper are available at https://github.com/POSTECH-CVLab/PyTorch-StudioGAN. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
342,
|
| 54 |
+
766,
|
| 55 |
+
577
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
602,
|
| 66 |
+
310,
|
| 67 |
+
619
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Generative Adversarial Networks (GAN) [1] are known for the forefront approach to generating high-fidelity images of diverse categories [2, 3, 4, 5, 6, 7, 8, 9]. Behind the sensational generation ability of GANs, there has been tremendous effort to develop adversarial objectives free from the vanishing gradient problem [10, 11, 12], regularizations for stabilizing adversarial training [11, 13, 14, 3, 15, 16, 17], and conditioning techniques to support the adversarial training using category information of the dataset [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28]. Subsequently, the conditioning techniques have become the de facto standard for high-quality image generation. The models with the conditioning methods are called conditional Generative Adversarial Networks (cGAN), and cGANs can be divided into two groups depending on the discriminator’s conditioning way: classifier-based GANs [18, 20, 23, 25, 27] and projection-based GANs [19, 3, 4, 28]. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
633,
|
| 77 |
+
825,
|
| 78 |
+
772
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "The classifier-based GANs facilitate an auxiliary classifier to generate class-specific images by penalizing the generator if the synthesized images are not consistent with the conditioned labels. ACGAN [18] has been one of the widely used classifier-based GANs for its simple design and satisfactory generation performance. While ACGAN can exploit class information by pushing and pulling classifier’s weights (proxies) against image embeddings [23], it is well known that ACGAN training is prone to collapsing at the early stage of training as the number of classes increases [19, 23, 25, 27]. In addition, the generator of ACGAN tends to generate easily classifiable images at the cost of reduced diversity [18, 19, 27]. Projection-based GANs, on the other hand, have shown cutting-edge generation results on datasets with a large number of categories. SNGAN [3], ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
777,
|
| 88 |
+
825,
|
| 89 |
+
902
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/a77f02b277b4a9b1554bdeb714cab48b71615b6d03f8135fb468d91f2cc6deb5.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: Schematics that depict how cGANs perform conditioning. The red color means positive samples/proxy, and the blue color indicates negative samples/proxies. Arrows represent push-pull forces based on the reference sample. The length of an arrow indicates the magnitude of the force. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
207,
|
| 102 |
+
88,
|
| 103 |
+
795,
|
| 104 |
+
299
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "SAGAN [29], and BigGAN [4] are representatives in this family and can generate realistic images on CIFAR10 [30] and ImageNet [31] datasets. However, projection-based GANs only consider a pairwise relationship between an image and its label proxy (data-to-class relationships). As the result, the projection-based GANs can miss an additional opportunity to consider relation information between data instances (data-to-data relationships) as discovered by [23]. ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
378,
|
| 114 |
+
825,
|
| 115 |
+
449
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "In this paper, we analyze why ACGAN training becomes unstable as the number of classes increases and propose remedies for (1) the instability and (2) the relatively poor generation performance of ACGAN compared with the projection-based models. First, we begin by analytically deriving the gradient of the softmax cross-entropy loss used in ACGAN. By examining the exact values of analytic gradients, we discover that the unboundedness of input feature vectors and poor classification performance in the early training stage can cause an undesirable gradient exploding problem. Second, with alleviating the instability, we propose the Rebooted Auxiliary Classifier Generative Adversarial Networks (ReACGAN) using the Data-to-Data Cross-Entropy loss (D2D-CE). ReACGAN projects image embeddings and proxies onto a unit hypersphere and computes similarities for data-to-data and data-to-class consideration. Additionally, we introduce two margin values for intra-class variations and inter-class separability. In this way, ReACGAN overcomes the training instability and can exploit additional supervisory signals by explicitly considering data-to-class and data-to-data relationships, and also by implicitly looking at class-to-class relationships in the same mini-batch. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
455,
|
| 125 |
+
825,
|
| 126 |
+
636
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "To validate our model, we conduct image generation experiments on CIFAR10 [30], TinyImageNet [32], CUB200 [33], and ImageNet [31] datasets. Through extensive experiments, we demonstrate that ReACGAN beats both the classifier-based and projection-based GANs, improving over the state of the art by $2 . 5 \\%$ , $1 5 . 8 \\%$ , $5 . 1 \\%$ , and $1 4 . 5 \\%$ in terms of Fréchet Inception Distance (FID) [34] on the four datasets, respectively. We also verify that ReACGAN benefits from consistency regularization [16] and differentiable augmentations [9, 8] for limited data training. Finally, we confirm that D2D-CE harmonizes with the StyleGAN2 architecture [7]. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
173,
|
| 135 |
+
641,
|
| 136 |
+
826,
|
| 137 |
+
739
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "2 Background: Generative Adversarial Networks ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
174,
|
| 147 |
+
760,
|
| 148 |
+
602,
|
| 149 |
+
779
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "Generative Adversarial Network (GAN) [1] is an implicit generative model that aims to generate a sample indistinguishable from the real. GAN consists of two networks: a Generator $G : { \\mathcal { Z } } \\longrightarrow { \\mathcal { X } }$ that tries to map a latent variable $\\mathbf { z } \\sim p ( \\mathbf { z } )$ into the real data space $\\mathcal { X }$ and a Discriminator $D : \\mathcal { X } \\longrightarrow$ [0, 1] that strives to discriminate whether a given sample $\\mathbf { x }$ is from the real data distribution $p _ { \\mathrm { r e a l } } ( \\mathbf { x } )$ or from the implicit distribution $p _ { \\mathrm { g e n } } ( G ( \\mathbf { z } ) )$ derived from the generator $G ( \\mathbf { z } )$ . The objective of a vanilla GAN [1] can be expressed as follows: ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
173,
|
| 158 |
+
792,
|
| 159 |
+
825,
|
| 160 |
+
877
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "equation",
|
| 166 |
+
"img_path": "images/af21913ce94f55d589da37b72bcd0d6981cac1e7074fd7e7c6991e20448adb0b.jpg",
|
| 167 |
+
"text": "$$\n\\operatorname* { m i n } _ { G } \\operatorname* { m a x } _ { D } \\mathbb { E } _ { \\mathbf { x } \\sim p ( \\mathbf { x } ) } [ \\log ( D ( \\mathbf { x } ) ) ] + \\mathbb { E } _ { \\mathbf { z } \\sim p ( \\mathbf { z } ) } [ \\log ( 1 - D ( G ( \\mathbf { z } ) ) ) ] .\n$$",
|
| 168 |
+
"text_format": "latex",
|
| 169 |
+
"bbox": [
|
| 170 |
+
290,
|
| 171 |
+
886,
|
| 172 |
+
704,
|
| 173 |
+
909
|
| 174 |
+
],
|
| 175 |
+
"page_idx": 1
|
| 176 |
+
},
|
| 177 |
+
{
|
| 178 |
+
"type": "text",
|
| 179 |
+
"text": "While GANs have shown impressive results in the image generation task [2, 35, 11, 13], training GANs often ends up encountering a mode-collapse problem [36, 11, 12]. As one of the prescriptions for stabilizing and reinforcing GANs, training GANs with categorical information, named conditional Generative Adversarial Networks (cGAN), is suggested [37, 18, 19]. Depending on the presence of explicit classification losses, cGAN can be divided into two groups: Classifier-based GANs [18, 20, 23, 25, 27] and Projection-based GANs [19, 3, 4, 28]. One of the widely used classifier-based GANs is ACGAN [18], and ACGAN utilizes softmax cross-entropy loss to perform classification task with adversarial training. Although ACGAN has shown satisfactory generation results, training ACGAN becomes unstable as the number of classes in the training dataset increases [19, 23, 25, 27]. Besides, ACGAN tends to generate easily classifiable images at the cost of limited diversity [18, 19, 27]. To alleviate those problems, Zhou et al. [38] have proposed performing adversarial training on the classifier. Gong et al. [20] have introduced an additional classifier to eliminate a conditional entropy minimization process in the adversarial training. However, ACGAN training still suffers from the early-training collapse issue and the reduced diversity problem when trained on datasets with a large number of class categories, such as Tiny-ImageNet [32] and ImageNet [31]. ",
|
| 180 |
+
"bbox": [
|
| 181 |
+
173,
|
| 182 |
+
90,
|
| 183 |
+
826,
|
| 184 |
+
299
|
| 185 |
+
],
|
| 186 |
+
"page_idx": 2
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"type": "text",
|
| 190 |
+
"text": "In these circumstances, Miyato et al. [19] have proposed a projection discriminator for cGANs and have shown significant improvement in generating the ImageNet dataset. Motivated by the promising result of the projection discriminator, many projection-based GANs [3, 29, 4, 16, 6, 17] have been proposed and become the standard for conditional image generation. In this paper, we revisit ACGAN and unveil why ACGAN training is so unstable. Coping with the instability, we propose the Rebooted Auxiliary Classifier GANs (ReACGAN) for high-quality and diverse image generation. ",
|
| 191 |
+
"bbox": [
|
| 192 |
+
174,
|
| 193 |
+
304,
|
| 194 |
+
825,
|
| 195 |
+
388
|
| 196 |
+
],
|
| 197 |
+
"page_idx": 2
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"type": "text",
|
| 201 |
+
"text": "3 Rebooting Auxiliary Classifier GANs ",
|
| 202 |
+
"text_level": 1,
|
| 203 |
+
"bbox": [
|
| 204 |
+
174,
|
| 205 |
+
406,
|
| 206 |
+
514,
|
| 207 |
+
424
|
| 208 |
+
],
|
| 209 |
+
"page_idx": 2
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"type": "text",
|
| 213 |
+
"text": "3.1 Feature Normalization ",
|
| 214 |
+
"text_level": 1,
|
| 215 |
+
"bbox": [
|
| 216 |
+
174,
|
| 217 |
+
438,
|
| 218 |
+
370,
|
| 219 |
+
452
|
| 220 |
+
],
|
| 221 |
+
"page_idx": 2
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"text": "To uncover a nuisance that can cause the instability of ACGAN, we start by analytically deriving the gradients of weight vectors in the softmax classifier. Let the part of the discriminator before the fully connected layer be a Feature extractor $F : \\mathcal { X } \\longrightarrow \\mathcal { F } \\in \\bar { \\mathbb { R } ^ { d } }$ and let Classifier $C : { \\mathcal { F } } \\longrightarrow \\mathbb { R } ^ { c }$ be a single fully connected layer parameterized by $\\pmb { W } = [ \\pmb { w } _ { 1 } , . . . , \\pmb { w } _ { c } ] \\in \\mathbb { R } ^ { d \\times c }$ , where $c$ denotes the number of classess. We sample training images $\\pmb { X } = \\{ \\pmb { x } _ { 1 } , . . . , \\pmb { x } _ { N } \\}$ and integer labels ${ \\textbf { 3 } } =$ $\\{ y _ { 1 } , . . . , y _ { N } \\}$ from the joint distribution $p ( \\mathbf { x } , \\mathbf { y } )$ . Using the notations above, we can express the empirical cross-entropy loss used in ACGAN [18] as follows: ",
|
| 226 |
+
"bbox": [
|
| 227 |
+
173,
|
| 228 |
+
462,
|
| 229 |
+
825,
|
| 230 |
+
560
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 2
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "equation",
|
| 236 |
+
"img_path": "images/e3cde793fe61034f79c6982cfce3d15f0a2d0f599275318cc5332121eac04663.jpg",
|
| 237 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { C E } } = - \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\log \\Big ( \\frac { \\exp \\left( F ( \\pmb { x } _ { i } ) ^ { \\top } \\pmb { w } _ { y _ { i } } \\right) } { \\sum _ { j = 1 } ^ { c } \\exp \\left( F ( \\pmb { x } _ { i } ) ^ { \\top } \\pmb { w } _ { j } \\right) } \\Big ) .\n$$",
|
| 238 |
+
"text_format": "latex",
|
| 239 |
+
"bbox": [
|
| 240 |
+
338,
|
| 241 |
+
563,
|
| 242 |
+
658,
|
| 243 |
+
607
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 2
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"text": "Based on Eq. (3), we can derive the derivative of the cross-entropy loss, w.r.t ${ \\pmb w } _ { k \\in \\{ 1 , \\dots , c \\} }$ as follows: ",
|
| 250 |
+
"bbox": [
|
| 251 |
+
173,
|
| 252 |
+
609,
|
| 253 |
+
823,
|
| 254 |
+
626
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 2
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "equation",
|
| 260 |
+
"img_path": "images/634f34fe1b9cb8058559e57be9cafdd69cbbcbcc35cc37fe0b2346817ebaa3ee.jpg",
|
| 261 |
+
"text": "$$\n\\frac { \\partial \\mathcal { L } _ { \\mathrm { C E } } } { \\partial \\boldsymbol { w } _ { k } } = - \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\bigg \\{ F ( \\boldsymbol { x } _ { i } ) \\bigg ( \\mathbf { 1 } _ { y _ { i } = k } - p _ { i , k } \\bigg ) \\bigg \\} ,\n$$",
|
| 262 |
+
"text_format": "latex",
|
| 263 |
+
"bbox": [
|
| 264 |
+
346,
|
| 265 |
+
630,
|
| 266 |
+
650,
|
| 267 |
+
672
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "where $\\mathbf { 1 } _ { \\mathit { y } _ { i } = k }$ is an indicator function that will output 1 if $y _ { i } = k$ is satisfied, and $p _ { i , k }$ is a class probability that represents the probability that $i$ -th sample belongs to class $k$ , mathematically $\\frac { \\exp { ( F ( \\pmb { x } _ { i } ) ^ { \\top } \\pmb { w } _ { k } ) } } { \\sum _ { j = 1 } ^ { c } \\exp { ( F ( \\pmb { x } _ { i } ) ^ { \\top } \\pmb { w } _ { j } ) } }$ . The equation above implies that the norm of the gradient of the softmax cross-entropy loss is coupled with the norms and directions of each input feature map $F ( { \\pmb x } _ { i } )$ and the class probabilities. In the early training stage, the classifier is prone to making incorrect predictions, resulting in low probabilities. This phenomenon occurs more frequently as the number of categories in the dataset increases. As the result, the norm of the gradient $| \\frac { \\partial \\hat { \\mathcal { L } } _ { \\mathrm { C E } } } { \\partial w _ { k } } |$ begins to explode as the vector $F ( { \\pmb x } _ { i } )$ stretches out to ${ \\pmb w } _ { k }$ direction but being located close to the the other vectors ${ \\pmb w } _ { j \\in \\{ 1 , . . . , c \\} \\backslash \\{ k \\} }$ . This often breaks the balance between adversarial learning and classifier training, leading to an early-training collapse. Once the early-training collapse occurs, ACGAN training concentrates on classifying categories of images instead of discriminating the authenticity of given samples. We experimentally demonstrate that the average norm of ACGAN’s input feature maps increases as the training progresses (Fig. 2a). Accordingly, the average norm of the gradients increases sharply at the early training stage and decreases with the high class probabilities of the classifier (Fig. 2b, Fig. A3 in Appendix). While the average norm of gradients decreases at some point, the FID value of ACGAN does not decrease, implying the collapse of ACGAN training (Fig. 2c). ",
|
| 274 |
+
"bbox": [
|
| 275 |
+
173,
|
| 276 |
+
676,
|
| 277 |
+
826,
|
| 278 |
+
911
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 2
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "image",
|
| 284 |
+
"img_path": "images/41f752bd054c08034409d7f5b84c86a0197793ecc9cb9dcf2b22365737c55349.jpg",
|
| 285 |
+
"image_caption": [
|
| 286 |
+
"Figure 2: Merits of integrating feature normalization and data-to-data relationship consideration. All experiments are conducted on Tiny-ImageNet [32] dataset. (a) Average norms of input feature maps $\\bar { F } ( \\cdot )$ , (b) average norms of gradients of classification losses, and (c) trends of FID scores. Compared with ACGAN [18], the proposed ReACGAN does not experience the training collapse problem caused by excessively large norms of feature maps and gradients at the early training stage. In addition, ReACGAN can converge to better equilibrium by considering data-to-data relationships with easy positive and negative sample suppression. "
|
| 287 |
+
],
|
| 288 |
+
"image_footnote": [],
|
| 289 |
+
"bbox": [
|
| 290 |
+
183,
|
| 291 |
+
89,
|
| 292 |
+
813,
|
| 293 |
+
213
|
| 294 |
+
],
|
| 295 |
+
"page_idx": 3
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"type": "text",
|
| 299 |
+
"text": "As one of the remedies for the gradient exploding problem, we find that simply normalizing the feature embeddings onto a unit hypersphere $\\frac { F ( { \\pmb x } _ { i } ) } { | | F ( { \\pmb x } _ { i } ) | | }$ effectively resolves ACGAN’s early-training collapse (see Fig. 2). The motivation is that normalizing the features onto the hypersphere makes the norms of feature maps equal to 1.0. Thus, the discriminator does not experience the gradient exploding problem. From the next section, we will deploy a linear projection layer $P$ on the feature extractor $F$ . And, we will normalize both the embeddings from the projection layer and the weight vectors $( \\pmb { w } _ { 1 } , . . . , \\pmb { w } _ { c } )$ in the classifier since normalizing both the embeddings and the weight vectors does not degrade image generation performance. We denote the normalized embedding P (F (xi))||P (F (xi))|| as $f _ { i }$ and the normalized weight vector $\\frac { { \\pmb w } _ { y _ { i } } } { | | { \\pmb w } _ { y _ { i } } | | }$ as vyi . ",
|
| 300 |
+
"bbox": [
|
| 301 |
+
173,
|
| 302 |
+
348,
|
| 303 |
+
826,
|
| 304 |
+
493
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 3
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "text",
|
| 310 |
+
"text": "3.2 Data-to-Data Cross-Entropy Loss (D2D-CE) ",
|
| 311 |
+
"text_level": 1,
|
| 312 |
+
"bbox": [
|
| 313 |
+
174,
|
| 314 |
+
511,
|
| 315 |
+
522,
|
| 316 |
+
526
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 3
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "text",
|
| 322 |
+
"text": "We expand the feature normalized softmax cross-entropy loss described in Sec. 3.1 to the Data-to-Data Cross-Entropy (D2D-CE) loss. The motivations are summarized into two points: (1) replacing datato-class similarities in the denominator of Eq. (3) with data-to-data similarities and (2) introducing two margin values to the modified softmax cross-entropy loss. We expect that point (1) will encourage the feature extractor to consider data-to-class as well as data-to-data relationships, and that point (2) will guarantee inter-class separability and intra-class variations in the feature space while preventing ineffective gradient updates induced by easy negative and positive samples. To develop the feature normalized cross-entropy loss into D2D-CE, we replace the similarities between a sample embedding and all proxies except for the positive one in the denominator, $\\begin{array} { r } { \\sum _ { j \\in \\{ 1 , \\dots , c \\} \\backslash \\{ y _ { i } \\} } \\exp \\left( \\mathbf { { f } } _ { i } ^ { \\top } \\mathbf { { v } } _ { j } \\right) } \\end{array}$ with similarities between negative samples in the same mini-batch. The modified cross-entropy loss can be expressed as follows: ",
|
| 323 |
+
"bbox": [
|
| 324 |
+
173,
|
| 325 |
+
537,
|
| 326 |
+
826,
|
| 327 |
+
691
|
| 328 |
+
],
|
| 329 |
+
"page_idx": 3
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"type": "equation",
|
| 333 |
+
"img_path": "images/2083ef980138ec9937eb51f9829dbe3f337cc0b83827c7b723f912acedff8847.jpg",
|
| 334 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { C E } } ^ { ' } = - \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\log \\Bigg ( \\frac { \\exp { ( f _ { i } ^ { \\top } v _ { y _ { i } } / \\tau ) } } { \\exp { ( f _ { i } ^ { \\top } v _ { y _ { i } } / \\tau ) } + \\sum _ { j \\in N ( i ) } \\exp { ( f _ { i } ^ { \\top } f _ { j } / \\tau ) } } \\Bigg ) ,\n$$",
|
| 335 |
+
"text_format": "latex",
|
| 336 |
+
"bbox": [
|
| 337 |
+
274,
|
| 338 |
+
702,
|
| 339 |
+
722,
|
| 340 |
+
746
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 3
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "where $\\tau$ is a temperature, and $\\mathcal { N } ( i )$ is the set of indices that point locations of the negative samples whose labels are different from the reference label $\\pmb { v } _ { y _ { i } }$ in the mini-batch. The self-similarity matrix of samples in the mini-batch is used to calculate the similarities between negative samples $\\pmb { f } _ { i } ^ { \\top } \\pmb { f } _ { j \\in \\mathcal { N } ( i ) }$ with a false negative mask (see Fig. 3). Thus, Eq. (5) enables the discriminator to contrastively compare visual differences between multiple images and can supply more informative supervision for image conditioning. Finally, we introduce two margin hyperparameters to $\\mathcal { L } _ { \\mathrm { C E } } ^ { ' }$ and name it Data-to-Data Cross-Entropy loss (D2D-CE). The proposed D2D-CE can be expressed as follows: ",
|
| 347 |
+
"bbox": [
|
| 348 |
+
173,
|
| 349 |
+
755,
|
| 350 |
+
826,
|
| 351 |
+
857
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 3
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "equation",
|
| 357 |
+
"img_path": "images/2f95d96f99ec92483130927216fa5f895d898e210867b75a033db7d5a3213348.jpg",
|
| 358 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { D 2 D - C E } } = - \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\log \\Bigg ( \\frac { \\exp \\left( [ f _ { i } ^ { \\top } v _ { y _ { i } } - m _ { p } ] _ { - } / \\tau \\right) } { \\exp \\left( [ f _ { i } ^ { \\top } v _ { y _ { i } } - m _ { p } ] _ { - } / \\tau \\right) + \\sum _ { j \\in N ( i ) } \\exp \\left( [ f _ { i } ^ { \\top } f _ { j } - m _ { n } ] _ { + } / \\tau \\right) } \\Bigg ) ,\n$$",
|
| 359 |
+
"text_format": "latex",
|
| 360 |
+
"bbox": [
|
| 361 |
+
187,
|
| 362 |
+
866,
|
| 363 |
+
790,
|
| 364 |
+
910
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 3
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "image",
|
| 370 |
+
"img_path": "images/ee7bad162e1754a63a5d7f7b5a7a8d9d8e3e367c1fcd2cc101b8a2534e6e145d.jpg",
|
| 371 |
+
"image_caption": [
|
| 372 |
+
"Figure 3: Overview of ReACGAN. ReACGAN performs adversarial training using the loss ${ \\mathcal { L } } _ { \\mathrm { A d v } }$ . At the same time, ReACGAN tries to minimize data-to-data cross-entropy loss (D2D-CE) on the linear head $( P )$ to exploit relational information in the labeled dataset. $^ { \\circ }$ means element-wise product. Note that False negatives mask operates on the similarity matrix between two batches of sample embeddings to compute the similarities between negative samples in the denominator of Eq. (6). "
|
| 373 |
+
],
|
| 374 |
+
"image_footnote": [],
|
| 375 |
+
"bbox": [
|
| 376 |
+
186,
|
| 377 |
+
93,
|
| 378 |
+
812,
|
| 379 |
+
332
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 4
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "where $m _ { p }$ is a margin for suppressing a high similarity value between a reference sample and its corresponding proxy (easy positive), $m _ { n }$ is a margin for suppressing low similarity values between negatives samples (easy negatives). $[ \\cdot ] _ { - }$ and $[ \\cdot ] _ { + }$ denote $\\operatorname* { m i n } ( \\cdot , 0 )$ and $\\operatorname* { m a x } ( \\cdot , 0 )$ functions, respectively. ",
|
| 386 |
+
"bbox": [
|
| 387 |
+
174,
|
| 388 |
+
435,
|
| 389 |
+
826,
|
| 390 |
+
478
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 4
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "3.3 Useful Properties of Data-to-Data Cross-Entropy Loss ",
|
| 397 |
+
"text_level": 1,
|
| 398 |
+
"bbox": [
|
| 399 |
+
173,
|
| 400 |
+
492,
|
| 401 |
+
589,
|
| 402 |
+
508
|
| 403 |
+
],
|
| 404 |
+
"page_idx": 4
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"type": "text",
|
| 408 |
+
"text": "In this subsection, we explain four useful properties of D2D-CE. Let $s _ { q }$ be a similarity between the normalized embedding $f _ { q }$ and the corresponding normalized proxy ${ \\pmb v } _ { y _ { q } }$ , $s _ { q , r }$ be a similarity between $f _ { q }$ and $f _ { r }$ , and $a$ and $\\mathit { b }$ be arbitrary indices of negative samples, i.e., $a , b \\in \\mathcal { N } ( q )$ . Then the properties of D2D-CE can be summarized as follows: ",
|
| 409 |
+
"bbox": [
|
| 410 |
+
174,
|
| 411 |
+
518,
|
| 412 |
+
504,
|
| 413 |
+
616
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 4
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "image",
|
| 419 |
+
"img_path": "images/284973472b7cc1ba4ea65614768295afd00d54dfd0ba532f646e48451266f16e.jpg",
|
| 420 |
+
"image_caption": [
|
| 421 |
+
"Figure 4: Graph showing regions where hard negative mining, easy positive and negative suppression, and no gradient update occur. "
|
| 422 |
+
],
|
| 423 |
+
"image_footnote": [],
|
| 424 |
+
"bbox": [
|
| 425 |
+
524,
|
| 426 |
+
511,
|
| 427 |
+
813,
|
| 428 |
+
652
|
| 429 |
+
],
|
| 430 |
+
"page_idx": 4
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"type": "text",
|
| 434 |
+
"text": "Property 1. Hard negative mining. If the value of $s _ { q , a }$ is greater than $s _ { q , b }$ , the derivative of LD2D-CE w.r.t $s _ { q , a }$ is greater than or equal to the derivative $w . r . t \\ s _ { q , b }$ ; that is $\\begin{array} { r } { \\frac { \\partial \\mathcal { L } _ { D 2 D - C E } } { \\partial s _ { q , a } } \\geq \\frac { \\partial \\mathcal { L } _ { D 2 D - C E } } { \\partial s _ { q , b } } \\geq 0 . } \\end{array}$ ",
|
| 435 |
+
"bbox": [
|
| 436 |
+
173,
|
| 437 |
+
618,
|
| 438 |
+
504,
|
| 439 |
+
681
|
| 440 |
+
],
|
| 441 |
+
"page_idx": 4
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"type": "text",
|
| 445 |
+
"text": "Property 2. Easy positive suppression. If $s _ { q } \\mathrm { ~ - ~ }$ $m _ { p } \\geq 0$ , the derivative of $\\mathcal { L } _ { D 2 D - C E } w . r . t s _ { q }$ is 0. ",
|
| 446 |
+
"bbox": [
|
| 447 |
+
173,
|
| 448 |
+
683,
|
| 449 |
+
503,
|
| 450 |
+
712
|
| 451 |
+
],
|
| 452 |
+
"page_idx": 4
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"type": "text",
|
| 456 |
+
"text": "Property 3. Easy negative suppression. If $s _ { q , r } - m _ { n } \\leq 0 ,$ , the derivative of $\\mathcal { L } _ { D 2 D - C E } w . r . t s _ { q , r }$ is 0. Property 4. If $s _ { q } - m _ { p } \\ge 0$ and $s _ { q , r } - m _ { n } \\leq 0$ are satisfied, $\\mathcal { L } _ { D 2 D - C E }$ has the global minima of $\\begin{array} { r } { \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\log \\left( 1 + \\bar { | \\mathcal { N } ( i ) | } \\right) } \\end{array}$ . ",
|
| 457 |
+
"bbox": [
|
| 458 |
+
173,
|
| 459 |
+
713,
|
| 460 |
+
826,
|
| 461 |
+
763
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 4
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "text",
|
| 467 |
+
"text": "We put proofs of the above properties in Appendix D. Property 1 indicates that D2D-CE implicitly conducts hard negative mining and benefits from comparing samples with each other. Also, Properties 2 and 3 imply that samples will not affect gradient updates if the samples are trained sufficiently. Consequently, the classifier concentrates on pushing and pulling hard negative and hard positive examples without being dominated by easy negative and positive samples. ",
|
| 468 |
+
"bbox": [
|
| 469 |
+
173,
|
| 470 |
+
772,
|
| 471 |
+
826,
|
| 472 |
+
843
|
| 473 |
+
],
|
| 474 |
+
"page_idx": 4
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"type": "text",
|
| 478 |
+
"text": "3.4 Rebooted Auxiliary Classifier Generative Adversarial Networks (ReACGAN) ",
|
| 479 |
+
"text_level": 1,
|
| 480 |
+
"bbox": [
|
| 481 |
+
176,
|
| 482 |
+
857,
|
| 483 |
+
746,
|
| 484 |
+
872
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 4
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "text",
|
| 490 |
+
"text": "With the proposed D2D-CE objective, we propose the Rebooted Auxiliary Classifier Generative Adversarial Networks (ReACGAN). As ACGAN does, ReACGAN jointly optimizes an adversarial loss and the classification objective (D2D-CE). Specifically, the discriminator, which consists of the feature extractor, adversarial head, and linear head, of ReACGAN tries to discriminate whether a given image is sampled from the real distribution or not. At the same time, the discriminator tries to maximize similarities between the reference samples and corresponding proxies while minimizing similarities between negative samples using real images and D2D-CE loss. After updating the discriminator a predetermined number of times, the generator strives to deceive the discriminator by generating well-conditioned images that will output a low D2D-CE value. By alternatively training the discriminator and generator until convergence, ReACGAN generates high-quality images of diverse categories without early-training collapse. We attach the algorithm table in Appendix A. ",
|
| 491 |
+
"bbox": [
|
| 492 |
+
173,
|
| 493 |
+
882,
|
| 494 |
+
825,
|
| 495 |
+
911
|
| 496 |
+
],
|
| 497 |
+
"page_idx": 4
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"type": "text",
|
| 501 |
+
"text": "",
|
| 502 |
+
"bbox": [
|
| 503 |
+
174,
|
| 504 |
+
90,
|
| 505 |
+
825,
|
| 506 |
+
215
|
| 507 |
+
],
|
| 508 |
+
"page_idx": 5
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"type": "text",
|
| 512 |
+
"text": "Differences between ReACGAN and ContraGAN. The authors of ContraGAN [23] propose a conditional contrastive loss (2C loss) to cover data-to-data relationships when training cGANs. The main differences between 2C loss and D2D-CE objective are summed up into three points: (1) while 2C loss is derived from NT-Xent loss [39], which is popularly used in the field of the self-supervised learning, our D2D-CE is developed to resolve the early-training collapsing problem and the poor generation results of ACGAN, (2) 2C loss holds false-negative samples in the denominator, and they can cause unexpected positive repulsion forces, and (3) 2C loss contains the similarities between all positive samples in the numerator, and they give rise to large gradients on pulling easy positive samples. Consequently, GANs with 2C loss tend to synthesize images of unintended classes as reported in the author’s software document [40]. However, D2D-CE does not contain the false negatives in the denominator and considers only the similarity between a sample and its proxy in the numerator. Therefore, ReACGAN is free from the undesirable repelling forces and does not conduct unnecessary easy positive mining. More detailed explanations are attached in Appendix F. ",
|
| 513 |
+
"bbox": [
|
| 514 |
+
174,
|
| 515 |
+
222,
|
| 516 |
+
825,
|
| 517 |
+
401
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 5
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "text",
|
| 523 |
+
"text": "Consistency Regularization and D2D-CE Loss. Zhang et al. [16] propose a consistency regularization to force the discriminator to make consistent predictions if given two images are visually close to each other. They create a visually similar image pair by augmenting a reference image with pre-defined augmentations. After that, they let the discriminator minimize L2 distance between the logit of the reference image and the logit of the augmented counterpart. While ReACGAN locates an image embedding nearby its corresponding proxy but far apart multiple image embeddings of different classes, consistency regularization only pulls a reference and the augmented image towards each other. Since consistency regularization and D2D-CE can be applied together, we will show that ReACGAN benefits from consistency regularization in the experiments section (Table 1). ",
|
| 524 |
+
"bbox": [
|
| 525 |
+
174,
|
| 526 |
+
407,
|
| 527 |
+
825,
|
| 528 |
+
532
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 5
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "text",
|
| 534 |
+
"text": "4 Experiments ",
|
| 535 |
+
"text_level": 1,
|
| 536 |
+
"bbox": [
|
| 537 |
+
174,
|
| 538 |
+
553,
|
| 539 |
+
312,
|
| 540 |
+
569
|
| 541 |
+
],
|
| 542 |
+
"page_idx": 5
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"type": "text",
|
| 546 |
+
"text": "4.1 Datasets and Evaluation Metrics ",
|
| 547 |
+
"text_level": 1,
|
| 548 |
+
"bbox": [
|
| 549 |
+
176,
|
| 550 |
+
583,
|
| 551 |
+
439,
|
| 552 |
+
598
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 5
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "To verify the effectiveness of ReACGAN, we conduct conditional image generation experiments using five datasets: CIFAR10 [30], Tiny-ImageNet [32], CUB200 [33], ImageNet [31], and AFHQ [41] datasets and four evaluation metrics: Inception Score (IS) [42], Fréchet Inception Distance (FID) [34], and $\\mathrm { F _ { 0 . 1 2 5 } }$ (Precision) and $\\mathrm { F } _ { 8 }$ (Recall) [43]. The details on the training datasets are in Appendix C.1. ",
|
| 559 |
+
"bbox": [
|
| 560 |
+
174,
|
| 561 |
+
609,
|
| 562 |
+
825,
|
| 563 |
+
665
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 5
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "text",
|
| 569 |
+
"text": "Inception Score (IS) [42] and Fréchet Inception Distance (FID) [34] are widely used metrics for evaluating generative models. We utilize IS and FID together because some studies [4, 6, 25] have shown that IS has a tendency to measure the fidelity of images better while FID tends to weight capturing the diversity of images. ",
|
| 570 |
+
"bbox": [
|
| 571 |
+
174,
|
| 572 |
+
671,
|
| 573 |
+
825,
|
| 574 |
+
727
|
| 575 |
+
],
|
| 576 |
+
"page_idx": 5
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"type": "text",
|
| 580 |
+
"text": "Precision $\\bf ( F _ { 0 . 1 2 5 } )$ and Recall $\\bf ( F _ { 8 } )$ [43] are metrics for estimating precision and recall of the approximated distribution $p ( G ( \\mathbf { z } ) )$ against the true data distribution $p ( \\mathbf { x } )$ . Instead of evaluating generative models using one-dimensional scores, such as IS and FID, Sajjadi et al. [43] have suggested using a two-dimensional score $\\mathrm { F _ { 0 . 1 2 5 } }$ and $\\mathrm { F } _ { 8 }$ that can quantify how precisely the generated images are and how well the generated images cover the reference distribution. ",
|
| 581 |
+
"bbox": [
|
| 582 |
+
174,
|
| 583 |
+
733,
|
| 584 |
+
825,
|
| 585 |
+
803
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 5
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "4.2 Experimental Details ",
|
| 592 |
+
"text_level": 1,
|
| 593 |
+
"bbox": [
|
| 594 |
+
174,
|
| 595 |
+
819,
|
| 596 |
+
359,
|
| 597 |
+
834
|
| 598 |
+
],
|
| 599 |
+
"page_idx": 5
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"type": "text",
|
| 603 |
+
"text": "The implementation of ReACGAN basically follows details of PyTorch-StudioGAN library [40]1 that supports various experimental setups from ACGAN [18] to StyleGAN2 [7] $^ +$ ADA [8] with different scales of datasets [30, 32, 33, 31, 41] and architectures [2, 13, 4, 7]. For a fair comparison, we use the same backbones over all baselines, except otherwise noted, for both the discriminator and generator. For stable training, we apply spectral normalization (SN) [3] to the generator and discriminator except for experiments using SNGAN (in this case, we apply SN to the discriminator only) and StyleGAN2 [7]. We also use the same conditioning method for generators with conditional batch normalization (cBN) [44, 45, 19]. This allows us to investigate solely the conditioning methods of the discriminator, which are the main interest of our paper. If not specified, we use hinge loss [46] as a default for the adversarial loss. ",
|
| 604 |
+
"bbox": [
|
| 605 |
+
176,
|
| 606 |
+
844,
|
| 607 |
+
821,
|
| 608 |
+
875
|
| 609 |
+
],
|
| 610 |
+
"page_idx": 5
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "table",
|
| 614 |
+
"img_path": "images/4b04bdeeb55f3430ef72f3f3db9f9e61e72c6ba6199d770fd52b912b38354bce.jpg",
|
| 615 |
+
"table_caption": [
|
| 616 |
+
"Table 1: Comparison with classifier-based GANs [18, 23] and projection-based GANs [3, 4, 29] on CIFAR10 [30], Tiny-ImageNet [32], and CUB200 [33] datasets using IS [42], FID [34], $\\mathrm { F } _ { 0 . 1 2 5 }$ , and $\\mathrm { F } _ { 8 }$ [43] metrics. For baselines, both the numbers from the cited paper (denoted as \\* in method) and from our experiments using StudioGAN library [40] are reported. The numbers in bold-faced denote the best performance and in underline indicate the values are in one standard deviation from the best. "
|
| 617 |
+
],
|
| 618 |
+
"table_footnote": [],
|
| 619 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"4\">CIFAR10 [30]</td><td colspan=\"4\">Tiny-ImageNet [32]</td><td colspan=\"4\">CUB200 [33]</td></tr><tr><td>IS↑</td><td>FID↓</td><td>F0.125↑F8↑</td><td></td><td></td><td></td><td>IS↑FID↓F0.125↑F8↑</td><td></td><td></td><td></td><td>IS↑FID↓F0.125↑F8↑</td><td></td></tr><tr><td>SNGAN*[3]</td><td>8.22</td><td>21.7</td><td>=</td><td>-</td><td>1</td><td>-</td><td>=</td><td>=</td><td>-</td><td>=</td><td>=</td><td>-</td></tr><tr><td>BigGAN*[4]</td><td>9.22</td><td>14.73</td><td>=</td><td>-</td><td>=</td><td>-</td><td></td><td>=</td><td>-</td><td></td><td>-</td><td>1</td></tr><tr><td>ContraGAN* [23]</td><td>1</td><td>10.60</td><td></td><td></td><td></td><td>29.49</td><td></td><td></td><td></td><td></td><td></td><td>1</td></tr><tr><td>ACGAN[18]</td><td>9.84</td><td>8.45</td><td>0.993</td><td>0.992</td><td>6.00</td><td>96.04</td><td>0.656</td><td>0.368</td><td>6.09</td><td>60.73</td><td>0.726</td><td>0.891</td></tr><tr><td>SNGAN [3]</td><td>8.67</td><td>13.33</td><td>0.985</td><td>0.976</td><td>8.71</td><td>51.15</td><td>0.900</td><td>0.702</td><td>5.41</td><td>47.75</td><td>0.754</td><td>0.912</td></tr><tr><td>SAGAN [29]</td><td>8.66</td><td>14.31</td><td>0.983</td><td>0.973</td><td>8.74</td><td>49.90</td><td>0.872</td><td>0.712</td><td>5.48</td><td>54.29</td><td>0.728</td><td>0.882</td></tr><tr><td>BigGAN[4]</td><td>9.81</td><td>8.08</td><td>0.993</td><td>0.992</td><td>12.78</td><td>32.03</td><td>0.948</td><td>0.868</td><td>4.98</td><td>18.30</td><td>0.924</td><td>0.967</td></tr><tr><td>ContraGAN [23]</td><td>9.70</td><td>8.22</td><td>0.993</td><td>0.991</td><td>13.46</td><td>28.55</td><td>0.974</td><td>0.881</td><td>5.34</td><td>21.16</td><td>0.935</td><td>0.942</td></tr><tr><td>ReACGAN</td><td>9.89</td><td>7.88</td><td>0.994</td><td>0.992</td><td></td><td>14.06 27.10</td><td>0.970</td><td>0.894</td><td>4.91</td><td>15.40</td><td>0.970</td><td>0.954</td></tr><tr><td>BigGAN +CR*[16]</td><td>-</td><td>11.48</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>BigGAN [4]+ CR[16]</td><td>9.97</td><td>7.18</td><td>0.995</td><td>0.993</td><td></td><td>15.94 19.96</td><td>0.972</td><td>0.950 5.14</td><td></td><td>11.97</td><td>0.978</td><td>0.981</td></tr><tr><td>ContraGAN [23] + CR[16]</td><td>9.59</td><td>8.55</td><td>0.992</td><td>0.972</td><td>15.81</td><td>19.21</td><td>0.983</td><td>0.941</td><td>4.90</td><td>11.08</td><td>0.984</td><td>0.967</td></tr><tr><td>ReACGAN + CR [16]</td><td>10.11</td><td>7.20</td><td>0.996</td><td>0.994 16.56</td><td></td><td>19.69</td><td>0.984</td><td>0.940</td><td>4.87</td><td>10.72</td><td>0.985</td><td>0.971</td></tr><tr><td>BigGAN + DiffAug*[9]</td><td>9.17</td><td>8.49</td><td></td><td></td><td>=</td><td></td><td>=</td><td>=</td><td>=</td><td></td><td></td><td></td></tr><tr><td>BigGAN [4] + DiffAug [9]</td><td>9.94</td><td>7.17</td><td>0.995</td><td>0.992</td><td></td><td>18.0815.70</td><td>0.980</td><td>0.972</td><td>5.53</td><td>12.15</td><td>0.967</td><td>0.981</td></tr><tr><td>ContraGAN [23] + DiffAug [9]</td><td>9.95</td><td>7.27</td><td>0.995</td><td>0.992</td><td>18.20</td><td>15.40</td><td>0.986</td><td>0.963</td><td>5.39</td><td>11.02</td><td>0.978</td><td>0.970</td></tr><tr><td>ReACGAN + DiffAug [9]</td><td>10.22</td><td>6.79</td><td>0.996</td><td>0.993</td><td>20.60</td><td>14.25</td><td>0.988</td><td>0.972</td><td>5.22</td><td>9.27</td><td>0.985</td><td>0.983</td></tr><tr><td>Real Data</td><td colspan=\"2\">11.54</td><td colspan=\"2\">34.11</td><td colspan=\"2\"></td><td colspan=\"2\"></td><td colspan=\"2\">5.49</td><td colspan=\"2\"></td></tr></table>",
|
| 620 |
+
"bbox": [
|
| 621 |
+
174,
|
| 622 |
+
175,
|
| 623 |
+
825,
|
| 624 |
+
420
|
| 625 |
+
],
|
| 626 |
+
"page_idx": 6
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"type": "text",
|
| 630 |
+
"text": "",
|
| 631 |
+
"bbox": [
|
| 632 |
+
174,
|
| 633 |
+
452,
|
| 634 |
+
825,
|
| 635 |
+
563
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 6
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "Before conducting main experiments, we perform hyperparameter search with candidates of a temperature $\\tau \\in \\{ 0 . 1 2 5 , 0 . 2 5 , 0 . 5 , 0 . 7 5 , 1 . 0 \\}$ and a positive margin $m _ { p } \\in \\ \\{ 0 . 5 , 0 . 7 5 , 0 . 9 , 0 . 9 5 , 0 . 9 8 , \\bar { 1 . 0 } \\}$ . We set a negative margin $m _ { n }$ as $1 \\ : - \\ : m _ { p }$ to reduce search time. Through extensive experiments with 3 runs per each setting, we select $\\tau$ with $\\{ 0 . 5 , 0 . 7 5 , 0 . 2 5 , 0 . 5 , 0 . 2 5 \\}$ and $m _ { p }$ with $\\{ 0 . 9 8 , 1 . 0 , 0 . 9 5 , 0 . 9 \\bar { 8 } , 0 . 9 0 \\}$ for CIFAR10, Tiny-ImageNet, CUB200, ImageNet 256 B.S., and ImageNet 2048 B.S. experiments, respectively. A low temperature seems to work well on fine-grained image generation tasks, but generally, ReACGAN is robust to the choice of hyperparameters. The results of the hyperparameter search and other hyperparameter setups are provided in Appendix C.2. ",
|
| 642 |
+
"bbox": [
|
| 643 |
+
174,
|
| 644 |
+
569,
|
| 645 |
+
826,
|
| 646 |
+
680
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 6
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "We evaluate all methods through the same protocol of [9, 16, 17], which uses the same amounts of generated images from the reference split specialized for each dataset.2 Besides, we run all the experiments three times with random seeds and report the averaged best performances for reliable evaluation with the lone exception of ImageNet and StyleGAN2 related experiments. Please refer to Appendix C.2 for other experimental details. The numbers in bold-faced denote the best performance and in underline indicate that the values are in one standard deviation from the best. ",
|
| 653 |
+
"bbox": [
|
| 654 |
+
174,
|
| 655 |
+
685,
|
| 656 |
+
825,
|
| 657 |
+
768
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 6
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "4.3 Evaluation Results ",
|
| 664 |
+
"text_level": 1,
|
| 665 |
+
"bbox": [
|
| 666 |
+
174,
|
| 667 |
+
787,
|
| 668 |
+
343,
|
| 669 |
+
803
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 6
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "Comparison with Other cGANs. We compare ReACGAN with previous state-of-the-art cGANs in Tables 1 and 2. We employ the implementations of GANs in PyTorch-StudioGAN library as it provides improved results on standard benchmark datasets [30, 31]. For a fair comparison, we provide results from each original paper (denoted as \\* in method) as well as those from StudioGAN library [40]. We also conduct experiments with popular augmentation-based methods: consistency regularization (CR) [16] and differentiable augmentation (DiffAug) [9]. ",
|
| 676 |
+
"bbox": [
|
| 677 |
+
174,
|
| 678 |
+
814,
|
| 679 |
+
825,
|
| 680 |
+
869
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 6
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "table",
|
| 686 |
+
"img_path": "images/d5bbe5ee1dbe2195a327ca572b5f43ba744dd66b42d23636d28e4a2d3dd61fd8.jpg",
|
| 687 |
+
"table_caption": [
|
| 688 |
+
"Table 2: Experiments using ImageNet [31] dataset. B.S. means batch size for training. (Left): Comparisons with previous cGAN approaches. (Right): Learning curves of BigGAN [4], ContraGAN [23], and ReACGAN (ours) which are trained using the batch size of 256. "
|
| 689 |
+
],
|
| 690 |
+
"table_footnote": [],
|
| 691 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"5\">ImageNet [31]</td></tr><tr><td>IS↑</td><td>FID↓</td><td></td><td>F0.125↑</td><td>F8↑</td></tr><tr><td>ACGAN*</td><td>[20]</td><td>7.26</td><td>184.41</td><td></td><td></td></tr><tr><td>SNGAN*[3]</td><td></td><td>36.80</td><td>27.62</td><td></td><td></td></tr><tr><td>SAGAN*[29]</td><td></td><td>52.52</td><td>18.28</td><td></td><td></td></tr><tr><td>BigGAN*[20]</td><td></td><td>38.05</td><td>22.77</td><td></td><td></td></tr><tr><td></td><td>TAC-GAN*[20]</td><td>28.86</td><td>23.75</td><td></td><td></td></tr><tr><td>ContraGAN*[23]</td><td></td><td>31.10</td><td>19.69</td><td>0.951</td><td>0.927</td></tr><tr><td></td><td>ACGAN[18]</td><td>62.99</td><td>26.35</td><td>0.935</td><td>0.963</td></tr><tr><td>35=58</td><td>SNGAN [3]</td><td>32.25</td><td>26.79</td><td>0.938</td><td>0.913</td></tr><tr><td></td><td>SAGAN [29]</td><td>29.85</td><td>34.73</td><td>0.849</td><td>0.914</td></tr><tr><td></td><td>BigGAN [4]</td><td>43.97</td><td>16.36</td><td>0.964</td><td>0.955</td></tr><tr><td></td><td>ContraGAN [23]</td><td>25.25</td><td>25.16</td><td>0.947</td><td>0.855</td></tr><tr><td>ReACGAN</td><td></td><td>68.27</td><td>13.98</td><td>0.976</td><td>0.977</td></tr><tr><td></td><td>BigGAN [4] + DiffAug [9]</td><td>36.97</td><td>18.57</td><td>0.956</td><td>0.941</td></tr><tr><td></td><td>ReACGAN +DiffAug[9]</td><td>69.74</td><td>11.95</td><td>0.977</td><td>0.975</td></tr><tr><td></td><td>BigGAN*[4]</td><td>99.31</td><td>8.51</td><td>-</td><td>-</td></tr><tr><td>P55=44</td><td>BigGAN*[25]</td><td>104.57</td><td>9.18</td><td></td><td>■</td></tr><tr><td></td><td>BigGAN[4]</td><td>99.71</td><td>7.89</td><td>0.985</td><td>0.989</td></tr><tr><td></td><td>ReACGAN</td><td>92.74</td><td>8.23</td><td>0.991</td><td>0.990</td></tr><tr><td></td><td>Real Data</td><td>173.33</td><td></td><td></td><td></td></tr></table>",
|
| 692 |
+
"bbox": [
|
| 693 |
+
181,
|
| 694 |
+
147,
|
| 695 |
+
488,
|
| 696 |
+
364
|
| 697 |
+
],
|
| 698 |
+
"page_idx": 7
|
| 699 |
+
},
|
| 700 |
+
{
|
| 701 |
+
"type": "image",
|
| 702 |
+
"img_path": "images/53ae9768944e305563820e0c40eca80c05a3af3fed3352bd392c4954a6225bf3.jpg",
|
| 703 |
+
"image_caption": [],
|
| 704 |
+
"image_footnote": [],
|
| 705 |
+
"bbox": [
|
| 706 |
+
501,
|
| 707 |
+
161,
|
| 708 |
+
821,
|
| 709 |
+
367
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 7
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"text": "",
|
| 716 |
+
"bbox": [
|
| 717 |
+
174,
|
| 718 |
+
393,
|
| 719 |
+
823,
|
| 720 |
+
422
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 7
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"text": "Compared with other cGANs, ReACGAN performs the best on most benchmarks, surpassing the previous methods by $2 . 5 \\%$ , $5 . 1 \\%$ , $1 5 . 8 \\%$ , and $1 4 . 5 \\%$ in FID on CIFAR10, Tiny-ImageNet, CUB200, and ImageNet (256 B.S.), respectively. ReACGAN also harmonizes with augmentation-based regularizations, bringing incremental improvements on all the metrics. For the ImageNet experiments using a batch size of 256, ReACGAN reaches higher IS and lower FID with fewer iterations than other models in comparison. Finally, we demonstrate that ReACGAN can learn with a larger batch size on ImageNet. While some recent methods [20, 38, 27] have been built on ACGAN to improve the generation performance of ACGAN, large-scale image generation experiments with the batch size of 2048 have never been reported. Table 2 shows that our ReACGAN reaches FID score of 8.23 on ImageNet, being comparable with the value of 7.89 from BigGAN implementation in PyTorch-StudioGAN library. ReACGAN, however, provides better synthesis results than other implementations of BigGAN [4, 25]. Note that our result on ImageNet is obtained in only two runs while the training setup and architecture of BigGAN have been extensively searched and finely tuned. ",
|
| 727 |
+
"bbox": [
|
| 728 |
+
174,
|
| 729 |
+
429,
|
| 730 |
+
825,
|
| 731 |
+
608
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 7
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "Comparison with Other Conditioning Losses. We investigate how the generation qualities vary with different conditioning losses while keeping the other configurations fixed. We compare D2D-CE loss with cross-entropy loss of ACGAN (AC) [18], loss used in the projection discriminator (PD) [19], multi-hinge loss (MH) [26], and conditional contrastive loss (2C) [23]. The results are shown in Table 3. AC- and MH-based models present decent results on CIFAR10, but undergo early-training collapse on Tiny-ImageNet and CUB200 datasets. Replacing them with PD, 2C, and D2D-CE losses produce satisfactory performances across all datasets, where PD loss makes the best $\\mathrm { F } _ { 8 }$ (recall) on CUB200 dataset while giving third $\\mathrm { F _ { 0 . 1 2 5 } }$ (precision) value. The noticeable point is that the proposed D2D-CE shows consistent results across all datasets, showing the lowest FID and the highest $\\mathrm { F _ { 8 } }$ and $\\mathrm { F _ { 0 . 1 2 5 } }$ values in most cases. This means ReACGAN can generate high-fidelity images and is relatively free from the precision and recall trade-off [43] than the others. ",
|
| 738 |
+
"bbox": [
|
| 739 |
+
174,
|
| 740 |
+
614,
|
| 741 |
+
825,
|
| 742 |
+
767
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 7
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "Consistent Performance of ReACGAN on Adversarial Loss Selection. We validate the consistent performance of ReACGAN on four adversarial losses: non-saturation loss [1], least square loss [10], Wasserstein loss with gradient penalty regularization (W-GP) [13], and hinge loss [46] on CIFAR10 and Tiny-ImageNet datasets in Table 4. The experimental results show that $\\mathrm { B i g G A N } + \\mathrm { D } 2 \\mathrm { D } { \\cdot } \\mathrm { C E }$ (ReACGAN) consistently outperforms the projection discriminator (PD) and conditional contrastive loss (2C) counterparts over three adversarial losses [1, 13, 46]. However, for the experiments using the least square loss [10], ReACGAN exhibits inferior generation performances to the projection discriminator. We speculate that minimizing the least square distance between an adversarial logit and the target scalar (1 or 0) might affect the norms of feature maps and spoil the classifier training performed by D2D-CE loss. ",
|
| 749 |
+
"bbox": [
|
| 750 |
+
174,
|
| 751 |
+
772,
|
| 752 |
+
825,
|
| 753 |
+
911
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 7
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "table",
|
| 759 |
+
"img_path": "images/5f9662b078f6d463fde84887bf9dcf884f89b25fc053625a9e84dc7b9f48ef56.jpg",
|
| 760 |
+
"table_caption": [
|
| 761 |
+
"Table 3: Experiments on the effectiveness of D2D-CE loss compared with other conditioning losses. "
|
| 762 |
+
],
|
| 763 |
+
"table_footnote": [],
|
| 764 |
+
"table_body": "<table><tr><td rowspan=\"2\">Conditioning Method</td><td colspan=\"4\">CIFAR10 [30]</td><td colspan=\"4\">Tiny-ImageNet [32]</td><td colspan=\"4\">CUB200 [33]</td></tr><tr><td>IS↑</td><td>FID↓</td><td>F0.125↑</td><td>F8↑</td><td>IS个</td><td>FID↓</td><td>F0.125↑</td><td>F8↑</td><td>IS↑</td><td>FID↓</td><td>F0.125↑</td><td>F8↑</td></tr><tr><td>BigGAN w/o Condition [4] (Abbreviated to Big)</td><td>9.46</td><td>12.21</td><td>0.987</td><td>0.982</td><td>7.38</td><td>76.15</td><td>0.804</td><td>0.576</td><td>5.16</td><td>35.17</td><td>0.852</td><td>0.936</td></tr><tr><td>Big + AC[18]</td><td>9.84</td><td>8.45</td><td>0.993</td><td>0.992</td><td>6.00</td><td>96.04</td><td>0.656</td><td>0.368</td><td>6.09</td><td>60.73</td><td>0.726</td><td>0.891</td></tr><tr><td>Big + PD[19]</td><td>9.81</td><td>8.08</td><td>0.993</td><td>0.992</td><td>12.78</td><td>32.03</td><td>0.948</td><td>0.868</td><td>4.98</td><td>18.30</td><td>0.924</td><td>0.967</td></tr><tr><td>Big + MH[26]</td><td>10.05</td><td>7.94</td><td>0.994</td><td>0.990</td><td>4.37</td><td>140.74</td><td>0.282</td><td>0.156</td><td>5.18</td><td>245.69</td><td>0.625</td><td>0.832</td></tr><tr><td>Big + 2C[23]</td><td>9.70</td><td>8.22</td><td>0.993</td><td>0.991</td><td>13.46</td><td>28.55</td><td>0.974</td><td>0.881</td><td>5.34</td><td>21.16</td><td>0.935</td><td>0.942</td></tr><tr><td>Big + D2D-CE (ReACGAN)</td><td>9.89</td><td>7.88</td><td>0.994</td><td>0.992</td><td>14.06</td><td>27.10</td><td>0.970</td><td>0.894</td><td>4.91</td><td>15.40</td><td>0.970</td><td>0.954</td></tr></table>",
|
| 765 |
+
"bbox": [
|
| 766 |
+
189,
|
| 767 |
+
119,
|
| 768 |
+
807,
|
| 769 |
+
233
|
| 770 |
+
],
|
| 771 |
+
"page_idx": 8
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"type": "table",
|
| 775 |
+
"img_path": "images/8543ec2bce142bf9ba668eff880dd37e8f3be1d789b055b0f875b5f0e5b0a8a8.jpg",
|
| 776 |
+
"table_caption": [
|
| 777 |
+
"Table 4: Experiments to identify the consistent performance of D2D-CE on adversarial loss selection. "
|
| 778 |
+
],
|
| 779 |
+
"table_footnote": [],
|
| 780 |
+
"table_body": "<table><tr><td rowspan=\"2\">Adversarial Loss</td><td rowspan=\"2\">Conditioning Method</td><td colspan=\"5\">CIFAR10 [30]</td><td colspan=\"5\">Tiny-ImageNet [32]</td></tr><tr><td>IS个</td><td>FID↓</td><td>F0.125↑</td><td>F8↑</td><td>Better?</td><td>IS个</td><td>FID↓</td><td>F0.125↑</td><td>F8个</td><td>Better?</td></tr><tr><td rowspan=\"3\">Non-saturation [1]</td><td>PD[19]</td><td>9.75</td><td>8.29</td><td>0.993</td><td>0.991</td><td>√</td><td>8.27</td><td>58.85</td><td>0.816</td><td>0.713</td><td></td></tr><tr><td>2C [23]</td><td>9.30</td><td>10.47</td><td>0.990</td><td>0.959</td><td></td><td>6.57</td><td>84.27</td><td>0.745</td><td>0.556</td><td></td></tr><tr><td>D2D-CE</td><td>9.79</td><td>8.27</td><td>0.993</td><td>0.991</td><td>√</td><td>11.76</td><td>39.32</td><td>0.942</td><td>0.852</td><td>√</td></tr><tr><td rowspan=\"3\">Least square [10]</td><td>PD[19]</td><td>9.94</td><td>8.26</td><td>0.993</td><td>0.992</td><td>√</td><td>12.74</td><td>37.14</td><td>0.920</td><td>0.900</td><td>√</td></tr><tr><td>2C[23]</td><td>8.66</td><td>12.18</td><td>0.986</td><td>0.941</td><td></td><td>9.58</td><td>53.10</td><td>0.916</td><td>0.706</td><td></td></tr><tr><td>D2D-CE</td><td>9.70</td><td>9.56</td><td>0.991</td><td>0.987</td><td></td><td>9.50</td><td>57.67</td><td>0.848</td><td>0.692</td><td></td></tr><tr><td rowspan=\"3\">W-GP [13]</td><td>PD[19]</td><td>5.71</td><td>64.75</td><td>0.792</td><td>0.652</td><td></td><td>6.67</td><td>84.16</td><td>0.696</td><td>0.498</td><td></td></tr><tr><td>2C [23]</td><td>5.93</td><td>55.99</td><td>0.842</td><td>0.709</td><td></td><td>6.89</td><td>74.45</td><td>0.812</td><td>0.536</td><td></td></tr><tr><td>D2D-CE</td><td>7.30</td><td>35.94</td><td>0.942</td><td>0.847</td><td>√</td><td>8.92</td><td> 52.74</td><td>0.856</td><td>0.689</td><td>√</td></tr><tr><td rowspan=\"3\">Hinge [46]</td><td>PD[19]</td><td>9.81</td><td>8.08</td><td>0.993</td><td>0.992</td><td></td><td>12.78</td><td>32.03</td><td>0.948</td><td>0.868</td><td></td></tr><tr><td>2C [23]</td><td>9.70</td><td>8.22</td><td>0.993</td><td>0.991</td><td></td><td>13.46</td><td>28.55</td><td>0.974</td><td>0.881</td><td></td></tr><tr><td>D2D-CE</td><td>9.89</td><td>7.88</td><td>0.994</td><td>0.992</td><td>√</td><td>14.06</td><td>27.10</td><td>0.970</td><td>0.894</td><td>√</td></tr></table>",
|
| 781 |
+
"bbox": [
|
| 782 |
+
189,
|
| 783 |
+
275,
|
| 784 |
+
807,
|
| 785 |
+
446
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 8
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "table",
|
| 791 |
+
"img_path": "images/ae88335aa74ef3f4e06044ae71e86fd59505e41e675a879a0dae35e5dc54b2d4.jpg",
|
| 792 |
+
"table_caption": [
|
| 793 |
+
"Table 5: FID [34] values of conditional StyleGAN2 (cStyleGAN2) [7] and StyleGAN2 $[ 7 ] + \\mathrm { D } 2 \\mathrm { D } { \\cdot } \\mathrm { C E }$ on CIFAR10 [30] and AFHQ [41] datasets. ADA means the adaptive discriminator augmentation [8]. FID is exceptionally computed using the training split for calculating the reference moments since FID value of StyleGAN2 is often calculated using the moments of the training dataset. "
|
| 794 |
+
],
|
| 795 |
+
"table_footnote": [],
|
| 796 |
+
"table_body": "<table><tr><td>Conditioning method</td><td>CIFAR10 [30]</td><td>AFHQ [41]</td></tr><tr><td>cStyleGAN2 [7]</td><td>3.88</td><td>=</td></tr><tr><td>StyleGAN2 [7] + D2D-CE</td><td> 3.34</td><td></td></tr><tr><td>cStyleGAN2 [7] + ADA [8]</td><td>2.43</td><td>4.99</td></tr><tr><td>StyleGAN2 [7] + ADA [8] + D2D-CE</td><td>2.38</td><td>4.95</td></tr><tr><td> StyleGAN2 [7] + DiffAug [9] + D2D-CE + Tuning</td><td>2.26</td><td>-</td></tr></table>",
|
| 797 |
+
"bbox": [
|
| 798 |
+
287,
|
| 799 |
+
527,
|
| 800 |
+
709,
|
| 801 |
+
613
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 8
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"text": "Effect of D2D-CE for Different GAN Architectures. We study the effect of D2D-CE loss with different GAN architectures. In Table 5, we validate that D2D-CE is effective for StyleGAN2 [7] backbone and also fits well with the adaptive discriminator augmentation (ADA) [8]. StyleGAN2 with D2D-CE loss produces $1 3 . 9 \\%$ better generation result than the conditional version of StyleGAN2 (cStyleGAN2) on CIFAR10. Moreover, StyleGAN2 with D2D-CE can be reinforced with ADA or DiffAug when train StyleGAN2 $^ +$ D2D-CE under the limited data situation. Among GANs, ${ \\mathrm { S t y l e G A N } } 2 + { \\mathrm { D i f f A u g } } + { \\mathrm { D } } 2 { \\mathrm { D } } { \\mathrm { - C E } } + { \\mathrm { 1 } }$ Tuning achieves the best performance on CIFAR10, even outperforming some diffusion-based methods [47, 48]. Additional results with other architectures, i.e., a deep convolutional network [2] and a resnet style backbone [13], are provided in Appendix E. ",
|
| 808 |
+
"bbox": [
|
| 809 |
+
173,
|
| 810 |
+
632,
|
| 811 |
+
825,
|
| 812 |
+
758
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 8
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "4.4 Ablation Study ",
|
| 819 |
+
"text_level": 1,
|
| 820 |
+
"bbox": [
|
| 821 |
+
174,
|
| 822 |
+
787,
|
| 823 |
+
316,
|
| 824 |
+
803
|
| 825 |
+
],
|
| 826 |
+
"page_idx": 8
|
| 827 |
+
},
|
| 828 |
+
{
|
| 829 |
+
"type": "text",
|
| 830 |
+
"text": "We study how each component of ReACGAN affects ACGAN training. By adding or ablating each part of ReACGAN, as shown in Table 6, we identify four major observations. (1) Feature and weight normalization greatly stabilize ACGAN training and improve generation performances on Tiny-ImageNet and CUB200 datasets. (2) D2D-CE enhances the generation performance by considering data-to-data relationships and by performing easy sample suppression (3th and 4th rows). (3) the suppression technique does not work well on the feature normalized cross-entropy loss (5th row). (4) While ACGAN shows high Inception score on ImageNet experiment, it shows relatively poor FID, $\\mathrm { F _ { 0 . 1 2 5 } }$ , and $\\mathrm { F _ { 8 } }$ values compared with the model trained with normalization, data-to-data consideration, and the suppression technique. This result is consistent with the qualitative results on ImageNet, where the images from ACGAN are easily classifiable, but the images from ReACGAN are high quality and diverse. We attribute the improvement to the discriminator that successfully leverages informative data-to-data and data-to-class relationships with easy sample suppression. ",
|
| 831 |
+
"bbox": [
|
| 832 |
+
174,
|
| 833 |
+
814,
|
| 834 |
+
825,
|
| 835 |
+
911
|
| 836 |
+
],
|
| 837 |
+
"page_idx": 8
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"type": "image",
|
| 841 |
+
"img_path": "images/a59ce57281fb29c29f8a0af958d8e87aa81a5b050192d0c14ce2973864977a69.jpg",
|
| 842 |
+
"image_caption": [
|
| 843 |
+
"Figure 5: Curated images generated by the proposed ReACGAN. More qualitative results on ReACGAN, BigGAN [4], ContraGAN [23], and ACGAN [18] are attached in Appendix J. "
|
| 844 |
+
],
|
| 845 |
+
"image_footnote": [],
|
| 846 |
+
"bbox": [
|
| 847 |
+
186,
|
| 848 |
+
130,
|
| 849 |
+
810,
|
| 850 |
+
435
|
| 851 |
+
],
|
| 852 |
+
"page_idx": 9
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"type": "table",
|
| 856 |
+
"img_path": "images/0d7edc5dfca5366716959d4814eb9bf165b368a9f9e4aa544c93ae94e2b174a7.jpg",
|
| 857 |
+
"table_caption": [
|
| 858 |
+
"Table 6: Ablation study on feature map normalization, data-to-data consideration, and easy positive and negative sample suppression. "
|
| 859 |
+
],
|
| 860 |
+
"table_footnote": [],
|
| 861 |
+
"table_body": "<table><tr><td rowspan=\"2\">Ablation</td><td colspan=\"4\">Tiny-ImageNet [32]</td><td colspan=\"4\">CUB200 [33]</td><td colspan=\"4\">ImageNet [49]</td></tr><tr><td>IS个</td><td>FID↓</td><td>F0.125↑</td><td>F8↑</td><td>IS个</td><td>FID↓</td><td>F0.125↑</td><td>F8↑</td><td>IS个</td><td>FID↓</td><td>F0.125↑</td><td>F8个</td></tr><tr><td>ACGAN [18]</td><td>6.00</td><td>96.04</td><td>0.656</td><td>0.368</td><td>6.09</td><td>60.73</td><td>0.726</td><td>0.891</td><td>62.99</td><td>26.35</td><td>0.935</td><td>0.963</td></tr><tr><td>+ Normalization</td><td>13.46</td><td>30.33</td><td>0.955</td><td>0.889</td><td>4.78</td><td>25.54</td><td>0.883</td><td>0.952</td><td>18.16</td><td>36.40</td><td>0.879</td><td>0.787</td></tr><tr><td>+ Data-to-data (Eq. (5))</td><td>12.96</td><td>28.71</td><td>0.967</td><td>0.863</td><td>5.08</td><td>25.12</td><td>0.894</td><td>0.946</td><td>-</td><td>=</td><td>-</td><td></td></tr><tr><td> + Suppression (Eq. (6))</td><td>14.06</td><td>27.10</td><td>0.970</td><td>0.894</td><td>4.91</td><td>15.40</td><td>0.970</td><td>0.954</td><td>63.16 14.59</td><td></td><td></td><td>0.9740.974</td></tr><tr><td>- Data-to-data</td><td>12.96</td><td>30.79</td><td>0.960</td><td>0.857</td><td>5.39</td><td>30.36</td><td>0.863</td><td>0.947</td><td>-</td><td>-</td><td>-</td><td>-</td></tr></table>",
|
| 862 |
+
"bbox": [
|
| 863 |
+
186,
|
| 864 |
+
534,
|
| 865 |
+
812,
|
| 866 |
+
635
|
| 867 |
+
],
|
| 868 |
+
"page_idx": 9
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"type": "text",
|
| 872 |
+
"text": "",
|
| 873 |
+
"bbox": [
|
| 874 |
+
173,
|
| 875 |
+
651,
|
| 876 |
+
825,
|
| 877 |
+
722
|
| 878 |
+
],
|
| 879 |
+
"page_idx": 9
|
| 880 |
+
},
|
| 881 |
+
{
|
| 882 |
+
"type": "text",
|
| 883 |
+
"text": "5 Conclusion ",
|
| 884 |
+
"text_level": 1,
|
| 885 |
+
"bbox": [
|
| 886 |
+
174,
|
| 887 |
+
741,
|
| 888 |
+
299,
|
| 889 |
+
758
|
| 890 |
+
],
|
| 891 |
+
"page_idx": 9
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"text": "In this paper, we have analyzed why training ACGAN becomes unstable as the number of classes in the dataset increases. By deriving the analytic form of gradient in the classifier and numerically checking the gradient values, we have discovered that the unstable training comes from a gradient exploding problem caused by the unboundedness of input feature vectors and poor classification ability of the classifier in the early training stage. To alleviate the instability and reinforce ACGAN, we have proposed the Data-to-Data Cross-Entropy loss (D2D-CE) and the Rebooted Auxiliary Classifier Generative Adversarial Network (ReACGAN). The experimental results verify the superiority of ReACGAN compared with the existing classifier- and projection-based GANs on five benchmark datasets. Moreover, exhaustive analyses on ReACGAN prove that ReACGAN is robust to hyperparameter selection and harmonizes with various architectures and differentiable augmentations. ",
|
| 896 |
+
"bbox": [
|
| 897 |
+
173,
|
| 898 |
+
772,
|
| 899 |
+
825,
|
| 900 |
+
911
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 9
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"text": "Acknowledgments and Disclosure of Funding ",
|
| 907 |
+
"text_level": 1,
|
| 908 |
+
"bbox": [
|
| 909 |
+
174,
|
| 910 |
+
88,
|
| 911 |
+
553,
|
| 912 |
+
107
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 10
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "This work was supported by the IITP grants (No.2019-0-01906: AI Graduate School Program - POSTECH, No.2021-0-00537: Visual Common Sense, No.2021-0-02068: AI Innovation Hub) funded by Ministry of Science and ICT, Korea. ",
|
| 919 |
+
"bbox": [
|
| 920 |
+
174,
|
| 921 |
+
119,
|
| 922 |
+
826,
|
| 923 |
+
161
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 10
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "References \n[1] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative Adversarial Nets. In Advances in Neural Information Processing Systems (NeurIPS), pages 2672–2680, 2014. \n[2] Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks. arXiv preprint arXiv 1511.06434, 2016. \n[3] Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral Normalization for Generative Adversarial Networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2018. \n[4] Andrew Brock, Jeff Donahue, and Karen Simonyan. Large Scale GAN Training for High Fidelity Natural Image Synthesis. In Proceedings of the International Conference on Learning Representations (ICLR), 2019. \n[5] Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), pages 4401–4410, 2019. \n[6] Yan Wu, Jeff Donahue, David Balduzzi, Karen Simonyan, and Timothy P. Lillicrap. LOGAN: Latent Optimisation for Generative Adversarial Networks. arXiv preprint arXiv 1912.00953, 2019. \n[7] Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of stylegan. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), pages 8110–8119, 2020. \n[8] Tero Karras, Miika Aittala, Janne Hellsten, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Training Generative Adversarial Networks with Limited Data. In Advances in Neural Information Processing Systems (NeurIPS), 2020. \n[9] Shengyu Zhao, Zhijian Liu, Ji Lin, Jun-Yan Zhu, and Song Han. Differentiable augmentation for dataefficient gan training. arXiv preprint arXiv 2006.10738, 2020. \n[10] Xudong Mao, Qing Li, Haoran Xie, Raymond Y. K. Lau, Zhixiang Wang, and Stephen Paul Smolley. Least Squares Generative Adversarial Networks. In Proceedings of the International Conference on Computer Vision (ICCV), pages 2813–2821, 2017. \n[11] Martín Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein GAN. arXiv preprint arXiv 1701.07875, 2017. \n[12] Martín Arjovsky and Léon Bottou. Towards Principled Methods for Training Generative Adversarial Networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2017. \n[13] Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron C Courville. Improved Training of Wasserstein GANs. In Advances in Neural Information Processing Systems (NeurIPS), pages 5767–5777, 2017. \n[14] Naveen Kodali, James Hays, Jacob D. Abernethy, and Zsolt Kira. On Convergence and Stability of GANs. arXiv preprint arXiv 1705.07215, 2018. \n[15] Zhiming Zhou, Jiadong Liang, Yuxuan Song, Lantao Yu, Hongwei Wang, Weinan Zhang, Yong Yu, and Zhihua Zhang. Lipschitz generative adversarial nets. In Proceedings of the International Conference on Machine Learning (ICML), pages 7584–7593, 2019. \n[16] Han Zhang, Zizhao Zhang, Augustus Odena, and Honglak Lee. Consistency Regularization for Generative Adversarial Networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2020. \n[17] Zhengli Zhao, Sameer Singh, Honglak Lee, Zizhao Zhang, Augustus Odena, and Han Zhang. Improved Consistency Regularization for GANs. arXiv preprint arXiv 2002.04724, 2020. \n[18] Augustus Odena, Christopher Olah, and Jonathon Shlens. Conditional Image Synthesis with Auxiliary Classifier GANs. In Proceedings of the International Conference on Machine Learning (ICML), pages 2642–2651, 2017. \n[19] Takeru Miyato and Masanori Koyama. cGANs with Projection Discriminator. In Proceedings of the International Conference on Learning Representations (ICLR), 2018. \n[20] Mingming Gong, Yanwu Xu, Chunyuan Li, Kun Zhang, and Kayhan Batmanghelich. Twin Auxilary Classifiers GAN. In Advances in Neural Information Processing Systems (NeurIPS), 2019. \n[21] Aliaksandr Siarohin, Enver Sangineto, and Nicu Sebe. Whitening and Coloring Batch Transform for GANs. In Proceedings of the International Conference on Learning Representations (ICLR), 2019. \n[22] Ming-Yu Liu, Xun Huang, Arun Mallya, Tero Karras, Timo Aila, Jaakko Lehtinen, and Jan Kautz. FewShot Unsupervised Image-to-Image Translation. In Proceedings of the International Conference on Computer Vision (ICCV), 2019. \n[23] Minguk Kang and Jaesik Park. ContraGAN: Contrastive Learning for Conditional Image Generation. In Advances in Neural Information Processing Systems (NeurIPS), 2020. \n[24] Woohyeon Shim and Minsu Cho. CircleGAN: Generative Adversarial Learning across Spherical Circles. In Advances in Neural Information Processing Systems (NeurIPS), 2020. \n[25] Peng Zhou, Lingxi Xie, Bingbing Ni, and Qi Tian. Omni-GAN: On the Secrets of cGANs and Beyond. arXiv preprint arXiv:2011.13074, 2020. \n[26] Ilya Kavalerov, Wojciech Czaja, and Rama Chellappa. A multi-class hinge loss for conditional gans. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2021. \n[27] Liang Hou, Qi Cao, Huawei Shen, and Xueqi Cheng. cGANs with Auxiliary Discriminative Classifier. arXiv preprint arXiv:2107.10060, 2021. \n[28] Han, Ligong and Min, Martin Renqiang and Stathopoulos, Anastasis and Tian, Yu and Gao, Ruijiang and Kadav, Asim and Metaxas, Dimitris N. Dual Projection Generative Adversarial Networks for Conditional Image Generation. In Proceedings of the International Conference on Computer Vision (ICCV), 2021. \n[29] Han Zhang, Ian Goodfellow, Dimitris Metaxas, and Augustus Odena. Self-Attention Generative Adversarial Networks. In Proceedings of the International Conference on Machine Learning (ICML), pages 7354–7363, 2019. \n[30] Alex Krizhevsky. Learning Multiple Layers of Features from Tiny Images. PhD thesis, University of Toronto, 2012. \n[31] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Fei-Fei Li. ImageNet: A large-scale hierarchical image database. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), pages 248–255, 2009. \n[32] Johnson et al. Tiny ImageNet Visual Recognition Challenge. https://tiny-imagenet.herokuapp. com. \n[33] P. Welinder, S. Branson, T. Mita, C. Wah, F. Schroff, S. Belongie, and P. Perona. Caltech-UCSD Birds 200. Technical report, California Institute of Technology, 2010. \n[34] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium. In Advances in Neural Information Processing Systems (NeurIPS), pages 6626–6637, 2017. \n[35] Sebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-GAN: Training Generative Neural Samplers using Variational Divergence Minimization. In Advances in Neural Information Processing Systems (NeurIPS), pages 271–279, 2016. \n[36] Akash Srivastava, Lazar Valkov, Chris Russell, Michael U Gutmann, and Charles A Sutton. VEEGAN: Reducing Mode Collapse in GANs using Implicit Variational Learning. In Advances in Neural Information Processing Systems (NeurIPS), 2017. \n[37] Mehdi Mirza and Simon Osindero. Conditional Generative Adversarial Nets. arXiv preprint arXiv 1411.1784, 2014. \n[38] Zhiming Zhou, Han Cai, Shu Rong, Yuxuan Song, Kan Ren, Weinan Zhang, Jun Wang, and Yong Yu. Activation Maximization Generative Adversarial Nets. In Proceedings of the International Conference on Learning Representations (ICLR), 2018. \n[39] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey E. Hinton. A Simple Framework for Contrastive Learning of Visual Representations. arXiv preprint arXiv 2002.05709, 2020. \n[40] Minguk Kang and Jaesik Park. Pytorch-studiogan. https://github.com/POSTECH-CVLab/ PyTorch-StudioGAN, 2020. \n[41] Yunjey Choi, Youngjung Uh, Jaejun Yoo, and Jung-Woo Ha. StarGAN v2: Diverse Image Synthesis for Multiple Domains. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2020. \n[42] Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, Xi Chen, and Xi Chen. Improved Techniques for Training GANs. In Advances in Neural Information Processing Systems (NeurIPS), pages 2234–2242, 2016. \n[43] Mehdi SM Sajjadi, Olivier Bachem, Mario Lucic, Olivier Bousquet, and Sylvain Gelly. Assessing generative models via precision and recall. In Advances in Neural Information Processing Systems (NeurIPS), 2018. \n[44] Vincent Dumoulin, Jonathon Shlens, and Manjunath Kudlur. A Learned Representation For Artistic Style. In Proceedings of the International Conference on Learning Representations (ICLR), 2017. \n[45] Harm de Vries, Florian Strub, Jeremie Mary, Hugo Larochelle, Olivier Pietquin, and Aaron C Courville. Modulating early visual processing by language. In Advances in Neural Information Processing Systems (NeurIPS), pages 6594–6604, 2017. \n[46] Jae Hyun Lim and Jong Chul Ye. Geometric GAN. arXiv preprint arXiv 1705.02894, 2017. \n[47] Alex Nichol and Prafulla Dhariwal. Improved denoising diffusion probabilistic models. In Proceedings of the International Conference on Machine Learning (ICML), 2021. \n[48] Dongjun Kim, Seungjae Shin, Kyungwoo Song, Wanmo Kang, and Il-Chul Moon. Score Matching Model for Unbounded Data Score. arXiv preprint arXiv:2106.05527, 2021. \n[49] Jiankang Deng, Jia Guo, Niannan Xue, and Stefanos Zafeiriou. Arcface: Additive angular margin loss for deep face recognition. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2019. ",
|
| 930 |
+
"bbox": [
|
| 931 |
+
173,
|
| 932 |
+
171,
|
| 933 |
+
826,
|
| 934 |
+
917
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 10
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "",
|
| 941 |
+
"bbox": [
|
| 942 |
+
169,
|
| 943 |
+
56,
|
| 944 |
+
828,
|
| 945 |
+
919
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 11
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "",
|
| 952 |
+
"bbox": [
|
| 953 |
+
171,
|
| 954 |
+
88,
|
| 955 |
+
828,
|
| 956 |
+
575
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 12
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "Checklist ",
|
| 963 |
+
"text_level": 1,
|
| 964 |
+
"bbox": [
|
| 965 |
+
174,
|
| 966 |
+
597,
|
| 967 |
+
254,
|
| 968 |
+
612
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 12
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "text",
|
| 974 |
+
"text": "1. For all authors... ",
|
| 975 |
+
"bbox": [
|
| 976 |
+
214,
|
| 977 |
+
622,
|
| 978 |
+
339,
|
| 979 |
+
636
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 12
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] The main contributions of our paper can be summarized into two points: (1) analyzing why ACGAN training becomes unstable as the number of classes in the training dataset increases, (2) developing a new cGAN model: the Rebooted Auxiliary Classifier Generative Adversarial Networks (ReACGAN). Both claims are well reflected in the abstract and introduction. \n(b) Did you describe the limitations of your work? [Yes] The proposed ReACGAN generates high-quality images using informative datato-data and data-to-class relationships in the dataset. However, it requires additional hyperparameter tuning for a temperature and margins values. Also, we analyze the weakness of ReACGAN in Appendix F. \n(c) Did you discuss any potential negative societal impacts of your work? [Yes] Generative Adversarial Networks can be used to synthesize indistinguishable images from the real. This might cause fake news, sexual harnesses, and hacking machine vision applications. Although the potential negative social impacts are not discussed in our main paper, we deal with this issue in Appendix G. \n(d) Have you read the ethics review and ensured that your paper conforms to them? [Yes] We carefully read the ethics review guidelines and comply with them. ",
|
| 986 |
+
"bbox": [
|
| 987 |
+
238,
|
| 988 |
+
641,
|
| 989 |
+
826,
|
| 990 |
+
912
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 12
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "2. If you are including theoretical results... ",
|
| 997 |
+
"bbox": [
|
| 998 |
+
214,
|
| 999 |
+
92,
|
| 1000 |
+
493,
|
| 1001 |
+
106
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 13
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "(a) Did you state the full set of assumptions of all theoretical results? [Yes] We state all assumptions that arise from the theoretical results, i.e., Property 1-4 in Sec. 3.3 in the main paper. \n(b) Did you include complete proofs of all theoretical results? [Yes] We provide the complete proofs in Appendix D. ",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
238,
|
| 1010 |
+
109,
|
| 1011 |
+
825,
|
| 1012 |
+
181
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 13
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "3. If you ran experiments... ",
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
214,
|
| 1021 |
+
184,
|
| 1022 |
+
393,
|
| 1023 |
+
198
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 13
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] We release model weights and the software package used in our paper at https://github.com/POSTECH-CVLab/PyTorch-StudioGAN. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] We state details for training models in Sec. 4.2 in the main paper, which include the evaluation procedure, hyperparameter selection, and controlled environment for a fair comparison. In addition, we add how we pre-process training datasets in the Appendix C.1. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] For reliable evaluation, we run all the experiments three times with random seeds. We provide standard deviations of Tables 1, 3, 4, 6 in Appendix I. \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] We include the total amount of compute and the type of resources in Appendix H. ",
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
236,
|
| 1032 |
+
203,
|
| 1033 |
+
825,
|
| 1034 |
+
440
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 13
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
214,
|
| 1043 |
+
445,
|
| 1044 |
+
823,
|
| 1045 |
+
459
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 13
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "text",
|
| 1051 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] We cite papers and GitHub repository that we used for our experiments in Sec. 4.2. \n(b) Did you mention the license of the assets? [No] We utilize five datasets to validate our method: CIFAR10, Tiny-ImageNet, CUB200, ImageNet, and AFHQ. These are widely used public datasets, and we cite them in the paper. However, we could not find any license information for CIFAR10, Tiny-ImageNet, and CUB200. The ImageNet and AFHQ datasets can be used for noncommercial purposes only. In addition, we mention the license of PyTorch-StudioGAN in the main paper, which is used for our experiments. \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] We provide the URL of our source code in the abstract. \n(d) Did you discuss whether and how consent was obtained from people whose data you��re using/curating? [Yes] The CIFAR10, Tiny-ImageNet, CUB200, ImageNet, and AFHQ datasets are properly curated, and they are popular datasets for research purpose. To our best knowledge, there is no inappropriate contents in the datasets. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] The benchmark datasets we used are widely adopted by others and do not contain any harmful or troublesome contents. ",
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
236,
|
| 1054 |
+
463,
|
| 1055 |
+
826,
|
| 1056 |
+
758
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 13
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 1063 |
+
"bbox": [
|
| 1064 |
+
212,
|
| 1065 |
+
762,
|
| 1066 |
+
705,
|
| 1067 |
+
776
|
| 1068 |
+
],
|
| 1069 |
+
"page_idx": 13
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "text",
|
| 1073 |
+
"text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] Our research has no relevance to the crowdsourcing or human subjects. \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] Our research has no relevance to the crowdsourcing or human subjects. \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] Our research has no relevance to the crowdsourcing or human subjects. ",
|
| 1074 |
+
"bbox": [
|
| 1075 |
+
238,
|
| 1076 |
+
780,
|
| 1077 |
+
825,
|
| 1078 |
+
909
|
| 1079 |
+
],
|
| 1080 |
+
"page_idx": 13
|
| 1081 |
+
}
|
| 1082 |
+
]
|
parse/train/Ja-hVQrfeGZ/Ja-hVQrfeGZ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Ja-hVQrfeGZ/Ja-hVQrfeGZ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r1Usiwcex/r1Usiwcex.md
ADDED
|
@@ -0,0 +1,267 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# COUNTERPOINT BY CONVOLUTION
|
| 2 |
+
|
| 3 |
+
Cheng-Zhi Anna Huang∗ MILA, Universite de Montr ´ eal ´ chengzhiannahuang@gmail.com
|
| 4 |
+
|
| 5 |
+
Tim Cooijmans† MILA, Universite de Montr ´ eal ´ tim.cooijmans@umontreal.ca
|
| 6 |
+
|
| 7 |
+
Adam Roberts
|
| 8 |
+
Google Brain
|
| 9 |
+
adarob@google.com
|
| 10 |
+
|
| 11 |
+
Aaron Courville MILA, Universite de Montr´ eal´ aaron.courville@umontreal.ca
|
| 12 |
+
|
| 13 |
+
Douglas Eck
|
| 14 |
+
Google Brain
|
| 15 |
+
deck@google.com
|
| 16 |
+
|
| 17 |
+
# ABSTRACT
|
| 18 |
+
|
| 19 |
+
Machine learning models of music typically break down the task of composition into a chronological process, composing a piece of music in a single pass from beginning to end. On the contrary, human composers write music in a nonlinear fashion, scribbling motifs here and there, often revisiting choices previously made. We explore the use of blocked Gibbs sampling as an analogue to the human approach, and introduce COCONET, a convolutional neural network in the NADE family of generative models (Uria et al., 2016). Despite ostensibly sampling from the same distribution as the NADE ancestral sampling procedure, we find that a blocked Gibbs approach significantly improves sample quality. We provide evidence that this is due to some conditional distributions being poorly modeled. Moreover, we show that even the cheap approximate blocked Gibbs procedure from Yao et al. (2014) yields better samples than ancestral sampling. We demonstrate the versatility of our method on unconditioned polyphonic music generation.
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: Ancestral inpainting of a corrupted Bach chorale by COCONET. Colors are used to distinguish the four voices. Grayscale heatmaps show predictions $p ( \mathbf { x } _ { i } \mid \mathbf { x } _ { C } )$ . The pitch sampled in the current step is indicated by a rectangular outline. The original Bach chorale is shown in the bottom right. Step 0 shows the corrupted Bach chorale. Step 64 shows the result.
|
| 23 |
+
|
| 24 |
+
# 1 INTRODUCTION
|
| 25 |
+
|
| 26 |
+
Machine learning can be used to create compelling art. This was shown recently by DeepDream (Mordvintsev et al., 2015), an optimization process that created psychedelic transformations of images. A similar idea underlies a variety of style transfer algorithms (Gatys et al., 2015), which impose textures and colors from one image onto another. More recently, the multistyle pastiche generator (Dumoulin et al., 2016) exposes adjustable knobs that allow users of the system fine-grained control over style transfers. Neural doodle (Champandard, 2016) further closes the feedback loop between algorithm and artist.
|
| 27 |
+
|
| 28 |
+
We wish to bring similar artistic tools to the domain of music. Whereas previous work in music has relied mainly on sequence models such as Hidden Markov Models (HMMs, Baum & Petrie (1966)) and Recurrent Neural Networks (RNNs, Rumelhart et al. (1988)), we instead employ convolutional neural networks due to their emphasis on capturing local structure and their invariance properties. Moreover, convolutional neural networks have shown to be extremely versatile once trained, as shown by a variety of creative uses in the literature (Mordvintsev et al., 2015; Gatys et al., 2015; Almahairi et al., 2015; Lamb et al., 2016).
|
| 29 |
+
|
| 30 |
+
We introduce COCONET, a deep convolutional model trained to reconstruct partial scores. Once trained, COCONET provides direct access to all conditionals of the form $p ( \mathbf { x } _ { i } \mid \mathbf { x } _ { C } )$ where $\mathbf { x } _ { C }$ is a fragment of a musical score $\mathbf { x }$ and $i \not \in C$ is in its complement. Figure 1 shows an example of such conditionals used in completing a partial score.
|
| 31 |
+
|
| 32 |
+
COCONET is an instance of deep orderless NADE Uria et al. (2014), and thus learns an ensemble of factorizations of the joint $p ( \mathbf { x } )$ . However, the sampling procedure for orderless NADE is not orderless. Sampling from an orderless NADE involves (randomly) choosing an ordering, and sampling ancestrally according to the chosen ordering. We have found that this produces poor results for the highly structured and complex domain of musical counterpoint.
|
| 33 |
+
|
| 34 |
+
Instead, we propose to use blocked-Gibbs sampling, essentially improving sample quality through rewriting. An instance of this was previously explored by Yao et al. (2014) who employed a NADE in the transition operator for a Markov Chain, yielding a Generative Stochastic Network (GSN). The transition consists of a corruption process that masks out a subset $\mathbf { x } _ { \lnot C }$ of variables, followed by a process that independently resamples variables $\mathbf { x } _ { i } , i \notin C$ according to the distribution $p _ { \theta } ( \mathbf { x } _ { i } \mid \mathbf { x } _ { C } )$ emitted by the NADE. Crucially, the effects of independent sampling are amortized by annealing the probability with which variables are masked out. Whereas Yao et al. (2014) treat their procedure as a cheap approximation to ancestral sampling, we find that it produces superior samples.
|
| 35 |
+
|
| 36 |
+
We show the versatility of our method on unconditioned polyphonic music generation.
|
| 37 |
+
|
| 38 |
+
Section 2 discusses previous work in the area of automatic musical composition. The details of our model and training procedure are laid out in Section 3. In Section 4 we show that our approach is equivalent to that of deep and orderless NADE Uria et al. (2014). We discuss sampling from our model in Section 5. Results of quantitative and qualitative evaluations are reported in Section 6. Finally, Section 7 concludes.
|
| 39 |
+
|
| 40 |
+
# 2 RELATED WORK
|
| 41 |
+
|
| 42 |
+
Sequence models such as HMMs and RNNs are a natural choice for modeling music. However, one of the challenges in adapting such models to music is that music generally consists of multiple interdependent streams of events. This can be most clearly seen in the notion of counterpoint, which refers to the relationships between the movement of individual instruments in a musical work. Compare this to typical sequence domains such as speech and language, which involve modeling a single stream of events: a single speaker or a single stream of words.
|
| 43 |
+
|
| 44 |
+
Successful application of sequence models to music hence requires serializing or otherwise rerepresenting the music to fit the sequence paradigm. For instance, Liang (2016) serialize four-part Bach chorales by interleaving the parts, while Allan & Williams (2005) construct a chord vocabulary. Boulanger-Lewandowski et al. (2012) adopt a piano roll representation, which is a binary matrix $\mathbf { x }$ such that $\mathbf { x } _ { i t }$ is hot if some instrument is playing pitch $i$ at time $t$ . To model the joint probability distribution of the multi-hot pitch vector $\mathbf { x } _ { t }$ , they employ a Restricted Boltzmann Machine (RBM (Smolensky, 1986; Hinton et al., 2006)) or Neural Autoregressive Distribution Estimator (Uria et al., 2016) at each time step.
|
| 45 |
+
|
| 46 |
+
Moreover, the behavior of human composers does not fit the chronological mold assumed by previous authors. A human composer might start his work with a coarse chord progression and iteratively refine it, revisiting choices previously made. Sampling according to $x _ { t } \sim p ( x _ { t } | \boldsymbol { x } _ { < t } )$ , as is common, cannot account for the kinds of timeless dependencies that composers employ. Hadjeres et al. (2016) sidestep the choice of causal factorization and instead employ an undirected Markov model to learn pairwise relationships between neighboring notes up to a specified number of steps away in a score. Sampling involves Markov Chain Monte Carlo (MCMC) using the model as a Metropolis-Hastings (MH) objective. The model permits constraints on the state space to support tasks such as melody harmonization. However, the Markov assumption severely limits the expressivity of the model.
|
| 47 |
+
|
| 48 |
+
We opt instead for a convolutional approach that avoids many of these issues and naturally captures both relationships across time and interactions between instruments.
|
| 49 |
+
|
| 50 |
+
# 3 COUNTERPOINT BY CONVOLUTION
|
| 51 |
+
|
| 52 |
+
We approach the task of music composition with a deep convolutional neural network (Krizhevsky et al., 2012). This choice is motivated by the locality of contrapuntal rules and their near-invariance to translation, both in time and in the frequency spectrum.
|
| 53 |
+
|
| 54 |
+
We represent the music as a stack of piano rolls encoded in a binary three-tensor $\mathbf { x } \in \{ 0 , 1 \} ^ { I \times T \times P }$ . Here $I$ denotes the number of instruments, $T$ the number of time steps, $P$ the number of pitches, and $\mathbf { x } _ { i , t , p } = 1$ iff the ith instrument plays pitch $p$ at time $t$ . We will assume each instrument plays exactly one pitch at a time, that is, $\begin{array} { r } { \sum _ { p } \mathbf { x } _ { i , t , p } = 1 } \end{array}$ for all $i , t$ .
|
| 55 |
+
|
| 56 |
+
For the present work we will restrict ourselves to the study of four-part Bach chorales as used in prior work (Allan & Williams, 2005; Boulanger-Lewandowski et al., 2012; Goel et al., 2014; Liang, 2016; Hadjeres et al., 2016). Hence we assume $I = 4$ throughout. We discretize pitch according to equal temperament, but constrain ourselves to only the range that appears in our training data (MIDI pitches 36 through 88). Time is discretized at the level of 16th notes for similar reasons. To curb memory requirements, we enforce $T = 6 4$ by randomly cropping the training examples.
|
| 57 |
+
|
| 58 |
+
Given a training example $\mathbf { x } \sim p ( \mathbf { x } )$ , we present the model with the values of only a strict subset of its elements $\mathbf { x } _ { C } = \{ \mathbf { x } _ { ( i , t ) } \mid ( i , t ) \in C \}$ and ask it to reconstruct its complement $\mathbf { x } _ { \lnot C }$ . The input to the model is obtained by masking the piano rolls $\mathbf { x }$ to obtain the context $\mathbf { x } _ { C }$ and concatenating this with the corresponding mask:
|
| 59 |
+
|
| 60 |
+
$$
|
| 61 |
+
\begin{array} { r } { \mathbf { h } _ { i , t , p } ^ { 0 } = \mathbb { 1 } _ { ( i , t ) \in C } \mathbf { x } _ { i , t , p } } \\ { \mathbf { h } _ { I + i , t , p } ^ { 0 } = \mathbb { 1 } _ { ( i , t ) \in C } } \end{array}
|
| 62 |
+
$$
|
| 63 |
+
|
| 64 |
+
where the first dimension ranges over channels and the time and pitch dimensions are convolved over.
|
| 65 |
+
|
| 66 |
+
$$
|
| 67 |
+
\begin{array} { l l } { { \displaystyle { \bf { a } } ^ { l } = { \mathrm { B N } } ( { \bf { W } } ^ { l } * { \bf { h } } ^ { l - 1 } ; \gamma ^ { l } , \beta ^ { l } ) } } \\ { { \displaystyle { \bf { h } } ^ { l } = { \mathrm { R e L U } } ( { \bf { a } } ^ { l } + { \bf { h } } ^ { l - 2 } ) } } & { { \qquad \mathrm { f o r ~ } 3 < l < L - 1 \mathrm { ~ a n d ~ } l = 0 \mathrm { ~ m o d ~ } 2 } } \\ { { \displaystyle { \bf { h } } ^ { L } = { \bf { a } } ^ { L } } } \end{array}
|
| 68 |
+
$$
|
| 69 |
+
|
| 70 |
+
With the exception of the first and final layers, all of our convolutions preserve the size of the input. That is, we use “same” padding throughout and all activations $h ^ { l } , 1 \overline { { < } } \ l < L$ have 128 channels. The network consists of 64 layers with $3 \times 3$ filters on each layer. After each convolution we apply batch normalization Ioffe & Szegedy (2015) (denoted by $\mathrm { B N } ( \cdot ) ,$ ) with statistics tied across time and pitch. After every second convolution, we introduce a skip connection from the hidden state two levels below to reap the benefits of residual learning He et al. (2015).
|
| 71 |
+
|
| 72 |
+
Finally, we obtain predictions for the pitch at each instrument/time pair:
|
| 73 |
+
|
| 74 |
+
$$
|
| 75 |
+
p _ { \theta } ( \mathbf { x } _ { i , t , p } \mid \mathbf { x } _ { C } , C ) = \frac { \exp ( h _ { i , t , p } ^ { L } ) } { \sum _ { p } \exp ( h _ { i , t , p } ^ { L } ) }
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+
The loss function is given by
|
| 79 |
+
|
| 80 |
+
$$
|
| 81 |
+
\begin{array} { l } { { \mathcal { L } } ( \mathbf { x } ; C , \theta ) = - \displaystyle \sum _ { ( i , t ) \notin C } \log p _ { \theta } ( \mathbf { x } _ { i , t } \mid \mathbf { x } _ { C } , C ) } \\ { = - \displaystyle \sum _ { ( i , t ) \notin C } \sum _ { p } \mathbf { x } _ { i , t , p } \log p _ { \theta } ( \mathbf { x } _ { i , t , p } \mid \mathbf { x } _ { C } , C ) } \end{array}
|
| 82 |
+
$$
|
| 83 |
+
|
| 84 |
+
where $p _ { \theta }$ denotes the probability under the model with parameters $\theta \ : \ : = \ : \ : \mathbf { W } ^ { 1 } , \gamma ^ { 1 } , \beta ^ { 1 } , \dots ,$ , $\mathbf { W } ^ { L - 1 } , \gamma ^ { L - 1 } , \beta ^ { L - 1 }$ . To minimize the expected loss
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
\mathbb { E } _ { \mathbf { x } \sim p ( \mathbf { x } ) } \mathbb { E } _ { C \sim p ( C ) } \mathcal { L } ( \mathbf { x } ; C , \boldsymbol { \theta } )
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
with respect to $\theta$ , we sample piano rolls $\mathbf { x }$ from the training set and contexts $C \sim p ( C )$ and optimize by stochastic gradient descent with step size determined by Adam (Kingma & Ba, 2014).
|
| 91 |
+
|
| 92 |
+
# 4 RELATIONSHIP TO NADE
|
| 93 |
+
|
| 94 |
+
Our approach is an instance of orderless and deep Neural Autoregressive Distribution Estimators (Uria et al., 2016). NADE models a $d$ -variate distribution $p ( \mathbf { x } )$ through a factorization
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
p _ { \theta } ( \mathbf { x } ) = \prod _ { d } p _ { \theta } ( \mathbf { x } _ { o _ { d } } \mid \mathbf { x } _ { o _ { < d } } )
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
where $o$ is a permutation, and the parameters $\theta$ are shared among the conditionals. NADE can be trained for all orderings $o$ simultaneously using the orderless NADE (Uria et al., 2014) training procedure. This procedure relies on the observation that, thanks to parameter sharing, computing $\bar { p } _ { \theta } ( \mathbf { x } _ { o _ { d ^ { \prime } } } \mid \mathbf { x } _ { o _ { < d } } )$ for all $d ^ { \prime } \geq d$ is no more expensive than computing it only for $d ^ { \prime } = d$ . Hence for a given $o$ and $d$ we can simultaneously obtain partial losses for all orderings that agree with $o$ up to $d$ :
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
\mathcal { L } _ { \mathrm { N A D E } } ( \mathbf { x } ; o _ { < d } , \theta ) = - \sum _ { o _ { d } } \log p _ { \theta } ( \mathbf { x } _ { o _ { d } } \mid \mathbf { x } _ { o _ { < d } } , o _ { < d } , o _ { d } )
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
Letting $o _ { < d } = C$ , we obtain our loss from Equation 7
|
| 107 |
+
|
| 108 |
+
$$
|
| 109 |
+
\mathcal { L } _ { \mathrm { C o c o n g r } } ( \mathbf { x } ; C , \theta ) = - \sum _ { ( i , t ) \notin C } \log p _ { \theta } ( \mathbf { x } _ { i , t } \mid \mathbf { x } _ { C } , C )
|
| 110 |
+
$$
|
| 111 |
+
|
| 112 |
+
For any one sample $( \mathbf { x } , C )$ , this loss consists of $| \neg C |$ terms of the form $\log p _ { \theta } ( \mathbf { x } _ { i , t } \mid \mathbf { x } _ { C } , C )$ . We let $p ( C )$ be uniform in the size of the mask $| C |$ and reweight the sample losses according to
|
| 113 |
+
|
| 114 |
+
$$
|
| 115 |
+
\tilde { \mathcal { L } } ( \mathbf { x } ; C , \theta ) = \frac { 1 } { | \neg C | } \mathcal { L } ( \mathbf { x } ; C , \theta ) .
|
| 116 |
+
$$
|
| 117 |
+
|
| 118 |
+
This correction, due to Uria et al. (2014), ensures consistent estimation of the negative log-likelihood of the joint $p _ { \theta } ( \mathbf { x } )$ .
|
| 119 |
+
|
| 120 |
+
However, we might wish to increase the difficulty by choosing $p ( C )$ so as to frequently mask out large contiguous regions, as otherwise the model might learn only superficial local relationships. This is discussed in Pathak et al. (2016) for the case of images, where a model might learn only that pixels are similar to their neighbors. Similar low-level relationships hold in our case, as our piano roll representation is binary and very sparse. For instance, if we mask out only a single sixteenth step in the middle of a long-held note, reconstructing the masked out step does not require any deep understanding of music. To this end we also consider choosing the context $C$ by independent Bernoulli samples, such that each variable has a low probability of being included in the context.
|
| 121 |
+
|
| 122 |
+
# 5 SAMPLING
|
| 123 |
+
|
| 124 |
+
We can sample from the model using the NADE ancestral ordering procedure. However, we find that this yields poor samples, and we propose instead to use Gibbs sampling.
|
| 125 |
+
|
| 126 |
+
# 5.1 NADE SAMPLING
|
| 127 |
+
|
| 128 |
+
To sample according to NADE, we start with an empty (zero everywhere) piano roll $\mathbf { x } ^ { 0 }$ and context $C ^ { 0 }$ and populate them iteratively by the following process. We feed the piano roll $\mathbf { x } ^ { s }$ and context $C ^ { s }$ into the model to obtain a set of categorical distributions $p _ { \theta } ( \mathbf { x } _ { i , t } | \mathbf { x } _ { C ^ { s } } ^ { s } , C ^ { s } )$ for $( i , t ) \notin C ^ { s }$ . As the $\mathbf { x } _ { i , t }$ are not conditionally independent, we cannot simply sample from these distributions independently. However, if we sample from one of thfor the others. Hence we randomly choose one $( i , t ) ^ { s + 1 }$ an compute new conditio to sample from, and let $\mathbf { x } _ { i , t } ^ { s + 1 }$ stributionsequal the one-hot realization. Augment the context with $C ^ { s + 1 } = C ^ { s } \cup ( i , t )$ and repeat until the piano roll is populated. This procedure is easily generalized to tasks such as melody harmonization and partial score completion by starting with a nonempty piano roll.
|
| 129 |
+
|
| 130 |
+
Unfortunately, samples thus generated are of low quality, which we surmise is due to accumulation of errors. While the model provides conditionals $p _ { \theta } ( \mathbf { x } _ { i , t } | \mathbf { x } _ { C } , C )$ for all $( i , t ) \notin C$ , some of these conditionals may be better modeled than others. We suspect in particular those conditionals used early on in the procedure, for which the context $C$ consists of very few variables. Moreover, although the model is trained to be order-agnostic, different orderings invoke different distributions, which is another indication that some conditionals are poorly learned. We test this hypothesis in Section 6.2.
|
| 131 |
+
|
| 132 |
+
# 5.2 GIBBS SAMPLING
|
| 133 |
+
|
| 134 |
+
To remedy this, we allow the model to revisit its choices: we repeatedly mask out some part of the piano roll and then repopulate it. This is a form of blocked Gibbs sampling (Liu, 1994). Blocked sampling is crucial for mixing, as the high temporal resolution of our representation causes strong correlations between consecutive notes. For instance, without blocked sampling, it would take many steps to snap out of a long-held note. Similar observations hold for the Ising model from statistical mechanics, leading to the development of the Swendsen-Wang algorithm (Swendsen & Wang, 1987) in which large clusters of variables are resampled at once.
|
| 135 |
+
|
| 136 |
+
We consider two strategies for resampling a given block of variables: ancestral sampling and independent sampling. Ancestral sampling invokes the orderless NADE sampling procedure described in Section 5.1 on the masked-out portion of the piano roll. Independent sampling simply treats the masked-out variables $\mathbf { x } { \lrcorner } C$ as independent given the context $\mathbf { x } _ { C }$ .
|
| 137 |
+
|
| 138 |
+
Using independent blocked Gibbs to sample from a NADE model has been studied by Yao et al. (2014), who propose to use an annealed masking probability given by
|
| 139 |
+
|
| 140 |
+
$$
|
| 141 |
+
\alpha _ { n } = \operatorname* { m a x } \Bigg ( \alpha _ { \operatorname* { m i n } } , \alpha _ { \operatorname* { m a x } } - \frac { n } { \eta N } ( \alpha _ { \operatorname* { m a x } } - \alpha _ { \operatorname* { m i n } } ) \Bigg )
|
| 142 |
+
$$
|
| 143 |
+
|
| 144 |
+
for some minimum and maximum probabilities $\alpha _ { \mathrm { m i n } } , \alpha _ { \mathrm { m a x } }$ , number of Gibbs steps $N$ and fraction $\eta$ of time spent before settling onto the minimum probability $\alpha _ { \mathrm { m i n } }$ . This scheme ensures the Gibbs process with independent resampling produces samples from the model distribution $p _ { \theta } ( \mathbf { x } )$ . Initially, when the masking probability is high, the chain mixes fast but samples are poor due to independent sampling. As the masking probability reduces, fewer variables are sampled at a time, until finally variables are sampled one at a time and conditioned on all the others.
|
| 145 |
+
|
| 146 |
+
Table 1: Negative log-likelihood on the test set for the Bach corpus. As discussed in the text, our numbers are not directly comparable to those of other authors due to the use of different splits. Results from Boulanger-Lewandowski et al. (2012) were based on an eighth-note temporal resolution (our resolution is sixteenth notes). Please note that our results are preliminary validation likelihoods.
|
| 147 |
+
|
| 148 |
+
<table><tr><td>Model</td><td>Notewise NLL</td><td>Framewise NLL</td></tr><tr><td></td><td></td><td></td></tr><tr><td>Bachbot (Liang, 2016)</td><td>0.477</td><td></td></tr><tr><td>NADE (Boulanger-Lewandowski et al., 2012)</td><td>1</td><td>7.19</td></tr><tr><td>RNN-RBM (Boulanger-Lewandowski et al., 2012)</td><td>1</td><td>6.27</td></tr><tr><td>RNN-NADE (Boulanger-Lewandowski et al., 2012)</td><td>1</td><td>5.56</td></tr><tr><td>CoCONET, i.i.d Bernoulli(0.50)</td><td>0.924</td><td>8</td></tr><tr><td>CoCONET, i.i.d Bernoulli(0.25)</td><td>0.655</td><td>4.48</td></tr><tr><td>COCONET, i.i.d Bernoulli(0.10)</td><td>0.812</td><td>4.66</td></tr><tr><td>CocONET,importance sampling</td><td>0.569</td><td>3.73</td></tr></table>
|
| 149 |
+
|
| 150 |
+
Yao et al. (2014) treat independent blocked Gibbs as a cheap approximation to ancestral sampling. Indeed, per Gibbs step, independent sampling requires only a single model evaluation, whereas ancestral sampling requires as many model evaluations as there are variables to sample. Moreover, we find that independent blocked Gibbs sampling in fact yields better samples than the NADE procedure from Section 5.1. Samples can be heard here: https:// soundcloud.com/czhuang/sets/coconet-nade and https://soundcloud.com/ czhuang/sets/coconet-independent-gibbs.
|
| 151 |
+
|
| 152 |
+
# 6 EVALUATION
|
| 153 |
+
|
| 154 |
+
We evaluate our approach on a corpus of four-part Bach chorales. The literature features many variants of this dataset (Allan & Williams, 2005; Boulanger-Lewandowski et al., 2012; Liang, 2016; Hadjeres et al., 2016), and we follow the unfortunate tradition of introducing our own adaptation. Although this complicates comparisons against earlier work, we feel justified in doing so as our approach requires instruments to be separated, and other authors’ eighth-note temporal resolution is too coarse to accurately convey counterpoint.
|
| 155 |
+
|
| 156 |
+
We rebuilt our dataset from the Bach chorale musicXML scores readily available through (Cuthbert & Ariza, 2010), which was also the basis for the dataset used in (Liang, 2016). The scores included 357 four-part Bach chorales. We excluded scores that included note durations less than sixteenth notes, resulting in 354 pieces. These pieces were split into train/valid/test in $6 0 / 2 0 / 2 0 \%$ ratios.
|
| 157 |
+
|
| 158 |
+
We compare with Liang (2016) based on note-level likelihood and Boulanger-Lewandowski et al. (2012) based on frame-level likelihood. Note that train/valid/test differs among both prior work and also with our work, and that Liang (2016) uses a $8 0 / 1 0 / 1 0 \%$ split instead.
|
| 159 |
+
|
| 160 |
+
However, evaluation of generative models is hard (Theis et al., 2015). The gold standard for evaluation is qualitative comparison by humans, and we therefore report human evaluation results.
|
| 161 |
+
|
| 162 |
+
# 6.1 EVALUATING LOG-LIKELIHOOD
|
| 163 |
+
|
| 164 |
+
To estimate the log-likelihood of a datapoint $\mathbf { x }$ , we follow the orderless NADE approach. That is, we sample a random ordering $( i _ { 1 } , t _ { 1 } ) , ( i _ { 2 } , t _ { 2 } ) , \dots ( i _ { I T } , t _ { I T } )$ , and compute the notewise log-likelihood
|
| 165 |
+
|
| 166 |
+
$$
|
| 167 |
+
\log \hat { p } _ { \boldsymbol { \theta } } ( \mathbf { x } ) = \frac { 1 } { I T } \sum _ { d = 1 } ^ { I T } \log p _ { \boldsymbol { \theta } } ( \mathbf { x } _ { i _ { d } , t _ { d } } \mid \mathbf { x } _ { C _ { d - 1 } } , C _ { d - 1 } )
|
| 168 |
+
$$
|
| 169 |
+
|
| 170 |
+
where $\begin{array} { r } { C _ { d } = \bigcup _ { c = 1 } ^ { d } \{ ( i _ { c } , t _ { c } ) \} } \end{array}$ . Note that we randomly crop each datapoint to be $T$ time steps long before processing it, as this facilitates batch processing.
|
| 171 |
+
|
| 172 |
+
We repeat this procedure $k$ times and average across all point estimates. The numbers for our models in Table 1 were obtained with $k = 5$ .
|
| 173 |
+
|
| 174 |
+
The process for computing the notewise log-likelihood is akin to teacher-forcing, where at each step of the way the model observes the ground truth for all its previous predictions. To compute the framewise log-likelihood, we instead let the model run free within each frame $t$ . This results in a more representative measure of the model’s quality as it is sensitive to accumulation of error.
|
| 175 |
+
|
| 176 |
+
Table 1 lists notewise and framewise likelihoods of the validation data under variants of our model, as well as comparable results from other authors. We include four variants of COCONET that differ in the choice of the distribution $p ( C )$ over contexts during training. By importance sampling we refer to the orderless NADE strategy discussed in Section 4, in which $p ( C )$ is uniform over $| C |$ and the sampled losses are reweighted by $1 / | \neg C |$ . We also evaluate three variants where the contexts are chosen by biased coin flips, that is, $\operatorname* { P r } ( ( i , t ) \in C ) = \rho$ , for $\rho \in { 0 . 5 , 0 . 2 5 , 0 . 1 }$ . The framewise log-likelihood for $\rho = 0 . 5$ is listed as $\infty$ as its estimation repeatedly overflowed.
|
| 177 |
+
|
| 178 |
+
Overall, COCONET seems to underperform in terms of notewise likelihood, yet perform well in terms of framewise likelihood. Estimating the loss by importance sampling appears to work significantly better than determining the context using independent Bernoulli variables, as one might expect. However, the choice of Bernoulli probability $\rho$ strongly affects the resulting loss, which suggests that some of the conditionals benefit from more training.
|
| 179 |
+
|
| 180 |
+
Table 2: Mean $( \pm \mathrm { S E M } )$ negative log-likelihood under the model of unconditioned samples generated from the model by various procedures.
|
| 181 |
+
|
| 182 |
+
<table><tr><td>Sampling scheme</td><td>Notewise NLL</td><td>Framewise NLL</td></tr><tr><td>Ancestral Gibbs,ρ = O.0O (NADE)</td><td>0.565 ± 0.011</td><td>3.872 ± 0.052</td></tr><tr><td>Ancestral Gibbs,ρ= 0.01</td><td>0.560 ± 0.010</td><td>3.824 ± 0.052</td></tr><tr><td>Ancestral Gibbs,ρ= 0.25</td><td>0.444 ± 0.008</td><td>3.276 ± 0.036</td></tr><tr><td>Ancestral Gibbs,ρ = 0.50</td><td>0.438 ± 0.007</td><td>3.332 ± 0.040</td></tr><tr><td>Contiguous Gibbs, ρ = 0.50</td><td>0.447 ± 0.008</td><td>3.476 ± 0.048</td></tr><tr><td>Independent Gibbs (Yao et al., 2014)</td><td>0.440 ± 0.008</td><td>3.348 ± 0.040</td></tr></table>
|
| 183 |
+
|
| 184 |
+
# 6.2 SAMPLE QUALITY
|
| 185 |
+
|
| 186 |
+
In Section 5 we conjectured that the low quality of NADE samples is due to poorly modeled conditionals $p _ { \theta } ( \mathbf { x } _ { i , t } \mid \mathbf { x } _ { C } , C )$ where $C$ is small. We test this hypothesis by evaluating the likelihood under the model of samples generated by the ancestral blocked Gibbs procedure with $C$ chosen according to independent Bernoulli variables. When we set the inclusion probability $\rho$ to 0, we obtain NADE. Increasing $\rho$ increases the expected context size $| C |$ , which should yield better samples if our hypothesis is true. The results shown in Table 2 confirm that this is the case. For these experiments, we used sample length $T = 3 2$ time steps and number of Gibbs steps $N = 1 0 0$ .
|
| 187 |
+
|
| 188 |
+
Figure 2 shows the convergence behavior of the various Gibbs procedures, averaged over 100 runs. We see that for low values of $\rho$ (small $C$ ), the chains hardly make progress beyond NADE in terms of likelihood. Higher values of $\rho$ (large $C$ ) enable the model to bootstrap and reach significantly better likelihood. However, high values of $\rho$ cause the chain to mix slowly, as can be seen in the case where $\rho ~ = ~ 0 . 5 0$ . For comparison, we included a variant, Contiguous(0.50), that always masks out in contiguous chunks of at least four sixteenth notes. This variant converges much more rapidly than Bernoulli(0.50) despite masking out equally many variables on average. Note that whereas ancestral sampling (NADE) requires ${ \cal O } ( I T )$ model evaluations and ancestral Gibbs requires ${ \cal O } ( I T N )$ model evaluations, independent Gibbs requires only $O ( N )$ model evaluations, with typically $N < I T$ .
|
| 189 |
+
|
| 190 |
+

|
| 191 |
+
Figure 2: Likelihood under the model of Gibbs samples obtained with various context distributions $p ( C )$ . NADE (equivalent to Bernoulli(0.00)) is included for reference.
|
| 192 |
+
|
| 193 |
+
# 6.3 HUMAN EVALUATIONS
|
| 194 |
+
|
| 195 |
+
We carried out a listening test on Amazon’s Mechanical Turk (MTurk) to compare quality of samples from different sources (sampling schemes and Bach). The sampling schemes under study are ancestral Gibbs with Bernoulli(0.00) masking (NADE), independent Gibbs (Yao et al., 2014), and ancestral Gibbs with Contiguous(0.50). For each scheme, we generate four unconditioned samples from empty piano rolls. For Bach, we randomly crop four fragments from the chorale validation set. We thus obtain four sets of four sounds each. All fragments are two measures long, and last twelve seconds after synthesis.
|
| 196 |
+
|
| 197 |
+

|
| 198 |
+
Figure 3: Human evaluations from MTurk on comparing sampling schemes.
|
| 199 |
+
|
| 200 |
+
For each MTurk hit, users are asked to rate on a Likert scale which of two random samples they perceive as more musical. The study resulted in 192 ratings, where each source was involved in 92 pairwise comparisons. Figure 6.3 reports for each source the number of times it was rated as more musical. We see that although ancestral sampling on NADE performs poorly compared to Bach, both ancestral and independent Gibbs Yao et al. (2014) were considered at least as musical as fragments from Bach, with independent Gibbs Yao et al. (2014) outperforming ancestral sampling (NADE) by a large margin. Pairwise comparisons are listed in Appendix A.
|
| 201 |
+
|
| 202 |
+
# 7 CONCLUSION
|
| 203 |
+
|
| 204 |
+
We introduced a convolutional approach to modeling musical scores based on the NADE (Uria et al., 2016) framework. Our experiments show that the NADE ancestral sampling procedure yields poor samples for our domain, which we have argued is because some conditionals are not captured well by the model. We have shown that sample quality improves significantly when we use blocked Gibbs sampling to iteratively rewrite parts of the score. Moreover, annealed independent blocked Gibbs sampling as proposed by Yao et al. (2014) is not only faster but in fact produces better samples.
|
| 205 |
+
|
| 206 |
+
# ACKNOWLEDGMENTS
|
| 207 |
+
|
| 208 |
+
We thank Kyle Kastner and Guillaume Alain, Curtis (Fjord) Hawthorne, the Google Brain Magenta team, as well as Jason Freidenfelds for helpful feedback, discussions, suggestions and support.
|
| 209 |
+
|
| 210 |
+
# REFERENCES
|
| 211 |
+
|
| 212 |
+
Moray Allan and Christopher KI Williams. Harmonising chorales by probabilistic inference. Advances in neural information processing systems, 17:25–32, 2005.
|
| 213 |
+
|
| 214 |
+
Amjad Almahairi, Nicolas Ballas, Tim Cooijmans, Yin Zheng, Hugo Larochelle, and Aaron Courville. Dynamic capacity networks. arXiv preprint arXiv:1511.07838, 2015.
|
| 215 |
+
|
| 216 |
+
Leonard E Baum and Ted Petrie. Statistical inference for probabilistic functions of finite state markov chains. The annals of mathematical statistics, 37(6):1554–1563, 1966.
|
| 217 |
+
|
| 218 |
+
Nicolas Boulanger-Lewandowski, Yoshua Bengio, and Pascal Vincent. Modeling temporal dependencies in high-dimensional sequences: Application to polyphonic music generation and transcription. International Conference on Machine Learning, 2012.
|
| 219 |
+
|
| 220 |
+
Alex J. Champandard. Neural doodle, 2016. URL https://github.com/alexjc/ neural-doodle.
|
| 221 |
+
|
| 222 |
+
Michael Scott Cuthbert and Christopher Ariza. music21: A toolkit for computer-aided musicology and symbolic music data. 2010.
|
| 223 |
+
|
| 224 |
+
Vincent Dumoulin, Johnathon Shlens, and Manjunath Kudlur. A learned representation for artistic style. arXiv preprint arXiv:1610.07629, 2016.
|
| 225 |
+
|
| 226 |
+
Leon A Gatys, Alexander S Ecker, and Matthias Bethge. A neural algorithm of artistic style. arXiv preprint arXiv:1508.06576, 2015.
|
| 227 |
+
|
| 228 |
+
Kratarth Goel, Raunaq Vohra, and JK Sahoo. Polyphonic music generation by modeling temporal dependencies using a rnn-dbn. In International Conference on Artificial Neural Networks, pp. 217–224. Springer, 2014.
|
| 229 |
+
|
| 230 |
+
Gaetan Hadjeres, Jason Sakellariou, and Franc¸ois Pachet. Style imitation and chord invention in ¨ polyphonic music with exponential families. arXiv preprint arXiv:1609.05152, 2016.
|
| 231 |
+
|
| 232 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. arXiv preprint arXiv:1512.03385, 2015.
|
| 233 |
+
|
| 234 |
+
Geoffrey E Hinton, Simon Osindero, and Yee-Whye Teh. A fast learning algorithm for deep belief nets. Neural computation, 18(7):1527–1554, 2006.
|
| 235 |
+
|
| 236 |
+
Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv preprint arXiv:1502.03167, 2015.
|
| 237 |
+
|
| 238 |
+
Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 239 |
+
|
| 240 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pp. 1097–1105, 2012.
|
| 241 |
+
|
| 242 |
+
Alex Lamb, Vincent Dumoulin, and Aaron Courville. Discriminative regularization for generative models. arXiv preprint arXiv:1602.03220, 2016.
|
| 243 |
+
|
| 244 |
+
Feynman Liang. Bachbot: Automatic composition in style of bach chorales. Masters thesis, University of Cambridge, 2016.
|
| 245 |
+
|
| 246 |
+
Jun S Liu. The collapsed gibbs sampler in bayesian computations with applications to a gene regulation problem. Journal of the American Statistical Association, 89(427):958–966, 1994.
|
| 247 |
+
|
| 248 |
+
MIDI. Midi tuning standard. https://en.wikipedia.org/wiki/MIDI_Tuning_ Standard. Accessed: 2016-11-12.
|
| 249 |
+
Alexander Mordvintsev, Christopher Olah, and Mike Tyka. Inceptionism: Going deeper into neural networks, 2015. URL https://research.googleblog.com/2015/06/ inceptionism-going-deeper-into-neural.html.
|
| 250 |
+
Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A Efros. Context encoders: Feature learning by inpainting. arXiv preprint arXiv:1604.07379, 2016.
|
| 251 |
+
David E Rumelhart, Geoffrey E Hinton, and Ronald J Williams. Learning representations by backpropagating errors. Cognitive modeling, 5(3):1, 1988.
|
| 252 |
+
Paul Smolensky. Information processing in dynamical systems: Foundations of harmony theory. Technical report, DTIC Document, 1986.
|
| 253 |
+
Robert H Swendsen and Jian-Sheng Wang. Nonuniversal critical dynamics in monte carlo simulations. Physical review letters, 58(2):86, 1987.
|
| 254 |
+
Lucas Theis, Aaron van den Oord, and Matthias Bethge. A note on the evaluation of generative ¨ models. arXiv preprint arXiv:1511.01844, 2015.
|
| 255 |
+
Benigno Uria, Iain Murray, and Hugo Larochelle. A deep and tractable density estimator. In ICML, pp. 467–475, 2014.
|
| 256 |
+
Benigno Uria, Marc-Alexandre Cotˆ e, Karol Gregor, Iain Murray, and Hugo Larochelle. Neural ´ autoregressive distribution estimation. arXiv preprint arXiv:1605.02226, 2016.
|
| 257 |
+
Li Yao, Sherjil Ozair, Kyunghyun Cho, and Yoshua Bengio. On the equivalence between deep nade and generative stochastic networks. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pp. 322–336. Springer, 2014.
|
| 258 |
+
|
| 259 |
+
# A PAIRWISE HUMAN EVALUATION RESULTS
|
| 260 |
+
|
| 261 |
+
This appendix supplements Section 6.3 on the evaluation of samples by human subjects. Figure 3 lists the number of wins, ties and losses for each sample source against each other sample source. All pairs of sources were compared 32 times.
|
| 262 |
+
|
| 263 |
+
$$
|
| 264 |
+
\begin{array} { r } { \begin{array} { c c c c c c c c c c c c c c c c c c c c c c c c c c c } { \mathrm { ~ I } } & { \mathrm { ~ C } } & { \mathrm { ~ N } } & { \mathrm { ~ B } } & & & & & { \mathrm { ~ I } } & { \mathrm { ~ C } } & { \mathrm { ~ N } } & { \mathrm { ~ B } } & & & & { \mathrm { ~ I } } & { \mathrm { ~ C } } & { \mathrm { ~ N } } & { \mathrm { ~ B } } \\ { \mathrm { ~ I } } & { \mathrm { ~ I ~ } } & { 2 0 } & { 2 0 } & & & { \mathrm { ~ I } } & & { 6 } & { 7 } & { 2 } & & & { \mathrm { ~ I } } & { 1 5 } & { 5 } & { 1 0 } \\ { \mathrm { ~ C } } & { 1 5 } & & & { 1 2 } & { 1 6 } & { \mathrm { ~ C } } & { 6 } & & & { 6 } & { 6 } & { \mathrm { ~ C } } & { 1 1 } & & & { 1 4 } & { 1 0 } \\ { \mathrm { ~ N } } & { 5 } & { 1 4 } & & { 2 } & & { 7 } & & { \mathrm { ~ N } } & { 7 } & { 6 } & & & { 3 } & & { 3 } & & { \mathrm { ~ N } } & { 2 0 } & { 1 2 } & { 1 2 } \\ { \mathrm { ~ B } } & { 1 0 } & { 1 0 } & { 2 2 } & & & { \mathrm { ~ B } } & { 2 } & { 6 } & { 3 } & & & { \mathrm { ~ B } } & { 2 0 } & { 1 6 } & { 7 } & & \\ { \mathrm { ~ ( a ) ~ W i n s } } & & & & & { \mathrm { ~ ( b ) ~ T i e s } } & & & & { \mathrm { ~ ( c ) ~ L o s s e s } } & & & & & { } \end{array} } \end{array}
|
| 265 |
+
$$
|
| 266 |
+
|
| 267 |
+
Figure 3: Pairwise human evaluation results. Each element of Table 3(a) shows the number of times the source corresponding to the row was preferred over the source corresponding to the column. Table 3(b) shows the number of ties. Table 3(c) shows the number of losses and is the transpose of Table 3(a). Source legend: I denotes Independent Gibbs (Yao et al., 2014), C denotes Contiguous Gibbs, N denotes NADE and B denotes Bach.
|
parse/train/r1Usiwcex/r1Usiwcex_content_list.json
ADDED
|
@@ -0,0 +1,1317 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "COUNTERPOINT BY CONVOLUTION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
99,
|
| 9 |
+
598,
|
| 10 |
+
121
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Cheng-Zhi Anna Huang∗ MILA, Universite de Montr ´ eal ´ chengzhiannahuang@gmail.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
145,
|
| 20 |
+
450,
|
| 21 |
+
188
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Tim Cooijmans† MILA, Universite de Montr ´ eal ´ tim.cooijmans@umontreal.ca ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
557,
|
| 30 |
+
145,
|
| 31 |
+
813,
|
| 32 |
+
188
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Adam Roberts \nGoogle Brain \nadarob@google.com ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
183,
|
| 41 |
+
208,
|
| 42 |
+
352,
|
| 43 |
+
251
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Aaron Courville MILA, Universite de Montr´ eal´ aaron.courville@umontreal.ca ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
370,
|
| 52 |
+
208,
|
| 53 |
+
645,
|
| 54 |
+
250
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Douglas Eck \nGoogle Brain \ndeck@google.com ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
663,
|
| 63 |
+
208,
|
| 64 |
+
813,
|
| 65 |
+
251
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "ABSTRACT ",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
454,
|
| 75 |
+
287,
|
| 76 |
+
544,
|
| 77 |
+
303
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "Machine learning models of music typically break down the task of composition into a chronological process, composing a piece of music in a single pass from beginning to end. On the contrary, human composers write music in a nonlinear fashion, scribbling motifs here and there, often revisiting choices previously made. We explore the use of blocked Gibbs sampling as an analogue to the human approach, and introduce COCONET, a convolutional neural network in the NADE family of generative models (Uria et al., 2016). Despite ostensibly sampling from the same distribution as the NADE ancestral sampling procedure, we find that a blocked Gibbs approach significantly improves sample quality. We provide evidence that this is due to some conditional distributions being poorly modeled. Moreover, we show that even the cheap approximate blocked Gibbs procedure from Yao et al. (2014) yields better samples than ancestral sampling. We demonstrate the versatility of our method on unconditioned polyphonic music generation. ",
|
| 84 |
+
"bbox": [
|
| 85 |
+
232,
|
| 86 |
+
325,
|
| 87 |
+
764,
|
| 88 |
+
520
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "image",
|
| 94 |
+
"img_path": "images/76c6a45fb4238b7ac19558e4f5a13b990679ecf9101a0c589cf902dafaaa8e6e.jpg",
|
| 95 |
+
"image_caption": [
|
| 96 |
+
"Figure 1: Ancestral inpainting of a corrupted Bach chorale by COCONET. Colors are used to distinguish the four voices. Grayscale heatmaps show predictions $p ( \\mathbf { x } _ { i } \\mid \\mathbf { x } _ { C } )$ . The pitch sampled in the current step is indicated by a rectangular outline. The original Bach chorale is shown in the bottom right. Step 0 shows the corrupted Bach chorale. Step 64 shows the result. "
|
| 97 |
+
],
|
| 98 |
+
"image_footnote": [],
|
| 99 |
+
"bbox": [
|
| 100 |
+
274,
|
| 101 |
+
560,
|
| 102 |
+
723,
|
| 103 |
+
772
|
| 104 |
+
],
|
| 105 |
+
"page_idx": 0
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"type": "text",
|
| 109 |
+
"text": "1 INTRODUCTION ",
|
| 110 |
+
"text_level": 1,
|
| 111 |
+
"bbox": [
|
| 112 |
+
176,
|
| 113 |
+
102,
|
| 114 |
+
336,
|
| 115 |
+
117
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "Machine learning can be used to create compelling art. This was shown recently by DeepDream (Mordvintsev et al., 2015), an optimization process that created psychedelic transformations of images. A similar idea underlies a variety of style transfer algorithms (Gatys et al., 2015), which impose textures and colors from one image onto another. More recently, the multistyle pastiche generator (Dumoulin et al., 2016) exposes adjustable knobs that allow users of the system fine-grained control over style transfers. Neural doodle (Champandard, 2016) further closes the feedback loop between algorithm and artist. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
136,
|
| 125 |
+
825,
|
| 126 |
+
232
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "We wish to bring similar artistic tools to the domain of music. Whereas previous work in music has relied mainly on sequence models such as Hidden Markov Models (HMMs, Baum & Petrie (1966)) and Recurrent Neural Networks (RNNs, Rumelhart et al. (1988)), we instead employ convolutional neural networks due to their emphasis on capturing local structure and their invariance properties. Moreover, convolutional neural networks have shown to be extremely versatile once trained, as shown by a variety of creative uses in the literature (Mordvintsev et al., 2015; Gatys et al., 2015; Almahairi et al., 2015; Lamb et al., 2016). ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
239,
|
| 136 |
+
825,
|
| 137 |
+
337
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "We introduce COCONET, a deep convolutional model trained to reconstruct partial scores. Once trained, COCONET provides direct access to all conditionals of the form $p ( \\mathbf { x } _ { i } \\mid \\mathbf { x } _ { C } )$ where $\\mathbf { x } _ { C }$ is a fragment of a musical score $\\mathbf { x }$ and $i \\not \\in C$ is in its complement. Figure 1 shows an example of such conditionals used in completing a partial score. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
344,
|
| 147 |
+
825,
|
| 148 |
+
400
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "COCONET is an instance of deep orderless NADE Uria et al. (2014), and thus learns an ensemble of factorizations of the joint $p ( \\mathbf { x } )$ . However, the sampling procedure for orderless NADE is not orderless. Sampling from an orderless NADE involves (randomly) choosing an ordering, and sampling ancestrally according to the chosen ordering. We have found that this produces poor results for the highly structured and complex domain of musical counterpoint. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
174,
|
| 157 |
+
406,
|
| 158 |
+
825,
|
| 159 |
+
477
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "Instead, we propose to use blocked-Gibbs sampling, essentially improving sample quality through rewriting. An instance of this was previously explored by Yao et al. (2014) who employed a NADE in the transition operator for a Markov Chain, yielding a Generative Stochastic Network (GSN). The transition consists of a corruption process that masks out a subset $\\mathbf { x } _ { \\lnot C }$ of variables, followed by a process that independently resamples variables $\\mathbf { x } _ { i } , i \\notin C$ according to the distribution $p _ { \\theta } ( \\mathbf { x } _ { i } \\mid \\mathbf { x } _ { C } )$ emitted by the NADE. Crucially, the effects of independent sampling are amortized by annealing the probability with which variables are masked out. Whereas Yao et al. (2014) treat their procedure as a cheap approximation to ancestral sampling, we find that it produces superior samples. ",
|
| 166 |
+
"bbox": [
|
| 167 |
+
174,
|
| 168 |
+
483,
|
| 169 |
+
825,
|
| 170 |
+
595
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "We show the versatility of our method on unconditioned polyphonic music generation. ",
|
| 177 |
+
"bbox": [
|
| 178 |
+
173,
|
| 179 |
+
602,
|
| 180 |
+
740,
|
| 181 |
+
616
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "Section 2 discusses previous work in the area of automatic musical composition. The details of our model and training procedure are laid out in Section 3. In Section 4 we show that our approach is equivalent to that of deep and orderless NADE Uria et al. (2014). We discuss sampling from our model in Section 5. Results of quantitative and qualitative evaluations are reported in Section 6. Finally, Section 7 concludes. ",
|
| 188 |
+
"bbox": [
|
| 189 |
+
174,
|
| 190 |
+
623,
|
| 191 |
+
825,
|
| 192 |
+
693
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 1
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "text",
|
| 198 |
+
"text": "2 RELATED WORK ",
|
| 199 |
+
"text_level": 1,
|
| 200 |
+
"bbox": [
|
| 201 |
+
176,
|
| 202 |
+
715,
|
| 203 |
+
343,
|
| 204 |
+
732
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "Sequence models such as HMMs and RNNs are a natural choice for modeling music. However, one of the challenges in adapting such models to music is that music generally consists of multiple interdependent streams of events. This can be most clearly seen in the notion of counterpoint, which refers to the relationships between the movement of individual instruments in a musical work. Compare this to typical sequence domains such as speech and language, which involve modeling a single stream of events: a single speaker or a single stream of words. ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
174,
|
| 213 |
+
750,
|
| 214 |
+
825,
|
| 215 |
+
833
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 1
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "Successful application of sequence models to music hence requires serializing or otherwise rerepresenting the music to fit the sequence paradigm. For instance, Liang (2016) serialize four-part Bach chorales by interleaving the parts, while Allan & Williams (2005) construct a chord vocabulary. Boulanger-Lewandowski et al. (2012) adopt a piano roll representation, which is a binary matrix $\\mathbf { x }$ such that $\\mathbf { x } _ { i t }$ is hot if some instrument is playing pitch $i$ at time $t$ . To model the joint probability distribution of the multi-hot pitch vector $\\mathbf { x } _ { t }$ , they employ a Restricted Boltzmann Machine (RBM (Smolensky, 1986; Hinton et al., 2006)) or Neural Autoregressive Distribution Estimator (Uria et al., 2016) at each time step. ",
|
| 222 |
+
"bbox": [
|
| 223 |
+
174,
|
| 224 |
+
840,
|
| 225 |
+
823,
|
| 226 |
+
924
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 1
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "",
|
| 233 |
+
"bbox": [
|
| 234 |
+
173,
|
| 235 |
+
103,
|
| 236 |
+
821,
|
| 237 |
+
132
|
| 238 |
+
],
|
| 239 |
+
"page_idx": 2
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"type": "text",
|
| 243 |
+
"text": "Moreover, the behavior of human composers does not fit the chronological mold assumed by previous authors. A human composer might start his work with a coarse chord progression and iteratively refine it, revisiting choices previously made. Sampling according to $x _ { t } \\sim p ( x _ { t } | \\boldsymbol { x } _ { < t } )$ , as is common, cannot account for the kinds of timeless dependencies that composers employ. Hadjeres et al. (2016) sidestep the choice of causal factorization and instead employ an undirected Markov model to learn pairwise relationships between neighboring notes up to a specified number of steps away in a score. Sampling involves Markov Chain Monte Carlo (MCMC) using the model as a Metropolis-Hastings (MH) objective. The model permits constraints on the state space to support tasks such as melody harmonization. However, the Markov assumption severely limits the expressivity of the model. ",
|
| 244 |
+
"bbox": [
|
| 245 |
+
174,
|
| 246 |
+
138,
|
| 247 |
+
825,
|
| 248 |
+
263
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 2
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "We opt instead for a convolutional approach that avoids many of these issues and naturally captures both relationships across time and interactions between instruments. ",
|
| 255 |
+
"bbox": [
|
| 256 |
+
174,
|
| 257 |
+
270,
|
| 258 |
+
821,
|
| 259 |
+
299
|
| 260 |
+
],
|
| 261 |
+
"page_idx": 2
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"type": "text",
|
| 265 |
+
"text": "3 COUNTERPOINT BY CONVOLUTION ",
|
| 266 |
+
"text_level": 1,
|
| 267 |
+
"bbox": [
|
| 268 |
+
174,
|
| 269 |
+
319,
|
| 270 |
+
500,
|
| 271 |
+
335
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 2
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "text",
|
| 277 |
+
"text": "We approach the task of music composition with a deep convolutional neural network (Krizhevsky et al., 2012). This choice is motivated by the locality of contrapuntal rules and their near-invariance to translation, both in time and in the frequency spectrum. ",
|
| 278 |
+
"bbox": [
|
| 279 |
+
174,
|
| 280 |
+
351,
|
| 281 |
+
825,
|
| 282 |
+
393
|
| 283 |
+
],
|
| 284 |
+
"page_idx": 2
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"type": "text",
|
| 288 |
+
"text": "We represent the music as a stack of piano rolls encoded in a binary three-tensor $\\mathbf { x } \\in \\{ 0 , 1 \\} ^ { I \\times T \\times P }$ . Here $I$ denotes the number of instruments, $T$ the number of time steps, $P$ the number of pitches, and $\\mathbf { x } _ { i , t , p } = 1$ iff the ith instrument plays pitch $p$ at time $t$ . We will assume each instrument plays exactly one pitch at a time, that is, $\\begin{array} { r } { \\sum _ { p } \\mathbf { x } _ { i , t , p } = 1 } \\end{array}$ for all $i , t$ . ",
|
| 289 |
+
"bbox": [
|
| 290 |
+
174,
|
| 291 |
+
398,
|
| 292 |
+
823,
|
| 293 |
+
458
|
| 294 |
+
],
|
| 295 |
+
"page_idx": 2
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"type": "text",
|
| 299 |
+
"text": "For the present work we will restrict ourselves to the study of four-part Bach chorales as used in prior work (Allan & Williams, 2005; Boulanger-Lewandowski et al., 2012; Goel et al., 2014; Liang, 2016; Hadjeres et al., 2016). Hence we assume $I = 4$ throughout. We discretize pitch according to equal temperament, but constrain ourselves to only the range that appears in our training data (MIDI pitches 36 through 88). Time is discretized at the level of 16th notes for similar reasons. To curb memory requirements, we enforce $T = 6 4$ by randomly cropping the training examples. ",
|
| 300 |
+
"bbox": [
|
| 301 |
+
173,
|
| 302 |
+
464,
|
| 303 |
+
825,
|
| 304 |
+
549
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 2
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "text",
|
| 310 |
+
"text": "Given a training example $\\mathbf { x } \\sim p ( \\mathbf { x } )$ , we present the model with the values of only a strict subset of its elements $\\mathbf { x } _ { C } = \\{ \\mathbf { x } _ { ( i , t ) } \\mid ( i , t ) \\in C \\}$ and ask it to reconstruct its complement $\\mathbf { x } _ { \\lnot C }$ . The input to the model is obtained by masking the piano rolls $\\mathbf { x }$ to obtain the context $\\mathbf { x } _ { C }$ and concatenating this with the corresponding mask: ",
|
| 311 |
+
"bbox": [
|
| 312 |
+
174,
|
| 313 |
+
555,
|
| 314 |
+
825,
|
| 315 |
+
611
|
| 316 |
+
],
|
| 317 |
+
"page_idx": 2
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"type": "equation",
|
| 321 |
+
"img_path": "images/839a62beae821091b9ba677be8c422731035f3709d972d4a52a30557f11ae4d6.jpg",
|
| 322 |
+
"text": "$$\n\\begin{array} { r } { \\mathbf { h } _ { i , t , p } ^ { 0 } = \\mathbb { 1 } _ { ( i , t ) \\in C } \\mathbf { x } _ { i , t , p } } \\\\ { \\mathbf { h } _ { I + i , t , p } ^ { 0 } = \\mathbb { 1 } _ { ( i , t ) \\in C } } \\end{array}\n$$",
|
| 323 |
+
"text_format": "latex",
|
| 324 |
+
"bbox": [
|
| 325 |
+
415,
|
| 326 |
+
637,
|
| 327 |
+
581,
|
| 328 |
+
681
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 2
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "where the first dimension ranges over channels and the time and pitch dimensions are convolved over. ",
|
| 335 |
+
"bbox": [
|
| 336 |
+
171,
|
| 337 |
+
690,
|
| 338 |
+
823,
|
| 339 |
+
719
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 2
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "equation",
|
| 345 |
+
"img_path": "images/8378e01221cd1a8daf2e50957371787cb4eea513999fdd7a78ae18b60c746186.jpg",
|
| 346 |
+
"text": "$$\n\\begin{array} { l l } { { \\displaystyle { \\bf { a } } ^ { l } = { \\mathrm { B N } } ( { \\bf { W } } ^ { l } * { \\bf { h } } ^ { l - 1 } ; \\gamma ^ { l } , \\beta ^ { l } ) } } \\\\ { { \\displaystyle { \\bf { h } } ^ { l } = { \\mathrm { R e L U } } ( { \\bf { a } } ^ { l } + { \\bf { h } } ^ { l - 2 } ) } } & { { \\qquad \\mathrm { f o r ~ } 3 < l < L - 1 \\mathrm { ~ a n d ~ } l = 0 \\mathrm { ~ m o d ~ } 2 } } \\\\ { { \\displaystyle { \\bf { h } } ^ { L } = { \\bf { a } } ^ { L } } } \\end{array}\n$$",
|
| 347 |
+
"text_format": "latex",
|
| 348 |
+
"bbox": [
|
| 349 |
+
241,
|
| 350 |
+
742,
|
| 351 |
+
753,
|
| 352 |
+
805
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 2
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "text",
|
| 358 |
+
"text": "With the exception of the first and final layers, all of our convolutions preserve the size of the input. That is, we use “same” padding throughout and all activations $h ^ { l } , 1 \\overline { { < } } \\ l < L$ have 128 channels. The network consists of 64 layers with $3 \\times 3$ filters on each layer. After each convolution we apply batch normalization Ioffe & Szegedy (2015) (denoted by $\\mathrm { B N } ( \\cdot ) ,$ ) with statistics tied across time and pitch. After every second convolution, we introduce a skip connection from the hidden state two levels below to reap the benefits of residual learning He et al. (2015). ",
|
| 359 |
+
"bbox": [
|
| 360 |
+
173,
|
| 361 |
+
818,
|
| 362 |
+
825,
|
| 363 |
+
902
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 2
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "text",
|
| 369 |
+
"text": "Finally, we obtain predictions for the pitch at each instrument/time pair: ",
|
| 370 |
+
"bbox": [
|
| 371 |
+
173,
|
| 372 |
+
909,
|
| 373 |
+
643,
|
| 374 |
+
924
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 2
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "equation",
|
| 380 |
+
"img_path": "images/670d3de8602c894ec57f3ff7bf4eef8fa50e27371dfe937a24a3475fdf33d088.jpg",
|
| 381 |
+
"text": "$$\np _ { \\theta } ( \\mathbf { x } _ { i , t , p } \\mid \\mathbf { x } _ { C } , C ) = \\frac { \\exp ( h _ { i , t , p } ^ { L } ) } { \\sum _ { p } \\exp ( h _ { i , t , p } ^ { L } ) }\n$$",
|
| 382 |
+
"text_format": "latex",
|
| 383 |
+
"bbox": [
|
| 384 |
+
375,
|
| 385 |
+
123,
|
| 386 |
+
620,
|
| 387 |
+
162
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 3
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "The loss function is given by ",
|
| 394 |
+
"bbox": [
|
| 395 |
+
174,
|
| 396 |
+
176,
|
| 397 |
+
364,
|
| 398 |
+
191
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 3
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "equation",
|
| 404 |
+
"img_path": "images/fe2939ac92b857547018c3f1771cdd6b0551b5d7e429bfb6db1afdfa72795013.jpg",
|
| 405 |
+
"text": "$$\n\\begin{array} { l } { { \\mathcal { L } } ( \\mathbf { x } ; C , \\theta ) = - \\displaystyle \\sum _ { ( i , t ) \\notin C } \\log p _ { \\theta } ( \\mathbf { x } _ { i , t } \\mid \\mathbf { x } _ { C } , C ) } \\\\ { = - \\displaystyle \\sum _ { ( i , t ) \\notin C } \\sum _ { p } \\mathbf { x } _ { i , t , p } \\log p _ { \\theta } ( \\mathbf { x } _ { i , t , p } \\mid \\mathbf { x } _ { C } , C ) } \\end{array}\n$$",
|
| 406 |
+
"text_format": "latex",
|
| 407 |
+
"bbox": [
|
| 408 |
+
318,
|
| 409 |
+
215,
|
| 410 |
+
679,
|
| 411 |
+
291
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 3
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "text",
|
| 417 |
+
"text": "where $p _ { \\theta }$ denotes the probability under the model with parameters $\\theta \\ : \\ : = \\ : \\ : \\mathbf { W } ^ { 1 } , \\gamma ^ { 1 } , \\beta ^ { 1 } , \\dots ,$ , $\\mathbf { W } ^ { L - 1 } , \\gamma ^ { L - 1 } , \\beta ^ { L - 1 }$ . To minimize the expected loss ",
|
| 418 |
+
"bbox": [
|
| 419 |
+
171,
|
| 420 |
+
305,
|
| 421 |
+
823,
|
| 422 |
+
335
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 3
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "equation",
|
| 428 |
+
"img_path": "images/08ba1fe0538f9adba46872a1e612d0926a438457603571991ea2d2f10643946a.jpg",
|
| 429 |
+
"text": "$$\n\\mathbb { E } _ { \\mathbf { x } \\sim p ( \\mathbf { x } ) } \\mathbb { E } _ { C \\sim p ( C ) } \\mathcal { L } ( \\mathbf { x } ; C , \\boldsymbol { \\theta } )\n$$",
|
| 430 |
+
"text_format": "latex",
|
| 431 |
+
"bbox": [
|
| 432 |
+
405,
|
| 433 |
+
363,
|
| 434 |
+
591,
|
| 435 |
+
382
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 3
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "with respect to $\\theta$ , we sample piano rolls $\\mathbf { x }$ from the training set and contexts $C \\sim p ( C )$ and optimize by stochastic gradient descent with step size determined by Adam (Kingma & Ba, 2014). ",
|
| 442 |
+
"bbox": [
|
| 443 |
+
173,
|
| 444 |
+
396,
|
| 445 |
+
828,
|
| 446 |
+
426
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 3
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "text",
|
| 452 |
+
"text": "4 RELATIONSHIP TO NADE ",
|
| 453 |
+
"text_level": 1,
|
| 454 |
+
"bbox": [
|
| 455 |
+
176,
|
| 456 |
+
445,
|
| 457 |
+
413,
|
| 458 |
+
463
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 3
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "text",
|
| 464 |
+
"text": "Our approach is an instance of orderless and deep Neural Autoregressive Distribution Estimators (Uria et al., 2016). NADE models a $d$ -variate distribution $p ( \\mathbf { x } )$ through a factorization ",
|
| 465 |
+
"bbox": [
|
| 466 |
+
173,
|
| 467 |
+
477,
|
| 468 |
+
825,
|
| 469 |
+
507
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 3
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "equation",
|
| 475 |
+
"img_path": "images/3c41c24238ddaf420d269ab0e8eff685e0cca40643d7533b3265210da5541f07.jpg",
|
| 476 |
+
"text": "$$\np _ { \\theta } ( \\mathbf { x } ) = \\prod _ { d } p _ { \\theta } ( \\mathbf { x } _ { o _ { d } } \\mid \\mathbf { x } _ { o _ { < d } } )\n$$",
|
| 477 |
+
"text_format": "latex",
|
| 478 |
+
"bbox": [
|
| 479 |
+
406,
|
| 480 |
+
531,
|
| 481 |
+
591,
|
| 482 |
+
565
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 3
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "text",
|
| 488 |
+
"text": "where $o$ is a permutation, and the parameters $\\theta$ are shared among the conditionals. NADE can be trained for all orderings $o$ simultaneously using the orderless NADE (Uria et al., 2014) training procedure. This procedure relies on the observation that, thanks to parameter sharing, computing $\\bar { p } _ { \\theta } ( \\mathbf { x } _ { o _ { d ^ { \\prime } } } \\mid \\mathbf { x } _ { o _ { < d } } )$ for all $d ^ { \\prime } \\geq d$ is no more expensive than computing it only for $d ^ { \\prime } = d$ . Hence for a given $o$ and $d$ we can simultaneously obtain partial losses for all orderings that agree with $o$ up to $d$ : ",
|
| 489 |
+
"bbox": [
|
| 490 |
+
173,
|
| 491 |
+
579,
|
| 492 |
+
825,
|
| 493 |
+
651
|
| 494 |
+
],
|
| 495 |
+
"page_idx": 3
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"type": "equation",
|
| 499 |
+
"img_path": "images/2fb429f6c9de79044bb2900f191549b41697be4b890f40082c846d05c2523653.jpg",
|
| 500 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { N A D E } } ( \\mathbf { x } ; o _ { < d } , \\theta ) = - \\sum _ { o _ { d } } \\log p _ { \\theta } ( \\mathbf { x } _ { o _ { d } } \\mid \\mathbf { x } _ { o _ { < d } } , o _ { < d } , o _ { d } )\n$$",
|
| 501 |
+
"text_format": "latex",
|
| 502 |
+
"bbox": [
|
| 503 |
+
320,
|
| 504 |
+
675,
|
| 505 |
+
676,
|
| 506 |
+
710
|
| 507 |
+
],
|
| 508 |
+
"page_idx": 3
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"type": "text",
|
| 512 |
+
"text": "Letting $o _ { < d } = C$ , we obtain our loss from Equation 7 ",
|
| 513 |
+
"bbox": [
|
| 514 |
+
173,
|
| 515 |
+
742,
|
| 516 |
+
526,
|
| 517 |
+
758
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 3
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "equation",
|
| 523 |
+
"img_path": "images/24bbd2343df0226a539e1f8eecae405a18bbf1125c3b924d1f3711506df9afd6.jpg",
|
| 524 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { C o c o n g r } } ( \\mathbf { x } ; C , \\theta ) = - \\sum _ { ( i , t ) \\notin C } \\log p _ { \\theta } ( \\mathbf { x } _ { i , t } \\mid \\mathbf { x } _ { C } , C )\n$$",
|
| 525 |
+
"text_format": "latex",
|
| 526 |
+
"bbox": [
|
| 527 |
+
331,
|
| 528 |
+
782,
|
| 529 |
+
666,
|
| 530 |
+
820
|
| 531 |
+
],
|
| 532 |
+
"page_idx": 3
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"type": "text",
|
| 536 |
+
"text": "For any one sample $( \\mathbf { x } , C )$ , this loss consists of $| \\neg C |$ terms of the form $\\log p _ { \\theta } ( \\mathbf { x } _ { i , t } \\mid \\mathbf { x } _ { C } , C )$ . We let $p ( C )$ be uniform in the size of the mask $| C |$ and reweight the sample losses according to ",
|
| 537 |
+
"bbox": [
|
| 538 |
+
173,
|
| 539 |
+
834,
|
| 540 |
+
830,
|
| 541 |
+
864
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 3
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "equation",
|
| 547 |
+
"img_path": "images/bf473aa26dc22960f3213c75a535614141f09086091a4ec64607e272a5e36a87.jpg",
|
| 548 |
+
"text": "$$\n\\tilde { \\mathcal { L } } ( \\mathbf { x } ; C , \\theta ) = \\frac { 1 } { | \\neg C | } \\mathcal { L } ( \\mathbf { x } ; C , \\theta ) .\n$$",
|
| 549 |
+
"text_format": "latex",
|
| 550 |
+
"bbox": [
|
| 551 |
+
397,
|
| 552 |
+
888,
|
| 553 |
+
601,
|
| 554 |
+
921
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 3
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "text",
|
| 560 |
+
"text": "This correction, due to Uria et al. (2014), ensures consistent estimation of the negative log-likelihood of the joint $p _ { \\theta } ( \\mathbf { x } )$ . ",
|
| 561 |
+
"bbox": [
|
| 562 |
+
174,
|
| 563 |
+
103,
|
| 564 |
+
825,
|
| 565 |
+
132
|
| 566 |
+
],
|
| 567 |
+
"page_idx": 4
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"type": "text",
|
| 571 |
+
"text": "However, we might wish to increase the difficulty by choosing $p ( C )$ so as to frequently mask out large contiguous regions, as otherwise the model might learn only superficial local relationships. This is discussed in Pathak et al. (2016) for the case of images, where a model might learn only that pixels are similar to their neighbors. Similar low-level relationships hold in our case, as our piano roll representation is binary and very sparse. For instance, if we mask out only a single sixteenth step in the middle of a long-held note, reconstructing the masked out step does not require any deep understanding of music. To this end we also consider choosing the context $C$ by independent Bernoulli samples, such that each variable has a low probability of being included in the context. ",
|
| 572 |
+
"bbox": [
|
| 573 |
+
174,
|
| 574 |
+
138,
|
| 575 |
+
825,
|
| 576 |
+
251
|
| 577 |
+
],
|
| 578 |
+
"page_idx": 4
|
| 579 |
+
},
|
| 580 |
+
{
|
| 581 |
+
"type": "text",
|
| 582 |
+
"text": "5 SAMPLING ",
|
| 583 |
+
"text_level": 1,
|
| 584 |
+
"bbox": [
|
| 585 |
+
174,
|
| 586 |
+
270,
|
| 587 |
+
295,
|
| 588 |
+
286
|
| 589 |
+
],
|
| 590 |
+
"page_idx": 4
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "text",
|
| 594 |
+
"text": "We can sample from the model using the NADE ancestral ordering procedure. However, we find that this yields poor samples, and we propose instead to use Gibbs sampling. ",
|
| 595 |
+
"bbox": [
|
| 596 |
+
174,
|
| 597 |
+
301,
|
| 598 |
+
823,
|
| 599 |
+
329
|
| 600 |
+
],
|
| 601 |
+
"page_idx": 4
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "text",
|
| 605 |
+
"text": "5.1 NADE SAMPLING ",
|
| 606 |
+
"text_level": 1,
|
| 607 |
+
"bbox": [
|
| 608 |
+
176,
|
| 609 |
+
345,
|
| 610 |
+
334,
|
| 611 |
+
359
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 4
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "To sample according to NADE, we start with an empty (zero everywhere) piano roll $\\mathbf { x } ^ { 0 }$ and context $C ^ { 0 }$ and populate them iteratively by the following process. We feed the piano roll $\\mathbf { x } ^ { s }$ and context $C ^ { s }$ into the model to obtain a set of categorical distributions $p _ { \\theta } ( \\mathbf { x } _ { i , t } | \\mathbf { x } _ { C ^ { s } } ^ { s } , C ^ { s } )$ for $( i , t ) \\notin C ^ { s }$ . As the $\\mathbf { x } _ { i , t }$ are not conditionally independent, we cannot simply sample from these distributions independently. However, if we sample from one of thfor the others. Hence we randomly choose one $( i , t ) ^ { s + 1 }$ an compute new conditio to sample from, and let $\\mathbf { x } _ { i , t } ^ { s + 1 }$ stributionsequal the one-hot realization. Augment the context with $C ^ { s + 1 } = C ^ { s } \\cup ( i , t )$ and repeat until the piano roll is populated. This procedure is easily generalized to tasks such as melody harmonization and partial score completion by starting with a nonempty piano roll. ",
|
| 618 |
+
"bbox": [
|
| 619 |
+
174,
|
| 620 |
+
371,
|
| 621 |
+
825,
|
| 622 |
+
501
|
| 623 |
+
],
|
| 624 |
+
"page_idx": 4
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"type": "text",
|
| 628 |
+
"text": "Unfortunately, samples thus generated are of low quality, which we surmise is due to accumulation of errors. While the model provides conditionals $p _ { \\theta } ( \\mathbf { x } _ { i , t } | \\mathbf { x } _ { C } , C )$ for all $( i , t ) \\notin C$ , some of these conditionals may be better modeled than others. We suspect in particular those conditionals used early on in the procedure, for which the context $C$ consists of very few variables. Moreover, although the model is trained to be order-agnostic, different orderings invoke different distributions, which is another indication that some conditionals are poorly learned. We test this hypothesis in Section 6.2. ",
|
| 629 |
+
"bbox": [
|
| 630 |
+
174,
|
| 631 |
+
507,
|
| 632 |
+
825,
|
| 633 |
+
590
|
| 634 |
+
],
|
| 635 |
+
"page_idx": 4
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"type": "text",
|
| 639 |
+
"text": "5.2 GIBBS SAMPLING ",
|
| 640 |
+
"text_level": 1,
|
| 641 |
+
"bbox": [
|
| 642 |
+
174,
|
| 643 |
+
606,
|
| 644 |
+
338,
|
| 645 |
+
621
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 4
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "text",
|
| 651 |
+
"text": "To remedy this, we allow the model to revisit its choices: we repeatedly mask out some part of the piano roll and then repopulate it. This is a form of blocked Gibbs sampling (Liu, 1994). Blocked sampling is crucial for mixing, as the high temporal resolution of our representation causes strong correlations between consecutive notes. For instance, without blocked sampling, it would take many steps to snap out of a long-held note. Similar observations hold for the Ising model from statistical mechanics, leading to the development of the Swendsen-Wang algorithm (Swendsen & Wang, 1987) in which large clusters of variables are resampled at once. ",
|
| 652 |
+
"bbox": [
|
| 653 |
+
174,
|
| 654 |
+
632,
|
| 655 |
+
825,
|
| 656 |
+
731
|
| 657 |
+
],
|
| 658 |
+
"page_idx": 4
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"text": "We consider two strategies for resampling a given block of variables: ancestral sampling and independent sampling. Ancestral sampling invokes the orderless NADE sampling procedure described in Section 5.1 on the masked-out portion of the piano roll. Independent sampling simply treats the masked-out variables $\\mathbf { x } { \\lrcorner } C$ as independent given the context $\\mathbf { x } _ { C }$ . ",
|
| 663 |
+
"bbox": [
|
| 664 |
+
174,
|
| 665 |
+
737,
|
| 666 |
+
825,
|
| 667 |
+
792
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 4
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"text": "Using independent blocked Gibbs to sample from a NADE model has been studied by Yao et al. (2014), who propose to use an annealed masking probability given by ",
|
| 674 |
+
"bbox": [
|
| 675 |
+
173,
|
| 676 |
+
799,
|
| 677 |
+
823,
|
| 678 |
+
829
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 4
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "equation",
|
| 684 |
+
"img_path": "images/6197bfb60cbbc7fa6aa7f043fb521692ce54dfb45c0baca8a1ec2b0a6521864f.jpg",
|
| 685 |
+
"text": "$$\n\\alpha _ { n } = \\operatorname* { m a x } \\Bigg ( \\alpha _ { \\operatorname* { m i n } } , \\alpha _ { \\operatorname* { m a x } } - \\frac { n } { \\eta N } ( \\alpha _ { \\operatorname* { m a x } } - \\alpha _ { \\operatorname* { m i n } } ) \\Bigg )\n$$",
|
| 686 |
+
"text_format": "latex",
|
| 687 |
+
"bbox": [
|
| 688 |
+
336,
|
| 689 |
+
851,
|
| 690 |
+
661,
|
| 691 |
+
886
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 4
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"text": "for some minimum and maximum probabilities $\\alpha _ { \\mathrm { m i n } } , \\alpha _ { \\mathrm { m a x } }$ , number of Gibbs steps $N$ and fraction $\\eta$ of time spent before settling onto the minimum probability $\\alpha _ { \\mathrm { m i n } }$ . This scheme ensures the Gibbs process with independent resampling produces samples from the model distribution $p _ { \\theta } ( \\mathbf { x } )$ . Initially, when the masking probability is high, the chain mixes fast but samples are poor due to independent sampling. As the masking probability reduces, fewer variables are sampled at a time, until finally variables are sampled one at a time and conditioned on all the others. ",
|
| 698 |
+
"bbox": [
|
| 699 |
+
174,
|
| 700 |
+
895,
|
| 701 |
+
823,
|
| 702 |
+
924
|
| 703 |
+
],
|
| 704 |
+
"page_idx": 4
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "table",
|
| 708 |
+
"img_path": "images/df0976f61118c39cdd809376b37133bde031f9b635ee6db4f818a36949cd113c.jpg",
|
| 709 |
+
"table_caption": [
|
| 710 |
+
"Table 1: Negative log-likelihood on the test set for the Bach corpus. As discussed in the text, our numbers are not directly comparable to those of other authors due to the use of different splits. Results from Boulanger-Lewandowski et al. (2012) were based on an eighth-note temporal resolution (our resolution is sixteenth notes). Please note that our results are preliminary validation likelihoods. "
|
| 711 |
+
],
|
| 712 |
+
"table_footnote": [],
|
| 713 |
+
"table_body": "<table><tr><td>Model</td><td>Notewise NLL</td><td>Framewise NLL</td></tr><tr><td></td><td></td><td></td></tr><tr><td>Bachbot (Liang, 2016)</td><td>0.477</td><td></td></tr><tr><td>NADE (Boulanger-Lewandowski et al., 2012)</td><td>1</td><td>7.19</td></tr><tr><td>RNN-RBM (Boulanger-Lewandowski et al., 2012)</td><td>1</td><td>6.27</td></tr><tr><td>RNN-NADE (Boulanger-Lewandowski et al., 2012)</td><td>1</td><td>5.56</td></tr><tr><td>CoCONET, i.i.d Bernoulli(0.50)</td><td>0.924</td><td>8</td></tr><tr><td>CoCONET, i.i.d Bernoulli(0.25)</td><td>0.655</td><td>4.48</td></tr><tr><td>COCONET, i.i.d Bernoulli(0.10)</td><td>0.812</td><td>4.66</td></tr><tr><td>CocONET,importance sampling</td><td>0.569</td><td>3.73</td></tr></table>",
|
| 714 |
+
"bbox": [
|
| 715 |
+
187,
|
| 716 |
+
171,
|
| 717 |
+
808,
|
| 718 |
+
316
|
| 719 |
+
],
|
| 720 |
+
"page_idx": 5
|
| 721 |
+
},
|
| 722 |
+
{
|
| 723 |
+
"type": "text",
|
| 724 |
+
"text": "",
|
| 725 |
+
"bbox": [
|
| 726 |
+
174,
|
| 727 |
+
344,
|
| 728 |
+
825,
|
| 729 |
+
400
|
| 730 |
+
],
|
| 731 |
+
"page_idx": 5
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"type": "text",
|
| 735 |
+
"text": "Yao et al. (2014) treat independent blocked Gibbs as a cheap approximation to ancestral sampling. Indeed, per Gibbs step, independent sampling requires only a single model evaluation, whereas ancestral sampling requires as many model evaluations as there are variables to sample. Moreover, we find that independent blocked Gibbs sampling in fact yields better samples than the NADE procedure from Section 5.1. Samples can be heard here: https:// soundcloud.com/czhuang/sets/coconet-nade and https://soundcloud.com/ czhuang/sets/coconet-independent-gibbs. ",
|
| 736 |
+
"bbox": [
|
| 737 |
+
173,
|
| 738 |
+
406,
|
| 739 |
+
825,
|
| 740 |
+
505
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 5
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "text",
|
| 746 |
+
"text": "6 EVALUATION ",
|
| 747 |
+
"text_level": 1,
|
| 748 |
+
"bbox": [
|
| 749 |
+
174,
|
| 750 |
+
523,
|
| 751 |
+
315,
|
| 752 |
+
540
|
| 753 |
+
],
|
| 754 |
+
"page_idx": 5
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"type": "text",
|
| 758 |
+
"text": "We evaluate our approach on a corpus of four-part Bach chorales. The literature features many variants of this dataset (Allan & Williams, 2005; Boulanger-Lewandowski et al., 2012; Liang, 2016; Hadjeres et al., 2016), and we follow the unfortunate tradition of introducing our own adaptation. Although this complicates comparisons against earlier work, we feel justified in doing so as our approach requires instruments to be separated, and other authors’ eighth-note temporal resolution is too coarse to accurately convey counterpoint. ",
|
| 759 |
+
"bbox": [
|
| 760 |
+
174,
|
| 761 |
+
555,
|
| 762 |
+
825,
|
| 763 |
+
638
|
| 764 |
+
],
|
| 765 |
+
"page_idx": 5
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"type": "text",
|
| 769 |
+
"text": "We rebuilt our dataset from the Bach chorale musicXML scores readily available through (Cuthbert & Ariza, 2010), which was also the basis for the dataset used in (Liang, 2016). The scores included 357 four-part Bach chorales. We excluded scores that included note durations less than sixteenth notes, resulting in 354 pieces. These pieces were split into train/valid/test in $6 0 / 2 0 / 2 0 \\%$ ratios. ",
|
| 770 |
+
"bbox": [
|
| 771 |
+
174,
|
| 772 |
+
645,
|
| 773 |
+
825,
|
| 774 |
+
702
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 5
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "text",
|
| 780 |
+
"text": "We compare with Liang (2016) based on note-level likelihood and Boulanger-Lewandowski et al. (2012) based on frame-level likelihood. Note that train/valid/test differs among both prior work and also with our work, and that Liang (2016) uses a $8 0 / 1 0 / 1 0 \\%$ split instead. ",
|
| 781 |
+
"bbox": [
|
| 782 |
+
174,
|
| 783 |
+
708,
|
| 784 |
+
825,
|
| 785 |
+
751
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 5
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "However, evaluation of generative models is hard (Theis et al., 2015). The gold standard for evaluation is qualitative comparison by humans, and we therefore report human evaluation results. ",
|
| 792 |
+
"bbox": [
|
| 793 |
+
174,
|
| 794 |
+
757,
|
| 795 |
+
820,
|
| 796 |
+
786
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 5
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "6.1 EVALUATING LOG-LIKELIHOOD ",
|
| 803 |
+
"text_level": 1,
|
| 804 |
+
"bbox": [
|
| 805 |
+
176,
|
| 806 |
+
803,
|
| 807 |
+
433,
|
| 808 |
+
816
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 5
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "To estimate the log-likelihood of a datapoint $\\mathbf { x }$ , we follow the orderless NADE approach. That is, we sample a random ordering $( i _ { 1 } , t _ { 1 } ) , ( i _ { 2 } , t _ { 2 } ) , \\dots ( i _ { I T } , t _ { I T } )$ , and compute the notewise log-likelihood ",
|
| 815 |
+
"bbox": [
|
| 816 |
+
171,
|
| 817 |
+
828,
|
| 818 |
+
823,
|
| 819 |
+
858
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 5
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "equation",
|
| 825 |
+
"img_path": "images/88e98161459b9d3933b86edbc5fa5f1e8d2a0569aeeae895c04bb24a11cdb139.jpg",
|
| 826 |
+
"text": "$$\n\\log \\hat { p } _ { \\boldsymbol { \\theta } } ( \\mathbf { x } ) = \\frac { 1 } { I T } \\sum _ { d = 1 } ^ { I T } \\log p _ { \\boldsymbol { \\theta } } ( \\mathbf { x } _ { i _ { d } , t _ { d } } \\mid \\mathbf { x } _ { C _ { d - 1 } } , C _ { d - 1 } )\n$$",
|
| 827 |
+
"text_format": "latex",
|
| 828 |
+
"bbox": [
|
| 829 |
+
334,
|
| 830 |
+
878,
|
| 831 |
+
663,
|
| 832 |
+
922
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 5
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"text": "where $\\begin{array} { r } { C _ { d } = \\bigcup _ { c = 1 } ^ { d } \\{ ( i _ { c } , t _ { c } ) \\} } \\end{array}$ . Note that we randomly crop each datapoint to be $T$ time steps long before processing it, as this facilitates batch processing. ",
|
| 839 |
+
"bbox": [
|
| 840 |
+
174,
|
| 841 |
+
102,
|
| 842 |
+
823,
|
| 843 |
+
132
|
| 844 |
+
],
|
| 845 |
+
"page_idx": 6
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "text",
|
| 849 |
+
"text": "We repeat this procedure $k$ times and average across all point estimates. The numbers for our models in Table 1 were obtained with $k = 5$ . ",
|
| 850 |
+
"bbox": [
|
| 851 |
+
173,
|
| 852 |
+
138,
|
| 853 |
+
823,
|
| 854 |
+
166
|
| 855 |
+
],
|
| 856 |
+
"page_idx": 6
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"type": "text",
|
| 860 |
+
"text": "The process for computing the notewise log-likelihood is akin to teacher-forcing, where at each step of the way the model observes the ground truth for all its previous predictions. To compute the framewise log-likelihood, we instead let the model run free within each frame $t$ . This results in a more representative measure of the model’s quality as it is sensitive to accumulation of error. ",
|
| 861 |
+
"bbox": [
|
| 862 |
+
174,
|
| 863 |
+
174,
|
| 864 |
+
825,
|
| 865 |
+
229
|
| 866 |
+
],
|
| 867 |
+
"page_idx": 6
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "text",
|
| 871 |
+
"text": "Table 1 lists notewise and framewise likelihoods of the validation data under variants of our model, as well as comparable results from other authors. We include four variants of COCONET that differ in the choice of the distribution $p ( C )$ over contexts during training. By importance sampling we refer to the orderless NADE strategy discussed in Section 4, in which $p ( C )$ is uniform over $| C |$ and the sampled losses are reweighted by $1 / | \\neg C |$ . We also evaluate three variants where the contexts are chosen by biased coin flips, that is, $\\operatorname* { P r } ( ( i , t ) \\in C ) = \\rho$ , for $\\rho \\in { 0 . 5 , 0 . 2 5 , 0 . 1 }$ . The framewise log-likelihood for $\\rho = 0 . 5$ is listed as $\\infty$ as its estimation repeatedly overflowed. ",
|
| 872 |
+
"bbox": [
|
| 873 |
+
174,
|
| 874 |
+
236,
|
| 875 |
+
825,
|
| 876 |
+
335
|
| 877 |
+
],
|
| 878 |
+
"page_idx": 6
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "text",
|
| 882 |
+
"text": "Overall, COCONET seems to underperform in terms of notewise likelihood, yet perform well in terms of framewise likelihood. Estimating the loss by importance sampling appears to work significantly better than determining the context using independent Bernoulli variables, as one might expect. However, the choice of Bernoulli probability $\\rho$ strongly affects the resulting loss, which suggests that some of the conditionals benefit from more training. ",
|
| 883 |
+
"bbox": [
|
| 884 |
+
174,
|
| 885 |
+
342,
|
| 886 |
+
825,
|
| 887 |
+
411
|
| 888 |
+
],
|
| 889 |
+
"page_idx": 6
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "table",
|
| 893 |
+
"img_path": "images/d1af8beaa20b1d252c992f1ef1b7929a42cb4c0d0caaa7e8e88232b9ba0ae2eb.jpg",
|
| 894 |
+
"table_caption": [
|
| 895 |
+
"Table 2: Mean $( \\pm \\mathrm { S E M } )$ negative log-likelihood under the model of unconditioned samples generated from the model by various procedures. "
|
| 896 |
+
],
|
| 897 |
+
"table_footnote": [],
|
| 898 |
+
"table_body": "<table><tr><td>Sampling scheme</td><td>Notewise NLL</td><td>Framewise NLL</td></tr><tr><td>Ancestral Gibbs,ρ = O.0O (NADE)</td><td>0.565 ± 0.011</td><td>3.872 ± 0.052</td></tr><tr><td>Ancestral Gibbs,ρ= 0.01</td><td>0.560 ± 0.010</td><td>3.824 ± 0.052</td></tr><tr><td>Ancestral Gibbs,ρ= 0.25</td><td>0.444 ± 0.008</td><td>3.276 ± 0.036</td></tr><tr><td>Ancestral Gibbs,ρ = 0.50</td><td>0.438 ± 0.007</td><td>3.332 ± 0.040</td></tr><tr><td>Contiguous Gibbs, ρ = 0.50</td><td>0.447 ± 0.008</td><td>3.476 ± 0.048</td></tr><tr><td>Independent Gibbs (Yao et al., 2014)</td><td>0.440 ± 0.008</td><td>3.348 ± 0.040</td></tr></table>",
|
| 899 |
+
"bbox": [
|
| 900 |
+
240,
|
| 901 |
+
479,
|
| 902 |
+
756,
|
| 903 |
+
595
|
| 904 |
+
],
|
| 905 |
+
"page_idx": 6
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"type": "text",
|
| 909 |
+
"text": "6.2 SAMPLE QUALITY",
|
| 910 |
+
"text_level": 1,
|
| 911 |
+
"bbox": [
|
| 912 |
+
174,
|
| 913 |
+
648,
|
| 914 |
+
341,
|
| 915 |
+
664
|
| 916 |
+
],
|
| 917 |
+
"page_idx": 6
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"type": "text",
|
| 921 |
+
"text": "In Section 5 we conjectured that the low quality of NADE samples is due to poorly modeled conditionals $p _ { \\theta } ( \\mathbf { x } _ { i , t } \\mid \\mathbf { x } _ { C } , C )$ where $C$ is small. We test this hypothesis by evaluating the likelihood under the model of samples generated by the ancestral blocked Gibbs procedure with $C$ chosen according to independent Bernoulli variables. When we set the inclusion probability $\\rho$ to 0, we obtain NADE. Increasing $\\rho$ increases the expected context size $| C |$ , which should yield better samples if our hypothesis is true. The results shown in Table 2 confirm that this is the case. For these experiments, we used sample length $T = 3 2$ time steps and number of Gibbs steps $N = 1 0 0$ . ",
|
| 922 |
+
"bbox": [
|
| 923 |
+
173,
|
| 924 |
+
680,
|
| 925 |
+
825,
|
| 926 |
+
777
|
| 927 |
+
],
|
| 928 |
+
"page_idx": 6
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"type": "text",
|
| 932 |
+
"text": "Figure 2 shows the convergence behavior of the various Gibbs procedures, averaged over 100 runs. We see that for low values of $\\rho$ (small $C$ ), the chains hardly make progress beyond NADE in terms of likelihood. Higher values of $\\rho$ (large $C$ ) enable the model to bootstrap and reach significantly better likelihood. However, high values of $\\rho$ cause the chain to mix slowly, as can be seen in the case where $\\rho ~ = ~ 0 . 5 0$ . For comparison, we included a variant, Contiguous(0.50), that always masks out in contiguous chunks of at least four sixteenth notes. This variant converges much more rapidly than Bernoulli(0.50) despite masking out equally many variables on average. Note that whereas ancestral sampling (NADE) requires ${ \\cal O } ( I T )$ model evaluations and ancestral Gibbs requires ${ \\cal O } ( I T N )$ model evaluations, independent Gibbs requires only $O ( N )$ model evaluations, with typically $N < I T$ . ",
|
| 933 |
+
"bbox": [
|
| 934 |
+
173,
|
| 935 |
+
784,
|
| 936 |
+
825,
|
| 937 |
+
924
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 6
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "image",
|
| 943 |
+
"img_path": "images/36e9ce8ae5d09b5df6de91e8d0188fee78bc2bfacf3592f33b5b94a137775065.jpg",
|
| 944 |
+
"image_caption": [
|
| 945 |
+
"Figure 2: Likelihood under the model of Gibbs samples obtained with various context distributions $p ( C )$ . NADE (equivalent to Bernoulli(0.00)) is included for reference. "
|
| 946 |
+
],
|
| 947 |
+
"image_footnote": [],
|
| 948 |
+
"bbox": [
|
| 949 |
+
305,
|
| 950 |
+
103,
|
| 951 |
+
687,
|
| 952 |
+
342
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 7
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "text",
|
| 958 |
+
"text": "6.3 HUMAN EVALUATIONS ",
|
| 959 |
+
"text_level": 1,
|
| 960 |
+
"bbox": [
|
| 961 |
+
176,
|
| 962 |
+
438,
|
| 963 |
+
370,
|
| 964 |
+
450
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 7
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "We carried out a listening test on Amazon’s Mechanical Turk (MTurk) to compare quality of samples from different sources (sampling schemes and Bach). The sampling schemes under study are ancestral Gibbs with Bernoulli(0.00) masking (NADE), independent Gibbs (Yao et al., 2014), and ancestral Gibbs with Contiguous(0.50). For each scheme, we generate four unconditioned samples from empty piano rolls. For Bach, we randomly crop four fragments from the chorale validation set. We thus obtain four sets of four sounds each. All fragments are two measures long, and last twelve seconds after synthesis. ",
|
| 971 |
+
"bbox": [
|
| 972 |
+
174,
|
| 973 |
+
478,
|
| 974 |
+
526,
|
| 975 |
+
643
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 7
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "image",
|
| 981 |
+
"img_path": "images/c6e8aa922a515dfbdc710a2f43e84aa1496664fd38d1ba314bf4cb0648e7a622.jpg",
|
| 982 |
+
"image_caption": [
|
| 983 |
+
"Figure 3: Human evaluations from MTurk on comparing sampling schemes. "
|
| 984 |
+
],
|
| 985 |
+
"image_footnote": [],
|
| 986 |
+
"bbox": [
|
| 987 |
+
545,
|
| 988 |
+
469,
|
| 989 |
+
828,
|
| 990 |
+
622
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 7
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "For each MTurk hit, users are asked to rate on a Likert scale which of two random samples they perceive as more musical. The study resulted in 192 ratings, where each source was involved in 92 pairwise comparisons. Figure 6.3 reports for each source the number of times it was rated as more musical. We see that although ancestral sampling on NADE performs poorly compared to Bach, both ancestral and independent Gibbs Yao et al. (2014) were considered at least as musical as fragments from Bach, with independent Gibbs Yao et al. (2014) outperforming ancestral sampling (NADE) by a large margin. Pairwise comparisons are listed in Appendix A. ",
|
| 997 |
+
"bbox": [
|
| 998 |
+
173,
|
| 999 |
+
662,
|
| 1000 |
+
825,
|
| 1001 |
+
760
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 7
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "7 CONCLUSION ",
|
| 1008 |
+
"text_level": 1,
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
176,
|
| 1011 |
+
797,
|
| 1012 |
+
318,
|
| 1013 |
+
814
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 7
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "We introduced a convolutional approach to modeling musical scores based on the NADE (Uria et al., 2016) framework. Our experiments show that the NADE ancestral sampling procedure yields poor samples for our domain, which we have argued is because some conditionals are not captured well by the model. We have shown that sample quality improves significantly when we use blocked Gibbs sampling to iteratively rewrite parts of the score. Moreover, annealed independent blocked Gibbs sampling as proposed by Yao et al. (2014) is not only faster but in fact produces better samples. ",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
174,
|
| 1022 |
+
840,
|
| 1023 |
+
825,
|
| 1024 |
+
924
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 7
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 1031 |
+
"text_level": 1,
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
176,
|
| 1034 |
+
104,
|
| 1035 |
+
328,
|
| 1036 |
+
118
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 8
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "text",
|
| 1042 |
+
"text": "We thank Kyle Kastner and Guillaume Alain, Curtis (Fjord) Hawthorne, the Google Brain Magenta team, as well as Jason Freidenfelds for helpful feedback, discussions, suggestions and support. ",
|
| 1043 |
+
"bbox": [
|
| 1044 |
+
174,
|
| 1045 |
+
127,
|
| 1046 |
+
823,
|
| 1047 |
+
156
|
| 1048 |
+
],
|
| 1049 |
+
"page_idx": 8
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "text",
|
| 1053 |
+
"text": "REFERENCES ",
|
| 1054 |
+
"text_level": 1,
|
| 1055 |
+
"bbox": [
|
| 1056 |
+
174,
|
| 1057 |
+
178,
|
| 1058 |
+
287,
|
| 1059 |
+
193
|
| 1060 |
+
],
|
| 1061 |
+
"page_idx": 8
|
| 1062 |
+
},
|
| 1063 |
+
{
|
| 1064 |
+
"type": "text",
|
| 1065 |
+
"text": "Moray Allan and Christopher KI Williams. Harmonising chorales by probabilistic inference. Advances in neural information processing systems, 17:25–32, 2005. ",
|
| 1066 |
+
"bbox": [
|
| 1067 |
+
171,
|
| 1068 |
+
200,
|
| 1069 |
+
823,
|
| 1070 |
+
229
|
| 1071 |
+
],
|
| 1072 |
+
"page_idx": 8
|
| 1073 |
+
},
|
| 1074 |
+
{
|
| 1075 |
+
"type": "text",
|
| 1076 |
+
"text": "Amjad Almahairi, Nicolas Ballas, Tim Cooijmans, Yin Zheng, Hugo Larochelle, and Aaron Courville. Dynamic capacity networks. arXiv preprint arXiv:1511.07838, 2015. ",
|
| 1077 |
+
"bbox": [
|
| 1078 |
+
174,
|
| 1079 |
+
238,
|
| 1080 |
+
821,
|
| 1081 |
+
268
|
| 1082 |
+
],
|
| 1083 |
+
"page_idx": 8
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"type": "text",
|
| 1087 |
+
"text": "Leonard E Baum and Ted Petrie. Statistical inference for probabilistic functions of finite state markov chains. The annals of mathematical statistics, 37(6):1554–1563, 1966. ",
|
| 1088 |
+
"bbox": [
|
| 1089 |
+
171,
|
| 1090 |
+
277,
|
| 1091 |
+
821,
|
| 1092 |
+
308
|
| 1093 |
+
],
|
| 1094 |
+
"page_idx": 8
|
| 1095 |
+
},
|
| 1096 |
+
{
|
| 1097 |
+
"type": "text",
|
| 1098 |
+
"text": "Nicolas Boulanger-Lewandowski, Yoshua Bengio, and Pascal Vincent. Modeling temporal dependencies in high-dimensional sequences: Application to polyphonic music generation and transcription. International Conference on Machine Learning, 2012. ",
|
| 1099 |
+
"bbox": [
|
| 1100 |
+
176,
|
| 1101 |
+
315,
|
| 1102 |
+
821,
|
| 1103 |
+
359
|
| 1104 |
+
],
|
| 1105 |
+
"page_idx": 8
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"type": "text",
|
| 1109 |
+
"text": "Alex J. Champandard. Neural doodle, 2016. URL https://github.com/alexjc/ neural-doodle. ",
|
| 1110 |
+
"bbox": [
|
| 1111 |
+
173,
|
| 1112 |
+
367,
|
| 1113 |
+
820,
|
| 1114 |
+
397
|
| 1115 |
+
],
|
| 1116 |
+
"page_idx": 8
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"type": "text",
|
| 1120 |
+
"text": "Michael Scott Cuthbert and Christopher Ariza. music21: A toolkit for computer-aided musicology and symbolic music data. 2010. ",
|
| 1121 |
+
"bbox": [
|
| 1122 |
+
173,
|
| 1123 |
+
406,
|
| 1124 |
+
821,
|
| 1125 |
+
435
|
| 1126 |
+
],
|
| 1127 |
+
"page_idx": 8
|
| 1128 |
+
},
|
| 1129 |
+
{
|
| 1130 |
+
"type": "text",
|
| 1131 |
+
"text": "Vincent Dumoulin, Johnathon Shlens, and Manjunath Kudlur. A learned representation for artistic style. arXiv preprint arXiv:1610.07629, 2016. ",
|
| 1132 |
+
"bbox": [
|
| 1133 |
+
174,
|
| 1134 |
+
444,
|
| 1135 |
+
821,
|
| 1136 |
+
474
|
| 1137 |
+
],
|
| 1138 |
+
"page_idx": 8
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"type": "text",
|
| 1142 |
+
"text": "Leon A Gatys, Alexander S Ecker, and Matthias Bethge. A neural algorithm of artistic style. arXiv preprint arXiv:1508.06576, 2015. ",
|
| 1143 |
+
"bbox": [
|
| 1144 |
+
173,
|
| 1145 |
+
483,
|
| 1146 |
+
821,
|
| 1147 |
+
512
|
| 1148 |
+
],
|
| 1149 |
+
"page_idx": 8
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"type": "text",
|
| 1153 |
+
"text": "Kratarth Goel, Raunaq Vohra, and JK Sahoo. Polyphonic music generation by modeling temporal dependencies using a rnn-dbn. In International Conference on Artificial Neural Networks, pp. 217–224. Springer, 2014. ",
|
| 1154 |
+
"bbox": [
|
| 1155 |
+
173,
|
| 1156 |
+
521,
|
| 1157 |
+
825,
|
| 1158 |
+
564
|
| 1159 |
+
],
|
| 1160 |
+
"page_idx": 8
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"type": "text",
|
| 1164 |
+
"text": "Gaetan Hadjeres, Jason Sakellariou, and Franc¸ois Pachet. Style imitation and chord invention in ¨ polyphonic music with exponential families. arXiv preprint arXiv:1609.05152, 2016. ",
|
| 1165 |
+
"bbox": [
|
| 1166 |
+
173,
|
| 1167 |
+
574,
|
| 1168 |
+
823,
|
| 1169 |
+
603
|
| 1170 |
+
],
|
| 1171 |
+
"page_idx": 8
|
| 1172 |
+
},
|
| 1173 |
+
{
|
| 1174 |
+
"type": "text",
|
| 1175 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. arXiv preprint arXiv:1512.03385, 2015. ",
|
| 1176 |
+
"bbox": [
|
| 1177 |
+
173,
|
| 1178 |
+
612,
|
| 1179 |
+
823,
|
| 1180 |
+
642
|
| 1181 |
+
],
|
| 1182 |
+
"page_idx": 8
|
| 1183 |
+
},
|
| 1184 |
+
{
|
| 1185 |
+
"type": "text",
|
| 1186 |
+
"text": "Geoffrey E Hinton, Simon Osindero, and Yee-Whye Teh. A fast learning algorithm for deep belief nets. Neural computation, 18(7):1527–1554, 2006. ",
|
| 1187 |
+
"bbox": [
|
| 1188 |
+
174,
|
| 1189 |
+
650,
|
| 1190 |
+
823,
|
| 1191 |
+
680
|
| 1192 |
+
],
|
| 1193 |
+
"page_idx": 8
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"type": "text",
|
| 1197 |
+
"text": "Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv preprint arXiv:1502.03167, 2015. ",
|
| 1198 |
+
"bbox": [
|
| 1199 |
+
171,
|
| 1200 |
+
689,
|
| 1201 |
+
823,
|
| 1202 |
+
719
|
| 1203 |
+
],
|
| 1204 |
+
"page_idx": 8
|
| 1205 |
+
},
|
| 1206 |
+
{
|
| 1207 |
+
"type": "text",
|
| 1208 |
+
"text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1209 |
+
"bbox": [
|
| 1210 |
+
171,
|
| 1211 |
+
728,
|
| 1212 |
+
823,
|
| 1213 |
+
757
|
| 1214 |
+
],
|
| 1215 |
+
"page_idx": 8
|
| 1216 |
+
},
|
| 1217 |
+
{
|
| 1218 |
+
"type": "text",
|
| 1219 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pp. 1097–1105, 2012. ",
|
| 1220 |
+
"bbox": [
|
| 1221 |
+
174,
|
| 1222 |
+
765,
|
| 1223 |
+
823,
|
| 1224 |
+
809
|
| 1225 |
+
],
|
| 1226 |
+
"page_idx": 8
|
| 1227 |
+
},
|
| 1228 |
+
{
|
| 1229 |
+
"type": "text",
|
| 1230 |
+
"text": "Alex Lamb, Vincent Dumoulin, and Aaron Courville. Discriminative regularization for generative models. arXiv preprint arXiv:1602.03220, 2016. ",
|
| 1231 |
+
"bbox": [
|
| 1232 |
+
171,
|
| 1233 |
+
818,
|
| 1234 |
+
823,
|
| 1235 |
+
847
|
| 1236 |
+
],
|
| 1237 |
+
"page_idx": 8
|
| 1238 |
+
},
|
| 1239 |
+
{
|
| 1240 |
+
"type": "text",
|
| 1241 |
+
"text": "Feynman Liang. Bachbot: Automatic composition in style of bach chorales. Masters thesis, University of Cambridge, 2016. ",
|
| 1242 |
+
"bbox": [
|
| 1243 |
+
174,
|
| 1244 |
+
856,
|
| 1245 |
+
823,
|
| 1246 |
+
886
|
| 1247 |
+
],
|
| 1248 |
+
"page_idx": 8
|
| 1249 |
+
},
|
| 1250 |
+
{
|
| 1251 |
+
"type": "text",
|
| 1252 |
+
"text": "Jun S Liu. The collapsed gibbs sampler in bayesian computations with applications to a gene regulation problem. Journal of the American Statistical Association, 89(427):958–966, 1994. ",
|
| 1253 |
+
"bbox": [
|
| 1254 |
+
174,
|
| 1255 |
+
895,
|
| 1256 |
+
820,
|
| 1257 |
+
924
|
| 1258 |
+
],
|
| 1259 |
+
"page_idx": 8
|
| 1260 |
+
},
|
| 1261 |
+
{
|
| 1262 |
+
"type": "text",
|
| 1263 |
+
"text": "MIDI. Midi tuning standard. https://en.wikipedia.org/wiki/MIDI_Tuning_ Standard. Accessed: 2016-11-12. \nAlexander Mordvintsev, Christopher Olah, and Mike Tyka. Inceptionism: Going deeper into neural networks, 2015. URL https://research.googleblog.com/2015/06/ inceptionism-going-deeper-into-neural.html. \nDeepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A Efros. Context encoders: Feature learning by inpainting. arXiv preprint arXiv:1604.07379, 2016. \nDavid E Rumelhart, Geoffrey E Hinton, and Ronald J Williams. Learning representations by backpropagating errors. Cognitive modeling, 5(3):1, 1988. \nPaul Smolensky. Information processing in dynamical systems: Foundations of harmony theory. Technical report, DTIC Document, 1986. \nRobert H Swendsen and Jian-Sheng Wang. Nonuniversal critical dynamics in monte carlo simulations. Physical review letters, 58(2):86, 1987. \nLucas Theis, Aaron van den Oord, and Matthias Bethge. A note on the evaluation of generative ¨ models. arXiv preprint arXiv:1511.01844, 2015. \nBenigno Uria, Iain Murray, and Hugo Larochelle. A deep and tractable density estimator. In ICML, pp. 467–475, 2014. \nBenigno Uria, Marc-Alexandre Cotˆ e, Karol Gregor, Iain Murray, and Hugo Larochelle. Neural ´ autoregressive distribution estimation. arXiv preprint arXiv:1605.02226, 2016. \nLi Yao, Sherjil Ozair, Kyunghyun Cho, and Yoshua Bengio. On the equivalence between deep nade and generative stochastic networks. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pp. 322–336. Springer, 2014. ",
|
| 1264 |
+
"bbox": [
|
| 1265 |
+
169,
|
| 1266 |
+
102,
|
| 1267 |
+
828,
|
| 1268 |
+
503
|
| 1269 |
+
],
|
| 1270 |
+
"page_idx": 9
|
| 1271 |
+
},
|
| 1272 |
+
{
|
| 1273 |
+
"type": "text",
|
| 1274 |
+
"text": "A PAIRWISE HUMAN EVALUATION RESULTS ",
|
| 1275 |
+
"text_level": 1,
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
176,
|
| 1278 |
+
526,
|
| 1279 |
+
550,
|
| 1280 |
+
542
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 9
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "This appendix supplements Section 6.3 on the evaluation of samples by human subjects. Figure 3 lists the number of wins, ties and losses for each sample source against each other sample source. All pairs of sources were compared 32 times. ",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
174,
|
| 1289 |
+
556,
|
| 1290 |
+
825,
|
| 1291 |
+
599
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 9
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "equation",
|
| 1297 |
+
"img_path": "images/6dafc7160e6cb47cc0699ec85d33385190e3ccdc9bb50551c9d44432f09d38ce.jpg",
|
| 1298 |
+
"text": "$$\n\\begin{array} { r } { \\begin{array} { c c c c c c c c c c c c c c c c c c c c c c c c c c c } { \\mathrm { ~ I } } & { \\mathrm { ~ C } } & { \\mathrm { ~ N } } & { \\mathrm { ~ B } } & & & & & { \\mathrm { ~ I } } & { \\mathrm { ~ C } } & { \\mathrm { ~ N } } & { \\mathrm { ~ B } } & & & & { \\mathrm { ~ I } } & { \\mathrm { ~ C } } & { \\mathrm { ~ N } } & { \\mathrm { ~ B } } \\\\ { \\mathrm { ~ I } } & { \\mathrm { ~ I ~ } } & { 2 0 } & { 2 0 } & & & { \\mathrm { ~ I } } & & { 6 } & { 7 } & { 2 } & & & { \\mathrm { ~ I } } & { 1 5 } & { 5 } & { 1 0 } \\\\ { \\mathrm { ~ C } } & { 1 5 } & & & { 1 2 } & { 1 6 } & { \\mathrm { ~ C } } & { 6 } & & & { 6 } & { 6 } & { \\mathrm { ~ C } } & { 1 1 } & & & { 1 4 } & { 1 0 } \\\\ { \\mathrm { ~ N } } & { 5 } & { 1 4 } & & { 2 } & & { 7 } & & { \\mathrm { ~ N } } & { 7 } & { 6 } & & & { 3 } & & { 3 } & & { \\mathrm { ~ N } } & { 2 0 } & { 1 2 } & { 1 2 } \\\\ { \\mathrm { ~ B } } & { 1 0 } & { 1 0 } & { 2 2 } & & & { \\mathrm { ~ B } } & { 2 } & { 6 } & { 3 } & & & { \\mathrm { ~ B } } & { 2 0 } & { 1 6 } & { 7 } & & \\\\ { \\mathrm { ~ ( a ) ~ W i n s } } & & & & & { \\mathrm { ~ ( b ) ~ T i e s } } & & & & { \\mathrm { ~ ( c ) ~ L o s s e s } } & & & & & { } \\end{array} } \\end{array}\n$$",
|
| 1299 |
+
"text_format": "latex",
|
| 1300 |
+
"bbox": [
|
| 1301 |
+
232,
|
| 1302 |
+
616,
|
| 1303 |
+
771,
|
| 1304 |
+
704
|
| 1305 |
+
],
|
| 1306 |
+
"page_idx": 9
|
| 1307 |
+
},
|
| 1308 |
+
{
|
| 1309 |
+
"type": "image",
|
| 1310 |
+
"img_path": "",
|
| 1311 |
+
"image_caption": [
|
| 1312 |
+
"Figure 3: Pairwise human evaluation results. Each element of Table 3(a) shows the number of times the source corresponding to the row was preferred over the source corresponding to the column. Table 3(b) shows the number of ties. Table 3(c) shows the number of losses and is the transpose of Table 3(a). Source legend: I denotes Independent Gibbs (Yao et al., 2014), C denotes Contiguous Gibbs, N denotes NADE and B denotes Bach. "
|
| 1313 |
+
],
|
| 1314 |
+
"image_footnote": [],
|
| 1315 |
+
"page_idx": 9
|
| 1316 |
+
}
|
| 1317 |
+
]
|
parse/train/r1Usiwcex/r1Usiwcex_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r1Usiwcex/r1Usiwcex_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r1xCMyBtPS/r1xCMyBtPS.md
ADDED
|
@@ -0,0 +1,296 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MULTILINGUAL ALIGNMENT OF CONTEXTUAL WORD REPRESENTATIONS
|
| 2 |
+
|
| 3 |
+
Steven Cao, Nikita Kitaev & Dan Klein
|
| 4 |
+
Computer Science Division
|
| 5 |
+
University of California, Berkeley
|
| 6 |
+
{stevencao,kitaev,klein}@berkeley.edu
|
| 7 |
+
|
| 8 |
+
# ABSTRACT
|
| 9 |
+
|
| 10 |
+
We propose procedures for evaluating and strengthening contextual embedding alignment and show that they are useful in analyzing and improving multilingual BERT. In particular, after our proposed alignment procedure, BERT exhibits significantly improved zero-shot performance on XNLI compared to the base model, remarkably matching pseudo-fully-supervised translate-train models for Bulgarian and Greek. Further, to measure the degree of alignment, we introduce a contextual version of word retrieval and show that it correlates well with downstream zero-shot transfer. Using this word retrieval task, we also analyze BERT and find that it exhibits systematic deficiencies, e.g. worse alignment for open-class parts-of-speech and word pairs written in different scripts, that are corrected by the alignment procedure. These results support contextual alignment as a useful concept for understanding large multilingual pre-trained models.
|
| 11 |
+
|
| 12 |
+
# 1 INTRODUCTION
|
| 13 |
+
|
| 14 |
+

|
| 15 |
+
Figure 1: t-SNE (Maaten & Hinton, 2008) visualization of the embedding space of multilingual BERT for English-German word pairs (left: pre-alignment, right: post-alignment). Each point is a different instance of the word in the Europarl corpus. This figure suggests that BERT begins already somewhat aligned out-of-the-box but becomes much more aligned after our proposed procedure.
|
| 16 |
+
|
| 17 |
+
Embedding alignment was originally studied for word vectors with the goal of enabling cross-lingual transfer, where the embeddings for two languages are in alignment if word translations, e.g. cat and Katze, have similar representations (Mikolov et al., 2013a; Smith et al., 2017). Recently, large pretrained models have largely subsumed word vectors based on their accuracy on downstream tasks, partly due to the fact that their word representations are context-dependent, allowing them to more richly capture the meaning of a word (Peters et al., 2018; Howard & Ruder, 2018; Radford et al., 2018; Devlin et al., 2018). Therefore, with the same goal of cross-lingual transfer but for these more complex models, we might consider contextual embedding alignment, where we observe whether word pairs within parallel sentences, e.g. cat in “The cat sits” and Katze in “Die Katze sitzt,” have similar representations.
|
| 18 |
+
|
| 19 |
+
One model relevant to these questions is multilingual BERT, a version of BERT pre-trained on 104 languages that achieves remarkable transfer on downstream tasks. For example, after the model is fine-tuned on the English MultiNLI training set, it achieves $7 4 . 3 \%$ accuracy on the test set in Spanish, which is only $7 . 1 \%$ lower than the English accuracy (Devlin et al., 2018; Conneau et al., 2018b). Furthermore, while the model transfers better to languages similar to English, it still achieves reasonable accuracies even on languages with different scripts.
|
| 20 |
+
|
| 21 |
+
However, given the way that multilingual BERT was pre-trained, it is unclear why we should expect such high zero-shot performance. Compared to monolingual BERT which exhibits no zero-shot transfer, multilingual BERT differs only in that (1) during pre-training (i.e. masked word prediction), each batch contains sentences from all of the languages, and (2) it uses a single shared vocabulary, formed by WordPiece on the concatenated monolingual corpora (Devlin et al., 2019). Therefore, we might wonder: (1) How can we better understand BERT’s multilingualism? (2) Can we further improve BERT’s cross-lingual transfer?
|
| 22 |
+
|
| 23 |
+
In this paper, we show that contextual embedding alignment is a useful concept for addressing these questions. First, we propose a contextual version of word retrieval to evaluate the degree of alignment, where a model is presented with two parallel corpora, and given a word within a sentence in one corpus, it must find the correct word and sentence in the other. Using this metric of alignment, we show that multilingual BERT achieves zero-shot transfer because its embeddings are partially aligned, as depicted in Figure 1, with the degree of alignment predicting the degree of downstream transfer.
|
| 24 |
+
|
| 25 |
+
Next, using between 10K and 250K sentences per language from the Europarl corpus as parallel data (Koehn, 2005), we propose a fine-tuning-based alignment procedure and show that it significantly improves BERT as a multilingual model. Specifically, on zero-shot XNLI, where the model is trained on English MultiNLI and tested on other languages (Conneau et al., 2018b), the aligned model improves accuracies by $2 . 7 8 \%$ on average over the base model, and it remarkably matches translate-train models for Bulgarian and Greek, which approximate the fully-supervised setting.
|
| 26 |
+
|
| 27 |
+
To put our results in the context of past work, we also use word retrieval to compare our finetuning procedure to two alternatives: (1) fastText augmented with sentence and aligned using rotations (Bojanowski et al., 2017; Ruckl ¨ e et al., 2018; Artetxe et al., 2018), and (2) BERT aligned using ´ rotations (Aldarmaki & Diab, 2019; Schuster et al., 2019; Wang et al., 2019). We find that when there are multiple occurences per word, fine-tuned BERT outperforms fastText, which outperforms rotation-aligned BERT. This result supports the intuition that contextual alignment is more difficult than its non-contextual counterpart, given that a rotation, at least when applied naively, is no longer sufficient to produce strong alignments. In addition, when there is only one occurrence per word, fine-tuned BERT matches the performance of fastText. Given that context disambiguation is no longer necessary, this result suggests that our fine-tuning procedure is able to align BERT at the type level to a degree that matches non-contextual approaches.
|
| 28 |
+
|
| 29 |
+
Finally, we use the contextual word retrieval task to conduct finer-grained analysis of multilingual BERT, with the goal of better understanding its strengths and shortcomings. Specifically, we find that base BERT has trouble aligning open-class compared to closed-class parts-of-speech, as well as word pairs that have large differences in usage frequency, suggesting insight into the pre-training procedure that we explore in Section 5. Together, these experiments support contextual alignment as an important task that provides useful insight into large multilingual pre-trained models.
|
| 30 |
+
|
| 31 |
+
# 2 RELATED WORK
|
| 32 |
+
|
| 33 |
+
Word vector alignment. There has been a long line of works that learn aligned word vectors from varying levels of supervision (Ruder et al., 2019). One popular family of methods starts with word vectors learned independently for each language (using a method like skip-gram with negative sampling (Mikolov et al., 2013b)), and it learns a mapping from source language vectors to target language vectors with a bilingual dictionary as supervision (Mikolov et al., 2013a; Smith et al., 2017; Artetxe et al., 2017). When the mapping is constrained to be an orthogonal linear transformation, the optimal mapping that minimizes distances between word pairs can be solved in closed form (Artetxe et al., 2016; Schonemann, 1966). Alignment is evaluated using bilingual lexicon induction, so these papers also propose ways to mitigate the hubness problem in nearest neighbors, e.g. by using alternate similarity functions like CSLS (Conneau et al., 2018a). A recent set of works has also shown that the mapping can be learned with minimal to no supervision by starting with some minimal seed dictionary and alternating between learning the linear map and inducing the dictionary (Artetxe et al., 2018; Conneau et al., 2018a; Hoshen & Wolf, 2018; Xu et al., 2018; Chen & Cardie, 2018).
|
| 34 |
+
|
| 35 |
+
Incorporating context into alignment. One key challenge in making alignment context aware is that the embeddings are now different across multiple occurrences of the same word. Past papers have handled this issue by removing context and aligning the “average sense” of a word. In one such study, Schuster et al. (2019) learn a rotation to align contextual ELMo embeddings (Peters et al., 2018) with the goal of improving zero-shot multilingual dependency parsing, and they handle context by taking the average embedding for a word in all of its contexts. In another paper, Aldarmaki & Diab (2019) learn a rotation on sentence vectors, produced by taking the average word vector over the sentence, and they show that the resulting alignment also works well for word-level tasks. In a contemporaneous work, Wang et al. (2019) align not only the word but also the context by learning a linear transformation using word-aligned parallel data to align multilingual BERT, with the goal of improving zero-shot dependency parsing numbers. In this paper, we similarly align not only the word but also the context, and we also depart from these past works by using more expressive alignment methods than rotation.
|
| 36 |
+
|
| 37 |
+
Incorporating parallel texts into pre-training. Instead of performing alignment post-hoc, another line of works proposes contextual pre-training procedures that are more cross-lingually-aware. Wieting et al. (2019) pre-train sentence embeddings using parallel texts by maximizing similarity between sentence pairs while minimizing similarity with negative examples. Lample & Conneau (2019) propose a cross-lingual pre-training objective that incorporates parallel data in addition to monolingual corpora, leading to improved downstream cross-lingual transfer. In contrast, our method uses less parallel data and aligns existing pre-trained models rather than requiring pretraining from scratch.
|
| 38 |
+
|
| 39 |
+
Analyzing multilingual BERT. Pires et al. (2019) present a series of probing experiments to better understand multilingual BERT, and they find that transfer is possible even between dissimilar languages, but that it works better between languages that are typologically similar. They conclude that BERT is remarkably multilingual but falls short for certain language pairs.
|
| 40 |
+
|
| 41 |
+
# 3 METHODS
|
| 42 |
+
|
| 43 |
+
# 3.1 MULTILINGUAL PRE-TRAINING
|
| 44 |
+
|
| 45 |
+
We first briefly describe multilingual BERT (Devlin et al., 2018). Like monolingual BERT, multilingual BERT is pre-trained on sentences from Wikipedia to perform two tasks: masked word prediction, where it must predict words that are masked within a sentence, and next sentence prediction, where it must predict whether the second sentence follows the first one. The model is trained on 104 languages, with each batch containing training sentences from each language, and it uses a shared vocabulary formed by WordPiece on the 104 Wikipedias concatenated (Wu et al., 2016).
|
| 46 |
+
|
| 47 |
+
# 3.2 DEFINING AND EVALUATING CONTEXTUAL ALIGNMENT
|
| 48 |
+
|
| 49 |
+
In the following sections, we describe how to define, evaluate, and improve contextual alignment. Given two languages, a model is in contextual alignment if it has similar representations for word pairs within parallel sentences. More precisely, suppose we have $N$ parallel sentences $C = \{ ( \mathbf { s } ^ { 1 ^ { \prime } } , \mathbf { t } ^ { 1 } ) , . . . , ( \mathbf { s } ^ { N ^ { \prime } } , \mathbf { t } ^ { N } ) \}$ , where $( \mathbf { s } , \mathbf { t } )$ is a source-target sentence pair. Also, let each sentence pair $( \mathbf { s } , \mathbf { t } )$ have word pairs, denoted $a ( \mathbf { s } , \mathbf { t } ) = \{ ( i _ { 1 } , j _ { 1 } ) , . . . , ( i _ { m } , j _ { m } ) \}$ , containing position tuples $( i , j )$ such that the words $\mathbf { s } _ { i }$ and $\mathbf { t } _ { j }$ are translations of each other.1 We will use $f$ to represent a pre-trained model such that $f ( i , { \bf s } )$ is the contextual embedding for the ith word in s.
|
| 50 |
+
|
| 51 |
+
As an example, we might have the following sentence pair:
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\begin{array} { c } { { { \bf s } = \{ { \stackrel { 0 } { I } } { } _ { a t e t h e a p p l e } ^ { 3 } { } _ { \cdot } \} \quad { \bf t } = \{ I c h { \stackrel { 1 } { h a b e } } d e n A p { \stackrel { 3 } { f } } e l g e g e s s e n { } ^ { 4 } \} } } \\ { { a ( { \bf s } , { \bf t } ) = \{ ( 0 , 0 ) , ( 1 , 4 ) , ( 2 , 2 ) , ( 3 , 3 ) , ( 4 , 5 ) \} } } \end{array}
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
Then, using the parallel corpus $C$ , we can measure the contextual alignment of the model $f$ using its accuracy in contextual word retrieval. In this task, the model is presented with two parallel corpora, and given a word within a sentence in one corpus, it must find the correct word and sentence in the other. Specifically, we can define a nearest neighbor retrieval function
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
\mathrm { n e i g h b o r } ( i , \mathbf { s } ; f , C ) = \underset { \mathbf { t } \in C , 0 \leq j \leq \mathrm { l e n } ( \mathbf { t } ) } { \mathrm { a r g m a x } } \ \mathrm { s i m } ( f ( i , \mathbf { s } ) , f ( j , \mathbf { t } ) ) ,
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
where $i$ and $j$ denote the position within a sentence and sim is a similarity function. The accuracy is then given by the percentage of exact matches over the entire corpus, or
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
A ( f ; C ) = \frac { 1 } { N } \sum _ { ( \mathbf { s } , \mathbf { t } ) \in C } \sum _ { ( i , j ) \in a ( \mathbf { s } , \mathbf { t } ) } \mathbb { I } ( \mathrm { n e i g h b o r } ( i , \mathbf { s } ; f , C ) = ( j , \mathbf { t } ) ) ,
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
where $\mathbb { I }$ represents the indicator function. We can perform the same procedure in the other direction, where we pull target words given source words, so we report the average between the two directions. As our similarity function, we use CSLS, a modified version of cosine similarity that mitigates the hubness problem, with neighborhood size 10 (Conneau et al., 2018a). One additional point is that this procedure can be made more or less contextual based on the corpus: a corpus with more occurrences for each word type requires better representations of context. Therefore, we also test non-contextual word retrieval by removing all but the first occurrence of each word type.
|
| 70 |
+
|
| 71 |
+
Given parallel data, these word pairs can be procured in an unsupervised fashion using standard techniques developed by the machine translation community (Brown et al., 1993). While these methods can be noisy, by running the algorithm in both the source-target and target-source directions and only keeping word pairs in their intersection, we can trade-off coverage for accuracy, producing a reasonably high-precision dataset (Och & Ney, 2003).
|
| 72 |
+
|
| 73 |
+
# 3.3 ALIGNING PRE-TRAINED CONTEXTUAL EMBEDDINGS
|
| 74 |
+
|
| 75 |
+
To improve the alignment of the model $f$ with respect to the corpus $C$ , we can encapsulate alignment in the loss function
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
L ( f ; C ) = - \sum _ { ( \mathbf { s } , \mathbf { t } ) \in C } \sum _ { ( i , j ) \in a ( \mathbf { s } , \mathbf { t } ) } \sin ( f ( i , \mathbf { s } ) , f ( j , \mathbf { t } ) ) ,
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
where we sum the similarities between word pairs. Because the CSLS metric is not easily optimized, we instead use the squared error loss, or $\mathrm { s i m \bar { ( } } f ( i , \mathbf { s ) } , f ( j , \mathbf { t } ) ) = - | | f ( i , \mathbf { s } ) - f ( j , \mathbf { t } ) | | _ { 2 } ^ { 2 }$ .
|
| 82 |
+
|
| 83 |
+
However, note that this loss function does not account for the informativity of $f$ ; for example, it is zero if $f$ is constant. Therefore, at a high level, we would like to minimize $L ( f ; C )$ while maintaining some aspect of $f$ that makes it useful, e.g. its high accuracy when fine-tuned on downstream tasks. Letting $f _ { 0 }$ denote the initial pre-trained model before alignment, we achieve this goal by defining a regularization term
|
| 84 |
+
|
| 85 |
+
$$
|
| 86 |
+
R ( f ; C ) = \sum _ { \mathbf { t } \in C } \sum _ { i = 1 } ^ { \mathrm { l e n } ( \mathbf { t } ) } \vert \vert f ( j , \mathbf { t } ) - f _ { 0 } ( j , \mathbf { t } ) \vert \vert _ { 2 } ^ { 2 } ,
|
| 87 |
+
$$
|
| 88 |
+
|
| 89 |
+
which imposes a penalty if the target language embeddings stray from their initialization. Then, we sample minibatches $B \subset C$ and take gradient steps of the function $L ( f ; B ) + \lambda R ( f ; B )$ directly on the weights of $f$ , which moves the source embeddings toward the target embeddings while preventing the latter from drifting too far. In our experiments, we set $\lambda = 1$ .
|
| 90 |
+
|
| 91 |
+
In the multilingual case, suppose we have $k$ parallel corpora $C ^ { 1 } , . . . , C ^ { k }$ , where each corpus has a different source language with the target language as English. Then, we sample equal-sized batches $B ^ { i } \subset C ^ { i }$ from each corpus and take gradient steps on $\begin{array} { r } { \sum _ { i = 1 } ^ { k } L ( f ; B ^ { i } ) + \lambda R ( f ; B ^ { i } ) } \end{array}$ , which moves all of the non-English embeddings toward English.
|
| 92 |
+
|
| 93 |
+
Note that this alignment method departs from prior work, in which each non-English language is rotated to match the English embedding space through individual learned matrices. Specifically, the most widely used post-hoc alignment method learns a rotation $W$ applied to the source vectors to minimize the distance between parallel word pairs, or
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
\operatorname* { m i n } _ { W } \sum _ { ( \mathbf { s } , \mathbf { t } ) \in C } \sum _ { ( i , j ) \in a ( \mathbf { s } , \mathbf { t } ) } | | W f ( i , \mathbf { s } ) - f ( j , \mathbf { t } ) | | _ { 2 } ^ { 2 } \quad s . t . \quad W ^ { \top } W = I .
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
This problem is known as the Procrustes problem and can be solved in closed form (Schonemann, 1966). This approach has the nice property that the vectors are only rotated, preserving distances and therefore the semantic information captured by the embeddings (Artetxe et al., 2016). However, rotation requires the strong assumption that the embedding spaces are roughly isometric (Søgaard et al., 2018), an assumption that may not hold for contextual pre-trained models because they represent more aspects of a word than just its type, i.e. context and syntax, which are less likely to be isomorphic between languages. Given that past work has also found independent alignment per language pair to be inferior to joint training (Heyman et al., 2019), another advantage of our method is that the alignment for all languages is done simultaneously.
|
| 100 |
+
|
| 101 |
+
As our dataset, we use the Europarl corpora for English paired with Bulgarian, German, Greek, Spanish, and French, the languages represented in both Europarl and XNLI (Koehn, 2005). After tokenization (Koehn et al., 2007), we produce word pairs using fastAlign and keep the one-to-one pairs in the intersection (Dyer et al., 2013). We use the most recent 1024 sentences as the test set, the previous 1024 sentences as the development set, and the following 250K sentences as the training set. Furthermore, we modify the test set accuracy calculation to only include word pairs not seen in the training set. We also remove any exact matches, e.g. punctuation and numbers, because BERT is already aligned for these pairs due to its shared vocabulary. Given that parallel data may be limited for low-resource language pairs, we also report numbers for 10K and 50K parallel sentences.
|
| 102 |
+
|
| 103 |
+
# 3.4 SENTENCE-AUGMENTED NON-CONTEXTUAL BASELINE
|
| 104 |
+
|
| 105 |
+
Given that there has been a long line of work on word vector alignment (Artetxe et al., 2018; Conneau et al., 2018a; Smith et al., 2017, inter alia), we also compare BERT to a sentence-augmented fastText baseline (Bojanowski et al., 2017). Following Artetxe et al. (2018), we first normalize, then mean-center, then normalize the word vectors, and we then learn a rotation with the same parallel data as in the contextual case, as described in Equation 1. We also strengthen this baseline by including sentence information: specifically, during word retrieval, we concatenate each word vector with a vector representing its sentence. Following Ruckl ¨ e et al. (2018), we compute the sentence ´ vector by concatenating the average, maximum, and minimum vector over all of the words in the sentence, a method that was shown to be state-of-the-art for a suite of cross-lingual tasks. We also experimented with other methods, such as first retrieving the sentence and then the word, but found this method resulted in the highest accuracy. As a result, the fastText vectors are 1200-dimensional, while the BERT vectors are 768-dimensional.
|
| 106 |
+
|
| 107 |
+
# 3.5 TESTING ZERO-SHOT TRANSFER
|
| 108 |
+
|
| 109 |
+
The next step is to determine whether better alignment improves cross-lingual transfer. As our downstream task, we use the XNLI dataset, where the English MultiNLI development and test sets are human-translated into multiple languages (Conneau et al., 2018b; Williams et al., 2018). Given a pair of sentences, the task is to predict whether the first sentence implies the second, where there are three labels: entailment, neutral, or contradiction. Starting from either the base or aligned multilingual BERT, we train on English and evaluate on Bulgarian, German, Greek, Spanish, and French, the XNLI languages represented in Europarl.
|
| 110 |
+
|
| 111 |
+
As our architecture, following Devlin et al. (2018), we apply a linear layer followed by softmax on the [CLS] embedding of the sentence pair, producing scores for each of the three labels. The model is trained using cross-entropy loss and selected based on its development set accuracy averaged across all of the languages. As a fully-supervised ceiling, we also compare to models trained and tested on the same language, where for the non-English training data, we use the machine translations of the English MultiNLI training data provided by Conneau et al. (2018b). While the quality of the training data is affected by the quality of the MT system, this comparison nevertheless serves as a good approximation for the fully-supervised setting.
|
| 112 |
+
|
| 113 |
+
<table><tr><td></td><td>English</td><td>Bulgarian</td><td>German</td><td>Greek</td><td>Spanish</td><td>French</td><td>Average</td></tr><tr><td colspan="8">Translate-Train</td></tr><tr><td>Base BERT</td><td>81.9</td><td>73.6</td><td>75.9</td><td>71.6</td><td>77.8</td><td>76.8</td><td>76.3</td></tr><tr><td colspan="8">Zero-Shota</td></tr><tr><td>Base BERT</td><td>80.4</td><td>68.7</td><td>70.4</td><td>67.0</td><td>74.5</td><td>73.4</td><td>72.4</td></tr><tr><td>Sentence-aligned BERT (rotation)</td><td>81.1</td><td>68.9</td><td>71.2</td><td>66.7</td><td>74.9</td><td>73.5</td><td>72.7</td></tr><tr><td>Word-aligned BERT (rotation)</td><td>78.8</td><td>69.0</td><td>71.3</td><td>67.1</td><td>74.3</td><td>73.0</td><td>72.2</td></tr><tr><td>Word-aligned BERT (fine-tuned)</td><td>80.1</td><td>73.4</td><td>73.1</td><td>71.4</td><td>75.5</td><td>74.5</td><td>74.7</td></tr><tr><td>XLM (MLM + TLM)</td><td>85.0</td><td>77.4</td><td>77.8</td><td>76.6</td><td>78.9</td><td>78.7</td><td>79.1</td></tr></table>
|
| 114 |
+
|
| 115 |
+
Table 1: Accuracy on the XNLI test set, where we compare to base BERT (Devlin et al., 2018) and two rotation-based methods, sentence alignment (Aldarmaki & Diab, 2019) and word alignment (Wang et al., 2019). We also include the current state-of-the-art zero-shot achieved by XLM (Lample & Conneau, 2019). Rotation-based methods provide small gains on some languages but not others. On the other hand, after fine-tuning-based alignment, Bulgarian and Greek match the translate-train ceiling, while German, Spanish, and French close roughly one-third of the gap.
|
| 116 |
+
|
| 117 |
+
aNote that the zero-shot Base BERT numbers are slightly different from those reported in Devlin et al. (2019) because we select a single model using the average accuracy across the six languages. This selection method also accounts for the varying English accuracies across the zero-shot methods.
|
| 118 |
+
Table 2: Zero-shot accuracy on the XNLI test set, where we align BERT with varying amounts of parallel data. The method scales with the amount of data but achieves a large fraction of the gains with 50K sentences per language pair.
|
| 119 |
+
|
| 120 |
+
<table><tr><td>Sentences</td><td>English</td><td>Bulgarian</td><td>German</td><td>Greek</td><td>Spanish</td><td>French</td><td>Average</td></tr><tr><td>None</td><td>80.4</td><td>68.7</td><td>70.4</td><td>67.0</td><td>74.5</td><td>73.4</td><td>72.4</td></tr><tr><td>10K</td><td>79.2</td><td>71.0</td><td>71.8</td><td>67.5</td><td>75.3</td><td>74.1</td><td>73.2</td></tr><tr><td>50K</td><td>81.1</td><td>73</td><td>72.6</td><td>69.6</td><td>75</td><td>74.5</td><td>74.3</td></tr><tr><td>250K</td><td>80.1</td><td>73.4</td><td>73.1</td><td>71.4</td><td>75.5</td><td>74.5</td><td>74.7</td></tr></table>
|
| 121 |
+
|
| 122 |
+
# 4 RESULTS
|
| 123 |
+
|
| 124 |
+
# 4.1 ZERO-SHOT XNLI TRANSFER
|
| 125 |
+
|
| 126 |
+
First, we test whether alignment improves multilingual BERT by applying the models to zero-shot XNLI, as displayed in Table 1. We see that our alignment procedure greatly improves accuracies, with all languages seeing a gain of at least $1 \%$ . In particular, the Bulgarian and Greek zero-shot numbers are boosted by almost $5 \%$ each and match the translate-train numbers, suggesting that the alignment procedure is especially effective for languages that are initially difficult for BERT. We also run alignment for more distant language pairs (Chinese, Arabic, Urdu) and find similar results, which we report in the appendix.
|
| 127 |
+
|
| 128 |
+
Comparing to rotation-based methods (Aldarmaki & Diab, 2019; Wang et al., 2019), we find that a rotation produces small gains for some languages, namely Bulgarian, German, and Spanish, but is sub-optimal overall, providing evidence that the increased expressivity of our proposed procedure is beneficial for contextual alignment. We explore this comparison more in Section 5.1.
|
| 129 |
+
|
| 130 |
+
# 4.2 ALIGNMENT WITH LESS DATA
|
| 131 |
+
|
| 132 |
+
Given that our goal is zero-shot transfer, we cannot expect to always have large amounts of parallel data. Therefore, we also characterize the performance of our alignment method with varying amounts of data, as displayed in Table 2. We find that it improves transfer with as little as 10K sentences per language, making it a promising approach for low-resource languages.
|
| 133 |
+
|
| 134 |
+
<table><tr><td></td><td>bg-en</td><td>de-en</td><td>el-en</td><td>es-en</td><td>fr-en</td><td>Average</td></tr><tr><td colspan="7">Contextual</td></tr><tr><td>Aligned fastText + sentence</td><td>44.0</td><td>46.4</td><td>42.0</td><td>48.6</td><td>44.5</td><td>45.1</td></tr><tr><td>Base BERT</td><td>19.5</td><td>26.1</td><td>13.9</td><td>32.5</td><td>28.3</td><td>24.1</td></tr><tr><td>Word-aligned BERT (rotation)</td><td>29.8</td><td>31.6</td><td>20.8</td><td>36.8</td><td>31.0</td><td>30.0</td></tr><tr><td>Word-aligned BERT (fine-tuned)</td><td>50.7</td><td>51.3</td><td>49.8</td><td>51.0</td><td>48.6</td><td>50.3</td></tr><tr><td colspan="7">Non-Contextual</td></tr><tr><td>Aligned fastText + sentence</td><td>61.3</td><td>65.4</td><td>61.6</td><td>71.1</td><td>64.8</td><td>64.8</td></tr><tr><td>Base BERT</td><td>29.1</td><td>37.0</td><td>22.3</td><td>46.5</td><td>41.8</td><td>35.3</td></tr><tr><td>Word-aligned BERT (rotation)</td><td>39.6</td><td>43.6</td><td>32.4</td><td>51.4</td><td>46.1</td><td>42.6</td></tr><tr><td>Word-aligned BERT (fine-tuned)</td><td>62.8</td><td>64.3</td><td>67.5</td><td>68.4</td><td>66.3</td><td>65.9</td></tr></table>
|
| 135 |
+
|
| 136 |
+
Table 3: Word retrieval accuracy for the aligned sentence-augmented fastText baseline and BERT pre- and post-alignment. Across languages, base BERT has variable accuracy while fine-tuningaligned BERT is consistently effective. Fine-tuned BERT also matches fastText in a version of the task where context is not necessary, suggesting that our method matches the type-level alignment of fastText while also aligning context.
|
| 137 |
+
|
| 138 |
+
# 5 ANALYSIS
|
| 139 |
+
|
| 140 |
+
# 5.1 WORD RETRIEVAL
|
| 141 |
+
|
| 142 |
+
In the following sections, we present word retrieval results to both compare our method to past work and better understand the strengths and weaknesses of multilingual BERT. Table 3 displays the word retrieval accuracies for the aligned sentence-augmented fastText baseline and BERT pre- and postalignment. First, we find that in contextual retrieval, fine-tuned BERT outperforms fastText, which outperforms rotation-aligned BERT. This result supports the intuition that aligning large pre-trained models is more difficult than aligning word vectors, given that a rotation, at least when applied naively, produces sub-par alignments. In addition, fine-tuned BERT matches the performance of fastText in non-contextual retrieval, suggesting that our alignment procedure overcomes these challenges and achieves type-level alignment that matches non-contextual approaches. In the appendix, we also provide examples of aligned BERT disambiguating between different meanings of a word, giving qualitative evidence of the benefit of context alignment.
|
| 143 |
+
|
| 144 |
+
We also find that before alignment, BERT’s performance varies greatly between languages, while after alignment it is consistently effective. In particular, Bulgarian and Greek initially have very low accuracies. This phenomenon is also reflected in the XNLI numbers (Table 1), where Bulgarian and Greek receive the largest boosts from alignment. Examining the connection between alignment and zero-shot more closely, we find that the word retrieval accuracies are highly correlated with downstream zero-shot performance (Figure 2), supporting our evaluation measure as predictive of cross-lingual transfer.
|
| 145 |
+
|
| 146 |
+
The language discrepancies are also consistent with a hypothesis by Pires et al. (2019) to explain BERT’s multilingualism. They posit that due to the shared vocabulary, shared words between languages, e.g. numbers and names, are forced to have the same representation. Then, due to the masked word prediction task, other words that co-occur with these shared words also receive similar representations. If this hypothesis is true, then languages with higher lexical overlap with English are likely to experience higher transfer. As an extreme form of this phenomenon, Bulgarian and Greek have completely different scripts and should experience worse transfer than the common-script languages, an intuition that is confirmed by the word retrieval and XNLI accuracies. The fact that all languages are equally aligned with English post-alignment suggests that the pre-training procedure is suboptimal for these languages.
|
| 147 |
+
|
| 148 |
+
<table><tr><td>Lexical Overlap</td><td>Numeral</td><td>Punctuation</td><td>Proper Noun</td><td></td><td></td><td>Average</td></tr><tr><td>Base BERT</td><td>0.90</td><td>0.88</td><td>0.80</td><td></td><td></td><td>0.86</td></tr><tr><td>Aligned BERT</td><td>0.97</td><td>0.96</td><td>0.95</td><td></td><td></td><td>0.96</td></tr><tr><td>Closed-Class</td><td>Determiner</td><td>Preposition</td><td>Conjunction</td><td>Pronoun</td><td>Auxiliary</td><td>Average</td></tr><tr><td>Base BERT Aligned BERT</td><td>0.76 0.91</td><td>0.72</td><td>0.71 0.89</td><td>0.70</td><td>0.61 0.84</td><td>0.70 0.88</td></tr><tr><td></td><td></td><td>0.86</td><td></td><td>0.89</td><td></td><td></td></tr><tr><td>Open-Class</td><td>Noun</td><td>Adverb</td><td> Adjective</td><td>Verb</td><td></td><td>Average</td></tr><tr><td>Base BERT</td><td>0.61</td><td>0.57</td><td>0.50</td><td>0.49</td><td></td><td>0.54</td></tr><tr><td>Aligned BERT</td><td>0.90</td><td>0.88</td><td>0.90</td><td>0.89</td><td></td><td>0.89</td></tr></table>
|
| 149 |
+
|
| 150 |
+
Table 4: Accuracy by part-of-speech tag for non-contextual word retrieval. To achieve better word type coverage, we do not remove word pairs seen in the training set. The tags are grouped into lexically overlapping, closed-class, and open-class groups. The “Particle,” “Symbol,” “Interjection,” and “Other” tags are omitted.
|
| 151 |
+
|
| 152 |
+

|
| 153 |
+
Figure 2: XNLI zero-shot versus word retrieval accuracy for base BERT, where each point is a language paired with English. This plot suggests that alignment correlates well with cross-lingual transfer.
|
| 154 |
+
|
| 155 |
+

|
| 156 |
+
Figure 3: Contextual word retrieval accuracy plotted against difference in frequency rank between source and target. The accuracy of base BERT plummets for larger differences, suggesting that its alignment depends on word pairs having similar usage statistics.
|
| 157 |
+
|
| 158 |
+
# 5.2 WORD RETRIEVAL PART-OF-SPEECH ANALYSIS
|
| 159 |
+
|
| 160 |
+
Next, to gain insight into the multilingual pre-training procedure, we analyze the accuracy broken down by part-of-speech using the Universal Part-of-Speech Tagset (Petrov et al., 2012), annotated using polyglot (Al-Rfou et al., 2013) for Bulgarian and spaCy (Honnibal & Montani, 2017) for the other languages, as displayed in Table 4. Unsurprisingly, multilingual BERT has high alignment out-of-the-box for groups with high lexical overlap, e.g. numerals, punctuation, and proper nouns, due to its shared vocabulary. We further divide the remaining tags into closed-class and open-class, where closed-class parts-of-speech correspond to fixed sets of words serving grammatical functions (e.g. determiner, preposition, conjunction, pronoun, and auxiliary), while open-class parts-of-speech correspond to lexical words (e.g. noun, adverb, adjective, verb). Interestingly, we see that base BERT has consistently lower accuracy for closed-class versus open-class categories (0.70 vs 0.54), but that this discrepancy disappears after alignment (0.88 vs 0.89).
|
| 161 |
+
|
| 162 |
+
# 5.3 USAGE HYPOTHESIS FOR ALIGNMENT
|
| 163 |
+
|
| 164 |
+
From this closed-class vs open-class difference, we hypothesize that BERT’s alignment of a particular word pair is influenced by the similarity of their usage statistics. Specifically, given that BERT is trained through masked word prediction, its embeddings are in large part determined by the co-occurrences between words. Therefore, two words that are used in similar contexts should be better aligned. This hypothesis provides an explanation of the closed-class vs open-class difference: closed-class words are typically grammatical, so they are used in similar ways across typologically similar languages. Furthermore, these words cannot be substituted for one another due to their grammatical function. Therefore, their usage statistics are a strong signature that can be used for alignment. On the other hand, open-class words can be substituted for one another: for example, in most sentences, the noun tokens could be replaced by a wide range of semantically dissimilar nouns with the sentence remaining syntactically well-formed. By this effect, many nouns have similar co-occurrences, making them difficult to align through masked word prediction alone.
|
| 165 |
+
|
| 166 |
+
To further test this hypothesis, we plot the word retrieval accuracy versus the difference between the frequency rank of the target and source word, where this difference measures discrepancies in usage, as depicted in Figure 3. We see that accuracy drops off significantly as the source-target difference increases, supporting our hypothesis. Furthermore, this shortcoming is remedied by alignment, revealing another systematic deficiency of multilingual pre-training.
|
| 167 |
+
|
| 168 |
+
# 6 CONCLUSION
|
| 169 |
+
|
| 170 |
+
Given that the degree of alignment is causally predictive of downstream cross-lingual transfer, contextual alignment proves to be a useful concept for understanding and improving multilingual pretrained models. Given small amounts of parallel data, our alignment procedure improves multilingual BERT and corrects many of its systematic deficiencies. Contextual word retrieval also provides useful new insights into the pre-training procedure, opening up new avenues for analysis.
|
| 171 |
+
|
| 172 |
+
# REFERENCES
|
| 173 |
+
|
| 174 |
+
Rami Al-Rfou, Bryan Perozzi, and Steven Skiena. Polyglot: Distributed word representations for multilingual nlp. In Proceedings of the Seventeenth Conference on Computational Natural Language Learning, pp. 183–192, Sofia, Bulgaria, August 2013. Association for Computational Linguistics. URL http://www.aclweb.org/anthology/W13-3520.
|
| 175 |
+
|
| 176 |
+
Hanan Aldarmaki and Mona Diab. Context-aware cross-lingual mapping. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 3906–3911, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1391. URL https://www.aclweb.org/anthology/N19-1391.
|
| 177 |
+
|
| 178 |
+
Mikel Artetxe, Gorka Labaka, and Eneko Agirre. Learning principled bilingual mappings of word embeddings while preserving monolingual invariance. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pp. 2289–2294, Austin, Texas, November 2016. Association for Computational Linguistics. doi: 10.18653/v1/D16-1250. URL https: //www.aclweb.org/anthology/D16-1250.
|
| 179 |
+
|
| 180 |
+
Mikel Artetxe, Gorka Labaka, and Eneko Agirre. Learning bilingual word embeddings with (almost) no bilingual data. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 451–462, Vancouver, Canada, July 2017. Association for Computational Linguistics. doi: 10.18653/v1/P17-1042. URL https://www.aclweb. org/anthology/P17-1042.
|
| 181 |
+
|
| 182 |
+
Mikel Artetxe, Gorka Labaka, and Eneko Agirre. A robust self-learning method for fully unsupervised cross-lingual mappings of word embeddings. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 789–798, Melbourne, Australia, July 2018. Association for Computational Linguistics. URL https: //www.aclweb.org/anthology/P18-1073.
|
| 183 |
+
|
| 184 |
+
Piotr Bojanowski, Edouard Grave, Armand Joulin, and Tomas Mikolov. Enriching word vectors with subword information. Transactions of the Association for Computational Linguistics, 5:135– 146, 2017. doi: 10.1162/tacl a 00051. URL https://www.aclweb.org/anthology/ Q17-1010.
|
| 185 |
+
|
| 186 |
+
Peter F. Brown, Vincent J. Della Pietra, Stephen A. Della Pietra, and Robert L. Mercer. The mathematics of statistical machine translation: Parameter estimation. Comput. Linguist., 19(2): 263–311, June 1993. ISSN 0891-2017. URL http://dl.acm.org/citation.cfm?id= 972470.972474.
|
| 187 |
+
|
| 188 |
+
Xilun Chen and Claire Cardie. Unsupervised multilingual word embeddings. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 261–270, Brussels, Belgium, October-November 2018. Association for Computational Linguistics. doi: 10.18653/ v1/D18-1024. URL https://www.aclweb.org/anthology/D18-1024.
|
| 189 |
+
|
| 190 |
+
Alexis Conneau, Guillaume Lample, Marc’Aurelio Ranzato, Ludovic Denoyer, and Herve J’egou. Word translation without parallel data. In Proceedings of the 6th International Conference on Learning Representations (ICLR 2018), 2018a. URL https://arxiv.org/pdf/1710. 04087.pdf.
|
| 191 |
+
|
| 192 |
+
Alexis Conneau, Ruty Rinott, Guillaume Lample, Adina Williams, Samuel Bowman, Holger Schwenk, and Veselin Stoyanov. XNLI: Evaluating cross-lingual sentence representations. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 2475–2485, Brussels, Belgium, October-November 2018b. Association for Computational Linguistics. doi: 10.18653/v1/D18-1269. URL https://www.aclweb.org/anthology/ D18-1269.
|
| 193 |
+
|
| 194 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. arXiv:1810.04805 [cs.CL], October 2018. URL http://arxiv.org/abs/1810.04805.
|
| 195 |
+
|
| 196 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. https://github.com/ google-research/bert/blob/master/multilingual.md, 2019.
|
| 197 |
+
|
| 198 |
+
Chris Dyer, Victor Chahuneau, and Noah A. Smith. A simple, fast, and effective reparameterization of IBM model 2. In Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 644–648, Atlanta, Georgia, June 2013. Association for Computational Linguistics. URL https://www. aclweb.org/anthology/N13-1073.
|
| 199 |
+
|
| 200 |
+
Andreas Eisele and Yu Chen. MultiUN: A multilingual corpus from united nation documents. In Proceedings of the Seventh International Conference on Language Resources and Evaluation (LREC’10), Valletta, Malta, May 2010. European Language Resources Association (ELRA). URL http://www.lrec-conf.org/proceedings/lrec2010/pdf/686_ Paper.pdf.
|
| 201 |
+
|
| 202 |
+
Geert Heyman, Bregt Verreet, Ivan Vulic, and Marie-Francine Moens. Learning unsupervised mul- ´ tilingual word embeddings with incremental multilingual hubs. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 1890–1902, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1188. URL https://www.aclweb.org/anthology/N19-1188.
|
| 203 |
+
|
| 204 |
+
Matthew Honnibal and Ines Montani. spaCy 2: Natural language understanding with Bloom embeddings, convolutional neural networks and incremental parsing. To appear, 2017.
|
| 205 |
+
|
| 206 |
+
Yedid Hoshen and Lior Wolf. Non-adversarial unsupervised word translation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 469–478, Brussels, Belgium, October-November 2018. Association for Computational Linguistics. doi: 10.18653/ v1/D18-1043. URL https://www.aclweb.org/anthology/D18-1043.
|
| 207 |
+
|
| 208 |
+
Jeremy Howard and Sebastian Ruder. Universal language model fine-tuning for text classification. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 328–339. Association for Computational Linguistics, 2018. URL http://aclweb.org/anthology/P18-1031.
|
| 209 |
+
|
| 210 |
+
Philipp Koehn. Europarl: A parallel corpus for statistical machine translation. In Conference Proceedings: The Tenth Machine Translation Summit, pp. 79–86, Phuket, Thailand, 2005. AAMT.
|
| 211 |
+
|
| 212 |
+
Philipp Koehn, Hieu Hoang, Alexandra Birch, Chris Callison-Burch, Marcello Federico, Nicola Bertoldi, Brooke Cowan, Wade Shen, Christine Moran, Richard Zens, Chris Dyer, Ondˇrej Bojar, Alexandra Constantin, and Evan Herbst. Moses: Open source toolkit for statistical machine translation. In Proceedings of the 45th Annual Meeting of the Association for Computational Linguistics Companion Volume Proceedings of the Demo and Poster Sessions, pp. 177–180, Prague, Czech Republic, June 2007. Association for Computational Linguistics. URL https://www.aclweb.org/anthology/P07-2045.
|
| 213 |
+
|
| 214 |
+
Guillame Lample and Alexis Conneau. Cross-lingual language model pretraining. 2019. URL https://arxiv.org/pdf/1901.07291.pdf.
|
| 215 |
+
|
| 216 |
+
Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of Machine Learning Research, 9:2579–2605, 2008. URL http://www.jmlr.org/papers/v9/ vandermaaten08a.html.
|
| 217 |
+
|
| 218 |
+
Tomas Mikolov, Quoc V Le, and Ilya Sutskever. Exploiting similarities among languages for machine translation. 2013a. URL https://arxiv.org/pdf/1309.4168.pdf.
|
| 219 |
+
|
| 220 |
+
Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg Corrado, and Jeffrey Dean. Distributed representations of words and phrases and their compositionality. In Proceedings of the 26th International Conference on Neural Information Processing Systems - Volume 2, NIPS’13, pp. 3111–3119, USA, 2013b. Curran Associates Inc. URL http://dl.acm.org/citation.cfm?id $=$ 2999792.2999959.
|
| 221 |
+
|
| 222 |
+
Franz Josef Och and Hermann Ney. A systematic comparison of various statistical alignment models. Comput. Linguist., 29(1):19–51, March 2003. ISSN 0891-2017. doi: 10.1162/ 089120103321337421. URL http://dx.doi.org/10.1162/089120103321337421.
|
| 223 |
+
|
| 224 |
+
Matthew Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep contextualized word representations. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pp. 2227–2237, New Orleans, Louisiana, June 2018. Association for Computational Linguistics. doi: 10.18653/v1/N18-1202. URL https://www.aclweb.org/anthology/N18-1202.
|
| 225 |
+
|
| 226 |
+
Slav Petrov, Dipanjan Das, and Ryan McDonald. A universal part-of-speech tagset. In Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC2012), pp. 2089–2096, Istanbul, Turkey, May 2012. European Languages Resources Association (ELRA). URL http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_ Paper.pdf.
|
| 227 |
+
|
| 228 |
+
Telmo Pires, Eva Schlinger, and Dan Garrette. How multilingual is multilingual BERT? In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 4996–5001, Florence, Italy, July 2019. Association for Computational Linguistics. URL https://www.aclweb.org/anthology/P19-1493.
|
| 229 |
+
|
| 230 |
+
Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving language understanding by generative pre-training. 2018. URL https: //s3-us-west-2.amazonaws.com/openai-assets/research-covers/ language-unsupervised/language_understanding_paper.pdf.
|
| 231 |
+
|
| 232 |
+
Andreas Ruckl ¨ e, Steffen Eger, Maxime Peyrard, and Iryna Gurevych. Concatenated p-mean word ´ embeddings as universal cross-lingual sentence representations. arXiv:1803.01400 [cs.CL], 2018. URL http://arxiv.org/abs/1803.01400.
|
| 233 |
+
|
| 234 |
+
Sebastian Ruder, Ivan Vulic, and Anders Søgaard. A survey of cross-lingual word embedding mod-´ els. J. Artif. Int. Res., 65(1):569–630, May 2019. ISSN 1076-9757. doi: 10.1613/jair.1.11640. URL https://doi.org/10.1613/jair.1.11640.
|
| 235 |
+
|
| 236 |
+
Peter H. Schonemann. A generalized solution of the orthogonal procrustes problem. Psychometrika, 31(1):1–10, 1966.
|
| 237 |
+
|
| 238 |
+
Tal Schuster, Ori Ram, Regina Barzilay, and Amir Globerson. Cross-lingual alignment of contextual word embeddings, with applications to zero-shot dependency parsing. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 1599–1613, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1162. URL https://www.aclweb.org/anthology/N19-1162.
|
| 239 |
+
|
| 240 |
+
Samuel L. Smith, David H. P. Turban, Steven Hamblin, and Nils Y. Hammerla. Offline bilingual word vectors, orthogonal transformations and the inverted softmax. In Proceedings of the 5th International Conference on Learning Representations (ICLR 2017), 2017. URL https:// openreview.net/pdf?id $\underline { { \underline { { \mathbf { \Pi } } } } } =$ r1Aab85gg.
|
| 241 |
+
|
| 242 |
+
Anders Søgaard, Sebastian Ruder, and Ivan Vulic. On the limitations of unsupervised bilin- ´ gual dictionary induction. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 778–788, Melbourne, Australia, July 2018. Association for Computational Linguistics. doi: 10.18653/v1/P18-1072. URL https: //www.aclweb.org/anthology/P18-1072.
|
| 243 |
+
|
| 244 |
+
Jorg Tiedemann. Parallel data, tools and interfaces in OPUS. In ¨ Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC’12), pp. 2214–2218, Istanbul, Turkey, May 2012. European Language Resources Association (ELRA). URL http: //www.lrec-conf.org/proceedings/lrec2012/pdf/463_Paper.pdf.
|
| 245 |
+
|
| 246 |
+
Yuxuan Wang, Wanxiang Che, Jiang Guo, Yijia Liu, and Ting Liu. Cross-lingual BERT transformation for zero-shot dependency parsing. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 5725–5731, Hong Kong, China, November 2019. Association for Computational Linguistics. doi: 10.18653/v1/D19-1575. URL https://www.aclweb.org/anthology/D19-1575.
|
| 247 |
+
|
| 248 |
+
John Wieting, Kevin Gimpel, Graham Neubig, and Taylor Berg-Kirkpatrick. Simple and effective paraphrastic similarity from parallel translations. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 4602–4608, Florence, Italy, July 2019. Association for Computational Linguistics. doi: 10.18653/v1/P19-1453. URL https: //www.aclweb.org/anthology/P19-1453.
|
| 249 |
+
|
| 250 |
+
Adina Williams, Nikita Nangia, and Samuel Bowman. A broad-coverage challenge corpus for sentence understanding through inference. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pp. 1112–1122, New Orleans, Louisiana, June 2018. Association for Computational Linguistics. doi: 10.18653/v1/N18-1101. URL https://www.aclweb. org/anthology/N18-1101.
|
| 251 |
+
|
| 252 |
+
Yonghui Wu, Mike Schuster, Zhifeng Chen, Quoc V. Le, Mohammad Norouzi, Wolfgang Macherey, Maxim Krikun, Yuan Cao, Qin Gao, Klaus Macherey, Jeff Klingner, Apurva Shah, Melvin Johnson, Xiaobing Liu, Lukasz Kaiser, Stephan Gouws, Yoshikiyo Kato, Taku Kudo, Hideto Kazawa, Keith Stevens, George Kurian, Nishant Patil, Wei Wang, Cliff Young, Jason Smith, Jason Riesa, Alex Rudnick, Oriol Vinyals, Greg Corrado, Macduff Hughes, and Jeffrey Dean. Google’s neural machine translation system: Bridging the gap between human and machine translation. arXiv:1609.08144 [cs.CL], 2016.
|
| 253 |
+
|
| 254 |
+
Ruochen Xu, Yiming Yang, Naoki Otani, and Yuexin Wu. Unsupervised cross-lingual transfer of word embedding spaces. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 2465–2474, Brussels, Belgium, October-November 2018. Association for Computational Linguistics. doi: 10.18653/v1/D18-1268. URL https://www.aclweb. org/anthology/D18-1268.
|
| 255 |
+
|
| 256 |
+
<table><tr><td></td><td>English</td><td>Bulgarian</td><td>German</td><td>Greek</td><td>Spanish</td><td>French</td><td>Arabic</td><td>Chinese</td><td>Urdu</td><td>Average</td></tr><tr><td>Translate-Train</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Base BERT</td><td>81.9</td><td>73.6</td><td>75.9</td><td>71.6</td><td>77.8</td><td>76.8</td><td>70.7</td><td>76.6</td><td>61.6</td><td>74.1</td></tr><tr><td>Zero-Shot</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Base BERT</td><td>80.4</td><td>68.7</td><td>70.4</td><td>67.0</td><td>74.5</td><td>73.4</td><td>65.6</td><td>70.6</td><td>60.3</td><td>70.1</td></tr><tr><td>Aligned BERT (2OK sent)</td><td>80.8</td><td>71.6</td><td>72.5</td><td>68.1</td><td>74.7</td><td>73.6</td><td>66.3</td><td>71.5</td><td>61.1</td><td>71.1</td></tr></table>
|
| 257 |
+
|
| 258 |
+
Table 5: Zero-shot accuracy on the XNLI test set with more languages, where we use 20K parallel sentences for each language paired with English. This result confirms that the alignment method works for distant languages and a variety of parallel corpora, including Europarl, MultiUN, and Tanzil, which contains sentences from the Quran (Koehn, 2005; Eisele & Chen, 2010; Tiedemann, 2012).
|
| 259 |
+
|
| 260 |
+
# A APPENDIX
|
| 261 |
+
|
| 262 |
+
# A.1 OPTIMIZATION HYPERPARAMETERS
|
| 263 |
+
|
| 264 |
+
For both alignment and XNLI optimization, we use a learning rate of $5 \times 1 0 ^ { - 5 }$ with Adam hyperparameters $\beta = ( 0 . 9 , 0 . 9 8 )$ , $\epsilon = 1 \bar { 0 } ^ { - 9 }$ and linear learning rate warmup for the first $1 0 \%$ of the training data. For alignment, the model is trained for one epoch, with each batch containing 2 sentence pairs per language. For XNLI, each model is trained for 3 epochs with 32 examples per batch, and $1 0 \%$ dropout is applied to the BERT embeddings.
|
| 265 |
+
|
| 266 |
+
# A.2 ALIGNMENT OF CHINESE, ARABIC, AND URDU
|
| 267 |
+
|
| 268 |
+
In Table 5, we report numbers for additional languages, where we align a single BERT model for all eight languages and then fine-tune on XNLI. We use 20K sentences per language, where we use the MultiUN corpus for Arabic and Chinese (Eisele & Chen, 2010), the Tanzil corpus for Urdu (Tiedemann, 2012), and the Europarl corpus for the other five languages (Koehn, 2005). This result confirms that the alignment method works for a variety of languages and corpora. Furthermore, the Tanzil corpus consists of sentences from the Quran, suggesting that the method works even when the parallel corpus and downstream task contain sentences from entirely different domains.
|
| 269 |
+
|
| 270 |
+
A.3 EXAMPLES OF CONTEXT-AWARE RETRIEVAL
|
| 271 |
+
|
| 272 |
+
In this section, we qualitatively show that aligned BERT is able to disambiguate between different occurences of a word.
|
| 273 |
+
|
| 274 |
+
First, we find two meanings of the word “like” occurring in the English-German Europarl test set.
|
| 275 |
+
Note also that in the second and third example, the two senses of “like” occur in the same sentence.
|
| 276 |
+
• This empire did not look for colonies far from home or overseas, like most Western European States, but close by. Dieses Reich suchte seine Kolonien nicht weit von zu Hause und in bersee wie die meisten westeuropaischen Staaten, sondern in der unmittelbaren Umgebung. ¨ Like other speakers, I would like to support the call for the arms embargo to remain. Wie andere Sprecher, so mochte auch ich den Aufruf zur Aufrechterhaltung des Waffen-¨ embargos untersttzen.
|
| 277 |
+
• Like other speakers, I would like to support the call for the arms embargo to remain. Wie andere Sprecher, so mochte ¨ auch ich den Aufruf zur Aufrechterhaltung des Waffenembargos untersttzen.
|
| 278 |
+
• I would also like, although they are absent, to mention the Commission and the Council. Ich mochte ¨ mir sogar erlauben, die Kommission und den Rat zu nennen, auch wenn sie nicht anwesend sind.
|
| 279 |
+
|
| 280 |
+
Multiple meanings of “order”:
|
| 281 |
+
|
| 282 |
+
• Moreover, the national political elite had to make a detour in Ambon in order to reach the civil governor’s residence by warship. In Ambon mußte die politische Spitze des Landes auch noch einen Umweg machen, um mit einem Kriegsschiff die Residenz des Provinzgouverneurs zu erreichen. Although the European Union has an interest in being surrounded by large, stable regions, the tools it has available in order to achieve this are still very limited. Der Europaischen Union ist zwar an großen stabilen Regionen in ihrer Umgebung gelegen, ¨ aber sie verfgt nach wie vor nur ber recht begrenzte Instrumente, um das zu erreichen.
|
| 283 |
+
• We could reasonably expect the new Indonesian government to take action in three fundamental areas: restoring public order, prosecuting and punishing those who have blood on their hands and entering into a political dialogue with the opposition. Von der neuen indonesischen Regierung darf man mit Fug und Recht drei elementare Maß- nahmen erwarten: die Wiederherstellung der offentlichen ¨ Ordnung, die Verfolgung und Bestrafung derjenigen, an deren Handen Blut klebt, und die Aufnahme des politischen Di- ¨ alogs mit den Gegnern. Firstly, I might mention the fact that the army needs to be reformed, secondly that a stable system of law and order needs to be introduced. Ich nenne hier an erster Stelle die notwendige Reform der Armee, ferner die Einfhrung eines stabilen Systems rechtsstaatlicher Ordnung.
|
| 284 |
+
|
| 285 |
+
Multiple meanings of “support”:
|
| 286 |
+
|
| 287 |
+
• Financial support is needed to enable poor countries to take part in these court activities. Arme Lander m ¨ ussen finanziell ¨ unterstutzt ¨ werden, damit auch sie sich an der Arbeit des Gerichtshofs beteiligen konnen. ¨
|
| 288 |
+
• We must help them and ensure that a proper action plan is implemented to support their work. Es gilt einen wirklichen Aktionsplan auf den Weg zu bringen, um die Arbeit dieser Organisationen zu unterstutzen ¨ .
|
| 289 |
+
• So I hope that you will all support this resolution condemning the abominable conditions of prisoners and civilians in Djibouti. Ich hoffe daher, daß Sie alle diese Entschließung befurworten ¨ , die die entsetzlichen Bedingungen von Inhaftierten und Zivilpersonen in Dschibuti verurteilt. It would be difficult to support a subsidy scheme that channelled most of the aid to the large farms in the best agricultural regions. Es ware auch problematisch, ein Beihilfesystem zu ¨ befurworten ¨ , das die meisten Beihilfen in die großen Betriebe in den besten landwirtschaftlichen Gebieten lenkt.
|
| 290 |
+
|
| 291 |
+
Multiple meanings of “close”:
|
| 292 |
+
|
| 293 |
+
• This empire did not look for colonies far from home or overseas, like most Western European States, but close by. Dieses Reich suchte seine Kolonien nicht weit von zu Hause und in bersee wie die meisten westeuropaischen Staaten, sondern in der unmittelbaren ¨ Umgebung.
|
| 294 |
+
In addition, if we are to shut down or refuse investment from every company which may have an association with the arms industry, then we would have to close virtually every American and Japanese software company on the island of Ireland with catastrophic consequences. Wenn wir zudem jedes Unternehmen, das auf irgendeine Weise mit der Rstungsindustrie verbunden ist, schließen oder Investitionen dieser Unternehmen unterbinden, dann mßten wir so ziemlich alle amerikanischen und japanischen Softwareunternehmen auf der irischen Insel schließen, was katastrophale Auswirkungen hatte. ¨
|
| 295 |
+
|
| 296 |
+
• On the other hand, the deployment of resources left over in the Structural Funds from the programme planning period 1994 to 1999 is hardly worth considering as the available funds have already been allocated to specific measures, in this case in close collaboration with the relevant French authorities. Die Verwendung verbliebener Mittel der Strukturfonds aus dem Programmplanungszeitraum 1994 bis 1999 ist dagegen kaum in Erwagung zu ziehen, da die verfgbaren ¨ Mittel bereits bestimmten Maßnahmen zugewiesen sind, und zwar im konkreten Fall im engen Zusammenwirken mit den zustandigen franz ¨ osischen Beh ¨ orden. ¨ This is particularly justified given that, as already stated, many Member States have very close relations with Djibouti. Zumal, wie erwahnt, viele Mitgliedstaaten sehr ¨ enge Beziehungen zu Dschibuti unterhalten. Mr President, it is regrettable that, at the close of the 20th century, a century symbolised so positively by the peaceful women’s revolution, there are still countries, such as Kuwait and Afghanistan, where half the population, women that is, is still denied fundamental human rights. Herr Prasident! Es ist wirklich bedauerlich, daß es am ¨ Ende des 20. Jahrhunderts, eines so positiv von der friedlichen Revolution der Frauen gepragten Jahrhunderts, noch immer ¨ Lander wie Kuwait und Afghanistan gibt, in denen der H ¨ alfte der Bev ¨ olkerung, den Frauen, ¨ die elementaren Menschenrechte verweigert werden.
|
parse/train/r1xCMyBtPS/r1xCMyBtPS_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkg98yBFDr/rkg98yBFDr_content_list.json
ADDED
|
@@ -0,0 +1,1770 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "REJECT ILLEGAL INPUTS: SCALING GENERATIVE CLASSIFIERS WITH SUPERVISED DEEP INFOMAX ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
171,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Deep Infomax (DIM) is an unsupervised representation learning framework by maximizing the mutual information between the inputs and the outputs of an encoder, while probabilistic constraints are imposed on the outputs. In this paper, we propose Supervised Deep InfoMax (SDIM), which introduces supervised probabilistic constraints to the encoder outputs. The supervised probabilistic constraints are equivalent to a generative classifier on high-level data representations, where class conditional log-likelihoods of samples can be evaluated. Unlike other works building generative classifiers with conditional generative models, SDIMs scale on complex datasets, and can achieve comparable performance with discriminative counterparts. With SDIM, we could perform classification with rejection. Instead of always reporting a class label, SDIM only makes predictions when test samples’ largest logits surpass some pre-chosen thresholds, otherwise they will be deemed as out of the data distributions, and be rejected. Our experiments show that SDIM with rejection policy can effectively reject illegal inputs including outof-distribution samples and adversarial examples. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
267,
|
| 43 |
+
764,
|
| 44 |
+
474
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
502,
|
| 55 |
+
336,
|
| 56 |
+
518
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Non-robustness of neural network models emerges as a pressing concern since they are observed to be vulnerable to adversarial examples (Szegedy et al., 2013; Goodfellow et al., 2014). Many attack methods have been developed to find imperceptible perturbations to fool the target classifiers (Moosavi-Dezfooli et al., 2016; Carlini & Wagner, 2017; Brendel et al., 2017). Meanwhile, many defense schemes have also been proposed to improve the robustnesses of the target models (Goodfellow et al., 2014; Tramer et al., 2017; Madry et al., 2017; Samangouei et al., 2018). \\` ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
535,
|
| 66 |
+
823,
|
| 67 |
+
618
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "An important fact about these works is that they focus on discriminative classifiers, which directly model the conditional probabilities of labels given samples. Another promising direction, which is almost neglected so far, is to explore robustness of generative classifiers (Ng & Jordan, 2002). A generative classifier explicitly model conditional distributions of inputs given the class labels. During inference, it evaluates all the class conditional likelihoods of the test input, and outputs the class label corresponding to the maximum. Conditional generative models are powerful and natural choices to model the class conditional distributions, but they suffer from two big problems: (1) it is hard to scale generative classifiers on high-dimensional tasks, like natural images classification, with comparable performance to the discriminative counterparts. Though generative classifiers have shown promising results of adversarial robustness, they hardly achieve acceptable classification performance even on CIFAR10 (Li et al., 2018; Schott et al., 2018; Fetaya et al., 2019). (2) The behaviors of likelihood-based generative models can be counter-intuitive and brittle. They may assign surprisingly higher likelihoods to out-of-distribution (OoD) samples (Nalisnick et al., 2018; Choi & Jang, 2018). Fetaya et al. (2019) discuss the issues of likelihood as a metric for density modeling, which may be the reason of non-robust classification, e.g. OoD samples detection. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
625,
|
| 77 |
+
825,
|
| 78 |
+
833
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "In this paper, we propose supervised deep infomax (SDIM) by introducing supervised statistical constraints into deep infomax (DIM, Hjelm et al. (2018)), an unsupervised learning framework by maximizing the mutual information between representations and data. SDIM is trained by optimizing two objectives: (1) maximizing the mutual information (MI) between the inputs and the high-level data representations from encoder; (2) ensuring that the representations satisfy the supervised statistical constraints. The supervised statistical constraints can be interpreted as a generative classifier on high-level data representations giving up the full generative process. Unlike full generative models making implicit manifold assumptions, the supervised statistical constraints of SDIM serve as explicit enforcement of manifold assumption: data representations (low-dimensional) are trained to form clusters corresponding to their class labels. With SDIM, we could perform classification with rejection (Nalisnick et al., 2019; Geifman & El-Yaniv, 2017). SDIMs reject illegal inputs based on off-manifold conjecture (Samangouei et al., 2018; Gu & Rigazio, 2014), where illegal inputs, e.g. adversarial examples, lie far away from the data manifold. Samples whose class conditionals are smaller than the pre-chosen thresholds will be deemed as off-manifold, and prediction requests on them will be rejected. The contributions of this paper are : ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
840,
|
| 88 |
+
823,
|
| 89 |
+
922
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
103,
|
| 99 |
+
825,
|
| 100 |
+
229
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "• We propose Supervised Deep Infomax (SDIM), an end-to-end framework whose probabilistic constraints are equivalent to a generative classifier. SDIMs can achieve comparable classification performance with similar discrinimative counterparts at the cost of small over-parameterization. We propose a simple but novel rejection policy based on off-manifold conjecture: SDIM outputs a class label only if the test sample’s largest class conditional surpasses the prechosen class threshold, otherwise outputs rejection. The choice of thresholds relies only on training set, and takes no additional computations. Experiments show that SDIM with rejection policy can effectively reject illegal inputs, including OoD samples and adversarial examples generated by a comprehensive group of adversarial attacks. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
215,
|
| 109 |
+
238,
|
| 110 |
+
825,
|
| 111 |
+
400
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "2 BACKGROUND: DEEP INFOMAX ",
|
| 118 |
+
"text_level": 1,
|
| 119 |
+
"bbox": [
|
| 120 |
+
176,
|
| 121 |
+
419,
|
| 122 |
+
475,
|
| 123 |
+
435
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "Deep InfoMax (DIM, Hjelm et al. (2018)) is an unsupervised representation learning framework by maximizing the mutual information (MI) of the inputs and outputs of an encoder. The computation of MI takes only input-output pairs with the deep neural networks based esimator MINE (Belghazi et al., 2018). ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
173,
|
| 132 |
+
449,
|
| 133 |
+
825,
|
| 134 |
+
506
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "Let $E _ { \\phi }$ be an encoder parameterized by $\\phi$ , working on the training set $\\mathcal { X } = \\{ x _ { i } \\} _ { i = 1 } ^ { N }$ , and generating output set $\\mathcal { V } = \\{ E ( x _ { i } ) \\} _ { i = 1 } ^ { N }$ . DIM is trained to find the set of parameters $\\phi$ such that: (1) the mutual information ${ \\mathcal { T } } ( X , Y )$ is maximized over sample sets $\\mathcal { X }$ and $\\mathcal { V }$ . (2) the representations, depending on the potential downstream tasks, match some prior distribution. Denote $\\mathbb { J }$ and $\\mathbb { M }$ the joint and product of marginals of random variables $X$ , $Y$ respectively. MINE estimates a lower-bound of MI with Donsker-Varadhan (Donsker & Varadhan, 1983) representation of KL-divergence: ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
173,
|
| 143 |
+
512,
|
| 144 |
+
825,
|
| 145 |
+
597
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "equation",
|
| 151 |
+
"img_path": "images/35895dce495f9fcf4f271100c4f3721ec12152f961942490676f00533491da00.jpg",
|
| 152 |
+
"text": "$$\n\\mathcal { Z } ( X , Y ) = D _ { K L } ( \\mathbb { J } | | \\mathbb { M } ) \\geq \\mathbb { E } _ { \\mathbb { J } } [ T _ { \\omega } ( x , y ) ] - \\log \\mathbb { E } _ { \\mathbb { M } } [ e ^ { T _ { \\omega } ( x , y ) } ]\n$$",
|
| 153 |
+
"text_format": "latex",
|
| 154 |
+
"bbox": [
|
| 155 |
+
299,
|
| 156 |
+
599,
|
| 157 |
+
696,
|
| 158 |
+
618
|
| 159 |
+
],
|
| 160 |
+
"page_idx": 1
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"type": "text",
|
| 164 |
+
"text": "where $T _ { \\omega } ( x , y ) \\in \\mathbb { R }$ is a family of functions with parameters $\\omega$ represented by a neural network. Since in representation learning we are more interested in maximizing MI, than its exact value, nonKL divergences are also favorable candidates. We can get a family of variational lower-bounds using $f$ -divergence representations (Nguyen et al., 2010): ",
|
| 165 |
+
"bbox": [
|
| 166 |
+
174,
|
| 167 |
+
619,
|
| 168 |
+
825,
|
| 169 |
+
674
|
| 170 |
+
],
|
| 171 |
+
"page_idx": 1
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"type": "equation",
|
| 175 |
+
"img_path": "images/dd80b927f9836fe6426cb54577a003c5c4b5f3296f082fc2f03b2c45937b231c.jpg",
|
| 176 |
+
"text": "$$\n\\mathbb { Z } _ { f } ( X , Y ) \\ge \\mathbb { E } _ { \\mathbb { J } } [ T _ { \\omega } ( x , y ) ] - \\mathbb { E } _ { \\mathbb { M } } [ f ^ { * } \\left( T _ { \\omega } ( x , y ) \\right) ]\n$$",
|
| 177 |
+
"text_format": "latex",
|
| 178 |
+
"bbox": [
|
| 179 |
+
341,
|
| 180 |
+
675,
|
| 181 |
+
656,
|
| 182 |
+
694
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "where $f ^ { * }$ is the Fenchel conjugate of a specific divergence $f$ . For KL-divergence, $f ^ { * } ( t ) = e ^ { ( t - 1 ) }$ . A full $f ^ { * }$ list is provided in Tab. 6 of Nowozin et al. (2016). Noise-Contrastive Estimation (Gutmann & Hyvarinen, 2010) can also be used as lower-bound of MI in “infoNCE” (Oord et al., 2018) . ¨ ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
173,
|
| 191 |
+
698,
|
| 192 |
+
825,
|
| 193 |
+
739
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "3 SUPERVISED DEEP INFOMAX ",
|
| 200 |
+
"text_level": 1,
|
| 201 |
+
"bbox": [
|
| 202 |
+
176,
|
| 203 |
+
758,
|
| 204 |
+
450,
|
| 205 |
+
775
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 1
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "All the components of SDIM framework are summurized in Fig. 1. The focus of Supervised Deep InfoMax (SDIM) is on introducing supervision to probabilistic constraints of DIM for (generative) classification. We choose to maximize the local MI, which has shown to be more effective in classification tasks than maximizing global MI (Hjelm et al., 2018). Equivalently, we minimize $\\mathcal { I } _ { \\mathrm { M I } }$ : ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
173,
|
| 214 |
+
789,
|
| 215 |
+
825,
|
| 216 |
+
845
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 1
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "equation",
|
| 222 |
+
"img_path": "images/2465f01f66e89c8feca9bf84626fdb2420c00d491c1bbcf1610e772c42db68ab.jpg",
|
| 223 |
+
"text": "$$\n\\mathcal { T } _ { \\mathrm { M I } } = - \\frac { 1 } { M ^ { 2 } } \\sum _ { i = 1 } ^ { M ^ { 2 } } \\tilde { \\mathcal { T } } ( L _ { \\phi } ^ { ( i ) } ( \\pmb { x } ) , E _ { \\phi } ( \\pmb { x } ) )\n$$",
|
| 224 |
+
"text_format": "latex",
|
| 225 |
+
"bbox": [
|
| 226 |
+
375,
|
| 227 |
+
847,
|
| 228 |
+
622,
|
| 229 |
+
892
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 1
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "text",
|
| 235 |
+
"text": "where $L _ { \\phi } ( { \\pmb x } )$ is a local $M \\times M$ feature map of $_ { x }$ extracted from some intermediate layer of encoder $E$ , and $\\tilde { \\mathcal { T } }$ can be any possible MI lower-bounds. ",
|
| 236 |
+
"bbox": [
|
| 237 |
+
174,
|
| 238 |
+
892,
|
| 239 |
+
823,
|
| 240 |
+
924
|
| 241 |
+
],
|
| 242 |
+
"page_idx": 1
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"type": "image",
|
| 246 |
+
"img_path": "images/4057617de4c52d01f42003f6e7da7d01924abf89f79d7ff02acce1cb109853f9.jpg",
|
| 247 |
+
"image_caption": [
|
| 248 |
+
"Figure 1: Components of SDIM framework. (1)The encoder $E _ { \\phi }$ takes input $_ { \\textbf { \\em x } }$ , and produces pairs of local feature maps $L _ { \\phi } ( \\pmb { x } )$ and global representations $E _ { \\phi } ( \\pmb { x } )$ . (2) The MI evaluation network $T _ { \\omega }$ maps every possible positive pairs and negative pairs to MI scores specified by corresponding MI lower-bound. Negative pairs are simply obtained by combine all unpaired local feature maps and global representations within the same mini-batch. (3) Supervised constraints are imposed on the global representations $\\tilde { \\pmb { x } } = E _ { \\phi } ( \\pmb { x } )$ with loss $\\mathcal { T } _ { \\mathrm { N L L } } + \\mathcal { T } _ { \\mathrm { L M } }$ for generative classification. The true class conditionals are maximized, while false class conditionals are minimized. See following parts of this section for details. "
|
| 249 |
+
],
|
| 250 |
+
"image_footnote": [],
|
| 251 |
+
"bbox": [
|
| 252 |
+
192,
|
| 253 |
+
103,
|
| 254 |
+
803,
|
| 255 |
+
421
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 2
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "3.1 EXPLICIT ENFORCEMENT OF MANIFOLD ASSUMPTION ",
|
| 262 |
+
"text_level": 1,
|
| 263 |
+
"bbox": [
|
| 264 |
+
174,
|
| 265 |
+
583,
|
| 266 |
+
594,
|
| 267 |
+
598
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "By adopting a generative approach $p ( \\pmb { x } , y ) = p ( y ) p ( \\pmb { x } | y )$ , we assume that the data follows the manifold assumption: the (high-dimensional) data lies on low-dimensional manifolds corresponding to their class labels. Denote $\\tilde { \\pmb x }$ the compact representation generated with encoder $E _ { \\phi } ( \\pmb { x } )$ . In order to explicitly enforce the manifold assumption , we admit the existence of data manifold in the representation space. Assume that $y$ is a discrete random variable representing class labels, and $p ( \\tilde { \\mathbfit { x } } | \\boldsymbol { y } )$ is the real class conditional distribution of the data manifold given $y$ . Let $p _ { \\theta } ( \\tilde { \\pmb x } | y )$ be the class conditionals we model parameterized with $\\theta$ . We approximate $p ( \\tilde { \\mathbfit { x } } | \\boldsymbol { y } )$ by minimizing the KL-divergence between $p ( \\tilde { \\mathbfit { x } } | \\boldsymbol { y } )$ and our model $p _ { \\theta } ( \\tilde { \\pmb x } | y )$ , which is given by: ",
|
| 274 |
+
"bbox": [
|
| 275 |
+
173,
|
| 276 |
+
608,
|
| 277 |
+
825,
|
| 278 |
+
722
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 2
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "equation",
|
| 284 |
+
"img_path": "images/84d38e6c8d4d57ade11e6797907ebb8c241f21e0049449e5d08e71fa392138f5.jpg",
|
| 285 |
+
"text": "$$\n\\begin{array} { r l } & { D _ { K L } \\big ( p ( \\tilde { x } | y ) | | p _ { \\theta } ( \\tilde { x } | y ) \\big ) = \\mathbb { E } _ { \\tilde { x } , y \\sim p ( \\tilde { x } , y ) } [ \\log p ( \\tilde { x } | y ) - \\log p _ { \\theta } ( \\tilde { x } | y ) ] } \\\\ & { \\qquad = \\mathbb { E } _ { \\tilde { x } , y \\sim p ( \\tilde { x } , y ) } [ \\log p ( \\tilde { x } | y ) ] - \\mathbb { E } _ { \\tilde { x } , y \\sim p ( \\tilde { x } , y ) } [ \\log p _ { \\theta } ( \\tilde { x } | y ) ] } \\end{array}\n$$",
|
| 286 |
+
"text_format": "latex",
|
| 287 |
+
"bbox": [
|
| 288 |
+
238,
|
| 289 |
+
724,
|
| 290 |
+
759,
|
| 291 |
+
765
|
| 292 |
+
],
|
| 293 |
+
"page_idx": 2
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"type": "text",
|
| 297 |
+
"text": "where the first item on RHS is a constant independent of the model parameters $\\theta$ . Eq. 4 equals to maximize the expectation $\\mathbb { E } _ { \\tilde { \\mathbf { x } } , y \\sim p ( \\tilde { \\mathbf { x } } , y ) } [ \\log p _ { \\theta } ( \\tilde { \\mathbf { x } } | y ) ]$ . ",
|
| 298 |
+
"bbox": [
|
| 299 |
+
171,
|
| 300 |
+
766,
|
| 301 |
+
823,
|
| 302 |
+
797
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 2
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "In practice, we minimize the following loss $\\mathcal { T } _ { \\mathrm { N L L } }$ , equivalent to empicically maximize the above expectation over $\\{ \\tilde { \\pmb { x } } _ { i } = E _ { \\phi } ( \\pmb { x } _ { i } ) , y _ { i } \\} _ { i = 1 } ^ { N }$ : ",
|
| 309 |
+
"bbox": [
|
| 310 |
+
173,
|
| 311 |
+
801,
|
| 312 |
+
823,
|
| 313 |
+
832
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 2
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "equation",
|
| 319 |
+
"img_path": "images/9aa5ad65f48a82ba27d1517e7b56fd93be8b96555521952a5a38be0bc0b3ceee.jpg",
|
| 320 |
+
"text": "$$\n\\mathcal { T } _ { \\mathrm { N L L } } = - \\mathbb { E } _ { \\tilde { \\mathbf { x } } , y \\sim p ( \\tilde { \\mathbf { x } } , y ) } [ \\log p _ { \\theta } ( \\tilde { \\mathbf { x } } | y ) ] \\approx - \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\log p _ { \\theta } ( \\tilde { \\mathbf { x } } _ { i } | y _ { i } )\n$$",
|
| 321 |
+
"text_format": "latex",
|
| 322 |
+
"bbox": [
|
| 323 |
+
297,
|
| 324 |
+
835,
|
| 325 |
+
700,
|
| 326 |
+
878
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 2
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "text",
|
| 332 |
+
"text": "Besides the introduction of supervision, SDIM differs from DIM in its way of enforcing the statistical constraints: DIM use adversarial learning (Makhzani et al., 2015) to push the representations to the desired priors, while SDIM directly maximizes the parameterized class conditional probability. ",
|
| 333 |
+
"bbox": [
|
| 334 |
+
174,
|
| 335 |
+
881,
|
| 336 |
+
823,
|
| 337 |
+
924
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 2
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "text",
|
| 343 |
+
"text": "Maximize Likelihood Margins Since a generative classifier, at inference, decides which class a test input $_ { \\textbf { \\em x } }$ belongs to according to its class conditional probability. On one hand, we maximize samples’ true class conditional probabilities (classes they belong to) using $\\mathcal { T } _ { \\mathrm { N L L } }$ ; On the other hand, we also hope that samples’ false class conditional probabilities (classes they do not belong to) can be minimized. This is assured by the following likelihood margin loss $\\mathcal { I } _ { \\mathrm { L M } }$ : ",
|
| 344 |
+
"bbox": [
|
| 345 |
+
173,
|
| 346 |
+
103,
|
| 347 |
+
826,
|
| 348 |
+
174
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 3
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "equation",
|
| 354 |
+
"img_path": "images/e6ed3f7d35972129b8b8633536bc2f31b9d603a10f8d5b38aef984cb02945ceb.jpg",
|
| 355 |
+
"text": "$$\n\\mathcal { I } _ { \\mathrm { L M } } = \\frac { 1 } { N } \\cdot \\frac { 1 } { C - 1 } \\sum _ { i = 1 } ^ { N } \\sum _ { c = 1 , c \\neq y _ { i } } ^ { C } \\operatorname* { m a x } ( \\log p ( \\tilde { \\mathbf { x } } _ { i } | y = c ) + K - \\log p ( \\tilde { \\mathbf { x } } _ { i } | y = y _ { i } ) , 0 ) ^ { 2 }\n$$",
|
| 356 |
+
"text_format": "latex",
|
| 357 |
+
"bbox": [
|
| 358 |
+
223,
|
| 359 |
+
174,
|
| 360 |
+
772,
|
| 361 |
+
219
|
| 362 |
+
],
|
| 363 |
+
"page_idx": 3
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"type": "text",
|
| 367 |
+
"text": "where $K$ is a positive constant to control the margin. For each encoder output $\\tilde { \\mathbf { x } } _ { i }$ , the $C - 1$ truefalse class conditional gaps are squared1, which quadratically increases the penalties when the gap becomes large, then are averaged. ",
|
| 368 |
+
"bbox": [
|
| 369 |
+
173,
|
| 370 |
+
220,
|
| 371 |
+
825,
|
| 372 |
+
262
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 3
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "text",
|
| 378 |
+
"text": "Putting all these together, the complete loss function we minimize is: ",
|
| 379 |
+
"bbox": [
|
| 380 |
+
173,
|
| 381 |
+
268,
|
| 382 |
+
627,
|
| 383 |
+
284
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 3
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "equation",
|
| 389 |
+
"img_path": "images/e67675b111887be06e0a23a5089b2084fd039bac7bd9f583c1edaff61c07108c.jpg",
|
| 390 |
+
"text": "$$\n\\mathcal { T } _ { \\mathrm { S D I M } } = \\alpha \\cdot \\mathcal { T } _ { \\mathrm { M I } } + \\beta \\cdot \\mathcal { T } _ { \\mathrm { N L L } } + \\gamma \\cdot \\mathcal { T } _ { \\mathrm { L M } }\n$$",
|
| 391 |
+
"text_format": "latex",
|
| 392 |
+
"bbox": [
|
| 393 |
+
369,
|
| 394 |
+
285,
|
| 395 |
+
629,
|
| 396 |
+
301
|
| 397 |
+
],
|
| 398 |
+
"page_idx": 3
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"type": "text",
|
| 402 |
+
"text": "Parameterization of Class Conditional Probability Each of the class conditional distribution is represented as an isotropic Gaussian. So the generative classifier is simply a embedding layer with $C$ entries, and each entry contains the trainable mean and variance of a Gaussian. This minimized parameterization encourages the encoder to learn simple and stable low-dimensional representations that can be easily explained by even unimodal distributions. Considering that we maximize the true class conditional probability, and minimize the false class conditional probability at the same time, we do not choose conditional normalizing flows, since the parameters are shared across class labels, and the training can be very difficult. In Schott et al. (2018), each class conditional probability is represented with a VAE, thus scaling to complex datasets with huge number of classes, e.g. ImageNet, is almost impossible. ",
|
| 403 |
+
"bbox": [
|
| 404 |
+
173,
|
| 405 |
+
309,
|
| 406 |
+
825,
|
| 407 |
+
450
|
| 408 |
+
],
|
| 409 |
+
"page_idx": 3
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"type": "text",
|
| 413 |
+
"text": "3.2 DECISION FUNCTION WITH REJECTION ",
|
| 414 |
+
"text_level": 1,
|
| 415 |
+
"bbox": [
|
| 416 |
+
176,
|
| 417 |
+
465,
|
| 418 |
+
486,
|
| 419 |
+
479
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 3
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "text",
|
| 425 |
+
"text": "A generative approach models the class-conditional distributions $p ( { \\pmb x } | { \\pmb y } )$ , as well as the class priors $p ( y )$ . For classification, we compute the posterior probabilities $p ( y | \\mathbf { \\boldsymbol { x } } )$ through Bayes’ rule: ",
|
| 426 |
+
"bbox": [
|
| 427 |
+
176,
|
| 428 |
+
491,
|
| 429 |
+
821,
|
| 430 |
+
520
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 3
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "equation",
|
| 436 |
+
"img_path": "images/a041fd13d5dffdb94922185f70e40a21941f88811720a3c44063429458e1899e.jpg",
|
| 437 |
+
"text": "$$\np ( y | \\pmb { x } ) = \\frac { p ( \\pmb { x } | y ) p ( y ) } { p ( \\pmb { x } ) } \\propto p ( \\pmb { x } | y ) p ( y )\n$$",
|
| 438 |
+
"text_format": "latex",
|
| 439 |
+
"bbox": [
|
| 440 |
+
375,
|
| 441 |
+
520,
|
| 442 |
+
620,
|
| 443 |
+
555
|
| 444 |
+
],
|
| 445 |
+
"page_idx": 3
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "text",
|
| 449 |
+
"text": "The prior $p ( y )$ can be computed from the training set, or we simply use uniform class prior for all class labels by default. Then the prediction of test sample $\\mathbf { \\boldsymbol { x } } ^ { * }$ from posteriors is: ",
|
| 450 |
+
"bbox": [
|
| 451 |
+
171,
|
| 452 |
+
556,
|
| 453 |
+
823,
|
| 454 |
+
584
|
| 455 |
+
],
|
| 456 |
+
"page_idx": 3
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "equation",
|
| 460 |
+
"img_path": "images/d0a1d14ff2dfcf784e584443efbb79150c506d8c4f727895f6b7f5e88107820a.jpg",
|
| 461 |
+
"text": "$$\ny ^ { * } = \\underset { c = [ 1 \\ldots C ] } { \\arg \\operatorname* { m a x } } \\log p ( \\pmb { x } ^ { * } | y = c ) .\n$$",
|
| 462 |
+
"text_format": "latex",
|
| 463 |
+
"bbox": [
|
| 464 |
+
393,
|
| 465 |
+
585,
|
| 466 |
+
602,
|
| 467 |
+
613
|
| 468 |
+
],
|
| 469 |
+
"page_idx": 3
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "text",
|
| 473 |
+
"text": "The drawback of the above decision function is that it always gives a prediction even for illegal inputs. Instead of simply outputting the class label that maximizes class conditional probability of $\\pmb { x } ^ { * }$ , we set a threshold for each class conditional probability, and define our decision function with rejection to be: ",
|
| 474 |
+
"bbox": [
|
| 475 |
+
173,
|
| 476 |
+
621,
|
| 477 |
+
825,
|
| 478 |
+
676
|
| 479 |
+
],
|
| 480 |
+
"page_idx": 3
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "equation",
|
| 484 |
+
"img_path": "images/8476b5c4fe224595bb8dbd3ed1a7df98fef92414f64a3242b6be76464221b4eb.jpg",
|
| 485 |
+
"text": "$$\n\\left\\{ \\begin{array} { l l } { y ^ { * } , } & { \\mathrm { i f } \\log p ( \\pmb { x } ^ { * } | y ^ { * } ) \\geq \\delta _ { y ^ { * } } } \\\\ { R e j e c t i o n , } & { \\mathrm { o t h e r w i s e } } \\end{array} \\right.\n$$",
|
| 486 |
+
"text_format": "latex",
|
| 487 |
+
"bbox": [
|
| 488 |
+
377,
|
| 489 |
+
676,
|
| 490 |
+
619,
|
| 491 |
+
712
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 3
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "text",
|
| 497 |
+
"text": "The model gives a rejection when $\\log p ( \\boldsymbol { x } ^ { * } | \\boldsymbol { y } ^ { * } )$ is smaller than the threshold $\\delta _ { y ^ { * } }$ . Note that here we can use $p ( x ^ { * } | y ^ { * } )$ and $p ( \\tilde { \\boldsymbol { x } } ^ { * } | \\boldsymbol { y } ^ { * } )$ interchangeably. This is also known as selective classification (Geifman & El-Yaniv, 2017) or classification with reject option (Nalisnick et al., 2019)(See Supp. A) ",
|
| 498 |
+
"bbox": [
|
| 499 |
+
174,
|
| 500 |
+
713,
|
| 501 |
+
825,
|
| 502 |
+
756
|
| 503 |
+
],
|
| 504 |
+
"page_idx": 3
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"type": "text",
|
| 508 |
+
"text": "4 RELATED WORKS ",
|
| 509 |
+
"text_level": 1,
|
| 510 |
+
"bbox": [
|
| 511 |
+
176,
|
| 512 |
+
775,
|
| 513 |
+
351,
|
| 514 |
+
790
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 3
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "text",
|
| 520 |
+
"text": "Robustness of Likelihood-based Generative Models Though likelihood-based generative models have achieved great success in samples synthesis, the behaviors of their likelihoods can be counter-intuitive. Flow-based models (Kingma & Dhariwal, 2018) and as well as VAEs (Kingma & Welling, 2013), surprisingly assign even higher likelihoods to out-of-distribution samples than the samples in the training set (Nalisnick et al., 2018; Choi & Jang, 2018). Pixel-level statistical analyses in Nalisnick et al. (2018) show that OoD dataset may “sit inside of” the in-distribution dataset (i.e. with roughly the same mean but smaller variance). ",
|
| 521 |
+
"bbox": [
|
| 522 |
+
173,
|
| 523 |
+
804,
|
| 524 |
+
825,
|
| 525 |
+
902
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 3
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "Off-Manifold Conjecture Grosse et al. (2017) observe that adversarial examples are outside the training distribution via statistical testing. ",
|
| 532 |
+
"bbox": [
|
| 533 |
+
176,
|
| 534 |
+
103,
|
| 535 |
+
823,
|
| 536 |
+
132
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 4
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "DefenseGAN (Samangouei et al., 2018) models real data distribution with the generator $G$ of GAN. At inference, instead of feeding the test input $_ { \\textbf { \\em x } }$ to the target classifier directly, it searches for the “closest” sample $G ( z ^ { \\ast } )$ from generator distribution to $_ { \\textbf { \\em x } }$ as the final input to the classifier. It ensures that the classifier only make predictions on the data manifold represented by the generator, ruling out the potential adversarial perturbations in $_ { \\textbf { \\em x } }$ . PixelDefend (Song et al., 2017) takes a similar approach which uses likelihood-based generative model - PixelCNN to model the data distribution. ",
|
| 543 |
+
"bbox": [
|
| 544 |
+
174,
|
| 545 |
+
138,
|
| 546 |
+
825,
|
| 547 |
+
222
|
| 548 |
+
],
|
| 549 |
+
"page_idx": 4
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"type": "text",
|
| 553 |
+
"text": "Both DefenseGAN and PixelDefend are additionally trained as peripheral defense schemes agnostic to the target classifiers. Training generative models on complex datasets notoriously takes huge amount of computational resources (Brock et al., 2018). In contrast, the training of SDIM is computationally similar to its discriminative counterpart. The verification of whether inputs are offmanifold is a built-in property of the SDIM generative classifier. The class conditionals of SDIM are modeled on low-dimensional data representations with simple Gaussians, which is much easier, and incurs very small computations. ",
|
| 554 |
+
"bbox": [
|
| 555 |
+
174,
|
| 556 |
+
229,
|
| 557 |
+
825,
|
| 558 |
+
327
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 4
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "text",
|
| 564 |
+
"text": "5 EXPERIMENTS ",
|
| 565 |
+
"text_level": 1,
|
| 566 |
+
"bbox": [
|
| 567 |
+
176,
|
| 568 |
+
347,
|
| 569 |
+
326,
|
| 570 |
+
362
|
| 571 |
+
],
|
| 572 |
+
"page_idx": 4
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"type": "text",
|
| 576 |
+
"text": "Datasets We evaluate the effectiveness of the rejection policy of SDIM on four image datasets: MNIST, FashionMNIST (both resized to $3 2 \\times 3 2$ from $2 8 \\times 2 8$ ); and CIFAR10, SVHN. See App. B.1 for details of data processing. For out-of-distribution samples detection, we use the dataset pairs on which likelihood-based generative models fail (Nalisnick et al., 2018; Choi & Jang, 2018): FashionMNIST (in)-MNIST (out) and CIFAR10 (in)-SVHN (out). Adversarial examples detection are evaluated on MNIST and CIFAR10. ",
|
| 577 |
+
"bbox": [
|
| 578 |
+
174,
|
| 579 |
+
377,
|
| 580 |
+
825,
|
| 581 |
+
460
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 4
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "text",
|
| 587 |
+
"text": "Choice of thresholds It is natural that choosing thresholds based on what the model knows, i.e. training set, and can reject what the model does not know, i.e. possible illegal inputs. We set one threshold for each class conditional. For each class conditional probability, we choose to evaluate on two different thresholds: 1st and $2 n d$ percentiles of class conditional log-likelihoods of the correctly classified training samples. Compared to the detection methods proposed in Li et al. (2018), our choice of thresholds is much simpler, and takes no additional computations. ",
|
| 588 |
+
"bbox": [
|
| 589 |
+
174,
|
| 590 |
+
474,
|
| 591 |
+
825,
|
| 592 |
+
559
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 4
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "Models A typical SDIM instance consists of three networks: an encoder, parameterized by $\\phi$ , which outputs a $d$ -dimensional representation; mutual information evaluation networks, i.e. $T _ { \\omega }$ in Eqn. (1) and Eqn. (2); and $C$ -way class conditional embedding layer, parameterized by $\\theta$ , with each entry a $2 d$ -dimensional vector. We set $d = 6 4$ in all our experiments. ",
|
| 599 |
+
"bbox": [
|
| 600 |
+
173,
|
| 601 |
+
573,
|
| 602 |
+
825,
|
| 603 |
+
630
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 4
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "For encoder of SDIM, we use ResNet (He et al., 2016) on $3 2 \\times 3 2$ with a stack of $8 n + 2$ layers, and 4 filter sizes $\\{ 3 2 , 6 4 , 1 2 8 , 2 5 6 \\}$ . The architecture is summarized as: ",
|
| 610 |
+
"bbox": [
|
| 611 |
+
174,
|
| 612 |
+
636,
|
| 613 |
+
821,
|
| 614 |
+
665
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 4
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "table",
|
| 620 |
+
"img_path": "images/b989ee5b1c0540cb6f85878f2d0f8ed1930006df4e6b2e9d8c1d810b020f6369.jpg",
|
| 621 |
+
"table_caption": [],
|
| 622 |
+
"table_footnote": [],
|
| 623 |
+
"table_body": "<table><tr><td> output map size</td><td>32×32</td><td>16 ×16</td><td>8×8</td><td>4×4</td></tr><tr><td>#layers</td><td>1+2n</td><td>2n</td><td>2n</td><td>2n</td></tr><tr><td># filters</td><td>32</td><td>64</td><td>128</td><td>256</td></tr></table>",
|
| 624 |
+
"bbox": [
|
| 625 |
+
318,
|
| 626 |
+
676,
|
| 627 |
+
678,
|
| 628 |
+
731
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 4
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "text",
|
| 634 |
+
"text": "The last layer of encoder is a $d$ -way fully-connected layer. To construct a discriminative counterpart, we simply set the output size of the encoder’s last layer to $C$ for classification. We use ResNet10 $\\overset { \\cdot } { n } = 1$ ) on MNIST, FashionMNIST, and ResNet26 $\\ R = 3$ ) on CIFAR10, SVHN. ",
|
| 635 |
+
"bbox": [
|
| 636 |
+
174,
|
| 637 |
+
756,
|
| 638 |
+
825,
|
| 639 |
+
797
|
| 640 |
+
],
|
| 641 |
+
"page_idx": 4
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"type": "text",
|
| 645 |
+
"text": "5.1 EVALUATION ON CLEAN DATA ",
|
| 646 |
+
"text_level": 1,
|
| 647 |
+
"bbox": [
|
| 648 |
+
176,
|
| 649 |
+
814,
|
| 650 |
+
426,
|
| 651 |
+
829
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 4
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "text",
|
| 657 |
+
"text": "We report the classification accuracies (see Tab. 1) of SDIMs and the discriminative counterparts on clean test sets . Results show that SDIMs achieve the same level of accuracy as the discriminative counterparts with slightly increased number of parameters ( $1 7 \\%$ increase for ResNet10, and $5 \\%$ increase for ResNet26). We are aware of the existence of better results reported on these datasets using more complex models (Huang et al., 2017; Han et al., 2017) or automatically designed architectures (Cai et al., 2018), but pushing the state-of-the-art is not the focus of this paper. ",
|
| 658 |
+
"bbox": [
|
| 659 |
+
174,
|
| 660 |
+
839,
|
| 661 |
+
825,
|
| 662 |
+
924
|
| 663 |
+
],
|
| 664 |
+
"page_idx": 4
|
| 665 |
+
},
|
| 666 |
+
{
|
| 667 |
+
"type": "table",
|
| 668 |
+
"img_path": "images/c9e4173df794c63087eb400d55db1e26e63b1da21e323c876f272405e7114383.jpg",
|
| 669 |
+
"table_caption": [
|
| 670 |
+
"Table 1: Clean test accuracies of SDIMs and the discriminative counterparts. "
|
| 671 |
+
],
|
| 672 |
+
"table_footnote": [],
|
| 673 |
+
"table_body": "<table><tr><td>Model</td><td># Parameters</td><td>MNIST</td><td>FashionMNIST</td><td>CIFAR10</td><td>SVHN</td></tr><tr><td>Disc. (ResNet10,n = 1)</td><td>1.25M</td><td>99.42%</td><td>94.25%</td><td>-</td><td>-</td></tr><tr><td>SDIM (ResNet10, n = 1)</td><td>1.46M (17% 个)</td><td>99.55%</td><td>94.58%</td><td>-</td><td>-</td></tr><tr><td>Disc. (ResNet26,(n = 3))</td><td>4.39M</td><td>-</td><td>1</td><td>92.35%</td><td>95.96%</td></tr><tr><td>SDIM (ResNet26,n = 3)</td><td>4.60M (5% ↑)</td><td>1</td><td>1</td><td>92.53%</td><td>95.74%</td></tr></table>",
|
| 674 |
+
"bbox": [
|
| 675 |
+
192,
|
| 676 |
+
101,
|
| 677 |
+
805,
|
| 678 |
+
188
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 5
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "Is Fully Generative Model Necessary for Generative Classification? In the evaluations of Li et al. (2018) and Schott et al. (2018), both model class conditional probability with VAE (Kingma & Welling, 2013; Rezende et al., 2014), and achieve acceptable accuracies $\\mathrm { \\dot { ( > ~ 9 8 \\% ) } }$ on MNIST. However, it is hard for fully conditional generative models to achieve satisfactory classification accuracies even on CIFAR10. On CIFAR10, methods in Li et al. (2018) achieve only $< 5 0 \\%$ accuracy. They also point out that the classification accuracy of a conditional $\\mathrm { P i x e l C N N + + }$ (Salimans et al., 2017) is only $7 2 . 4 \\%$ . The test accuracy of ABS in (Schott et al., 2018) is only $5 4 \\%$ . In contrast, SDIM could achieve almost the same performance with similar discriminative classifier by giving up the full generative process, and building generative classifier on high-level representations. Li et al. (2018) improves the accuracy to $9 2 \\%$ by feeding the features learned by powerful discriminative classifier-VGG16 (Simonyan & Zisserman, 2014) to their generative classifiers, which also suggests that modeling likelihood on high-level representation (features) is more favorable for generative classification than pixel-level likelihood of fully generative classifiers. For classification tasks, discovering discriminative features is much more important than reconstructing the all the image pixels. Thus performing generative classification with full generative models may not be the right choice. ",
|
| 685 |
+
"bbox": [
|
| 686 |
+
174,
|
| 687 |
+
246,
|
| 688 |
+
825,
|
| 689 |
+
468
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 5
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "Decision with Rejection We also investigate the implications of the proposed decision function with rejection under different thresholds. The results in Tab. 2 show that choosing a higher percentile as threshold will reject more prediction requests. At the same time, the classification accuracies of SDIM on the left test sets become increasingly better. This demonstrate that out rejection policy tend to reject the ones on which SDIMs make wrong predictions. ",
|
| 696 |
+
"bbox": [
|
| 697 |
+
176,
|
| 698 |
+
486,
|
| 699 |
+
823,
|
| 700 |
+
556
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 5
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "table",
|
| 706 |
+
"img_path": "images/ac2f282d7515a48b0c590762d0cf98d4ec87c60c34abd9e4ffa0045285ec4e6a.jpg",
|
| 707 |
+
"table_caption": [],
|
| 708 |
+
"table_footnote": [],
|
| 709 |
+
"table_body": "<table><tr><td rowspan=\"2\">Dataset</td><td rowspan=\"2\">Original Acc.</td><td colspan=\"2\">1st percentile</td><td colspan=\"2\">2nd percentile</td></tr><tr><td>Acc.Left</td><td>Rej. Rate</td><td>Acc.Left</td><td>Rej. Rate</td></tr><tr><td>MNIST</td><td>99.55%</td><td>99.95%</td><td>3.02%</td><td>99.97%</td><td>4.00%</td></tr><tr><td>FashionMNIST</td><td>94.58%</td><td>96.45%</td><td>4.63%</td><td>96.94%</td><td>6.60%</td></tr><tr><td>CIFAR10</td><td>92.53%</td><td>96.18%</td><td>8.90%</td><td>96.60%</td><td>10.86%</td></tr><tr><td>SVHN</td><td>95.74%</td><td>97.43%</td><td>3.99%</td><td>98.00%</td><td>6.36%</td></tr></table>",
|
| 710 |
+
"bbox": [
|
| 711 |
+
240,
|
| 712 |
+
570,
|
| 713 |
+
758,
|
| 714 |
+
662
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 5
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "Table 2: Classification performances of SDIMs using the proposed decision function with rejection. \nWe report the rejection rates of the test sets and the accuracies on the left test sets for each threshold. ",
|
| 721 |
+
"bbox": [
|
| 722 |
+
173,
|
| 723 |
+
679,
|
| 724 |
+
823,
|
| 725 |
+
708
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 5
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "text",
|
| 731 |
+
"text": "5.2 OUT-OF-DISTRIBUTION SAMPLES DETECTION ",
|
| 732 |
+
"text_level": 1,
|
| 733 |
+
"bbox": [
|
| 734 |
+
174,
|
| 735 |
+
744,
|
| 736 |
+
537,
|
| 737 |
+
758
|
| 738 |
+
],
|
| 739 |
+
"page_idx": 5
|
| 740 |
+
},
|
| 741 |
+
{
|
| 742 |
+
"type": "text",
|
| 743 |
+
"text": "Class-wise OoD detections are performed, and mean detection rates over all in-distribution classes are reported in Tab. 3. For each in-distribution class $c$ , we evaluate the log-likelihoods of the whole OoD dataset. Samples whose log-likelihoods are lower the class threshold $\\delta _ { c }$ will be detected as OoD samples. Same evaluations are applied on conditional Glows with 10th percentile thresholds, but the results are not good. The results are clear and confirm that SDIMs, generative classifiers on high-level representations, are more effective on classification tasks than fully conditional generative models on raw pixels. Note that fully generative models including VAE used in Li et al. (2018); Schott et al. (2018) fail on OoD detection. The stark difference between SDIM and full generative models (flows or VAEs) is that SDIM models samples’ likelihoods in the high-level representation spaces, while generative models evaluate directly on the raw pixels. See Supp. C for more results about the histograms of the class conditionals of in-out distributions. ",
|
| 744 |
+
"bbox": [
|
| 745 |
+
174,
|
| 746 |
+
770,
|
| 747 |
+
825,
|
| 748 |
+
924
|
| 749 |
+
],
|
| 750 |
+
"page_idx": 5
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"type": "table",
|
| 754 |
+
"img_path": "images/c585eaa14050dd27b90a775a140c6f3f68913c9dbd1612e86628a7c780d0e5f7.jpg",
|
| 755 |
+
"table_caption": [
|
| 756 |
+
"Table 3: Mean detection rates of SDIMs and Glows with different thresholds on OoD detection. "
|
| 757 |
+
],
|
| 758 |
+
"table_footnote": [],
|
| 759 |
+
"table_body": "<table><tr><td>Model</td><td>FashionMNIST(in)-MNIST(out)</td><td>CIFAR10(in)-SVHN(out)</td></tr><tr><td>SDIM(1st Per.)</td><td>99.36%</td><td>94.24 %</td></tr><tr><td>SDIM(2nd Per.)</td><td>99.64%</td><td>95.81%</td></tr><tr><td>Glow(10th Per.)</td><td>3.53%</td><td>0.02%</td></tr></table>",
|
| 760 |
+
"bbox": [
|
| 761 |
+
248,
|
| 762 |
+
101,
|
| 763 |
+
748,
|
| 764 |
+
167
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 6
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"text": "5.3 ROBUSTNESS AGAINST ADVERSARIAL EXAMPLES AND DETECTION",
|
| 771 |
+
"bbox": [
|
| 772 |
+
176,
|
| 773 |
+
223,
|
| 774 |
+
683,
|
| 775 |
+
237
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 6
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "text",
|
| 781 |
+
"text": "We comprehensively evaluate the robustness of SDIMs against various attacks: ",
|
| 782 |
+
"bbox": [
|
| 783 |
+
173,
|
| 784 |
+
248,
|
| 785 |
+
689,
|
| 786 |
+
263
|
| 787 |
+
],
|
| 788 |
+
"page_idx": 6
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "text",
|
| 792 |
+
"text": "gradient-based attacks: one-step gradient attack FGSM (Goodfellow et al., 2014), its iterative variant projected gradient descent (PGD, Kurakin et al. (2016); Madry et al. (2017)), CW- $L _ { 2 }$ attack (Carlini & Wagner, 2017), deepfool (Moosavi-Dezfooli et al., 2016). • score-based attacks: local search attack (Narodytska & Kasiviswanathan, 2016). • decision-based attack: boundary attack (Brendel et al., 2017). ",
|
| 793 |
+
"bbox": [
|
| 794 |
+
212,
|
| 795 |
+
273,
|
| 796 |
+
825,
|
| 797 |
+
353
|
| 798 |
+
],
|
| 799 |
+
"page_idx": 6
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "text",
|
| 803 |
+
"text": "Attacks Using Cross-Entropy We find that SDIMs are much more robust to gradient-based attacks using cross-entropy, e.g. FGSM and PGD, since the gradients numerically vanish as a side effect of the likelihood margin loss $\\mathcal { I } _ { \\mathrm { L M } }$ of SDIM. This phenomenon is similar to some defences that try to hinder generations of adversarial examples by masking the gradients on inputs. While full generative classifiers in Li et al. (2018) still suffer from these attacks. See Supp. D.1 for detailed results. ",
|
| 804 |
+
"bbox": [
|
| 805 |
+
174,
|
| 806 |
+
367,
|
| 807 |
+
825,
|
| 808 |
+
450
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 6
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "Conservative Adversarial Examples Adversarial attacks aim to find the minimal perturbations that sufficiently change the classification labels, i.e. flip other logits to be the largest one. We show case examples on MNIST generated by untargeted attacks and their logits in Tab. 4 (See Supp. D.2 for examples of CIFAR10). Though these attacks successfully flip the logits, they are designed to be conservative to avoid more distortions to the original images. As a result, the largest logits of adversarial examples are still much lower than the thresholds, so they can be detected by our rejection policy. We find that our rejection policy performs perfectly on MNIST, but fails to detect all adversarial examples on CIFAR10 except for Boundary attack (See Tab. 5). It seems to be a well-known observation that models trained on CIFAR10 are more vulnerable than one trained on MNIST. Gilmer et al. (2018) connects this observation to the generalization of models. They found that many test samples, though correctly classified, are close to the misclassfied samples, which implies the existence of adversarial examples. If a model has higher error rate, it would take smaller perturbations to move correctly classified samples to misclassified areas. ",
|
| 815 |
+
"bbox": [
|
| 816 |
+
173,
|
| 817 |
+
465,
|
| 818 |
+
825,
|
| 819 |
+
646
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 6
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "table",
|
| 825 |
+
"img_path": "images/2b31684597747c3525f50cfd2b9f46996d720a0ec92fab82aeb65f6063cf98f7.jpg",
|
| 826 |
+
"table_caption": [],
|
| 827 |
+
"table_footnote": [],
|
| 828 |
+
"table_body": "<table><tr><td rowspan=\"2\">Samples</td><td colspan=\"2\">6</td><td colspan=\"2\">回</td><td colspan=\"2\">6</td><td colspan=\"2\">6</td><td colspan=\"2\"></td></tr><tr><td colspan=\"2\">Original</td><td colspan=\"2\">DeepFool</td><td colspan=\"2\">CW-L2</td><td colspan=\"2\">Boundary</td><td colspan=\"2\">LocalSearch</td></tr><tr><td>1st Per. Original</td><td>477.6 482.5</td><td>465.2 -644.5</td><td>481.1 -440.8</td><td>477.7 -378.8</td><td>465.4 -1082.5</td><td>407.2 -409.8</td><td>474.5 -473.8</td><td>470.4 -850.0</td><td>472.3 -415.0</td><td>463.5 -699.2</td></tr><tr><td>DeepFool</td><td>243.4</td><td>-306.4</td><td>-172.4</td><td>-394.1</td><td>-538.3</td><td>-181.0</td><td>243.5</td><td>-944.2</td><td>-107.7</td><td>-524.1</td></tr><tr><td>CW-L2</td><td>175.9</td><td>-244.9</td><td>-486.4</td><td>-287.5</td><td>-500.8</td><td>-257.6</td><td>-409.5</td><td>-233.5</td><td>-174.3</td><td>176.5</td></tr><tr><td>Boundary</td><td>-58.5</td><td>11.5</td><td>205.7</td><td>-149.7</td><td>-415.1</td><td>-308.0</td><td>-356.3</td><td>205.8</td><td>-223.3</td><td>-250.3</td></tr><tr><td>LocalSearch</td><td>180.4</td><td>-225.3</td><td>-481.9</td><td>-281.3</td><td>-498.9</td><td>-223.2</td><td>-378.8</td><td>-257.9</td><td>-143.1</td><td>189.9</td></tr></table>",
|
| 829 |
+
"bbox": [
|
| 830 |
+
173,
|
| 831 |
+
661,
|
| 832 |
+
844,
|
| 833 |
+
814
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 6
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "text",
|
| 839 |
+
"text": "Table 4: Full logits of the adversarial examples generated with different attacks. The original image is the first sample of class 0 of MNIST test set. The first row gives the 1st percentile thresholds, and the second row shows the logits of the original image. The largest logits are marked in bold. ",
|
| 840 |
+
"bbox": [
|
| 841 |
+
173,
|
| 842 |
+
830,
|
| 843 |
+
826,
|
| 844 |
+
873
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 6
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "Adversarial examples with more confidence Based on the observations above, a natural question we should ask is: can we generate adversarial examples with not only successfully flipped logits, ",
|
| 851 |
+
"bbox": [
|
| 852 |
+
171,
|
| 853 |
+
895,
|
| 854 |
+
828,
|
| 855 |
+
924
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 6
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "table",
|
| 861 |
+
"img_path": "images/57bd6f7dd9fc9506e61f4012c8a3bed1c8e8f769eb6598e22c2dbd18581d683c.jpg",
|
| 862 |
+
"table_caption": [],
|
| 863 |
+
"table_footnote": [],
|
| 864 |
+
"table_body": "<table><tr><td rowspan=\"2\">Attacks</td><td colspan=\"2\">MNIST</td><td colspan=\"2\">CIFAR10</td></tr><tr><td>1st Per.</td><td>2nd Per.</td><td>1st Per.</td><td>2nd Per.</td></tr><tr><td>DeepFool</td><td>98.00%</td><td>98.60%</td><td>61.10%</td><td>64.30%</td></tr><tr><td>Boundary</td><td>100%</td><td>100%</td><td>100%</td><td>100%</td></tr><tr><td>LocalSearch</td><td>99.90%</td><td>100%</td><td>88.80%</td><td>93.10%</td></tr></table>",
|
| 865 |
+
"bbox": [
|
| 866 |
+
318,
|
| 867 |
+
101,
|
| 868 |
+
679,
|
| 869 |
+
180
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 7
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "text",
|
| 875 |
+
"text": "Table 5: Detection rates of our rejection policies. We perform untargeted adversarial evaluation on the first 1000 images of test sets. CW- $. L _ { 2 }$ is not involved here, but carefully investigated below. ",
|
| 876 |
+
"bbox": [
|
| 877 |
+
173,
|
| 878 |
+
196,
|
| 879 |
+
826,
|
| 880 |
+
224
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 7
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "text",
|
| 886 |
+
"text": "but also the largest logit larger than some threshold value? Unlike the conservativeness on paying more distortions of other attacks, CW attack allows us to control the gap between largest and second largest logits with some confidence value $\\kappa$ . ",
|
| 887 |
+
"bbox": [
|
| 888 |
+
174,
|
| 889 |
+
250,
|
| 890 |
+
826,
|
| 891 |
+
291
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 7
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "We perform targeted CW attacks with confidences $\\kappa = \\{ 0 , 5 0 0 , 1 0 0 0 \\}$ (Tab. 6). We find that increasing the confidences help increasing the largest logits of adversarial examples to some extent, but may lead to failures of generation. The sensitivity to confidence values is also different given different targets. The success rates of generating adversarial examples monotonically decreases with the confidences increasing (Tab. 7). Note that on discriminative counterparts, $\\mathrm { C W } { \\cdot } L _ { 2 }$ with the same settings easily achieves $1 0 0 \\%$ success rates. This means that explicitly forcing data representations to form clusters with maximum margins between them help increase average distances between normal samples and the nearest misclassified areas, thus increase the hardness of finding minimal adversarial perturbations . In this case, it takes a large enough adversarial perturbation to move a sample from its cluster to the other. Meanwhile, detection rates remain satisfactory on MNIST, but obviously decline on CIFAR10. For victim generative classifiers in (Li et al., 2018) under CW- $L _ { 2 }$ attack, the detection rates of adversarial examples using the proposed detection methods can be $> 9 5 \\%$ on MNIST, but fall $< 5 0 \\%$ on even CIFAR10-binary (their models don’t scale on CIFAR10, and CW- $L _ { 2 }$ with non-zero confidences are also not evaluated). ",
|
| 898 |
+
"bbox": [
|
| 899 |
+
173,
|
| 900 |
+
299,
|
| 901 |
+
825,
|
| 902 |
+
493
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 7
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "image",
|
| 908 |
+
"img_path": "images/3de047c92cb082ce505375e1c84b0bae71c627780c0550b81aa5d06f6b17785e.jpg",
|
| 909 |
+
"image_caption": [],
|
| 910 |
+
"image_footnote": [],
|
| 911 |
+
"bbox": [
|
| 912 |
+
194,
|
| 913 |
+
502,
|
| 914 |
+
803,
|
| 915 |
+
650
|
| 916 |
+
],
|
| 917 |
+
"page_idx": 7
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"type": "table",
|
| 921 |
+
"img_path": "images/e9d882b4d907daa5a2f5ef180dc7aed6ff9da5136fe9ddb8c0d3fe523b9afbbf.jpg",
|
| 922 |
+
"table_caption": [
|
| 923 |
+
"Table 6: Adversarial examples generated with targeted CW with different confidences. The original image is the fist sample of class 0. The first row gives the 1st percentile thresholds. Below the images are the logits corresponding to the given targets. “-” denotes failure of generation. "
|
| 924 |
+
],
|
| 925 |
+
"table_footnote": [],
|
| 926 |
+
"table_body": "<table><tr><td rowspan=\"2\">Attacks</td><td colspan=\"3\">MNIST</td><td colspan=\"3\">CIFAR10</td></tr><tr><td>1st Per.</td><td>2nd Per.</td><td>success rate</td><td>1st Per.</td><td>2nd Per.</td><td>success rate</td></tr><tr><td>CW-L2(K = 0)</td><td>100%</td><td>100%</td><td>84.65%</td><td>93.93%</td><td>94.80%</td><td>70.84%</td></tr><tr><td>CW-L2(K = 500)</td><td>99.78%</td><td>99.78%</td><td>76.61%</td><td>76.55%</td><td>84.07%</td><td>61.26%</td></tr><tr><td>CW-L2(κ = 1000)</td><td>90.24%</td><td>95.98%</td><td>45.56%</td><td>47.86%</td><td>75.13%</td><td>48.86%</td></tr></table>",
|
| 927 |
+
"bbox": [
|
| 928 |
+
207,
|
| 929 |
+
734,
|
| 930 |
+
789,
|
| 931 |
+
814
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 7
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"text": "Table 7: Targeted adversarial evaluations results of our rejection policies on the first 1000 test samples. We report the detection rates with different thresholds and success rates of generating adversarial examples. ",
|
| 938 |
+
"bbox": [
|
| 939 |
+
174,
|
| 940 |
+
830,
|
| 941 |
+
823,
|
| 942 |
+
872
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 7
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"text": "Discussions on off-manifold conjecture Gilmer et al. (2018) challenges whether the off-manifold conjecture holds in general. They experiment on synthetic dataset-two high-dimensional concentric spheres with theoretical analyses, showing that even for a trained classifier with close to zero test error, there may be a constant fraction of the data manifold misclassified, which indicates the existence of adversarial examples within the manifold. But there are still several concerns to be addressed: First, as also pointed out by the authors, the manifolds in natural datasets can be quite complex than that of simple synthesized dataset. Fetaya et al. (2019) draws similar conclusion from analyses on synthesized data with particular geometry. So the big concern is whether the conclusions in Gilmer et al. (2018); Fetaya et al. (2019) still hold for the manifolds in natural datasets. A practical obstacle to verify this conclusion is that works modeling the full generative processes are based on manifold assumption, but provide no explicit manifolds for analytical analyses like Gilmer et al. (2018); Fetaya et al. (2019). While SDIM enables explicit and customized manifolds on high-level data representations via probabilistic constraints, thus enables analytical analyses. In this paper, samples of different classes are trained to form isotropic Gaussians corresponding to their classes in representation space (other choices are possible). The relation between the adversarial robustness and the forms and dimensionalities of data manifolds is to be explored. Second, in their experiments, all models evaluated are discriminative classifiers. Considering the recent promising results of generative classifiers against adversarial examples, would using generative classifiers lead to different results? One thing making us feel optimistic is that even though the existence of adversarial examples is inevitable, Gilmer et al. (2018) suggest that adversarial robustness can be improved by minimizing the test errors, which is also supported by our experimental differences on MNIST and CIFAR10. ",
|
| 949 |
+
"bbox": [
|
| 950 |
+
174,
|
| 951 |
+
895,
|
| 952 |
+
823,
|
| 953 |
+
924
|
| 954 |
+
],
|
| 955 |
+
"page_idx": 7
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "text",
|
| 959 |
+
"text": "",
|
| 960 |
+
"bbox": [
|
| 961 |
+
173,
|
| 962 |
+
103,
|
| 963 |
+
825,
|
| 964 |
+
380
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 8
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "6 CONCLUSIONS ",
|
| 971 |
+
"text_level": 1,
|
| 972 |
+
"bbox": [
|
| 973 |
+
176,
|
| 974 |
+
401,
|
| 975 |
+
328,
|
| 976 |
+
417
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 8
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "text",
|
| 982 |
+
"text": "We introduce supervised probabilistic constraints to DIM. Giving up the full generative process, SDIMs are equivalent to generative classifiers on high-level data representations. Unlike full conditional generative models which achieve poor classification performance even on CIFAR10, SDIMs attain comparable performance as the discriminative counterparts on complex datasets. The training of SDIM is also computationally similar to discriminative classifiers, and does not require prohibitive computational resources. Our proposed rejection policy based on off-manifold conjecture, a built-in property of SDIM, can effectively reject illegal inputs including OoD samples and adversarial examples. We demonstrate that likelihoods modeled on high-level data representations, rather than raw pixel intensities, are more robust on downstream tasks without the requirement of generating real samples. ",
|
| 983 |
+
"bbox": [
|
| 984 |
+
174,
|
| 985 |
+
433,
|
| 986 |
+
825,
|
| 987 |
+
571
|
| 988 |
+
],
|
| 989 |
+
"page_idx": 8
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"type": "text",
|
| 993 |
+
"text": "REFERENCES ",
|
| 994 |
+
"text_level": 1,
|
| 995 |
+
"bbox": [
|
| 996 |
+
176,
|
| 997 |
+
103,
|
| 998 |
+
287,
|
| 999 |
+
117
|
| 1000 |
+
],
|
| 1001 |
+
"page_idx": 9
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "text",
|
| 1005 |
+
"text": "Mohamed Ishmael Belghazi, Aristide Baratin, Sai Rajeswar, Sherjil Ozair, Yoshua Bengio, Aaron Courville, and R Devon Hjelm. Mine: mutual information neural estimation. arXiv preprint arXiv:1801.04062, 2018. ",
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
176,
|
| 1008 |
+
126,
|
| 1009 |
+
823,
|
| 1010 |
+
167
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 9
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "text",
|
| 1016 |
+
"text": "Wieland Brendel, Jonas Rauber, and Matthias Bethge. Decision-based adversarial attacks: Reliable attacks against black-box machine learning models. arXiv preprint arXiv:1712.04248, 2017. ",
|
| 1017 |
+
"bbox": [
|
| 1018 |
+
173,
|
| 1019 |
+
178,
|
| 1020 |
+
823,
|
| 1021 |
+
207
|
| 1022 |
+
],
|
| 1023 |
+
"page_idx": 9
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "text",
|
| 1027 |
+
"text": "Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale gan training for high fidelity natural image synthesis. arXiv preprint arXiv:1809.11096, 2018. ",
|
| 1028 |
+
"bbox": [
|
| 1029 |
+
173,
|
| 1030 |
+
215,
|
| 1031 |
+
823,
|
| 1032 |
+
244
|
| 1033 |
+
],
|
| 1034 |
+
"page_idx": 9
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "text",
|
| 1038 |
+
"text": "Han Cai, Ligeng Zhu, and Song Han. Proxylessnas: Direct neural architecture search on target task and hardware. arXiv preprint arXiv:1812.00332, 2018. ",
|
| 1039 |
+
"bbox": [
|
| 1040 |
+
169,
|
| 1041 |
+
253,
|
| 1042 |
+
825,
|
| 1043 |
+
284
|
| 1044 |
+
],
|
| 1045 |
+
"page_idx": 9
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "text",
|
| 1049 |
+
"text": "Nicholas Carlini and David Wagner. Defensive distillation is not robust to adversarial examples. arXiv preprint arXiv:1607.04311, 2016. ",
|
| 1050 |
+
"bbox": [
|
| 1051 |
+
169,
|
| 1052 |
+
291,
|
| 1053 |
+
823,
|
| 1054 |
+
321
|
| 1055 |
+
],
|
| 1056 |
+
"page_idx": 9
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "text",
|
| 1060 |
+
"text": "Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In 2017 IEEE Symposium on Security and Privacy (SP), pp. 39–57. IEEE, 2017. ",
|
| 1061 |
+
"bbox": [
|
| 1062 |
+
169,
|
| 1063 |
+
330,
|
| 1064 |
+
823,
|
| 1065 |
+
359
|
| 1066 |
+
],
|
| 1067 |
+
"page_idx": 9
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "text",
|
| 1071 |
+
"text": "Hyunsun Choi and Eric Jang. Generative ensembles for robust anomaly detection. arXiv preprint arXiv:1810.01392, 2018. ",
|
| 1072 |
+
"bbox": [
|
| 1073 |
+
171,
|
| 1074 |
+
367,
|
| 1075 |
+
823,
|
| 1076 |
+
397
|
| 1077 |
+
],
|
| 1078 |
+
"page_idx": 9
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "text",
|
| 1082 |
+
"text": "Monroe D Donsker and SR Srinivasa Varadhan. Asymptotic evaluation of certain markov process expectations for large time. iv. Communications on Pure and Applied Mathematics, 36(2):183– 212, 1983. ",
|
| 1083 |
+
"bbox": [
|
| 1084 |
+
173,
|
| 1085 |
+
406,
|
| 1086 |
+
823,
|
| 1087 |
+
449
|
| 1088 |
+
],
|
| 1089 |
+
"page_idx": 9
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "text",
|
| 1093 |
+
"text": "Ethan Fetaya, Jacobsen, and Richard Zemel. Conditional generative models are not robust. arXiv preprint arXiv:1906.01171, 2019. ",
|
| 1094 |
+
"bbox": [
|
| 1095 |
+
174,
|
| 1096 |
+
458,
|
| 1097 |
+
821,
|
| 1098 |
+
488
|
| 1099 |
+
],
|
| 1100 |
+
"page_idx": 9
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "text",
|
| 1104 |
+
"text": "Yonatan Geifman and Ran El-Yaniv. Selective classification for deep neural networks. In Advances in neural information processing systems, pp. 4878–4887, 2017. ",
|
| 1105 |
+
"bbox": [
|
| 1106 |
+
173,
|
| 1107 |
+
496,
|
| 1108 |
+
821,
|
| 1109 |
+
526
|
| 1110 |
+
],
|
| 1111 |
+
"page_idx": 9
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "text",
|
| 1115 |
+
"text": "Justin Gilmer, Luke Metz, Fartash Faghri, Samuel S Schoenholz, Maithra Raghu, Martin Wattenberg, and Ian Goodfellow. Adversarial spheres. arXiv preprint arXiv:1801.02774, 2018. ",
|
| 1116 |
+
"bbox": [
|
| 1117 |
+
173,
|
| 1118 |
+
534,
|
| 1119 |
+
823,
|
| 1120 |
+
564
|
| 1121 |
+
],
|
| 1122 |
+
"page_idx": 9
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "text",
|
| 1126 |
+
"text": "Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014. ",
|
| 1127 |
+
"bbox": [
|
| 1128 |
+
173,
|
| 1129 |
+
571,
|
| 1130 |
+
823,
|
| 1131 |
+
602
|
| 1132 |
+
],
|
| 1133 |
+
"page_idx": 9
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"type": "text",
|
| 1137 |
+
"text": "Kathrin Grosse, Praveen Manoharan, Nicolas Papernot, Michael Backes, and Patrick McDaniel. On the (statistical) detection of adversarial examples. arXiv preprint arXiv:1702.06280, 2017. ",
|
| 1138 |
+
"bbox": [
|
| 1139 |
+
173,
|
| 1140 |
+
611,
|
| 1141 |
+
823,
|
| 1142 |
+
640
|
| 1143 |
+
],
|
| 1144 |
+
"page_idx": 9
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"type": "text",
|
| 1148 |
+
"text": "Shixiang Gu and Luca Rigazio. Towards deep neural network architectures robust to adversarial examples. arXiv preprint arXiv:1412.5068, 2014. ",
|
| 1149 |
+
"bbox": [
|
| 1150 |
+
173,
|
| 1151 |
+
648,
|
| 1152 |
+
823,
|
| 1153 |
+
679
|
| 1154 |
+
],
|
| 1155 |
+
"page_idx": 9
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "text",
|
| 1159 |
+
"text": "Michael Gutmann and Aapo Hyvarinen. Noise-contrastive estimation: A new estimation principle ¨ for unnormalized statistical models. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, pp. 297–304, 2010. ",
|
| 1160 |
+
"bbox": [
|
| 1161 |
+
173,
|
| 1162 |
+
686,
|
| 1163 |
+
825,
|
| 1164 |
+
731
|
| 1165 |
+
],
|
| 1166 |
+
"page_idx": 9
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"text": "Dongyoon Han, Jiwhan Kim, and Junmo Kim. Deep pyramidal residual networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 5927–5935, 2017. ",
|
| 1171 |
+
"bbox": [
|
| 1172 |
+
171,
|
| 1173 |
+
738,
|
| 1174 |
+
823,
|
| 1175 |
+
768
|
| 1176 |
+
],
|
| 1177 |
+
"page_idx": 9
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "text",
|
| 1181 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016. ",
|
| 1182 |
+
"bbox": [
|
| 1183 |
+
173,
|
| 1184 |
+
776,
|
| 1185 |
+
823,
|
| 1186 |
+
820
|
| 1187 |
+
],
|
| 1188 |
+
"page_idx": 9
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "text",
|
| 1192 |
+
"text": "R Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Phil Bachman, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. arXiv preprint arXiv:1808.06670, 2018. ",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
176,
|
| 1195 |
+
829,
|
| 1196 |
+
823,
|
| 1197 |
+
872
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 9
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "text",
|
| 1203 |
+
"text": "Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 4700–4708, 2017. ",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
178,
|
| 1206 |
+
881,
|
| 1207 |
+
825,
|
| 1208 |
+
924
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 9
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1215 |
+
"bbox": [
|
| 1216 |
+
171,
|
| 1217 |
+
103,
|
| 1218 |
+
825,
|
| 1219 |
+
132
|
| 1220 |
+
],
|
| 1221 |
+
"page_idx": 10
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "text",
|
| 1225 |
+
"text": "Diederik P Kingma and Max Welling. Auto-encoding variational Bayes. In International Conference on Learning Representations, 2013. ",
|
| 1226 |
+
"bbox": [
|
| 1227 |
+
173,
|
| 1228 |
+
141,
|
| 1229 |
+
823,
|
| 1230 |
+
171
|
| 1231 |
+
],
|
| 1232 |
+
"page_idx": 10
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "text",
|
| 1236 |
+
"text": "Durk P Kingma and Prafulla Dhariwal. Glow: Generative flow with invertible 1x1 convolutions. In Advances in Neural Information Processing Systems, pp. 10215–10224, 2018. ",
|
| 1237 |
+
"bbox": [
|
| 1238 |
+
171,
|
| 1239 |
+
180,
|
| 1240 |
+
823,
|
| 1241 |
+
210
|
| 1242 |
+
],
|
| 1243 |
+
"page_idx": 10
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "text",
|
| 1247 |
+
"text": "Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial examples in the physical world. arXiv preprint arXiv:1607.02533, 2016. ",
|
| 1248 |
+
"bbox": [
|
| 1249 |
+
173,
|
| 1250 |
+
218,
|
| 1251 |
+
821,
|
| 1252 |
+
248
|
| 1253 |
+
],
|
| 1254 |
+
"page_idx": 10
|
| 1255 |
+
},
|
| 1256 |
+
{
|
| 1257 |
+
"type": "text",
|
| 1258 |
+
"text": "Yingzhen Li, John Bradshaw, and Yash Sharma. Are generative classifiers more robust to adversarial attacks? arXiv preprint arXiv:1802.06552, 2018. ",
|
| 1259 |
+
"bbox": [
|
| 1260 |
+
174,
|
| 1261 |
+
257,
|
| 1262 |
+
821,
|
| 1263 |
+
287
|
| 1264 |
+
],
|
| 1265 |
+
"page_idx": 10
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"type": "text",
|
| 1269 |
+
"text": "Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv preprint arXiv:1706.06083, 2017. ",
|
| 1270 |
+
"bbox": [
|
| 1271 |
+
173,
|
| 1272 |
+
296,
|
| 1273 |
+
826,
|
| 1274 |
+
338
|
| 1275 |
+
],
|
| 1276 |
+
"page_idx": 10
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"type": "text",
|
| 1280 |
+
"text": "Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, Ian Goodfellow, and Brendan Frey. Adversarial autoencoders. arXiv preprint arXiv:1511.05644, 2015. ",
|
| 1281 |
+
"bbox": [
|
| 1282 |
+
173,
|
| 1283 |
+
348,
|
| 1284 |
+
823,
|
| 1285 |
+
378
|
| 1286 |
+
],
|
| 1287 |
+
"page_idx": 10
|
| 1288 |
+
},
|
| 1289 |
+
{
|
| 1290 |
+
"type": "text",
|
| 1291 |
+
"text": "Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. Deepfool: a simple and accurate method to fool deep neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2574–2582, 2016. ",
|
| 1292 |
+
"bbox": [
|
| 1293 |
+
176,
|
| 1294 |
+
387,
|
| 1295 |
+
825,
|
| 1296 |
+
431
|
| 1297 |
+
],
|
| 1298 |
+
"page_idx": 10
|
| 1299 |
+
},
|
| 1300 |
+
{
|
| 1301 |
+
"type": "text",
|
| 1302 |
+
"text": "Eric Nalisnick, Akihiro Matsukawa, Yee Whye Teh, Dilan Gorur, and Balaji Lakshminarayanan. Do deep generative models know what they don’t know? arXiv preprint arXiv:1810.09136, 2018. ",
|
| 1303 |
+
"bbox": [
|
| 1304 |
+
171,
|
| 1305 |
+
439,
|
| 1306 |
+
823,
|
| 1307 |
+
469
|
| 1308 |
+
],
|
| 1309 |
+
"page_idx": 10
|
| 1310 |
+
},
|
| 1311 |
+
{
|
| 1312 |
+
"type": "text",
|
| 1313 |
+
"text": "Eric Nalisnick, Akihiro Matsukawa, Yee Whye Teh, Dilan Gorur, and Balaji Lakshminarayanan. Hybrid models with deep and invertible features. arXiv preprint arXiv:1902.02767, 2019. ",
|
| 1314 |
+
"bbox": [
|
| 1315 |
+
173,
|
| 1316 |
+
478,
|
| 1317 |
+
821,
|
| 1318 |
+
508
|
| 1319 |
+
],
|
| 1320 |
+
"page_idx": 10
|
| 1321 |
+
},
|
| 1322 |
+
{
|
| 1323 |
+
"type": "text",
|
| 1324 |
+
"text": "Nina Narodytska and Shiva Prasad Kasiviswanathan. Simple black-box adversarial perturbations for deep networks. arXiv preprint arXiv:1612.06299, 2016. ",
|
| 1325 |
+
"bbox": [
|
| 1326 |
+
171,
|
| 1327 |
+
516,
|
| 1328 |
+
823,
|
| 1329 |
+
546
|
| 1330 |
+
],
|
| 1331 |
+
"page_idx": 10
|
| 1332 |
+
},
|
| 1333 |
+
{
|
| 1334 |
+
"type": "text",
|
| 1335 |
+
"text": "Andrew $\\mathrm { ~ Y ~ N ~ g ~ }$ and Michael I Jordan. On discriminative vs. generative classifiers: A comparison of logistic regression and naive bayes. In Advances in neural information processing systems, pp. 841–848, 2002. ",
|
| 1336 |
+
"bbox": [
|
| 1337 |
+
174,
|
| 1338 |
+
555,
|
| 1339 |
+
823,
|
| 1340 |
+
598
|
| 1341 |
+
],
|
| 1342 |
+
"page_idx": 10
|
| 1343 |
+
},
|
| 1344 |
+
{
|
| 1345 |
+
"type": "text",
|
| 1346 |
+
"text": "XuanLong Nguyen, Martin J Wainwright, and Michael I Jordan. Estimating divergence functionals and the likelihood ratio by convex risk minimization. IEEE Transactions on Information Theory, 56(11):5847–5861, 2010. ",
|
| 1347 |
+
"bbox": [
|
| 1348 |
+
173,
|
| 1349 |
+
608,
|
| 1350 |
+
825,
|
| 1351 |
+
651
|
| 1352 |
+
],
|
| 1353 |
+
"page_idx": 10
|
| 1354 |
+
},
|
| 1355 |
+
{
|
| 1356 |
+
"type": "text",
|
| 1357 |
+
"text": "Sebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-gan: Training generative neural samplers using variational divergence minimization. In Advances in neural information processing systems, pp. 271–279, 2016. ",
|
| 1358 |
+
"bbox": [
|
| 1359 |
+
173,
|
| 1360 |
+
660,
|
| 1361 |
+
826,
|
| 1362 |
+
704
|
| 1363 |
+
],
|
| 1364 |
+
"page_idx": 10
|
| 1365 |
+
},
|
| 1366 |
+
{
|
| 1367 |
+
"type": "text",
|
| 1368 |
+
"text": "Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. ",
|
| 1369 |
+
"bbox": [
|
| 1370 |
+
173,
|
| 1371 |
+
712,
|
| 1372 |
+
823,
|
| 1373 |
+
742
|
| 1374 |
+
],
|
| 1375 |
+
"page_idx": 10
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"type": "text",
|
| 1379 |
+
"text": "Danilo Jimenez Rezende, Shakir Mohamed, and Daan Wierstra. Stochastic backpropagation and approximate inference in deep generative models. In International Conference on Machine Learning, pp. 1278–1286, 2014. ",
|
| 1380 |
+
"bbox": [
|
| 1381 |
+
176,
|
| 1382 |
+
751,
|
| 1383 |
+
823,
|
| 1384 |
+
795
|
| 1385 |
+
],
|
| 1386 |
+
"page_idx": 10
|
| 1387 |
+
},
|
| 1388 |
+
{
|
| 1389 |
+
"type": "text",
|
| 1390 |
+
"text": "Tim Salimans, Andrej Karpathy, Xi Chen, and Diederik P Kingma. Pixelcnn $^ { + + }$ : Improving the pixelcnn with discretized logistic mixture likelihood and other modifications. arXiv preprint arXiv:1701.05517, 2017. ",
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
173,
|
| 1393 |
+
804,
|
| 1394 |
+
823,
|
| 1395 |
+
847
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 10
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "text",
|
| 1401 |
+
"text": "Pouya Samangouei, Maya Kabkab, and Rama Chellappa. Defense-gan: Protecting classifiers against adversarial attacks using generative models. arXiv preprint arXiv:1805.06605, 2018. ",
|
| 1402 |
+
"bbox": [
|
| 1403 |
+
173,
|
| 1404 |
+
856,
|
| 1405 |
+
823,
|
| 1406 |
+
886
|
| 1407 |
+
],
|
| 1408 |
+
"page_idx": 10
|
| 1409 |
+
},
|
| 1410 |
+
{
|
| 1411 |
+
"type": "text",
|
| 1412 |
+
"text": "Lukas Schott, Jonas Rauber, Matthias Bethge, and Wieland Brendel. Towards the first adversarially robust neural network model on mnist. arXiv preprint arXiv:1805.09190, 2018. ",
|
| 1413 |
+
"bbox": [
|
| 1414 |
+
174,
|
| 1415 |
+
895,
|
| 1416 |
+
820,
|
| 1417 |
+
924
|
| 1418 |
+
],
|
| 1419 |
+
"page_idx": 10
|
| 1420 |
+
},
|
| 1421 |
+
{
|
| 1422 |
+
"type": "text",
|
| 1423 |
+
"text": "Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. ",
|
| 1424 |
+
"bbox": [
|
| 1425 |
+
169,
|
| 1426 |
+
103,
|
| 1427 |
+
825,
|
| 1428 |
+
132
|
| 1429 |
+
],
|
| 1430 |
+
"page_idx": 11
|
| 1431 |
+
},
|
| 1432 |
+
{
|
| 1433 |
+
"type": "text",
|
| 1434 |
+
"text": "Yang Song, Taesup Kim, Sebastian Nowozin, Stefano Ermon, and Nate Kushman. Pixeldefend: Leveraging generative models to understand and defend against adversarial examples. arXiv preprint arXiv:1710.10766, 2017. ",
|
| 1435 |
+
"bbox": [
|
| 1436 |
+
176,
|
| 1437 |
+
140,
|
| 1438 |
+
823,
|
| 1439 |
+
183
|
| 1440 |
+
],
|
| 1441 |
+
"page_idx": 11
|
| 1442 |
+
},
|
| 1443 |
+
{
|
| 1444 |
+
"type": "text",
|
| 1445 |
+
"text": "Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013. ",
|
| 1446 |
+
"bbox": [
|
| 1447 |
+
171,
|
| 1448 |
+
193,
|
| 1449 |
+
823,
|
| 1450 |
+
222
|
| 1451 |
+
],
|
| 1452 |
+
"page_idx": 11
|
| 1453 |
+
},
|
| 1454 |
+
{
|
| 1455 |
+
"type": "text",
|
| 1456 |
+
"text": "Florian Tramer, Alexey Kurakin, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick Mc-\\` Daniel. Ensemble adversarial training: Attacks and defenses. arXiv preprint arXiv:1705.07204, 2017. ",
|
| 1457 |
+
"bbox": [
|
| 1458 |
+
176,
|
| 1459 |
+
231,
|
| 1460 |
+
823,
|
| 1461 |
+
272
|
| 1462 |
+
],
|
| 1463 |
+
"page_idx": 11
|
| 1464 |
+
},
|
| 1465 |
+
{
|
| 1466 |
+
"type": "text",
|
| 1467 |
+
"text": "A CLASSIFICATION WITH REJECTION ",
|
| 1468 |
+
"text_level": 1,
|
| 1469 |
+
"bbox": [
|
| 1470 |
+
176,
|
| 1471 |
+
102,
|
| 1472 |
+
501,
|
| 1473 |
+
118
|
| 1474 |
+
],
|
| 1475 |
+
"page_idx": 12
|
| 1476 |
+
},
|
| 1477 |
+
{
|
| 1478 |
+
"type": "text",
|
| 1479 |
+
"text": "A very related work to our paper is (Nalisnick et al., 2019), which propose a hybrid model modeling distribution of features $p$ (features) and predictive distribution $p$ (targets|features) at the same time. Normalizing flow is used to learn invertible features as inputs of discriminative model, i.e. predictive distribution, and provides evaluation of features $\\pmb { x } ^ { * }$ . Inputs out of the training data distribution are rejected by setting a threshold for $\\ b { p } ( \\ b { x } ^ { * } )$ . For SDIM, illagel inputs are rejected by setting thresholds for each of the class conditional. The class conditionals are modeled on the data representations from encoder regularized by MI loss $\\mathcal { I } _ { \\mathrm { M I } }$ . The hybrid model in Nalisnick et al. (2019) can successfully distinguish in-distribution dataset and OoD dataset. While SDIM reject illegal inputs including OoD dataset samples and adversarial examples with more fine-grained class conditionals. ",
|
| 1480 |
+
"bbox": [
|
| 1481 |
+
174,
|
| 1482 |
+
133,
|
| 1483 |
+
825,
|
| 1484 |
+
258
|
| 1485 |
+
],
|
| 1486 |
+
"page_idx": 12
|
| 1487 |
+
},
|
| 1488 |
+
{
|
| 1489 |
+
"type": "text",
|
| 1490 |
+
"text": "Geifman & El-Yaniv (2017) propose a selection method to perform selective classification with desired risk level given a trained model, but they focus on discriminative models. ",
|
| 1491 |
+
"bbox": [
|
| 1492 |
+
173,
|
| 1493 |
+
266,
|
| 1494 |
+
823,
|
| 1495 |
+
295
|
| 1496 |
+
],
|
| 1497 |
+
"page_idx": 12
|
| 1498 |
+
},
|
| 1499 |
+
{
|
| 1500 |
+
"type": "text",
|
| 1501 |
+
"text": "B EVALUATION DETAILS ",
|
| 1502 |
+
"text_level": 1,
|
| 1503 |
+
"bbox": [
|
| 1504 |
+
176,
|
| 1505 |
+
314,
|
| 1506 |
+
397,
|
| 1507 |
+
330
|
| 1508 |
+
],
|
| 1509 |
+
"page_idx": 12
|
| 1510 |
+
},
|
| 1511 |
+
{
|
| 1512 |
+
"type": "text",
|
| 1513 |
+
"text": "B.1 DATA PROCESSING ",
|
| 1514 |
+
"text_level": 1,
|
| 1515 |
+
"bbox": [
|
| 1516 |
+
176,
|
| 1517 |
+
347,
|
| 1518 |
+
349,
|
| 1519 |
+
361
|
| 1520 |
+
],
|
| 1521 |
+
"page_idx": 12
|
| 1522 |
+
},
|
| 1523 |
+
{
|
| 1524 |
+
"type": "text",
|
| 1525 |
+
"text": "• MNIST, FashionMNIST: All images are resized to $3 2 \\times 3 2$ from $2 8 \\times 2 8$ . We scale the images pixels to $[ 0 , 1 ]$ , and normalization is not used for fair comparisons with the baselines in (Li et al., 2018). CIFAR10, SVHN: We follow the simple data augmentation in (He et al., 2016) for training: 4 pixels are padded on each side, and a $3 2 \\times 3 2$ crop is randomly sampled from the padded image or its horizontal flip. For testing, we only evaluate the single view of the original $3 2 \\times 3 2$ image. All image pixels are also scaled to $[ 0 , 1 ]$ . ",
|
| 1526 |
+
"bbox": [
|
| 1527 |
+
215,
|
| 1528 |
+
373,
|
| 1529 |
+
825,
|
| 1530 |
+
478
|
| 1531 |
+
],
|
| 1532 |
+
"page_idx": 12
|
| 1533 |
+
},
|
| 1534 |
+
{
|
| 1535 |
+
"type": "text",
|
| 1536 |
+
"text": "No other data augmentations or processings are used except for the explicitly listed above. ",
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
173,
|
| 1539 |
+
491,
|
| 1540 |
+
764,
|
| 1541 |
+
505
|
| 1542 |
+
],
|
| 1543 |
+
"page_idx": 12
|
| 1544 |
+
},
|
| 1545 |
+
{
|
| 1546 |
+
"type": "text",
|
| 1547 |
+
"text": "B.2 MODELS AND TRAINING SETTINGS ",
|
| 1548 |
+
"text_level": 1,
|
| 1549 |
+
"bbox": [
|
| 1550 |
+
178,
|
| 1551 |
+
522,
|
| 1552 |
+
462,
|
| 1553 |
+
536
|
| 1554 |
+
],
|
| 1555 |
+
"page_idx": 12
|
| 1556 |
+
},
|
| 1557 |
+
{
|
| 1558 |
+
"type": "text",
|
| 1559 |
+
"text": "MI computation The local MI $\\mathcal { I } _ { \\mathrm { M I } }$ is computed between the $4 \\times 4$ feature maps and the encoder outputs. We use lower-bound of Jensen-Shannon divergence to estimate the MI $\\mathcal { I } _ { J S D } ( \\boldsymbol { X } , \\boldsymbol { Y } )$ , and leave other lower-bounds unexplored. In practice, we find using other bounds would take more computational resources. However, we think better results can be expected if using these bounds according to the experimental results reported in Hjelm et al. (2018). ",
|
| 1560 |
+
"bbox": [
|
| 1561 |
+
174,
|
| 1562 |
+
547,
|
| 1563 |
+
825,
|
| 1564 |
+
618
|
| 1565 |
+
],
|
| 1566 |
+
"page_idx": 12
|
| 1567 |
+
},
|
| 1568 |
+
{
|
| 1569 |
+
"type": "text",
|
| 1570 |
+
"text": "MI evaluation network Following Hjelm et al. (2018), we parameterize the MI evaluation network $T _ { \\omega }$ as a $1 \\times 1$ convolutional neural network with architecture: ",
|
| 1571 |
+
"bbox": [
|
| 1572 |
+
174,
|
| 1573 |
+
633,
|
| 1574 |
+
821,
|
| 1575 |
+
662
|
| 1576 |
+
],
|
| 1577 |
+
"page_idx": 12
|
| 1578 |
+
},
|
| 1579 |
+
{
|
| 1580 |
+
"type": "table",
|
| 1581 |
+
"img_path": "images/0425e1b7996e163d9752cb006140172406ae3df3168ee66b545e23f0ee80b28a.jpg",
|
| 1582 |
+
"table_caption": [
|
| 1583 |
+
"Table 8: Local MI evaluation concat-and-convolve network architecture. "
|
| 1584 |
+
],
|
| 1585 |
+
"table_footnote": [],
|
| 1586 |
+
"table_body": "<table><tr><td>Operation</td><td>Size</td><td>Activation</td></tr><tr><td>Input -→1 × 1 conv</td><td>256</td><td>ReLU</td></tr><tr><td>1 ×1conv</td><td>256</td><td>ReLU</td></tr><tr><td>1×1</td><td>1</td><td></td></tr></table>",
|
| 1587 |
+
"bbox": [
|
| 1588 |
+
354,
|
| 1589 |
+
675,
|
| 1590 |
+
643,
|
| 1591 |
+
748
|
| 1592 |
+
],
|
| 1593 |
+
"page_idx": 12
|
| 1594 |
+
},
|
| 1595 |
+
{
|
| 1596 |
+
"type": "text",
|
| 1597 |
+
"text": "The input of $T _ { \\omega }$ is positive or negative pair of local feature map $L _ { \\phi } ( \\pmb { x } )$ and encoder output $E _ { \\phi } ( \\pmb { x } )$ . The positive pairs, samples from the joint distribution, are constructed by concat the encoder output $E _ { \\phi } ( \\pmb { x } )$ and the corresponding feature map $L _ { \\phi } ( \\pmb { x } )$ of the given batch. The negative pairs, samples from product of marginals, can be constructed by $E _ { \\phi } ( \\pmb { x } )$ and shuffled $L _ { \\phi } ( { \\pmb x } )$ along the batch-axis. ",
|
| 1598 |
+
"bbox": [
|
| 1599 |
+
174,
|
| 1600 |
+
795,
|
| 1601 |
+
825,
|
| 1602 |
+
852
|
| 1603 |
+
],
|
| 1604 |
+
"page_idx": 12
|
| 1605 |
+
},
|
| 1606 |
+
{
|
| 1607 |
+
"type": "text",
|
| 1608 |
+
"text": "Optimization We set $\\alpha = \\beta = \\gamma = 1$ in our experiments. The constant $K$ in the likelihood margin loss $\\mathcal { I } _ { \\mathrm { L M } }$ is 10. All models are trained 500 epochs, and we always save the checkpoints reporting the minimum ongoing training losses for evaluation. We use optimizer Adam (Kingma & Ba, 2014) with default learning rate 0.001. ",
|
| 1609 |
+
"bbox": [
|
| 1610 |
+
174,
|
| 1611 |
+
867,
|
| 1612 |
+
823,
|
| 1613 |
+
924
|
| 1614 |
+
],
|
| 1615 |
+
"page_idx": 12
|
| 1616 |
+
},
|
| 1617 |
+
{
|
| 1618 |
+
"type": "image",
|
| 1619 |
+
"img_path": "images/bb04944933ee3f018ea1c8af1820eeb37c8beb8db9fcb24e8ff9bb94a6ddc00b.jpg",
|
| 1620 |
+
"image_caption": [
|
| 1621 |
+
"Figure 2: Class-wise distributions of the class conditionals of both in-distribution samples and outof-distribution samples. The in-out distribution pair is FashionMNIST-MNIST. "
|
| 1622 |
+
],
|
| 1623 |
+
"image_footnote": [],
|
| 1624 |
+
"bbox": [
|
| 1625 |
+
199,
|
| 1626 |
+
137,
|
| 1627 |
+
799,
|
| 1628 |
+
303
|
| 1629 |
+
],
|
| 1630 |
+
"page_idx": 13
|
| 1631 |
+
},
|
| 1632 |
+
{
|
| 1633 |
+
"type": "image",
|
| 1634 |
+
"img_path": "images/5a5169fced8d34a83f04758c5dc342d75e8518d6f0a2cf3bb720c909c1ba68ca.jpg",
|
| 1635 |
+
"image_caption": [
|
| 1636 |
+
"Figure 3: Class-wise distributions of the class conditionals of both in-distribution samples and outof-distribution samples. The in-out distribution pair is CIFAR10-SVHN. "
|
| 1637 |
+
],
|
| 1638 |
+
"image_footnote": [],
|
| 1639 |
+
"bbox": [
|
| 1640 |
+
197,
|
| 1641 |
+
364,
|
| 1642 |
+
797,
|
| 1643 |
+
530
|
| 1644 |
+
],
|
| 1645 |
+
"page_idx": 13
|
| 1646 |
+
},
|
| 1647 |
+
{
|
| 1648 |
+
"type": "text",
|
| 1649 |
+
"text": "D ADDITIONAL RESULTS OF ADVERSARIAL EVALUATIONS ",
|
| 1650 |
+
"text_level": 1,
|
| 1651 |
+
"bbox": [
|
| 1652 |
+
176,
|
| 1653 |
+
604,
|
| 1654 |
+
676,
|
| 1655 |
+
619
|
| 1656 |
+
],
|
| 1657 |
+
"page_idx": 13
|
| 1658 |
+
},
|
| 1659 |
+
{
|
| 1660 |
+
"type": "text",
|
| 1661 |
+
"text": "D.1 ROBUSTNESS AGAINST ATTACKS USING CROSS-ENTROPY ",
|
| 1662 |
+
"bbox": [
|
| 1663 |
+
174,
|
| 1664 |
+
636,
|
| 1665 |
+
612,
|
| 1666 |
+
650
|
| 1667 |
+
],
|
| 1668 |
+
"page_idx": 13
|
| 1669 |
+
},
|
| 1670 |
+
{
|
| 1671 |
+
"type": "text",
|
| 1672 |
+
"text": "We make comparisons between SDIM and GBZ (Li et al., 2018), which consistently performs best in Deep Bayes. ",
|
| 1673 |
+
"bbox": [
|
| 1674 |
+
174,
|
| 1675 |
+
662,
|
| 1676 |
+
823,
|
| 1677 |
+
690
|
| 1678 |
+
],
|
| 1679 |
+
"page_idx": 13
|
| 1680 |
+
},
|
| 1681 |
+
{
|
| 1682 |
+
"type": "text",
|
| 1683 |
+
"text": "FGSM and PGD- $L _ { \\infty }$ The results in Fig 4 and Fig 5 show that SDIM performs consistently better than the baseline. We find that increasing the distortion factor $\\epsilon$ of FGSM has no influences of SDIM’s accuracy, and the adversarial examples keep the same. Recall that the class conditionals are optimized to keep a considerable margin. Before evaluating the cross entropy loss, softmax is applied on the class conditionals $\\log p ( { \\pmb x } | c )$ to generate a even sharper distribution. So for the samples that are correctly classified, their losses are numerically zeros, and the gradient on inputs $\\nabla J _ { x } ( { \\pmb x } , y )$ are also numerically zeros. The PGD- $L _ { \\infty }$ we use here is the randomized version (Madry et al., $2 0 1 7 ) ^ { 2 }$ , which adds a small random perturbation before the iterative loop. The randomness is originally introduced to generate different adversarial examples for adversarial training, but here it breaks the zero loss so that the gradient on inputs $\\nabla J _ { x } ( { \\pmb x } , { \\bar { y } } )$ will not be zeros in the loop. FGSM can also be randomized (Tramer et al., 2017), which can be seen as a one-step variant of randomized \\` PGD. ",
|
| 1684 |
+
"bbox": [
|
| 1685 |
+
173,
|
| 1686 |
+
707,
|
| 1687 |
+
825,
|
| 1688 |
+
872
|
| 1689 |
+
],
|
| 1690 |
+
"page_idx": 13
|
| 1691 |
+
},
|
| 1692 |
+
{
|
| 1693 |
+
"type": "text",
|
| 1694 |
+
"text": "This phenomena is similar to what some defenses using gradient obfuscation want to achieve. Defensive distillation (Carlini & Wagner, 2016) masks the gradients of cross-entropy by increasing the temperature of softmax. But for CW attacks, which do not use cross-entropy, and operate on logits directly, this could be ineffective. ",
|
| 1695 |
+
"bbox": [
|
| 1696 |
+
174,
|
| 1697 |
+
103,
|
| 1698 |
+
825,
|
| 1699 |
+
159
|
| 1700 |
+
],
|
| 1701 |
+
"page_idx": 14
|
| 1702 |
+
},
|
| 1703 |
+
{
|
| 1704 |
+
"type": "image",
|
| 1705 |
+
"img_path": "images/ee0e3001d7635d2990911b057f4190f0e443ff2925667f782d7c2638e661ac57.jpg",
|
| 1706 |
+
"image_caption": [
|
| 1707 |
+
"Figure 4: The adversarial classification accuracies of SDIM and GBZ on MNIST under FGSM- $. L _ { \\infty }$ and PGD- $L _ { \\infty }$ attacks. On the right are the generated adversarial examples with $\\epsilon$ from 0 to 0.5. "
|
| 1708 |
+
],
|
| 1709 |
+
"image_footnote": [],
|
| 1710 |
+
"bbox": [
|
| 1711 |
+
183,
|
| 1712 |
+
172,
|
| 1713 |
+
820,
|
| 1714 |
+
315
|
| 1715 |
+
],
|
| 1716 |
+
"page_idx": 14
|
| 1717 |
+
},
|
| 1718 |
+
{
|
| 1719 |
+
"type": "image",
|
| 1720 |
+
"img_path": "images/eb67a848cdd3382d1f6b17fdaca62a32856ae217d485d1aebae8b59fa7d91735.jpg",
|
| 1721 |
+
"image_caption": [
|
| 1722 |
+
"Figure 5: The adversarial classification accuracies of SDIM and GBZ on CIFAR10 under FGSM$L _ { \\infty }$ and PGD- $L _ { \\infty }$ attacks. On the right are the generated adversarial examples with $\\epsilon$ from 0 to 0.5. "
|
| 1723 |
+
],
|
| 1724 |
+
"image_footnote": [],
|
| 1725 |
+
"bbox": [
|
| 1726 |
+
178,
|
| 1727 |
+
387,
|
| 1728 |
+
823,
|
| 1729 |
+
529
|
| 1730 |
+
],
|
| 1731 |
+
"page_idx": 14
|
| 1732 |
+
},
|
| 1733 |
+
{
|
| 1734 |
+
"type": "text",
|
| 1735 |
+
"text": "D.2 ADVERSARIAL EXAMPLES OF CIFAR10 ",
|
| 1736 |
+
"text_level": 1,
|
| 1737 |
+
"bbox": [
|
| 1738 |
+
174,
|
| 1739 |
+
611,
|
| 1740 |
+
495,
|
| 1741 |
+
625
|
| 1742 |
+
],
|
| 1743 |
+
"page_idx": 14
|
| 1744 |
+
},
|
| 1745 |
+
{
|
| 1746 |
+
"type": "table",
|
| 1747 |
+
"img_path": "images/500dbfba163b7eb6fe5b69b9d9edfb2c5e14276d1bf2da87ae06e486897d6ed2.jpg",
|
| 1748 |
+
"table_caption": [],
|
| 1749 |
+
"table_footnote": [],
|
| 1750 |
+
"table_body": "<table><tr><td rowspan=\"2\">Samples</td><td colspan=\"2\">国</td><td colspan=\"2\"></td><td colspan=\"2\">国</td><td colspan=\"2\">日</td><td colspan=\"2\">1</td></tr><tr><td colspan=\"2\">original</td><td colspan=\"2\">deepfool</td><td colspan=\"2\">cw-L2</td><td colspan=\"2\">boundary</td><td colspan=\"2\">JSMA</td></tr><tr><td>1st Per. original</td><td>408.6 424.2</td><td>396.6 -386.1</td><td>375.9 -379.2</td><td>378.4 -319.8</td><td>363.3 -370.2</td><td>376.7 -357.2</td><td>409.4 -356.9</td><td>383.0 -259.3</td><td>397.1 -291.9</td><td>412.2 -239.0</td></tr><tr><td>DeepFool</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td>153.4</td><td>-391.6</td><td>-344.1</td><td>-262.6</td><td>-376.1</td><td>-345.9</td><td>215.1</td><td>-306.5</td><td>-244.3</td><td>-326.4</td></tr><tr><td>CW-L2</td><td>129.9</td><td>-555.3</td><td>235.4</td><td>-353.1</td><td>-471.6</td><td>-400.3</td><td>-342.7</td><td>-367.2</td><td>-486.4</td><td>-326.4</td></tr><tr><td>Boundary</td><td>213.9</td><td>-417.4</td><td>-458.3</td><td>-548.0</td><td>-587.4</td><td>-236.3</td><td>214.0</td><td>-1246.1</td><td>-171.2</td><td>-555.6</td></tr><tr><td>LocalSearch</td><td>165.2</td><td>-485.7</td><td>190.9</td><td>-325.6</td><td>-439.0</td><td>-379.0</td><td>-318.8</td><td>-327.5</td><td>-357.9</td><td>-272.3</td></tr></table>",
|
| 1751 |
+
"bbox": [
|
| 1752 |
+
173,
|
| 1753 |
+
642,
|
| 1754 |
+
846,
|
| 1755 |
+
796
|
| 1756 |
+
],
|
| 1757 |
+
"page_idx": 14
|
| 1758 |
+
},
|
| 1759 |
+
{
|
| 1760 |
+
"type": "text",
|
| 1761 |
+
"text": "Table 9: Full logits of adversarial examples generated with different attacks. The original image is the fist sample of class 0 of CIFAR10 test set. The first row gives the 1st percentile thresholds, and the second row shows the logits of the original image. The largest logits are marked in bold. ",
|
| 1762 |
+
"bbox": [
|
| 1763 |
+
173,
|
| 1764 |
+
813,
|
| 1765 |
+
826,
|
| 1766 |
+
856
|
| 1767 |
+
],
|
| 1768 |
+
"page_idx": 14
|
| 1769 |
+
}
|
| 1770 |
+
]
|
parse/train/rkg98yBFDr/rkg98yBFDr_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|