Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/SJeNz04tDS/SJeNz04tDS.md +317 -0
- parse/train/SJeNz04tDS/SJeNz04tDS_content_list.json +1680 -0
- parse/train/SJeNz04tDS/SJeNz04tDS_middle.json +0 -0
- parse/train/SJeNz04tDS/SJeNz04tDS_model.json +0 -0
- parse/train/r1VGvBcxl/r1VGvBcxl.md +233 -0
- parse/train/r1VGvBcxl/r1VGvBcxl_content_list.json +1271 -0
- parse/train/r1VGvBcxl/r1VGvBcxl_middle.json +0 -0
- parse/train/r1VGvBcxl/r1VGvBcxl_model.json +0 -0
- parse/train/rkjZ2Pcxe/rkjZ2Pcxe.md +333 -0
- parse/train/rkjZ2Pcxe/rkjZ2Pcxe_content_list.json +1814 -0
- parse/train/rkjZ2Pcxe/rkjZ2Pcxe_middle.json +0 -0
- parse/train/rkjZ2Pcxe/rkjZ2Pcxe_model.json +0 -0
- parse/train/ry2YOrcge/ry2YOrcge.md +270 -0
- parse/train/ry2YOrcge/ry2YOrcge_content_list.json +1460 -0
- parse/train/ry2YOrcge/ry2YOrcge_middle.json +0 -0
- parse/train/ry2YOrcge/ry2YOrcge_model.json +0 -0
- parse/train/vrhNQ7aYSdr/vrhNQ7aYSdr.md +274 -0
- parse/train/vrhNQ7aYSdr/vrhNQ7aYSdr_content_list.json +1410 -0
- parse/train/vrhNQ7aYSdr/vrhNQ7aYSdr_middle.json +0 -0
- parse/train/vrhNQ7aYSdr/vrhNQ7aYSdr_model.json +0 -0
parse/train/SJeNz04tDS/SJeNz04tDS.md
ADDED
|
@@ -0,0 +1,317 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# OVERLEARNING REVEALS SENSITIVE ATTRIBUTES
|
| 2 |
+
|
| 3 |
+
Congzheng Song Cornell University cs2296@cornell.edu
|
| 4 |
+
|
| 5 |
+
Vitaly Shmatikov
|
| 6 |
+
Cornell Tech
|
| 7 |
+
shmat@cs.cornell.edu
|
| 8 |
+
|
| 9 |
+
# ABSTRACT
|
| 10 |
+
|
| 11 |
+
“Overlearning” means that a model trained for a seemingly simple objective implicitly learns to recognize attributes and concepts that are (1) not part of the learning objective, and (2) sensitive from a privacy or bias perspective. For example, a binary gender classifier of facial images also learns to recognize races—even races that are not represented in the training data—and identities.
|
| 12 |
+
|
| 13 |
+
We demonstrate overlearning in several vision and NLP models and analyze its harmful consequences. First, inference-time representations of an overlearned model reveal sensitive attributes of the input, breaking privacy protections such as model partitioning. Second, an overlearned model can be “re-purposed” for a different, privacy-violating task even in the absence of the original training data.
|
| 14 |
+
|
| 15 |
+
We show that overlearning is intrinsic for some tasks and cannot be prevented by censoring unwanted attributes. Finally, we investigate where, when, and why overlearning happens during model training.
|
| 16 |
+
|
| 17 |
+
# 1 INTRODUCTION
|
| 18 |
+
|
| 19 |
+
We demonstrate that representations learned by deep models when training for seemingly simple objectives reveal privacy- and bias-sensitive attributes that are not part of the specified objective. These unintentionally learned concepts are neither finer-, nor coarse-grained versions of the model’s labels, nor statistically correlated with them. We call this phenomenon overlearning. For example, a binary classifier trained to determine the gender of a facial image also learns to recognize races (including races not represented in the training data) and even identities of individuals.
|
| 20 |
+
|
| 21 |
+
Overlearning has two distinct consequences. First, the model’s inference-time representation of an input reveals the input’s sensitive attributes. For example, a facial recognition model’s representation of an image reveals if two specific individuals appear together in it. Overlearning thus breaks inference-time privacy protections based on model partitioning (Osia et al., 2018; Chi et al., 2018; Wang et al., 2018). Second, we develop a new, transfer learning-based technique to “re-purpose” a model trained for benign task into a model for a different, privacy-violating task. This shows the inadequacy of privacy regulations that rely on explicit enumeration of learned attributes.
|
| 22 |
+
|
| 23 |
+
Overlearning is intrinsic for some tasks, i.e., it is not possible to prevent a model from learning sensitive attributes. We show that if these attributes are censored (Xie et al., 2017; Moyer et al., 2018), the censored models either fail to learn their specified tasks, or still leak sensitive information. We develop a new de-censoring technique to extract information from censored representations. We also show that overlearned representations enable recognition of sensitive attributes that are not present in the training data. Such attributes cannot be censored using any known technique. This shows the the inadequacy of censoring as a privacy protection technology.
|
| 24 |
+
|
| 25 |
+
To analyze where and why overlearning happens, we empirically show how general features emerge in the lower layers of models trained for simple objectives and conjecture an explanation based on the complexity of the training data.
|
| 26 |
+
|
| 27 |
+
# 2 BACKGROUND
|
| 28 |
+
|
| 29 |
+
We focus on supervised deep learning. Given an input $x$ , a model $M$ is trained to predict the target $y$ using a discriminative approach. We represent the model $M = C \circ E$ as a feature extractor (encoder) $E$ and classifier $C$ . The representation $z = E ( x )$ is passed to $C$ to produce the prediction by modeling $p ( y | z ) = C ( z )$ . Since $E$ can have multiple layers of representation, we use $E _ { l } ( x ) = z _ { l }$ to denote the model’s internal representation at layer $l$ ; $z$ is the representation at the last layer.
|
| 30 |
+
|
| 31 |
+
Model partitioning splits the model into a local, on-device part and a remote, cloud-based part to improve scalability of inference (Lane & Georgiev, 2015; Kang et al., 2017) and protect privacy of inputs into the model (Li et al., 2017; Osia et al., 2018; Chi et al., 2018; Wang et al., 2018). For privacy, the local part of the model computes a representation, censors it as described below, and sends it to the cloud part, which computes the model’s output.
|
| 32 |
+
|
| 33 |
+
Censoring representations. The goal is to encode input $x$ into a representation $z$ that does not reveal unwanted properties of $x$ , yet is expressive enough to predict the task label $y$ . Censoring has been used to achieve transform-invariant representations for computer vision, bias-free representations for fair machine learning, and privacy-preserving representations that hide sensitive attributes.
|
| 34 |
+
|
| 35 |
+
A straightforward censoring approach is based on adversarial training (Goodfellow et al., 2014). It involves a mini-max game between a discriminator $D$ trying to infer $s$ from $z$ during training and an encoder and classifier trying to infer the task label $y$ while minimizing the discriminator’s success (Edwards & Storkey, 2016; Iwasawa et al., 2016; Hamm, 2017; Xie et al., 2017; Li et al., 2018; Coavoux et al., 2018; Elazar & Goldberg, 2018). The game is formulated as:
|
| 36 |
+
|
| 37 |
+
$$
|
| 38 |
+
\displaystyle \operatorname* { m i n } _ { E , C } \operatorname* { m a x } _ { D } \mathbb { E } _ { x , y , s } [ \gamma \log p ( s | z = E ( x ) ) - \log p ( y | z = E ( x ) ) ]
|
| 39 |
+
$$
|
| 40 |
+
|
| 41 |
+
where $\gamma$ balances the two log likelihood terms. The inner optimization maximizes $\log p ( s | z =$ $E ( x ) ,$ ), i.e., the discriminator’s prediction of the sensitive attribute $s$ given a representation $z$ . The outer optimization, on the other hand, trains the encoder and classifier to minimize the log likelihood of the discriminator predicting $s$ and maximize that of predicting the task label $y$ .
|
| 42 |
+
|
| 43 |
+
Another approach casts censoring as a single information-theoretical objective. The requirement that $z$ not reveal $s$ can be formalized as an independence constraint $z \perp s$ , but independence is intractable to measure in practice, thus the requirement is relaxed to a constraint on the mutual information between $z$ and $s$ (Osia et al., 2018; Moyer et al., 2018). The overall training objective of censoring $s$ and predicting $y$ from $z$ is formulated as:
|
| 44 |
+
|
| 45 |
+
$$
|
| 46 |
+
\operatorname* { m a x } I ( z , y ) - \beta I ( z , x ) - \lambda I ( z , s )
|
| 47 |
+
$$
|
| 48 |
+
|
| 49 |
+
where $I$ is mutual information and $\beta , \lambda$ are the balancing coefficients; $\beta = 0$ in (Osia et al., 2018). The first two terms $I ( z , y ) - \beta I ( z , x )$ is the objective of variational information bottleneck (Alemi et al., 2017), the third term is the relaxed independence constraint of $z$ and $s$ .
|
| 50 |
+
|
| 51 |
+
Intuitively, this objective aims to maximize the information of $y$ in $z$ as per $I ( z , y )$ , forget the information of $x$ in $z$ as per $- \beta I ( z , x )$ , and remove the information of $s$ in $z$ as per $- \lambda I ( z , s )$ . This objective has an analytical lower bound (Moyer et al., 2018):
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\mathbb { E } _ { x , s } [ \mathbb { E } _ { z , y } [ \log p ( y | z ) ] - ( \beta + \lambda ) K L [ q ( z | x ) | | q ( z ) ] - \lambda \mathbb { E } _ { z } [ \log p ( x | z , s ) ] ]
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
where $K L$ is Kullback-Leibler divergence and $\log p ( x | z , s )$ is the reconstruction likelihood of $x$ given $z$ and $s$ . The conditional distributions $p ( y | z ) = C ( z )$ , $q ( z | x ) = E ( x )$ are modeled as in adversarial training and $p ( x | z , s )$ is modeled with a decoder $R ( z , s ) = p ( x | z , s )$ .
|
| 58 |
+
|
| 59 |
+
All known censoring techniques require a “blacklist” of attributes to censor, and inputs with these attributes must be represented in the training data. Censoring for fairness is applied to the model’s final layer to make its output independent of the sensitive attributes or satisfy a specific fairness constraint (Zemel et al., 2013; Louizos et al., 2016; Madras et al., 2018; Song et al., 2019). In this paper, we use censoring not for fairness but to demonstrate that models cannot be prevented from learning to recognize sensitive attributes. To show this, we apply censoring to different layers, not just the output.
|
| 60 |
+
|
| 61 |
+
# 3 EXPLOITING OVERLEARNING
|
| 62 |
+
|
| 63 |
+
We demonstrate two different ways to exploit overlearning in a trained model $M$ . The inferencetime attack (Section 3.1) applies $M$ to an input and uses $M$ ’s representation of that input to predict its sensitive attributes. The model-repurposing attack (Section 3.2) uses $M$ to create another model that, when applied to an input, directly predicts its sensitive attributes.
|
| 64 |
+
|
| 65 |
+
# Inferring $s$ from representation:
|
| 66 |
+
|
| 67 |
+
# Adversarial re-purposing:
|
| 68 |
+
|
| 69 |
+
1: Input: Adversary’s auxiliary dataset $\mathcal { D } _ { \mathrm { a u x } }$ ,
|
| 70 |
+
black-box oracle $E$ , observed $z ^ { \star }$
|
| 71 |
+
2: ${ \mathcal { D } } _ { \operatorname { a t t a c k } } \gets \{ ( E ( x ) , s ) | ( x , s ) \in { \mathcal { D } } _ { \operatorname { a u x } } \}$
|
| 72 |
+
3: Train attack model $M _ { \mathrm { a t t a c k } }$ on $\mathcal { D } _ { \mathrm { a t t a c k } }$
|
| 73 |
+
4: return prediction $\hat { s } = M _ { \mathrm { a t t a c k } } \mathopen { } \mathclose \bgroup \left( z ^ { \star } \aftergroup \egroup \right)$
|
| 74 |
+
1: Input: Model $M$ for the original task, transfer
|
| 75 |
+
dataset $\mathcal { D } _ { \mathrm { t r a n s f e r } }$ for the new task
|
| 76 |
+
2: Build $M _ { \mathrm { t r a n s f e r } } = C _ { \mathrm { t r a n s f e r } } \circ E _ { l }$ on layer $l$
|
| 77 |
+
3: Fine-tune $M _ { \mathrm { t r a n s f e r } }$ on Dtransfer
|
| 78 |
+
4: return transfer model Mtransfer
|
| 79 |
+
|
| 80 |
+
# Algorithm 1 De-censoring representations
|
| 81 |
+
|
| 82 |
+
1: Input: Auxiliary dataset $\mathcal { D } _ { \mathrm { a u x } }$ , black-box oracle $E$ , observed representation $z ^ { \star }$
|
| 83 |
+
2: Train auxiliary model $M _ { \mathrm { a u x } } = E _ { \mathrm { a u x } } \circ C _ { \mathrm { a u x } }$ on $\mathcal { D } _ { \mathrm { a u x } }$
|
| 84 |
+
3: Initialize transform model $T$ , inference attack model $M _ { \mathrm { a t t a c k } }$
|
| 85 |
+
4: for each training iteration do
|
| 86 |
+
5: Sample a batch of data $( x , s )$ from $\mathcal { D } _ { \mathrm { a u x } }$ and compute $z = E ( x )$ , $z _ { \mathrm { a u x } } = E _ { \mathrm { a u x } } ( x )$
|
| 87 |
+
6: Update $T$ on the batch of $\left( z , z _ { \mathrm { a u x } } \right)$ with loss $| | T ( \bar { z } ) - z _ { \mathrm { a u x } } | | _ { 2 } ^ { 2 }$
|
| 88 |
+
7: Update $M _ { \mathrm { a t t a c k } }$ on the batch of $( T ( z ) , s )$ with cross-entropy loss
|
| 89 |
+
8: end for
|
| 90 |
+
9: return prediction $\hat { s } = M _ { \mathrm { a t t a c k } } ( T ( z ^ { \star } ) )$
|
| 91 |
+
|
| 92 |
+
# 3.1 INFERRING SENSITIVE ATTRIBUTES FROM REPRESENTATION
|
| 93 |
+
|
| 94 |
+
We measure the leakage of sensitive properties from the representations of overlearned models via the following attack. Suppose an adversary can observe the representation $z ^ { \star }$ of a trained model $M$ on input $x ^ { \star }$ at inference time but cannot observe $x ^ { \star }$ directly. This scenario arises in practice when model evaluation is partitioned in order to protect privacy of inputs—see Section 2. The adversary wants to infer some property $s$ of $x ^ { \star }$ that is not part of the task label $y$ .
|
| 95 |
+
|
| 96 |
+
We assume that the adversary has an auxiliary set $\mathcal { D } _ { \mathrm { a u x } }$ of labeled $( x , s )$ pairs and black-box oracle $E$ to compute the corresponding $E ( x )$ . The purpose of $\mathcal { D } _ { \mathrm { a u x } }$ is to help the adversary recognize the property of interest in the model’s representations; it need not be drawn from the same dataset as $x ^ { \star }$ . The adversary uses supervised learning on the $( E ( x ) , s )$ pairs to train an attack model $M _ { \mathrm { a t t a c k } }$ . At inference time, the adversary predicts $\hat { s }$ from the observed $z ^ { \star }$ as $M _ { \mathrm { a t t a c k } } ( z ^ { \star } )$ .
|
| 97 |
+
|
| 98 |
+
De-censoring. If the representation $z$ is “censored” (see Section 2) to reduce the amount of information it reveals about $s$ , the direct inference attack may not succeed. We develop a new, learning-based de-censoring approach (see Algorithm 1) to convert censored representations into a different form that leaks more information about the property of interest. The adversary trains $M _ { \mathrm { a u x } }$ on $\mathcal { D } _ { \mathrm { a u x } }$ to predict $s$ from $x$ , then transforms $z$ into the input features of $M _ { \mathrm { a u x } }$ .
|
| 99 |
+
|
| 100 |
+
We treat de-censoring as an optimization problem with a feature space $L _ { 2 }$ loss $\lvert \lvert T ( z ) - z _ { \mathrm { a u x } } \rvert \rvert _ { 2 } ^ { 2 }$ , where $T$ is the transformer that the adversary wants to learn and ${ \cal Z } _ { \mathrm { a u x } }$ is the uncensored representation from $M _ { \mathrm { a u x } }$ . Training with a feature-space loss has been proposed for synthesizing more natural images by matching them with real images (Dosovitskiy & Brox, 2016; Nguyen et al., 2016). In our case, we match censored and uncensored representations. The adversary can then use $T ( z )$ as an uncensored approximation of $z$ to train an inference model $M _ { \mathrm { a t t a c k } }$ and infer property $s$ as $\dot { M } _ { \mathrm { a t t a c k } } ( T ( z ^ { \star } ) )$ .
|
| 101 |
+
|
| 102 |
+
# 3.2 RE-PURPOSING MODELS TO PREDICT SENSITIVE ATTRIBUTES
|
| 103 |
+
|
| 104 |
+
To re-purpose a model—for example, to convert a model trained for a benign task into a model that predicts a sensitive attribute—we can use features $z _ { l }$ in any layer of $M$ as the feature extractor and connect a new classifier $C _ { \mathrm { t r a n s f e r } }$ to $E _ { l }$ . The transferred model $M _ { \mathrm { t r a n s f e r } } = C _ { \mathrm { t r a n s f e r } } \circ E _ { l }$ is fine-tuned on another, small dataset $\mathcal { D } _ { \mathrm { t r a n s f e r } }$ , which in itself is not sufficient to train an accurate model for the new task. Utilizing features learned by $M$ on the original $\mathcal { D }$ , $M _ { \mathrm { t r a n s f e r } }$ can achieve better results than models trained from scratch on $\mathcal { D } _ { \mathrm { t r a n s f e r } }$ .
|
| 105 |
+
|
| 106 |
+
Feasibility of model re-purposing complicates the application of policies and regulations such as GDPR (EU, 2018). GDPR requires data processors to disclose every purpose of data collection and obtain consent from the users whose data was collected. We show that, given a trained model, it is not possible to determine—nor, consequently, disclose or obtain user consent for—what the model has learned. Learning per se thus cannot be a regulated “purpose” of data collection. Regulators must be aware that even if the original training data has been erased, a model can be re-purposed for a different objective, possibly not envisioned at the time of original data collection. We discuss this further in Section 6.
|
| 107 |
+
|
| 108 |
+
Table 1: Summary of datasets and tasks. Cramer’s V captures statistical correlation between $_ y$ and $s$ (0 indicates no correlation and 1 indicates perfectly correlated).
|
| 109 |
+
|
| 110 |
+
<table><tr><td>Dataset</td><td>Health</td><td>UTKFace</td><td>FaceScrub</td><td>Places365</td><td>Twitter</td><td>Yelp</td><td>PIPA</td></tr><tr><td>Target y</td><td>CCI</td><td>gender</td><td>gender</td><td>in/outdoor</td><td>age</td><td>review score</td><td>facial IDs</td></tr><tr><td>Attribute s</td><td>age</td><td>race</td><td>facial IDs</td><td> scene type</td><td>author</td><td>author</td><td>IDs together</td></tr><tr><td>Cramer's V</td><td>0.149</td><td>0.035</td><td>0.044</td><td>0.052</td><td>0.134</td><td>0.033</td><td>n/a</td></tr></table>
|
| 111 |
+
|
| 112 |
+
# 4 EXPERIMENTAL RESULTS
|
| 113 |
+
|
| 114 |
+
# 4.1 DATASETS, TASKS, AND MODELS
|
| 115 |
+
|
| 116 |
+
Health is the Heritage Health dataset (Heritage Health Prize) with medical records of over 55,000 patients, binarized into 112 features with age information removed. The task is to predict if Charlson Index (an estimate of patient mortality) is greater than zero; the sensitive attribute is age (binned into 9 ranges).
|
| 117 |
+
|
| 118 |
+
UTKFace is a set of over 23,000 face images labeled with age, gender, and race (UTKFace; Zhang et al., 2017). We rescaled them into $5 0 \times 5 0$ RGB pixels. The task is to predict gender; the sensitive attribute is race.
|
| 119 |
+
|
| 120 |
+
FaceScrub is a set of face images labeled with gender (FaceScrub). Some URLs are expired, but we were able to download 74,000 images for 500 individuals and rescale them into $5 0 \times 5 0$ RGB pixels. The task is to predict gender; the sensitive attribute is identity.
|
| 121 |
+
|
| 122 |
+
Places365 is a set of 1.8 million images labeled with 365 fine-grained scene categories. We use a subset of 73,000 images, 200 per category. The task is to predict whether the scene is indoor or outdoor; the sensitive attribute is the fine-grained scene label.
|
| 123 |
+
|
| 124 |
+
Twitter is a set of tweets from the PAN16 dataset (Rangel et al., 2016) labeled with user information. We removed tweets with fewer than 20 tokens and users with fewer than 50 tweets, yielding a dataset of over 46,000 tweets from 151 users with an over 80,000-word vocabulary. The task is to predict the age of the user given a tweet; the sensitive attribute is the author’s identity.
|
| 125 |
+
|
| 126 |
+
Yelp is a set of Yelp reviews labeled with user identities (Yelp Open Dataset). We removed users with fewer than 1,000 reviews and reviews with more than 200 tokens, yielding a dataset of over 39,000 reviews from 137 users with an over 69,000-word vocabulary. The task is to predict the review score between 1 to 5; the sensitive attribute is the author’s identity.
|
| 127 |
+
|
| 128 |
+
PIPA is a set of over 60,000 photos of 2,000 individuals gathered from public Flickr photo albums (Piper project page; Zhang et al., 2015). Each image can include one or more individuals. We cropped their head regions using the bounding boxes in the image annotations. The task is to predict the identity given the head region; the sensitive attribute is whether two head regions are from the same photo.
|
| 129 |
+
|
| 130 |
+
Models. For Health, we use a two-layer fully connected (FC) neural network with 128 and 32 hidden units, respectively, following (Xie et al., 2017; Moyer et al., 2018). For UTKFace and FaceScrub, we use a LeNet (LeCun et al., 1998) variant: three $3 \times 3$ convolutional and $2 \times 2$ max-pooling layers with 16, 32, and 64 filters, followed by two FC layers with 128 and 64 hidden units. For Twitter and Yelp, we use text CNN (Kim, 2014). For Places365 and PIPA, we use AlexNet (Krizhevsky et al., 2012) with convolutional layers pre-trained on ImageNet (Deng et al., 2009) and further add a $3 \times 3$ convolutional layer with 128 filters and $2 \times 2$ max-pooling followed by two FC layers with 128 and 64 hidden units, respectively.
|
| 131 |
+
|
| 132 |
+
Table 2: Accuracy of inference from representations (last FC layer). RAND is random guessing based on majority class labels; BASE is inference from the uncensored representation; ADV from the representation censored with adversarial training; IT from the information-theoretically censored representation.
|
| 133 |
+
|
| 134 |
+
<table><tr><td></td><td colspan="4">Acc of predicting target y</td><td colspan="4">Acc of inferring sensitive attribute s</td></tr><tr><td>Dataset</td><td>RAND</td><td>BASE</td><td>ADV</td><td>IT</td><td>RAND</td><td>BASE</td><td>ADV</td><td>IT</td></tr><tr><td>Health</td><td>66.31</td><td>84.33</td><td>80.16</td><td>82.63</td><td>16.00</td><td>32.52</td><td>32.00</td><td>26.60</td></tr><tr><td>UTKFace</td><td>52.27</td><td>90.38</td><td>90.15</td><td>88.15</td><td>42.52</td><td>62.18</td><td>53.28</td><td>53.30</td></tr><tr><td>FaceScrub</td><td>53.53</td><td>98.77</td><td>97.90</td><td>97.66</td><td>1.42</td><td>33.65</td><td>30.23</td><td>10.61</td></tr><tr><td>Places365</td><td>56.16</td><td>91.41</td><td>90.84</td><td>89.82</td><td>1.37</td><td>31.03</td><td>12.56</td><td>2.29</td></tr><tr><td>Twitter</td><td>45.17</td><td>76.22</td><td>57.97</td><td>n/a</td><td>6.93</td><td>38.46</td><td>34.27</td><td>n/a</td></tr><tr><td>Yelp</td><td>42.56</td><td>57.81</td><td>56.79</td><td>n/a</td><td>15.88</td><td>33.09</td><td>27.32</td><td>n/a</td></tr><tr><td>PIPA</td><td>7.67</td><td>77.34</td><td>52.02</td><td>29.64</td><td>68.50</td><td>87.95</td><td>69.96</td><td>82.02</td></tr></table>
|
| 135 |
+
|
| 136 |
+
# 4.2 INFERRING SENSITIVE ATTRIBUTES FROM REPRESENTATIONS
|
| 137 |
+
|
| 138 |
+
Setup. We use $80 \%$ of the data for training the target models and $20 \%$ for evaluation. The size of the adversary’s auxiliary dataset is $50 \%$ of the training data. Success of the inference attack is measured on the final FC layer’s representation of test data. The baseline is inference from the uncensored representation. We also measure the success of inference against representations censored with $\gamma = 1 . 0$ for adversarial training and $\beta = 0 . 0 1 , \lambda = 0 . 0 0 0 1$ for information-theoretical censoring, following (Xie et al., 2017; Moyer et al., 2018).
|
| 139 |
+
|
| 140 |
+
For censoring with adversarial training, we simulate the adversary with a two-layer FC neural network with 256 and 128 hidden units. The number of epochs is 50 for censoring with adversarial training, 30 for the other models. We use the Adam optimizer with the learning rate of 0.001 and batch size of 128. For information-theoretical censoring, the model is based on VAE (Kingma & Welling, 2013; Moyer et al., 2018). The encoder $q ( z | x )$ has the same architecture as the CNN models with all convolutional layers. On top of that, the encoder outputs a mean vector and a standard deviation vector to model the random variable $z$ with the re-parameterization trick. The decoder $p ( x | z )$ has three de-convolution layers with up-sampling to map $z$ back to the same shape as the input $x$ .
|
| 141 |
+
|
| 142 |
+
For our inference model, we use the same architecture as the censoring adversary. For the PIPA inference model, which takes two representations of faces and outputs a binary prediction of whether these faces appear in the same photo, we use two FC layers followed by a bilinear model: $p ( s | z _ { 1 } , z _ { 2 } ) = \sigma ( h ( z _ { 1 } ) { \mathrm { \hat { W } } } h ( z _ { 2 } ) ^ { \top } )$ , where $z _ { 1 } , z _ { 2 }$ are the two input representations, $h$ is the two FC layers, and $\sigma$ is the sigmoid function. We train the inference model for 50 epochs with the Adam optimizer, learning rate of 0.001, and batch size of 128.
|
| 143 |
+
|
| 144 |
+
Results. Table 2 reports the results. When representations are not censored, accuracy of inference from the last-layer representations is much higher than random guessing for all tasks, which means models overlearn even in the higher, task-specific layers. When representations are censored with adversarial training, accuracy drops for both the main and inference tasks. Accuracy of inference is much higher than in (Xie et al., 2017). The latter uses logistic regression, which is weaker than the training-time censoring-adversary network, whereas we use the same architecture for both the training-time and post-hoc adversaries. Information-theoretical censoring reduces accuracy of inference, but also damages main-task accuracy more than adversarial training for almost all models.
|
| 145 |
+
|
| 146 |
+
Overlearning can cause a model to recognize even the sensitive attributes that are not represented in the training dataset. Such attributes cannot be censored using any known technique. We trained a UTKFace gender classifier on datasets where all faces are of the same race. We then applied this model to test images with four races (White, Black, Asian, Indian) and attempted to infer the race attribute from the model’s representations. Inference accuracy is $6 1 . 9 5 \%$ , $6 1 . 9 9 \%$ , $6 0 . 8 5 \%$ and $6 0 . 8 1 \%$ for models trained only on, respectively, White, Black, Asian, and Indian images—almost as good as the $6 2 . 1 8 \%$ baseline and much higher than random guessing $( 4 2 . 5 2 \% )$ ).
|
| 147 |
+
|
| 148 |
+
Effect of censoring strength. Fig. 2 shows that stronger censoring does not help. On FaceScrub and Twitter with adversarial training, increasing $\gamma$ damages the model’s accuracy on the main task, while accuracy of inference decreases slightly or remains the same. For UTKFace and Yelp, increasing $\gamma$ improves accuracy of inference. This may indicate that the simulated “adversary” during adversarial training overpowers the optimization process and censoring defeats itself.
|
| 149 |
+
|
| 150 |
+

|
| 151 |
+
Figure 2: Reduction in accuracy due to censoring. Blue lines are the main task, red lines are the inference of sensitive attributes. First row is adversarial training with different $\gamma$ values; second and third row is information-theoretical censoring with different $\beta$ and $\lambda$ values respectively.
|
| 152 |
+
|
| 153 |
+
Table 3: Improving inference accuracy with de-censoring. $\delta$ is the increase from Table 2.
|
| 154 |
+
|
| 155 |
+
<table><tr><td>Dataset</td><td>Health</td><td>UTKFace</td><td>FaceScrub</td><td>Places365</td><td>Twitter</td><td>Yelp</td></tr><tr><td>ADV+δ</td><td>32.55 +0.55</td><td>59.38 +6.10</td><td>40.37 +12.24</td><td>19.71 +7.15</td><td>36.55 +2.22</td><td>31.36 +4.04</td></tr><tr><td>IT+δ</td><td>27.05+0.45</td><td>54.31 +1.01</td><td>16.40 +5.79</td><td>3.10 +0.81</td><td>n/a</td><td>n/a</td></tr></table>
|
| 156 |
+
|
| 157 |
+
For all models with information-theoretical censoring, increasing $\beta$ reduces the accuracy of inference but can lead to the model not converging on its main task. Increasing $\lambda$ results in the model not converging on the main task, without affecting the accuracy of inference, on Health, UTKFace and FaceScrub. This seems to contradict the censoring objective, but the reconstruction loss in Equation 2 dominates the other loss terms, which leads to poor divergence between conditional $q ( \bar { z } | x )$ and $q ( z )$ , i.e., information about $x$ is still retained in $z$ .
|
| 158 |
+
|
| 159 |
+
De-censoring. As described in Section 3.1, we developed a new technique to transform censored representations to make inference easier. We first train an auxiliary model on $\mathcal { D } _ { \mathrm { a u x } }$ to predict the sensitive attribute from representations, using the same architecture as in the baseline models. The resulting uncensored representations from the last convolutional layer are the target for the decensoring transformations. We use a single-layer fully connected neural network as the transformer and set the number of hidden units to the dimension of the uncensored representation. The inference model operates on top of the transformer network, with the same hyper-parameters as before.
|
| 160 |
+
|
| 161 |
+
Table 3 shows that de-censoring significantly boosts the accuracy of inference from representations censored with adversarial training. The boost is smaller against information-theoretical censoring because its objective not only censors $z$ with $I ( z , s )$ , but also forgets $x$ with $I ( x , z )$ . On the Health task, there is not much difference since the baseline attack is already similar to the attack on censored representations, leaving little room for improvement.
|
| 162 |
+
|
| 163 |
+
Table 4: Adversarial re-purposing. The values are differences between the accuracy of predicting sensitive attributes using a re-purposed model vs. a model trained from scratch.
|
| 164 |
+
|
| 165 |
+
<table><tr><td>|Dtransfer/|D|</td><td>Health</td><td>UTKFace</td><td>FaceScrub</td><td>Places365</td><td>Twitter</td><td>Yelp</td><td>PIPA</td></tr><tr><td>0.02</td><td>-0.57</td><td>4.72</td><td>7.01</td><td>4.42</td><td>12.99</td><td>5.57</td><td>1.33</td></tr><tr><td>0.04</td><td>0.22</td><td>2.70</td><td>15.07</td><td>2.14</td><td>10.87</td><td>3.60</td><td>2.41</td></tr><tr><td>0.06</td><td>-1.21</td><td>2.83</td><td>7.02</td><td>2.06</td><td>10.51</td><td>8.45</td><td>6.50</td></tr><tr><td>0.08</td><td>-0.99</td><td>0.25</td><td>11.80</td><td>3.39</td><td>9.57</td><td>0.33</td><td>4.93</td></tr><tr><td>0.10</td><td>0.35</td><td>2.24</td><td>9.43</td><td>2.86</td><td>7.30</td><td>2.1</td><td>5.89</td></tr></table>
|
| 166 |
+
|
| 167 |
+
Table 5: The effect of censoring on adversarial re-purposing for FaceScrub with $\gamma = 0 . 5 , 0 . 7 5 , 1 . 0$ . $\delta _ { A }$ is the difference in the original-task accuracy (second column) between uncensored and censored models; $\delta _ { B }$ is the difference in the accuracy of inferring the sensitive attribute (columns 3 to 7) between the models re-purposed from different layers and the model trained from scratch. Negative values mean reduced accuracy. Heatmaps on the right are linear CKA similarities between censored and uncensored representations. Numbers 0 through 4 represent layers conv1, conv2, conv3, fc4, and fc5. For each model censored at layer $i$ $\mathbf { \bar { X } }$ -axis), we measure similarity between the censored and uncensored models at layer $j$ (y-axis).
|
| 168 |
+
|
| 169 |
+
<table><tr><td>Censored on γ = 0.5</td><td>8A conv1</td><td colspan="5">δB when transferred from</td></tr><tr><td>conv1</td><td>-1.66</td><td>-6.42</td><td>conv2 -4.09</td><td>conv3 -1.65</td><td>fc4 0.46</td><td>fc5 -3.87</td></tr><tr><td>conv2</td><td>-2.87</td><td>0.95</td><td>-1.77</td><td>-2.88</td><td>-1.53</td><td>-2.22</td></tr><tr><td>conv3</td><td>-0.64</td><td>1.49</td><td>1.49</td><td>0.67</td><td>-0.48</td><td>-1.38</td></tr><tr><td>fc4</td><td>-0.16</td><td>2.03</td><td>5.16</td><td>6.73</td><td>6.12</td><td>0.54</td></tr><tr><td>fc5</td><td>0.05</td><td>1.52</td><td>4.53</td><td>7.42</td><td>6.14</td><td>4.53</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>γ = 0.75</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>conv1 conv2</td><td>-4.48</td><td>-7.33</td><td>-5.01</td><td>-1.51</td><td>-7.99</td><td>-7.82</td></tr><tr><td>conv3</td><td>-6.02 -1.90</td><td>0.44</td><td>-7.04</td><td>-5.46</td><td>-5.94</td><td>-5.82</td></tr><tr><td></td><td></td><td>1.32</td><td>1.37</td><td>1.88</td><td>0.74</td><td>-0.67</td></tr><tr><td>fc4 fc5</td><td>0.01</td><td>3.65</td><td>4.56</td><td>5.11</td><td>4.44</td><td>0.91</td></tr><tr><td></td><td>-0.74</td><td>1.54</td><td>3.61</td><td>6.75</td><td>7.18</td><td>4.99</td></tr><tr><td>γ=1</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>conv1</td><td>-45.25</td><td>-7.36</td><td>-3.93</td><td>-2.75</td><td>-4.37</td><td>-2.91</td></tr><tr><td>conv2</td><td>-20.30</td><td>-3.28</td><td>-5.27</td><td>-7.03</td><td>-6.38</td><td>-5.54</td></tr><tr><td>conv3</td><td>-45.20</td><td>-2.13</td><td>-3.06</td><td>-4.48</td><td>-4.05</td><td>-5.18</td></tr><tr><td>fc4</td><td>-0.52</td><td>1.73</td><td>5.19</td><td>4.80</td><td>5.83</td><td>1.84</td></tr><tr><td>fc5</td><td>-0.86</td><td>1.56</td><td>3.55</td><td>5.59</td><td>5.14</td><td>1.97</td></tr></table>
|
| 170 |
+
|
| 171 |
+

|
| 172 |
+
|
| 173 |
+
In summary, these results demonstrate that information about sensitive attributes unintentionally captured by the overlearned representations cannot be suppressed by censoring.
|
| 174 |
+
|
| 175 |
+
# 4.3 RE-PURPOSING MODELS TO PREDICT SENSITIVE ATTRIBUTES
|
| 176 |
+
|
| 177 |
+
To demonstrate that overlearned representations can be picked up by a small set of unseen data to create a model for predicting sensitive attributes, we re-purpose uncensored baseline models from Section 4.2 by fine-tuning them on a small $( 2 - 1 0 \%$ of $\mathcal { D }$ ) set $\mathcal { D } _ { \mathrm { t r a n s f e r } }$ and compare with the models trained from scratch on $\mathcal { D } _ { \mathrm { t r a n s f e r } }$ . We fine-tune all models for 50 epochs with batch size of 32; the other hyper-parameters are as in Section 4.2. For all CNN models, we use the trained convolutional layers as the feature extractor and randomly initialize the other layers. Table 4 shows that the re-purposed models always outperform those trained from scratch. FaceScrub and Twitter exhibit the biggest gain.
|
| 178 |
+
|
| 179 |
+
Effect of censoring. Previous work only censored the highest layer of the models. Model repurposing can use any layer of the model for transfer learning. Therefore, to prevent re-purposing, inner layers must be censored, too. We perform the first study of inner-layers censoring and measure its effect on both the original and re-purposed tasks. We use FaceScrub for this experiment and apply adversarial training to every layer with different strengths $( \gamma = 0 . 5 , 0 . 7 5 , 1 . 0 )$ .
|
| 180 |
+
|
| 181 |
+

|
| 182 |
+
Figure 3: Pairwise similarities of layer representations between models for the original task (A) and for predicting a sensitive attribute (B). Numbers 0 through 4 denote layers conv1, conv2, conv3, fc4 and fc5.
|
| 183 |
+
|
| 184 |
+
Table 5 summarizes the results. Censoring lower layers (conv1 to conv3) blocks adversarial repurposing, at the cost of reducing the model’s accuracy on its original task. Hyper-parameters must be tuned carefully, e.g. when $\gamma = 1$ , there is a huge drop in the original-task accuracy.
|
| 185 |
+
|
| 186 |
+
To further investigate how censoring in one layer affects the representations learned across all layers, we measure per-layer similarity between censored and uncensored models using CKA, linear centered kernel alignment (Kornblith et al., 2019)—see Table 5. When censoring is applied to a specific layer, similarity for that layer is the smallest (values on the diagonal). When censoring lower layers with moderate strength $\gamma = 0 . 5$ or 0.75), similarity between higher layers is still strong; when censoring higher layers, similarity between lower layers is strong. Therefore, censoring can block adversarial re-purposing from a specific layer, but the adversary can still re-purpose representations in the other layer(s) to obtain an accurate model for predicting sensitive attributes.
|
| 187 |
+
|
| 188 |
+
# 4.4 WHEN, WHERE, AND WHY OVERLEARNING HAPPENS
|
| 189 |
+
|
| 190 |
+
To investigate when (during training) and where (in which layer) the models overlearn, we use linear CKA similarity (Kornblith et al., 2019) to compare the representations at different epochs of training between models trained for the original task (A) and models trained to predict a sensitive attribute (B). We use UTKFace and FaceScrub for these experiments.
|
| 191 |
+
|
| 192 |
+
Fig. 3 shows that lower layers of models A and B learn very similar features. This was observed in (Kornblith et al., 2019) for CIFAR-10 and CIFAR-100 models, but those tasks are closely related. In our case, the tasks are entirely different and B reveals the sensitive attribute while A does not. The similar low-level features are learned very early during training. There is little similarity between the low-level features of A and high-level features of B (and vice versa), matching intuition. Interestingly, on FaceScrub even the high-level features are similar between A and B.
|
| 193 |
+
|
| 194 |
+
We conjecture that one of the reasons for overlearning is structural complexity of the data. Previous work theoretically showed that over-parameterized neural networks favor simple solutions on structured data when optimized with SGD, where structure is quantified as the number of distributions (e.g., images from different identities) within each class in the target task (Li & Liang, 2018), i.e., the fewer distributions, the more structured the data. For data generated from more complicated distributions, networks learn more complex solutions, leading to the emergence of features that are much more general than the learning objective and, consequently, overlearning.
|
| 195 |
+
|
| 196 |
+
Fig. 4 shows that the representations of a gender classifier trained on the faces from 50 individuals are closer to the random initialization than the representations trained on the faces from 500 individuals (the hyper-parameters and the total number of training examples are the same in both cases). More complex training data thus results in more complex representations for the same objective.
|
| 197 |
+
|
| 198 |
+

|
| 199 |
+
Figure 4: Similarity of layer representations of a partially trained gender classifier to a randomly initialized model before training. Models are trained on FaceScrub using $5 0 \mathrm { I D s }$ (blue line) and 500 IDs (red line).
|
| 200 |
+
|
| 201 |
+
# 5 RELATED WORK
|
| 202 |
+
|
| 203 |
+
Prior work studied transferability of representations only between closely related tasks. Transferability of features between ImageNet models decreases as the distance between the base and target tasks grows (Yosinski et al., 2014), and performance of tasks is correlated to their distance from the source task (Azizpour et al., 2015). CNN models trained to distinguish coarse classes also distinguish their subsets (Huh et al., 2016). By contrast, we show that models trained for simple tasks implicitly learn privacy-sensitive concepts unrelated to the labels of the original task. Other than an anecdotal mention in the acknowledgments paragraph of (Kim et al., 2017) that logit-layer activations leak non-label concepts, this phenomenon has never been described in the research literature.
|
| 204 |
+
|
| 205 |
+
Gradient updates revealed by participants in distributed learning leak information about individual training batches that is uncorrelated with the learning objective (Melis et al., 2019). We show that overlearning is a generic problem in (fully trained) models, helping explain these observations.
|
| 206 |
+
|
| 207 |
+
There is a large body of research on learning disentangled representations (Bengio et al., 2013; Locatello et al., 2019). The goal is to separate the underlying explanatory factors in the representation so that it contains all information about the input in an interpretable structure. State-of-the-art approaches use variational autoencoders (Kingma & Welling, 2013) and their variants to learn disentangled representations in an unsupervised fashion (Higgins et al., 2017; Kumar et al., 2018; Kim & Mnih, 2018; Chen et al., 2018). By contrast, overlearning means that representations learned during supervised training for one task implicitly and automatically enable another task—without disentangling the representation on purpose during training.
|
| 208 |
+
|
| 209 |
+
Work on censoring representations aims to suppress sensitive demographic attributes and identities in the model’s output for fairness and privacy. Techniques include adversarial training (Edwards & Storkey, 2016), which has been applied to census and health records (Xie et al., 2017), text (Li et al., 2018; Coavoux et al., 2018; Elazar & Goldberg, 2018), images (Hamm, 2017) and sensor data of wearables (Iwasawa et al., 2016). An alternative approach is to minimize mutual information between the representation and the sensitive attribute (Moyer et al., 2018; Osia et al., 2018). Neither approach can prevent overlearning, except at the cost of destroying the model’s accuracy. Furthermore, these techniques cannot censor attributes that are not represented in the training data. We show that overlearned models recognize such attributes, too.
|
| 210 |
+
|
| 211 |
+
# 6 CONCLUSIONS
|
| 212 |
+
|
| 213 |
+
We demonstrated that models trained for seemingly simple tasks implicitly learn concepts that are not represented in the objective function. In particular, they learn to recognize sensitive attributes, such as race and identity, that are statistically orthogonal to the objective. The failure of censoring to suppress these attributes and the similarity of learned representations across uncorrelated tasks suggest that overlearning may be intrinsic, i.e., learning for some objectives may not be possible without recognizing generic low-level features that enable other tasks, including inference of sensitive attributes. For example, there may not exist a set of features that enables a model to accurately determine the gender of a face but not its race or identity.
|
| 214 |
+
|
| 215 |
+
This is a challenge for regulations such as GDPR that aim to control the purposes and uses of machine learning technologies. To protect privacy and ensure certain forms of fairness, users and regulators may desire that models not learn some features and attributes. If overlearning is intrinsic, it may not be technically possible to enumerate, let alone control, what models are learning. Therefore, regulators should focus on ensuring that models are applied in a way that respects privacy and fairness, while acknowledging that they may still recognize and use sensitive attributes.
|
| 216 |
+
|
| 217 |
+
Acknowledgments. This research was supported in part by NSF grants 1611770, 1704296, and 1916717, the generosity of Eric and Wendy Schmidt by recommendation of the Schmidt Futures program, and a Google Faculty Research Award.
|
| 218 |
+
|
| 219 |
+
# REFERENCES
|
| 220 |
+
|
| 221 |
+
Alexander A. Alemi, Ian Fischer, Joshua V. Dillon, and Kevin Murphy. Deep variational information bottleneck. In ICLR, 2017.
|
| 222 |
+
|
| 223 |
+
Hossein Azizpour, Ali Sharif Razavian, Josephine Sullivan, Atsuto Maki, and Stefan Carlsson. From generic to specific deep representations for visual recognition. In CVPR Workshops, 2015.
|
| 224 |
+
|
| 225 |
+
Yoshua Bengio, Aaron Courville, and Pascal Vincent. Representation learning: A review and new perspectives. PAMI, 2013.
|
| 226 |
+
|
| 227 |
+
Tian Qi Chen, Xuechen Li, Roger B Grosse, and David K Duvenaud. Isolating sources of disentanglement in variational autoencoders. In NIPS, 2018.
|
| 228 |
+
|
| 229 |
+
Jianfeng Chi, Emmanuel Owusu, Xuwang Yin, Tong Yu, William Chan, Patrick Tague, and Yuan Tian. Privacy partitioning: Protecting user data during the deep learning inference phase. arXiv:1812.02863, 2018.
|
| 230 |
+
|
| 231 |
+
Maximin Coavoux, Shashi Narayan, and Shay B. Cohen. Privacy-preserving neural representations of text. In EMNLP, 2018.
|
| 232 |
+
|
| 233 |
+
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. In CVPR, 2009.
|
| 234 |
+
|
| 235 |
+
Alexey Dosovitskiy and Thomas Brox. Generating images with perceptual similarity metrics based on deep networks. In NIPS, 2016.
|
| 236 |
+
|
| 237 |
+
Harrison Edwards and Amos J. Storkey. Censoring representations with an adversary. In ICLR, 2016.
|
| 238 |
+
|
| 239 |
+
Yanai Elazar and Yoav Goldberg. Adversarial removal of demographic attributes from text data. In EMNLP, 2018.
|
| 240 |
+
|
| 241 |
+
EU. General Data Protection Regulation. https://en.wikipedia.org/wiki/General_ Data_Protection_Regulation, 2018.
|
| 242 |
+
|
| 243 |
+
FaceScrub. http://vintage.winklerbros.net/facescrub.html, 2014.
|
| 244 |
+
|
| 245 |
+
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, 2014.
|
| 246 |
+
|
| 247 |
+
Jihun Hamm. Minimax filter: Learning to preserve privacy from inference attacks. JMLR, 18(129): 1–31, 2017.
|
| 248 |
+
|
| 249 |
+
Heritage Health Prize. https://www.kaggle.com/c/hhp, 2012.
|
| 250 |
+
|
| 251 |
+
Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-VAE: Learning basic visual concepts with a constrained variational framework. In ICLR, 2017.
|
| 252 |
+
|
| 253 |
+
Minyoung Huh, Pulkit Agrawal, and Alexei A Efros. What makes ImageNet good for transfer learning? arXiv:1608.08614, 2016.
|
| 254 |
+
|
| 255 |
+
Yusuke Iwasawa, Kotaro Nakayama, Ikuko Yairi, and Yutaka Matsuo. Privacy issues regarding the application of DNNs to activity-recognition using wearables and its countermeasures by use of adversarial training. In IJCAI, 2016.
|
| 256 |
+
|
| 257 |
+
Yiping Kang, Johann Hauswald, Cao Gao, Austin Rovinski, Trevor Mudge, Jason Mars, and Lingjia Tang. Neurosurgeon: Collaborative intelligence between the cloud and mobile edge. In ASPLOS, 2017.
|
| 258 |
+
|
| 259 |
+
Been Kim, Martin Wattenberg, Justin Gilmer, Carrie Cai, James Wexler, Fernanda Viegas, and Rory Sayres. Interpretability beyond feature attribution: Quantitative testing with concept activation vectors (TCAV). arXiv:1711.11279, 2017.
|
| 260 |
+
|
| 261 |
+
Hyunjik Kim and Andriy Mnih. Disentangling by factorising. In ICML, 2018.
|
| 262 |
+
|
| 263 |
+
Yoon Kim. Convolutional neural networks for sentence classification. In EMNLP, 2014.
|
| 264 |
+
|
| 265 |
+
Diederik P Kingma and Max Welling. Auto-encoding variational Bayes. arXiv:1312.6114, 2013.
|
| 266 |
+
|
| 267 |
+
Simon Kornblith, Mohammad Norouzi, Honglak Lee, and Geoffrey Hinton. Similarity of neural network representations revisited. In ICML, 2019.
|
| 268 |
+
|
| 269 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. ImageNet classification with deep convolutional neural networks. In NIPS, 2012.
|
| 270 |
+
|
| 271 |
+
Abhishek Kumar, Prasanna Sattigeri, and Avinash Balakrishnan. Variational inference of disentangled latent concepts from unlabeled observations. In ICLR, 2018.
|
| 272 |
+
|
| 273 |
+
Nicholas D Lane and Petko Georgiev. Can deep learning revolutionize mobile sensing? In HotMobile, 2015.
|
| 274 |
+
|
| 275 |
+
Yann LeCun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to ´ document recognition. Proc. IEEE, 86(11):2278–2324, 1998.
|
| 276 |
+
|
| 277 |
+
Meng Li, Liangzhen Lai, Naveen Suda, Vikas Chandra, and David Z Pan. PrivyNet: A flexible framework for privacy-preserving deep neural network training. arXiv:1709.06161, 2017.
|
| 278 |
+
|
| 279 |
+
Yitong Li, Timothy Baldwin, and Trevor Cohn. Towards robust and privacy-preserving text representations. In ACL, 2018.
|
| 280 |
+
|
| 281 |
+
Yuanzhi Li and Yingyu Liang. Learning overparameterized neural networks via stochastic gradient descent on structured data. In NIPS, 2018.
|
| 282 |
+
|
| 283 |
+
Francesco Locatello, Stefan Bauer, Mario Lucic, Gunnar Raetsch, Sylvain Gelly, Bernhard Scholkopf, and Olivier Bachem. Challenging common assumptions in the unsupervised learn- ¨ ing of disentangled representations. In ICML, 2019.
|
| 284 |
+
|
| 285 |
+
Christos Louizos, Kevin Swersky, Yujia Li, Max Welling, and Richard Zemel. The variational fair autoencoder. In ICLR, 2016.
|
| 286 |
+
|
| 287 |
+
David Madras, Elliot Creager, Toniann Pitassi, and Richard Zemel. Learning adversarially fair and transferable representations. In ICML, 2018.
|
| 288 |
+
|
| 289 |
+
Luca Melis, Congzheng Song, Emiliano De Cristofaro, and Vitaly Shmatikov. Exploiting unintended feature leakage in collaborative learning. In S&P, 2019.
|
| 290 |
+
|
| 291 |
+
Daniel Moyer, Shuyang Gao, Rob Brekelmans, Aram Galstyan, and Greg Ver Steeg. Invariant representations without adversarial training. In NIPS, 2018.
|
| 292 |
+
|
| 293 |
+
Anh Nguyen, Alexey Dosovitskiy, Jason Yosinski, Thomas Brox, and Jeff Clune. Synthesizing the preferred inputs for neurons in neural networks via deep generator networks. In NIPS, 2016.
|
| 294 |
+
|
| 295 |
+
Seyed Ali Osia, Ali Taheri, Ali Shahin Shamsabadi, Minos Katevas, Hamed Haddadi, and Hamid R. R. Rabiee. Deep private-feature extraction. TKDE, 2018.
|
| 296 |
+
|
| 297 |
+
Piper project page. https://people.eecs.berkeley.edu/˜nzhang/piper.html, 2015.
|
| 298 |
+
|
| 299 |
+
Francisco Rangel, Paolo Rosso, Ben Verhoeven, Walter Daelemans, Martin Potthast, and Benno Stein. Overview of the 4th author profiling task at PAN 2016: Cross-genre evaluations. In CEUR Workshop, 2016.
|
| 300 |
+
|
| 301 |
+
Jiaming Song, Pratyusha Kalluri, Aditya Grover, Shengjia Zhao, and Stefano Ermon. Learning controllable fair representations. In AISTATS, 2019.
|
| 302 |
+
|
| 303 |
+
UTKFace. http://aicip.eecs.utk.edu/wiki/UTKFace, 2017.
|
| 304 |
+
|
| 305 |
+
Ji Wang, Jianguo Zhang, Weidong Bao, Xiaomin Zhu, Bokai Cao, and Philip S Yu. Not just privacy: Improving performance of private deep learning in mobile cloud. In KDD, 2018.
|
| 306 |
+
|
| 307 |
+
Qizhe Xie, Zihang Dai, Yulun Du, Eduard H. Hovy, and Graham Neubig. Controllable invariance through adversarial feature learning. In NIPS, 2017.
|
| 308 |
+
|
| 309 |
+
Yelp Open Dataset. https://www.yelp.com/dataset, 2018.
|
| 310 |
+
|
| 311 |
+
Jason Yosinski, Jeff Clune, Yoshua Bengio, and Hod Lipson. How transferable are features in deep neural networks? In NIPS, 2014.
|
| 312 |
+
|
| 313 |
+
Rich Zemel, Yu Wu, Kevin Swersky, Toni Pitassi, and Cynthia Dwork. Learning fair representations. In ICML, 2013.
|
| 314 |
+
|
| 315 |
+
Ning Zhang, Manohar Paluri, Yaniv Taigman, Rob Fergus, and Lubomir Bourdev. Beyond frontal faces: Improving person recognition using multiple cues. In CVPR, 2015.
|
| 316 |
+
|
| 317 |
+
Zhifei Zhang, Yang Song, and Hairong Qi. Age progression/regression by conditional adversarial autoencoder. In CVPR, 2017.
|
parse/train/SJeNz04tDS/SJeNz04tDS_content_list.json
ADDED
|
@@ -0,0 +1,1680 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "OVERLEARNING REVEALS SENSITIVE ATTRIBUTES ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
173,
|
| 8 |
+
98,
|
| 9 |
+
789,
|
| 10 |
+
121
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Congzheng Song Cornell University cs2296@cornell.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
145,
|
| 20 |
+
362,
|
| 21 |
+
186
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Vitaly Shmatikov \nCornell Tech \nshmat@cs.cornell.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
496,
|
| 30 |
+
145,
|
| 31 |
+
696,
|
| 32 |
+
186
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
224,
|
| 43 |
+
544,
|
| 44 |
+
239
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "“Overlearning” means that a model trained for a seemingly simple objective implicitly learns to recognize attributes and concepts that are (1) not part of the learning objective, and (2) sensitive from a privacy or bias perspective. For example, a binary gender classifier of facial images also learns to recognize races—even races that are not represented in the training data—and identities. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
256,
|
| 54 |
+
764,
|
| 55 |
+
325
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "We demonstrate overlearning in several vision and NLP models and analyze its harmful consequences. First, inference-time representations of an overlearned model reveal sensitive attributes of the input, breaking privacy protections such as model partitioning. Second, an overlearned model can be “re-purposed” for a different, privacy-violating task even in the absence of the original training data. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
233,
|
| 64 |
+
328,
|
| 65 |
+
764,
|
| 66 |
+
397
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "We show that overlearning is intrinsic for some tasks and cannot be prevented by censoring unwanted attributes. Finally, we investigate where, when, and why overlearning happens during model training. ",
|
| 73 |
+
"bbox": [
|
| 74 |
+
232,
|
| 75 |
+
400,
|
| 76 |
+
766,
|
| 77 |
+
441
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "1 INTRODUCTION ",
|
| 84 |
+
"text_level": 1,
|
| 85 |
+
"bbox": [
|
| 86 |
+
178,
|
| 87 |
+
469,
|
| 88 |
+
336,
|
| 89 |
+
484
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "We demonstrate that representations learned by deep models when training for seemingly simple objectives reveal privacy- and bias-sensitive attributes that are not part of the specified objective. These unintentionally learned concepts are neither finer-, nor coarse-grained versions of the model’s labels, nor statistically correlated with them. We call this phenomenon overlearning. For example, a binary classifier trained to determine the gender of a facial image also learns to recognize races (including races not represented in the training data) and even identities of individuals. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
501,
|
| 99 |
+
825,
|
| 100 |
+
585
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Overlearning has two distinct consequences. First, the model’s inference-time representation of an input reveals the input’s sensitive attributes. For example, a facial recognition model’s representation of an image reveals if two specific individuals appear together in it. Overlearning thus breaks inference-time privacy protections based on model partitioning (Osia et al., 2018; Chi et al., 2018; Wang et al., 2018). Second, we develop a new, transfer learning-based technique to “re-purpose” a model trained for benign task into a model for a different, privacy-violating task. This shows the inadequacy of privacy regulations that rely on explicit enumeration of learned attributes. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
592,
|
| 110 |
+
825,
|
| 111 |
+
689
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Overlearning is intrinsic for some tasks, i.e., it is not possible to prevent a model from learning sensitive attributes. We show that if these attributes are censored (Xie et al., 2017; Moyer et al., 2018), the censored models either fail to learn their specified tasks, or still leak sensitive information. We develop a new de-censoring technique to extract information from censored representations. We also show that overlearned representations enable recognition of sensitive attributes that are not present in the training data. Such attributes cannot be censored using any known technique. This shows the the inadequacy of censoring as a privacy protection technology. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
695,
|
| 121 |
+
825,
|
| 122 |
+
794
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "To analyze where and why overlearning happens, we empirically show how general features emerge in the lower layers of models trained for simple objectives and conjecture an explanation based on the complexity of the training data. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
800,
|
| 132 |
+
825,
|
| 133 |
+
843
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "2 BACKGROUND ",
|
| 140 |
+
"text_level": 1,
|
| 141 |
+
"bbox": [
|
| 142 |
+
176,
|
| 143 |
+
863,
|
| 144 |
+
326,
|
| 145 |
+
880
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 0
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "We focus on supervised deep learning. Given an input $x$ , a model $M$ is trained to predict the target $y$ using a discriminative approach. We represent the model $M = C \\circ E$ as a feature extractor (encoder) $E$ and classifier $C$ . The representation $z = E ( x )$ is passed to $C$ to produce the prediction by modeling $p ( y | z ) = C ( z )$ . Since $E$ can have multiple layers of representation, we use $E _ { l } ( x ) = z _ { l }$ to denote the model’s internal representation at layer $l$ ; $z$ is the representation at the last layer. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
173,
|
| 154 |
+
895,
|
| 155 |
+
823,
|
| 156 |
+
924
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 0
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "",
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
103,
|
| 166 |
+
825,
|
| 167 |
+
146
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "Model partitioning splits the model into a local, on-device part and a remote, cloud-based part to improve scalability of inference (Lane & Georgiev, 2015; Kang et al., 2017) and protect privacy of inputs into the model (Li et al., 2017; Osia et al., 2018; Chi et al., 2018; Wang et al., 2018). For privacy, the local part of the model computes a representation, censors it as described below, and sends it to the cloud part, which computes the model’s output. ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
174,
|
| 176 |
+
152,
|
| 177 |
+
825,
|
| 178 |
+
223
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "Censoring representations. The goal is to encode input $x$ into a representation $z$ that does not reveal unwanted properties of $x$ , yet is expressive enough to predict the task label $y$ . Censoring has been used to achieve transform-invariant representations for computer vision, bias-free representations for fair machine learning, and privacy-preserving representations that hide sensitive attributes. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
174,
|
| 187 |
+
229,
|
| 188 |
+
823,
|
| 189 |
+
286
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "A straightforward censoring approach is based on adversarial training (Goodfellow et al., 2014). It involves a mini-max game between a discriminator $D$ trying to infer $s$ from $z$ during training and an encoder and classifier trying to infer the task label $y$ while minimizing the discriminator’s success (Edwards & Storkey, 2016; Iwasawa et al., 2016; Hamm, 2017; Xie et al., 2017; Li et al., 2018; Coavoux et al., 2018; Elazar & Goldberg, 2018). The game is formulated as: ",
|
| 196 |
+
"bbox": [
|
| 197 |
+
173,
|
| 198 |
+
291,
|
| 199 |
+
825,
|
| 200 |
+
362
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 1
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "equation",
|
| 206 |
+
"img_path": "images/d9e7b114969623f531abe4e3cb4b1f1cc6f532a91b3ba49655c3c1234ce6c9eb.jpg",
|
| 207 |
+
"text": "$$\n\\displaystyle \\operatorname* { m i n } _ { E , C } \\operatorname* { m a x } _ { D } \\mathbb { E } _ { x , y , s } [ \\gamma \\log p ( s | z = E ( x ) ) - \\log p ( y | z = E ( x ) ) ]\n$$",
|
| 208 |
+
"text_format": "latex",
|
| 209 |
+
"bbox": [
|
| 210 |
+
302,
|
| 211 |
+
366,
|
| 212 |
+
694,
|
| 213 |
+
391
|
| 214 |
+
],
|
| 215 |
+
"page_idx": 1
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"type": "text",
|
| 219 |
+
"text": "where $\\gamma$ balances the two log likelihood terms. The inner optimization maximizes $\\log p ( s | z =$ $E ( x ) ,$ ), i.e., the discriminator’s prediction of the sensitive attribute $s$ given a representation $z$ . The outer optimization, on the other hand, trains the encoder and classifier to minimize the log likelihood of the discriminator predicting $s$ and maximize that of predicting the task label $y$ . ",
|
| 220 |
+
"bbox": [
|
| 221 |
+
173,
|
| 222 |
+
395,
|
| 223 |
+
825,
|
| 224 |
+
452
|
| 225 |
+
],
|
| 226 |
+
"page_idx": 1
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"type": "text",
|
| 230 |
+
"text": "Another approach casts censoring as a single information-theoretical objective. The requirement that $z$ not reveal $s$ can be formalized as an independence constraint $z \\perp s$ , but independence is intractable to measure in practice, thus the requirement is relaxed to a constraint on the mutual information between $z$ and $s$ (Osia et al., 2018; Moyer et al., 2018). The overall training objective of censoring $s$ and predicting $y$ from $z$ is formulated as: ",
|
| 231 |
+
"bbox": [
|
| 232 |
+
173,
|
| 233 |
+
458,
|
| 234 |
+
825,
|
| 235 |
+
529
|
| 236 |
+
],
|
| 237 |
+
"page_idx": 1
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"type": "equation",
|
| 241 |
+
"img_path": "images/756f04a113dfa116debb39d5c111b5dbecdeaf3af4dfa4b29e0baf1424acc692.jpg",
|
| 242 |
+
"text": "$$\n\\operatorname* { m a x } I ( z , y ) - \\beta I ( z , x ) - \\lambda I ( z , s )\n$$",
|
| 243 |
+
"text_format": "latex",
|
| 244 |
+
"bbox": [
|
| 245 |
+
382,
|
| 246 |
+
532,
|
| 247 |
+
616,
|
| 248 |
+
549
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 1
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "where $I$ is mutual information and $\\beta , \\lambda$ are the balancing coefficients; $\\beta = 0$ in (Osia et al., 2018). The first two terms $I ( z , y ) - \\beta I ( z , x )$ is the objective of variational information bottleneck (Alemi et al., 2017), the third term is the relaxed independence constraint of $z$ and $s$ . ",
|
| 255 |
+
"bbox": [
|
| 256 |
+
174,
|
| 257 |
+
553,
|
| 258 |
+
826,
|
| 259 |
+
597
|
| 260 |
+
],
|
| 261 |
+
"page_idx": 1
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"type": "text",
|
| 265 |
+
"text": "Intuitively, this objective aims to maximize the information of $y$ in $z$ as per $I ( z , y )$ , forget the information of $x$ in $z$ as per $- \\beta I ( z , x )$ , and remove the information of $s$ in $z$ as per $- \\lambda I ( z , s )$ . This objective has an analytical lower bound (Moyer et al., 2018): ",
|
| 266 |
+
"bbox": [
|
| 267 |
+
176,
|
| 268 |
+
602,
|
| 269 |
+
825,
|
| 270 |
+
645
|
| 271 |
+
],
|
| 272 |
+
"page_idx": 1
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"type": "equation",
|
| 276 |
+
"img_path": "images/9ed3e7bab25923570768e923e8472ffdd792b467a362ccb35adc393523077f48.jpg",
|
| 277 |
+
"text": "$$\n\\mathbb { E } _ { x , s } [ \\mathbb { E } _ { z , y } [ \\log p ( y | z ) ] - ( \\beta + \\lambda ) K L [ q ( z | x ) | | q ( z ) ] - \\lambda \\mathbb { E } _ { z } [ \\log p ( x | z , s ) ] ]\n$$",
|
| 278 |
+
"text_format": "latex",
|
| 279 |
+
"bbox": [
|
| 280 |
+
261,
|
| 281 |
+
648,
|
| 282 |
+
735,
|
| 283 |
+
666
|
| 284 |
+
],
|
| 285 |
+
"page_idx": 1
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"type": "text",
|
| 289 |
+
"text": "where $K L$ is Kullback-Leibler divergence and $\\log p ( x | z , s )$ is the reconstruction likelihood of $x$ given $z$ and $s$ . The conditional distributions $p ( y | z ) = C ( z )$ , $q ( z | x ) = E ( x )$ are modeled as in adversarial training and $p ( x | z , s )$ is modeled with a decoder $R ( z , s ) = p ( x | z , s )$ . ",
|
| 290 |
+
"bbox": [
|
| 291 |
+
174,
|
| 292 |
+
670,
|
| 293 |
+
825,
|
| 294 |
+
713
|
| 295 |
+
],
|
| 296 |
+
"page_idx": 1
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"type": "text",
|
| 300 |
+
"text": "All known censoring techniques require a “blacklist” of attributes to censor, and inputs with these attributes must be represented in the training data. Censoring for fairness is applied to the model’s final layer to make its output independent of the sensitive attributes or satisfy a specific fairness constraint (Zemel et al., 2013; Louizos et al., 2016; Madras et al., 2018; Song et al., 2019). In this paper, we use censoring not for fairness but to demonstrate that models cannot be prevented from learning to recognize sensitive attributes. To show this, we apply censoring to different layers, not just the output. ",
|
| 301 |
+
"bbox": [
|
| 302 |
+
173,
|
| 303 |
+
719,
|
| 304 |
+
825,
|
| 305 |
+
818
|
| 306 |
+
],
|
| 307 |
+
"page_idx": 1
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "text",
|
| 311 |
+
"text": "3 EXPLOITING OVERLEARNING ",
|
| 312 |
+
"text_level": 1,
|
| 313 |
+
"bbox": [
|
| 314 |
+
178,
|
| 315 |
+
837,
|
| 316 |
+
450,
|
| 317 |
+
853
|
| 318 |
+
],
|
| 319 |
+
"page_idx": 1
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"type": "text",
|
| 323 |
+
"text": "We demonstrate two different ways to exploit overlearning in a trained model $M$ . The inferencetime attack (Section 3.1) applies $M$ to an input and uses $M$ ’s representation of that input to predict its sensitive attributes. The model-repurposing attack (Section 3.2) uses $M$ to create another model that, when applied to an input, directly predicts its sensitive attributes. ",
|
| 324 |
+
"bbox": [
|
| 325 |
+
174,
|
| 326 |
+
867,
|
| 327 |
+
823,
|
| 328 |
+
924
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 1
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "Inferring $s$ from representation: ",
|
| 335 |
+
"text_level": 1,
|
| 336 |
+
"bbox": [
|
| 337 |
+
183,
|
| 338 |
+
104,
|
| 339 |
+
387,
|
| 340 |
+
117
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 2
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "Adversarial re-purposing: ",
|
| 347 |
+
"text_level": 1,
|
| 348 |
+
"bbox": [
|
| 349 |
+
511,
|
| 350 |
+
106,
|
| 351 |
+
676,
|
| 352 |
+
118
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 2
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "text",
|
| 358 |
+
"text": "1: Input: Adversary’s auxiliary dataset $\\mathcal { D } _ { \\mathrm { a u x } }$ , \nblack-box oracle $E$ , observed $z ^ { \\star }$ \n2: ${ \\mathcal { D } } _ { \\operatorname { a t t a c k } } \\gets \\{ ( E ( x ) , s ) | ( x , s ) \\in { \\mathcal { D } } _ { \\operatorname { a u x } } \\}$ \n3: Train attack model $M _ { \\mathrm { a t t a c k } }$ on $\\mathcal { D } _ { \\mathrm { a t t a c k } }$ \n4: return prediction $\\hat { s } = M _ { \\mathrm { a t t a c k } } \\mathopen { } \\mathclose \\bgroup \\left( z ^ { \\star } \\aftergroup \\egroup \\right)$ \n1: Input: Model $M$ for the original task, transfer \ndataset $\\mathcal { D } _ { \\mathrm { t r a n s f e r } }$ for the new task \n2: Build $M _ { \\mathrm { t r a n s f e r } } = C _ { \\mathrm { t r a n s f e r } } \\circ E _ { l }$ on layer $l$ \n3: Fine-tune $M _ { \\mathrm { t r a n s f e r } }$ on Dtransfer \n4: return transfer model Mtransfer ",
|
| 359 |
+
"bbox": [
|
| 360 |
+
187,
|
| 361 |
+
119,
|
| 362 |
+
486,
|
| 363 |
+
184
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 2
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "text",
|
| 369 |
+
"text": "",
|
| 370 |
+
"bbox": [
|
| 371 |
+
516,
|
| 372 |
+
119,
|
| 373 |
+
812,
|
| 374 |
+
184
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 2
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "text",
|
| 380 |
+
"text": "Algorithm 1 De-censoring representations ",
|
| 381 |
+
"text_level": 1,
|
| 382 |
+
"bbox": [
|
| 383 |
+
178,
|
| 384 |
+
229,
|
| 385 |
+
455,
|
| 386 |
+
244
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 2
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"text": "1: Input: Auxiliary dataset $\\mathcal { D } _ { \\mathrm { a u x } }$ , black-box oracle $E$ , observed representation $z ^ { \\star }$ \n2: Train auxiliary model $M _ { \\mathrm { a u x } } = E _ { \\mathrm { a u x } } \\circ C _ { \\mathrm { a u x } }$ on $\\mathcal { D } _ { \\mathrm { a u x } }$ \n3: Initialize transform model $T$ , inference attack model $M _ { \\mathrm { a t t a c k } }$ \n4: for each training iteration do \n5: Sample a batch of data $( x , s )$ from $\\mathcal { D } _ { \\mathrm { a u x } }$ and compute $z = E ( x )$ , $z _ { \\mathrm { a u x } } = E _ { \\mathrm { a u x } } ( x )$ \n6: Update $T$ on the batch of $\\left( z , z _ { \\mathrm { a u x } } \\right)$ with loss $| | T ( \\bar { z } ) - z _ { \\mathrm { a u x } } | | _ { 2 } ^ { 2 }$ \n7: Update $M _ { \\mathrm { a t t a c k } }$ on the batch of $( T ( z ) , s )$ with cross-entropy loss \n8: end for \n9: return prediction $\\hat { s } = M _ { \\mathrm { a t t a c k } } ( T ( z ^ { \\star } ) )$ ",
|
| 393 |
+
"bbox": [
|
| 394 |
+
178,
|
| 395 |
+
250,
|
| 396 |
+
696,
|
| 397 |
+
367
|
| 398 |
+
],
|
| 399 |
+
"page_idx": 2
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "text",
|
| 403 |
+
"text": "3.1 INFERRING SENSITIVE ATTRIBUTES FROM REPRESENTATION ",
|
| 404 |
+
"text_level": 1,
|
| 405 |
+
"bbox": [
|
| 406 |
+
176,
|
| 407 |
+
395,
|
| 408 |
+
629,
|
| 409 |
+
409
|
| 410 |
+
],
|
| 411 |
+
"page_idx": 2
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"type": "text",
|
| 415 |
+
"text": "We measure the leakage of sensitive properties from the representations of overlearned models via the following attack. Suppose an adversary can observe the representation $z ^ { \\star }$ of a trained model $M$ on input $x ^ { \\star }$ at inference time but cannot observe $x ^ { \\star }$ directly. This scenario arises in practice when model evaluation is partitioned in order to protect privacy of inputs—see Section 2. The adversary wants to infer some property $s$ of $x ^ { \\star }$ that is not part of the task label $y$ . ",
|
| 416 |
+
"bbox": [
|
| 417 |
+
174,
|
| 418 |
+
420,
|
| 419 |
+
825,
|
| 420 |
+
489
|
| 421 |
+
],
|
| 422 |
+
"page_idx": 2
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"type": "text",
|
| 426 |
+
"text": "We assume that the adversary has an auxiliary set $\\mathcal { D } _ { \\mathrm { a u x } }$ of labeled $( x , s )$ pairs and black-box oracle $E$ to compute the corresponding $E ( x )$ . The purpose of $\\mathcal { D } _ { \\mathrm { a u x } }$ is to help the adversary recognize the property of interest in the model’s representations; it need not be drawn from the same dataset as $x ^ { \\star }$ . The adversary uses supervised learning on the $( E ( x ) , s )$ pairs to train an attack model $M _ { \\mathrm { a t t a c k } }$ . At inference time, the adversary predicts $\\hat { s }$ from the observed $z ^ { \\star }$ as $M _ { \\mathrm { a t t a c k } } ( z ^ { \\star } )$ . ",
|
| 427 |
+
"bbox": [
|
| 428 |
+
174,
|
| 429 |
+
497,
|
| 430 |
+
825,
|
| 431 |
+
568
|
| 432 |
+
],
|
| 433 |
+
"page_idx": 2
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"type": "text",
|
| 437 |
+
"text": "De-censoring. If the representation $z$ is “censored” (see Section 2) to reduce the amount of information it reveals about $s$ , the direct inference attack may not succeed. We develop a new, learning-based de-censoring approach (see Algorithm 1) to convert censored representations into a different form that leaks more information about the property of interest. The adversary trains $M _ { \\mathrm { a u x } }$ on $\\mathcal { D } _ { \\mathrm { a u x } }$ to predict $s$ from $x$ , then transforms $z$ into the input features of $M _ { \\mathrm { a u x } }$ . ",
|
| 438 |
+
"bbox": [
|
| 439 |
+
173,
|
| 440 |
+
573,
|
| 441 |
+
825,
|
| 442 |
+
643
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 2
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "We treat de-censoring as an optimization problem with a feature space $L _ { 2 }$ loss $\\lvert \\lvert T ( z ) - z _ { \\mathrm { a u x } } \\rvert \\rvert _ { 2 } ^ { 2 }$ , where $T$ is the transformer that the adversary wants to learn and ${ \\cal Z } _ { \\mathrm { a u x } }$ is the uncensored representation from $M _ { \\mathrm { a u x } }$ . Training with a feature-space loss has been proposed for synthesizing more natural images by matching them with real images (Dosovitskiy & Brox, 2016; Nguyen et al., 2016). In our case, we match censored and uncensored representations. The adversary can then use $T ( z )$ as an uncensored approximation of $z$ to train an inference model $M _ { \\mathrm { a t t a c k } }$ and infer property $s$ as $\\dot { M } _ { \\mathrm { a t t a c k } } ( T ( z ^ { \\star } ) )$ . ",
|
| 449 |
+
"bbox": [
|
| 450 |
+
174,
|
| 451 |
+
650,
|
| 452 |
+
825,
|
| 453 |
+
734
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 2
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "3.2 RE-PURPOSING MODELS TO PREDICT SENSITIVE ATTRIBUTES ",
|
| 460 |
+
"text_level": 1,
|
| 461 |
+
"bbox": [
|
| 462 |
+
176,
|
| 463 |
+
752,
|
| 464 |
+
637,
|
| 465 |
+
765
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 2
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"text": "To re-purpose a model—for example, to convert a model trained for a benign task into a model that predicts a sensitive attribute—we can use features $z _ { l }$ in any layer of $M$ as the feature extractor and connect a new classifier $C _ { \\mathrm { t r a n s f e r } }$ to $E _ { l }$ . The transferred model $M _ { \\mathrm { t r a n s f e r } } = C _ { \\mathrm { t r a n s f e r } } \\circ E _ { l }$ is fine-tuned on another, small dataset $\\mathcal { D } _ { \\mathrm { t r a n s f e r } }$ , which in itself is not sufficient to train an accurate model for the new task. Utilizing features learned by $M$ on the original $\\mathcal { D }$ , $M _ { \\mathrm { t r a n s f e r } }$ can achieve better results than models trained from scratch on $\\mathcal { D } _ { \\mathrm { t r a n s f e r } }$ . ",
|
| 472 |
+
"bbox": [
|
| 473 |
+
174,
|
| 474 |
+
776,
|
| 475 |
+
825,
|
| 476 |
+
862
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 2
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "Feasibility of model re-purposing complicates the application of policies and regulations such as GDPR (EU, 2018). GDPR requires data processors to disclose every purpose of data collection and obtain consent from the users whose data was collected. We show that, given a trained model, it is not possible to determine—nor, consequently, disclose or obtain user consent for—what the model has learned. Learning per se thus cannot be a regulated “purpose” of data collection. Regulators must be aware that even if the original training data has been erased, a model can be re-purposed for a different objective, possibly not envisioned at the time of original data collection. We discuss this further in Section 6. ",
|
| 483 |
+
"bbox": [
|
| 484 |
+
174,
|
| 485 |
+
867,
|
| 486 |
+
823,
|
| 487 |
+
924
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 2
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "table",
|
| 493 |
+
"img_path": "images/ec2abca41aaee7587db672e9255690aae8e64c47fb1ec79d719f80dfb239289e.jpg",
|
| 494 |
+
"table_caption": [
|
| 495 |
+
"Table 1: Summary of datasets and tasks. Cramer’s V captures statistical correlation between $_ y$ and $s$ (0 indicates no correlation and 1 indicates perfectly correlated). "
|
| 496 |
+
],
|
| 497 |
+
"table_footnote": [],
|
| 498 |
+
"table_body": "<table><tr><td>Dataset</td><td>Health</td><td>UTKFace</td><td>FaceScrub</td><td>Places365</td><td>Twitter</td><td>Yelp</td><td>PIPA</td></tr><tr><td>Target y</td><td>CCI</td><td>gender</td><td>gender</td><td>in/outdoor</td><td>age</td><td>review score</td><td>facial IDs</td></tr><tr><td>Attribute s</td><td>age</td><td>race</td><td>facial IDs</td><td> scene type</td><td>author</td><td>author</td><td>IDs together</td></tr><tr><td>Cramer's V</td><td>0.149</td><td>0.035</td><td>0.044</td><td>0.052</td><td>0.134</td><td>0.033</td><td>n/a</td></tr></table>",
|
| 499 |
+
"bbox": [
|
| 500 |
+
179,
|
| 501 |
+
138,
|
| 502 |
+
818,
|
| 503 |
+
207
|
| 504 |
+
],
|
| 505 |
+
"page_idx": 3
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"type": "text",
|
| 509 |
+
"text": "",
|
| 510 |
+
"bbox": [
|
| 511 |
+
174,
|
| 512 |
+
242,
|
| 513 |
+
825,
|
| 514 |
+
297
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 3
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "text",
|
| 520 |
+
"text": "4 EXPERIMENTAL RESULTS ",
|
| 521 |
+
"text_level": 1,
|
| 522 |
+
"bbox": [
|
| 523 |
+
176,
|
| 524 |
+
330,
|
| 525 |
+
418,
|
| 526 |
+
347
|
| 527 |
+
],
|
| 528 |
+
"page_idx": 3
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"type": "text",
|
| 532 |
+
"text": "4.1 DATASETS, TASKS, AND MODELS ",
|
| 533 |
+
"text_level": 1,
|
| 534 |
+
"bbox": [
|
| 535 |
+
176,
|
| 536 |
+
369,
|
| 537 |
+
441,
|
| 538 |
+
383
|
| 539 |
+
],
|
| 540 |
+
"page_idx": 3
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"type": "text",
|
| 544 |
+
"text": "Health is the Heritage Health dataset (Heritage Health Prize) with medical records of over 55,000 patients, binarized into 112 features with age information removed. The task is to predict if Charlson Index (an estimate of patient mortality) is greater than zero; the sensitive attribute is age (binned into 9 ranges). ",
|
| 545 |
+
"bbox": [
|
| 546 |
+
174,
|
| 547 |
+
400,
|
| 548 |
+
825,
|
| 549 |
+
455
|
| 550 |
+
],
|
| 551 |
+
"page_idx": 3
|
| 552 |
+
},
|
| 553 |
+
{
|
| 554 |
+
"type": "text",
|
| 555 |
+
"text": "UTKFace is a set of over 23,000 face images labeled with age, gender, and race (UTKFace; Zhang et al., 2017). We rescaled them into $5 0 \\times 5 0$ RGB pixels. The task is to predict gender; the sensitive attribute is race. ",
|
| 556 |
+
"bbox": [
|
| 557 |
+
174,
|
| 558 |
+
463,
|
| 559 |
+
825,
|
| 560 |
+
503
|
| 561 |
+
],
|
| 562 |
+
"page_idx": 3
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"type": "text",
|
| 566 |
+
"text": "FaceScrub is a set of face images labeled with gender (FaceScrub). Some URLs are expired, but we were able to download 74,000 images for 500 individuals and rescale them into $5 0 \\times 5 0$ RGB pixels. The task is to predict gender; the sensitive attribute is identity. ",
|
| 567 |
+
"bbox": [
|
| 568 |
+
174,
|
| 569 |
+
511,
|
| 570 |
+
825,
|
| 571 |
+
554
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 3
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "Places365 is a set of 1.8 million images labeled with 365 fine-grained scene categories. We use a subset of 73,000 images, 200 per category. The task is to predict whether the scene is indoor or outdoor; the sensitive attribute is the fine-grained scene label. ",
|
| 578 |
+
"bbox": [
|
| 579 |
+
174,
|
| 580 |
+
560,
|
| 581 |
+
825,
|
| 582 |
+
603
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 3
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "Twitter is a set of tweets from the PAN16 dataset (Rangel et al., 2016) labeled with user information. We removed tweets with fewer than 20 tokens and users with fewer than 50 tweets, yielding a dataset of over 46,000 tweets from 151 users with an over 80,000-word vocabulary. The task is to predict the age of the user given a tweet; the sensitive attribute is the author’s identity. ",
|
| 589 |
+
"bbox": [
|
| 590 |
+
174,
|
| 591 |
+
609,
|
| 592 |
+
823,
|
| 593 |
+
665
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 3
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "text",
|
| 599 |
+
"text": "Yelp is a set of Yelp reviews labeled with user identities (Yelp Open Dataset). We removed users with fewer than 1,000 reviews and reviews with more than 200 tokens, yielding a dataset of over 39,000 reviews from 137 users with an over 69,000-word vocabulary. The task is to predict the review score between 1 to 5; the sensitive attribute is the author’s identity. ",
|
| 600 |
+
"bbox": [
|
| 601 |
+
174,
|
| 602 |
+
672,
|
| 603 |
+
825,
|
| 604 |
+
728
|
| 605 |
+
],
|
| 606 |
+
"page_idx": 3
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"type": "text",
|
| 610 |
+
"text": "PIPA is a set of over 60,000 photos of 2,000 individuals gathered from public Flickr photo albums (Piper project page; Zhang et al., 2015). Each image can include one or more individuals. We cropped their head regions using the bounding boxes in the image annotations. The task is to predict the identity given the head region; the sensitive attribute is whether two head regions are from the same photo. ",
|
| 611 |
+
"bbox": [
|
| 612 |
+
173,
|
| 613 |
+
734,
|
| 614 |
+
825,
|
| 615 |
+
805
|
| 616 |
+
],
|
| 617 |
+
"page_idx": 3
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"type": "text",
|
| 621 |
+
"text": "Models. For Health, we use a two-layer fully connected (FC) neural network with 128 and 32 hidden units, respectively, following (Xie et al., 2017; Moyer et al., 2018). For UTKFace and FaceScrub, we use a LeNet (LeCun et al., 1998) variant: three $3 \\times 3$ convolutional and $2 \\times 2$ max-pooling layers with 16, 32, and 64 filters, followed by two FC layers with 128 and 64 hidden units. For Twitter and Yelp, we use text CNN (Kim, 2014). For Places365 and PIPA, we use AlexNet (Krizhevsky et al., 2012) with convolutional layers pre-trained on ImageNet (Deng et al., 2009) and further add a $3 \\times 3$ convolutional layer with 128 filters and $2 \\times 2$ max-pooling followed by two FC layers with 128 and 64 hidden units, respectively. ",
|
| 622 |
+
"bbox": [
|
| 623 |
+
173,
|
| 624 |
+
811,
|
| 625 |
+
825,
|
| 626 |
+
924
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 3
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "table",
|
| 632 |
+
"img_path": "images/cb13b282f8345888fb16f6ff040e94bf590a791b20bf82e22b73d33e8656047c.jpg",
|
| 633 |
+
"table_caption": [
|
| 634 |
+
"Table 2: Accuracy of inference from representations (last FC layer). RAND is random guessing based on majority class labels; BASE is inference from the uncensored representation; ADV from the representation censored with adversarial training; IT from the information-theoretically censored representation. "
|
| 635 |
+
],
|
| 636 |
+
"table_footnote": [],
|
| 637 |
+
"table_body": "<table><tr><td></td><td colspan=\"4\">Acc of predicting target y</td><td colspan=\"4\">Acc of inferring sensitive attribute s</td></tr><tr><td>Dataset</td><td>RAND</td><td>BASE</td><td>ADV</td><td>IT</td><td>RAND</td><td>BASE</td><td>ADV</td><td>IT</td></tr><tr><td>Health</td><td>66.31</td><td>84.33</td><td>80.16</td><td>82.63</td><td>16.00</td><td>32.52</td><td>32.00</td><td>26.60</td></tr><tr><td>UTKFace</td><td>52.27</td><td>90.38</td><td>90.15</td><td>88.15</td><td>42.52</td><td>62.18</td><td>53.28</td><td>53.30</td></tr><tr><td>FaceScrub</td><td>53.53</td><td>98.77</td><td>97.90</td><td>97.66</td><td>1.42</td><td>33.65</td><td>30.23</td><td>10.61</td></tr><tr><td>Places365</td><td>56.16</td><td>91.41</td><td>90.84</td><td>89.82</td><td>1.37</td><td>31.03</td><td>12.56</td><td>2.29</td></tr><tr><td>Twitter</td><td>45.17</td><td>76.22</td><td>57.97</td><td>n/a</td><td>6.93</td><td>38.46</td><td>34.27</td><td>n/a</td></tr><tr><td>Yelp</td><td>42.56</td><td>57.81</td><td>56.79</td><td>n/a</td><td>15.88</td><td>33.09</td><td>27.32</td><td>n/a</td></tr><tr><td>PIPA</td><td>7.67</td><td>77.34</td><td>52.02</td><td>29.64</td><td>68.50</td><td>87.95</td><td>69.96</td><td>82.02</td></tr></table>",
|
| 638 |
+
"bbox": [
|
| 639 |
+
225,
|
| 640 |
+
167,
|
| 641 |
+
767,
|
| 642 |
+
297
|
| 643 |
+
],
|
| 644 |
+
"page_idx": 4
|
| 645 |
+
},
|
| 646 |
+
{
|
| 647 |
+
"type": "text",
|
| 648 |
+
"text": "4.2 INFERRING SENSITIVE ATTRIBUTES FROM REPRESENTATIONS ",
|
| 649 |
+
"text_level": 1,
|
| 650 |
+
"bbox": [
|
| 651 |
+
176,
|
| 652 |
+
332,
|
| 653 |
+
637,
|
| 654 |
+
344
|
| 655 |
+
],
|
| 656 |
+
"page_idx": 4
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"text": "Setup. We use $80 \\%$ of the data for training the target models and $20 \\%$ for evaluation. The size of the adversary’s auxiliary dataset is $50 \\%$ of the training data. Success of the inference attack is measured on the final FC layer’s representation of test data. The baseline is inference from the uncensored representation. We also measure the success of inference against representations censored with $\\gamma = 1 . 0$ for adversarial training and $\\beta = 0 . 0 1 , \\lambda = 0 . 0 0 0 1$ for information-theoretical censoring, following (Xie et al., 2017; Moyer et al., 2018). ",
|
| 661 |
+
"bbox": [
|
| 662 |
+
174,
|
| 663 |
+
359,
|
| 664 |
+
825,
|
| 665 |
+
443
|
| 666 |
+
],
|
| 667 |
+
"page_idx": 4
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "text",
|
| 671 |
+
"text": "For censoring with adversarial training, we simulate the adversary with a two-layer FC neural network with 256 and 128 hidden units. The number of epochs is 50 for censoring with adversarial training, 30 for the other models. We use the Adam optimizer with the learning rate of 0.001 and batch size of 128. For information-theoretical censoring, the model is based on VAE (Kingma & Welling, 2013; Moyer et al., 2018). The encoder $q ( z | x )$ has the same architecture as the CNN models with all convolutional layers. On top of that, the encoder outputs a mean vector and a standard deviation vector to model the random variable $z$ with the re-parameterization trick. The decoder $p ( x | z )$ has three de-convolution layers with up-sampling to map $z$ back to the same shape as the input $x$ . ",
|
| 672 |
+
"bbox": [
|
| 673 |
+
173,
|
| 674 |
+
449,
|
| 675 |
+
825,
|
| 676 |
+
575
|
| 677 |
+
],
|
| 678 |
+
"page_idx": 4
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "text",
|
| 682 |
+
"text": "For our inference model, we use the same architecture as the censoring adversary. For the PIPA inference model, which takes two representations of faces and outputs a binary prediction of whether these faces appear in the same photo, we use two FC layers followed by a bilinear model: $p ( s | z _ { 1 } , z _ { 2 } ) = \\sigma ( h ( z _ { 1 } ) { \\mathrm { \\hat { W } } } h ( z _ { 2 } ) ^ { \\top } )$ , where $z _ { 1 } , z _ { 2 }$ are the two input representations, $h$ is the two FC layers, and $\\sigma$ is the sigmoid function. We train the inference model for 50 epochs with the Adam optimizer, learning rate of 0.001, and batch size of 128. ",
|
| 683 |
+
"bbox": [
|
| 684 |
+
174,
|
| 685 |
+
582,
|
| 686 |
+
825,
|
| 687 |
+
666
|
| 688 |
+
],
|
| 689 |
+
"page_idx": 4
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "text",
|
| 693 |
+
"text": "Results. Table 2 reports the results. When representations are not censored, accuracy of inference from the last-layer representations is much higher than random guessing for all tasks, which means models overlearn even in the higher, task-specific layers. When representations are censored with adversarial training, accuracy drops for both the main and inference tasks. Accuracy of inference is much higher than in (Xie et al., 2017). The latter uses logistic regression, which is weaker than the training-time censoring-adversary network, whereas we use the same architecture for both the training-time and post-hoc adversaries. Information-theoretical censoring reduces accuracy of inference, but also damages main-task accuracy more than adversarial training for almost all models. ",
|
| 694 |
+
"bbox": [
|
| 695 |
+
173,
|
| 696 |
+
672,
|
| 697 |
+
825,
|
| 698 |
+
784
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 4
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "Overlearning can cause a model to recognize even the sensitive attributes that are not represented in the training dataset. Such attributes cannot be censored using any known technique. We trained a UTKFace gender classifier on datasets where all faces are of the same race. We then applied this model to test images with four races (White, Black, Asian, Indian) and attempted to infer the race attribute from the model’s representations. Inference accuracy is $6 1 . 9 5 \\%$ , $6 1 . 9 9 \\%$ , $6 0 . 8 5 \\%$ and $6 0 . 8 1 \\%$ for models trained only on, respectively, White, Black, Asian, and Indian images—almost as good as the $6 2 . 1 8 \\%$ baseline and much higher than random guessing $( 4 2 . 5 2 \\% )$ ). ",
|
| 705 |
+
"bbox": [
|
| 706 |
+
173,
|
| 707 |
+
791,
|
| 708 |
+
825,
|
| 709 |
+
888
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 4
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"text": "Effect of censoring strength. Fig. 2 shows that stronger censoring does not help. On FaceScrub and Twitter with adversarial training, increasing $\\gamma$ damages the model’s accuracy on the main task, while accuracy of inference decreases slightly or remains the same. For UTKFace and Yelp, increasing $\\gamma$ improves accuracy of inference. This may indicate that the simulated “adversary” during adversarial training overpowers the optimization process and censoring defeats itself. ",
|
| 716 |
+
"bbox": [
|
| 717 |
+
174,
|
| 718 |
+
895,
|
| 719 |
+
821,
|
| 720 |
+
924
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 4
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "image",
|
| 726 |
+
"img_path": "images/68d5f5347278f8ca3a5ebe228c048f583261579957dc513fd2dc7032fa89e3c2.jpg",
|
| 727 |
+
"image_caption": [
|
| 728 |
+
"Figure 2: Reduction in accuracy due to censoring. Blue lines are the main task, red lines are the inference of sensitive attributes. First row is adversarial training with different $\\gamma$ values; second and third row is information-theoretical censoring with different $\\beta$ and $\\lambda$ values respectively. "
|
| 729 |
+
],
|
| 730 |
+
"image_footnote": [],
|
| 731 |
+
"bbox": [
|
| 732 |
+
173,
|
| 733 |
+
102,
|
| 734 |
+
826,
|
| 735 |
+
411
|
| 736 |
+
],
|
| 737 |
+
"page_idx": 5
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "table",
|
| 741 |
+
"img_path": "images/0336228e89d0914616174ec83bd57128b9392a491b0732046585a6572afe39ca.jpg",
|
| 742 |
+
"table_caption": [
|
| 743 |
+
"Table 3: Improving inference accuracy with de-censoring. $\\delta$ is the increase from Table 2. "
|
| 744 |
+
],
|
| 745 |
+
"table_footnote": [],
|
| 746 |
+
"table_body": "<table><tr><td>Dataset</td><td>Health</td><td>UTKFace</td><td>FaceScrub</td><td>Places365</td><td>Twitter</td><td>Yelp</td></tr><tr><td>ADV+δ</td><td>32.55 +0.55</td><td>59.38 +6.10</td><td>40.37 +12.24</td><td>19.71 +7.15</td><td>36.55 +2.22</td><td>31.36 +4.04</td></tr><tr><td>IT+δ</td><td>27.05+0.45</td><td>54.31 +1.01</td><td>16.40 +5.79</td><td>3.10 +0.81</td><td>n/a</td><td>n/a</td></tr></table>",
|
| 747 |
+
"bbox": [
|
| 748 |
+
184,
|
| 749 |
+
518,
|
| 750 |
+
810,
|
| 751 |
+
573
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 5
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "text",
|
| 757 |
+
"text": "",
|
| 758 |
+
"bbox": [
|
| 759 |
+
176,
|
| 760 |
+
609,
|
| 761 |
+
823,
|
| 762 |
+
652
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 5
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "For all models with information-theoretical censoring, increasing $\\beta$ reduces the accuracy of inference but can lead to the model not converging on its main task. Increasing $\\lambda$ results in the model not converging on the main task, without affecting the accuracy of inference, on Health, UTKFace and FaceScrub. This seems to contradict the censoring objective, but the reconstruction loss in Equation 2 dominates the other loss terms, which leads to poor divergence between conditional $q ( \\bar { z } | x )$ and $q ( z )$ , i.e., information about $x$ is still retained in $z$ . ",
|
| 769 |
+
"bbox": [
|
| 770 |
+
173,
|
| 771 |
+
659,
|
| 772 |
+
823,
|
| 773 |
+
742
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 5
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "De-censoring. As described in Section 3.1, we developed a new technique to transform censored representations to make inference easier. We first train an auxiliary model on $\\mathcal { D } _ { \\mathrm { a u x } }$ to predict the sensitive attribute from representations, using the same architecture as in the baseline models. The resulting uncensored representations from the last convolutional layer are the target for the decensoring transformations. We use a single-layer fully connected neural network as the transformer and set the number of hidden units to the dimension of the uncensored representation. The inference model operates on top of the transformer network, with the same hyper-parameters as before. ",
|
| 780 |
+
"bbox": [
|
| 781 |
+
173,
|
| 782 |
+
750,
|
| 783 |
+
825,
|
| 784 |
+
847
|
| 785 |
+
],
|
| 786 |
+
"page_idx": 5
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"type": "text",
|
| 790 |
+
"text": "Table 3 shows that de-censoring significantly boosts the accuracy of inference from representations censored with adversarial training. The boost is smaller against information-theoretical censoring because its objective not only censors $z$ with $I ( z , s )$ , but also forgets $x$ with $I ( x , z )$ . On the Health task, there is not much difference since the baseline attack is already similar to the attack on censored representations, leaving little room for improvement. ",
|
| 791 |
+
"bbox": [
|
| 792 |
+
174,
|
| 793 |
+
853,
|
| 794 |
+
823,
|
| 795 |
+
924
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 5
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "table",
|
| 801 |
+
"img_path": "images/6db17898fb876a43fb6b8c4552d86eb0408c4dcaeab3530b8ed97671b808fe6a.jpg",
|
| 802 |
+
"table_caption": [
|
| 803 |
+
"Table 4: Adversarial re-purposing. The values are differences between the accuracy of predicting sensitive attributes using a re-purposed model vs. a model trained from scratch. "
|
| 804 |
+
],
|
| 805 |
+
"table_footnote": [],
|
| 806 |
+
"table_body": "<table><tr><td>|Dtransfer/|D|</td><td>Health</td><td>UTKFace</td><td>FaceScrub</td><td>Places365</td><td>Twitter</td><td>Yelp</td><td>PIPA</td></tr><tr><td>0.02</td><td>-0.57</td><td>4.72</td><td>7.01</td><td>4.42</td><td>12.99</td><td>5.57</td><td>1.33</td></tr><tr><td>0.04</td><td>0.22</td><td>2.70</td><td>15.07</td><td>2.14</td><td>10.87</td><td>3.60</td><td>2.41</td></tr><tr><td>0.06</td><td>-1.21</td><td>2.83</td><td>7.02</td><td>2.06</td><td>10.51</td><td>8.45</td><td>6.50</td></tr><tr><td>0.08</td><td>-0.99</td><td>0.25</td><td>11.80</td><td>3.39</td><td>9.57</td><td>0.33</td><td>4.93</td></tr><tr><td>0.10</td><td>0.35</td><td>2.24</td><td>9.43</td><td>2.86</td><td>7.30</td><td>2.1</td><td>5.89</td></tr></table>",
|
| 807 |
+
"bbox": [
|
| 808 |
+
217,
|
| 809 |
+
141,
|
| 810 |
+
776,
|
| 811 |
+
233
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 6
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "Table 5: The effect of censoring on adversarial re-purposing for FaceScrub with $\\gamma = 0 . 5 , 0 . 7 5 , 1 . 0$ . $\\delta _ { A }$ is the difference in the original-task accuracy (second column) between uncensored and censored models; $\\delta _ { B }$ is the difference in the accuracy of inferring the sensitive attribute (columns 3 to 7) between the models re-purposed from different layers and the model trained from scratch. Negative values mean reduced accuracy. Heatmaps on the right are linear CKA similarities between censored and uncensored representations. Numbers 0 through 4 represent layers conv1, conv2, conv3, fc4, and fc5. For each model censored at layer $i$ $\\mathbf { \\bar { X } }$ -axis), we measure similarity between the censored and uncensored models at layer $j$ (y-axis). ",
|
| 818 |
+
"bbox": [
|
| 819 |
+
173,
|
| 820 |
+
246,
|
| 821 |
+
825,
|
| 822 |
+
358
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 6
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "table",
|
| 828 |
+
"img_path": "images/1761cfab0f1a845bfb5c58d5532fdc53ef42a2dc66a82b8522aac74091b68b09.jpg",
|
| 829 |
+
"table_caption": [],
|
| 830 |
+
"table_footnote": [],
|
| 831 |
+
"table_body": "<table><tr><td>Censored on γ = 0.5</td><td>8A conv1</td><td colspan=\"5\">δB when transferred from</td></tr><tr><td>conv1</td><td>-1.66</td><td>-6.42</td><td>conv2 -4.09</td><td>conv3 -1.65</td><td>fc4 0.46</td><td>fc5 -3.87</td></tr><tr><td>conv2</td><td>-2.87</td><td>0.95</td><td>-1.77</td><td>-2.88</td><td>-1.53</td><td>-2.22</td></tr><tr><td>conv3</td><td>-0.64</td><td>1.49</td><td>1.49</td><td>0.67</td><td>-0.48</td><td>-1.38</td></tr><tr><td>fc4</td><td>-0.16</td><td>2.03</td><td>5.16</td><td>6.73</td><td>6.12</td><td>0.54</td></tr><tr><td>fc5</td><td>0.05</td><td>1.52</td><td>4.53</td><td>7.42</td><td>6.14</td><td>4.53</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>γ = 0.75</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>conv1 conv2</td><td>-4.48</td><td>-7.33</td><td>-5.01</td><td>-1.51</td><td>-7.99</td><td>-7.82</td></tr><tr><td>conv3</td><td>-6.02 -1.90</td><td>0.44</td><td>-7.04</td><td>-5.46</td><td>-5.94</td><td>-5.82</td></tr><tr><td></td><td></td><td>1.32</td><td>1.37</td><td>1.88</td><td>0.74</td><td>-0.67</td></tr><tr><td>fc4 fc5</td><td>0.01</td><td>3.65</td><td>4.56</td><td>5.11</td><td>4.44</td><td>0.91</td></tr><tr><td></td><td>-0.74</td><td>1.54</td><td>3.61</td><td>6.75</td><td>7.18</td><td>4.99</td></tr><tr><td>γ=1</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>conv1</td><td>-45.25</td><td>-7.36</td><td>-3.93</td><td>-2.75</td><td>-4.37</td><td>-2.91</td></tr><tr><td>conv2</td><td>-20.30</td><td>-3.28</td><td>-5.27</td><td>-7.03</td><td>-6.38</td><td>-5.54</td></tr><tr><td>conv3</td><td>-45.20</td><td>-2.13</td><td>-3.06</td><td>-4.48</td><td>-4.05</td><td>-5.18</td></tr><tr><td>fc4</td><td>-0.52</td><td>1.73</td><td>5.19</td><td>4.80</td><td>5.83</td><td>1.84</td></tr><tr><td>fc5</td><td>-0.86</td><td>1.56</td><td>3.55</td><td>5.59</td><td>5.14</td><td>1.97</td></tr></table>",
|
| 832 |
+
"bbox": [
|
| 833 |
+
196,
|
| 834 |
+
377,
|
| 835 |
+
594,
|
| 836 |
+
656
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 6
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "image",
|
| 842 |
+
"img_path": "images/3719b59afccadae3d67568f8a193353da487259eec836bf83762fe3920ddeea0.jpg",
|
| 843 |
+
"image_caption": [],
|
| 844 |
+
"image_footnote": [],
|
| 845 |
+
"bbox": [
|
| 846 |
+
627,
|
| 847 |
+
372,
|
| 848 |
+
839,
|
| 849 |
+
662
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 6
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "text",
|
| 855 |
+
"text": "In summary, these results demonstrate that information about sensitive attributes unintentionally captured by the overlearned representations cannot be suppressed by censoring. ",
|
| 856 |
+
"bbox": [
|
| 857 |
+
173,
|
| 858 |
+
690,
|
| 859 |
+
823,
|
| 860 |
+
719
|
| 861 |
+
],
|
| 862 |
+
"page_idx": 6
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"type": "text",
|
| 866 |
+
"text": "4.3 RE-PURPOSING MODELS TO PREDICT SENSITIVE ATTRIBUTES ",
|
| 867 |
+
"text_level": 1,
|
| 868 |
+
"bbox": [
|
| 869 |
+
174,
|
| 870 |
+
738,
|
| 871 |
+
637,
|
| 872 |
+
751
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 6
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "To demonstrate that overlearned representations can be picked up by a small set of unseen data to create a model for predicting sensitive attributes, we re-purpose uncensored baseline models from Section 4.2 by fine-tuning them on a small $( 2 - 1 0 \\%$ of $\\mathcal { D }$ ) set $\\mathcal { D } _ { \\mathrm { t r a n s f e r } }$ and compare with the models trained from scratch on $\\mathcal { D } _ { \\mathrm { t r a n s f e r } }$ . We fine-tune all models for 50 epochs with batch size of 32; the other hyper-parameters are as in Section 4.2. For all CNN models, we use the trained convolutional layers as the feature extractor and randomly initialize the other layers. Table 4 shows that the re-purposed models always outperform those trained from scratch. FaceScrub and Twitter exhibit the biggest gain. ",
|
| 879 |
+
"bbox": [
|
| 880 |
+
173,
|
| 881 |
+
762,
|
| 882 |
+
825,
|
| 883 |
+
875
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 6
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "Effect of censoring. Previous work only censored the highest layer of the models. Model repurposing can use any layer of the model for transfer learning. Therefore, to prevent re-purposing, inner layers must be censored, too. We perform the first study of inner-layers censoring and measure its effect on both the original and re-purposed tasks. We use FaceScrub for this experiment and apply adversarial training to every layer with different strengths $( \\gamma = 0 . 5 , 0 . 7 5 , 1 . 0 )$ . ",
|
| 890 |
+
"bbox": [
|
| 891 |
+
176,
|
| 892 |
+
882,
|
| 893 |
+
823,
|
| 894 |
+
924
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 6
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "image",
|
| 900 |
+
"img_path": "images/f65fc4068d3991232ab719746e8227b77de78087433df71159ec7115d49f4b23.jpg",
|
| 901 |
+
"image_caption": [
|
| 902 |
+
"Figure 3: Pairwise similarities of layer representations between models for the original task (A) and for predicting a sensitive attribute (B). Numbers 0 through 4 denote layers conv1, conv2, conv3, fc4 and fc5. "
|
| 903 |
+
],
|
| 904 |
+
"image_footnote": [],
|
| 905 |
+
"bbox": [
|
| 906 |
+
173,
|
| 907 |
+
97,
|
| 908 |
+
867,
|
| 909 |
+
276
|
| 910 |
+
],
|
| 911 |
+
"page_idx": 7
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"text": "",
|
| 916 |
+
"bbox": [
|
| 917 |
+
173,
|
| 918 |
+
364,
|
| 919 |
+
821,
|
| 920 |
+
392
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 7
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "Table 5 summarizes the results. Censoring lower layers (conv1 to conv3) blocks adversarial repurposing, at the cost of reducing the model’s accuracy on its original task. Hyper-parameters must be tuned carefully, e.g. when $\\gamma = 1$ , there is a huge drop in the original-task accuracy. ",
|
| 927 |
+
"bbox": [
|
| 928 |
+
174,
|
| 929 |
+
398,
|
| 930 |
+
825,
|
| 931 |
+
441
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 7
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"text": "To further investigate how censoring in one layer affects the representations learned across all layers, we measure per-layer similarity between censored and uncensored models using CKA, linear centered kernel alignment (Kornblith et al., 2019)—see Table 5. When censoring is applied to a specific layer, similarity for that layer is the smallest (values on the diagonal). When censoring lower layers with moderate strength $\\gamma = 0 . 5$ or 0.75), similarity between higher layers is still strong; when censoring higher layers, similarity between lower layers is strong. Therefore, censoring can block adversarial re-purposing from a specific layer, but the adversary can still re-purpose representations in the other layer(s) to obtain an accurate model for predicting sensitive attributes. ",
|
| 938 |
+
"bbox": [
|
| 939 |
+
174,
|
| 940 |
+
448,
|
| 941 |
+
825,
|
| 942 |
+
559
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 7
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"text": "4.4 WHEN, WHERE, AND WHY OVERLEARNING HAPPENS",
|
| 949 |
+
"text_level": 1,
|
| 950 |
+
"bbox": [
|
| 951 |
+
174,
|
| 952 |
+
583,
|
| 953 |
+
578,
|
| 954 |
+
595
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 7
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "text",
|
| 960 |
+
"text": "To investigate when (during training) and where (in which layer) the models overlearn, we use linear CKA similarity (Kornblith et al., 2019) to compare the representations at different epochs of training between models trained for the original task (A) and models trained to predict a sensitive attribute (B). We use UTKFace and FaceScrub for these experiments. ",
|
| 961 |
+
"bbox": [
|
| 962 |
+
174,
|
| 963 |
+
609,
|
| 964 |
+
825,
|
| 965 |
+
665
|
| 966 |
+
],
|
| 967 |
+
"page_idx": 7
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"type": "text",
|
| 971 |
+
"text": "Fig. 3 shows that lower layers of models A and B learn very similar features. This was observed in (Kornblith et al., 2019) for CIFAR-10 and CIFAR-100 models, but those tasks are closely related. In our case, the tasks are entirely different and B reveals the sensitive attribute while A does not. The similar low-level features are learned very early during training. There is little similarity between the low-level features of A and high-level features of B (and vice versa), matching intuition. Interestingly, on FaceScrub even the high-level features are similar between A and B. ",
|
| 972 |
+
"bbox": [
|
| 973 |
+
174,
|
| 974 |
+
672,
|
| 975 |
+
823,
|
| 976 |
+
756
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 7
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "text",
|
| 982 |
+
"text": "We conjecture that one of the reasons for overlearning is structural complexity of the data. Previous work theoretically showed that over-parameterized neural networks favor simple solutions on structured data when optimized with SGD, where structure is quantified as the number of distributions (e.g., images from different identities) within each class in the target task (Li & Liang, 2018), i.e., the fewer distributions, the more structured the data. For data generated from more complicated distributions, networks learn more complex solutions, leading to the emergence of features that are much more general than the learning objective and, consequently, overlearning. ",
|
| 983 |
+
"bbox": [
|
| 984 |
+
174,
|
| 985 |
+
763,
|
| 986 |
+
823,
|
| 987 |
+
861
|
| 988 |
+
],
|
| 989 |
+
"page_idx": 7
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"type": "text",
|
| 993 |
+
"text": "Fig. 4 shows that the representations of a gender classifier trained on the faces from 50 individuals are closer to the random initialization than the representations trained on the faces from 500 individuals (the hyper-parameters and the total number of training examples are the same in both cases). More complex training data thus results in more complex representations for the same objective. ",
|
| 994 |
+
"bbox": [
|
| 995 |
+
174,
|
| 996 |
+
867,
|
| 997 |
+
823,
|
| 998 |
+
924
|
| 999 |
+
],
|
| 1000 |
+
"page_idx": 7
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"type": "image",
|
| 1004 |
+
"img_path": "images/3d71cf94d52b1cdc93f46ed05951b3cdad8fb3ec4a7f2a7f1f9adbc376ed148c.jpg",
|
| 1005 |
+
"image_caption": [
|
| 1006 |
+
"Figure 4: Similarity of layer representations of a partially trained gender classifier to a randomly initialized model before training. Models are trained on FaceScrub using $5 0 \\mathrm { I D s }$ (blue line) and 500 IDs (red line). "
|
| 1007 |
+
],
|
| 1008 |
+
"image_footnote": [],
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
181,
|
| 1011 |
+
102,
|
| 1012 |
+
816,
|
| 1013 |
+
243
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 8
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "5 RELATED WORK ",
|
| 1020 |
+
"text_level": 1,
|
| 1021 |
+
"bbox": [
|
| 1022 |
+
176,
|
| 1023 |
+
330,
|
| 1024 |
+
344,
|
| 1025 |
+
347
|
| 1026 |
+
],
|
| 1027 |
+
"page_idx": 8
|
| 1028 |
+
},
|
| 1029 |
+
{
|
| 1030 |
+
"type": "text",
|
| 1031 |
+
"text": "Prior work studied transferability of representations only between closely related tasks. Transferability of features between ImageNet models decreases as the distance between the base and target tasks grows (Yosinski et al., 2014), and performance of tasks is correlated to their distance from the source task (Azizpour et al., 2015). CNN models trained to distinguish coarse classes also distinguish their subsets (Huh et al., 2016). By contrast, we show that models trained for simple tasks implicitly learn privacy-sensitive concepts unrelated to the labels of the original task. Other than an anecdotal mention in the acknowledgments paragraph of (Kim et al., 2017) that logit-layer activations leak non-label concepts, this phenomenon has never been described in the research literature. ",
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
174,
|
| 1034 |
+
366,
|
| 1035 |
+
825,
|
| 1036 |
+
478
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 8
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "text",
|
| 1042 |
+
"text": "Gradient updates revealed by participants in distributed learning leak information about individual training batches that is uncorrelated with the learning objective (Melis et al., 2019). We show that overlearning is a generic problem in (fully trained) models, helping explain these observations. ",
|
| 1043 |
+
"bbox": [
|
| 1044 |
+
176,
|
| 1045 |
+
484,
|
| 1046 |
+
825,
|
| 1047 |
+
526
|
| 1048 |
+
],
|
| 1049 |
+
"page_idx": 8
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "text",
|
| 1053 |
+
"text": "There is a large body of research on learning disentangled representations (Bengio et al., 2013; Locatello et al., 2019). The goal is to separate the underlying explanatory factors in the representation so that it contains all information about the input in an interpretable structure. State-of-the-art approaches use variational autoencoders (Kingma & Welling, 2013) and their variants to learn disentangled representations in an unsupervised fashion (Higgins et al., 2017; Kumar et al., 2018; Kim & Mnih, 2018; Chen et al., 2018). By contrast, overlearning means that representations learned during supervised training for one task implicitly and automatically enable another task—without disentangling the representation on purpose during training. ",
|
| 1054 |
+
"bbox": [
|
| 1055 |
+
174,
|
| 1056 |
+
534,
|
| 1057 |
+
825,
|
| 1058 |
+
645
|
| 1059 |
+
],
|
| 1060 |
+
"page_idx": 8
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "text",
|
| 1064 |
+
"text": "Work on censoring representations aims to suppress sensitive demographic attributes and identities in the model’s output for fairness and privacy. Techniques include adversarial training (Edwards & Storkey, 2016), which has been applied to census and health records (Xie et al., 2017), text (Li et al., 2018; Coavoux et al., 2018; Elazar & Goldberg, 2018), images (Hamm, 2017) and sensor data of wearables (Iwasawa et al., 2016). An alternative approach is to minimize mutual information between the representation and the sensitive attribute (Moyer et al., 2018; Osia et al., 2018). Neither approach can prevent overlearning, except at the cost of destroying the model’s accuracy. Furthermore, these techniques cannot censor attributes that are not represented in the training data. We show that overlearned models recognize such attributes, too. ",
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
174,
|
| 1067 |
+
651,
|
| 1068 |
+
825,
|
| 1069 |
+
777
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 8
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "6 CONCLUSIONS ",
|
| 1076 |
+
"text_level": 1,
|
| 1077 |
+
"bbox": [
|
| 1078 |
+
176,
|
| 1079 |
+
804,
|
| 1080 |
+
328,
|
| 1081 |
+
820
|
| 1082 |
+
],
|
| 1083 |
+
"page_idx": 8
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"type": "text",
|
| 1087 |
+
"text": "We demonstrated that models trained for seemingly simple tasks implicitly learn concepts that are not represented in the objective function. In particular, they learn to recognize sensitive attributes, such as race and identity, that are statistically orthogonal to the objective. The failure of censoring to suppress these attributes and the similarity of learned representations across uncorrelated tasks suggest that overlearning may be intrinsic, i.e., learning for some objectives may not be possible without recognizing generic low-level features that enable other tasks, including inference of sensitive attributes. For example, there may not exist a set of features that enables a model to accurately determine the gender of a face but not its race or identity. ",
|
| 1088 |
+
"bbox": [
|
| 1089 |
+
174,
|
| 1090 |
+
840,
|
| 1091 |
+
825,
|
| 1092 |
+
924
|
| 1093 |
+
],
|
| 1094 |
+
"page_idx": 8
|
| 1095 |
+
},
|
| 1096 |
+
{
|
| 1097 |
+
"type": "text",
|
| 1098 |
+
"text": "",
|
| 1099 |
+
"bbox": [
|
| 1100 |
+
171,
|
| 1101 |
+
103,
|
| 1102 |
+
823,
|
| 1103 |
+
132
|
| 1104 |
+
],
|
| 1105 |
+
"page_idx": 9
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"type": "text",
|
| 1109 |
+
"text": "This is a challenge for regulations such as GDPR that aim to control the purposes and uses of machine learning technologies. To protect privacy and ensure certain forms of fairness, users and regulators may desire that models not learn some features and attributes. If overlearning is intrinsic, it may not be technically possible to enumerate, let alone control, what models are learning. Therefore, regulators should focus on ensuring that models are applied in a way that respects privacy and fairness, while acknowledging that they may still recognize and use sensitive attributes. ",
|
| 1110 |
+
"bbox": [
|
| 1111 |
+
174,
|
| 1112 |
+
138,
|
| 1113 |
+
825,
|
| 1114 |
+
222
|
| 1115 |
+
],
|
| 1116 |
+
"page_idx": 9
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"type": "text",
|
| 1120 |
+
"text": "Acknowledgments. This research was supported in part by NSF grants 1611770, 1704296, and 1916717, the generosity of Eric and Wendy Schmidt by recommendation of the Schmidt Futures program, and a Google Faculty Research Award. ",
|
| 1121 |
+
"bbox": [
|
| 1122 |
+
176,
|
| 1123 |
+
229,
|
| 1124 |
+
823,
|
| 1125 |
+
271
|
| 1126 |
+
],
|
| 1127 |
+
"page_idx": 9
|
| 1128 |
+
},
|
| 1129 |
+
{
|
| 1130 |
+
"type": "text",
|
| 1131 |
+
"text": "REFERENCES ",
|
| 1132 |
+
"text_level": 1,
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
176,
|
| 1135 |
+
292,
|
| 1136 |
+
285,
|
| 1137 |
+
308
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 9
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "text",
|
| 1143 |
+
"text": "Alexander A. Alemi, Ian Fischer, Joshua V. Dillon, and Kevin Murphy. Deep variational information bottleneck. In ICLR, 2017. ",
|
| 1144 |
+
"bbox": [
|
| 1145 |
+
174,
|
| 1146 |
+
316,
|
| 1147 |
+
823,
|
| 1148 |
+
344
|
| 1149 |
+
],
|
| 1150 |
+
"page_idx": 9
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"type": "text",
|
| 1154 |
+
"text": "Hossein Azizpour, Ali Sharif Razavian, Josephine Sullivan, Atsuto Maki, and Stefan Carlsson. From generic to specific deep representations for visual recognition. In CVPR Workshops, 2015. ",
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
173,
|
| 1157 |
+
354,
|
| 1158 |
+
823,
|
| 1159 |
+
383
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 9
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "text",
|
| 1165 |
+
"text": "Yoshua Bengio, Aaron Courville, and Pascal Vincent. Representation learning: A review and new perspectives. PAMI, 2013. ",
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
173,
|
| 1168 |
+
392,
|
| 1169 |
+
821,
|
| 1170 |
+
422
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 9
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "Tian Qi Chen, Xuechen Li, Roger B Grosse, and David K Duvenaud. Isolating sources of disentanglement in variational autoencoders. In NIPS, 2018. ",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
174,
|
| 1179 |
+
431,
|
| 1180 |
+
820,
|
| 1181 |
+
462
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 9
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "Jianfeng Chi, Emmanuel Owusu, Xuwang Yin, Tong Yu, William Chan, Patrick Tague, and Yuan Tian. Privacy partitioning: Protecting user data during the deep learning inference phase. arXiv:1812.02863, 2018. ",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
174,
|
| 1190 |
+
469,
|
| 1191 |
+
823,
|
| 1192 |
+
513
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 9
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "Maximin Coavoux, Shashi Narayan, and Shay B. Cohen. Privacy-preserving neural representations of text. In EMNLP, 2018. ",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
173,
|
| 1201 |
+
522,
|
| 1202 |
+
823,
|
| 1203 |
+
553
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 9
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. In CVPR, 2009. ",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
174,
|
| 1212 |
+
560,
|
| 1213 |
+
823,
|
| 1214 |
+
590
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 9
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "Alexey Dosovitskiy and Thomas Brox. Generating images with perceptual similarity metrics based on deep networks. In NIPS, 2016. ",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
176,
|
| 1223 |
+
599,
|
| 1224 |
+
823,
|
| 1225 |
+
630
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 9
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "Harrison Edwards and Amos J. Storkey. Censoring representations with an adversary. In ICLR, 2016. ",
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
173,
|
| 1234 |
+
638,
|
| 1235 |
+
825,
|
| 1236 |
+
667
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 9
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "Yanai Elazar and Yoav Goldberg. Adversarial removal of demographic attributes from text data. In EMNLP, 2018. ",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
173,
|
| 1245 |
+
676,
|
| 1246 |
+
825,
|
| 1247 |
+
707
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 9
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "EU. General Data Protection Regulation. https://en.wikipedia.org/wiki/General_ Data_Protection_Regulation, 2018. ",
|
| 1254 |
+
"bbox": [
|
| 1255 |
+
173,
|
| 1256 |
+
717,
|
| 1257 |
+
825,
|
| 1258 |
+
746
|
| 1259 |
+
],
|
| 1260 |
+
"page_idx": 9
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "text",
|
| 1264 |
+
"text": "FaceScrub. http://vintage.winklerbros.net/facescrub.html, 2014. ",
|
| 1265 |
+
"bbox": [
|
| 1266 |
+
174,
|
| 1267 |
+
755,
|
| 1268 |
+
740,
|
| 1269 |
+
770
|
| 1270 |
+
],
|
| 1271 |
+
"page_idx": 9
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"type": "text",
|
| 1275 |
+
"text": "Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, 2014. ",
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
171,
|
| 1278 |
+
779,
|
| 1279 |
+
823,
|
| 1280 |
+
809
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 9
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "Jihun Hamm. Minimax filter: Learning to preserve privacy from inference attacks. JMLR, 18(129): 1–31, 2017. ",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
173,
|
| 1289 |
+
818,
|
| 1290 |
+
823,
|
| 1291 |
+
847
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 9
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "text",
|
| 1297 |
+
"text": "Heritage Health Prize. https://www.kaggle.com/c/hhp, 2012. ",
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
173,
|
| 1300 |
+
857,
|
| 1301 |
+
645,
|
| 1302 |
+
872
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 9
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-VAE: Learning basic visual concepts with a constrained variational framework. In ICLR, 2017. ",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
176,
|
| 1311 |
+
882,
|
| 1312 |
+
825,
|
| 1313 |
+
924
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 9
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "Minyoung Huh, Pulkit Agrawal, and Alexei A Efros. What makes ImageNet good for transfer learning? arXiv:1608.08614, 2016. ",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
171,
|
| 1322 |
+
103,
|
| 1323 |
+
823,
|
| 1324 |
+
132
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 10
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "Yusuke Iwasawa, Kotaro Nakayama, Ikuko Yairi, and Yutaka Matsuo. Privacy issues regarding the application of DNNs to activity-recognition using wearables and its countermeasures by use of adversarial training. In IJCAI, 2016. ",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
176,
|
| 1333 |
+
142,
|
| 1334 |
+
823,
|
| 1335 |
+
185
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 10
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "Yiping Kang, Johann Hauswald, Cao Gao, Austin Rovinski, Trevor Mudge, Jason Mars, and Lingjia Tang. Neurosurgeon: Collaborative intelligence between the cloud and mobile edge. In ASPLOS, 2017. ",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
174,
|
| 1344 |
+
194,
|
| 1345 |
+
826,
|
| 1346 |
+
237
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 10
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "Been Kim, Martin Wattenberg, Justin Gilmer, Carrie Cai, James Wexler, Fernanda Viegas, and Rory Sayres. Interpretability beyond feature attribution: Quantitative testing with concept activation vectors (TCAV). arXiv:1711.11279, 2017. ",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
174,
|
| 1355 |
+
247,
|
| 1356 |
+
825,
|
| 1357 |
+
291
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 10
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"text": "Hyunjik Kim and Andriy Mnih. Disentangling by factorising. In ICML, 2018. ",
|
| 1364 |
+
"bbox": [
|
| 1365 |
+
173,
|
| 1366 |
+
300,
|
| 1367 |
+
687,
|
| 1368 |
+
316
|
| 1369 |
+
],
|
| 1370 |
+
"page_idx": 10
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "text",
|
| 1374 |
+
"text": "Yoon Kim. Convolutional neural networks for sentence classification. In EMNLP, 2014. ",
|
| 1375 |
+
"bbox": [
|
| 1376 |
+
169,
|
| 1377 |
+
325,
|
| 1378 |
+
751,
|
| 1379 |
+
340
|
| 1380 |
+
],
|
| 1381 |
+
"page_idx": 10
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "text",
|
| 1385 |
+
"text": "Diederik P Kingma and Max Welling. Auto-encoding variational Bayes. arXiv:1312.6114, 2013. ",
|
| 1386 |
+
"bbox": [
|
| 1387 |
+
173,
|
| 1388 |
+
351,
|
| 1389 |
+
805,
|
| 1390 |
+
366
|
| 1391 |
+
],
|
| 1392 |
+
"page_idx": 10
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"type": "text",
|
| 1396 |
+
"text": "Simon Kornblith, Mohammad Norouzi, Honglak Lee, and Geoffrey Hinton. Similarity of neural network representations revisited. In ICML, 2019. ",
|
| 1397 |
+
"bbox": [
|
| 1398 |
+
174,
|
| 1399 |
+
376,
|
| 1400 |
+
823,
|
| 1401 |
+
405
|
| 1402 |
+
],
|
| 1403 |
+
"page_idx": 10
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"type": "text",
|
| 1407 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. ImageNet classification with deep convolutional neural networks. In NIPS, 2012. ",
|
| 1408 |
+
"bbox": [
|
| 1409 |
+
171,
|
| 1410 |
+
414,
|
| 1411 |
+
823,
|
| 1412 |
+
444
|
| 1413 |
+
],
|
| 1414 |
+
"page_idx": 10
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "text",
|
| 1418 |
+
"text": "Abhishek Kumar, Prasanna Sattigeri, and Avinash Balakrishnan. Variational inference of disentangled latent concepts from unlabeled observations. In ICLR, 2018. ",
|
| 1419 |
+
"bbox": [
|
| 1420 |
+
169,
|
| 1421 |
+
453,
|
| 1422 |
+
823,
|
| 1423 |
+
483
|
| 1424 |
+
],
|
| 1425 |
+
"page_idx": 10
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "text",
|
| 1429 |
+
"text": "Nicholas D Lane and Petko Georgiev. Can deep learning revolutionize mobile sensing? In HotMobile, 2015. ",
|
| 1430 |
+
"bbox": [
|
| 1431 |
+
173,
|
| 1432 |
+
492,
|
| 1433 |
+
823,
|
| 1434 |
+
521
|
| 1435 |
+
],
|
| 1436 |
+
"page_idx": 10
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "text",
|
| 1440 |
+
"text": "Yann LeCun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to ´ document recognition. Proc. IEEE, 86(11):2278–2324, 1998. ",
|
| 1441 |
+
"bbox": [
|
| 1442 |
+
171,
|
| 1443 |
+
531,
|
| 1444 |
+
823,
|
| 1445 |
+
560
|
| 1446 |
+
],
|
| 1447 |
+
"page_idx": 10
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "text",
|
| 1451 |
+
"text": "Meng Li, Liangzhen Lai, Naveen Suda, Vikas Chandra, and David Z Pan. PrivyNet: A flexible framework for privacy-preserving deep neural network training. arXiv:1709.06161, 2017. ",
|
| 1452 |
+
"bbox": [
|
| 1453 |
+
173,
|
| 1454 |
+
569,
|
| 1455 |
+
821,
|
| 1456 |
+
599
|
| 1457 |
+
],
|
| 1458 |
+
"page_idx": 10
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"type": "text",
|
| 1462 |
+
"text": "Yitong Li, Timothy Baldwin, and Trevor Cohn. Towards robust and privacy-preserving text representations. In ACL, 2018. ",
|
| 1463 |
+
"bbox": [
|
| 1464 |
+
173,
|
| 1465 |
+
608,
|
| 1466 |
+
823,
|
| 1467 |
+
638
|
| 1468 |
+
],
|
| 1469 |
+
"page_idx": 10
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"type": "text",
|
| 1473 |
+
"text": "Yuanzhi Li and Yingyu Liang. Learning overparameterized neural networks via stochastic gradient descent on structured data. In NIPS, 2018. ",
|
| 1474 |
+
"bbox": [
|
| 1475 |
+
173,
|
| 1476 |
+
647,
|
| 1477 |
+
823,
|
| 1478 |
+
678
|
| 1479 |
+
],
|
| 1480 |
+
"page_idx": 10
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"type": "text",
|
| 1484 |
+
"text": "Francesco Locatello, Stefan Bauer, Mario Lucic, Gunnar Raetsch, Sylvain Gelly, Bernhard Scholkopf, and Olivier Bachem. Challenging common assumptions in the unsupervised learn- ¨ ing of disentangled representations. In ICML, 2019. ",
|
| 1485 |
+
"bbox": [
|
| 1486 |
+
173,
|
| 1487 |
+
686,
|
| 1488 |
+
825,
|
| 1489 |
+
729
|
| 1490 |
+
],
|
| 1491 |
+
"page_idx": 10
|
| 1492 |
+
},
|
| 1493 |
+
{
|
| 1494 |
+
"type": "text",
|
| 1495 |
+
"text": "Christos Louizos, Kevin Swersky, Yujia Li, Max Welling, and Richard Zemel. The variational fair autoencoder. In ICLR, 2016. ",
|
| 1496 |
+
"bbox": [
|
| 1497 |
+
171,
|
| 1498 |
+
739,
|
| 1499 |
+
825,
|
| 1500 |
+
768
|
| 1501 |
+
],
|
| 1502 |
+
"page_idx": 10
|
| 1503 |
+
},
|
| 1504 |
+
{
|
| 1505 |
+
"type": "text",
|
| 1506 |
+
"text": "David Madras, Elliot Creager, Toniann Pitassi, and Richard Zemel. Learning adversarially fair and transferable representations. In ICML, 2018. ",
|
| 1507 |
+
"bbox": [
|
| 1508 |
+
171,
|
| 1509 |
+
777,
|
| 1510 |
+
825,
|
| 1511 |
+
808
|
| 1512 |
+
],
|
| 1513 |
+
"page_idx": 10
|
| 1514 |
+
},
|
| 1515 |
+
{
|
| 1516 |
+
"type": "text",
|
| 1517 |
+
"text": "Luca Melis, Congzheng Song, Emiliano De Cristofaro, and Vitaly Shmatikov. Exploiting unintended feature leakage in collaborative learning. In S&P, 2019. ",
|
| 1518 |
+
"bbox": [
|
| 1519 |
+
169,
|
| 1520 |
+
816,
|
| 1521 |
+
825,
|
| 1522 |
+
847
|
| 1523 |
+
],
|
| 1524 |
+
"page_idx": 10
|
| 1525 |
+
},
|
| 1526 |
+
{
|
| 1527 |
+
"type": "text",
|
| 1528 |
+
"text": "Daniel Moyer, Shuyang Gao, Rob Brekelmans, Aram Galstyan, and Greg Ver Steeg. Invariant representations without adversarial training. In NIPS, 2018. ",
|
| 1529 |
+
"bbox": [
|
| 1530 |
+
173,
|
| 1531 |
+
856,
|
| 1532 |
+
821,
|
| 1533 |
+
886
|
| 1534 |
+
],
|
| 1535 |
+
"page_idx": 10
|
| 1536 |
+
},
|
| 1537 |
+
{
|
| 1538 |
+
"type": "text",
|
| 1539 |
+
"text": "Anh Nguyen, Alexey Dosovitskiy, Jason Yosinski, Thomas Brox, and Jeff Clune. Synthesizing the preferred inputs for neurons in neural networks via deep generator networks. In NIPS, 2016. ",
|
| 1540 |
+
"bbox": [
|
| 1541 |
+
174,
|
| 1542 |
+
895,
|
| 1543 |
+
821,
|
| 1544 |
+
924
|
| 1545 |
+
],
|
| 1546 |
+
"page_idx": 10
|
| 1547 |
+
},
|
| 1548 |
+
{
|
| 1549 |
+
"type": "text",
|
| 1550 |
+
"text": "Seyed Ali Osia, Ali Taheri, Ali Shahin Shamsabadi, Minos Katevas, Hamed Haddadi, and Hamid R. R. Rabiee. Deep private-feature extraction. TKDE, 2018. ",
|
| 1551 |
+
"bbox": [
|
| 1552 |
+
171,
|
| 1553 |
+
103,
|
| 1554 |
+
825,
|
| 1555 |
+
132
|
| 1556 |
+
],
|
| 1557 |
+
"page_idx": 11
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "text",
|
| 1561 |
+
"text": "Piper project page. https://people.eecs.berkeley.edu/˜nzhang/piper.html, 2015. ",
|
| 1562 |
+
"bbox": [
|
| 1563 |
+
173,
|
| 1564 |
+
141,
|
| 1565 |
+
823,
|
| 1566 |
+
170
|
| 1567 |
+
],
|
| 1568 |
+
"page_idx": 11
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"type": "text",
|
| 1572 |
+
"text": "Francisco Rangel, Paolo Rosso, Ben Verhoeven, Walter Daelemans, Martin Potthast, and Benno Stein. Overview of the 4th author profiling task at PAN 2016: Cross-genre evaluations. In CEUR Workshop, 2016. ",
|
| 1573 |
+
"bbox": [
|
| 1574 |
+
176,
|
| 1575 |
+
178,
|
| 1576 |
+
823,
|
| 1577 |
+
222
|
| 1578 |
+
],
|
| 1579 |
+
"page_idx": 11
|
| 1580 |
+
},
|
| 1581 |
+
{
|
| 1582 |
+
"type": "text",
|
| 1583 |
+
"text": "Jiaming Song, Pratyusha Kalluri, Aditya Grover, Shengjia Zhao, and Stefano Ermon. Learning controllable fair representations. In AISTATS, 2019. ",
|
| 1584 |
+
"bbox": [
|
| 1585 |
+
173,
|
| 1586 |
+
229,
|
| 1587 |
+
823,
|
| 1588 |
+
260
|
| 1589 |
+
],
|
| 1590 |
+
"page_idx": 11
|
| 1591 |
+
},
|
| 1592 |
+
{
|
| 1593 |
+
"type": "text",
|
| 1594 |
+
"text": "UTKFace. http://aicip.eecs.utk.edu/wiki/UTKFace, 2017. ",
|
| 1595 |
+
"bbox": [
|
| 1596 |
+
174,
|
| 1597 |
+
268,
|
| 1598 |
+
666,
|
| 1599 |
+
284
|
| 1600 |
+
],
|
| 1601 |
+
"page_idx": 11
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"type": "text",
|
| 1605 |
+
"text": "Ji Wang, Jianguo Zhang, Weidong Bao, Xiaomin Zhu, Bokai Cao, and Philip S Yu. Not just privacy: Improving performance of private deep learning in mobile cloud. In KDD, 2018. ",
|
| 1606 |
+
"bbox": [
|
| 1607 |
+
174,
|
| 1608 |
+
291,
|
| 1609 |
+
821,
|
| 1610 |
+
321
|
| 1611 |
+
],
|
| 1612 |
+
"page_idx": 11
|
| 1613 |
+
},
|
| 1614 |
+
{
|
| 1615 |
+
"type": "text",
|
| 1616 |
+
"text": "Qizhe Xie, Zihang Dai, Yulun Du, Eduard H. Hovy, and Graham Neubig. Controllable invariance through adversarial feature learning. In NIPS, 2017. ",
|
| 1617 |
+
"bbox": [
|
| 1618 |
+
173,
|
| 1619 |
+
329,
|
| 1620 |
+
823,
|
| 1621 |
+
359
|
| 1622 |
+
],
|
| 1623 |
+
"page_idx": 11
|
| 1624 |
+
},
|
| 1625 |
+
{
|
| 1626 |
+
"type": "text",
|
| 1627 |
+
"text": "Yelp Open Dataset. https://www.yelp.com/dataset, 2018. ",
|
| 1628 |
+
"bbox": [
|
| 1629 |
+
173,
|
| 1630 |
+
367,
|
| 1631 |
+
627,
|
| 1632 |
+
383
|
| 1633 |
+
],
|
| 1634 |
+
"page_idx": 11
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"type": "text",
|
| 1638 |
+
"text": "Jason Yosinski, Jeff Clune, Yoshua Bengio, and Hod Lipson. How transferable are features in deep neural networks? In NIPS, 2014. ",
|
| 1639 |
+
"bbox": [
|
| 1640 |
+
173,
|
| 1641 |
+
391,
|
| 1642 |
+
823,
|
| 1643 |
+
420
|
| 1644 |
+
],
|
| 1645 |
+
"page_idx": 11
|
| 1646 |
+
},
|
| 1647 |
+
{
|
| 1648 |
+
"type": "text",
|
| 1649 |
+
"text": "Rich Zemel, Yu Wu, Kevin Swersky, Toni Pitassi, and Cynthia Dwork. Learning fair representations. In ICML, 2013. ",
|
| 1650 |
+
"bbox": [
|
| 1651 |
+
173,
|
| 1652 |
+
429,
|
| 1653 |
+
823,
|
| 1654 |
+
458
|
| 1655 |
+
],
|
| 1656 |
+
"page_idx": 11
|
| 1657 |
+
},
|
| 1658 |
+
{
|
| 1659 |
+
"type": "text",
|
| 1660 |
+
"text": "Ning Zhang, Manohar Paluri, Yaniv Taigman, Rob Fergus, and Lubomir Bourdev. Beyond frontal faces: Improving person recognition using multiple cues. In CVPR, 2015. ",
|
| 1661 |
+
"bbox": [
|
| 1662 |
+
169,
|
| 1663 |
+
467,
|
| 1664 |
+
823,
|
| 1665 |
+
496
|
| 1666 |
+
],
|
| 1667 |
+
"page_idx": 11
|
| 1668 |
+
},
|
| 1669 |
+
{
|
| 1670 |
+
"type": "text",
|
| 1671 |
+
"text": "Zhifei Zhang, Yang Song, and Hairong Qi. Age progression/regression by conditional adversarial autoencoder. In CVPR, 2017. ",
|
| 1672 |
+
"bbox": [
|
| 1673 |
+
171,
|
| 1674 |
+
505,
|
| 1675 |
+
825,
|
| 1676 |
+
534
|
| 1677 |
+
],
|
| 1678 |
+
"page_idx": 11
|
| 1679 |
+
}
|
| 1680 |
+
]
|
parse/train/SJeNz04tDS/SJeNz04tDS_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJeNz04tDS/SJeNz04tDS_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r1VGvBcxl/r1VGvBcxl.md
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
| 4 |
+
Department of Computer Science
|
| 5 |
+
University of Illinois at Urbana-Champaign, USA
|
| 6 |
+
mb2@uiuc.edu
|
| 7 |
+
|
| 8 |
+
Iuri Frosio, Stephen Tyree, Jason Clemons, Jan Kautz NVIDIA, USA {ifrosio,styree,jclemons,jkautz}@nvidia.com
|
| 9 |
+
|
| 10 |
+
# ABSTRACT
|
| 11 |
+
|
| 12 |
+
We introduce a hybrid CPU/GPU version of the Asynchronous Advantage ActorCritic (A3C) algorithm, currently the state-of-the-art method in reinforcement learning for various gaming tasks. We analyze its computational traits and concentrate on aspects critical to leveraging the GPU’s computational power. We introduce a system of queues and a dynamic scheduling strategy, potentially helpful for other asynchronous algorithms as well. Our hybrid CPU/GPU version of A3C, based on TensorFlow, achieves a significant speed up compared to a CPU implementation; we make it publicly available to other researchers at https://github.com/NVlabs/GA3C.
|
| 13 |
+
|
| 14 |
+
# 1 INTRODUCTION
|
| 15 |
+
|
| 16 |
+
In the past, the need for task-specific, or even hand-crafted, features limited the application of Reinforcement Learning (RL) in real world problems (Sutton & Barto, 1998). However, the introduction of Deep Q-Learning Networks (DQN) (Mnih et al., 2015) revived the use of Deep Neural Networks (DNNs) as function approximators for value and policy functions, unleashing a rapid series of advancements. Remarkable results include learning to play video games from raw pixels (Bellemare et al., 2016; Lample & Singh Chaplot, 2016) and demonstrating super-human performance on the ancient board game Go (Silver et al., 2016). Research has yielded a variety of effective training formulations and DNN architectures (van Hasselt et al., 2015; Wang et al., 2015), as well as methods to increase parallelism while decreasing the computational cost and memory footprint (Nair et al., 2015; Mnih et al., 2016). In particular, Mnih et al. (2016) achieve state-of-the-art results on many gaming tasks through a novel lightweight, parallel method called Asynchronous Advantage ActorCritic (A3C). When the proper learning rate is used, A3C learns to play an Atari game (Brockman et al., 2016) from raw screen inputs more quickly and efficiently than previous methods: on a 16- core CPU, A3C achieves higher scores than previously published methods run for the same amount of time on a GPU.
|
| 17 |
+
|
| 18 |
+
Our study sets aside many of the learning aspects of recent work and instead delves into the computational issues of deep RL. Computational complexities are numerous, largely centering on a common factor: RL has an inherently sequential aspect, since the training data are generated while learning. The DNN model is constantly queried to guide the actions of agents whose gameplay in turn feeds DNN training. Training batches are commonly small and must be efficiently shepherded from the agents and simulator to the DNN trainer. When using a GPU, the mix of small DNN architectures, small training batch sizes, and contention for the GPU for both inference and training can lead to a severe under-utilization of the computational resources.
|
| 19 |
+
|
| 20 |
+
To systematically investigate these issues, we implement both CPU and GPU versions of A3C in TensorFlow (TF) (Abadi et al., 2015), optimizing each for efficient system utilization and to approximately replicate published scores in the Atari 2600 environment (Brockman et al., 2016). We analyze a variety of “knobs” in the system and demonstrate effective automatic tuning of those during training. Our hybrid CPU/GPU implementation of A3C, named GA3C, generates and consumes training data substantially faster than its CPU counterpart, up to $\sim 6 \times$ faster for small DNNs and $\sim 4 5 \times$ for larger DNNs. While we focus on the A3C architecture, this analysis can be helpful for researchers and framework developers designing the next generation of deep RL methods.
|
| 21 |
+
|
| 22 |
+
# 2 RELATED WORK
|
| 23 |
+
|
| 24 |
+
Recent advances in deep RL have derived from both novel algorithmic approaches and related systems optimizations. Investigation of the algorithmic space seems to be the most common approach among researchers. Deep Q-Learning Networks (DQN) demonstrate a general approach to the learning problem (Mnih et al., 2015), relying heavily on the introduction of an experience replay memory to stabilize the learning procedure. This improves reliability but also increases the computational cost and memory footprint of the algorithm. Inspired by DQN, researchers have proposed more effective learning procedures, achieving faster and more stable convergence: Prioritized DQN (Schaul et al., 2015) makes better use of the replay memory by more frequently selecting frames associated with significant experiences. Double-DQN (van Hasselt et al., 2015) separates the estimate of the value function from the choice of actions (policy), thus reducing the tendency in DQN to be overly optimistic when evaluating its choices. Dueling Double DQN (Wang et al., 2015) goes a step further by explicitly splitting the computation of the value and advantage functions within the network. The presence of the replay memory makes the DQN approaches more suitable for a GPU implementation when compared to other LR methods, but state-of-the-art results are achieved by A3C (Mnih et al., 2016), which does not make use of it.
|
| 25 |
+
|
| 26 |
+
Among systems approaches, AlphaGo (Silver et al., 2016) recently achieved astonishing results through combined algorithmic and hardware specialization. The computational effort is impressive: 40 search threads, 1202 CPUs, and 176 GPUs are used in the distributed version for inference only. Supervised training took around three weeks for the policy network, using 50 GPUs, and another day using the RL approach for refinement. A similar amount of time was required to train the value network. Gorilla DQN (Nair et al., 2015) is a similarly impressive implementation of distributed RL system, achieving a significant improvement over DQN. The system requires 100 concurrent actors on 31 machines, 100 learners and a central parameter server with the network model. This work demonstrates the potential scalability of deep RL algorithms, achieving better results in less time, but with a significantly increased computational load, memory footprint, and cost.
|
| 27 |
+
|
| 28 |
+
# 3 ASYNCHRONOUS ADVANTAGE ACTOR CRITIC (A3C)
|
| 29 |
+
|
| 30 |
+
# 3.1 REINFORCEMENT LEARNING BACKGROUND
|
| 31 |
+
|
| 32 |
+
In standard RL, an agent interacts with an environment over a number of discrete time steps. At each time step $t$ , the agent observes a state $s _ { t }$ and, in the discrete case, selects an action $a _ { t }$ from the set of valid actions. An agent is guided by policy $\pi$ , a function mapping from states $s _ { t }$ to actions $a _ { t }$ . After each action, the agent observes the next state $s _ { t + 1 }$ and receives feedback in the form of a reward $r _ { t }$ . This process continues until the agent reaches a terminal state or time limit, after which the environment is reset and a new episode is played.
|
| 33 |
+
|
| 34 |
+
The goal of learning is to find a policy $\pi$ that maximizes the expected reward. In policy-based modelfree methods, a function approximator such as a neural network computes the policy $\pi ( { a } _ { t } | { s } _ { t } ; \theta )$ , where $\theta$ is the set of parameters of the function. There are many methods for updating $\theta$ based on the rewarascent on $\mathbb { E } [ R _ { t } ]$ eived fr, where $\begin{array} { r } { R _ { t } = \sum _ { i = 0 } ^ { \infty } \gamma ^ { i } r _ { t + i } } \end{array}$ . REINFORCE methods (Williams, 1992) use grais the accumulated reward starting from time step $t$ ientand increasingly discounted at each subsequent step by factor $\gamma \in ( 0 , 1 ]$ .
|
| 35 |
+
|
| 36 |
+
The standard REINFORCE method updates $\theta$ using the gradient $\nabla _ { \theta } \log \pi ( a _ { t } | s _ { t } ; \theta ) R _ { t }$ , which is an unbiased estimator of $\nabla _ { \boldsymbol { \theta } } \mathbb { E } [ R _ { t } ]$ . The variance of the estimator is reduced by subtracting a learned baseline (a function of the state $b _ { t } ( s _ { t } ) )$ and using the gradient $\nabla _ { \theta } \log \pi ( a _ { t } | s _ { t } ; \theta ) \big ( R _ { t } ~ - ~ b _ { t } ( s _ { t } ) \big )$ instead. One common baseline is the value function defined as $V ^ { \pi } ( s _ { t } ) = \mathbb { E } [ R _ { t } | s _ { t } ]$ which is the expected return for following the policy $\pi$ in state $s _ { t }$ . In this approach the policy $\pi$ and the baseline $b _ { t }$ can be viewed as actor and critic in an actor-critic architecture (Sutton $\&$ Barto, 1998).
|
| 37 |
+
|
| 38 |
+
# 3.2 ASYNCHRONOUS ADVANTAGE ACTOR CRITIC (A3C)
|
| 39 |
+
|
| 40 |
+
A3C (Mnih et al., 2016), which achieves state-of-the-art results on many gaming tasks including Atari 2600, uses a single DNN to approximate both the policy and value function. The DNN has two convolutional layers with $1 6 \times 8 \times 8$ filters with a stride of 4, and $3 2 \times 4 \times 4$ filters with a stride of 2, followed by a fully connected layer with 256 units; each hidden layer is followed by a rectifier nonlinearity. The two outputs are a softmax layer which approximates the policy function $\pi \left( a _ { t } | s _ { t } ; \theta \right)$ , and a linear layer to output an estimate of $V \left( s _ { t } ; \theta \right)$ . Multiple agents play concurrently and optimize the DNN through asynchronous gradient descent. Similar to other asynchronous methods, the network weights are stored in a central parameter server (Figure 1a). Agents calculate gradients and send updates to the server after every $t _ { m a x } = 5$ actions, or when a terminal state is reached. After each update, the central server propagates new weights to the agents to guarantee they share a common policy.
|
| 41 |
+
|
| 42 |
+
Two cost functions are associated with the two DNN outputs. For the policy function, this is:
|
| 43 |
+
|
| 44 |
+
$$
|
| 45 |
+
f _ { \pi } \left( \theta \right) = \log \pi \left( a _ { t } | s _ { t } ; \theta \right) \left( R _ { t } - V \left( s _ { t } ; \theta _ { t } \right) \right) + \beta H \left( \pi \left( s _ { t } ; \theta \right) \right) ,
|
| 46 |
+
$$
|
| 47 |
+
|
| 48 |
+
where estima $\theta _ { t }$ are the values of the parameters discounted reward in the time i $\theta$ at time erval fro $t$ , $\begin{array} { r } { R _ { t } = \sum _ { i = 0 } ^ { k - 1 } \gamma ^ { i } r _ { t + i } + \gamma ^ { k } V \left( s _ { t + k } ; \theta _ { t } \right) } \end{array}$ $t$ $t + k$ $k$ $t _ { m a x }$ while $H \left( \pi \left( s _ { t } ; \boldsymbol { \theta } \right) \right)$ is an entropy term, used to favor exploration during the training process. The factor $\beta$ controls the strength of the entropy regularization term. The cost function for the estimated value function is:
|
| 49 |
+
|
| 50 |
+
$$
|
| 51 |
+
f _ { v } \left( \theta \right) = \left( R _ { t } - V \left( s _ { t } ; \theta \right) \right) ^ { 2 } .
|
| 52 |
+
$$
|
| 53 |
+
|
| 54 |
+
Training is performed by collecting the gradients $\nabla \theta$ from both of the cost functions and using the standard non-centered RMSProp algorithm (Tieleman $\&$ Hinton, 2012) as optimization:
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
\begin{array} { l } { g = \alpha g + ( 1 - \alpha ) \Delta \theta ^ { 2 } } \\ { \theta \theta - \eta \Delta \theta / \sqrt { g + \epsilon } . } \end{array}
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
The gradients $g$ can be either shared or separated between agent threads but the shared implementation is known to be more robust (Mnih et al., 2016).
|
| 61 |
+
|
| 62 |
+
The original implementation of A3C (Mnih et al., 2016) uses 16 agents on a 16 core CPU and it takes about four days to learn how to play an Atari game (Brockman et al., 2016). The main reason for using CPU other than GPU, is the inherently sequential nature of RL in general, and A3C in particular. In RL, the training data are generated while learning, which means the training and inference batches are small and GPU is mostly idle during the training, waiting for new data to arrive. Since A3C does not utilize any replay memory, it is completely sequential and therefore a CPU implementation is as fast as a naive GPU implementation.
|
| 63 |
+
|
| 64 |
+
# 4 HYBRID CPU/GPU A3C (GA3C)
|
| 65 |
+
|
| 66 |
+
We propose GA3C, an alternative architecture of A3C, with emphasize on an efficient GPU utilization to increase the number of training data generated and processed per second. We demonstrate that our implementation of GA3C effectively converges significantly faster than our CPU implementation of A3C, achieving the state-of-the-art performance in a shorter time.
|
| 67 |
+
|
| 68 |
+
# 4.1 GA3C ARCHITECTURE
|
| 69 |
+
|
| 70 |
+
The primary components of GA3C (Figure 1b) are a DNN with training and prediction on a GPU, as well as a multi-process, multi-thread CPU architecture with the following components:
|
| 71 |
+
|
| 72 |
+
• Agent is a process interacting with the simulation environment: choosing actions according to the learned policy and gathering experiences for further training. Similar to A3C, multiple concurrent agents run independent instances of the environment. Unlike the original, each agent does not have its own copy of the model. Instead it queues policy requests in a Prediction Queue before each action, and periodically submits a batch of input/reward experiences to a Training Queue; the size of each training batch is typically equal to $t _ { m a x }$ experiences, though it is sometimes smaller for experiences collected at the end of an episode.
|
| 73 |
+
|
| 74 |
+

|
| 75 |
+
Figure 1: Comparison of A3C and GA3C architectures. Agents act concurrently both in A3C and GA3C. In A3C, however, each agent has a replica of the model, whereas in GA3C there is only one GPU instance of the model. In GA3C, agents utilize predictors to query the network for policies while trainers gather experiences for network updates.
|
| 76 |
+
|
| 77 |
+
• Predictor is a thread which dequeues as many prediction requests as are immediately available and batches them into a single inference query to the DNN model on the GPU. When predictions are completed, the predictor returns the requested policy to each respective waiting agent. To hide latency, one or more predictors can act concurrently.
|
| 78 |
+
|
| 79 |
+
• Trainer is a thread which dequeues training batches submitted by agents and submits them to the GPU for model updates. GPU utilization can be increased by grouping training batches among several agents; we found that this generally leads to a more stable convergence, but the convergence speed is reduced when the merged training batches are too large; a compromise is explored in Section 5.3. Multiple trainers may run in parallel to hide latency.
|
| 80 |
+
|
| 81 |
+
Unlike A3C, GA3C maintains only one copy of the DNN model (Fig. 1a and 1b), centralizing predictions and training updates and removing the need for synchronization. Also, in comparison with A3C, agents in GA3C do not compute the gradients themselves. Instead, they send experiences to trainers that update the network on the GPU accordingly. This introduces a potential lag between the generation and consumption of experiences, which we analyze in detail in Sections 4.4 and 5.3.
|
| 82 |
+
|
| 83 |
+
# 4.2 PERFORMANCE METRICS AND TRADE-OFFS
|
| 84 |
+
|
| 85 |
+
The GA3C architecture exposes numerous tradeoffs for tuning its computational efficiency. In general, it is most efficient to transfer data to a GPU in large enough blocks to maximize the usage of the bandwidth between the GPU and CPU. Application performance on the GPU is optimized when the application has large amounts of parallel computations that can hide the latency of fetching data from memory. Thus, we want to maximize the parallel computations the GPU is performing, maximize the size of data transfer to the GPU, and minimize the number of transfers to the GPU. Increasing the number of predictors, $N _ { P }$ , allows faster fetching prediction queries, but leads to smaller prediction batches, resulting in multiple data transfers and overall lower GPU utilization. A larger number of trainers, $N _ { T }$ , potentially leads to more frequent updates to the model, but an overhead is paid when too many trainers occupy the GPU while predictors cannot access it. Lastly, increasing the number of agents, $N _ { A }$ , ideally generates more training experiences while hiding prediction latency. However, we would expect diminishing returns from unnecessary context switching overheads after exceeding some threshold depending on the number of CPU cores.
|
| 86 |
+
|
| 87 |
+
These aspects are well captured by a metric like the Trainings Per Second (TPS), which is the rate at which we remove batches from the training queue. It corresponds to the rate of model updates and it is approximately proportional to the overall learning speed, given a fixed learning rate and training batch size. Another metric is the Predictions Per Second (PPS), the rate of issuing prediction queries from prediction queue, which maps to the combined rate of gameplay among all agents. Notice that in A3C a model update occurs every time an agent plays $t _ { m a x } = 5$ actions (Mnih et al., 2016).
|
| 88 |
+
|
| 89 |
+

|
| 90 |
+
Figure 2: Automatic dynamic adjustment of $N _ { T }$ , $N _ { P }$ , and $N _ { A }$ , to maximize TPS for BOXING (left) and PONG (right), starting from a sub-optimal configuration $( N _ { A } = N _ { T } = N _ { P } = 1 )$ )
|
| 91 |
+
|
| 92 |
+
Hence, in a balanced configuration, $\mathrm { P P S } \approx \mathrm { T P S } \times t _ { m a x }$ . Since each action is repeated four times as in (Mnih et al., 2016), the number of frames per second is $4 \times \mathrm { P P S }$ .
|
| 93 |
+
|
| 94 |
+
Computational aspects are not disconnected from the convergence of the learning algorithm. For instance, employing too many agents will tend to fill the training queue, introducing a significant time delay between agent experiences $( a _ { t } , ~ s _ { t }$ and $R _ { t }$ in Eq. (1)) and the corresponding model updates, possibly threatening model convergence (see Section 4.4). Another example is batching of training data: larger batches improves GPU occupancy by increasing the parallelism. They also decrease the TPS (i.e., the number of model updates per second), increasing the chance that the DNN model used in prediction and to compute the gradient in Eq. (4) are indeed the same model. The consequence (experimentally observed, see Section 5.3) is an increased stability of the learning process but, beyond a certain training batch size, this leads to a reduction in the convergence speed. In short, $N _ { T }$ , $N _ { P }$ , and $N _ { A }$ encapsulate many complex dynamics relating both computational and convergence aspects of the learning procedure. Their effect on the convergence of the learning process has to be measured by analyzing not only TPS but also the learning curves.
|
| 95 |
+
|
| 96 |
+
# 4.3 DYNAMIC ADJUSTMENT OF TRADE-OFFS
|
| 97 |
+
|
| 98 |
+
The setting of $N _ { P }$ , $N _ { T }$ and $N _ { A }$ that maximizes the TPS depends on many aspects such as the computational load of the simulation environment, the size of the DNN, and the available hardware. As a rule of thumb, we found that the number of agents $N _ { A }$ should at least match the available CPU cores, with two predictors and two trainers $N _ { P } = N _ { T } = 2$ . However, this rule hardly generalizes to a large variety of different situations and only occasionally corresponds to the computationally most efficient configuration. Therefore, we propose an annealing process to configure the system dynamically. Every minute, we randomly change $N _ { P }$ , $N _ { T }$ , or $N _ { A }$ by $\pm 1$ , monitoring alterations in TPS to accept or reject the new setting. The optimal configuration is then automatically identified in a reasonable time, for different environments or systems. Figure 2 shows the automatic adjustment procedure finding two different optimal settings for two different games, on the same real system.
|
| 99 |
+
|
| 100 |
+
# 4.4 POLICY LAG IN GA3C
|
| 101 |
+
|
| 102 |
+
At a first sight, GA3C and A3C are different implementations of the same algorithm, but GA3C has a subtle difference which affects the stability of the algorithm. This problem is caused by the latency between the time $t - k$ , when a training example has been generated, and when it is consumed for training, $t$ , essentially changing the gradients to:
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
\nabla _ { \theta } \left[ \log \pi \left( a _ { t - k } | s _ { t - k } ; \theta \right) \left( R _ { t - k } - V \left( s _ { t - k } ; \theta _ { t } \right) \right) + \beta H \left( \pi \left( s _ { t - k } ; \theta \right) \right) \right] .
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
Since the Training Queue is not blocking, the states it contains can be old. The value of the delay $k$ is bounded by the maximum size of the queue and influenced by how the system configuration balances training and prediction rates. In other words, the DNN controller selects the action $a _ { t - k }$ at time $t - k$ ; the corresponding experience lies in a training queue until time $t$ , when a trainer thread pops the element out of the queue to compute the gradient as in Eq. (4). The DNN controller at time $t$ generally differs from the one at time $t - k$ , since trainers can modify the DNN weights at any time. Therefore, the policy and value function $\pi$ and $V$ used to compute the gradient at time $t$ will differ from those used at time $t - k$ to collect the experience, whereas the action used to compute the gradient in Eq. (4) remains $a _ { t - k }$ .
|
| 109 |
+
|
| 110 |
+
This delay can lead to instabilities for two reasons. The first one is the possible generation of very large values in $\log \pi \left( a _ { t - k } | s _ { t - k } ; \theta _ { t } \right)$ . In fact, $\pi \left( a _ { t - k } | s _ { t - k } ; \theta _ { t - k } \right)$ is generally large, since it is the probability of sampled action $a _ { t - k }$ , but over the course of lag $k$ new parameters $\theta _ { t }$ can make $\pi \left( a _ { t - k } | s _ { t - k } ; \theta _ { t } \right)$ very small. In the worst case, the updated probability is zero, generating infinite values in the log and causing optimization to fail. To avoid this, we add a small term $\epsilon > 0$ :
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
\nabla _ { \theta } \left[ \log \left( \pi \left( a _ { t - k } \middle | s _ { t - k } ; \theta \right) + \epsilon \right) \left( R _ { t - k } - V \left( s _ { t - k } ; \theta _ { t } \right) \right) + \beta H \left( \pi \left( s _ { t - k } ; \theta \right) + \epsilon \right) \right] .
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
Beyond fixing the error in the case $\pi = 0$ , this fix also improves the stability of the algorithm and removes the necessity of gradient clipping. In fact, as $\bar { \partial \log ( \pi + \epsilon ) } / \partial \theta \stackrel { - } { = } ( \partial \pi / \partial \theta ) \bar { / } ( \pi + \epsilon ) ,$ $\epsilon$ establishes an upper bound for the multiplicative factor in front of $\partial \pi / \partial \theta$ . A similar term is also added in the entropy computation to avoid a similar explosion. It is important to remember that even A3C suffers from a similar issue. In fact, as the action $a _ { t }$ in Eq. (1) is selected by sampling the output softmax, there is a chance that $\pi ( { a } _ { t } )$ is very small and therefore $\partial \log ( \pi ) / \dot { \partial } \theta$ is large. However, gradient clipping prevents the usage of a gradient with large magnitude in A3C.
|
| 117 |
+
|
| 118 |
+
The second reason for introducing instabilities in GA3C is a generalization of the first one. Since training and predictions are computed with potentially different DNN parameters, the resulting gradient is noisy, and can therefore lead to unreliable updates of the DNN weights. This is different from A3C, where every agent has its own copy of the model and uses it to compute both $\pi$ and $\partial \log ( \pi ) / \partial \theta$ , before synchronizing the DNN model with the other agents.
|
| 119 |
+
|
| 120 |
+
# 5 ANALYSIS
|
| 121 |
+
|
| 122 |
+
We profile the performance of GA3C and in the process seek to better understand the system dynamics of deep RL training on hybrid CPU/GPU systems. Experiments are conducted on the GPUenabled systems described in Table 1 and monitored with CUDA profilers and custom profiling code based on performance counter timing within Python. We present profiling and convergence experiments both with and without automatic adjustment of the number of agents $N _ { A }$ , trainers $N _ { T }$ , and predictors $N _ { P }$ , and without constraints on the size of the prediction and training queues.
|
| 123 |
+
|
| 124 |
+

|
| 125 |
+
Figure 3: TPS of the top three configurations of predictors $N _ { P }$ and trainers $N _ { T }$ for several settings of agents $N _ { A }$ , while learning PONG on System I from Table 1. TPS is normalized by best performance after 16 minutes. Larger DNN models are also shown, as described in the text.
|
| 126 |
+
|
| 127 |
+
# 5.1 EFFECT OF RESOURCE UTILIZATION ON TPS
|
| 128 |
+
|
| 129 |
+
Maximizing training speed. To begin, consider raw training speed as expressed in model update frequency, or trainings per second (TPS). Figure 3 shows TPS on System I in Table 1 for the first 16 minutes of training on PONG. We consider numbers of agents $N _ { A } \dot { \in } \{ 1 6 , 3 2 , 6 4 , 1 2 8 \}$ and plot the top 3 combinations of $N _ { P } , N _ { T } \in \{ 1 , 2 , 4 , 8 , 1 6 \}$ . On this system, increasing $N _ { A }$ yields a higher TPS up to $N _ { A } = 1 2 8$ where diminishing returns are observed, likely due to additional process overhead. The highest consistent TPS on this system is observed with $N _ { A } = 1 2 8$ and $N _ { P } = N _ { T } = 2$ with a speed-up of $\sim 4 \times$ relative to the CPU-only implementation (see Table 2).
|
| 130 |
+
|
| 131 |
+

|
| 132 |
+
Figure 4: The average training queue size (left) and prediction batch size (right) of the top 3 performing configurations of $N _ { P }$ and $N _ { T }$ , for each $N _ { A }$ , with PONG and the System I in Table 1.
|
| 133 |
+
|
| 134 |
+
Table 1: Systems used for profiling and testing.
|
| 135 |
+
|
| 136 |
+
<table><tr><td></td><td>System I</td><td>System II</td><td>System III</td><td>System IV</td></tr><tr><td>Processor (Intel)</td><td>Xeon E5-2640v3 2.60 GHz 16 cores,dual socket</td><td>Core i-3820 3.60 GHz 8cores</td><td>HaswellE5-2698v3 2.30 GHz 16 cores</td><td>Xeon E5-2680v2 2.80 GHz 10 cores</td></tr><tr><td>GPU (NVIDIA)</td><td>Geforce Titan X (Maxwell)</td><td>GeForce 980 (Maxwell)</td><td>Tesla K80 (Kepler)</td><td>Quadro M6000 (Maxwell)</td></tr><tr><td>Software / Profilers</td><td colspan="4">Python 3.5,CUDA 7.5 (I-II)/CUDA 8 (IV), CUDNN v5.1,TensorFlow r0.11 nvprof, nvvp</td></tr></table>
|
| 137 |
+
|
| 138 |
+
GPU utilization and DNN size. The fastest configuration ( $N _ { A } = 1 2 8$ , $N _ { P } = N _ { T } = 2 $ ) for System I in Table 1 has an average GPU utilization time of only $5 6 \%$ , with average and peak occupancy of $7 6 \%$ and $9 8 \%$ , respectively.1 This suggests there is computational capacity for a larger network model. Therefore we profile GA3C on a series of deeper DNN architectures2 to evaluate this hypothesis. Figure 3 shows that TPS drops by only $7 \%$ with a one-layer deeper DNN controller; at the same time, the
|
| 139 |
+
|
| 140 |
+
Table 2: PPS on different systems (Table 1), for small and large DNNs, with CPU and GPU utilization for GA3C.
|
| 141 |
+
|
| 142 |
+
<table><tr><td></td><td></td><td colspan="3">PPS</td><td colspan="2">Utilization (%)</td></tr><tr><td>System</td><td>DNN</td><td>A3C</td><td>GA3C</td><td>Speed up</td><td>CPU</td><td>GPU</td></tr><tr><td rowspan="5">System I</td><td>small</td><td>352</td><td>1361</td><td>4×</td><td>32</td><td>56</td></tr><tr><td>large, stride 4</td><td>113</td><td>1271</td><td>11×</td><td>27</td><td>68</td></tr><tr><td>large,stride 3</td><td>97</td><td>1206</td><td>12×</td><td>27</td><td>77</td></tr><tr><td>large, stride 2</td><td>43</td><td>874</td><td>20×</td><td>26</td><td>82</td></tr><tr><td>large, stride 1</td><td>11</td><td>490</td><td>45×</td><td>17</td><td>90</td></tr><tr><td rowspan="2">System II</td><td>small</td><td>116</td><td>728</td><td>6×</td><td>62</td><td>33</td></tr><tr><td>large, stride 1</td><td>12</td><td>336</td><td>28×</td><td>49</td><td>78</td></tr><tr><td rowspan="2">System III</td><td>small</td><td>300</td><td>1248</td><td>4×</td><td>31</td><td>60</td></tr><tr><td>large, stride 1</td><td>38</td><td>256</td><td>6×</td><td>17</td><td>82</td></tr></table>
|
| 143 |
+
|
| 144 |
+
average GPU utilization and occupancy increase by approximately $1 2 \%$ and $0 . 5 \%$ , respectively. The $7 \%$ drop in TPS is the consequence of the increased depth which forces an additional serial computational on the GPU (and therefore a $1 2 \%$ increase in its utilization). The negligible $0 . 5 \%$ increase in occupancy is likely explained by an efficient management of the computational resources by cuDNN; there is still room available to run additional parallel tasks (or, in other words, a wider DNN) at minimal cost.
|
| 145 |
+
|
| 146 |
+

|
| 147 |
+
Figure 5: Effect of PPS on convergence speed. For each game, four different settings of GA3C are shown, all starting from the same DNN initialization. Numbers on the right show the cumulative number of frames played among all agents for each setting over the course of 3 hours. Configurations playing more frames converge faster. The dynamic configuration method is capable of catching up with the optimal configuration despite starting with a sub-optimal setting, $N _ { T } = N _ { P } = N _ { A } = 1$ .
|
| 148 |
+
|
| 149 |
+
By reducing the stride of the first layer of the DNN (in addition to adding a convolutional layer), we scale DNN size with finer granularity, and we compare FPS between GA3C and our CPU implementation of A3C. Table 2 shows the speed up provided by GA3C increases as the DNN grows. This is mainly due to increasing GPU utilization, as reported in Table 2. With the largest DNN, our CPU implementation achieves $\mathrm { T P S } \approx 1 1$ , which is approximately $4 5 \times$ slower than GA3C. This behavior is consistent across different systems, as shown in Table 2, where the CPU implementation of A3C using the largest DNN with stride 1 is $7 \times$ (System III) to $3 2 \times$ (System I) slower than the small network. Scaling with DNN size is more favorable on a GPU, with a slow down factor of $4 . 9 \times$ in the worst case (System III) and $2 . 2 \times$ in the best case (System II). Further, more recent GPUs (Maxwell architecture) scale better ( $2 . 2 \times$ and $2 . 7 \times$ slow down for Systems I and II) than older GPUs $( 4 . 8 \times$ slow down for the Kepler architecture, System III).
|
| 150 |
+
|
| 151 |
+
Generally speaking, for large DNNs, maximum TPS and FPS are achieved by intensively using the GPU for prediction and training, while the CPU runs the simulation environment and remains mostly idle. In practice, this allows experimenting with larger architectures, which may be particularly important for real world problems, e.g. robotics or autonomous driving (Lillicrap et al., 2015). Moreover, the idle CPU represents an additional computational resource, but such investigation is beyond the scope of this paper.
|
| 152 |
+
|
| 153 |
+
Significant latency. Profiling on System I in Table 1 reveals that the average time spent by an agent waiting for a prediction call to be completed is $1 0 8 \mathrm { m s }$ , only $1 0 \%$ of which is taken by the GPU inference. The remaining $9 0 \%$ is overhead spent accumulating the batch and calling the prediction function in Python. Similarly, for training we find that of the average 11.1ms spent performing a DNN update, $5 9 \%$ is overhead. This seems to suggest that a more optimized implementation (possibly based on a low level language like $\mathrm { C } { + + }$ ) may reduce these overheads, but this investigation remains for future work.
|
| 154 |
+
|
| 155 |
+
Manually balancing components. Agents, predictors, and trainers all share the GPU as a resource; thus balance is important. Figure 3 shows the top three performing configurations of $N _ { P }$ and $N _ { T }$ for different numbers of agents, $N _ { A }$ , with System I in Table 1. A $1 4 \%$ drop in TPS is exhibited between the best and worst depicted configuration, despite the exclusion of all but the top three performers for each number of agents. The best results have 4 or fewer predictor threads, seemingly preventing batches from becoming too small. The $N _ { P } : N _ { T }$ ratios for top performers tend to be $1 : 2 , 1 : 1$ , or $2 : 1$ , whereas higher ratios such as $1 : 8$ and $1 : 4$ are rarely successful, likely due to the implicit dependence of training on prediction speed. However, if the training queue is too full, training calls take more GPU time, thereby throttling prediction speed. This is further confirmed by our experimental finding that TPS and PPS plots track closely. Figure 4 shows training queue size and prediction batch size for the top configurations. In all cases, the training queue stabilizes well below its maximum capacity. Additionally, the fastest configuration has one of the largest average prediction batch sizes, yielding higher GPU utilization.
|
| 156 |
+
|
| 157 |
+
<table><tr><td></td><td colspan="8">Atari Game Scores</td><td colspan="2">Attributes</td></tr><tr><td></td><td>AMIDAR BOXING CENTIPEDE</td><td></td><td></td><td>NAME THISGAME</td><td>PACMANPONG</td><td></td><td>QBERT SEAQUEST</td><td>UP-DOWN</td><td>Time</td><td>System</td></tr><tr><td>Human</td><td>1676</td><td>10</td><td>10322</td><td>6796</td><td>15375</td><td>16 12085</td><td>40426</td><td>9896</td><td></td><td>1</td></tr><tr><td>Random</td><td>6</td><td>-2</td><td>1926</td><td>198</td><td>1748</td><td>-18 272</td><td>216</td><td>533</td><td></td><td>1</td></tr><tr><td>A3C</td><td>264</td><td>60</td><td>3756</td><td>10476</td><td>654</td><td>6 15149</td><td>2355</td><td>74706</td><td>4 days</td><td>CPU</td></tr><tr><td>GA3C</td><td>218</td><td>92</td><td>7386</td><td>5643</td><td>1978</td><td>18 14966</td><td>1706</td><td>8623</td><td>1day</td><td>GPU</td></tr></table>
|
| 158 |
+
|
| 159 |
+
Table 3: Average scores on a subset of Atari games achieved by: a random player (Mnih et al., 2015); a human player (Mnih et al., 2015); A3C after four days of training on a CPU (Mnih et al., 2016); and GA3C after one day of training. For GA3C, we measured the average score on 30 games, each initialized with a random seed.
|
| 160 |
+
|
| 161 |
+
# 5.2 EFFECT OF TPS ON LEARNING SPEED
|
| 162 |
+
|
| 163 |
+
The beneficial effect of an efficient configuration on the training speed is shown in Figure 5. Training with a suboptimal configuration (e.g. $N _ { P } = N _ { T } = N _ { A } = 1$ or $N _ { P } = N _ { T } = 1$ , $N _ { A } = 1 6$ ) leads to a severe underutilization of the GPU, a low TPS, and a slow training process. Using the optimal configuration achieves a much higher score in a shorter period of time, mainly driven by playing more frames, i.e. collecting more experiences, in the same amount of time.
|
| 164 |
+
|
| 165 |
+
Mnih et al. (2016) note that asynchronous methods generally achieve significant speedups from using a greater number of agents, and even report superlinear speedups for asynchronous one-step Q-learning. It is worth noting that optimal configurations for GA3C generally employ a much higher number of agents compared to the CPU counterpart, e.g. the optimal configuration for System I in Table 1 uses 128 agents. This suggests that GPU implementations of asynchronous learning methods may benefit from both a higher TPS and from collecting experiences from a wider number of agents.
|
| 166 |
+
|
| 167 |
+
The learning curve for GA3C with dynamic configuration (Figure 5) tracks closely with the learning curve of the optimal configuration. The total number of frames played is generally slightly lower over the same time due to the search procedure overhead: the configuration is changed once every minute, tending to oscillate around the optimal configuration. Notice also that, in Figure 5, the starting point of the dynamic configuration is $N _ { T } = N _ { P } = N _ { A } = 1$ , which is much slower than the optimal configuration. But scoring performance is nearly identical, indicating that the dynamic method may ease the burden of configuring GA3C on a new system.
|
| 168 |
+
|
| 169 |
+
Table 3 compares scores achieved by A3C on the CPU (as reported in (Mnih et al., 2016)) with the best agent trained by our TensorFlow implementation of GA3C. Unfortunately, a direct speed comparison is infeasible without either the original source code or the average number of frames or training updates per second. However, results in this table do show that after one day of training our open-source implementation can achieve similar scores to A3C after four days of training.
|
| 170 |
+
|
| 171 |
+
Figure 6 shows typical training curves for GA3C on several Atari games as a function of wallclock time. When compared to the training curves reported in Mnih et al. (2016), GA3C shows faster convergence toward the maximum score in a shorter time for certain games such as PONG, convergence towards a better score in a larger amount of time (e.g. QBERT) or, for other games, a slower convergence rate (e.g. BREAKOUT). It has to be noted, however, that data reported by Mnih et al. (2016) are the average learning curves of the top five learners in a set of fifty learners, each with a different learning rate. On the other hand, in Figure 6, we are reporting three different runs for two (not essentially optimal) learning rates, fixed for all the games. This demonstrates some robustness of GA3C with respect to the choice of the learning rate, whereas it is also likely that better learning curves can be obtained using optimized learning rates. A deeper investigation on a large amount of data, potentially facilitated by our release of the GA3C code, may also reveal how peculiarities of each game differently affect the convergence of A3C and GA3C, but this goes beyond the scope of this paper.
|
| 172 |
+
|
| 173 |
+
# 5.3 POLICY LAG, LEARNING STABILITY AND CONVERGENCE SPEED
|
| 174 |
+
|
| 175 |
+
One of the main differences between GA3C and A3C is the asynchronous computation of the forward step (policy $\pi$ ) and the gradients (Eq. (4)) used to update the DNN. Delays between these two operations may introduce noise in the gradients, making the learning process unstable. We experimentally investigated the impact of this asynchrony on the learning process to determine if a synchronization mechanism, which may negatively impact both PPS and TPS, can increase the stability of the algorithm.
|
| 176 |
+
|
| 177 |
+

|
| 178 |
+
Figure 6: Training curves for GA3C on five Atari games. Each training has been performed three times for each of two learning rates (0.0003 and 0.0001) on System IV in Table 1.
|
| 179 |
+
|
| 180 |
+

|
| 181 |
+
Figure 7: Training GA3C with a range of minimum training batch sizes. Increasing the minimum training batch size from 1 to 40 reduces the effect of the policy lag (delay $k$ in Eq. (4)), leading to convergence that is faster and more stable. GA3C achieved the overall best results with a minimum batch size between 20 and 40. Increasing beyond this threshold dramatically reduces convergence speed for some games, especially those inclined to unstable learning curves.
|
| 182 |
+
|
| 183 |
+
In GA3C, each agent generally pushes $t _ { m a x }$ experiences in the training queue. By default, trainers collect a batch of experiences from a single agent from the training queue and send the batch to the GPU to compute gradients, as in Eq. (5). Each time a trainer updates the DNN weights, the remaining experiences in the training queue are no longer in sync with the DNN model. This situation becomes worse when the average length of the training queue is large.
|
| 184 |
+
|
| 185 |
+
By allowing larger training batch sizes, we reduce the number of DNN updates per second (TPS), and consequently diminish the effect of the delay $k$ in Eq. (5). In this way we increase the chance that the collected experiences and the computed gradients are in sync, which improves the stability. Notice that, even if the TPS is lower, the average magnitude of the updates is indeed larger, since we sum the gradients computed over the training batch.
|
| 186 |
+
|
| 187 |
+
In this setting, the optimal training batch size compromises among TPS, the average gradient step magnitude and the training stability. Another factor to be considered is that batching training data potentially leverages the GPU computational capability better by reducing the time devoted to compute the DNN updates while increasing the GPU occupancy during this phase. This gives more GPU time to the predictors, potentially increasing the PPS. However, this advantage tends to disappear when the training batch size is too large and predictors stay idle while the DNN update is computed.
|
| 188 |
+
|
| 189 |
+
Figure 7 compares convergence curves when no minimum size for training batch is compulsory (the default GA3C implementation where gradient updates are computed on a single agent’s batch) and when a minimum training batch size is enforced (combining multiple agent batches into a single gradient update). In the latter case, trainers collect experiences from multiple agents at the same time from the training queue and send them to the GPU for computation of gradients as in Eq. (5). Up to a certain batch size (between 20 and 40, in our experiments), increasing the training batch size stabilizes the learning procedure and generally leads to faster convergence. Some games such as PONG indeed do not suffer from this instability, and the effect of the minimum batch size is less evident in this case. We speculate that a careful selection of the learning rate combined with the proper minimum training batch size may lead to even faster convergence.
|
| 190 |
+
|
| 191 |
+
# 6 CONCLUSION
|
| 192 |
+
|
| 193 |
+
By investigating the computational aspects of our hybrid CPU/GPU implementation of GA3C, we achieve a significant speed up with respect to its CPU counter part. This comes as a result of a flexible system capable of finding a reasonable allocation of the available computational resources. Our approach allows producing and consuming training data at the maximum pace on different systems, or to adapt to temporal changes of the computational load on one system. Despite the fact that we analyze A3C only, most of our findings can be applied to similar RL asynchronous algorithms.
|
| 194 |
+
|
| 195 |
+
We believe that the analysis of the computational aspects of RL algorithms may be a consistent theme in RL in the future, motivating further studies such as this one. The potential benefits of such investigation goes well beyond the computational aspects. For instance, we demonstrate that GA3C scales with the size of the DNN much more efficiently than our CPU implementation of A3C, thus opening the possibility to explore the use of large DNN controllers to solve real world RL problems.
|
| 196 |
+
|
| 197 |
+
By open sourcing GA3C (see https://github.com/NVlabs/GA3C), we allow other researchers to further explore this space, investigate in detail the computational aspects of deep RL algorithms, and test new algorithmic solutions, including strategies for the combined utilization of the CPU and GPU computational resources.
|
| 198 |
+
|
| 199 |
+
# ACKNOWLEDGMENTS
|
| 200 |
+
|
| 201 |
+
We thank Prof. Roy H. Campbell for partially supporting this work.
|
| 202 |
+
|
| 203 |
+
# REFERENCES
|
| 204 |
+
|
| 205 |
+
Mart´ın Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafal Jozefowicz, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mane, Rajat Monga, Sherry Moore, Derek Murray, Chris Olah, ´ Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viegas, Oriol Vinyals, Pete Warden, Martin Watten- ´ berg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL http://tensorflow.org/. Software available from tensorflow.org.
|
| 206 |
+
|
| 207 |
+
M. G. Bellemare, S. Srinivasan, G. Ostrovski, T. Schaul, D. Saxton, and R. Munos. Unifying CountBased Exploration and Intrinsic Motivation. ArXiv e-prints, June 2016.
|
| 208 |
+
|
| 209 |
+
Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym, 2016.
|
| 210 |
+
|
| 211 |
+
G. Lample and D. Singh Chaplot. Playing FPS Games with Deep Reinforcement Learning. ArXiv e-prints, September 2016.
|
| 212 |
+
|
| 213 |
+
Timothy P. Lillicrap, Jonathan J. Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. CoRR, abs/1509.02971, 2015. URL http://arxiv.org/abs/1509.02971.
|
| 214 |
+
|
| 215 |
+
V. Mnih, A. Puigdomenech Badia, M. Mirza, A. Graves, T. P. Lillicrap, T. Harley, D. Silver, and K. Kavukcuoglu. Asynchronous Methods for Deep Reinforcement Learning. ArXiv preprint arXiv:1602.01783, 2016.
|
| 216 |
+
|
| 217 |
+
Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Bellemare, Alex Graves, Martin Riedmiller, Andreas K. Fidjeland, Georg Ostrovski, Stig Petersen, Charles Beattie, Amir Sadik, Ioannis Antonoglou, Helen King, Dharshan Kumaran, Daan Wierstra, Shane Legg, and Demis Hassabis. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 02 2015. URL http://dx.doi.org/10.1038/ nature14236.
|
| 218 |
+
|
| 219 |
+
Arun Nair, Praveen Srinivasan, Sam Blackwell, Cagdas Alcicek, Rory Fearon, Alessandro De Maria, Vedavyas Panneershelvam, Mustafa Suleyman, Charles Beattie, Stig Petersen, Shane Legg, Volodymyr Mnih, Koray Kavukcuoglu, and David Silver. Massively parallel methods for deep reinforcement learning. CoRR, abs/1507.04296, 2015. URL http://arxiv.org/abs/ 1507.04296.
|
| 220 |
+
|
| 221 |
+
Tom Schaul, John Quan, Ioannis Antonoglou, and David Silver. Prioritized experience replay. CoRR, abs/1511.05952, 2015. URL http://arxiv.org/abs/1511.05952.
|
| 222 |
+
|
| 223 |
+
David Silver, Aja Huang, Christopher J. Maddison, Arthur Guez, Laurent Sifre, George van den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, Sander Dieleman, Dominik Grewe, John Nham, Nal Kalchbrenner, Ilya Sutskever, Timothy Lillicrap, Madeleine Leach, Koray Kavukcuoglu, Thore Graepel, and Demis Hassabis. Mastering the game of go with deep neural networks and tree search. Nature, 529:484–503, 2016. URL http: //www.nature.com/nature/journal/v529/n7587/full/nature16961.html.
|
| 224 |
+
|
| 225 |
+
Richard S. Sutton and Andrew G. Barto. Introduction to Reinforcement Learning. MIT Press, Cambridge, MA, USA, 1st edition, 1998. ISBN 0262193981.
|
| 226 |
+
|
| 227 |
+
Tijmen Tieleman and Geoffrey Hinton. Lecture 6.5-rmsprop: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural Networks for Machine Learning, 4(2), 2012.
|
| 228 |
+
|
| 229 |
+
Hado van Hasselt, Arthur Guez, and David Silver. Deep reinforcement learning with double qlearning. CoRR, abs/1509.06461, 2015. URL http://arxiv.org/abs/1509.06461.
|
| 230 |
+
|
| 231 |
+
Ziyu Wang, Nando de Freitas, and Marc Lanctot. Dueling network architectures for deep reinforcement learning. CoRR, abs/1511.06581, 2015. URL http://arxiv.org/abs/1511. 06581.
|
| 232 |
+
|
| 233 |
+
Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3-4):229–256, 1992.
|
parse/train/r1VGvBcxl/r1VGvBcxl_content_list.json
ADDED
|
@@ -0,0 +1,1271 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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RONOUS ADVANTAGE ACTOR-CRITIC ON A GPU",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
99,
|
| 9 |
+
821,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Mohammad Babaeizadeh \nDepartment of Computer Science \nUniversity of Illinois at Urbana-Champaign, USA \nmb2@uiuc.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
170,
|
| 20 |
+
511,
|
| 21 |
+
226
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Iuri Frosio, Stephen Tyree, Jason Clemons, Jan Kautz NVIDIA, USA {ifrosio,styree,jclemons,jkautz}@nvidia.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
183,
|
| 30 |
+
247,
|
| 31 |
+
599,
|
| 32 |
+
290
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
327,
|
| 43 |
+
544,
|
| 44 |
+
342
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "We introduce a hybrid CPU/GPU version of the Asynchronous Advantage ActorCritic (A3C) algorithm, currently the state-of-the-art method in reinforcement learning for various gaming tasks. We analyze its computational traits and concentrate on aspects critical to leveraging the GPU’s computational power. We introduce a system of queues and a dynamic scheduling strategy, potentially helpful for other asynchronous algorithms as well. Our hybrid CPU/GPU version of A3C, based on TensorFlow, achieves a significant speed up compared to a CPU implementation; we make it publicly available to other researchers at https://github.com/NVlabs/GA3C. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
358,
|
| 54 |
+
764,
|
| 55 |
+
484
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
515,
|
| 66 |
+
336,
|
| 67 |
+
531
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "In the past, the need for task-specific, or even hand-crafted, features limited the application of Reinforcement Learning (RL) in real world problems (Sutton & Barto, 1998). However, the introduction of Deep Q-Learning Networks (DQN) (Mnih et al., 2015) revived the use of Deep Neural Networks (DNNs) as function approximators for value and policy functions, unleashing a rapid series of advancements. Remarkable results include learning to play video games from raw pixels (Bellemare et al., 2016; Lample & Singh Chaplot, 2016) and demonstrating super-human performance on the ancient board game Go (Silver et al., 2016). Research has yielded a variety of effective training formulations and DNN architectures (van Hasselt et al., 2015; Wang et al., 2015), as well as methods to increase parallelism while decreasing the computational cost and memory footprint (Nair et al., 2015; Mnih et al., 2016). In particular, Mnih et al. (2016) achieve state-of-the-art results on many gaming tasks through a novel lightweight, parallel method called Asynchronous Advantage ActorCritic (A3C). When the proper learning rate is used, A3C learns to play an Atari game (Brockman et al., 2016) from raw screen inputs more quickly and efficiently than previous methods: on a 16- core CPU, A3C achieves higher scores than previously published methods run for the same amount of time on a GPU. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
547,
|
| 77 |
+
825,
|
| 78 |
+
756
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Our study sets aside many of the learning aspects of recent work and instead delves into the computational issues of deep RL. Computational complexities are numerous, largely centering on a common factor: RL has an inherently sequential aspect, since the training data are generated while learning. The DNN model is constantly queried to guide the actions of agents whose gameplay in turn feeds DNN training. Training batches are commonly small and must be efficiently shepherded from the agents and simulator to the DNN trainer. When using a GPU, the mix of small DNN architectures, small training batch sizes, and contention for the GPU for both inference and training can lead to a severe under-utilization of the computational resources. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
763,
|
| 88 |
+
825,
|
| 89 |
+
875
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "To systematically investigate these issues, we implement both CPU and GPU versions of A3C in TensorFlow (TF) (Abadi et al., 2015), optimizing each for efficient system utilization and to approximately replicate published scores in the Atari 2600 environment (Brockman et al., 2016). We analyze a variety of “knobs” in the system and demonstrate effective automatic tuning of those during training. Our hybrid CPU/GPU implementation of A3C, named GA3C, generates and consumes training data substantially faster than its CPU counterpart, up to $\\sim 6 \\times$ faster for small DNNs and $\\sim 4 5 \\times$ for larger DNNs. While we focus on the A3C architecture, this analysis can be helpful for researchers and framework developers designing the next generation of deep RL methods. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
176,
|
| 98 |
+
882,
|
| 99 |
+
823,
|
| 100 |
+
922
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
103,
|
| 110 |
+
825,
|
| 111 |
+
174
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "2 RELATED WORK ",
|
| 118 |
+
"text_level": 1,
|
| 119 |
+
"bbox": [
|
| 120 |
+
176,
|
| 121 |
+
194,
|
| 122 |
+
339,
|
| 123 |
+
209
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "Recent advances in deep RL have derived from both novel algorithmic approaches and related systems optimizations. Investigation of the algorithmic space seems to be the most common approach among researchers. Deep Q-Learning Networks (DQN) demonstrate a general approach to the learning problem (Mnih et al., 2015), relying heavily on the introduction of an experience replay memory to stabilize the learning procedure. This improves reliability but also increases the computational cost and memory footprint of the algorithm. Inspired by DQN, researchers have proposed more effective learning procedures, achieving faster and more stable convergence: Prioritized DQN (Schaul et al., 2015) makes better use of the replay memory by more frequently selecting frames associated with significant experiences. Double-DQN (van Hasselt et al., 2015) separates the estimate of the value function from the choice of actions (policy), thus reducing the tendency in DQN to be overly optimistic when evaluating its choices. Dueling Double DQN (Wang et al., 2015) goes a step further by explicitly splitting the computation of the value and advantage functions within the network. The presence of the replay memory makes the DQN approaches more suitable for a GPU implementation when compared to other LR methods, but state-of-the-art results are achieved by A3C (Mnih et al., 2016), which does not make use of it. ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
174,
|
| 132 |
+
224,
|
| 133 |
+
825,
|
| 134 |
+
433
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "Among systems approaches, AlphaGo (Silver et al., 2016) recently achieved astonishing results through combined algorithmic and hardware specialization. The computational effort is impressive: 40 search threads, 1202 CPUs, and 176 GPUs are used in the distributed version for inference only. Supervised training took around three weeks for the policy network, using 50 GPUs, and another day using the RL approach for refinement. A similar amount of time was required to train the value network. Gorilla DQN (Nair et al., 2015) is a similarly impressive implementation of distributed RL system, achieving a significant improvement over DQN. The system requires 100 concurrent actors on 31 machines, 100 learners and a central parameter server with the network model. This work demonstrates the potential scalability of deep RL algorithms, achieving better results in less time, but with a significantly increased computational load, memory footprint, and cost. ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
439,
|
| 144 |
+
825,
|
| 145 |
+
579
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "3 ASYNCHRONOUS ADVANTAGE ACTOR CRITIC (A3C) ",
|
| 152 |
+
"text_level": 1,
|
| 153 |
+
"bbox": [
|
| 154 |
+
176,
|
| 155 |
+
599,
|
| 156 |
+
647,
|
| 157 |
+
614
|
| 158 |
+
],
|
| 159 |
+
"page_idx": 1
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"type": "text",
|
| 163 |
+
"text": "3.1 REINFORCEMENT LEARNING BACKGROUND ",
|
| 164 |
+
"text_level": 1,
|
| 165 |
+
"bbox": [
|
| 166 |
+
174,
|
| 167 |
+
630,
|
| 168 |
+
521,
|
| 169 |
+
645
|
| 170 |
+
],
|
| 171 |
+
"page_idx": 1
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"type": "text",
|
| 175 |
+
"text": "In standard RL, an agent interacts with an environment over a number of discrete time steps. At each time step $t$ , the agent observes a state $s _ { t }$ and, in the discrete case, selects an action $a _ { t }$ from the set of valid actions. An agent is guided by policy $\\pi$ , a function mapping from states $s _ { t }$ to actions $a _ { t }$ . After each action, the agent observes the next state $s _ { t + 1 }$ and receives feedback in the form of a reward $r _ { t }$ . This process continues until the agent reaches a terminal state or time limit, after which the environment is reset and a new episode is played. ",
|
| 176 |
+
"bbox": [
|
| 177 |
+
174,
|
| 178 |
+
656,
|
| 179 |
+
825,
|
| 180 |
+
739
|
| 181 |
+
],
|
| 182 |
+
"page_idx": 1
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"type": "text",
|
| 186 |
+
"text": "The goal of learning is to find a policy $\\pi$ that maximizes the expected reward. In policy-based modelfree methods, a function approximator such as a neural network computes the policy $\\pi ( { a } _ { t } | { s } _ { t } ; \\theta )$ , where $\\theta$ is the set of parameters of the function. There are many methods for updating $\\theta$ based on the rewarascent on $\\mathbb { E } [ R _ { t } ]$ eived fr, where $\\begin{array} { r } { R _ { t } = \\sum _ { i = 0 } ^ { \\infty } \\gamma ^ { i } r _ { t + i } } \\end{array}$ . REINFORCE methods (Williams, 1992) use grais the accumulated reward starting from time step $t$ ientand increasingly discounted at each subsequent step by factor $\\gamma \\in ( 0 , 1 ]$ . ",
|
| 187 |
+
"bbox": [
|
| 188 |
+
174,
|
| 189 |
+
747,
|
| 190 |
+
825,
|
| 191 |
+
832
|
| 192 |
+
],
|
| 193 |
+
"page_idx": 1
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"type": "text",
|
| 197 |
+
"text": "The standard REINFORCE method updates $\\theta$ using the gradient $\\nabla _ { \\theta } \\log \\pi ( a _ { t } | s _ { t } ; \\theta ) R _ { t }$ , which is an unbiased estimator of $\\nabla _ { \\boldsymbol { \\theta } } \\mathbb { E } [ R _ { t } ]$ . The variance of the estimator is reduced by subtracting a learned baseline (a function of the state $b _ { t } ( s _ { t } ) )$ and using the gradient $\\nabla _ { \\theta } \\log \\pi ( a _ { t } | s _ { t } ; \\theta ) \\big ( R _ { t } ~ - ~ b _ { t } ( s _ { t } ) \\big )$ instead. One common baseline is the value function defined as $V ^ { \\pi } ( s _ { t } ) = \\mathbb { E } [ R _ { t } | s _ { t } ]$ which is the expected return for following the policy $\\pi$ in state $s _ { t }$ . In this approach the policy $\\pi$ and the baseline $b _ { t }$ can be viewed as actor and critic in an actor-critic architecture (Sutton $\\&$ Barto, 1998). ",
|
| 198 |
+
"bbox": [
|
| 199 |
+
174,
|
| 200 |
+
838,
|
| 201 |
+
825,
|
| 202 |
+
922
|
| 203 |
+
],
|
| 204 |
+
"page_idx": 1
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"type": "text",
|
| 208 |
+
"text": "3.2 ASYNCHRONOUS ADVANTAGE ACTOR CRITIC (A3C) ",
|
| 209 |
+
"text_level": 1,
|
| 210 |
+
"bbox": [
|
| 211 |
+
173,
|
| 212 |
+
103,
|
| 213 |
+
583,
|
| 214 |
+
117
|
| 215 |
+
],
|
| 216 |
+
"page_idx": 2
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"type": "text",
|
| 220 |
+
"text": "A3C (Mnih et al., 2016), which achieves state-of-the-art results on many gaming tasks including Atari 2600, uses a single DNN to approximate both the policy and value function. The DNN has two convolutional layers with $1 6 \\times 8 \\times 8$ filters with a stride of 4, and $3 2 \\times 4 \\times 4$ filters with a stride of 2, followed by a fully connected layer with 256 units; each hidden layer is followed by a rectifier nonlinearity. The two outputs are a softmax layer which approximates the policy function $\\pi \\left( a _ { t } | s _ { t } ; \\theta \\right)$ , and a linear layer to output an estimate of $V \\left( s _ { t } ; \\theta \\right)$ . Multiple agents play concurrently and optimize the DNN through asynchronous gradient descent. Similar to other asynchronous methods, the network weights are stored in a central parameter server (Figure 1a). Agents calculate gradients and send updates to the server after every $t _ { m a x } = 5$ actions, or when a terminal state is reached. After each update, the central server propagates new weights to the agents to guarantee they share a common policy. ",
|
| 221 |
+
"bbox": [
|
| 222 |
+
173,
|
| 223 |
+
128,
|
| 224 |
+
825,
|
| 225 |
+
282
|
| 226 |
+
],
|
| 227 |
+
"page_idx": 2
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"type": "text",
|
| 231 |
+
"text": "Two cost functions are associated with the two DNN outputs. For the policy function, this is: ",
|
| 232 |
+
"bbox": [
|
| 233 |
+
173,
|
| 234 |
+
289,
|
| 235 |
+
781,
|
| 236 |
+
304
|
| 237 |
+
],
|
| 238 |
+
"page_idx": 2
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"type": "equation",
|
| 242 |
+
"img_path": "images/269d83e0c6cd2f4860a123f8002b9fbaa907e93421915d051fa17be880c42996.jpg",
|
| 243 |
+
"text": "$$\nf _ { \\pi } \\left( \\theta \\right) = \\log \\pi \\left( a _ { t } | s _ { t } ; \\theta \\right) \\left( R _ { t } - V \\left( s _ { t } ; \\theta _ { t } \\right) \\right) + \\beta H \\left( \\pi \\left( s _ { t } ; \\theta \\right) \\right) ,\n$$",
|
| 244 |
+
"text_format": "latex",
|
| 245 |
+
"bbox": [
|
| 246 |
+
299,
|
| 247 |
+
309,
|
| 248 |
+
697,
|
| 249 |
+
328
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 2
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "where estima $\\theta _ { t }$ are the values of the parameters discounted reward in the time i $\\theta$ at time erval fro $t$ , $\\begin{array} { r } { R _ { t } = \\sum _ { i = 0 } ^ { k - 1 } \\gamma ^ { i } r _ { t + i } + \\gamma ^ { k } V \\left( s _ { t + k } ; \\theta _ { t } \\right) } \\end{array}$ $t$ $t + k$ $k$ $t _ { m a x }$ while $H \\left( \\pi \\left( s _ { t } ; \\boldsymbol { \\theta } \\right) \\right)$ is an entropy term, used to favor exploration during the training process. The factor $\\beta$ controls the strength of the entropy regularization term. The cost function for the estimated value function is: ",
|
| 256 |
+
"bbox": [
|
| 257 |
+
174,
|
| 258 |
+
333,
|
| 259 |
+
825,
|
| 260 |
+
405
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 2
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "equation",
|
| 266 |
+
"img_path": "images/48d34a41c633fb854454103f24a7b36f3be13e648faf8de79826e68045cb6348.jpg",
|
| 267 |
+
"text": "$$\nf _ { v } \\left( \\theta \\right) = \\left( R _ { t } - V \\left( s _ { t } ; \\theta \\right) \\right) ^ { 2 } .\n$$",
|
| 268 |
+
"text_format": "latex",
|
| 269 |
+
"bbox": [
|
| 270 |
+
405,
|
| 271 |
+
401,
|
| 272 |
+
593,
|
| 273 |
+
421
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 2
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "Training is performed by collecting the gradients $\\nabla \\theta$ from both of the cost functions and using the standard non-centered RMSProp algorithm (Tieleman $\\&$ Hinton, 2012) as optimization: ",
|
| 280 |
+
"bbox": [
|
| 281 |
+
173,
|
| 282 |
+
431,
|
| 283 |
+
823,
|
| 284 |
+
459
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 2
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "equation",
|
| 290 |
+
"img_path": "images/503111ff20a43e4764f0b2e82b53537204c751b1726f609b2165ce1df12e1802.jpg",
|
| 291 |
+
"text": "$$\n\\begin{array} { l } { g = \\alpha g + ( 1 - \\alpha ) \\Delta \\theta ^ { 2 } } \\\\ { \\theta \\theta - \\eta \\Delta \\theta / \\sqrt { g + \\epsilon } . } \\end{array}\n$$",
|
| 292 |
+
"text_format": "latex",
|
| 293 |
+
"bbox": [
|
| 294 |
+
419,
|
| 295 |
+
465,
|
| 296 |
+
580,
|
| 297 |
+
498
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 2
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "text",
|
| 303 |
+
"text": "The gradients $g$ can be either shared or separated between agent threads but the shared implementation is known to be more robust (Mnih et al., 2016). ",
|
| 304 |
+
"bbox": [
|
| 305 |
+
171,
|
| 306 |
+
503,
|
| 307 |
+
823,
|
| 308 |
+
531
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 2
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "The original implementation of A3C (Mnih et al., 2016) uses 16 agents on a 16 core CPU and it takes about four days to learn how to play an Atari game (Brockman et al., 2016). The main reason for using CPU other than GPU, is the inherently sequential nature of RL in general, and A3C in particular. In RL, the training data are generated while learning, which means the training and inference batches are small and GPU is mostly idle during the training, waiting for new data to arrive. Since A3C does not utilize any replay memory, it is completely sequential and therefore a CPU implementation is as fast as a naive GPU implementation. ",
|
| 315 |
+
"bbox": [
|
| 316 |
+
174,
|
| 317 |
+
537,
|
| 318 |
+
825,
|
| 319 |
+
636
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 2
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "4 HYBRID CPU/GPU A3C (GA3C) ",
|
| 326 |
+
"text_level": 1,
|
| 327 |
+
"bbox": [
|
| 328 |
+
176,
|
| 329 |
+
655,
|
| 330 |
+
488,
|
| 331 |
+
672
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 2
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "We propose GA3C, an alternative architecture of A3C, with emphasize on an efficient GPU utilization to increase the number of training data generated and processed per second. We demonstrate that our implementation of GA3C effectively converges significantly faster than our CPU implementation of A3C, achieving the state-of-the-art performance in a shorter time. ",
|
| 338 |
+
"bbox": [
|
| 339 |
+
174,
|
| 340 |
+
686,
|
| 341 |
+
825,
|
| 342 |
+
743
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 2
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"text": "4.1 GA3C ARCHITECTURE ",
|
| 349 |
+
"text_level": 1,
|
| 350 |
+
"bbox": [
|
| 351 |
+
176,
|
| 352 |
+
761,
|
| 353 |
+
374,
|
| 354 |
+
775
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 2
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "The primary components of GA3C (Figure 1b) are a DNN with training and prediction on a GPU, as well as a multi-process, multi-thread CPU architecture with the following components: ",
|
| 361 |
+
"bbox": [
|
| 362 |
+
176,
|
| 363 |
+
786,
|
| 364 |
+
823,
|
| 365 |
+
814
|
| 366 |
+
],
|
| 367 |
+
"page_idx": 2
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"type": "text",
|
| 371 |
+
"text": "• Agent is a process interacting with the simulation environment: choosing actions according to the learned policy and gathering experiences for further training. Similar to A3C, multiple concurrent agents run independent instances of the environment. Unlike the original, each agent does not have its own copy of the model. Instead it queues policy requests in a Prediction Queue before each action, and periodically submits a batch of input/reward experiences to a Training Queue; the size of each training batch is typically equal to $t _ { m a x }$ experiences, though it is sometimes smaller for experiences collected at the end of an episode. ",
|
| 372 |
+
"bbox": [
|
| 373 |
+
173,
|
| 374 |
+
825,
|
| 375 |
+
823,
|
| 376 |
+
924
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 2
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "image",
|
| 382 |
+
"img_path": "images/d529a55a2458aed93556db2b17245be6121593b3507fa86dc39534060ea4695e.jpg",
|
| 383 |
+
"image_caption": [
|
| 384 |
+
"Figure 1: Comparison of A3C and GA3C architectures. Agents act concurrently both in A3C and GA3C. In A3C, however, each agent has a replica of the model, whereas in GA3C there is only one GPU instance of the model. In GA3C, agents utilize predictors to query the network for policies while trainers gather experiences for network updates. "
|
| 385 |
+
],
|
| 386 |
+
"image_footnote": [],
|
| 387 |
+
"bbox": [
|
| 388 |
+
173,
|
| 389 |
+
112,
|
| 390 |
+
821,
|
| 391 |
+
295
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 3
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "text",
|
| 397 |
+
"text": "• Predictor is a thread which dequeues as many prediction requests as are immediately available and batches them into a single inference query to the DNN model on the GPU. When predictions are completed, the predictor returns the requested policy to each respective waiting agent. To hide latency, one or more predictors can act concurrently. ",
|
| 398 |
+
"bbox": [
|
| 399 |
+
174,
|
| 400 |
+
392,
|
| 401 |
+
825,
|
| 402 |
+
448
|
| 403 |
+
],
|
| 404 |
+
"page_idx": 3
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"type": "text",
|
| 408 |
+
"text": "• Trainer is a thread which dequeues training batches submitted by agents and submits them to the GPU for model updates. GPU utilization can be increased by grouping training batches among several agents; we found that this generally leads to a more stable convergence, but the convergence speed is reduced when the merged training batches are too large; a compromise is explored in Section 5.3. Multiple trainers may run in parallel to hide latency. ",
|
| 409 |
+
"bbox": [
|
| 410 |
+
174,
|
| 411 |
+
454,
|
| 412 |
+
825,
|
| 413 |
+
523
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 3
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "Unlike A3C, GA3C maintains only one copy of the DNN model (Fig. 1a and 1b), centralizing predictions and training updates and removing the need for synchronization. Also, in comparison with A3C, agents in GA3C do not compute the gradients themselves. Instead, they send experiences to trainers that update the network on the GPU accordingly. This introduces a potential lag between the generation and consumption of experiences, which we analyze in detail in Sections 4.4 and 5.3. ",
|
| 420 |
+
"bbox": [
|
| 421 |
+
174,
|
| 422 |
+
536,
|
| 423 |
+
825,
|
| 424 |
+
607
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 3
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "4.2 PERFORMANCE METRICS AND TRADE-OFFS ",
|
| 431 |
+
"text_level": 1,
|
| 432 |
+
"bbox": [
|
| 433 |
+
174,
|
| 434 |
+
626,
|
| 435 |
+
519,
|
| 436 |
+
640
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 3
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "text",
|
| 442 |
+
"text": "The GA3C architecture exposes numerous tradeoffs for tuning its computational efficiency. In general, it is most efficient to transfer data to a GPU in large enough blocks to maximize the usage of the bandwidth between the GPU and CPU. Application performance on the GPU is optimized when the application has large amounts of parallel computations that can hide the latency of fetching data from memory. Thus, we want to maximize the parallel computations the GPU is performing, maximize the size of data transfer to the GPU, and minimize the number of transfers to the GPU. Increasing the number of predictors, $N _ { P }$ , allows faster fetching prediction queries, but leads to smaller prediction batches, resulting in multiple data transfers and overall lower GPU utilization. A larger number of trainers, $N _ { T }$ , potentially leads to more frequent updates to the model, but an overhead is paid when too many trainers occupy the GPU while predictors cannot access it. Lastly, increasing the number of agents, $N _ { A }$ , ideally generates more training experiences while hiding prediction latency. However, we would expect diminishing returns from unnecessary context switching overheads after exceeding some threshold depending on the number of CPU cores. ",
|
| 443 |
+
"bbox": [
|
| 444 |
+
174,
|
| 445 |
+
652,
|
| 446 |
+
825,
|
| 447 |
+
833
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 3
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "These aspects are well captured by a metric like the Trainings Per Second (TPS), which is the rate at which we remove batches from the training queue. It corresponds to the rate of model updates and it is approximately proportional to the overall learning speed, given a fixed learning rate and training batch size. Another metric is the Predictions Per Second (PPS), the rate of issuing prediction queries from prediction queue, which maps to the combined rate of gameplay among all agents. Notice that in A3C a model update occurs every time an agent plays $t _ { m a x } = 5$ actions (Mnih et al., 2016). ",
|
| 454 |
+
"bbox": [
|
| 455 |
+
174,
|
| 456 |
+
840,
|
| 457 |
+
823,
|
| 458 |
+
924
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 3
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "image",
|
| 464 |
+
"img_path": "images/8281b416d1f3ce3805668c76149925533dd6d5611570574cd211760bedb0fd40.jpg",
|
| 465 |
+
"image_caption": [
|
| 466 |
+
"Figure 2: Automatic dynamic adjustment of $N _ { T }$ , $N _ { P }$ , and $N _ { A }$ , to maximize TPS for BOXING (left) and PONG (right), starting from a sub-optimal configuration $( N _ { A } = N _ { T } = N _ { P } = 1 )$ ) "
|
| 467 |
+
],
|
| 468 |
+
"image_footnote": [],
|
| 469 |
+
"bbox": [
|
| 470 |
+
174,
|
| 471 |
+
98,
|
| 472 |
+
826,
|
| 473 |
+
252
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 4
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "Hence, in a balanced configuration, $\\mathrm { P P S } \\approx \\mathrm { T P S } \\times t _ { m a x }$ . Since each action is repeated four times as in (Mnih et al., 2016), the number of frames per second is $4 \\times \\mathrm { P P S }$ . ",
|
| 480 |
+
"bbox": [
|
| 481 |
+
173,
|
| 482 |
+
318,
|
| 483 |
+
823,
|
| 484 |
+
345
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 4
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "text",
|
| 490 |
+
"text": "Computational aspects are not disconnected from the convergence of the learning algorithm. For instance, employing too many agents will tend to fill the training queue, introducing a significant time delay between agent experiences $( a _ { t } , ~ s _ { t }$ and $R _ { t }$ in Eq. (1)) and the corresponding model updates, possibly threatening model convergence (see Section 4.4). Another example is batching of training data: larger batches improves GPU occupancy by increasing the parallelism. They also decrease the TPS (i.e., the number of model updates per second), increasing the chance that the DNN model used in prediction and to compute the gradient in Eq. (4) are indeed the same model. The consequence (experimentally observed, see Section 5.3) is an increased stability of the learning process but, beyond a certain training batch size, this leads to a reduction in the convergence speed. In short, $N _ { T }$ , $N _ { P }$ , and $N _ { A }$ encapsulate many complex dynamics relating both computational and convergence aspects of the learning procedure. Their effect on the convergence of the learning process has to be measured by analyzing not only TPS but also the learning curves. ",
|
| 491 |
+
"bbox": [
|
| 492 |
+
173,
|
| 493 |
+
353,
|
| 494 |
+
825,
|
| 495 |
+
520
|
| 496 |
+
],
|
| 497 |
+
"page_idx": 4
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"type": "text",
|
| 501 |
+
"text": "4.3 DYNAMIC ADJUSTMENT OF TRADE-OFFS ",
|
| 502 |
+
"text_level": 1,
|
| 503 |
+
"bbox": [
|
| 504 |
+
173,
|
| 505 |
+
536,
|
| 506 |
+
500,
|
| 507 |
+
550
|
| 508 |
+
],
|
| 509 |
+
"page_idx": 4
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"type": "text",
|
| 513 |
+
"text": "The setting of $N _ { P }$ , $N _ { T }$ and $N _ { A }$ that maximizes the TPS depends on many aspects such as the computational load of the simulation environment, the size of the DNN, and the available hardware. As a rule of thumb, we found that the number of agents $N _ { A }$ should at least match the available CPU cores, with two predictors and two trainers $N _ { P } = N _ { T } = 2$ . However, this rule hardly generalizes to a large variety of different situations and only occasionally corresponds to the computationally most efficient configuration. Therefore, we propose an annealing process to configure the system dynamically. Every minute, we randomly change $N _ { P }$ , $N _ { T }$ , or $N _ { A }$ by $\\pm 1$ , monitoring alterations in TPS to accept or reject the new setting. The optimal configuration is then automatically identified in a reasonable time, for different environments or systems. Figure 2 shows the automatic adjustment procedure finding two different optimal settings for two different games, on the same real system. ",
|
| 514 |
+
"bbox": [
|
| 515 |
+
174,
|
| 516 |
+
561,
|
| 517 |
+
825,
|
| 518 |
+
702
|
| 519 |
+
],
|
| 520 |
+
"page_idx": 4
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"type": "text",
|
| 524 |
+
"text": "4.4 POLICY LAG IN GA3C ",
|
| 525 |
+
"text_level": 1,
|
| 526 |
+
"bbox": [
|
| 527 |
+
176,
|
| 528 |
+
718,
|
| 529 |
+
370,
|
| 530 |
+
732
|
| 531 |
+
],
|
| 532 |
+
"page_idx": 4
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"type": "text",
|
| 536 |
+
"text": "At a first sight, GA3C and A3C are different implementations of the same algorithm, but GA3C has a subtle difference which affects the stability of the algorithm. This problem is caused by the latency between the time $t - k$ , when a training example has been generated, and when it is consumed for training, $t$ , essentially changing the gradients to: ",
|
| 537 |
+
"bbox": [
|
| 538 |
+
174,
|
| 539 |
+
743,
|
| 540 |
+
825,
|
| 541 |
+
800
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 4
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "equation",
|
| 547 |
+
"img_path": "images/38580875f71624e96a5733c74b6d1927596034e16fd85199696bf8006ecbd883.jpg",
|
| 548 |
+
"text": "$$\n\\nabla _ { \\theta } \\left[ \\log \\pi \\left( a _ { t - k } | s _ { t - k } ; \\theta \\right) \\left( R _ { t - k } - V \\left( s _ { t - k } ; \\theta _ { t } \\right) \\right) + \\beta H \\left( \\pi \\left( s _ { t - k } ; \\theta \\right) \\right) \\right] .\n$$",
|
| 549 |
+
"text_format": "latex",
|
| 550 |
+
"bbox": [
|
| 551 |
+
267,
|
| 552 |
+
804,
|
| 553 |
+
730,
|
| 554 |
+
823
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 4
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "text",
|
| 560 |
+
"text": "Since the Training Queue is not blocking, the states it contains can be old. The value of the delay $k$ is bounded by the maximum size of the queue and influenced by how the system configuration balances training and prediction rates. In other words, the DNN controller selects the action $a _ { t - k }$ at time $t - k$ ; the corresponding experience lies in a training queue until time $t$ , when a trainer thread pops the element out of the queue to compute the gradient as in Eq. (4). The DNN controller at time $t$ generally differs from the one at time $t - k$ , since trainers can modify the DNN weights at any time. Therefore, the policy and value function $\\pi$ and $V$ used to compute the gradient at time $t$ will differ from those used at time $t - k$ to collect the experience, whereas the action used to compute the gradient in Eq. (4) remains $a _ { t - k }$ . ",
|
| 561 |
+
"bbox": [
|
| 562 |
+
173,
|
| 563 |
+
825,
|
| 564 |
+
825,
|
| 565 |
+
924
|
| 566 |
+
],
|
| 567 |
+
"page_idx": 4
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"type": "text",
|
| 571 |
+
"text": "",
|
| 572 |
+
"bbox": [
|
| 573 |
+
171,
|
| 574 |
+
103,
|
| 575 |
+
823,
|
| 576 |
+
132
|
| 577 |
+
],
|
| 578 |
+
"page_idx": 5
|
| 579 |
+
},
|
| 580 |
+
{
|
| 581 |
+
"type": "text",
|
| 582 |
+
"text": "This delay can lead to instabilities for two reasons. The first one is the possible generation of very large values in $\\log \\pi \\left( a _ { t - k } | s _ { t - k } ; \\theta _ { t } \\right)$ . In fact, $\\pi \\left( a _ { t - k } | s _ { t - k } ; \\theta _ { t - k } \\right)$ is generally large, since it is the probability of sampled action $a _ { t - k }$ , but over the course of lag $k$ new parameters $\\theta _ { t }$ can make $\\pi \\left( a _ { t - k } | s _ { t - k } ; \\theta _ { t } \\right)$ very small. In the worst case, the updated probability is zero, generating infinite values in the log and causing optimization to fail. To avoid this, we add a small term $\\epsilon > 0$ : ",
|
| 583 |
+
"bbox": [
|
| 584 |
+
174,
|
| 585 |
+
138,
|
| 586 |
+
825,
|
| 587 |
+
208
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 5
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "equation",
|
| 593 |
+
"img_path": "images/f5a231131a5f54fe969a6ccb8db1312066291b50261c1e1f192e72cfc272a938.jpg",
|
| 594 |
+
"text": "$$\n\\nabla _ { \\theta } \\left[ \\log \\left( \\pi \\left( a _ { t - k } \\middle | s _ { t - k } ; \\theta \\right) + \\epsilon \\right) \\left( R _ { t - k } - V \\left( s _ { t - k } ; \\theta _ { t } \\right) \\right) + \\beta H \\left( \\pi \\left( s _ { t - k } ; \\theta \\right) + \\epsilon \\right) \\right] .\n$$",
|
| 595 |
+
"text_format": "latex",
|
| 596 |
+
"bbox": [
|
| 597 |
+
233,
|
| 598 |
+
215,
|
| 599 |
+
763,
|
| 600 |
+
234
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 5
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "text",
|
| 606 |
+
"text": "Beyond fixing the error in the case $\\pi = 0$ , this fix also improves the stability of the algorithm and removes the necessity of gradient clipping. In fact, as $\\bar { \\partial \\log ( \\pi + \\epsilon ) } / \\partial \\theta \\stackrel { - } { = } ( \\partial \\pi / \\partial \\theta ) \\bar { / } ( \\pi + \\epsilon ) ,$ $\\epsilon$ establishes an upper bound for the multiplicative factor in front of $\\partial \\pi / \\partial \\theta$ . A similar term is also added in the entropy computation to avoid a similar explosion. It is important to remember that even A3C suffers from a similar issue. In fact, as the action $a _ { t }$ in Eq. (1) is selected by sampling the output softmax, there is a chance that $\\pi ( { a } _ { t } )$ is very small and therefore $\\partial \\log ( \\pi ) / \\dot { \\partial } \\theta$ is large. However, gradient clipping prevents the usage of a gradient with large magnitude in A3C. ",
|
| 607 |
+
"bbox": [
|
| 608 |
+
173,
|
| 609 |
+
239,
|
| 610 |
+
825,
|
| 611 |
+
338
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 5
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "The second reason for introducing instabilities in GA3C is a generalization of the first one. Since training and predictions are computed with potentially different DNN parameters, the resulting gradient is noisy, and can therefore lead to unreliable updates of the DNN weights. This is different from A3C, where every agent has its own copy of the model and uses it to compute both $\\pi$ and $\\partial \\log ( \\pi ) / \\partial \\theta$ , before synchronizing the DNN model with the other agents. ",
|
| 618 |
+
"bbox": [
|
| 619 |
+
174,
|
| 620 |
+
344,
|
| 621 |
+
825,
|
| 622 |
+
415
|
| 623 |
+
],
|
| 624 |
+
"page_idx": 5
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"type": "text",
|
| 628 |
+
"text": "5 ANALYSIS ",
|
| 629 |
+
"text_level": 1,
|
| 630 |
+
"bbox": [
|
| 631 |
+
174,
|
| 632 |
+
434,
|
| 633 |
+
290,
|
| 634 |
+
450
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 5
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "We profile the performance of GA3C and in the process seek to better understand the system dynamics of deep RL training on hybrid CPU/GPU systems. Experiments are conducted on the GPUenabled systems described in Table 1 and monitored with CUDA profilers and custom profiling code based on performance counter timing within Python. We present profiling and convergence experiments both with and without automatic adjustment of the number of agents $N _ { A }$ , trainers $N _ { T }$ , and predictors $N _ { P }$ , and without constraints on the size of the prediction and training queues. ",
|
| 641 |
+
"bbox": [
|
| 642 |
+
173,
|
| 643 |
+
465,
|
| 644 |
+
825,
|
| 645 |
+
550
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 5
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "image",
|
| 651 |
+
"img_path": "images/06e9c560da6d5f597629e0687072ccae3030c4959e8c93f01c05686c94f37056.jpg",
|
| 652 |
+
"image_caption": [
|
| 653 |
+
"Figure 3: TPS of the top three configurations of predictors $N _ { P }$ and trainers $N _ { T }$ for several settings of agents $N _ { A }$ , while learning PONG on System I from Table 1. TPS is normalized by best performance after 16 minutes. Larger DNN models are also shown, as described in the text. "
|
| 654 |
+
],
|
| 655 |
+
"image_footnote": [],
|
| 656 |
+
"bbox": [
|
| 657 |
+
245,
|
| 658 |
+
563,
|
| 659 |
+
753,
|
| 660 |
+
761
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 5
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "5.1 EFFECT OF RESOURCE UTILIZATION ON TPS ",
|
| 667 |
+
"text_level": 1,
|
| 668 |
+
"bbox": [
|
| 669 |
+
178,
|
| 670 |
+
842,
|
| 671 |
+
526,
|
| 672 |
+
856
|
| 673 |
+
],
|
| 674 |
+
"page_idx": 5
|
| 675 |
+
},
|
| 676 |
+
{
|
| 677 |
+
"type": "text",
|
| 678 |
+
"text": "Maximizing training speed. To begin, consider raw training speed as expressed in model update frequency, or trainings per second (TPS). Figure 3 shows TPS on System I in Table 1 for the first 16 minutes of training on PONG. We consider numbers of agents $N _ { A } \\dot { \\in } \\{ 1 6 , 3 2 , 6 4 , 1 2 8 \\}$ and plot the top 3 combinations of $N _ { P } , N _ { T } \\in \\{ 1 , 2 , 4 , 8 , 1 6 \\}$ . On this system, increasing $N _ { A }$ yields a higher TPS up to $N _ { A } = 1 2 8$ where diminishing returns are observed, likely due to additional process overhead. The highest consistent TPS on this system is observed with $N _ { A } = 1 2 8$ and $N _ { P } = N _ { T } = 2$ with a speed-up of $\\sim 4 \\times$ relative to the CPU-only implementation (see Table 2). ",
|
| 679 |
+
"bbox": [
|
| 680 |
+
174,
|
| 681 |
+
867,
|
| 682 |
+
825,
|
| 683 |
+
924
|
| 684 |
+
],
|
| 685 |
+
"page_idx": 5
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"type": "image",
|
| 689 |
+
"img_path": "images/526023fd63c04b3b1262fd781abadbb999851fc3930efcd55d5e279396a31e95.jpg",
|
| 690 |
+
"image_caption": [
|
| 691 |
+
"Figure 4: The average training queue size (left) and prediction batch size (right) of the top 3 performing configurations of $N _ { P }$ and $N _ { T }$ , for each $N _ { A }$ , with PONG and the System I in Table 1. "
|
| 692 |
+
],
|
| 693 |
+
"image_footnote": [],
|
| 694 |
+
"bbox": [
|
| 695 |
+
178,
|
| 696 |
+
112,
|
| 697 |
+
812,
|
| 698 |
+
257
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 6
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "",
|
| 705 |
+
"bbox": [
|
| 706 |
+
173,
|
| 707 |
+
325,
|
| 708 |
+
826,
|
| 709 |
+
368
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 6
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "table",
|
| 715 |
+
"img_path": "images/9b5d28fb9bca48003cb1736c6907f32325393b4180eee06c41a46bb7e85e7f23.jpg",
|
| 716 |
+
"table_caption": [
|
| 717 |
+
"Table 1: Systems used for profiling and testing. "
|
| 718 |
+
],
|
| 719 |
+
"table_footnote": [],
|
| 720 |
+
"table_body": "<table><tr><td></td><td>System I</td><td>System II</td><td>System III</td><td>System IV</td></tr><tr><td>Processor (Intel)</td><td>Xeon E5-2640v3 2.60 GHz 16 cores,dual socket</td><td>Core i-3820 3.60 GHz 8cores</td><td>HaswellE5-2698v3 2.30 GHz 16 cores</td><td>Xeon E5-2680v2 2.80 GHz 10 cores</td></tr><tr><td>GPU (NVIDIA)</td><td>Geforce Titan X (Maxwell)</td><td>GeForce 980 (Maxwell)</td><td>Tesla K80 (Kepler)</td><td>Quadro M6000 (Maxwell)</td></tr><tr><td>Software / Profilers</td><td colspan=\"4\">Python 3.5,CUDA 7.5 (I-II)/CUDA 8 (IV), CUDNN v5.1,TensorFlow r0.11 nvprof, nvvp</td></tr></table>",
|
| 721 |
+
"bbox": [
|
| 722 |
+
240,
|
| 723 |
+
382,
|
| 724 |
+
756,
|
| 725 |
+
497
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 6
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "text",
|
| 731 |
+
"text": "GPU utilization and DNN size. The fastest configuration ( $N _ { A } = 1 2 8$ , $N _ { P } = N _ { T } = 2 $ ) for System I in Table 1 has an average GPU utilization time of only $5 6 \\%$ , with average and peak occupancy of $7 6 \\%$ and $9 8 \\%$ , respectively.1 This suggests there is computational capacity for a larger network model. Therefore we profile GA3C on a series of deeper DNN architectures2 to evaluate this hypothesis. Figure 3 shows that TPS drops by only $7 \\%$ with a one-layer deeper DNN controller; at the same time, the ",
|
| 732 |
+
"bbox": [
|
| 733 |
+
174,
|
| 734 |
+
542,
|
| 735 |
+
419,
|
| 736 |
+
736
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 6
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "table",
|
| 742 |
+
"img_path": "images/f62139e12cba216383cb6e716092a4afc36ca48dea210c3242bea03fc52ee423.jpg",
|
| 743 |
+
"table_caption": [
|
| 744 |
+
"Table 2: PPS on different systems (Table 1), for small and large DNNs, with CPU and GPU utilization for GA3C. "
|
| 745 |
+
],
|
| 746 |
+
"table_footnote": [],
|
| 747 |
+
"table_body": "<table><tr><td></td><td></td><td colspan=\"3\">PPS</td><td colspan=\"2\">Utilization (%)</td></tr><tr><td>System</td><td>DNN</td><td>A3C</td><td>GA3C</td><td>Speed up</td><td>CPU</td><td>GPU</td></tr><tr><td rowspan=\"5\">System I</td><td>small</td><td>352</td><td>1361</td><td>4×</td><td>32</td><td>56</td></tr><tr><td>large, stride 4</td><td>113</td><td>1271</td><td>11×</td><td>27</td><td>68</td></tr><tr><td>large,stride 3</td><td>97</td><td>1206</td><td>12×</td><td>27</td><td>77</td></tr><tr><td>large, stride 2</td><td>43</td><td>874</td><td>20×</td><td>26</td><td>82</td></tr><tr><td>large, stride 1</td><td>11</td><td>490</td><td>45×</td><td>17</td><td>90</td></tr><tr><td rowspan=\"2\">System II</td><td>small</td><td>116</td><td>728</td><td>6×</td><td>62</td><td>33</td></tr><tr><td>large, stride 1</td><td>12</td><td>336</td><td>28×</td><td>49</td><td>78</td></tr><tr><td rowspan=\"2\">System III</td><td>small</td><td>300</td><td>1248</td><td>4×</td><td>31</td><td>60</td></tr><tr><td>large, stride 1</td><td>38</td><td>256</td><td>6×</td><td>17</td><td>82</td></tr></table>",
|
| 748 |
+
"bbox": [
|
| 749 |
+
434,
|
| 750 |
+
549,
|
| 751 |
+
821,
|
| 752 |
+
684
|
| 753 |
+
],
|
| 754 |
+
"page_idx": 6
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"type": "text",
|
| 758 |
+
"text": "average GPU utilization and occupancy increase by approximately $1 2 \\%$ and $0 . 5 \\%$ , respectively. The $7 \\%$ drop in TPS is the consequence of the increased depth which forces an additional serial computational on the GPU (and therefore a $1 2 \\%$ increase in its utilization). The negligible $0 . 5 \\%$ increase in occupancy is likely explained by an efficient management of the computational resources by cuDNN; there is still room available to run additional parallel tasks (or, in other words, a wider DNN) at minimal cost. ",
|
| 759 |
+
"bbox": [
|
| 760 |
+
174,
|
| 761 |
+
737,
|
| 762 |
+
825,
|
| 763 |
+
819
|
| 764 |
+
],
|
| 765 |
+
"page_idx": 6
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"type": "image",
|
| 769 |
+
"img_path": "images/ad0b179398676c633b7b47258fc7efaa5686750f4af3d0d5760ee3d128420c30.jpg",
|
| 770 |
+
"image_caption": [
|
| 771 |
+
"Figure 5: Effect of PPS on convergence speed. For each game, four different settings of GA3C are shown, all starting from the same DNN initialization. Numbers on the right show the cumulative number of frames played among all agents for each setting over the course of 3 hours. Configurations playing more frames converge faster. The dynamic configuration method is capable of catching up with the optimal configuration despite starting with a sub-optimal setting, $N _ { T } = N _ { P } = N _ { A } = 1$ . "
|
| 772 |
+
],
|
| 773 |
+
"image_footnote": [],
|
| 774 |
+
"bbox": [
|
| 775 |
+
176,
|
| 776 |
+
87,
|
| 777 |
+
821,
|
| 778 |
+
268
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 7
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "By reducing the stride of the first layer of the DNN (in addition to adding a convolutional layer), we scale DNN size with finer granularity, and we compare FPS between GA3C and our CPU implementation of A3C. Table 2 shows the speed up provided by GA3C increases as the DNN grows. This is mainly due to increasing GPU utilization, as reported in Table 2. With the largest DNN, our CPU implementation achieves $\\mathrm { T P S } \\approx 1 1$ , which is approximately $4 5 \\times$ slower than GA3C. This behavior is consistent across different systems, as shown in Table 2, where the CPU implementation of A3C using the largest DNN with stride 1 is $7 \\times$ (System III) to $3 2 \\times$ (System I) slower than the small network. Scaling with DNN size is more favorable on a GPU, with a slow down factor of $4 . 9 \\times$ in the worst case (System III) and $2 . 2 \\times$ in the best case (System II). Further, more recent GPUs (Maxwell architecture) scale better ( $2 . 2 \\times$ and $2 . 7 \\times$ slow down for Systems I and II) than older GPUs $( 4 . 8 \\times$ slow down for the Kepler architecture, System III). ",
|
| 785 |
+
"bbox": [
|
| 786 |
+
174,
|
| 787 |
+
376,
|
| 788 |
+
825,
|
| 789 |
+
530
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 7
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "Generally speaking, for large DNNs, maximum TPS and FPS are achieved by intensively using the GPU for prediction and training, while the CPU runs the simulation environment and remains mostly idle. In practice, this allows experimenting with larger architectures, which may be particularly important for real world problems, e.g. robotics or autonomous driving (Lillicrap et al., 2015). Moreover, the idle CPU represents an additional computational resource, but such investigation is beyond the scope of this paper. ",
|
| 796 |
+
"bbox": [
|
| 797 |
+
174,
|
| 798 |
+
536,
|
| 799 |
+
825,
|
| 800 |
+
621
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 7
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "Significant latency. Profiling on System I in Table 1 reveals that the average time spent by an agent waiting for a prediction call to be completed is $1 0 8 \\mathrm { m s }$ , only $1 0 \\%$ of which is taken by the GPU inference. The remaining $9 0 \\%$ is overhead spent accumulating the batch and calling the prediction function in Python. Similarly, for training we find that of the average 11.1ms spent performing a DNN update, $5 9 \\%$ is overhead. This seems to suggest that a more optimized implementation (possibly based on a low level language like $\\mathrm { C } { + + }$ ) may reduce these overheads, but this investigation remains for future work. ",
|
| 807 |
+
"bbox": [
|
| 808 |
+
173,
|
| 809 |
+
632,
|
| 810 |
+
825,
|
| 811 |
+
731
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 7
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "Manually balancing components. Agents, predictors, and trainers all share the GPU as a resource; thus balance is important. Figure 3 shows the top three performing configurations of $N _ { P }$ and $N _ { T }$ for different numbers of agents, $N _ { A }$ , with System I in Table 1. A $1 4 \\%$ drop in TPS is exhibited between the best and worst depicted configuration, despite the exclusion of all but the top three performers for each number of agents. The best results have 4 or fewer predictor threads, seemingly preventing batches from becoming too small. The $N _ { P } : N _ { T }$ ratios for top performers tend to be $1 : 2 , 1 : 1$ , or $2 : 1$ , whereas higher ratios such as $1 : 8$ and $1 : 4$ are rarely successful, likely due to the implicit dependence of training on prediction speed. However, if the training queue is too full, training calls take more GPU time, thereby throttling prediction speed. This is further confirmed by our experimental finding that TPS and PPS plots track closely. Figure 4 shows training queue size and prediction batch size for the top configurations. In all cases, the training queue stabilizes well below its maximum capacity. Additionally, the fastest configuration has one of the largest average prediction batch sizes, yielding higher GPU utilization. ",
|
| 818 |
+
"bbox": [
|
| 819 |
+
173,
|
| 820 |
+
743,
|
| 821 |
+
825,
|
| 822 |
+
924
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 7
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "table",
|
| 828 |
+
"img_path": "images/cac8ccf9790339313c09c129f613240d5461f5b12660fa7fa50589d1552661b3.jpg",
|
| 829 |
+
"table_caption": [],
|
| 830 |
+
"table_footnote": [],
|
| 831 |
+
"table_body": "<table><tr><td></td><td colspan=\"8\">Atari Game Scores</td><td colspan=\"2\">Attributes</td></tr><tr><td></td><td>AMIDAR BOXING CENTIPEDE</td><td></td><td></td><td>NAME THISGAME</td><td>PACMANPONG</td><td></td><td>QBERT SEAQUEST</td><td>UP-DOWN</td><td>Time</td><td>System</td></tr><tr><td>Human</td><td>1676</td><td>10</td><td>10322</td><td>6796</td><td>15375</td><td>16 12085</td><td>40426</td><td>9896</td><td></td><td>1</td></tr><tr><td>Random</td><td>6</td><td>-2</td><td>1926</td><td>198</td><td>1748</td><td>-18 272</td><td>216</td><td>533</td><td></td><td>1</td></tr><tr><td>A3C</td><td>264</td><td>60</td><td>3756</td><td>10476</td><td>654</td><td>6 15149</td><td>2355</td><td>74706</td><td>4 days</td><td>CPU</td></tr><tr><td>GA3C</td><td>218</td><td>92</td><td>7386</td><td>5643</td><td>1978</td><td>18 14966</td><td>1706</td><td>8623</td><td>1day</td><td>GPU</td></tr></table>",
|
| 832 |
+
"bbox": [
|
| 833 |
+
176,
|
| 834 |
+
102,
|
| 835 |
+
821,
|
| 836 |
+
194
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 8
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "text",
|
| 842 |
+
"text": "Table 3: Average scores on a subset of Atari games achieved by: a random player (Mnih et al., 2015); a human player (Mnih et al., 2015); A3C after four days of training on a CPU (Mnih et al., 2016); and GA3C after one day of training. For GA3C, we measured the average score on 30 games, each initialized with a random seed. ",
|
| 843 |
+
"bbox": [
|
| 844 |
+
173,
|
| 845 |
+
213,
|
| 846 |
+
825,
|
| 847 |
+
268
|
| 848 |
+
],
|
| 849 |
+
"page_idx": 8
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "text",
|
| 853 |
+
"text": "5.2 EFFECT OF TPS ON LEARNING SPEED ",
|
| 854 |
+
"text_level": 1,
|
| 855 |
+
"bbox": [
|
| 856 |
+
176,
|
| 857 |
+
296,
|
| 858 |
+
478,
|
| 859 |
+
311
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 8
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "The beneficial effect of an efficient configuration on the training speed is shown in Figure 5. Training with a suboptimal configuration (e.g. $N _ { P } = N _ { T } = N _ { A } = 1$ or $N _ { P } = N _ { T } = 1$ , $N _ { A } = 1 6$ ) leads to a severe underutilization of the GPU, a low TPS, and a slow training process. Using the optimal configuration achieves a much higher score in a shorter period of time, mainly driven by playing more frames, i.e. collecting more experiences, in the same amount of time. ",
|
| 866 |
+
"bbox": [
|
| 867 |
+
174,
|
| 868 |
+
323,
|
| 869 |
+
825,
|
| 870 |
+
392
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 8
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "text",
|
| 876 |
+
"text": "Mnih et al. (2016) note that asynchronous methods generally achieve significant speedups from using a greater number of agents, and even report superlinear speedups for asynchronous one-step Q-learning. It is worth noting that optimal configurations for GA3C generally employ a much higher number of agents compared to the CPU counterpart, e.g. the optimal configuration for System I in Table 1 uses 128 agents. This suggests that GPU implementations of asynchronous learning methods may benefit from both a higher TPS and from collecting experiences from a wider number of agents. ",
|
| 877 |
+
"bbox": [
|
| 878 |
+
174,
|
| 879 |
+
400,
|
| 880 |
+
825,
|
| 881 |
+
483
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 8
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "text",
|
| 887 |
+
"text": "The learning curve for GA3C with dynamic configuration (Figure 5) tracks closely with the learning curve of the optimal configuration. The total number of frames played is generally slightly lower over the same time due to the search procedure overhead: the configuration is changed once every minute, tending to oscillate around the optimal configuration. Notice also that, in Figure 5, the starting point of the dynamic configuration is $N _ { T } = N _ { P } = N _ { A } = 1$ , which is much slower than the optimal configuration. But scoring performance is nearly identical, indicating that the dynamic method may ease the burden of configuring GA3C on a new system. ",
|
| 888 |
+
"bbox": [
|
| 889 |
+
174,
|
| 890 |
+
491,
|
| 891 |
+
825,
|
| 892 |
+
588
|
| 893 |
+
],
|
| 894 |
+
"page_idx": 8
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"type": "text",
|
| 898 |
+
"text": "Table 3 compares scores achieved by A3C on the CPU (as reported in (Mnih et al., 2016)) with the best agent trained by our TensorFlow implementation of GA3C. Unfortunately, a direct speed comparison is infeasible without either the original source code or the average number of frames or training updates per second. However, results in this table do show that after one day of training our open-source implementation can achieve similar scores to A3C after four days of training. ",
|
| 899 |
+
"bbox": [
|
| 900 |
+
174,
|
| 901 |
+
594,
|
| 902 |
+
825,
|
| 903 |
+
665
|
| 904 |
+
],
|
| 905 |
+
"page_idx": 8
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"type": "text",
|
| 909 |
+
"text": "Figure 6 shows typical training curves for GA3C on several Atari games as a function of wallclock time. When compared to the training curves reported in Mnih et al. (2016), GA3C shows faster convergence toward the maximum score in a shorter time for certain games such as PONG, convergence towards a better score in a larger amount of time (e.g. QBERT) or, for other games, a slower convergence rate (e.g. BREAKOUT). It has to be noted, however, that data reported by Mnih et al. (2016) are the average learning curves of the top five learners in a set of fifty learners, each with a different learning rate. On the other hand, in Figure 6, we are reporting three different runs for two (not essentially optimal) learning rates, fixed for all the games. This demonstrates some robustness of GA3C with respect to the choice of the learning rate, whereas it is also likely that better learning curves can be obtained using optimized learning rates. A deeper investigation on a large amount of data, potentially facilitated by our release of the GA3C code, may also reveal how peculiarities of each game differently affect the convergence of A3C and GA3C, but this goes beyond the scope of this paper. ",
|
| 910 |
+
"bbox": [
|
| 911 |
+
173,
|
| 912 |
+
671,
|
| 913 |
+
825,
|
| 914 |
+
852
|
| 915 |
+
],
|
| 916 |
+
"page_idx": 8
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"type": "text",
|
| 920 |
+
"text": "5.3 POLICY LAG, LEARNING STABILITY AND CONVERGENCE SPEED ",
|
| 921 |
+
"text_level": 1,
|
| 922 |
+
"bbox": [
|
| 923 |
+
176,
|
| 924 |
+
871,
|
| 925 |
+
651,
|
| 926 |
+
883
|
| 927 |
+
],
|
| 928 |
+
"page_idx": 8
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"type": "text",
|
| 932 |
+
"text": "One of the main differences between GA3C and A3C is the asynchronous computation of the forward step (policy $\\pi$ ) and the gradients (Eq. (4)) used to update the DNN. Delays between these two operations may introduce noise in the gradients, making the learning process unstable. We experimentally investigated the impact of this asynchrony on the learning process to determine if a synchronization mechanism, which may negatively impact both PPS and TPS, can increase the stability of the algorithm. ",
|
| 933 |
+
"bbox": [
|
| 934 |
+
176,
|
| 935 |
+
895,
|
| 936 |
+
820,
|
| 937 |
+
924
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 8
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "image",
|
| 943 |
+
"img_path": "images/0c16b7d73245082b17a8e33dba0e2a6872587f179bdffd9c7e929b578017e41b.jpg",
|
| 944 |
+
"image_caption": [
|
| 945 |
+
"Figure 6: Training curves for GA3C on five Atari games. Each training has been performed three times for each of two learning rates (0.0003 and 0.0001) on System IV in Table 1. "
|
| 946 |
+
],
|
| 947 |
+
"image_footnote": [],
|
| 948 |
+
"bbox": [
|
| 949 |
+
191,
|
| 950 |
+
111,
|
| 951 |
+
810,
|
| 952 |
+
335
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 9
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "image",
|
| 958 |
+
"img_path": "images/e18b30807e242a8195c95e4286f18a813a54e1147dbd6401fa2dfaaca1809132.jpg",
|
| 959 |
+
"image_caption": [
|
| 960 |
+
"Figure 7: Training GA3C with a range of minimum training batch sizes. Increasing the minimum training batch size from 1 to 40 reduces the effect of the policy lag (delay $k$ in Eq. (4)), leading to convergence that is faster and more stable. GA3C achieved the overall best results with a minimum batch size between 20 and 40. Increasing beyond this threshold dramatically reduces convergence speed for some games, especially those inclined to unstable learning curves. "
|
| 961 |
+
],
|
| 962 |
+
"image_footnote": [],
|
| 963 |
+
"bbox": [
|
| 964 |
+
178,
|
| 965 |
+
395,
|
| 966 |
+
821,
|
| 967 |
+
510
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 9
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "text",
|
| 973 |
+
"text": "",
|
| 974 |
+
"bbox": [
|
| 975 |
+
174,
|
| 976 |
+
623,
|
| 977 |
+
825,
|
| 978 |
+
679
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 9
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "In GA3C, each agent generally pushes $t _ { m a x }$ experiences in the training queue. By default, trainers collect a batch of experiences from a single agent from the training queue and send the batch to the GPU to compute gradients, as in Eq. (5). Each time a trainer updates the DNN weights, the remaining experiences in the training queue are no longer in sync with the DNN model. This situation becomes worse when the average length of the training queue is large. ",
|
| 985 |
+
"bbox": [
|
| 986 |
+
174,
|
| 987 |
+
686,
|
| 988 |
+
823,
|
| 989 |
+
756
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 9
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "text",
|
| 995 |
+
"text": "By allowing larger training batch sizes, we reduce the number of DNN updates per second (TPS), and consequently diminish the effect of the delay $k$ in Eq. (5). In this way we increase the chance that the collected experiences and the computed gradients are in sync, which improves the stability. Notice that, even if the TPS is lower, the average magnitude of the updates is indeed larger, since we sum the gradients computed over the training batch. ",
|
| 996 |
+
"bbox": [
|
| 997 |
+
174,
|
| 998 |
+
763,
|
| 999 |
+
825,
|
| 1000 |
+
833
|
| 1001 |
+
],
|
| 1002 |
+
"page_idx": 9
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"type": "text",
|
| 1006 |
+
"text": "In this setting, the optimal training batch size compromises among TPS, the average gradient step magnitude and the training stability. Another factor to be considered is that batching training data potentially leverages the GPU computational capability better by reducing the time devoted to compute the DNN updates while increasing the GPU occupancy during this phase. This gives more GPU time to the predictors, potentially increasing the PPS. However, this advantage tends to disappear when the training batch size is too large and predictors stay idle while the DNN update is computed. ",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
174,
|
| 1009 |
+
840,
|
| 1010 |
+
825,
|
| 1011 |
+
924
|
| 1012 |
+
],
|
| 1013 |
+
"page_idx": 9
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"type": "text",
|
| 1017 |
+
"text": "Figure 7 compares convergence curves when no minimum size for training batch is compulsory (the default GA3C implementation where gradient updates are computed on a single agent’s batch) and when a minimum training batch size is enforced (combining multiple agent batches into a single gradient update). In the latter case, trainers collect experiences from multiple agents at the same time from the training queue and send them to the GPU for computation of gradients as in Eq. (5). Up to a certain batch size (between 20 and 40, in our experiments), increasing the training batch size stabilizes the learning procedure and generally leads to faster convergence. Some games such as PONG indeed do not suffer from this instability, and the effect of the minimum batch size is less evident in this case. We speculate that a careful selection of the learning rate combined with the proper minimum training batch size may lead to even faster convergence. ",
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
174,
|
| 1020 |
+
103,
|
| 1021 |
+
825,
|
| 1022 |
+
242
|
| 1023 |
+
],
|
| 1024 |
+
"page_idx": 10
|
| 1025 |
+
},
|
| 1026 |
+
{
|
| 1027 |
+
"type": "text",
|
| 1028 |
+
"text": "6 CONCLUSION ",
|
| 1029 |
+
"text_level": 1,
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
176,
|
| 1032 |
+
265,
|
| 1033 |
+
318,
|
| 1034 |
+
281
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 10
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "By investigating the computational aspects of our hybrid CPU/GPU implementation of GA3C, we achieve a significant speed up with respect to its CPU counter part. This comes as a result of a flexible system capable of finding a reasonable allocation of the available computational resources. Our approach allows producing and consuming training data at the maximum pace on different systems, or to adapt to temporal changes of the computational load on one system. Despite the fact that we analyze A3C only, most of our findings can be applied to similar RL asynchronous algorithms. ",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
174,
|
| 1043 |
+
297,
|
| 1044 |
+
825,
|
| 1045 |
+
396
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 10
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "text",
|
| 1051 |
+
"text": "We believe that the analysis of the computational aspects of RL algorithms may be a consistent theme in RL in the future, motivating further studies such as this one. The potential benefits of such investigation goes well beyond the computational aspects. For instance, we demonstrate that GA3C scales with the size of the DNN much more efficiently than our CPU implementation of A3C, thus opening the possibility to explore the use of large DNN controllers to solve real world RL problems. ",
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
176,
|
| 1054 |
+
404,
|
| 1055 |
+
825,
|
| 1056 |
+
473
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 10
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"text": "By open sourcing GA3C (see https://github.com/NVlabs/GA3C), we allow other researchers to further explore this space, investigate in detail the computational aspects of deep RL algorithms, and test new algorithmic solutions, including strategies for the combined utilization of the CPU and GPU computational resources. ",
|
| 1063 |
+
"bbox": [
|
| 1064 |
+
176,
|
| 1065 |
+
479,
|
| 1066 |
+
823,
|
| 1067 |
+
535
|
| 1068 |
+
],
|
| 1069 |
+
"page_idx": 10
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "text",
|
| 1073 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 1074 |
+
"text_level": 1,
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
176,
|
| 1077 |
+
555,
|
| 1078 |
+
326,
|
| 1079 |
+
568
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 10
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "We thank Prof. Roy H. Campbell for partially supporting this work. ",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
174,
|
| 1088 |
+
579,
|
| 1089 |
+
616,
|
| 1090 |
+
594
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 10
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "REFERENCES ",
|
| 1097 |
+
"text_level": 1,
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
176,
|
| 1100 |
+
617,
|
| 1101 |
+
285,
|
| 1102 |
+
632
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 10
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "text",
|
| 1108 |
+
"text": "Mart´ın Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafal Jozefowicz, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mane, Rajat Monga, Sherry Moore, Derek Murray, Chris Olah, ´ Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viegas, Oriol Vinyals, Pete Warden, Martin Watten- ´ berg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL http://tensorflow.org/. Software available from tensorflow.org. ",
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
176,
|
| 1111 |
+
670,
|
| 1112 |
+
825,
|
| 1113 |
+
796
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 10
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "text",
|
| 1119 |
+
"text": "M. G. Bellemare, S. Srinivasan, G. Ostrovski, T. Schaul, D. Saxton, and R. Munos. Unifying CountBased Exploration and Intrinsic Motivation. ArXiv e-prints, June 2016. ",
|
| 1120 |
+
"bbox": [
|
| 1121 |
+
173,
|
| 1122 |
+
810,
|
| 1123 |
+
821,
|
| 1124 |
+
838
|
| 1125 |
+
],
|
| 1126 |
+
"page_idx": 10
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "text",
|
| 1130 |
+
"text": "Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym, 2016. ",
|
| 1131 |
+
"bbox": [
|
| 1132 |
+
171,
|
| 1133 |
+
853,
|
| 1134 |
+
825,
|
| 1135 |
+
881
|
| 1136 |
+
],
|
| 1137 |
+
"page_idx": 10
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "text",
|
| 1141 |
+
"text": "G. Lample and D. Singh Chaplot. Playing FPS Games with Deep Reinforcement Learning. ArXiv e-prints, September 2016. ",
|
| 1142 |
+
"bbox": [
|
| 1143 |
+
174,
|
| 1144 |
+
895,
|
| 1145 |
+
823,
|
| 1146 |
+
922
|
| 1147 |
+
],
|
| 1148 |
+
"page_idx": 10
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "text",
|
| 1152 |
+
"text": "Timothy P. Lillicrap, Jonathan J. Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. CoRR, abs/1509.02971, 2015. URL http://arxiv.org/abs/1509.02971. ",
|
| 1153 |
+
"bbox": [
|
| 1154 |
+
176,
|
| 1155 |
+
103,
|
| 1156 |
+
821,
|
| 1157 |
+
146
|
| 1158 |
+
],
|
| 1159 |
+
"page_idx": 11
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "text",
|
| 1163 |
+
"text": "V. Mnih, A. Puigdomenech Badia, M. Mirza, A. Graves, T. P. Lillicrap, T. Harley, D. Silver, and K. Kavukcuoglu. Asynchronous Methods for Deep Reinforcement Learning. ArXiv preprint arXiv:1602.01783, 2016. ",
|
| 1164 |
+
"bbox": [
|
| 1165 |
+
176,
|
| 1166 |
+
155,
|
| 1167 |
+
821,
|
| 1168 |
+
196
|
| 1169 |
+
],
|
| 1170 |
+
"page_idx": 11
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "text",
|
| 1174 |
+
"text": "Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Bellemare, Alex Graves, Martin Riedmiller, Andreas K. Fidjeland, Georg Ostrovski, Stig Petersen, Charles Beattie, Amir Sadik, Ioannis Antonoglou, Helen King, Dharshan Kumaran, Daan Wierstra, Shane Legg, and Demis Hassabis. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 02 2015. URL http://dx.doi.org/10.1038/ nature14236. ",
|
| 1175 |
+
"bbox": [
|
| 1176 |
+
174,
|
| 1177 |
+
207,
|
| 1178 |
+
825,
|
| 1179 |
+
290
|
| 1180 |
+
],
|
| 1181 |
+
"page_idx": 11
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "text",
|
| 1185 |
+
"text": "Arun Nair, Praveen Srinivasan, Sam Blackwell, Cagdas Alcicek, Rory Fearon, Alessandro De Maria, Vedavyas Panneershelvam, Mustafa Suleyman, Charles Beattie, Stig Petersen, Shane Legg, Volodymyr Mnih, Koray Kavukcuoglu, and David Silver. Massively parallel methods for deep reinforcement learning. CoRR, abs/1507.04296, 2015. URL http://arxiv.org/abs/ 1507.04296. ",
|
| 1186 |
+
"bbox": [
|
| 1187 |
+
173,
|
| 1188 |
+
299,
|
| 1189 |
+
825,
|
| 1190 |
+
369
|
| 1191 |
+
],
|
| 1192 |
+
"page_idx": 11
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "text",
|
| 1196 |
+
"text": "Tom Schaul, John Quan, Ioannis Antonoglou, and David Silver. Prioritized experience replay. CoRR, abs/1511.05952, 2015. URL http://arxiv.org/abs/1511.05952. ",
|
| 1197 |
+
"bbox": [
|
| 1198 |
+
171,
|
| 1199 |
+
378,
|
| 1200 |
+
823,
|
| 1201 |
+
409
|
| 1202 |
+
],
|
| 1203 |
+
"page_idx": 11
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "text",
|
| 1207 |
+
"text": "David Silver, Aja Huang, Christopher J. Maddison, Arthur Guez, Laurent Sifre, George van den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, Sander Dieleman, Dominik Grewe, John Nham, Nal Kalchbrenner, Ilya Sutskever, Timothy Lillicrap, Madeleine Leach, Koray Kavukcuoglu, Thore Graepel, and Demis Hassabis. Mastering the game of go with deep neural networks and tree search. Nature, 529:484–503, 2016. URL http: //www.nature.com/nature/journal/v529/n7587/full/nature16961.html. ",
|
| 1208 |
+
"bbox": [
|
| 1209 |
+
173,
|
| 1210 |
+
416,
|
| 1211 |
+
825,
|
| 1212 |
+
501
|
| 1213 |
+
],
|
| 1214 |
+
"page_idx": 11
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "text",
|
| 1218 |
+
"text": "Richard S. Sutton and Andrew G. Barto. Introduction to Reinforcement Learning. MIT Press, Cambridge, MA, USA, 1st edition, 1998. ISBN 0262193981. ",
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
176,
|
| 1221 |
+
510,
|
| 1222 |
+
821,
|
| 1223 |
+
539
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 11
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "text",
|
| 1229 |
+
"text": "Tijmen Tieleman and Geoffrey Hinton. Lecture 6.5-rmsprop: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural Networks for Machine Learning, 4(2), 2012. ",
|
| 1230 |
+
"bbox": [
|
| 1231 |
+
174,
|
| 1232 |
+
547,
|
| 1233 |
+
825,
|
| 1234 |
+
589
|
| 1235 |
+
],
|
| 1236 |
+
"page_idx": 11
|
| 1237 |
+
},
|
| 1238 |
+
{
|
| 1239 |
+
"type": "text",
|
| 1240 |
+
"text": "Hado van Hasselt, Arthur Guez, and David Silver. Deep reinforcement learning with double qlearning. CoRR, abs/1509.06461, 2015. URL http://arxiv.org/abs/1509.06461. ",
|
| 1241 |
+
"bbox": [
|
| 1242 |
+
173,
|
| 1243 |
+
598,
|
| 1244 |
+
823,
|
| 1245 |
+
628
|
| 1246 |
+
],
|
| 1247 |
+
"page_idx": 11
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "text",
|
| 1251 |
+
"text": "Ziyu Wang, Nando de Freitas, and Marc Lanctot. Dueling network architectures for deep reinforcement learning. CoRR, abs/1511.06581, 2015. URL http://arxiv.org/abs/1511. 06581. ",
|
| 1252 |
+
"bbox": [
|
| 1253 |
+
173,
|
| 1254 |
+
637,
|
| 1255 |
+
825,
|
| 1256 |
+
679
|
| 1257 |
+
],
|
| 1258 |
+
"page_idx": 11
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "text",
|
| 1262 |
+
"text": "Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3-4):229–256, 1992. ",
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
171,
|
| 1265 |
+
689,
|
| 1266 |
+
823,
|
| 1267 |
+
717
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 11
|
| 1270 |
+
}
|
| 1271 |
+
]
|
parse/train/r1VGvBcxl/r1VGvBcxl_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r1VGvBcxl/r1VGvBcxl_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkjZ2Pcxe/rkjZ2Pcxe.md
ADDED
|
@@ -0,0 +1,333 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ADDING GRADIENT NOISE IMPROVES LEARNING FOR VERY DEEP NETWORKS
|
| 2 |
+
|
| 3 |
+
Arvind Neelakantan∗ †, Luke Vilnis∗ † College of Information and Computer Sciences University of Massachusetts Amherst {arvind,luke}@cs.umass.edu
|
| 4 |
+
|
| 5 |
+
Quoc V. Le, Lukasz Kaiser, Karol Kurach Google Brain {qvl,lukaszkaiser,kkurach}@google.com
|
| 6 |
+
|
| 7 |
+
Ilya Sutskever†
|
| 8 |
+
OpenAI
|
| 9 |
+
{ilyasu}@openai.com
|
| 10 |
+
James Martens
|
| 11 |
+
University of Toronto
|
| 12 |
+
{jmartens}@cs.toronto.edu
|
| 13 |
+
|
| 14 |
+
# ABSTRACT
|
| 15 |
+
|
| 16 |
+
Deep feedforward and recurrent networks have achieved impressive results in many perception and language processing applications. Recently, more complex architectures such as Neural Turing Machines and Memory Networks have been proposed for tasks including question answering and general computation, creating a new set of optimization challenges. In this paper, we explore the lowoverhead and easy-to-implement optimization technique of adding annealed Gaussian noise to the gradient, which we find surprisingly effective when training these very deep architectures. Unlike classical weight noise, gradient noise injection is complementary to advanced stochastic optimization algorithms such as Adam and AdaGrad. The technique not only helps to avoid overfitting, but also can result in lower training loss. We see consistent improvements in performance across an array of complex models, including state-of-the-art deep networks for question answering and algorithm learning. We observe that this optimization strategy allows a fully-connected 20-layer deep network to escape a bad initialization with standard stochastic gradient descent. We encourage further application of this technique to additional modern neural architectures.
|
| 17 |
+
|
| 18 |
+
# 1 INTRODUCTION
|
| 19 |
+
|
| 20 |
+
Deep neural networks have shown remarkable success in diverse domains including image recognition (Krizhevsky et al., 2012), speech recognition (Hinton et al., 2012) and language processing applications (Sutskever et al., 2014; Bahdanau et al., 2014). This broad success comes from a confluence of several factors. First, the creation of massive labeled datasets has allowed deep networks to demonstrate their advantages in expressiveness and scalability. The increase in computing power has also enabled training of far larger networks with more forgiving optimization dynamics (Choromanska et al., 2015). Additionally, architectures such as convolutional networks (LeCun et al., 1998) and long short-term memory networks (Hochreiter & Schmidhuber, 1997) have proven to be easier to optimize than classical feedforward and recurrent models. Finally, the success of deep networks is also a result of the development of simple and broadly applicable learning techniques such as dropout (Srivastava et al., 2014), ReLUs (Nair & Hinton, 2010), gradient clipping (Pascanu et al., 2013; Graves, 2013), optimization algorithms and weight initialization strategies (Glorot & Bengio, 2010; Sutskever et al., 2013; He et al., 2015).
|
| 21 |
+
|
| 22 |
+
Recent work has aimed to push neural network learning into more challenging domains, such as question answering or program induction. These more complicated problems demand more complicated architectures (e.g. Graves et al. (2014); Sukhbaatar et al. (2015)), thereby posing new optimization challenges. While there is very active research in improving learning in deep feedforward and recurrent networks, such as layer-wise deep supervision (Lee et al., 2015), novel activation functions (Maas et al., 2013), initialization schemes (He et al., 2015), and cell architectures (Cho et al., 2014a; Yao et al., 2015), these are not always sufficient or applicable in networks with complex structure over the latent variables. In order to achieve good performance, researchers have reported the necessity of additional techniques such as explicit labeling of latent variables (Weston et al., 2014), relaxing weight-tying constraints (Kaiser & Sutskever, 2016), warmstarts (Peng et al., 2015), random restarts, and the removal of certain activation functions in early stages of training (Sukhbaatar et al., 2015).
|
| 23 |
+
|
| 24 |
+
The recurring theme is that commonly-used optimization techniques are not always sufficient to robustly optimize the models of interest. In this work, we explore a simple technique of adding annealed Gaussian noise to the gradient, which we find to be surprisingly effective in training deep neural networks with stochastic gradient descent. While there is a long tradition of adding random weight noise in neural networks, it has been under-explored in the optimization of modern deep architectures. Furthermore, although weight and gradient noise are equivalent when using standard SGD updates, the use of adaptive and momentum based stochastic optimizers such as Adam and AdaGrad (Duchi et al., 2011; Kingma & Ba, 2014) breaks this equivalence, allowing the noise to effectively adapt to the curvature of the optimization landscape. We find this property to be important when optimizing the most complex models.
|
| 25 |
+
|
| 26 |
+
While there exist theoretical and empirical results on the regularizing effects of conventional stochastic gradient descent, especially for the minimization of convex losses (Bousquet & Bottou, 2008), we find that in practice the added noise can actually help us achieve lower training loss by encouraging active exploration of parameter space. This exploration proves especially necessary and fruitful when optimizing neural network models containing many layers or complex latent structures. For neural network learning, it has long been known that the noise in the stochastic gradient can help to escape saddle points and local optima (Bottou, 1992). For this reason, neural network practitioners sometimes avoid overly-large mini-batch sizes to achieve the best results. We find that the Gaussian noise added in our technique is complementary to the noisy stochastic gradient, and a combination of Gaussian noise and tuned mini-batch sizes is necessary for the most complex models.
|
| 27 |
+
|
| 28 |
+
The main contribution of this work is to demonstrate the broad applicability of this simple method to the training of many complex modern neural architectures. To our knowledge, neither the exponentially decayed noise schedule nor the black box combination of injected gradient noise with adaptive optimizers have been used before in the training of deep networks. We consistently see improvements from Gaussian gradient noise when optimizing a wide variety of models, including very deep fully-connected networks, and special-purpose architectures for question answering and algorithm learning. For example, this method allows us to escape a poor initialization and successfully train a 20-layer rectifier network on MNIST with standard gradient descent. It also enables a $72 \%$ relative reduction in error in question answering, and doubles the number of accurate binary multiplication models learned across 7,000 random restarts. Gradient noise also possesses attractive robustness properties. We examine only two distinct settings of the noise variance hyperparameter in total across all experiments. We additionally observe that in cases where gradient noise fails to improve over other learning techniques, it rarely significantly hurts a models ability to generalize.
|
| 29 |
+
|
| 30 |
+
We hope that practitioners will see similar improvements in their own research by adding this simple technique, implementable in a single line of code, to their repertoire.
|
| 31 |
+
|
| 32 |
+
# 2 RELATED WORK
|
| 33 |
+
|
| 34 |
+
Adding random noise to the weights, inputs, or hidden units has been a known technique amongst neural network practitioners for many years (e.g. Murray & Edwards; An (1996)). However, the benefits of gradient noise have not been fully explored with modern deep networks nor combined with advanced stochastic optimization techniques, which allow the noise to take into account the geometry of the optimization problem and the statistical manifold.
|
| 35 |
+
|
| 36 |
+
Weight noise (Steijvers, 1996) and adaptive weight noise (Graves, 2011; Blundell et al., 2015), which usually maintains a Gaussian variational posterior over network weights, similarly aim to improve learning by added noise during training. In adaptive weight noise, an extra set of parameters for the variance must be maintained. This adaptation is different than our use of an adaptive optimizer, as it aims to capture an accurate estimate of uncertainty in the weights and not guide the exploration of parameter space. They differ from our proposed method in that the noise is not annealed and at convergence will be non-zero.
|
| 37 |
+
|
| 38 |
+
Similarly, the technique of dropout (Srivastava et al., 2014) randomly sets groups of hidden units to zero at train time to improve generalization in a manner similar to ensembling.
|
| 39 |
+
|
| 40 |
+
An annealed Gaussian gradient noise schedule was used to train the highly non-convex Stochastic Neighbor Embedding model in Hinton & Roweis (2002). The gradient noise schedule that we found to be most effective is very similar to the Stochastic Gradient Langevin Dynamics (SGLD) algorithm of Welling & Teh (2011), who use gradients with added noise to accelerate MCMC inference for logistic regression and independent component analysis models. This use of gradient information in MCMC sampling for machine learning to allow faster exploration of state space was previously proposed by Neal (2011). However, standard SGLD analysis does not allow for the use of adaptive optimizers or momentum, limiting the efficiency for very pathological optimization landscapes. Stochastic Gradient Riemannian Langevin Dynamics (Patterson & Teh, 2013) adapts the gradient and noise using the Fisher information matrix, effectively following trajectories along the same manifold as the natural gradient (Amari, 1998), but is applied only to models for which that matrix is tractable to estimate in closed form.
|
| 41 |
+
|
| 42 |
+
Various optimization techniques have been proposed to improve the training of neural networks. Most notable is the use of momentum (Polyak, 1964; Sutskever et al., 2013; Kingma & Ba, 2014) or adaptive learning rates (Duchi et al., 2011; Dean et al., 2012; Zeiler, 2012). These methods are normally developed to provide good convergence rates for the convex setting, and then heuristically applied to nonconvex problems. Similarly, batch normalization and related methods (Ioffe & Szegedy, 2015; Arpit et al., 2016; Salimans & Kingma, 2016), natural gradient descent (Amari, 1998; Desjardins et al., 2015), and K-FAC (Martens & Grosse, 2015) can all be seen as various preconditioning methods using approximations to the inverse Fisher information of the neural network. While there has been some difficulty in combining batch normalization-type algorithms with recurrent networks (Laurent et al., 2015), recent work has had success in this area (Cooijmans et al., 2016; Ba et al., 2016).
|
| 43 |
+
|
| 44 |
+
Injecting noise in the gradient can be combined with any of the above methods, and can be seen as a complementary technique especially suitable for nonconvex problems. By adding additional artificial stochasticity to the gradient, this technique allows the model more chances to escape local minima or saddle-points (see a similar argument in Bottou (1992)), or to traverse quickly through the “transient” plateau phase of early learning (see a similar analysis for momentum in Sutskever et al. (2013)). This is born out empirically in our observation that adding gradient noise can actually result in lower training loss. In this sense, we suspect adding gradient noise is similar to simulated annealing (Kirkpatrick et al., 1983) which exploits random noise to explore complex optimization landscapes. This can be contrasted with well-known benefits of stochastic gradient descent as a learning algorithm (Robbins & Monro, 1951; Bousquet & Bottou, 2008), where both theory and practice have shown that the noise induced by the stochastic process aids generalization by reducing overfitting.
|
| 45 |
+
|
| 46 |
+
Recently, there has been a surge in research examining the use of gradient and weight noise when training deep neural networks. Mobahi (2016) present an optimization technique for recurrent networks that applies an annealed Gaussian kernel smoothing method to the loss function, of which annealed weight noise is a Monte Carlo estimator. Li et al. (2016) present a version of SGLD that incorporates both Gaussian noise and adaptively estimated learning rates (but no momentum term). Though significantly more complex than our proposed method, the most similar work is the Santa algorithm of Chen et al. (2016). Santa combines SGLD with adaptive learning rates and adaptive per-coordinate momentum parameters, and shows that the scheme can approach global optima of the objective function under certain assumptions.
|
| 47 |
+
|
| 48 |
+
# 3 METHOD
|
| 49 |
+
|
| 50 |
+
We consider a simple technique of adding time-dependent Gaussian noise to the gradient $g$ at every training step $t$ :
|
| 51 |
+
|
| 52 |
+
$$
|
| 53 |
+
g _ { t } \gets g _ { t } + N ( 0 , \sigma _ { t } ^ { 2 } )
|
| 54 |
+
$$
|
| 55 |
+
|
| 56 |
+
The gradient $g _ { t }$ is then used to update the weights $\theta _ { t }$ as if it were the original gradient of the loss function, and can be used with any stochastic optimization algorithm. Our experiments indicate that adding annealed Gaussian noise by decaying the variance often works better and more robustly than using fixed Gaussian noise (see Section 4.6). We use a schedule inspired from Welling & Teh (2011) in our experiments and take:
|
| 57 |
+
|
| 58 |
+
$$
|
| 59 |
+
\sigma _ { t } ^ { 2 } = \frac { \eta } { ( 1 + t ) ^ { \gamma } }
|
| 60 |
+
$$
|
| 61 |
+
|
| 62 |
+
We examine only 2 distinct noise hyperparameter configurations in our experiments, selecting $\eta$ from $\{ 0 . 0 1 , 1 . 0 \}$ and setting $\gamma = 0 . 5 5$ in all experiments. We believe this shows that annealed gradient noise is robust to minimal tuning. For example, in the experiments on Neural Programmer and Neural GPUs, we tried only a single configuration of noise parameters, simply setting $\eta = 1 . 0$ and tuning only the model hyperparameters as normal.
|
| 63 |
+
|
| 64 |
+
# 4 EXPERIMENTS
|
| 65 |
+
|
| 66 |
+
In the following experiments, we examine the effect of gradient noise on deep networks for MNIST digit classification, and consider a variety of complex neural network architectures: EndTo-End Memory Networks (Sukhbaatar et al., 2015) and Neural Programmer (Neelakantan et al., 2016) for question answering, Neural Random Access Machines (Kurach et al., 2016) and Neural GPUs (Kaiser & Sutskever, 2016) for algorithm learning. The models and results are described as follows.
|
| 67 |
+
|
| 68 |
+
# 4.1 DEEP FULLY-CONNECTED NETWORKS
|
| 69 |
+
|
| 70 |
+
For our first set of experiments, we examine the impact of adding gradient noise when training a very deep fully-connected network on the MNIST handwritten digit classification dataset (LeCun et al., 1998). Our network is deep: it has 20 hidden layers, with each layer containing 50 hidden units, posing a significant optimization and generalization problem. We use the ReLU activation function (Nair & Hinton, 2010).
|
| 71 |
+
|
| 72 |
+
In this experiment, we train with SGD without momentum, using the fixed learning rates of 0.1 and 0.01. Unless otherwise specified, the weights of the network are initialized from a Gaussian with mean zero, and standard deviation of 0.1, which we call Simple Init. When adding gradient noise, we tried both settings of the variance detailed in Section 3, and found that decaying variance according to the schedule in Equation (1) with $\eta = 0 . 0 1$ worked best.
|
| 73 |
+
|
| 74 |
+
The results of our experiment are in Table 1. When trained from Simple Init we can see that adding noise to the gradient helps in achieving higher average and best accuracy over 20 runs using each learning rate for a total of 40 runs (Table 1, Experiment 1). We note that the average is closer to $50 \%$ because the small learning rate of 0.01 usually gives very slow convergence. We also try our approach on a more shallow network of 5 layers, but adding noise does not improve the training in that case.
|
| 75 |
+
|
| 76 |
+
Next, we experiment with clipping the gradients with two threshold values: 100 and 10 (Table 1, Experiment 2, and 3). Here, we find training with gradient noise is insensitive to the gradient clipping values. By tuning the clipping threshold, it is possible to get comparable accuracy without noise for this problem.
|
| 77 |
+
|
| 78 |
+
In our fourth and fifth experiments (Table 1, Experiment 4), we use two analytically-derived ReLU initialization techniques (which we term Good Init 1 and 2) recently-proposed by Sussillo (2014) and He et al. (2015), and find that adding gradient noise does not help. Previous work has found that stochastic gradient descent with carefully tuned initialization, momentum, learning rate, and learning rate decay can optimize such extremely deep fully-connected ReLU networks (Srivastava et al., 2015). It would be harder to find such a robust initialization technique for the more complex heterogeneous architectures considered in later sections. Accordingly, we find in later experiments (e.g., Section 4.3) that random restarts and the use of a momentum-based optimizer like Adam are not sufficient to achieve the best results in the absence of added gradient noise.
|
| 79 |
+
|
| 80 |
+
To test how sensitive the methods are to poor initialization, in addition to the sub-optimal Simple Init, we run an experiment where all the weights in the neural network are initialized at zero. The results (Table 1, Experiment 5) show that if we do not add noise to the gradient, the networks fail to learn. If we add some noise, the networks can learn and reach $9 4 . 5 \%$ accuracy. While the pessimal performance of the noiseless model is unsurprising (initializing weights at 0 introduces symmetries that make gradient-descent impossible), it is interesting to note that gradient noise can overcome what is perhaps the canonical “bad initialization.”
|
| 81 |
+
|
| 82 |
+
Experiment 1: Simple Init, No Gradient Clip
|
| 83 |
+
|
| 84 |
+
<table><tr><td rowspan=1 colspan=1>Setting</td><td rowspan=1 colspan=1>Best Test Acc.</td><td rowspan=1 colspan=1>Avg. Test Acc.</td></tr><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>89.9%</td><td rowspan=1 colspan=1>43.1%</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>96.7%</td><td rowspan=1 colspan=1>52.7%</td></tr><tr><td rowspan=1 colspan=1>No Noise + Dropout</td><td rowspan=1 colspan=1>11.3%</td><td rowspan=1 colspan=1>10.8%</td></tr></table>
|
| 85 |
+
|
| 86 |
+
Experiment 2: Simple Init, Gradient ${ \mathrm { C l i p } } = 1 0 0$
|
| 87 |
+
|
| 88 |
+
<table><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>90.0%</td><td rowspan=1 colspan=1>46.3%</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>96.7%</td><td rowspan=1 colspan=1>52.3%</td></tr></table>
|
| 89 |
+
|
| 90 |
+
Experiment 3: Simple Init, Gradient ${ \mathrm { C l i p } } = 1 0$
|
| 91 |
+
|
| 92 |
+
<table><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>95.7%</td><td rowspan=1 colspan=1>51.6%</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>97.0%</td><td rowspan=1 colspan=1>53.6%</td></tr></table>
|
| 93 |
+
|
| 94 |
+
Experiment 4: Good Init $1 +$ Gradient Clip = 10
|
| 95 |
+
|
| 96 |
+
<table><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>97.4%</td><td rowspan=1 colspan=1>92.1%</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>97.5%</td><td rowspan=1 colspan=1>92.2%</td></tr></table>
|
| 97 |
+
|
| 98 |
+
Experiment 5: Good Init $^ { 2 + }$ Gradient Clip = 10
|
| 99 |
+
|
| 100 |
+
<table><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>97.4%</td><td rowspan=1 colspan=1>91.7%</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>97.2%</td><td rowspan=1 colspan=1>91.7%</td></tr></table>
|
| 101 |
+
|
| 102 |
+
Experiment 6: Bad Init (Zero Init) $^ +$ Gradient Clip = 10
|
| 103 |
+
Table 1: Average and best test accuracy on MNIST over 40 runs. Higher values are better.
|
| 104 |
+
|
| 105 |
+
<table><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>11.4%</td><td rowspan=1 colspan=1>10.1%</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>94.5%</td><td rowspan=1 colspan=1>49.7%</td></tr></table>
|
| 106 |
+
|
| 107 |
+
In summary, these experiments show that if we are careful with initialization and gradient clipping values, it is possible to train a very deep fully-connected network without adding gradient noise. However, if the initialization is poor, optimization can be difficult, and adding noise to the gradient is a good mechanism to overcome the optimization difficulty. Additionally, the noise need not be heavily tuned and rarely decreases performance.
|
| 108 |
+
|
| 109 |
+
This set of results suggests that added gradient noise can be an effective mechanism for training complex networks. This is because it is more difficult to initialize the weights properly for these architectures. In the following, we explore the training of more complex models such as End-ToEnd Memory Networks and Neural Programmer, whose initialization is less well studied.
|
| 110 |
+
|
| 111 |
+
# 4.2 END-TO-END MEMORY NETWORKS
|
| 112 |
+
|
| 113 |
+
We test added gradient noise for training End-To-End Memory Networks (Sukhbaatar et al., 2015), an approach for question answering using deep networks. Memory Networks have been demonstrated to perform well on a relatively challenging toy question answering problem (Weston et al., 2015).
|
| 114 |
+
|
| 115 |
+
In Memory Networks, the model has access to a context, a question, and is asked to predict an answer. Internally, the model has an attention mechanism which focuses on the right clue to answer the question. In the original formulation (Weston et al., 2015), Memory Networks were provided with additional supervision as to what pieces of context were necessary to answer the question. This was replaced in the End-To-End formulation by a latent attention mechanism implemented by a softmax over contexts. As this greatly complicates the learning problem, the authors implement a two-stage training procedure: First train the networks with a linear attention, then use those weights to warmstart the model with softmax attention.
|
| 116 |
+
|
| 117 |
+
In our experiments with Memory Networks, we use the same model hyperparameter settings as Sukhbaatar et al. (2015), and we try both settings of the variance detailed in Section 3, finding $\eta = 0 . 0 1$ worked best for this task. This noise is added to the gradient after clipping.
|
| 118 |
+
|
| 119 |
+
We set the number of training epochs to 200 because we would like to understand the behaviors of Memory Networks near convergence. We test the effect of gradient noise with the published two-stage training approach, and additionally with a one-stage approach where we train the networks with softmax attention and without warmstarting. Following the experimental protocol of Sukhbaatar et al. (2015), we take the model with lowest training error out of 10 random restarts. Results are reported in Table 2. We find some fluctuations during each run of the training, but the reported results reflect the typical gains obtained by adding random noise.
|
| 120 |
+
|
| 121 |
+
We find that warmstarting does indeed help the networks. In all cases, adding random noise to the gradient also helps the network both in terms of training errors and validation errors, and never hurts. Added noise, however, is especially helpful for the training of End-To-End Memory Networks without the warmstarting stage.
|
| 122 |
+
|
| 123 |
+
One-Stage Training
|
| 124 |
+
|
| 125 |
+
<table><tr><td rowspan=1 colspan=1>Setting</td><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>With Noise</td></tr><tr><td rowspan=1 colspan=1>Train error:</td><td rowspan=1 colspan=1>10.5%</td><td rowspan=1 colspan=1>9.6%</td></tr><tr><td rowspan=1 colspan=1>Validation error:</td><td rowspan=1 colspan=1>19.5%</td><td rowspan=1 colspan=1>16.6%</td></tr></table>
|
| 126 |
+
|
| 127 |
+
Two-Stage Training
|
| 128 |
+
Table 2: The effects of adding gradient noise to End-to-End Memory Networks. Lower values are better.
|
| 129 |
+
|
| 130 |
+
<table><tr><td rowspan=1 colspan=1>Train error:</td><td rowspan=1 colspan=1>6.2%</td><td rowspan=1 colspan=1>5.9%</td></tr><tr><td rowspan=1 colspan=1>Validation error:</td><td rowspan=1 colspan=1>10.9%</td><td rowspan=1 colspan=1>10.8%</td></tr></table>
|
| 131 |
+
|
| 132 |
+
# 4.3 NEURAL PROGRAMMER
|
| 133 |
+
|
| 134 |
+
Neural Programmer is a neural network architecture augmented with a small set of built-in arithmetic and logic operations that learns to induce latent programs. It is proposed for the task of question answering from tables (Neelakantan et al., 2016). Examples of operations on a table include the sum of a set of numbers, or the list of numbers greater than a particular value. Key to Neural Programmer is the use of “soft selection” to assign a probability distribution over the list of operations. This probability distribution weighs the result of each operation, and the cost function compares this weighted result to the ground truth. This soft selection, inspired by the soft attention mechanism of Bahdanau et al. (2014), allows for full differentiability of the model. Running the model for several steps of selection allows the model to induce a complex program by chaining the operations, one after the other. At convergence, the soft selection tends to become peaky (hard selection). Figure 1 shows the architecture of Neural Programmer at a high level.
|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
Figure 1: Neural Programmer, a neural network with built-in arithmetic and logic operations. At every time step, the controller selectes an operation and a data segment. Figure reproduced with permission from Neelakantan et al. (2016).
|
| 138 |
+
|
| 139 |
+
In a synthetic table comprehension task, Neural Programmer takes a question and a table (or database) as input and the goal is to predict the correct answer. To solve this task, the model has to induce a program and execute it on the table. A major challenge is that the supervision signal is in the form of the correct answer and not the program itself. The model runs for a fixed number of steps, and at each step selects a data segment and an operation to apply to the selected data segment. Soft selection is performed at training time so that the model is differentiable, while at test time hard selection is employed.
|
| 140 |
+
|
| 141 |
+
We examine only the noise configuration with $\eta = 1 . 0$ , and add noise to the gradient after clipping, optimizing all other hyperparameters of the model. The model is optimized with Adam (Kingma & Ba, 2014), which combines momentum and adaptive learning rates.
|
| 142 |
+
|
| 143 |
+
For our first experiment, we train Neural Programmer to answer questions involving a single column of numbers. We use 72 different hyper-parameter configurations with and without adding annealed random noise to the gradients. We also run each of these experiments for 3 different random initializations of the model parameters and we find that only $1 / 2 1 6$ runs achieve $1 0 0 \%$ test accuracy without adding noise while $9 / 2 1 6$ runs achieve $1 0 0 \%$ accuracy when random noise is added. The 9 successful runs consisted of models initialized with all the three different random seeds, demonstrating robustness to initialization. We find that when using dropout (Srivastava et al., 2014) none of the 216 runs give $100 \%$ accuracy.
|
| 144 |
+
|
| 145 |
+
We consider a more difficult question answering task where tables have up to five columns containing numbers. We also experiment on a task containing one column of numbers and another column of text entries. Table 3 shows the performance of adding noise vs. no noise on Neural Programmer.
|
| 146 |
+
|
| 147 |
+
Question Answering Accuracy
|
| 148 |
+
|
| 149 |
+
<table><tr><td rowspan=1 colspan=1>Setting</td><td rowspan=1 colspan=1>Dropout</td><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>With Noise</td></tr><tr><td rowspan=1 colspan=1>Five columns</td><td rowspan=1 colspan=1>No</td><td rowspan=1 colspan=1>95.3%</td><td rowspan=1 colspan=1>98.7%</td></tr><tr><td rowspan=1 colspan=1>Text entries</td><td rowspan=1 colspan=1>No</td><td rowspan=1 colspan=1>97.6%</td><td rowspan=1 colspan=1>98.8%</td></tr><tr><td rowspan=1 colspan=1>Five columns</td><td rowspan=1 colspan=1>Yes</td><td rowspan=1 colspan=1>97.4%</td><td rowspan=1 colspan=1>99.2%</td></tr><tr><td rowspan=1 colspan=1>Text entries</td><td rowspan=1 colspan=1>Yes</td><td rowspan=1 colspan=1>99.1%</td><td rowspan=1 colspan=1>97.3%</td></tr></table>
|
| 150 |
+
|
| 151 |
+
Table 3: The effects of adding random noise to the gradient on Neural Programmer. Higher values are better. Adding random noise to the gradient always helps the model. When the models are applied to these more complicated tasks than the single column experiment, using dropout and noise together seems to be beneficial in one case while using only one of them achieves the best result in the other case.
|
| 152 |
+
|
| 153 |
+
Figure 2 shows an example of the effect of adding random noise to the gradients in our experiment with 5 columns. The differences between the two models are much more pronounced than Table 3 indicates because that table reflects the results from the best hyperparameters. Figure 2 indicates a more typical training run.
|
| 154 |
+
|
| 155 |
+

|
| 156 |
+
Figure 2: Noise Vs. No Noise in our experiment with 5 columns. The models trained with noise generalizes almost always better.
|
| 157 |
+
|
| 158 |
+
In all cases, we see that added gradient noise improves performance of Neural Programmer. Its performance when combined with or used instead of dropout is mixed depending on the problem, but the positive results indicate that it is worth attempting on a case-by-case basis.
|
| 159 |
+
|
| 160 |
+
# 4.4 NEURAL RANDOM ACCESS MACHINES
|
| 161 |
+
|
| 162 |
+
We now conduct experiments with Neural Random-Access Machines (NRAM) (Kurach et al., 2016). NRAM is a model for algorithm learning that can store data, and explicitly manipulate and dereference pointers. NRAM consists of a neural network controller, memory, registers and a set of built-in operations. This is similar to the Neural Programmer in that it uses a controller network to compose built-in operations, but both reads and writes to an external memory. An operation can either read (a subset of) contents from the memory, write content to the memory or perform an arithmetic operation on either input registers or outputs from other operations. The controller runs for a fixed number of time steps. At every step, the model selects a “circuit” to be executed: both the operations and its inputs.
|
| 163 |
+
|
| 164 |
+
These selections are made using soft attention (Bahdanau et al., 2014) making the model end-to-end differentiable. NRAM uses an LSTM (Hochreiter & Schmidhuber, 1997) controller. Figure 3 gives an overview of the model.
|
| 165 |
+
|
| 166 |
+

|
| 167 |
+
Figure 3: One timestep of the NRAM architecture with $R = 4$ registers and a memory tape. $m _ { 1 }$ , $m _ { 2 }$ and $m _ { 3 }$ are example operations built-in to the model. The operations can read and write from memory. At every time step, the LSTM controller softly selects the operation and its inputs. Figure reproduced with permission from Kurach et al. (2016).
|
| 168 |
+
|
| 169 |
+
For our experiment, we consider a problem of finding the $k$ -th element’s value in a linked list. The network is given a pointer to the head of the linked list, and has to find the value of the $k$ -th element. Note that this is highly nontrivial because pointers and their values are stored at random locations in memory, so the model must learn to traverse a complex graph for $k$ steps.
|
| 170 |
+
|
| 171 |
+
Because of this complexity, training the NRAM architecture can be unstable, especially when the number of steps and operations is large. We once again experiment with the decaying noise schedule from Equation (1), setting $\eta = 0 . 0 1$ . We run a large grid search over the model hyperparameters (detailed in Kurach et al. (2016)), and find the top 3 parameter settings separately for both noised and un-noised models. For each model, for each of these 3 settings, we try 100 different random initializations and look at the percentage of runs that give $1 0 0 \%$ accuracy across each one for training both with and without noise.
|
| 172 |
+
|
| 173 |
+
As in our experiments with Neural Programmer, we find that adding the noise after gradient clipping is crucial. This is likely because the effect of random noise is washed away when gradients become too large. For models trained with noise we observed much better reproduce rates, which are presented in Table 4. Although it is possible to train the model to achieve $\bar { 1 } 0 0 \%$ accuracy without noise, it is less robust across multiple random restarts, with over $1 0 \mathrm { x }$ as many initializations leading to a correct answer when using noise.
|
| 174 |
+
|
| 175 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>With Noise</td></tr><tr><td rowspan=1 colspan=1>Hyperparameter-1</td><td rowspan=1 colspan=1>1%</td><td rowspan=1 colspan=1>5%</td></tr><tr><td rowspan=1 colspan=1>Hyperparameter-2</td><td rowspan=1 colspan=1>0%</td><td rowspan=1 colspan=1>22%</td></tr><tr><td rowspan=1 colspan=1>Hyperparameter-3</td><td rowspan=1 colspan=1>3%</td><td rowspan=1 colspan=1>7%</td></tr><tr><td rowspan=1 colspan=1>Average</td><td rowspan=1 colspan=1>1.3%</td><td rowspan=1 colspan=1>11.3%</td></tr></table>
|
| 176 |
+
|
| 177 |
+
Table 4: Percentage of successful runs on the $k$ -th element task. All tests were performed with the same set of 100 random initializations (seeds). Higher values are better.
|
| 178 |
+
|
| 179 |
+
# 4.5 CONVOLUTIONAL GATED RECURRENT NETWORKS (NEURAL GPUS)
|
| 180 |
+
|
| 181 |
+
Convolutional Gated Recurrent Networks (CGRN) or Neural GPUs (Kaiser & Sutskever, 2016) are a recently proposed model that is capable of learning arbitrary algorithms. CGRNs use a stack of convolution layers, unfolded with tied parameters like a recurrent network. The input data (usually a list of symbols) is first converted to a three dimensional tensor representation containing a sequence of embedded symbols in the first two dimensions, and zeros padding the next dimension. Then, multiple layers of modified convolution kernels are applied at each step. The modified kernel is a combination of convolution and Gated Recurrent Units (GRU) (Cho et al., 2014b). The use of convolution kernels allows computation to be applied in parallel across the input data, while the gating mechanism helps the gradient flow. The additional dimension of the tensor serves as a working memory while the repeated operations are applied at each layer. The output at the final layer is the predicted answer.
|
| 182 |
+
|
| 183 |
+
The key difference between Neural GPUs and other architectures for algorithmic tasks (e.g., Neural Turing Machines (Graves et al., 2014)) is that instead of using sequential data access, convolution kernels are applied in parallel across the input, enabling the use of very deep and wide models. The model is referred to as Neural GPU because the input data is accessed in parallel. Neural GPUs were shown to outperform previous sequential architectures for algorithm learning on tasks such as binary addition and multiplication, by being able to generalize from much shorter to longer data cases.
|
| 184 |
+
|
| 185 |
+
In our experiments, we use Neural GPUs for the task of binary multiplication. The input consists two concatenated sequences of binary digits separated by an operator token, and the goal is to multiply the given numbers. During training, the model is trained on 20-digit binary numbers while at test time, the task is to multiply 200-digit numbers. We add Gaussian noise with decaying variance according to the schedule in Equation (1) with $\eta = 1 . 0$ , to the gradient after clipping. The model is optimized using Adam (Kingma & Ba, 2014).
|
| 186 |
+
|
| 187 |
+
Table 5 gives the results of a large-scale experiment using Neural GPUs with a 7290 grid search. The experiment shows that models trained with added gradient noise are more robust across many random initializations and parameter settings. As you can see, adding gradient noise both allows us to achieve the best performance, with the number of models with $< 1 \%$ error over twice as large as without noise. But it also helps throughout, improving the robustness of training, with more models training to higher error rates as well. This experiment shows that the simple technique of added gradient noise is effective even in regimes where we can afford a very large numbers of random restarts.
|
| 188 |
+
|
| 189 |
+
Table 5: Number of successful runs on 7290 random trials. Higher values are better. The models are trained on length 20 and tested on length 200.
|
| 190 |
+
|
| 191 |
+
<table><tr><td rowspan=1 colspan=1>Setting</td><td rowspan=1 colspan=1>Error<1%</td><td rowspan=1 colspan=1><2%</td><td rowspan=1 colspan=1><3%</td><td rowspan=1 colspan=1><5%</td></tr><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>28</td><td rowspan=1 colspan=1>90</td><td rowspan=1 colspan=1>172</td><td rowspan=1 colspan=1>387</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>58</td><td rowspan=1 colspan=1>159</td><td rowspan=1 colspan=1>282</td><td rowspan=1 colspan=1>570</td></tr></table>
|
| 192 |
+
|
| 193 |
+
# 4.6 DISCUSSION
|
| 194 |
+
|
| 195 |
+
In this work we propose an annealed Gaussian gradient noise scheme for the optimization of complex neural networks. Our experiments show improvement from gradient noise on a variety of models. We conduct a small set of additional experiments below to examine the factors that make this technique successful, and report a failure mode.
|
| 196 |
+
|
| 197 |
+
Annealed vs. fixed noise We use a single fixed decay value $\gamma = 0 . 5 5$ when applying Equation (1) in our experiments, inspired by Stochastic Gradient Langevin Dynamics, and recommend it as a default. We conduct several experiments to determine the importance of annealed vs. fixed noise added to the gradient. We find that for the End2End model, similar results can be achieved with fixed noise values, however requiring significantly more tuning (compared to trying only two different values of $\eta$ in our experiments with annealed noise). We achieve nearly identical results on the End2End experiment using a fixed noise value of $\eta = 0 . 0 0 1$ . We also experiment with fixed noise on the Neural Programmer and NRAM models, and find that they make a larger difference. For both models, we select fixed noise values log-uniformly from between $1 \mathrm { e } { - 4 }$ and 0.1 and optimize the other hyperparameters. Using 216 runs per variance setting, the best Neural Programmer models without annealing can achieve equivalent errors to the annealed models. However, only 5/216 achieve the best error compared to 9/216 for the model using annealing. For NRAM, using 180 runs per setting, fixed noise never achieves the perfect error of 0 that is achieved by the annealed model. While annealing shows the most benefit with the most complex models, we generally recommend it as a robust default that requires less hyperparameter tuning than fixed noise.
|
| 198 |
+
|
| 199 |
+
Gaussian noise vs. gradient stochasticity We assert that gradient noise helps the model explore the optimization landscape, escaping saddle points and local minima. Analysis of SGD for neural networks suggests that the stochasticity of the gradient serves much the same purpose (Bottou, 1992). This suggests a strategy: add noise to the gradient by simply reducing the minibatch size, increasing the variance of the gradient estimator. While arguments based on SGLD and kernel smoothing provide evidence that the specific form of the Gaussian noise is important, we run a pair of small experiments. For both Neural Programmer and NRAM, we tried batch sizes of 10, 25, and 50 (50 being the value used in the best results). For NRAM, after 100 tasks at each batch size and no gradient noise, 2 tasks at batch size 50 converged to 0 error, 1 task at batch size 10, and none at batch size 25. For Neural Programmer, over 216 experiments at each batch size we see none of the models without gradient noise converge to the best error. These results are far worse than our results using added noise, indicating that merely lowering the batch size does not introduce the same sort of helpful stochasticity.
|
| 200 |
+
|
| 201 |
+
Gradient noise vs. weight noise While weight noise is relatively well-known, it is not equivalent to gradient noise in the case of adaptive or momentum-based optimizers, which effectively adapt the noise to the curvature of the optimization landscape. Both Neural Programmer and NRAM are greatly helped in training by the use of the Adam algorithm for optimization. We find here, using the same experimental setup as when examining annealed vs. fixed noise, that the models fail to learn when adding noise directly to the weights. Even when using starting noise rates as low as $1 \mathrm { e } { - 6 }$ , with the usual annealing schedule, the models fail to train significantly, achieving $57 \%$ error for NRAM and $68 \%$ for Neural Programmer at the lowest. Importantly, these noise rates are on the same order as the adaptive learning rates. This indicates that the issue is not just the noise scale, but that the very poor conditioning of the loss functions makes it necessary to adapt the noise. Similar concerns motivated the development of very recent algorithms for preconditioned SGLD in the Bayesian setting (Li et al., 2016).
|
| 202 |
+
|
| 203 |
+
Negative results While we see improvements on a large number of neural network architectures, we note a case where gradient noise does not improve over standard SGD. We conduct language modeling experiments on the Penn Treebank (Marcus et al., 1993), using the experimental setup and architecture from Zaremba et al. (2014). We report results using a 200-unit LSTM with dropout, but observe a similar lack of improvement from gradient noise when using models without dropout. We try the two proposed noise rates from Section (method) and find the best results using $\eta = 0 . 0 1$ are slightly worse than the noiseless model, achieving a perplexity of 98 rather than 95. By further lowering the noise parameter to $\eta = 0 . 0 0 1$ we are able to achieve the same perplexity as the baseline, but do not see improvement. While adding gradient noise does not help in this case, it is simple to try and does not significantly hurt the results.
|
| 204 |
+
|
| 205 |
+
# 5 CONCLUSION
|
| 206 |
+
|
| 207 |
+
In this paper, we demonstrate the effectiveness of adding noise to the gradient when training deep neural networks. We find that adding noise to the gradient helps optimization and generalization of complicated neural networks and is compatible with and complementary to other stochastic optimization methods. We suspect that the effects are pronounced for complex models because they have many saddle points.
|
| 208 |
+
|
| 209 |
+
We believe that this surprisingly simple yet effective idea, essentially a single line of code, should be in the toolset of neural network practitioners when facing issues with training neural networks.
|
| 210 |
+
|
| 211 |
+
# REFERENCES
|
| 212 |
+
|
| 213 |
+
Shun-Ichi Amari. Natural gradient works efficiently in learning. Neural computation, 1998.
|
| 214 |
+
|
| 215 |
+
Guozhong An. The effects of adding noise during backpropagation training on a generalization performance. Neural Computation, 1996.
|
| 216 |
+
|
| 217 |
+
Devansh Arpit, Yingbo Zhou, Bhargava U Kota, and Venu Govindaraju. Normalization propagation: A parametric technique for removing internal covariate shift in deep networks. ICML, 2016.
|
| 218 |
+
|
| 219 |
+
Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016.
|
| 220 |
+
|
| 221 |
+
Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. ICLR, 2014.
|
| 222 |
+
|
| 223 |
+
Charles Blundell, Julien Cornebise, Koray Kavukcuoglu, and Daan Wierstra. Weight uncertainty in neural networks. ICML, 2015.
|
| 224 |
+
|
| 225 |
+
Leon Bottou. Stochastic gradient learning in neural networks. In ´ Neuro-N¨ımes, 1992.
|
| 226 |
+
|
| 227 |
+
Olivier Bousquet and Leon Bottou. The tradeoffs of large scale learning. In ´ NIPS, 2008.
|
| 228 |
+
|
| 229 |
+
Changyou Chen, David Carlson, Zhe Gan, Chunyuan Li, and Lawrence Carin. Bridging the gap between stochastic gradient mcmc and stochastic optimization, 2016.
|
| 230 |
+
|
| 231 |
+
Kyunghyun Cho, Bart van Merrienboer, Dzmitry Bahdanau, and Yoshua Bengio. On the properties ¨ of neural machine translation: Encoder-decoder approaches. arXiv preprint arXiv:1409.1259, 2014a.
|
| 232 |
+
|
| 233 |
+
Kyunghyun Cho, Bart Van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Hol- ¨ ger Schwenk, and Yoshua Bengio. Learning phrase representations using RNN encoder-decoder for statistical machine translation. In EMNLP, 2014b.
|
| 234 |
+
|
| 235 |
+
Anna Choromanska, Mikael Henaff, Michael Mathieu, G ¨ erard Ben Arous, and Yann LeCun. The ´ loss surfaces of multilayer networks. In AISTATS, 2015.
|
| 236 |
+
|
| 237 |
+
Tim Cooijmans, Nicolas Ballas, Cesar Laurent, and Aaron Courville. Recurrent batch normalization. ´ arXiv preprint arXiv:1603.09025, 2016.
|
| 238 |
+
|
| 239 |
+
Jeffrey Dean, Greg Corrado, Rajat Monga, Kai Chen, Matthieu Devin, Mark Mao, Andrew Senior, Paul Tucker, Ke Yang, Quoc V Le, et al. Large scale distributed deep networks. In NIPS, 2012.
|
| 240 |
+
|
| 241 |
+
Guillaume Desjardins, Karen Simonyan, Razvan Pascanu, and koray kavukcuoglu. Natural neural networks. In NIPS. 2015.
|
| 242 |
+
|
| 243 |
+
John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. JMLR, 2011.
|
| 244 |
+
|
| 245 |
+
Xavier Glorot and Yoshua Bengio. Understanding the difficulty of training deep feedforward neural networks. In Proc. AISTATS, pp. 249–256, 2010.
|
| 246 |
+
|
| 247 |
+
Alex Graves. Practical variational inference for neural networks. In NIPS, 2011.
|
| 248 |
+
|
| 249 |
+
Alex Graves. Generating sequences with recurrent neural networks. arXiv preprint arxiv:1308.0850, 2013.
|
| 250 |
+
|
| 251 |
+
Alex Graves, Greg Wayne, and Ivo Danihelka. Neural Turing Machines. arXiv preprint arXiv:1410.5401, 2014.
|
| 252 |
+
|
| 253 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. ICCV, 2015.
|
| 254 |
+
|
| 255 |
+
Geoffrey Hinton and Sam Roweis. Stochastic neighbor embedding. In NIPS, 2002.
|
| 256 |
+
|
| 257 |
+
Geoffrey Hinton, Li Deng, Dong Yu, George Dahl, Abdel rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara Sainath, and Brian Kingsbury. Deep neural networks for acoustic modeling in speech recognition. Signal Processing Magazine, 2012.
|
| 258 |
+
|
| 259 |
+
Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural Computation, 1997.
|
| 260 |
+
|
| 261 |
+
Sergey Ioffe and Christian Szegedy. Batch normalization: accelerating deep network training by reducing internal covariate shift. In ICML, 2015.
|
| 262 |
+
|
| 263 |
+
Lukasz Kaiser and Ilya Sutskever. Neural GPUs learn algorithms. In ICLR, 2016.
|
| 264 |
+
|
| 265 |
+
Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 266 |
+
|
| 267 |
+
Scott Kirkpatrick, Mario P Vecchi, et al. Optimization by simulated annealing. Science, 1983.
|
| 268 |
+
|
| 269 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. ImageNet classification with deep convolutional neural networks. In NIPS, 2012.
|
| 270 |
+
|
| 271 |
+
Karol Kurach, Marcin Andrychowicz, and Ilya Sutskever. Neural random-access machines. In ICLR, 2016.
|
| 272 |
+
|
| 273 |
+
Cesar Laurent, Gabriel Pereyra, Phil ´ emon Brakel, Ying Zhang, and Yoshua Bengio. Batch normal- ´ ized recurrent neural networks. arXiv preprint arXiv:1510.01378, 2015.
|
| 274 |
+
|
| 275 |
+
Yann LeCun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to ´ document recognition. Proceedings of the IEEE, 1998.
|
| 276 |
+
|
| 277 |
+
Chen-Yu Lee, Saining Xie, Patrick W. Gallagher, Zhengyou Zhang, and Zhuowen Tu. Deeplysupervised nets. AISTATS, 2015.
|
| 278 |
+
|
| 279 |
+
Chunyuan Li, Changyou Chen, David Carlson, and Lawrence Carin. Preconditioned stochastic gradient langevin dynamics for deep neural networks, 2016.
|
| 280 |
+
|
| 281 |
+
Andrew L Maas, Awni Y Hannun, and Andrew Y Ng. Rectifier nonlinearities improve neural network acoustic models. ICML, 2013.
|
| 282 |
+
|
| 283 |
+
Mitchell P Marcus, Mary Ann Marcinkiewicz, and Beatrice Santorini. Building a large annotated corpus of english: The penn treebank. Computational linguistics, 1993.
|
| 284 |
+
|
| 285 |
+
James Martens and Roger Grosse. Optimizing neural networks with kronecker-factored approximate curvature. arXiv preprint arXiv:1503.05671, 2015.
|
| 286 |
+
|
| 287 |
+
Hossein Mobahi. Training recurrent neural networks by diffusion, 2016.
|
| 288 |
+
|
| 289 |
+
Alan F Murray and Peter J Edwards. Synaptic weight noise during mlp learning enhances faulttolerance, generalization and learning trajectory.
|
| 290 |
+
|
| 291 |
+
Vinod Nair and Geoffrey Hinton. Rectified linear units improve Restricted Boltzmann Machines. In ICML, 2010.
|
| 292 |
+
|
| 293 |
+
Radford M Neal. MCMC using Hamiltonian dynamics. Handbook of Markov Chain Monte Carlo, 2011.
|
| 294 |
+
|
| 295 |
+
Arvind Neelakantan, Quoc V. Le, and Ilya Sutskever. Neural Programmer: Inducing latent programs with gradient descent. In ICLR, 2016.
|
| 296 |
+
|
| 297 |
+
Razvan Pascanu, Tomas Mikolov, and Yoshua Bengio. On the difficulty of training recurrent neural networks. Proc. ICML, 2013.
|
| 298 |
+
|
| 299 |
+
Sam Patterson and Yee Whye Teh. Stochastic gradient riemannian langevin dynamics on the probability simplex. In NIPS, 2013.
|
| 300 |
+
|
| 301 |
+
Baolin Peng, Zhengdong Lu, Hang Li, and Kam-Fai Wong. Towards neural network-based reasoning. arXiv preprint arxiv:1508.05508, 2015.
|
| 302 |
+
|
| 303 |
+
Boris Teodorovich Polyak. Some methods of speeding up the convergence of iteration methods. USSR Computational Mathematics and Mathematical Physics, 1964.
|
| 304 |
+
|
| 305 |
+
Herbert Robbins and Sutton Monro. A stochastic approximation method. The annals of mathematical statistics, 1951.
|
| 306 |
+
|
| 307 |
+
Tim Salimans and Diederik P Kingma. Weight normalization: A simple reparameterization to accelerate training of deep neural networks. 2016.
|
| 308 |
+
|
| 309 |
+
Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. JMLR, 2014.
|
| 310 |
+
|
| 311 |
+
Rupesh Kumar Srivastava, Klaus Greff, and Jurgen Schmidhuber. Training very deep networks. ¨ NIPS, 2015.
|
| 312 |
+
|
| 313 |
+
Mark Steijvers. A recurrent network that performs a context-sensitive prediction task. In CogSci, 1996.
|
| 314 |
+
|
| 315 |
+
Sainbayar Sukhbaatar, Arthur Szlam, Jason Weston, and Rob Fergus. End-to-end memory networks. In NIPS, 2015.
|
| 316 |
+
|
| 317 |
+
David Sussillo. Random walks: Training very deep nonlinear feed-forward networks with smart initialization. CoRR, 2014.
|
| 318 |
+
|
| 319 |
+
Ilya Sutskever, James Martens, George Dahl, and Geoffrey Hinton. On the importance of initialization and momentum in deep learning. In ICML, 2013.
|
| 320 |
+
|
| 321 |
+
Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. Sequence to sequence learning with neural networks. In NIPS, 2014.
|
| 322 |
+
|
| 323 |
+
Max Welling and Yee Whye Teh. Bayesian learning via stochastic gradient Langevin dynamics. In ICML, 2011.
|
| 324 |
+
|
| 325 |
+
Jason Weston, Sumit Chopra, and Antoine Bordes. Memory networks. arXiv preprint arXiv:1410.3916, 2014.
|
| 326 |
+
|
| 327 |
+
Jason Weston, Antoine Bordes, Sumit Chopra, and Tomas Mikolov. Towards AI-complete question answering: a set of prerequisite toy tasks. In ICML, 2015.
|
| 328 |
+
|
| 329 |
+
Kaisheng Yao, Trevor Cohn, Katerina Vylomova, Kevin Duh, and Chris Dyer. Depth-gated recurrent neural networks. arXiv preprint arXiv:1508.03790, 2015.
|
| 330 |
+
|
| 331 |
+
Wojciech Zaremba, Ilya Sutskever, and Oriol Vinyals. Recurrent neural network regularization. CoRR, 2014.
|
| 332 |
+
|
| 333 |
+
Matthew D Zeiler. Adadelta: An adaptive learning rate method. arXiv preprint arXiv:1212.5701, 2012.
|
parse/train/rkjZ2Pcxe/rkjZ2Pcxe_content_list.json
ADDED
|
@@ -0,0 +1,1814 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "ADDING GRADIENT NOISE IMPROVES LEARNING FOR VERY DEEP NETWORKS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
767,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Arvind Neelakantan∗ †, Luke Vilnis∗ † College of Information and Computer Sciences University of Massachusetts Amherst {arvind,luke}@cs.umass.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
170,
|
| 20 |
+
495,
|
| 21 |
+
227
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Quoc V. Le, Lukasz Kaiser, Karol Kurach Google Brain {qvl,lukaszkaiser,kkurach}@google.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
183,
|
| 30 |
+
247,
|
| 31 |
+
545,
|
| 32 |
+
290
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Ilya Sutskever† \nOpenAI \n{ilyasu}@openai.com \nJames Martens \nUniversity of Toronto \n{jmartens}@cs.toronto.edu ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
184,
|
| 41 |
+
309,
|
| 42 |
+
370,
|
| 43 |
+
353
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "",
|
| 50 |
+
"bbox": [
|
| 51 |
+
184,
|
| 52 |
+
375,
|
| 53 |
+
428,
|
| 54 |
+
416
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "ABSTRACT ",
|
| 61 |
+
"text_level": 1,
|
| 62 |
+
"bbox": [
|
| 63 |
+
454,
|
| 64 |
+
452,
|
| 65 |
+
544,
|
| 66 |
+
468
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "Deep feedforward and recurrent networks have achieved impressive results in many perception and language processing applications. Recently, more complex architectures such as Neural Turing Machines and Memory Networks have been proposed for tasks including question answering and general computation, creating a new set of optimization challenges. In this paper, we explore the lowoverhead and easy-to-implement optimization technique of adding annealed Gaussian noise to the gradient, which we find surprisingly effective when training these very deep architectures. Unlike classical weight noise, gradient noise injection is complementary to advanced stochastic optimization algorithms such as Adam and AdaGrad. The technique not only helps to avoid overfitting, but also can result in lower training loss. We see consistent improvements in performance across an array of complex models, including state-of-the-art deep networks for question answering and algorithm learning. We observe that this optimization strategy allows a fully-connected 20-layer deep network to escape a bad initialization with standard stochastic gradient descent. We encourage further application of this technique to additional modern neural architectures. ",
|
| 73 |
+
"bbox": [
|
| 74 |
+
233,
|
| 75 |
+
484,
|
| 76 |
+
764,
|
| 77 |
+
704
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "1 INTRODUCTION ",
|
| 84 |
+
"text_level": 1,
|
| 85 |
+
"bbox": [
|
| 86 |
+
176,
|
| 87 |
+
731,
|
| 88 |
+
334,
|
| 89 |
+
747
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Deep neural networks have shown remarkable success in diverse domains including image recognition (Krizhevsky et al., 2012), speech recognition (Hinton et al., 2012) and language processing applications (Sutskever et al., 2014; Bahdanau et al., 2014). This broad success comes from a confluence of several factors. First, the creation of massive labeled datasets has allowed deep networks to demonstrate their advantages in expressiveness and scalability. The increase in computing power has also enabled training of far larger networks with more forgiving optimization dynamics (Choromanska et al., 2015). Additionally, architectures such as convolutional networks (LeCun et al., 1998) and long short-term memory networks (Hochreiter & Schmidhuber, 1997) have proven to be easier to optimize than classical feedforward and recurrent models. Finally, the success of deep networks is also a result of the development of simple and broadly applicable learning techniques such as dropout (Srivastava et al., 2014), ReLUs (Nair & Hinton, 2010), gradient clipping (Pascanu et al., 2013; Graves, 2013), optimization algorithms and weight initialization strategies (Glorot & Bengio, 2010; Sutskever et al., 2013; He et al., 2015). ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
762,
|
| 99 |
+
825,
|
| 100 |
+
888
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
103,
|
| 110 |
+
825,
|
| 111 |
+
159
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Recent work has aimed to push neural network learning into more challenging domains, such as question answering or program induction. These more complicated problems demand more complicated architectures (e.g. Graves et al. (2014); Sukhbaatar et al. (2015)), thereby posing new optimization challenges. While there is very active research in improving learning in deep feedforward and recurrent networks, such as layer-wise deep supervision (Lee et al., 2015), novel activation functions (Maas et al., 2013), initialization schemes (He et al., 2015), and cell architectures (Cho et al., 2014a; Yao et al., 2015), these are not always sufficient or applicable in networks with complex structure over the latent variables. In order to achieve good performance, researchers have reported the necessity of additional techniques such as explicit labeling of latent variables (Weston et al., 2014), relaxing weight-tying constraints (Kaiser & Sutskever, 2016), warmstarts (Peng et al., 2015), random restarts, and the removal of certain activation functions in early stages of training (Sukhbaatar et al., 2015). ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
173,
|
| 120 |
+
166,
|
| 121 |
+
825,
|
| 122 |
+
333
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "The recurring theme is that commonly-used optimization techniques are not always sufficient to robustly optimize the models of interest. In this work, we explore a simple technique of adding annealed Gaussian noise to the gradient, which we find to be surprisingly effective in training deep neural networks with stochastic gradient descent. While there is a long tradition of adding random weight noise in neural networks, it has been under-explored in the optimization of modern deep architectures. Furthermore, although weight and gradient noise are equivalent when using standard SGD updates, the use of adaptive and momentum based stochastic optimizers such as Adam and AdaGrad (Duchi et al., 2011; Kingma & Ba, 2014) breaks this equivalence, allowing the noise to effectively adapt to the curvature of the optimization landscape. We find this property to be important when optimizing the most complex models. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
340,
|
| 132 |
+
825,
|
| 133 |
+
479
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "While there exist theoretical and empirical results on the regularizing effects of conventional stochastic gradient descent, especially for the minimization of convex losses (Bousquet & Bottou, 2008), we find that in practice the added noise can actually help us achieve lower training loss by encouraging active exploration of parameter space. This exploration proves especially necessary and fruitful when optimizing neural network models containing many layers or complex latent structures. For neural network learning, it has long been known that the noise in the stochastic gradient can help to escape saddle points and local optima (Bottou, 1992). For this reason, neural network practitioners sometimes avoid overly-large mini-batch sizes to achieve the best results. We find that the Gaussian noise added in our technique is complementary to the noisy stochastic gradient, and a combination of Gaussian noise and tuned mini-batch sizes is necessary for the most complex models. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
174,
|
| 142 |
+
486,
|
| 143 |
+
825,
|
| 144 |
+
625
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "The main contribution of this work is to demonstrate the broad applicability of this simple method to the training of many complex modern neural architectures. To our knowledge, neither the exponentially decayed noise schedule nor the black box combination of injected gradient noise with adaptive optimizers have been used before in the training of deep networks. We consistently see improvements from Gaussian gradient noise when optimizing a wide variety of models, including very deep fully-connected networks, and special-purpose architectures for question answering and algorithm learning. For example, this method allows us to escape a poor initialization and successfully train a 20-layer rectifier network on MNIST with standard gradient descent. It also enables a $72 \\%$ relative reduction in error in question answering, and doubles the number of accurate binary multiplication models learned across 7,000 random restarts. Gradient noise also possesses attractive robustness properties. We examine only two distinct settings of the noise variance hyperparameter in total across all experiments. We additionally observe that in cases where gradient noise fails to improve over other learning techniques, it rarely significantly hurts a models ability to generalize. ",
|
| 151 |
+
"bbox": [
|
| 152 |
+
174,
|
| 153 |
+
632,
|
| 154 |
+
825,
|
| 155 |
+
813
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "We hope that practitioners will see similar improvements in their own research by adding this simple technique, implementable in a single line of code, to their repertoire. ",
|
| 162 |
+
"bbox": [
|
| 163 |
+
174,
|
| 164 |
+
819,
|
| 165 |
+
821,
|
| 166 |
+
848
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 1
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "2 RELATED WORK ",
|
| 173 |
+
"text_level": 1,
|
| 174 |
+
"bbox": [
|
| 175 |
+
176,
|
| 176 |
+
102,
|
| 177 |
+
343,
|
| 178 |
+
118
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 2
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "Adding random noise to the weights, inputs, or hidden units has been a known technique amongst neural network practitioners for many years (e.g. Murray & Edwards; An (1996)). However, the benefits of gradient noise have not been fully explored with modern deep networks nor combined with advanced stochastic optimization techniques, which allow the noise to take into account the geometry of the optimization problem and the statistical manifold. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
174,
|
| 187 |
+
145,
|
| 188 |
+
825,
|
| 189 |
+
214
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 2
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "Weight noise (Steijvers, 1996) and adaptive weight noise (Graves, 2011; Blundell et al., 2015), which usually maintains a Gaussian variational posterior over network weights, similarly aim to improve learning by added noise during training. In adaptive weight noise, an extra set of parameters for the variance must be maintained. This adaptation is different than our use of an adaptive optimizer, as it aims to capture an accurate estimate of uncertainty in the weights and not guide the exploration of parameter space. They differ from our proposed method in that the noise is not annealed and at convergence will be non-zero. ",
|
| 196 |
+
"bbox": [
|
| 197 |
+
174,
|
| 198 |
+
220,
|
| 199 |
+
825,
|
| 200 |
+
319
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 2
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "Similarly, the technique of dropout (Srivastava et al., 2014) randomly sets groups of hidden units to zero at train time to improve generalization in a manner similar to ensembling. ",
|
| 207 |
+
"bbox": [
|
| 208 |
+
176,
|
| 209 |
+
325,
|
| 210 |
+
821,
|
| 211 |
+
353
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 2
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "An annealed Gaussian gradient noise schedule was used to train the highly non-convex Stochastic Neighbor Embedding model in Hinton & Roweis (2002). The gradient noise schedule that we found to be most effective is very similar to the Stochastic Gradient Langevin Dynamics (SGLD) algorithm of Welling & Teh (2011), who use gradients with added noise to accelerate MCMC inference for logistic regression and independent component analysis models. This use of gradient information in MCMC sampling for machine learning to allow faster exploration of state space was previously proposed by Neal (2011). However, standard SGLD analysis does not allow for the use of adaptive optimizers or momentum, limiting the efficiency for very pathological optimization landscapes. Stochastic Gradient Riemannian Langevin Dynamics (Patterson & Teh, 2013) adapts the gradient and noise using the Fisher information matrix, effectively following trajectories along the same manifold as the natural gradient (Amari, 1998), but is applied only to models for which that matrix is tractable to estimate in closed form. ",
|
| 218 |
+
"bbox": [
|
| 219 |
+
174,
|
| 220 |
+
361,
|
| 221 |
+
825,
|
| 222 |
+
527
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 2
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "Various optimization techniques have been proposed to improve the training of neural networks. Most notable is the use of momentum (Polyak, 1964; Sutskever et al., 2013; Kingma & Ba, 2014) or adaptive learning rates (Duchi et al., 2011; Dean et al., 2012; Zeiler, 2012). These methods are normally developed to provide good convergence rates for the convex setting, and then heuristically applied to nonconvex problems. Similarly, batch normalization and related methods (Ioffe & Szegedy, 2015; Arpit et al., 2016; Salimans & Kingma, 2016), natural gradient descent (Amari, 1998; Desjardins et al., 2015), and K-FAC (Martens & Grosse, 2015) can all be seen as various preconditioning methods using approximations to the inverse Fisher information of the neural network. While there has been some difficulty in combining batch normalization-type algorithms with recurrent networks (Laurent et al., 2015), recent work has had success in this area (Cooijmans et al., 2016; Ba et al., 2016). ",
|
| 229 |
+
"bbox": [
|
| 230 |
+
174,
|
| 231 |
+
535,
|
| 232 |
+
825,
|
| 233 |
+
686
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 2
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "text",
|
| 239 |
+
"text": "Injecting noise in the gradient can be combined with any of the above methods, and can be seen as a complementary technique especially suitable for nonconvex problems. By adding additional artificial stochasticity to the gradient, this technique allows the model more chances to escape local minima or saddle-points (see a similar argument in Bottou (1992)), or to traverse quickly through the “transient” plateau phase of early learning (see a similar analysis for momentum in Sutskever et al. (2013)). This is born out empirically in our observation that adding gradient noise can actually result in lower training loss. In this sense, we suspect adding gradient noise is similar to simulated annealing (Kirkpatrick et al., 1983) which exploits random noise to explore complex optimization landscapes. This can be contrasted with well-known benefits of stochastic gradient descent as a learning algorithm (Robbins & Monro, 1951; Bousquet & Bottou, 2008), where both theory and practice have shown that the noise induced by the stochastic process aids generalization by reducing overfitting. ",
|
| 240 |
+
"bbox": [
|
| 241 |
+
174,
|
| 242 |
+
694,
|
| 243 |
+
825,
|
| 244 |
+
861
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 2
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "Recently, there has been a surge in research examining the use of gradient and weight noise when training deep neural networks. Mobahi (2016) present an optimization technique for recurrent networks that applies an annealed Gaussian kernel smoothing method to the loss function, of which annealed weight noise is a Monte Carlo estimator. Li et al. (2016) present a version of SGLD that incorporates both Gaussian noise and adaptively estimated learning rates (but no momentum term). Though significantly more complex than our proposed method, the most similar work is the Santa algorithm of Chen et al. (2016). Santa combines SGLD with adaptive learning rates and adaptive per-coordinate momentum parameters, and shows that the scheme can approach global optima of the objective function under certain assumptions. ",
|
| 251 |
+
"bbox": [
|
| 252 |
+
176,
|
| 253 |
+
867,
|
| 254 |
+
823,
|
| 255 |
+
922
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 2
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "",
|
| 262 |
+
"bbox": [
|
| 263 |
+
174,
|
| 264 |
+
103,
|
| 265 |
+
825,
|
| 266 |
+
174
|
| 267 |
+
],
|
| 268 |
+
"page_idx": 3
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"type": "text",
|
| 272 |
+
"text": "3 METHOD ",
|
| 273 |
+
"text_level": 1,
|
| 274 |
+
"bbox": [
|
| 275 |
+
176,
|
| 276 |
+
194,
|
| 277 |
+
282,
|
| 278 |
+
210
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 3
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"text": "We consider a simple technique of adding time-dependent Gaussian noise to the gradient $g$ at every training step $t$ : ",
|
| 285 |
+
"bbox": [
|
| 286 |
+
174,
|
| 287 |
+
226,
|
| 288 |
+
825,
|
| 289 |
+
255
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 3
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "equation",
|
| 295 |
+
"img_path": "images/9d3fe086c35a798fe649d5eab999d6ecaf87facd9e5ca9b84d35fae5d1eecae8.jpg",
|
| 296 |
+
"text": "$$\ng _ { t } \\gets g _ { t } + N ( 0 , \\sigma _ { t } ^ { 2 } )\n$$",
|
| 297 |
+
"text_format": "latex",
|
| 298 |
+
"bbox": [
|
| 299 |
+
429,
|
| 300 |
+
261,
|
| 301 |
+
566,
|
| 302 |
+
280
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 3
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "The gradient $g _ { t }$ is then used to update the weights $\\theta _ { t }$ as if it were the original gradient of the loss function, and can be used with any stochastic optimization algorithm. Our experiments indicate that adding annealed Gaussian noise by decaying the variance often works better and more robustly than using fixed Gaussian noise (see Section 4.6). We use a schedule inspired from Welling & Teh (2011) in our experiments and take: ",
|
| 309 |
+
"bbox": [
|
| 310 |
+
174,
|
| 311 |
+
286,
|
| 312 |
+
823,
|
| 313 |
+
356
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 3
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "equation",
|
| 319 |
+
"img_path": "images/417b3d3f6b0dff59009ac85e6c5094f12357ad192c460f5e7e77836907369d62.jpg",
|
| 320 |
+
"text": "$$\n\\sigma _ { t } ^ { 2 } = \\frac { \\eta } { ( 1 + t ) ^ { \\gamma } }\n$$",
|
| 321 |
+
"text_format": "latex",
|
| 322 |
+
"bbox": [
|
| 323 |
+
447,
|
| 324 |
+
363,
|
| 325 |
+
549,
|
| 326 |
+
395
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 3
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "text",
|
| 332 |
+
"text": "We examine only 2 distinct noise hyperparameter configurations in our experiments, selecting $\\eta$ from $\\{ 0 . 0 1 , 1 . 0 \\}$ and setting $\\gamma = 0 . 5 5$ in all experiments. We believe this shows that annealed gradient noise is robust to minimal tuning. For example, in the experiments on Neural Programmer and Neural GPUs, we tried only a single configuration of noise parameters, simply setting $\\eta = 1 . 0$ and tuning only the model hyperparameters as normal. ",
|
| 333 |
+
"bbox": [
|
| 334 |
+
174,
|
| 335 |
+
400,
|
| 336 |
+
825,
|
| 337 |
+
470
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 3
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "text",
|
| 343 |
+
"text": "4 EXPERIMENTS ",
|
| 344 |
+
"text_level": 1,
|
| 345 |
+
"bbox": [
|
| 346 |
+
176,
|
| 347 |
+
491,
|
| 348 |
+
326,
|
| 349 |
+
507
|
| 350 |
+
],
|
| 351 |
+
"page_idx": 3
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"type": "text",
|
| 355 |
+
"text": "In the following experiments, we examine the effect of gradient noise on deep networks for MNIST digit classification, and consider a variety of complex neural network architectures: EndTo-End Memory Networks (Sukhbaatar et al., 2015) and Neural Programmer (Neelakantan et al., 2016) for question answering, Neural Random Access Machines (Kurach et al., 2016) and Neural GPUs (Kaiser & Sutskever, 2016) for algorithm learning. The models and results are described as follows. ",
|
| 356 |
+
"bbox": [
|
| 357 |
+
173,
|
| 358 |
+
523,
|
| 359 |
+
825,
|
| 360 |
+
607
|
| 361 |
+
],
|
| 362 |
+
"page_idx": 3
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"type": "text",
|
| 366 |
+
"text": "4.1 DEEP FULLY-CONNECTED NETWORKS ",
|
| 367 |
+
"text_level": 1,
|
| 368 |
+
"bbox": [
|
| 369 |
+
176,
|
| 370 |
+
625,
|
| 371 |
+
480,
|
| 372 |
+
638
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 3
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "text",
|
| 378 |
+
"text": "For our first set of experiments, we examine the impact of adding gradient noise when training a very deep fully-connected network on the MNIST handwritten digit classification dataset (LeCun et al., 1998). Our network is deep: it has 20 hidden layers, with each layer containing 50 hidden units, posing a significant optimization and generalization problem. We use the ReLU activation function (Nair & Hinton, 2010). ",
|
| 379 |
+
"bbox": [
|
| 380 |
+
174,
|
| 381 |
+
651,
|
| 382 |
+
825,
|
| 383 |
+
720
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 3
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "text",
|
| 389 |
+
"text": "In this experiment, we train with SGD without momentum, using the fixed learning rates of 0.1 and 0.01. Unless otherwise specified, the weights of the network are initialized from a Gaussian with mean zero, and standard deviation of 0.1, which we call Simple Init. When adding gradient noise, we tried both settings of the variance detailed in Section 3, and found that decaying variance according to the schedule in Equation (1) with $\\eta = 0 . 0 1$ worked best. ",
|
| 390 |
+
"bbox": [
|
| 391 |
+
174,
|
| 392 |
+
728,
|
| 393 |
+
825,
|
| 394 |
+
797
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 3
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "text",
|
| 400 |
+
"text": "The results of our experiment are in Table 1. When trained from Simple Init we can see that adding noise to the gradient helps in achieving higher average and best accuracy over 20 runs using each learning rate for a total of 40 runs (Table 1, Experiment 1). We note that the average is closer to $50 \\%$ because the small learning rate of 0.01 usually gives very slow convergence. We also try our approach on a more shallow network of 5 layers, but adding noise does not improve the training in that case. ",
|
| 401 |
+
"bbox": [
|
| 402 |
+
174,
|
| 403 |
+
804,
|
| 404 |
+
825,
|
| 405 |
+
888
|
| 406 |
+
],
|
| 407 |
+
"page_idx": 3
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"type": "text",
|
| 411 |
+
"text": "Next, we experiment with clipping the gradients with two threshold values: 100 and 10 (Table 1, Experiment 2, and 3). Here, we find training with gradient noise is insensitive to the gradient clipping values. By tuning the clipping threshold, it is possible to get comparable accuracy without noise for this problem. ",
|
| 412 |
+
"bbox": [
|
| 413 |
+
174,
|
| 414 |
+
895,
|
| 415 |
+
821,
|
| 416 |
+
924
|
| 417 |
+
],
|
| 418 |
+
"page_idx": 3
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"type": "text",
|
| 422 |
+
"text": "",
|
| 423 |
+
"bbox": [
|
| 424 |
+
173,
|
| 425 |
+
103,
|
| 426 |
+
823,
|
| 427 |
+
132
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 4
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "text",
|
| 433 |
+
"text": "In our fourth and fifth experiments (Table 1, Experiment 4), we use two analytically-derived ReLU initialization techniques (which we term Good Init 1 and 2) recently-proposed by Sussillo (2014) and He et al. (2015), and find that adding gradient noise does not help. Previous work has found that stochastic gradient descent with carefully tuned initialization, momentum, learning rate, and learning rate decay can optimize such extremely deep fully-connected ReLU networks (Srivastava et al., 2015). It would be harder to find such a robust initialization technique for the more complex heterogeneous architectures considered in later sections. Accordingly, we find in later experiments (e.g., Section 4.3) that random restarts and the use of a momentum-based optimizer like Adam are not sufficient to achieve the best results in the absence of added gradient noise. ",
|
| 434 |
+
"bbox": [
|
| 435 |
+
173,
|
| 436 |
+
138,
|
| 437 |
+
825,
|
| 438 |
+
263
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 4
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "To test how sensitive the methods are to poor initialization, in addition to the sub-optimal Simple Init, we run an experiment where all the weights in the neural network are initialized at zero. The results (Table 1, Experiment 5) show that if we do not add noise to the gradient, the networks fail to learn. If we add some noise, the networks can learn and reach $9 4 . 5 \\%$ accuracy. While the pessimal performance of the noiseless model is unsurprising (initializing weights at 0 introduces symmetries that make gradient-descent impossible), it is interesting to note that gradient noise can overcome what is perhaps the canonical “bad initialization.” ",
|
| 445 |
+
"bbox": [
|
| 446 |
+
173,
|
| 447 |
+
270,
|
| 448 |
+
825,
|
| 449 |
+
368
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 4
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "table",
|
| 455 |
+
"img_path": "images/403c3a9d66c084cbba14e83f99955a44835374315282f6d7ca33fa2eb6345a37.jpg",
|
| 456 |
+
"table_caption": [
|
| 457 |
+
"Experiment 1: Simple Init, No Gradient Clip "
|
| 458 |
+
],
|
| 459 |
+
"table_footnote": [],
|
| 460 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Setting</td><td rowspan=1 colspan=1>Best Test Acc.</td><td rowspan=1 colspan=1>Avg. Test Acc.</td></tr><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>89.9%</td><td rowspan=1 colspan=1>43.1%</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>96.7%</td><td rowspan=1 colspan=1>52.7%</td></tr><tr><td rowspan=1 colspan=1>No Noise + Dropout</td><td rowspan=1 colspan=1>11.3%</td><td rowspan=1 colspan=1>10.8%</td></tr></table>",
|
| 461 |
+
"bbox": [
|
| 462 |
+
303,
|
| 463 |
+
404,
|
| 464 |
+
692,
|
| 465 |
+
465
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 4
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "table",
|
| 471 |
+
"img_path": "images/d172ed64bdb29fdec53b362710e5ed0707bd53dfe2015932b56875c3d80abbc6.jpg",
|
| 472 |
+
"table_caption": [
|
| 473 |
+
"Experiment 2: Simple Init, Gradient ${ \\mathrm { C l i p } } = 1 0 0$ "
|
| 474 |
+
],
|
| 475 |
+
"table_footnote": [],
|
| 476 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>90.0%</td><td rowspan=1 colspan=1>46.3%</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>96.7%</td><td rowspan=1 colspan=1>52.3%</td></tr></table>",
|
| 477 |
+
"bbox": [
|
| 478 |
+
303,
|
| 479 |
+
491,
|
| 480 |
+
692,
|
| 481 |
+
522
|
| 482 |
+
],
|
| 483 |
+
"page_idx": 4
|
| 484 |
+
},
|
| 485 |
+
{
|
| 486 |
+
"type": "table",
|
| 487 |
+
"img_path": "images/e21e10ea69a4dc2081b91fb1bad469aa6ffda75d319c2d01e06430d46d1f75a4.jpg",
|
| 488 |
+
"table_caption": [
|
| 489 |
+
"Experiment 3: Simple Init, Gradient ${ \\mathrm { C l i p } } = 1 0$ "
|
| 490 |
+
],
|
| 491 |
+
"table_footnote": [],
|
| 492 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>95.7%</td><td rowspan=1 colspan=1>51.6%</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>97.0%</td><td rowspan=1 colspan=1>53.6%</td></tr></table>",
|
| 493 |
+
"bbox": [
|
| 494 |
+
303,
|
| 495 |
+
549,
|
| 496 |
+
694,
|
| 497 |
+
579
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 4
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "table",
|
| 503 |
+
"img_path": "images/4168a534d031b5a25056efb20a3a47afecb947e058b060e8c2c7290251f2344a.jpg",
|
| 504 |
+
"table_caption": [
|
| 505 |
+
"Experiment 4: Good Init $1 +$ Gradient Clip = 10 "
|
| 506 |
+
],
|
| 507 |
+
"table_footnote": [],
|
| 508 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>97.4%</td><td rowspan=1 colspan=1>92.1%</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>97.5%</td><td rowspan=1 colspan=1>92.2%</td></tr></table>",
|
| 509 |
+
"bbox": [
|
| 510 |
+
303,
|
| 511 |
+
606,
|
| 512 |
+
694,
|
| 513 |
+
636
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 4
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "table",
|
| 519 |
+
"img_path": "images/6112ef92921eac96c039214606d2566d110a065671df4fabe1546bd3f0ed0e2c.jpg",
|
| 520 |
+
"table_caption": [
|
| 521 |
+
"Experiment 5: Good Init $^ { 2 + }$ Gradient Clip = 10 "
|
| 522 |
+
],
|
| 523 |
+
"table_footnote": [],
|
| 524 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>97.4%</td><td rowspan=1 colspan=1>91.7%</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>97.2%</td><td rowspan=1 colspan=1>91.7%</td></tr></table>",
|
| 525 |
+
"bbox": [
|
| 526 |
+
305,
|
| 527 |
+
661,
|
| 528 |
+
694,
|
| 529 |
+
693
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 4
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "table",
|
| 535 |
+
"img_path": "images/8c70b1fbae3142d6d35a208a5ced44471a6c86948f565145d28f17b6efdb52c0.jpg",
|
| 536 |
+
"table_caption": [
|
| 537 |
+
"Experiment 6: Bad Init (Zero Init) $^ +$ Gradient Clip = 10 ",
|
| 538 |
+
"Table 1: Average and best test accuracy on MNIST over 40 runs. Higher values are better. "
|
| 539 |
+
],
|
| 540 |
+
"table_footnote": [],
|
| 541 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>11.4%</td><td rowspan=1 colspan=1>10.1%</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>94.5%</td><td rowspan=1 colspan=1>49.7%</td></tr></table>",
|
| 542 |
+
"bbox": [
|
| 543 |
+
302,
|
| 544 |
+
718,
|
| 545 |
+
694,
|
| 546 |
+
750
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 4
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "In summary, these experiments show that if we are careful with initialization and gradient clipping values, it is possible to train a very deep fully-connected network without adding gradient noise. However, if the initialization is poor, optimization can be difficult, and adding noise to the gradient is a good mechanism to overcome the optimization difficulty. Additionally, the noise need not be heavily tuned and rarely decreases performance. ",
|
| 553 |
+
"bbox": [
|
| 554 |
+
174,
|
| 555 |
+
818,
|
| 556 |
+
825,
|
| 557 |
+
888
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 4
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "This set of results suggests that added gradient noise can be an effective mechanism for training complex networks. This is because it is more difficult to initialize the weights properly for these architectures. In the following, we explore the training of more complex models such as End-ToEnd Memory Networks and Neural Programmer, whose initialization is less well studied. ",
|
| 564 |
+
"bbox": [
|
| 565 |
+
174,
|
| 566 |
+
895,
|
| 567 |
+
823,
|
| 568 |
+
924
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 4
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "",
|
| 575 |
+
"bbox": [
|
| 576 |
+
173,
|
| 577 |
+
103,
|
| 578 |
+
823,
|
| 579 |
+
132
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 5
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "4.2 END-TO-END MEMORY NETWORKS ",
|
| 586 |
+
"text_level": 1,
|
| 587 |
+
"bbox": [
|
| 588 |
+
176,
|
| 589 |
+
148,
|
| 590 |
+
464,
|
| 591 |
+
162
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 5
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "We test added gradient noise for training End-To-End Memory Networks (Sukhbaatar et al., 2015), an approach for question answering using deep networks. Memory Networks have been demonstrated to perform well on a relatively challenging toy question answering problem (Weston et al., 2015). ",
|
| 598 |
+
"bbox": [
|
| 599 |
+
174,
|
| 600 |
+
174,
|
| 601 |
+
825,
|
| 602 |
+
231
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 5
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "In Memory Networks, the model has access to a context, a question, and is asked to predict an answer. Internally, the model has an attention mechanism which focuses on the right clue to answer the question. In the original formulation (Weston et al., 2015), Memory Networks were provided with additional supervision as to what pieces of context were necessary to answer the question. This was replaced in the End-To-End formulation by a latent attention mechanism implemented by a softmax over contexts. As this greatly complicates the learning problem, the authors implement a two-stage training procedure: First train the networks with a linear attention, then use those weights to warmstart the model with softmax attention. ",
|
| 609 |
+
"bbox": [
|
| 610 |
+
173,
|
| 611 |
+
237,
|
| 612 |
+
825,
|
| 613 |
+
348
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 5
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "text",
|
| 619 |
+
"text": "In our experiments with Memory Networks, we use the same model hyperparameter settings as Sukhbaatar et al. (2015), and we try both settings of the variance detailed in Section 3, finding $\\eta = 0 . 0 1$ worked best for this task. This noise is added to the gradient after clipping. ",
|
| 620 |
+
"bbox": [
|
| 621 |
+
176,
|
| 622 |
+
356,
|
| 623 |
+
821,
|
| 624 |
+
397
|
| 625 |
+
],
|
| 626 |
+
"page_idx": 5
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"type": "text",
|
| 630 |
+
"text": "We set the number of training epochs to 200 because we would like to understand the behaviors of Memory Networks near convergence. We test the effect of gradient noise with the published two-stage training approach, and additionally with a one-stage approach where we train the networks with softmax attention and without warmstarting. Following the experimental protocol of Sukhbaatar et al. (2015), we take the model with lowest training error out of 10 random restarts. Results are reported in Table 2. We find some fluctuations during each run of the training, but the reported results reflect the typical gains obtained by adding random noise. ",
|
| 631 |
+
"bbox": [
|
| 632 |
+
173,
|
| 633 |
+
404,
|
| 634 |
+
825,
|
| 635 |
+
502
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 5
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "We find that warmstarting does indeed help the networks. In all cases, adding random noise to the gradient also helps the network both in terms of training errors and validation errors, and never hurts. Added noise, however, is especially helpful for the training of End-To-End Memory Networks without the warmstarting stage. ",
|
| 642 |
+
"bbox": [
|
| 643 |
+
174,
|
| 644 |
+
508,
|
| 645 |
+
825,
|
| 646 |
+
565
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 5
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "table",
|
| 652 |
+
"img_path": "images/e665ab3c53aa73e73f6bc05ebea42392eb2d406ace8edafcbae3372fa170654b.jpg",
|
| 653 |
+
"table_caption": [
|
| 654 |
+
"One-Stage Training "
|
| 655 |
+
],
|
| 656 |
+
"table_footnote": [],
|
| 657 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Setting</td><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>With Noise</td></tr><tr><td rowspan=1 colspan=1>Train error:</td><td rowspan=1 colspan=1>10.5%</td><td rowspan=1 colspan=1>9.6%</td></tr><tr><td rowspan=1 colspan=1>Validation error:</td><td rowspan=1 colspan=1>19.5%</td><td rowspan=1 colspan=1>16.6%</td></tr></table>",
|
| 658 |
+
"bbox": [
|
| 659 |
+
344,
|
| 660 |
+
597,
|
| 661 |
+
651,
|
| 662 |
+
645
|
| 663 |
+
],
|
| 664 |
+
"page_idx": 5
|
| 665 |
+
},
|
| 666 |
+
{
|
| 667 |
+
"type": "table",
|
| 668 |
+
"img_path": "images/e2c4ad4306e8f24c7a79fea9f8530e16b450a3cf536f6d7940925b2254b15bf3.jpg",
|
| 669 |
+
"table_caption": [
|
| 670 |
+
"Two-Stage Training ",
|
| 671 |
+
"Table 2: The effects of adding gradient noise to End-to-End Memory Networks. Lower values are better. "
|
| 672 |
+
],
|
| 673 |
+
"table_footnote": [],
|
| 674 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Train error:</td><td rowspan=1 colspan=1>6.2%</td><td rowspan=1 colspan=1>5.9%</td></tr><tr><td rowspan=1 colspan=1>Validation error:</td><td rowspan=1 colspan=1>10.9%</td><td rowspan=1 colspan=1>10.8%</td></tr></table>",
|
| 675 |
+
"bbox": [
|
| 676 |
+
344,
|
| 677 |
+
671,
|
| 678 |
+
650,
|
| 679 |
+
702
|
| 680 |
+
],
|
| 681 |
+
"page_idx": 5
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"type": "text",
|
| 685 |
+
"text": "4.3 NEURAL PROGRAMMER ",
|
| 686 |
+
"text_level": 1,
|
| 687 |
+
"bbox": [
|
| 688 |
+
176,
|
| 689 |
+
786,
|
| 690 |
+
380,
|
| 691 |
+
800
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 5
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"text": "Neural Programmer is a neural network architecture augmented with a small set of built-in arithmetic and logic operations that learns to induce latent programs. It is proposed for the task of question answering from tables (Neelakantan et al., 2016). Examples of operations on a table include the sum of a set of numbers, or the list of numbers greater than a particular value. Key to Neural Programmer is the use of “soft selection” to assign a probability distribution over the list of operations. This probability distribution weighs the result of each operation, and the cost function compares this weighted result to the ground truth. This soft selection, inspired by the soft attention mechanism of Bahdanau et al. (2014), allows for full differentiability of the model. Running the model for several steps of selection allows the model to induce a complex program by chaining the operations, one after the other. At convergence, the soft selection tends to become peaky (hard selection). Figure 1 shows the architecture of Neural Programmer at a high level. ",
|
| 698 |
+
"bbox": [
|
| 699 |
+
174,
|
| 700 |
+
811,
|
| 701 |
+
825,
|
| 702 |
+
924
|
| 703 |
+
],
|
| 704 |
+
"page_idx": 5
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "text",
|
| 708 |
+
"text": "",
|
| 709 |
+
"bbox": [
|
| 710 |
+
173,
|
| 711 |
+
103,
|
| 712 |
+
823,
|
| 713 |
+
146
|
| 714 |
+
],
|
| 715 |
+
"page_idx": 6
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"type": "image",
|
| 719 |
+
"img_path": "images/103af5e9384f10e63f4ef6686fe5aa03b123e3553d6760d47ab8ea34ba802dbb.jpg",
|
| 720 |
+
"image_caption": [
|
| 721 |
+
"Figure 1: Neural Programmer, a neural network with built-in arithmetic and logic operations. At every time step, the controller selectes an operation and a data segment. Figure reproduced with permission from Neelakantan et al. (2016). "
|
| 722 |
+
],
|
| 723 |
+
"image_footnote": [],
|
| 724 |
+
"bbox": [
|
| 725 |
+
310,
|
| 726 |
+
159,
|
| 727 |
+
686,
|
| 728 |
+
285
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 6
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "In a synthetic table comprehension task, Neural Programmer takes a question and a table (or database) as input and the goal is to predict the correct answer. To solve this task, the model has to induce a program and execute it on the table. A major challenge is that the supervision signal is in the form of the correct answer and not the program itself. The model runs for a fixed number of steps, and at each step selects a data segment and an operation to apply to the selected data segment. Soft selection is performed at training time so that the model is differentiable, while at test time hard selection is employed. ",
|
| 735 |
+
"bbox": [
|
| 736 |
+
173,
|
| 737 |
+
353,
|
| 738 |
+
825,
|
| 739 |
+
450
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 6
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "text",
|
| 745 |
+
"text": "We examine only the noise configuration with $\\eta = 1 . 0$ , and add noise to the gradient after clipping, optimizing all other hyperparameters of the model. The model is optimized with Adam (Kingma & Ba, 2014), which combines momentum and adaptive learning rates. ",
|
| 746 |
+
"bbox": [
|
| 747 |
+
174,
|
| 748 |
+
457,
|
| 749 |
+
825,
|
| 750 |
+
500
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 6
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "text",
|
| 756 |
+
"text": "For our first experiment, we train Neural Programmer to answer questions involving a single column of numbers. We use 72 different hyper-parameter configurations with and without adding annealed random noise to the gradients. We also run each of these experiments for 3 different random initializations of the model parameters and we find that only $1 / 2 1 6$ runs achieve $1 0 0 \\%$ test accuracy without adding noise while $9 / 2 1 6$ runs achieve $1 0 0 \\%$ accuracy when random noise is added. The 9 successful runs consisted of models initialized with all the three different random seeds, demonstrating robustness to initialization. We find that when using dropout (Srivastava et al., 2014) none of the 216 runs give $100 \\%$ accuracy. ",
|
| 757 |
+
"bbox": [
|
| 758 |
+
173,
|
| 759 |
+
506,
|
| 760 |
+
825,
|
| 761 |
+
617
|
| 762 |
+
],
|
| 763 |
+
"page_idx": 6
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"type": "text",
|
| 767 |
+
"text": "We consider a more difficult question answering task where tables have up to five columns containing numbers. We also experiment on a task containing one column of numbers and another column of text entries. Table 3 shows the performance of adding noise vs. no noise on Neural Programmer. ",
|
| 768 |
+
"bbox": [
|
| 769 |
+
173,
|
| 770 |
+
625,
|
| 771 |
+
825,
|
| 772 |
+
667
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 6
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "table",
|
| 778 |
+
"img_path": "images/d74b3cb500da82e26bac08273035740b18a487616560cc20ecd9a304725d119e.jpg",
|
| 779 |
+
"table_caption": [
|
| 780 |
+
"Question Answering Accuracy "
|
| 781 |
+
],
|
| 782 |
+
"table_footnote": [],
|
| 783 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Setting</td><td rowspan=1 colspan=1>Dropout</td><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>With Noise</td></tr><tr><td rowspan=1 colspan=1>Five columns</td><td rowspan=1 colspan=1>No</td><td rowspan=1 colspan=1>95.3%</td><td rowspan=1 colspan=1>98.7%</td></tr><tr><td rowspan=1 colspan=1>Text entries</td><td rowspan=1 colspan=1>No</td><td rowspan=1 colspan=1>97.6%</td><td rowspan=1 colspan=1>98.8%</td></tr><tr><td rowspan=1 colspan=1>Five columns</td><td rowspan=1 colspan=1>Yes</td><td rowspan=1 colspan=1>97.4%</td><td rowspan=1 colspan=1>99.2%</td></tr><tr><td rowspan=1 colspan=1>Text entries</td><td rowspan=1 colspan=1>Yes</td><td rowspan=1 colspan=1>99.1%</td><td rowspan=1 colspan=1>97.3%</td></tr></table>",
|
| 784 |
+
"bbox": [
|
| 785 |
+
318,
|
| 786 |
+
694,
|
| 787 |
+
679,
|
| 788 |
+
771
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 6
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "text",
|
| 794 |
+
"text": "Table 3: The effects of adding random noise to the gradient on Neural Programmer. Higher values are better. Adding random noise to the gradient always helps the model. When the models are applied to these more complicated tasks than the single column experiment, using dropout and noise together seems to be beneficial in one case while using only one of them achieves the best result in the other case. ",
|
| 795 |
+
"bbox": [
|
| 796 |
+
173,
|
| 797 |
+
781,
|
| 798 |
+
825,
|
| 799 |
+
852
|
| 800 |
+
],
|
| 801 |
+
"page_idx": 6
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "text",
|
| 805 |
+
"text": "Figure 2 shows an example of the effect of adding random noise to the gradients in our experiment with 5 columns. The differences between the two models are much more pronounced than Table 3 indicates because that table reflects the results from the best hyperparameters. Figure 2 indicates a more typical training run. ",
|
| 806 |
+
"bbox": [
|
| 807 |
+
173,
|
| 808 |
+
867,
|
| 809 |
+
825,
|
| 810 |
+
924
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 6
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "image",
|
| 816 |
+
"img_path": "images/0a1e50a67d834ff2dfdac9f418a072266c4e7a59d8bd015eb741c661ea8cd996.jpg",
|
| 817 |
+
"image_caption": [
|
| 818 |
+
"Figure 2: Noise Vs. No Noise in our experiment with 5 columns. The models trained with noise generalizes almost always better. "
|
| 819 |
+
],
|
| 820 |
+
"image_footnote": [],
|
| 821 |
+
"bbox": [
|
| 822 |
+
333,
|
| 823 |
+
104,
|
| 824 |
+
656,
|
| 825 |
+
224
|
| 826 |
+
],
|
| 827 |
+
"page_idx": 7
|
| 828 |
+
},
|
| 829 |
+
{
|
| 830 |
+
"type": "text",
|
| 831 |
+
"text": "In all cases, we see that added gradient noise improves performance of Neural Programmer. Its performance when combined with or used instead of dropout is mixed depending on the problem, but the positive results indicate that it is worth attempting on a case-by-case basis. ",
|
| 832 |
+
"bbox": [
|
| 833 |
+
174,
|
| 834 |
+
290,
|
| 835 |
+
823,
|
| 836 |
+
333
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 7
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "text",
|
| 842 |
+
"text": "4.4 NEURAL RANDOM ACCESS MACHINES ",
|
| 843 |
+
"text_level": 1,
|
| 844 |
+
"bbox": [
|
| 845 |
+
176,
|
| 846 |
+
349,
|
| 847 |
+
485,
|
| 848 |
+
363
|
| 849 |
+
],
|
| 850 |
+
"page_idx": 7
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"type": "text",
|
| 854 |
+
"text": "We now conduct experiments with Neural Random-Access Machines (NRAM) (Kurach et al., 2016). NRAM is a model for algorithm learning that can store data, and explicitly manipulate and dereference pointers. NRAM consists of a neural network controller, memory, registers and a set of built-in operations. This is similar to the Neural Programmer in that it uses a controller network to compose built-in operations, but both reads and writes to an external memory. An operation can either read (a subset of) contents from the memory, write content to the memory or perform an arithmetic operation on either input registers or outputs from other operations. The controller runs for a fixed number of time steps. At every step, the model selects a “circuit” to be executed: both the operations and its inputs. ",
|
| 855 |
+
"bbox": [
|
| 856 |
+
173,
|
| 857 |
+
375,
|
| 858 |
+
825,
|
| 859 |
+
501
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 7
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "These selections are made using soft attention (Bahdanau et al., 2014) making the model end-to-end differentiable. NRAM uses an LSTM (Hochreiter & Schmidhuber, 1997) controller. Figure 3 gives an overview of the model. ",
|
| 866 |
+
"bbox": [
|
| 867 |
+
176,
|
| 868 |
+
507,
|
| 869 |
+
825,
|
| 870 |
+
549
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 7
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "image",
|
| 876 |
+
"img_path": "images/94341ba07767fbb398d37953fef5a9fe3f4a1ce8f10de8bdda526db81385e635.jpg",
|
| 877 |
+
"image_caption": [
|
| 878 |
+
"Figure 3: One timestep of the NRAM architecture with $R = 4$ registers and a memory tape. $m _ { 1 }$ , $m _ { 2 }$ and $m _ { 3 }$ are example operations built-in to the model. The operations can read and write from memory. At every time step, the LSTM controller softly selects the operation and its inputs. Figure reproduced with permission from Kurach et al. (2016). "
|
| 879 |
+
],
|
| 880 |
+
"image_footnote": [],
|
| 881 |
+
"bbox": [
|
| 882 |
+
316,
|
| 883 |
+
574,
|
| 884 |
+
679,
|
| 885 |
+
718
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 7
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "text",
|
| 891 |
+
"text": "For our experiment, we consider a problem of finding the $k$ -th element’s value in a linked list. The network is given a pointer to the head of the linked list, and has to find the value of the $k$ -th element. Note that this is highly nontrivial because pointers and their values are stored at random locations in memory, so the model must learn to traverse a complex graph for $k$ steps. ",
|
| 892 |
+
"bbox": [
|
| 893 |
+
174,
|
| 894 |
+
805,
|
| 895 |
+
825,
|
| 896 |
+
861
|
| 897 |
+
],
|
| 898 |
+
"page_idx": 7
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "text",
|
| 902 |
+
"text": "Because of this complexity, training the NRAM architecture can be unstable, especially when the number of steps and operations is large. We once again experiment with the decaying noise schedule from Equation (1), setting $\\eta = 0 . 0 1$ . We run a large grid search over the model hyperparameters (detailed in Kurach et al. (2016)), and find the top 3 parameter settings separately for both noised and un-noised models. For each model, for each of these 3 settings, we try 100 different random initializations and look at the percentage of runs that give $1 0 0 \\%$ accuracy across each one for training both with and without noise. ",
|
| 903 |
+
"bbox": [
|
| 904 |
+
174,
|
| 905 |
+
867,
|
| 906 |
+
823,
|
| 907 |
+
924
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 7
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "",
|
| 914 |
+
"bbox": [
|
| 915 |
+
176,
|
| 916 |
+
103,
|
| 917 |
+
823,
|
| 918 |
+
145
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 8
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "text",
|
| 924 |
+
"text": "As in our experiments with Neural Programmer, we find that adding the noise after gradient clipping is crucial. This is likely because the effect of random noise is washed away when gradients become too large. For models trained with noise we observed much better reproduce rates, which are presented in Table 4. Although it is possible to train the model to achieve $\\bar { 1 } 0 0 \\%$ accuracy without noise, it is less robust across multiple random restarts, with over $1 0 \\mathrm { x }$ as many initializations leading to a correct answer when using noise. ",
|
| 925 |
+
"bbox": [
|
| 926 |
+
173,
|
| 927 |
+
152,
|
| 928 |
+
825,
|
| 929 |
+
236
|
| 930 |
+
],
|
| 931 |
+
"page_idx": 8
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"type": "table",
|
| 935 |
+
"img_path": "images/7a62a8f2657ed093a1e59a734321b83bc5daee105aa68d81cf97e965a286aec6.jpg",
|
| 936 |
+
"table_caption": [],
|
| 937 |
+
"table_footnote": [],
|
| 938 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>With Noise</td></tr><tr><td rowspan=1 colspan=1>Hyperparameter-1</td><td rowspan=1 colspan=1>1%</td><td rowspan=1 colspan=1>5%</td></tr><tr><td rowspan=1 colspan=1>Hyperparameter-2</td><td rowspan=1 colspan=1>0%</td><td rowspan=1 colspan=1>22%</td></tr><tr><td rowspan=1 colspan=1>Hyperparameter-3</td><td rowspan=1 colspan=1>3%</td><td rowspan=1 colspan=1>7%</td></tr><tr><td rowspan=1 colspan=1>Average</td><td rowspan=1 colspan=1>1.3%</td><td rowspan=1 colspan=1>11.3%</td></tr></table>",
|
| 939 |
+
"bbox": [
|
| 940 |
+
339,
|
| 941 |
+
255,
|
| 942 |
+
656,
|
| 943 |
+
333
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 8
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "text",
|
| 949 |
+
"text": "Table 4: Percentage of successful runs on the $k$ -th element task. All tests were performed with the same set of 100 random initializations (seeds). Higher values are better. ",
|
| 950 |
+
"bbox": [
|
| 951 |
+
171,
|
| 952 |
+
343,
|
| 953 |
+
825,
|
| 954 |
+
372
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 8
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "text",
|
| 960 |
+
"text": "4.5 CONVOLUTIONAL GATED RECURRENT NETWORKS (NEURAL GPUS) ",
|
| 961 |
+
"text_level": 1,
|
| 962 |
+
"bbox": [
|
| 963 |
+
174,
|
| 964 |
+
417,
|
| 965 |
+
692,
|
| 966 |
+
433
|
| 967 |
+
],
|
| 968 |
+
"page_idx": 8
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "text",
|
| 972 |
+
"text": "Convolutional Gated Recurrent Networks (CGRN) or Neural GPUs (Kaiser & Sutskever, 2016) are a recently proposed model that is capable of learning arbitrary algorithms. CGRNs use a stack of convolution layers, unfolded with tied parameters like a recurrent network. The input data (usually a list of symbols) is first converted to a three dimensional tensor representation containing a sequence of embedded symbols in the first two dimensions, and zeros padding the next dimension. Then, multiple layers of modified convolution kernels are applied at each step. The modified kernel is a combination of convolution and Gated Recurrent Units (GRU) (Cho et al., 2014b). The use of convolution kernels allows computation to be applied in parallel across the input data, while the gating mechanism helps the gradient flow. The additional dimension of the tensor serves as a working memory while the repeated operations are applied at each layer. The output at the final layer is the predicted answer. ",
|
| 973 |
+
"bbox": [
|
| 974 |
+
173,
|
| 975 |
+
443,
|
| 976 |
+
825,
|
| 977 |
+
597
|
| 978 |
+
],
|
| 979 |
+
"page_idx": 8
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "text",
|
| 983 |
+
"text": "The key difference between Neural GPUs and other architectures for algorithmic tasks (e.g., Neural Turing Machines (Graves et al., 2014)) is that instead of using sequential data access, convolution kernels are applied in parallel across the input, enabling the use of very deep and wide models. The model is referred to as Neural GPU because the input data is accessed in parallel. Neural GPUs were shown to outperform previous sequential architectures for algorithm learning on tasks such as binary addition and multiplication, by being able to generalize from much shorter to longer data cases. ",
|
| 984 |
+
"bbox": [
|
| 985 |
+
174,
|
| 986 |
+
603,
|
| 987 |
+
825,
|
| 988 |
+
688
|
| 989 |
+
],
|
| 990 |
+
"page_idx": 8
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "text",
|
| 994 |
+
"text": "In our experiments, we use Neural GPUs for the task of binary multiplication. The input consists two concatenated sequences of binary digits separated by an operator token, and the goal is to multiply the given numbers. During training, the model is trained on 20-digit binary numbers while at test time, the task is to multiply 200-digit numbers. We add Gaussian noise with decaying variance according to the schedule in Equation (1) with $\\eta = 1 . 0$ , to the gradient after clipping. The model is optimized using Adam (Kingma & Ba, 2014). ",
|
| 995 |
+
"bbox": [
|
| 996 |
+
174,
|
| 997 |
+
694,
|
| 998 |
+
825,
|
| 999 |
+
779
|
| 1000 |
+
],
|
| 1001 |
+
"page_idx": 8
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "text",
|
| 1005 |
+
"text": "Table 5 gives the results of a large-scale experiment using Neural GPUs with a 7290 grid search. The experiment shows that models trained with added gradient noise are more robust across many random initializations and parameter settings. As you can see, adding gradient noise both allows us to achieve the best performance, with the number of models with $< 1 \\%$ error over twice as large as without noise. But it also helps throughout, improving the robustness of training, with more models training to higher error rates as well. This experiment shows that the simple technique of added gradient noise is effective even in regimes where we can afford a very large numbers of random restarts. ",
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
173,
|
| 1008 |
+
785,
|
| 1009 |
+
825,
|
| 1010 |
+
897
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 8
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "table",
|
| 1016 |
+
"img_path": "images/ebdf70485c39ee4797088273058bc6c15c040b12ba8e93e419284f4fbb3774b2.jpg",
|
| 1017 |
+
"table_caption": [
|
| 1018 |
+
"Table 5: Number of successful runs on 7290 random trials. Higher values are better. The models are trained on length 20 and tested on length 200. "
|
| 1019 |
+
],
|
| 1020 |
+
"table_footnote": [],
|
| 1021 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Setting</td><td rowspan=1 colspan=1>Error<1%</td><td rowspan=1 colspan=1><2%</td><td rowspan=1 colspan=1><3%</td><td rowspan=1 colspan=1><5%</td></tr><tr><td rowspan=1 colspan=1>No Noise</td><td rowspan=1 colspan=1>28</td><td rowspan=1 colspan=1>90</td><td rowspan=1 colspan=1>172</td><td rowspan=1 colspan=1>387</td></tr><tr><td rowspan=1 colspan=1>With Noise</td><td rowspan=1 colspan=1>58</td><td rowspan=1 colspan=1>159</td><td rowspan=1 colspan=1>282</td><td rowspan=1 colspan=1>570</td></tr></table>",
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
312,
|
| 1024 |
+
101,
|
| 1025 |
+
684,
|
| 1026 |
+
150
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 9
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"text": "4.6 DISCUSSION ",
|
| 1033 |
+
"text_level": 1,
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
174,
|
| 1036 |
+
220,
|
| 1037 |
+
302,
|
| 1038 |
+
234
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 9
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "In this work we propose an annealed Gaussian gradient noise scheme for the optimization of complex neural networks. Our experiments show improvement from gradient noise on a variety of models. We conduct a small set of additional experiments below to examine the factors that make this technique successful, and report a failure mode. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
174,
|
| 1047 |
+
250,
|
| 1048 |
+
825,
|
| 1049 |
+
304
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 9
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "Annealed vs. fixed noise We use a single fixed decay value $\\gamma = 0 . 5 5$ when applying Equation (1) in our experiments, inspired by Stochastic Gradient Langevin Dynamics, and recommend it as a default. We conduct several experiments to determine the importance of annealed vs. fixed noise added to the gradient. We find that for the End2End model, similar results can be achieved with fixed noise values, however requiring significantly more tuning (compared to trying only two different values of $\\eta$ in our experiments with annealed noise). We achieve nearly identical results on the End2End experiment using a fixed noise value of $\\eta = 0 . 0 0 1$ . We also experiment with fixed noise on the Neural Programmer and NRAM models, and find that they make a larger difference. For both models, we select fixed noise values log-uniformly from between $1 \\mathrm { e } { - 4 }$ and 0.1 and optimize the other hyperparameters. Using 216 runs per variance setting, the best Neural Programmer models without annealing can achieve equivalent errors to the annealed models. However, only 5/216 achieve the best error compared to 9/216 for the model using annealing. For NRAM, using 180 runs per setting, fixed noise never achieves the perfect error of 0 that is achieved by the annealed model. While annealing shows the most benefit with the most complex models, we generally recommend it as a robust default that requires less hyperparameter tuning than fixed noise. ",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
174,
|
| 1058 |
+
325,
|
| 1059 |
+
825,
|
| 1060 |
+
535
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 9
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "Gaussian noise vs. gradient stochasticity We assert that gradient noise helps the model explore the optimization landscape, escaping saddle points and local minima. Analysis of SGD for neural networks suggests that the stochasticity of the gradient serves much the same purpose (Bottou, 1992). This suggests a strategy: add noise to the gradient by simply reducing the minibatch size, increasing the variance of the gradient estimator. While arguments based on SGLD and kernel smoothing provide evidence that the specific form of the Gaussian noise is important, we run a pair of small experiments. For both Neural Programmer and NRAM, we tried batch sizes of 10, 25, and 50 (50 being the value used in the best results). For NRAM, after 100 tasks at each batch size and no gradient noise, 2 tasks at batch size 50 converged to 0 error, 1 task at batch size 10, and none at batch size 25. For Neural Programmer, over 216 experiments at each batch size we see none of the models without gradient noise converge to the best error. These results are far worse than our results using added noise, indicating that merely lowering the batch size does not introduce the same sort of helpful stochasticity. ",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
174,
|
| 1069 |
+
555,
|
| 1070 |
+
825,
|
| 1071 |
+
736
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 9
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "Gradient noise vs. weight noise While weight noise is relatively well-known, it is not equivalent to gradient noise in the case of adaptive or momentum-based optimizers, which effectively adapt the noise to the curvature of the optimization landscape. Both Neural Programmer and NRAM are greatly helped in training by the use of the Adam algorithm for optimization. We find here, using the same experimental setup as when examining annealed vs. fixed noise, that the models fail to learn when adding noise directly to the weights. Even when using starting noise rates as low as $1 \\mathrm { e } { - 6 }$ , with the usual annealing schedule, the models fail to train significantly, achieving $57 \\%$ error for NRAM and $68 \\%$ for Neural Programmer at the lowest. Importantly, these noise rates are on the same order as the adaptive learning rates. This indicates that the issue is not just the noise scale, but that the very poor conditioning of the loss functions makes it necessary to adapt the noise. Similar concerns motivated the development of very recent algorithms for preconditioned SGLD in the Bayesian setting (Li et al., 2016). ",
|
| 1078 |
+
"bbox": [
|
| 1079 |
+
174,
|
| 1080 |
+
757,
|
| 1081 |
+
825,
|
| 1082 |
+
924
|
| 1083 |
+
],
|
| 1084 |
+
"page_idx": 9
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"type": "text",
|
| 1088 |
+
"text": "Negative results While we see improvements on a large number of neural network architectures, we note a case where gradient noise does not improve over standard SGD. We conduct language modeling experiments on the Penn Treebank (Marcus et al., 1993), using the experimental setup and architecture from Zaremba et al. (2014). We report results using a 200-unit LSTM with dropout, but observe a similar lack of improvement from gradient noise when using models without dropout. We try the two proposed noise rates from Section (method) and find the best results using $\\eta = 0 . 0 1$ are slightly worse than the noiseless model, achieving a perplexity of 98 rather than 95. By further lowering the noise parameter to $\\eta = 0 . 0 0 1$ we are able to achieve the same perplexity as the baseline, but do not see improvement. While adding gradient noise does not help in this case, it is simple to try and does not significantly hurt the results. ",
|
| 1089 |
+
"bbox": [
|
| 1090 |
+
174,
|
| 1091 |
+
103,
|
| 1092 |
+
825,
|
| 1093 |
+
242
|
| 1094 |
+
],
|
| 1095 |
+
"page_idx": 10
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"type": "text",
|
| 1099 |
+
"text": "5 CONCLUSION ",
|
| 1100 |
+
"text_level": 1,
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
176,
|
| 1103 |
+
262,
|
| 1104 |
+
318,
|
| 1105 |
+
280
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 10
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "text",
|
| 1111 |
+
"text": "In this paper, we demonstrate the effectiveness of adding noise to the gradient when training deep neural networks. We find that adding noise to the gradient helps optimization and generalization of complicated neural networks and is compatible with and complementary to other stochastic optimization methods. We suspect that the effects are pronounced for complex models because they have many saddle points. ",
|
| 1112 |
+
"bbox": [
|
| 1113 |
+
174,
|
| 1114 |
+
295,
|
| 1115 |
+
825,
|
| 1116 |
+
366
|
| 1117 |
+
],
|
| 1118 |
+
"page_idx": 10
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"type": "text",
|
| 1122 |
+
"text": "We believe that this surprisingly simple yet effective idea, essentially a single line of code, should be in the toolset of neural network practitioners when facing issues with training neural networks. ",
|
| 1123 |
+
"bbox": [
|
| 1124 |
+
174,
|
| 1125 |
+
372,
|
| 1126 |
+
825,
|
| 1127 |
+
400
|
| 1128 |
+
],
|
| 1129 |
+
"page_idx": 10
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"type": "text",
|
| 1133 |
+
"text": "REFERENCES ",
|
| 1134 |
+
"text_level": 1,
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
176,
|
| 1137 |
+
421,
|
| 1138 |
+
287,
|
| 1139 |
+
436
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 10
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "text",
|
| 1145 |
+
"text": "Shun-Ichi Amari. Natural gradient works efficiently in learning. Neural computation, 1998. ",
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
173,
|
| 1148 |
+
445,
|
| 1149 |
+
774,
|
| 1150 |
+
460
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 10
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "Guozhong An. The effects of adding noise during backpropagation training on a generalization performance. Neural Computation, 1996. ",
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
173,
|
| 1159 |
+
469,
|
| 1160 |
+
820,
|
| 1161 |
+
500
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 10
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "Devansh Arpit, Yingbo Zhou, Bhargava U Kota, and Venu Govindaraju. Normalization propagation: A parametric technique for removing internal covariate shift in deep networks. ICML, 2016. ",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
174,
|
| 1170 |
+
508,
|
| 1171 |
+
821,
|
| 1172 |
+
537
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 10
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016. ",
|
| 1179 |
+
"bbox": [
|
| 1180 |
+
174,
|
| 1181 |
+
546,
|
| 1182 |
+
823,
|
| 1183 |
+
575
|
| 1184 |
+
],
|
| 1185 |
+
"page_idx": 10
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"type": "text",
|
| 1189 |
+
"text": "Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. ICLR, 2014. ",
|
| 1190 |
+
"bbox": [
|
| 1191 |
+
174,
|
| 1192 |
+
585,
|
| 1193 |
+
823,
|
| 1194 |
+
614
|
| 1195 |
+
],
|
| 1196 |
+
"page_idx": 10
|
| 1197 |
+
},
|
| 1198 |
+
{
|
| 1199 |
+
"type": "text",
|
| 1200 |
+
"text": "Charles Blundell, Julien Cornebise, Koray Kavukcuoglu, and Daan Wierstra. Weight uncertainty in neural networks. ICML, 2015. ",
|
| 1201 |
+
"bbox": [
|
| 1202 |
+
173,
|
| 1203 |
+
625,
|
| 1204 |
+
823,
|
| 1205 |
+
654
|
| 1206 |
+
],
|
| 1207 |
+
"page_idx": 10
|
| 1208 |
+
},
|
| 1209 |
+
{
|
| 1210 |
+
"type": "text",
|
| 1211 |
+
"text": "Leon Bottou. Stochastic gradient learning in neural networks. In ´ Neuro-N¨ımes, 1992. ",
|
| 1212 |
+
"bbox": [
|
| 1213 |
+
174,
|
| 1214 |
+
662,
|
| 1215 |
+
735,
|
| 1216 |
+
679
|
| 1217 |
+
],
|
| 1218 |
+
"page_idx": 10
|
| 1219 |
+
},
|
| 1220 |
+
{
|
| 1221 |
+
"type": "text",
|
| 1222 |
+
"text": "Olivier Bousquet and Leon Bottou. The tradeoffs of large scale learning. In ´ NIPS, 2008. ",
|
| 1223 |
+
"bbox": [
|
| 1224 |
+
169,
|
| 1225 |
+
688,
|
| 1226 |
+
751,
|
| 1227 |
+
703
|
| 1228 |
+
],
|
| 1229 |
+
"page_idx": 10
|
| 1230 |
+
},
|
| 1231 |
+
{
|
| 1232 |
+
"type": "text",
|
| 1233 |
+
"text": "Changyou Chen, David Carlson, Zhe Gan, Chunyuan Li, and Lawrence Carin. Bridging the gap between stochastic gradient mcmc and stochastic optimization, 2016. ",
|
| 1234 |
+
"bbox": [
|
| 1235 |
+
173,
|
| 1236 |
+
712,
|
| 1237 |
+
825,
|
| 1238 |
+
742
|
| 1239 |
+
],
|
| 1240 |
+
"page_idx": 10
|
| 1241 |
+
},
|
| 1242 |
+
{
|
| 1243 |
+
"type": "text",
|
| 1244 |
+
"text": "Kyunghyun Cho, Bart van Merrienboer, Dzmitry Bahdanau, and Yoshua Bengio. On the properties ¨ of neural machine translation: Encoder-decoder approaches. arXiv preprint arXiv:1409.1259, 2014a. ",
|
| 1245 |
+
"bbox": [
|
| 1246 |
+
173,
|
| 1247 |
+
751,
|
| 1248 |
+
823,
|
| 1249 |
+
794
|
| 1250 |
+
],
|
| 1251 |
+
"page_idx": 10
|
| 1252 |
+
},
|
| 1253 |
+
{
|
| 1254 |
+
"type": "text",
|
| 1255 |
+
"text": "Kyunghyun Cho, Bart Van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Hol- ¨ ger Schwenk, and Yoshua Bengio. Learning phrase representations using RNN encoder-decoder for statistical machine translation. In EMNLP, 2014b. ",
|
| 1256 |
+
"bbox": [
|
| 1257 |
+
174,
|
| 1258 |
+
803,
|
| 1259 |
+
823,
|
| 1260 |
+
847
|
| 1261 |
+
],
|
| 1262 |
+
"page_idx": 10
|
| 1263 |
+
},
|
| 1264 |
+
{
|
| 1265 |
+
"type": "text",
|
| 1266 |
+
"text": "Anna Choromanska, Mikael Henaff, Michael Mathieu, G ¨ erard Ben Arous, and Yann LeCun. The ´ loss surfaces of multilayer networks. In AISTATS, 2015. ",
|
| 1267 |
+
"bbox": [
|
| 1268 |
+
169,
|
| 1269 |
+
856,
|
| 1270 |
+
823,
|
| 1271 |
+
885
|
| 1272 |
+
],
|
| 1273 |
+
"page_idx": 10
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"type": "text",
|
| 1277 |
+
"text": "Tim Cooijmans, Nicolas Ballas, Cesar Laurent, and Aaron Courville. Recurrent batch normalization. ´ arXiv preprint arXiv:1603.09025, 2016. ",
|
| 1278 |
+
"bbox": [
|
| 1279 |
+
176,
|
| 1280 |
+
895,
|
| 1281 |
+
821,
|
| 1282 |
+
922
|
| 1283 |
+
],
|
| 1284 |
+
"page_idx": 10
|
| 1285 |
+
},
|
| 1286 |
+
{
|
| 1287 |
+
"type": "text",
|
| 1288 |
+
"text": "Jeffrey Dean, Greg Corrado, Rajat Monga, Kai Chen, Matthieu Devin, Mark Mao, Andrew Senior, Paul Tucker, Ke Yang, Quoc V Le, et al. Large scale distributed deep networks. In NIPS, 2012. ",
|
| 1289 |
+
"bbox": [
|
| 1290 |
+
171,
|
| 1291 |
+
103,
|
| 1292 |
+
823,
|
| 1293 |
+
133
|
| 1294 |
+
],
|
| 1295 |
+
"page_idx": 11
|
| 1296 |
+
},
|
| 1297 |
+
{
|
| 1298 |
+
"type": "text",
|
| 1299 |
+
"text": "Guillaume Desjardins, Karen Simonyan, Razvan Pascanu, and koray kavukcuoglu. Natural neural networks. In NIPS. 2015. ",
|
| 1300 |
+
"bbox": [
|
| 1301 |
+
173,
|
| 1302 |
+
141,
|
| 1303 |
+
823,
|
| 1304 |
+
170
|
| 1305 |
+
],
|
| 1306 |
+
"page_idx": 11
|
| 1307 |
+
},
|
| 1308 |
+
{
|
| 1309 |
+
"type": "text",
|
| 1310 |
+
"text": "John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. JMLR, 2011. ",
|
| 1311 |
+
"bbox": [
|
| 1312 |
+
171,
|
| 1313 |
+
179,
|
| 1314 |
+
823,
|
| 1315 |
+
209
|
| 1316 |
+
],
|
| 1317 |
+
"page_idx": 11
|
| 1318 |
+
},
|
| 1319 |
+
{
|
| 1320 |
+
"type": "text",
|
| 1321 |
+
"text": "Xavier Glorot and Yoshua Bengio. Understanding the difficulty of training deep feedforward neural networks. In Proc. AISTATS, pp. 249–256, 2010. ",
|
| 1322 |
+
"bbox": [
|
| 1323 |
+
174,
|
| 1324 |
+
218,
|
| 1325 |
+
823,
|
| 1326 |
+
248
|
| 1327 |
+
],
|
| 1328 |
+
"page_idx": 11
|
| 1329 |
+
},
|
| 1330 |
+
{
|
| 1331 |
+
"type": "text",
|
| 1332 |
+
"text": "Alex Graves. Practical variational inference for neural networks. In NIPS, 2011. ",
|
| 1333 |
+
"bbox": [
|
| 1334 |
+
173,
|
| 1335 |
+
257,
|
| 1336 |
+
702,
|
| 1337 |
+
273
|
| 1338 |
+
],
|
| 1339 |
+
"page_idx": 11
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"type": "text",
|
| 1343 |
+
"text": "Alex Graves. Generating sequences with recurrent neural networks. arXiv preprint arxiv:1308.0850, 2013. ",
|
| 1344 |
+
"bbox": [
|
| 1345 |
+
173,
|
| 1346 |
+
281,
|
| 1347 |
+
820,
|
| 1348 |
+
311
|
| 1349 |
+
],
|
| 1350 |
+
"page_idx": 11
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "text",
|
| 1354 |
+
"text": "Alex Graves, Greg Wayne, and Ivo Danihelka. Neural Turing Machines. arXiv preprint arXiv:1410.5401, 2014. ",
|
| 1355 |
+
"bbox": [
|
| 1356 |
+
174,
|
| 1357 |
+
320,
|
| 1358 |
+
823,
|
| 1359 |
+
349
|
| 1360 |
+
],
|
| 1361 |
+
"page_idx": 11
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"type": "text",
|
| 1365 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. ICCV, 2015. ",
|
| 1366 |
+
"bbox": [
|
| 1367 |
+
173,
|
| 1368 |
+
358,
|
| 1369 |
+
823,
|
| 1370 |
+
388
|
| 1371 |
+
],
|
| 1372 |
+
"page_idx": 11
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "text",
|
| 1376 |
+
"text": "Geoffrey Hinton and Sam Roweis. Stochastic neighbor embedding. In NIPS, 2002. ",
|
| 1377 |
+
"bbox": [
|
| 1378 |
+
173,
|
| 1379 |
+
397,
|
| 1380 |
+
722,
|
| 1381 |
+
412
|
| 1382 |
+
],
|
| 1383 |
+
"page_idx": 11
|
| 1384 |
+
},
|
| 1385 |
+
{
|
| 1386 |
+
"type": "text",
|
| 1387 |
+
"text": "Geoffrey Hinton, Li Deng, Dong Yu, George Dahl, Abdel rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara Sainath, and Brian Kingsbury. Deep neural networks for acoustic modeling in speech recognition. Signal Processing Magazine, 2012. ",
|
| 1388 |
+
"bbox": [
|
| 1389 |
+
176,
|
| 1390 |
+
421,
|
| 1391 |
+
821,
|
| 1392 |
+
465
|
| 1393 |
+
],
|
| 1394 |
+
"page_idx": 11
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "text",
|
| 1398 |
+
"text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural Computation, 1997. ",
|
| 1399 |
+
"bbox": [
|
| 1400 |
+
174,
|
| 1401 |
+
474,
|
| 1402 |
+
810,
|
| 1403 |
+
489
|
| 1404 |
+
],
|
| 1405 |
+
"page_idx": 11
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"type": "text",
|
| 1409 |
+
"text": "Sergey Ioffe and Christian Szegedy. Batch normalization: accelerating deep network training by reducing internal covariate shift. In ICML, 2015. ",
|
| 1410 |
+
"bbox": [
|
| 1411 |
+
173,
|
| 1412 |
+
500,
|
| 1413 |
+
820,
|
| 1414 |
+
529
|
| 1415 |
+
],
|
| 1416 |
+
"page_idx": 11
|
| 1417 |
+
},
|
| 1418 |
+
{
|
| 1419 |
+
"type": "text",
|
| 1420 |
+
"text": "Lukasz Kaiser and Ilya Sutskever. Neural GPUs learn algorithms. In ICLR, 2016. ",
|
| 1421 |
+
"bbox": [
|
| 1422 |
+
174,
|
| 1423 |
+
537,
|
| 1424 |
+
710,
|
| 1425 |
+
553
|
| 1426 |
+
],
|
| 1427 |
+
"page_idx": 11
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "text",
|
| 1431 |
+
"text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
173,
|
| 1434 |
+
563,
|
| 1435 |
+
823,
|
| 1436 |
+
592
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 11
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "text",
|
| 1442 |
+
"text": "Scott Kirkpatrick, Mario P Vecchi, et al. Optimization by simulated annealing. Science, 1983. ",
|
| 1443 |
+
"bbox": [
|
| 1444 |
+
174,
|
| 1445 |
+
601,
|
| 1446 |
+
790,
|
| 1447 |
+
617
|
| 1448 |
+
],
|
| 1449 |
+
"page_idx": 11
|
| 1450 |
+
},
|
| 1451 |
+
{
|
| 1452 |
+
"type": "text",
|
| 1453 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. ImageNet classification with deep convolutional neural networks. In NIPS, 2012. ",
|
| 1454 |
+
"bbox": [
|
| 1455 |
+
173,
|
| 1456 |
+
625,
|
| 1457 |
+
823,
|
| 1458 |
+
655
|
| 1459 |
+
],
|
| 1460 |
+
"page_idx": 11
|
| 1461 |
+
},
|
| 1462 |
+
{
|
| 1463 |
+
"type": "text",
|
| 1464 |
+
"text": "Karol Kurach, Marcin Andrychowicz, and Ilya Sutskever. Neural random-access machines. In ICLR, 2016. ",
|
| 1465 |
+
"bbox": [
|
| 1466 |
+
173,
|
| 1467 |
+
664,
|
| 1468 |
+
825,
|
| 1469 |
+
694
|
| 1470 |
+
],
|
| 1471 |
+
"page_idx": 11
|
| 1472 |
+
},
|
| 1473 |
+
{
|
| 1474 |
+
"type": "text",
|
| 1475 |
+
"text": "Cesar Laurent, Gabriel Pereyra, Phil ´ emon Brakel, Ying Zhang, and Yoshua Bengio. Batch normal- ´ ized recurrent neural networks. arXiv preprint arXiv:1510.01378, 2015. ",
|
| 1476 |
+
"bbox": [
|
| 1477 |
+
173,
|
| 1478 |
+
702,
|
| 1479 |
+
823,
|
| 1480 |
+
732
|
| 1481 |
+
],
|
| 1482 |
+
"page_idx": 11
|
| 1483 |
+
},
|
| 1484 |
+
{
|
| 1485 |
+
"type": "text",
|
| 1486 |
+
"text": "Yann LeCun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to ´ document recognition. Proceedings of the IEEE, 1998. ",
|
| 1487 |
+
"bbox": [
|
| 1488 |
+
171,
|
| 1489 |
+
741,
|
| 1490 |
+
823,
|
| 1491 |
+
771
|
| 1492 |
+
],
|
| 1493 |
+
"page_idx": 11
|
| 1494 |
+
},
|
| 1495 |
+
{
|
| 1496 |
+
"type": "text",
|
| 1497 |
+
"text": "Chen-Yu Lee, Saining Xie, Patrick W. Gallagher, Zhengyou Zhang, and Zhuowen Tu. Deeplysupervised nets. AISTATS, 2015. ",
|
| 1498 |
+
"bbox": [
|
| 1499 |
+
173,
|
| 1500 |
+
779,
|
| 1501 |
+
823,
|
| 1502 |
+
809
|
| 1503 |
+
],
|
| 1504 |
+
"page_idx": 11
|
| 1505 |
+
},
|
| 1506 |
+
{
|
| 1507 |
+
"type": "text",
|
| 1508 |
+
"text": "Chunyuan Li, Changyou Chen, David Carlson, and Lawrence Carin. Preconditioned stochastic gradient langevin dynamics for deep neural networks, 2016. ",
|
| 1509 |
+
"bbox": [
|
| 1510 |
+
169,
|
| 1511 |
+
818,
|
| 1512 |
+
823,
|
| 1513 |
+
847
|
| 1514 |
+
],
|
| 1515 |
+
"page_idx": 11
|
| 1516 |
+
},
|
| 1517 |
+
{
|
| 1518 |
+
"type": "text",
|
| 1519 |
+
"text": "Andrew L Maas, Awni Y Hannun, and Andrew Y Ng. Rectifier nonlinearities improve neural network acoustic models. ICML, 2013. ",
|
| 1520 |
+
"bbox": [
|
| 1521 |
+
173,
|
| 1522 |
+
856,
|
| 1523 |
+
821,
|
| 1524 |
+
886
|
| 1525 |
+
],
|
| 1526 |
+
"page_idx": 11
|
| 1527 |
+
},
|
| 1528 |
+
{
|
| 1529 |
+
"type": "text",
|
| 1530 |
+
"text": "Mitchell P Marcus, Mary Ann Marcinkiewicz, and Beatrice Santorini. Building a large annotated corpus of english: The penn treebank. Computational linguistics, 1993. ",
|
| 1531 |
+
"bbox": [
|
| 1532 |
+
174,
|
| 1533 |
+
895,
|
| 1534 |
+
820,
|
| 1535 |
+
924
|
| 1536 |
+
],
|
| 1537 |
+
"page_idx": 11
|
| 1538 |
+
},
|
| 1539 |
+
{
|
| 1540 |
+
"type": "text",
|
| 1541 |
+
"text": "James Martens and Roger Grosse. Optimizing neural networks with kronecker-factored approximate curvature. arXiv preprint arXiv:1503.05671, 2015. ",
|
| 1542 |
+
"bbox": [
|
| 1543 |
+
171,
|
| 1544 |
+
103,
|
| 1545 |
+
825,
|
| 1546 |
+
132
|
| 1547 |
+
],
|
| 1548 |
+
"page_idx": 12
|
| 1549 |
+
},
|
| 1550 |
+
{
|
| 1551 |
+
"type": "text",
|
| 1552 |
+
"text": "Hossein Mobahi. Training recurrent neural networks by diffusion, 2016. ",
|
| 1553 |
+
"bbox": [
|
| 1554 |
+
174,
|
| 1555 |
+
141,
|
| 1556 |
+
648,
|
| 1557 |
+
156
|
| 1558 |
+
],
|
| 1559 |
+
"page_idx": 12
|
| 1560 |
+
},
|
| 1561 |
+
{
|
| 1562 |
+
"type": "text",
|
| 1563 |
+
"text": "Alan F Murray and Peter J Edwards. Synaptic weight noise during mlp learning enhances faulttolerance, generalization and learning trajectory. ",
|
| 1564 |
+
"bbox": [
|
| 1565 |
+
173,
|
| 1566 |
+
166,
|
| 1567 |
+
823,
|
| 1568 |
+
195
|
| 1569 |
+
],
|
| 1570 |
+
"page_idx": 12
|
| 1571 |
+
},
|
| 1572 |
+
{
|
| 1573 |
+
"type": "text",
|
| 1574 |
+
"text": "Vinod Nair and Geoffrey Hinton. Rectified linear units improve Restricted Boltzmann Machines. In ICML, 2010. ",
|
| 1575 |
+
"bbox": [
|
| 1576 |
+
174,
|
| 1577 |
+
204,
|
| 1578 |
+
825,
|
| 1579 |
+
233
|
| 1580 |
+
],
|
| 1581 |
+
"page_idx": 12
|
| 1582 |
+
},
|
| 1583 |
+
{
|
| 1584 |
+
"type": "text",
|
| 1585 |
+
"text": "Radford M Neal. MCMC using Hamiltonian dynamics. Handbook of Markov Chain Monte Carlo, 2011. ",
|
| 1586 |
+
"bbox": [
|
| 1587 |
+
171,
|
| 1588 |
+
242,
|
| 1589 |
+
825,
|
| 1590 |
+
272
|
| 1591 |
+
],
|
| 1592 |
+
"page_idx": 12
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"type": "text",
|
| 1596 |
+
"text": "Arvind Neelakantan, Quoc V. Le, and Ilya Sutskever. Neural Programmer: Inducing latent programs with gradient descent. In ICLR, 2016. ",
|
| 1597 |
+
"bbox": [
|
| 1598 |
+
173,
|
| 1599 |
+
281,
|
| 1600 |
+
825,
|
| 1601 |
+
310
|
| 1602 |
+
],
|
| 1603 |
+
"page_idx": 12
|
| 1604 |
+
},
|
| 1605 |
+
{
|
| 1606 |
+
"type": "text",
|
| 1607 |
+
"text": "Razvan Pascanu, Tomas Mikolov, and Yoshua Bengio. On the difficulty of training recurrent neural networks. Proc. ICML, 2013. ",
|
| 1608 |
+
"bbox": [
|
| 1609 |
+
174,
|
| 1610 |
+
319,
|
| 1611 |
+
823,
|
| 1612 |
+
348
|
| 1613 |
+
],
|
| 1614 |
+
"page_idx": 12
|
| 1615 |
+
},
|
| 1616 |
+
{
|
| 1617 |
+
"type": "text",
|
| 1618 |
+
"text": "Sam Patterson and Yee Whye Teh. Stochastic gradient riemannian langevin dynamics on the probability simplex. In NIPS, 2013. ",
|
| 1619 |
+
"bbox": [
|
| 1620 |
+
174,
|
| 1621 |
+
357,
|
| 1622 |
+
821,
|
| 1623 |
+
387
|
| 1624 |
+
],
|
| 1625 |
+
"page_idx": 12
|
| 1626 |
+
},
|
| 1627 |
+
{
|
| 1628 |
+
"type": "text",
|
| 1629 |
+
"text": "Baolin Peng, Zhengdong Lu, Hang Li, and Kam-Fai Wong. Towards neural network-based reasoning. arXiv preprint arxiv:1508.05508, 2015. ",
|
| 1630 |
+
"bbox": [
|
| 1631 |
+
173,
|
| 1632 |
+
396,
|
| 1633 |
+
821,
|
| 1634 |
+
425
|
| 1635 |
+
],
|
| 1636 |
+
"page_idx": 12
|
| 1637 |
+
},
|
| 1638 |
+
{
|
| 1639 |
+
"type": "text",
|
| 1640 |
+
"text": "Boris Teodorovich Polyak. Some methods of speeding up the convergence of iteration methods. USSR Computational Mathematics and Mathematical Physics, 1964. ",
|
| 1641 |
+
"bbox": [
|
| 1642 |
+
173,
|
| 1643 |
+
434,
|
| 1644 |
+
821,
|
| 1645 |
+
464
|
| 1646 |
+
],
|
| 1647 |
+
"page_idx": 12
|
| 1648 |
+
},
|
| 1649 |
+
{
|
| 1650 |
+
"type": "text",
|
| 1651 |
+
"text": "Herbert Robbins and Sutton Monro. A stochastic approximation method. The annals of mathematical statistics, 1951. ",
|
| 1652 |
+
"bbox": [
|
| 1653 |
+
174,
|
| 1654 |
+
473,
|
| 1655 |
+
821,
|
| 1656 |
+
502
|
| 1657 |
+
],
|
| 1658 |
+
"page_idx": 12
|
| 1659 |
+
},
|
| 1660 |
+
{
|
| 1661 |
+
"type": "text",
|
| 1662 |
+
"text": "Tim Salimans and Diederik P Kingma. Weight normalization: A simple reparameterization to accelerate training of deep neural networks. 2016. ",
|
| 1663 |
+
"bbox": [
|
| 1664 |
+
173,
|
| 1665 |
+
511,
|
| 1666 |
+
821,
|
| 1667 |
+
540
|
| 1668 |
+
],
|
| 1669 |
+
"page_idx": 12
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"type": "text",
|
| 1673 |
+
"text": "Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. JMLR, 2014. ",
|
| 1674 |
+
"bbox": [
|
| 1675 |
+
176,
|
| 1676 |
+
549,
|
| 1677 |
+
821,
|
| 1678 |
+
579
|
| 1679 |
+
],
|
| 1680 |
+
"page_idx": 12
|
| 1681 |
+
},
|
| 1682 |
+
{
|
| 1683 |
+
"type": "text",
|
| 1684 |
+
"text": "Rupesh Kumar Srivastava, Klaus Greff, and Jurgen Schmidhuber. Training very deep networks. ¨ NIPS, 2015. ",
|
| 1685 |
+
"bbox": [
|
| 1686 |
+
173,
|
| 1687 |
+
588,
|
| 1688 |
+
823,
|
| 1689 |
+
617
|
| 1690 |
+
],
|
| 1691 |
+
"page_idx": 12
|
| 1692 |
+
},
|
| 1693 |
+
{
|
| 1694 |
+
"type": "text",
|
| 1695 |
+
"text": "Mark Steijvers. A recurrent network that performs a context-sensitive prediction task. In CogSci, 1996. ",
|
| 1696 |
+
"bbox": [
|
| 1697 |
+
171,
|
| 1698 |
+
626,
|
| 1699 |
+
825,
|
| 1700 |
+
656
|
| 1701 |
+
],
|
| 1702 |
+
"page_idx": 12
|
| 1703 |
+
},
|
| 1704 |
+
{
|
| 1705 |
+
"type": "text",
|
| 1706 |
+
"text": "Sainbayar Sukhbaatar, Arthur Szlam, Jason Weston, and Rob Fergus. End-to-end memory networks. In NIPS, 2015. ",
|
| 1707 |
+
"bbox": [
|
| 1708 |
+
173,
|
| 1709 |
+
664,
|
| 1710 |
+
823,
|
| 1711 |
+
694
|
| 1712 |
+
],
|
| 1713 |
+
"page_idx": 12
|
| 1714 |
+
},
|
| 1715 |
+
{
|
| 1716 |
+
"type": "text",
|
| 1717 |
+
"text": "David Sussillo. Random walks: Training very deep nonlinear feed-forward networks with smart initialization. CoRR, 2014. ",
|
| 1718 |
+
"bbox": [
|
| 1719 |
+
171,
|
| 1720 |
+
703,
|
| 1721 |
+
825,
|
| 1722 |
+
733
|
| 1723 |
+
],
|
| 1724 |
+
"page_idx": 12
|
| 1725 |
+
},
|
| 1726 |
+
{
|
| 1727 |
+
"type": "text",
|
| 1728 |
+
"text": "Ilya Sutskever, James Martens, George Dahl, and Geoffrey Hinton. On the importance of initialization and momentum in deep learning. In ICML, 2013. ",
|
| 1729 |
+
"bbox": [
|
| 1730 |
+
171,
|
| 1731 |
+
741,
|
| 1732 |
+
823,
|
| 1733 |
+
771
|
| 1734 |
+
],
|
| 1735 |
+
"page_idx": 12
|
| 1736 |
+
},
|
| 1737 |
+
{
|
| 1738 |
+
"type": "text",
|
| 1739 |
+
"text": "Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. Sequence to sequence learning with neural networks. In NIPS, 2014. ",
|
| 1740 |
+
"bbox": [
|
| 1741 |
+
173,
|
| 1742 |
+
780,
|
| 1743 |
+
823,
|
| 1744 |
+
809
|
| 1745 |
+
],
|
| 1746 |
+
"page_idx": 12
|
| 1747 |
+
},
|
| 1748 |
+
{
|
| 1749 |
+
"type": "text",
|
| 1750 |
+
"text": "Max Welling and Yee Whye Teh. Bayesian learning via stochastic gradient Langevin dynamics. In ICML, 2011. ",
|
| 1751 |
+
"bbox": [
|
| 1752 |
+
171,
|
| 1753 |
+
818,
|
| 1754 |
+
825,
|
| 1755 |
+
848
|
| 1756 |
+
],
|
| 1757 |
+
"page_idx": 12
|
| 1758 |
+
},
|
| 1759 |
+
{
|
| 1760 |
+
"type": "text",
|
| 1761 |
+
"text": "Jason Weston, Sumit Chopra, and Antoine Bordes. Memory networks. arXiv preprint arXiv:1410.3916, 2014. ",
|
| 1762 |
+
"bbox": [
|
| 1763 |
+
173,
|
| 1764 |
+
857,
|
| 1765 |
+
823,
|
| 1766 |
+
886
|
| 1767 |
+
],
|
| 1768 |
+
"page_idx": 12
|
| 1769 |
+
},
|
| 1770 |
+
{
|
| 1771 |
+
"type": "text",
|
| 1772 |
+
"text": "Jason Weston, Antoine Bordes, Sumit Chopra, and Tomas Mikolov. Towards AI-complete question answering: a set of prerequisite toy tasks. In ICML, 2015. ",
|
| 1773 |
+
"bbox": [
|
| 1774 |
+
173,
|
| 1775 |
+
895,
|
| 1776 |
+
821,
|
| 1777 |
+
924
|
| 1778 |
+
],
|
| 1779 |
+
"page_idx": 12
|
| 1780 |
+
},
|
| 1781 |
+
{
|
| 1782 |
+
"type": "text",
|
| 1783 |
+
"text": "Kaisheng Yao, Trevor Cohn, Katerina Vylomova, Kevin Duh, and Chris Dyer. Depth-gated recurrent neural networks. arXiv preprint arXiv:1508.03790, 2015. ",
|
| 1784 |
+
"bbox": [
|
| 1785 |
+
171,
|
| 1786 |
+
103,
|
| 1787 |
+
825,
|
| 1788 |
+
132
|
| 1789 |
+
],
|
| 1790 |
+
"page_idx": 13
|
| 1791 |
+
},
|
| 1792 |
+
{
|
| 1793 |
+
"type": "text",
|
| 1794 |
+
"text": "Wojciech Zaremba, Ilya Sutskever, and Oriol Vinyals. Recurrent neural network regularization. CoRR, 2014. ",
|
| 1795 |
+
"bbox": [
|
| 1796 |
+
174,
|
| 1797 |
+
140,
|
| 1798 |
+
821,
|
| 1799 |
+
170
|
| 1800 |
+
],
|
| 1801 |
+
"page_idx": 13
|
| 1802 |
+
},
|
| 1803 |
+
{
|
| 1804 |
+
"type": "text",
|
| 1805 |
+
"text": "Matthew D Zeiler. Adadelta: An adaptive learning rate method. arXiv preprint arXiv:1212.5701, 2012. ",
|
| 1806 |
+
"bbox": [
|
| 1807 |
+
173,
|
| 1808 |
+
179,
|
| 1809 |
+
825,
|
| 1810 |
+
208
|
| 1811 |
+
],
|
| 1812 |
+
"page_idx": 13
|
| 1813 |
+
}
|
| 1814 |
+
]
|
parse/train/rkjZ2Pcxe/rkjZ2Pcxe_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkjZ2Pcxe/rkjZ2Pcxe_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/ry2YOrcge/ry2YOrcge.md
ADDED
|
@@ -0,0 +1,270 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LEARNING A NATURAL LANGUAGE INTERFACE WITH NEURAL PROGRAMMER
|
| 2 |
+
|
| 3 |
+
Arvind Neelakantan∗ University of Massachusetts Amherst arvind@cs.umass.edu
|
| 4 |
+
|
| 5 |
+
Quoc V. Le Google Brain qvl@google.com
|
| 6 |
+
|
| 7 |
+
Mart´ın Abadi
|
| 8 |
+
Google Brain
|
| 9 |
+
abadi@google.com
|
| 10 |
+
|
| 11 |
+
# Andrew McCallum∗
|
| 12 |
+
|
| 13 |
+
University of Massachusetts Amherst mccallum@cs.umass.edu
|
| 14 |
+
|
| 15 |
+
Dario Amodei∗
|
| 16 |
+
OpenAI
|
| 17 |
+
damodei@openai.com
|
| 18 |
+
|
| 19 |
+
# ABSTRACT
|
| 20 |
+
|
| 21 |
+
Learning a natural language interface for database tables is a challenging task that involves deep language understanding and multi-step reasoning. The task is often approached by mapping natural language queries to logical forms or programs that provide the desired response when executed on the database. To our knowledge, this paper presents the first weakly supervised, end-to-end neural network model to induce such programs on a real-world dataset. We enhance the objective function of Neural Programmer, a neural network with built-in discrete operations, and apply it on WikiTableQuestions, a natural language question-answering dataset. The model is trained end-to-end with weak supervision of question-answer pairs, and does not require domain-specific grammars, rules, or annotations that are key elements in previous approaches to program induction. The main experimental result in this paper is that a single Neural Programmer model achieves $3 4 . 2 \%$ accuracy using only 10,000 examples with weak supervision. An ensemble of 15 models, with a trivial combination technique, achieves $3 7 . 7 \%$ accuracy, which is competitive to the current state-of-the-art accuracy of $3 7 . 1 \%$ obtained by a traditional natural language semantic parser.
|
| 22 |
+
|
| 23 |
+
# 1 BACKGROUND AND INTRODUCTION
|
| 24 |
+
|
| 25 |
+
Databases are a pervasive way to store and access knowledge. However, it is not straightforward for users to interact with databases since it often requires programming skills and knowledge about database schemas. Overcoming this difficulty by allowing users to communicate with databases via natural language is an active research area. The common approach to this task is by semantic parsing, which is the process of mapping natural language to symbolic representations of meaning. In this context, semantic parsing yields logical forms or programs that provide the desired response when executed on the databases (Zelle & Mooney, 1996). Semantic parsing is a challenging problem that involves deep language understanding and reasoning with discrete operations such as counting and row selection (Liang, 2016).
|
| 26 |
+
|
| 27 |
+
The first learning methods for semantic parsing require expensive annotation of question-program pairs (Zelle & Mooney, 1996; Zettlemoyer & Collins, 2005). This annotation process is no longer necessary in the current state-of-the-art semantic parsers that are trained using only question-answer pairs (Liang et al., 2011; Kwiatkowski et al., 2013; Krishnamurthy & Kollar, 2013; Pasupat & Liang, 2015). However, the performance of these methods still heavily depends on domain-specific grammar or pruning strategies to ease program search. For example, in a recent work on building semantic parsers for various domains, the authors hand-engineer a separate grammar for each domain (Wang et al., 2015).
|
| 28 |
+
|
| 29 |
+
Recently, many neural network models have been developed for program induction (Andreas et al., 2016; Jia & Liang, 2016; Reed & Freitas, 2016; Zaremba et al., 2016; Yin et al., 2015), despite the notorious difficulty of handling discrete operations in neural networks (Joulin & Mikolov, 2015; Kaiser & Sutskever, 2016). Most of these approaches rely on complete programs as supervision (Jia & Liang, 2016; Reed & Freitas, 2016) while others (Zaremba et al., 2016; Yin et al., 2015) have been tried only on synthetic tasks. The work that is most similar to ours is that of Andreas et al. (2016) on the dynamic neural module network. However, in their method, the neural network is employed only to search over a small set of candidate layouts provided by the syntactic parse of the question, and is trained using the REINFORCE algorithm (Williams, 1992). Hence, their method cannot recover from parser errors, and it is not trivial to adapt the parser to the task at hand. Additionally, all their modules or operations are parametrized by a neural network, so it is difficult to apply their method on tasks that require discrete arithmetic operations. Finally, their experiments concern a simpler dataset that requires fewer operations, and therefore a smaller search space, than WikiTableQuestions which we consider in our work. We discuss other related work in Section 4.
|
| 30 |
+
|
| 31 |
+

|
| 32 |
+
Figure 1: Neural Programmer is a neural network augmented with a set of discrete operations. The model runs for a fixed number of time steps, selecting an operation and a column from the table at every time step. The induced program transfers information across timesteps using the row selector variable while the output of the model is stored in the scalar answer and lookup answer variables.
|
| 33 |
+
|
| 34 |
+
Neural Programmer (Neelakantan et al., 2016) is a neural network augmented with a set of discrete operations. It produces both a program, made up of those operations, and the result of running the program against a given table. The operations make use of three variables: row selector, scalar answer, and lookup answer, which are updated at every timestep. lookup answer and scalar answer store answers while row selector is used to propagate information across time steps. As input, a model receives a question along with a table (Figure 1). The model runs for a fixed number of time steps, selecting an operation and a column from the table as the argument to the operation at each time step. During training, soft selection (Bahdanau et al., 2014) is performed so that the model can be trained end-to-end using backpropagation. This approach allows Neural Programmer to explore the search space with better sample complexity than hard selection with the REINFORCE algorithm (Williams, 1992) would provide. All the parameters of the model are learned from a weak supervision signal that consists of only the final answer; the underlying program, which consists of a sequence of operations and of selected columns, is latent.
|
| 35 |
+
|
| 36 |
+
In this work, we develop an approach to semantic parsing based on Neural Programmer. We show how to learn a natural language interface for answering questions using database tables, thus integrating differentiable operations that are typical of neural networks with the declarative knowledge contained in the tables and with discrete operations on tables and entries. For this purpose, we make several improvements and adjustments to Neural Programmer, in particular adapting its objective function to make it more broadly applicable.
|
| 37 |
+
|
| 38 |
+
In earlier work, Neural Programmer is applied only on a synthetic dataset. In that dataset, when the expected answer is an entry in the given table, its position is explicitly marked in the table. However, real-world datasets certainly do not include those markers, and lead to many ambiguities (e.g., (Pasupat & Liang, 2015)). In particular, when the answer is a number that occurs literally in the table, it is not known, a priori, whether the answer should be generated by an operation or selected from the table. Similarly, when the answer is a natural language phrase that occurs in multiple positions in the table, it is not known which entry (or entries) in the table is actually responsible for the answer. We extend Neural Programmer to handle the weaker supervision signal by backpropagating through decisions that concern how the answer is generated when there is an ambiguity.
|
| 39 |
+
|
| 40 |
+
Our main experimental results concern WikiTableQuestions (Pasupat & Liang, 2015), a real-world question-answering dataset on database tables, with only 10,000 examples for weak supervision. This dataset is particularly challenging because of its small size and the lack of strong supervision, and also because the tables provided at test time are never seen during training, so learning requires adaptation at test time to unseen column names. A state-of-the-art, traditional semantic parser that relies on pruning strategies to ease program search achieves $3 7 . 1 \%$ accuracy. Standard neural network models like sequence-to-sequence and pointer networks do not appear to be promising for this dataset, as confirmed in our experiments below, which yield single-digit accuracies. In comparison, a single Neural Programmer model using minimal text pre-processing, and trained end-to-end, achieves $3 4 . 2 \%$ accuracy. This surprising result is enabled primarily by the sample efficiency of Neural Programmer, by the enhanced objective function, and by reducing overfitting via strong regularization with dropout (Srivastava et al., 2014; Iyyer et al., 2015; Gal & Ghahramani, 2016) and weight decay. An ensemble of 15 models, even with a trivial combination technique, achieves $3 7 . 7 \%$ accuracy.
|
| 41 |
+
|
| 42 |
+
# 2 NEURAL PROGRAMMER
|
| 43 |
+
|
| 44 |
+
In this section we describe in greater detail the Neural Programmer model and the modifications we made to the model. Neural Programmer is a neural network augmented with a set of discrete operations. The model consists of four modules:
|
| 45 |
+
|
| 46 |
+
• Question RNN that processes the question and converts the tokens to a distributed representation. We use an LSTM network (Hochreiter & Schmidhuber, 1997) as the question RNN.
|
| 47 |
+
• A list of discrete operations such as counting and entry selection that are manually defined. Each operation is parameterized by a real-valued vector that is learned during training.
|
| 48 |
+
• A selector module that induces two probability distributions at every time step, one over the set of operations and another over the set of columns. The input to the selector is obtained by concatenating the last hidden state of the question RNN, the hidden state of the history RNN from the current timestep, and the attention vector obtained by performing soft attention (Bahdanau et al., 2014) on the question using the history vector. Following Neelakantan et al. (2016), we employ hard selection at test time. History RNN modeled by a simple RNN (Werbos, 1990) with tanh activations which remembers the previous operations and columns selected by the model. The input to the history RNN at each timestep is the result of concatenating the weighted representations of operations and columns with their corresponding probability distributions produced by the selector at the previous timestep.
|
| 49 |
+
|
| 50 |
+
A more detailed description of the basic model can be found in Neelakantan et al. (2016). The model runs for fixed total of $T$ timesteps. The parameters of the operations, selector module, question and history RNNs are all learned with backpropagation using a weak supervision signal that consists of the final answer. Below, we discuss several modifications to the model to make it more broadly applicable, and easier to train.
|
| 51 |
+
|
| 52 |
+
# 2.1 OPERATIONS
|
| 53 |
+
|
| 54 |
+
We use 15 operations in the model that were chosen to closely match the set of operations used in the baseline model (Pasupat & Liang, 2015). All the operations except select and most frequent entry operate only on the set of selected rows which is given by the row selector variable. Before the first timestep, all the rows in the table are set to be selected. The built-in operations are:
|
| 55 |
+
|
| 56 |
+
• count returns the number of selected rows in row selector.
|
| 57 |
+
• select and most frequent entry are operations which are computed only once for every question and output a boolean tensor with size same as the size of the input table. An entry in the output of the select operation is set to 1 if the entry matches some phrase in the question. The matched phrases in the question are anonymized to prevent overfitting. Similarly, for most frequent entry, it is set to 1 if the entry is the most frequently occurring one in its column.
|
| 58 |
+
• argmax, argmin, greater than, less than, greater than or equal to, less than or equal to are all operations that output a tensor with size same as the size of the input table.
|
| 59 |
+
• first, last, previous and next modify the row selector.
|
| 60 |
+
• print operation assigns row selector on the selected column of lookup answer.
|
| 61 |
+
• reset resets row selector to its initial value. This operation also serves as no-op when the model needs to induce programs whose complexity is less than $T$ .
|
| 62 |
+
|
| 63 |
+
All the operations are defined to work with soft selection so that the model can be trained with backpropagation. The operations along with their definitions are discussed in the Appendix.
|
| 64 |
+
|
| 65 |
+
# 2.2 OUTPUT AND ROW SELECTOR
|
| 66 |
+
|
| 67 |
+
Neural programmer makes use of three variables: row selector, scalar answer and lookup answer which are updated at every timestep. The variable lookup answer stores answers that are selected from the table while scalar answer stores numeric answers that are not provided in the table.1 The induced program transfers information across timesteps using the row selector variable which contains rows that are selected by the model.
|
| 68 |
+
|
| 69 |
+
Given an input table $\Pi$ , containing $M$ rows and $C$ columns ( $M$ and $C$ can vary across examples), the output variables at timestep $t$ are given by:
|
| 70 |
+
|
| 71 |
+
sc $\begin{array} { r l } & { \times a l a r \ a n s w e r _ { t } = \alpha _ { t } ^ { o p } ( c o u n t ) o u t p u t _ { t } ( c o u n t ) , } \\ & { o k u p \ a n s w e r _ { t } [ i ] [ j ] = \alpha _ { t } ^ { c o l } ( j ) \alpha _ { t } ^ { o p } ( p r i n t ) r o w \ s e l e c t _ { t - t } [ i ] , \forall ( i , j ) i = 1 , 2 , . . . , M , j = 1 , 2 , . . . , C } \end{array}$ lo where $\alpha _ { t } ^ { o p } ( o p )$ and $\alpha _ { t } ^ { c o l } ( j )$ are the probabilities assigned by the selector to operation $o p$ and column $j$ at timestep $t$ respectively and $o u t p u t _ { t } ( c o u n t )$ is the output of the count operation at timestep $t$ . The row selector variable at timestep $t$ is obtained by taking the weighted average of the outputs of the remaining operations and is discussed in the Appendix. lookup answerT $[ i ] [ j ]$ is the probability that the element $( i , j )$ in the input table is in the final answer predicted by the model.
|
| 72 |
+
|
| 73 |
+
# 2.3 TRAINING OBJECTIVE
|
| 74 |
+
|
| 75 |
+
We modify the training objective of Neural Programmer to handle the supervision signal available in real-world settings. In previous work, the position of the answers are explicitly marked in the table when the answer is an entry from the table. However, as discussed in Section 1, in real-world datasets (e.g., (Pasupat & Liang, 2015)) the answer is simply written down introducing two kinds of ambiguities. First, when the answer is a number and if the number is in the table, it is not known whether the loss should be computed using the scalar answer variable or the lookup answer variable. Second, when the answer is a natural language phrase and if the phrase occurs in multiple positions in the table, we again do not know which entry (or entries) in the table is actually responsible for generating the answer. We extend Neural Programmer to handle this weaker supervision signal during training by computing the loss only on the prediction that is closest to the desired response.
|
| 76 |
+
|
| 77 |
+
For scalar answers we compute the square loss:
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
L _ { s c a l a r } ( s c a l a r ~ a n s w e r _ { T } , y ) = \frac { 1 } { 2 } ( s c a l a r ~ a n s w e r _ { T } - y ) ^ { 2 }
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
where $y$ is the ground truth answer. We divide $L _ { s c a l a r }$ by the number of rows in the input table and do not backpropagate on examples for which the loss is greater than a threshold since it leads to instabilities in training.
|
| 84 |
+
|
| 85 |
+
When the answer is a list of items $y \ = \ ( a _ { 1 } , a _ { 2 } , . . . , a _ { N } )$ , for each element in the list $( a _ { i } , i { \ = }$ $1 , 2 , \ldots , N )$ we compute all the entries in the table that match that element, given by $S _ { i } ~ =$ $\{ ( r , c ) , \forall ( r , c ) \Pi [ r ] [ { \bar { c } } ] = a _ { i } \}$ . We tackle the ambiguity introduced when an answer item occurs at multiple entries in the table by computing the loss only on the entry which is assigned the highest probability by the model. We construct $g \in \{ 0 , 1 \} ^ { M \times C }$ , where $g [ i , j ]$ indicates whether the element $( i , j )$ in the input table is part of the output. We compute log-loss for each entry and the final loss is given by:
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\begin{array} { l } { { \displaystyle { \cal L } _ { l o o k u p } ( l o o k u p ~ a n s w e r _ { T } , y ) = \sum _ { i = 1 } ^ { N } m i n _ { ( r , c ) \in S _ { i } } ( - \log ( l o o k u p ~ a n s w e r _ { T } [ r , c ] ) ) } \ ~ } \\ { { \displaystyle ~ - \ \frac { 1 } { M C } \sum _ { i = 1 } ^ { M } \sum _ { j = 1 } ^ { C } [ g [ i , j ] ~ = = \ 0 ] \log ( 1 - l o o k u p ~ a n s w e r _ { T } [ i , j ] ) } } \end{array}
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
where $[ c o n d ]$ is 1 when cond is True, and 0 otherwise.
|
| 92 |
+
|
| 93 |
+
We deal with the ambiguity that occurs when the ground truth is a number and if the number also occurs in the table, by computing the final loss as the soft minimum of $L _ { s c a l a r }$ and $L _ { l o o k u p }$ . Otherwise, the loss for an example is $L _ { s c a l a r }$ when the ground truth is a number and $L _ { l o o k u p }$ when the ground truth matches some entries in the table. The two loss functions $L _ { s c a l a r }$ and $L _ { l o o k u p }$ are in different scales, so we multiply $L _ { l o o k u p }$ by a constant factor which we set to 50.0 after a small exploration in our experiments.
|
| 94 |
+
|
| 95 |
+
Since we employ hard selection at test time, only one among scalar answer and lookup answer is modified at the last timestep. We use the variable that is set at the last timestep as the final output of the model.
|
| 96 |
+
|
| 97 |
+
# 3 EXPERIMENTS
|
| 98 |
+
|
| 99 |
+
We apply Neural Programmer on the WikiTableQuestions dataset (Pasupat & Liang, 2015) and compare it to different non-neural baselines including a natural language semantic parser developed by Pasupat & Liang (2015). Further, we also report results from training the sequence-tosequence model (Sutskever et al., 2014) and a modified version of the pointer networks (Vinyals et al., 2015). Our model is implemented in TensorFlow (Abadi et al., 2016) and the model takes approximately a day to train on a single Tesla K80 GPU. We use double-precision format to store the model parameters since the gradients become undefined values in single-precision format. Our code is available at https://github.com/tensorflow/models/tree/master/neural_ programmer.
|
| 100 |
+
|
| 101 |
+
# 3.1 DATA
|
| 102 |
+
|
| 103 |
+
We use the train, development, and test split given by Pasupat & Liang (2015). The dataset contains 11321, 2831, and 4344 examples for training, development, and testing respectively. We use their tokenization, number and date pre-processing. There are examples with answers that are neither number answers nor phrases selected from the table. We ignore these questions during training but the model is penalized during evaluation following Pasupat & Liang (2015). The tables provided in the test set are unseen at training, hence requiring the model to adapt to unseen column names at test time. We train only on examples for which the provided table has less than 100 rows since we run out of GPU memory otherwise, but consider all examples at test time.
|
| 104 |
+
|
| 105 |
+
Table 1: Performance of Neural Programmer compared to baselines from (Pasupat & Liang, 2015). The performance of an ensemble of 15 models is competitive to the current state-of-the-art natural language semantic parser.
|
| 106 |
+
|
| 107 |
+
<table><tr><td rowspan=1 colspan=1>Method</td><td rowspan=1 colspan=1>Dev Accuracy</td><td rowspan=1 colspan=1>Test Accuracy</td></tr><tr><td rowspan=1 colspan=3>Baselines from Pasupat & Liang (2015)</td></tr><tr><td rowspan=1 colspan=1>InformationRetrieval System</td><td rowspan=1 colspan=1>13.4</td><td rowspan=1 colspan=1>12.7</td></tr><tr><td rowspan=1 colspan=1>Simple Semantic Parser</td><td rowspan=1 colspan=1>23.6</td><td rowspan=1 colspan=1>24.3</td></tr><tr><td rowspan=1 colspan=1>Semantic Parser</td><td rowspan=1 colspan=1>37.0</td><td rowspan=1 colspan=1>37.1</td></tr><tr><td rowspan=1 colspan=3>Neural Programmer</td></tr><tr><td rowspan=1 colspan=1>Neural Programmer</td><td rowspan=1 colspan=1>34.1</td><td rowspan=1 colspan=1>34.2</td></tr><tr><td rowspan=1 colspan=1>Ensemble of 15 Neural Programmer models</td><td rowspan=1 colspan=1>37.5</td><td rowspan=1 colspan=1>37.7</td></tr><tr><td rowspan=1 colspan=1>Oracle Score with 15 Neural Programmer models</td><td rowspan=1 colspan=1>50.5</td><td rowspan=1 colspan=1>1</td></tr></table>
|
| 108 |
+
|
| 109 |
+
# 3.2 TRAINING DETAILS
|
| 110 |
+
|
| 111 |
+
We use $T = 4$ timesteps in our experiments. Words and operations are represented as 256 dimensional vectors, and the hidden vectors of the question and the history RNN are also 256 dimensional. The parameters are initialized uniformly randomly within the range [-0.1, 0.1]. We train the model using the Adam optimizer (Kingma & Ba, 2014) with mini-batches of size 20. The $\epsilon$ hyperparameter in Adam is set to 1e-6 while others are set to the default values. Since the training set is small compared to other datasets in which neural network models are usually applied, we rely on strong regularization:
|
| 112 |
+
|
| 113 |
+
• We clip the gradients to norm 1 and employ early-stopping.
|
| 114 |
+
• The occurrences of words that appear less than 10 times in the training set are replaced by a single unknown word token.
|
| 115 |
+
• We add a weight decay penalty with strength 0.0001.
|
| 116 |
+
• We use dropout with a keep probability of 0.8 on input and output vectors of the RNN, and selector, operation and column name representations (Srivastava et al., 2014). We use dropout with keep probability of 0.9 on the recurrent connections of the question RNN and history RNN using the technique from Gal & Ghahramani (2016). We use word-dropout (Iyyer et al., 2015) with keep probability of 0.9. Here, words in the question are randomly replaced with the unknown word token while training.
|
| 117 |
+
|
| 118 |
+
We tune the dropout rates, regularization strength, and the $\epsilon$ hyperparameter using grid search on the development data, we fix the other hyperparameters after a small exploration during initial experiments.
|
| 119 |
+
|
| 120 |
+
# 3.3 RESULTS
|
| 121 |
+
|
| 122 |
+
Table 1 shows the performance of our model in comparison to baselines from Pasupat & Liang (2015). The best result from Neural Programmer is achieved by an ensemble of 15 models. The only difference among these models is that the parameters of each model is initialized with a different random seed. We combine the models by averaging the predicted softmax distributions of the models at every timestep. While it is generally believed that neural network models require a large number of training examples compared to simpler linear models to get good performance, our model
|
| 123 |
+
|
| 124 |
+
<table><tr><td rowspan=1 colspan=1>Method</td><td rowspan=1 colspan=1>Dev Accuracy</td></tr><tr><td rowspan=1 colspan=1>NeuralProgrammer</td><td rowspan=1 colspan=1>34.1</td></tr><tr><td rowspan=1 colspan=1>NeuralProgrammer-anonymization</td><td rowspan=1 colspan=1>33.7</td></tr><tr><td rowspan=1 colspan=1>Neural Programmer - match feature</td><td rowspan=1 colspan=1>31.1</td></tr><tr><td rowspan=1 colspan=1>Neural Programmer - {dropout,weight decay}</td><td rowspan=1 colspan=1>30.3</td></tr></table>
|
| 125 |
+
|
| 126 |
+
Table 2: Model ablation studies. We find that dropout and weight decay, along with the boolean feature indicating a matched table entry for column selection, have a significant effect on the performance of the model.
|
| 127 |
+
|
| 128 |
+
achieves competitive performance on this small dataset containing only 10,000 examples with weak supervision.
|
| 129 |
+
|
| 130 |
+
We did not get better results either by using pre-trained word vectors (Mikolov et al., 2013) or by pre-training the question RNN with a language modeling objective (Dai & Le, 2015). A possible explanation is that the word vectors obtained from unsupervised learning may not be suitable to the task under consideration. For example, the learned representations of words like maximum and minimum from unsupervised learning are usually close to each other but for our task it is counterproductive. We consider replacing soft selection with hard selection and training the model with the REINFORCE algorithm (Williams, 1992). The model fails to learn in this experiment, probably because the model has to search over millions of symbolic programs for every input question making it highly unlikely to find a program that gives a reward. Hence, the parameters of the model are not updated frequently enough.
|
| 131 |
+
|
| 132 |
+
# 3.3.1 NEURAL NETWORK BASELINES
|
| 133 |
+
|
| 134 |
+
To understand the difficulty of the task for neural network models, we experiment with two neural network baselines: the sequence-to-sequence model (Sutskever et al., 2014) and a modified version of the pointer networks (Vinyals et al., 2015). The input to the sequence-to-sequence model is a concatenation of the table and the question, and the decoder produces the output one token at a time. We consider only examples whose input length is less than 400 to make the running time reasonable. The resulting dataset has 8, 857 and 1, 623 training and development examples respectively. The accuracy of the best model on this development set after hyperparameter tuning is only $8 . 9 \%$ . Next, we experiment with pointer networks to select entries in the table as the final answer. We modify pointer networks to have two-attention heads: one to select the column and the other to select entries within a column. Additionally, the model performs multiple pondering steps on the table before returning the final answer. We train this model only on lookup questions, since the model does not have a decoder to generate answers. We consider only examples whose tables have less than 100 rows resulting in training and development set consisting of 7, 534 and 1, 829 examples respectively. The accuracy of the best model on this development set after hyperparameter tuning is only $4 . 0 \dot { \% }$ . These results confirm our intuition that discrete operations are hard to learn for neural networks particularly with small datasets in real-world settings.
|
| 135 |
+
|
| 136 |
+
# 3.4 ANALYSIS
|
| 137 |
+
|
| 138 |
+
# 3.4.1 MODEL ABLATION
|
| 139 |
+
|
| 140 |
+
Table 2 shows the impact of different model design choices on the final performance. While anonymizing phrases in the question that match some table entry seems to have a small positive effect, regularization has a much larger effect on the performance. Column selection is performed in Neelakantan et al. (2016) using only the name of a column; however, this selection procedure is insufficient in real-world settings. For example the column selected in question 3 in Table 3 does not have a corresponding phrase in the question. Hence, to select a column we additionally use a boolean feature that indicates whether an entry in that column matches some phrase in the question. Table 2 shows that the addition of this boolean feature has a significant effect on performance.
|
| 141 |
+
|
| 142 |
+
<table><tr><td rowspan=1 colspan=1>ID</td><td rowspan=1 colspan=1>Question</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Step 1</td><td rowspan=1 colspan=1>Step 2</td><td rowspan=1 colspan=1>Step 3</td><td rowspan=1 colspan=1>Step 4</td></tr><tr><td rowspan=2 colspan=1>1</td><td rowspan=2 colspan=1>what is the total number ofteams?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>count</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>-</td></tr><tr><td rowspan=2 colspan=1>2</td><td rowspan=2 colspan=1>how many games had morethan 1,5oO in attendance?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>>=</td><td rowspan=1 colspan=1>count</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>=</td><td rowspan=1 colspan=1>attendance</td><td rowspan=1 colspan=1>-</td></tr><tr><td rowspan=1 colspan=1>3</td><td rowspan=2 colspan=1>what is the total numberof runner-ups listed on thechart?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>=</td><td rowspan=1 colspan=1>select</td><td rowspan=1 colspan=1>count</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>outcome</td><td rowspan=1 colspan=1>1</td></tr><tr><td rowspan=2 colspan=1>4</td><td rowspan=2 colspan=1>which year held the mostcompetitions?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>mfe</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>year</td><td rowspan=1 colspan=1>year</td></tr><tr><td rowspan=2 colspan=1>5</td><td rowspan=2 colspan=1>what opponent is listed laston the table?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>last</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>last</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>opponent</td></tr><tr><td rowspan=2 colspan=1>6</td><td rowspan=2 colspan=1>which section is longest??</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>argmax</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>kilometers</td><td rowspan=1 colspan=1>name</td></tr><tr><td rowspan=2 colspan=1>7</td><td rowspan=2 colspan=1>which engine(s) has the leastamount of power?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>argmin</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>power</td><td rowspan=1 colspan=1>engine</td></tr><tr><td rowspan=2 colspan=1>8</td><td rowspan=2 colspan=1>whatwas claudia roll'stime?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>select</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>swimmer</td><td rowspan=1 colspan=1>time</td></tr><tr><td rowspan=2 colspan=1>9</td><td rowspan=2 colspan=1>who had more silver medals,cuba or brazil?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>argmax</td><td rowspan=1 colspan=1>select</td><td rowspan=1 colspan=1>argmax</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>nation</td><td rowspan=1 colspan=1>nation</td><td rowspan=1 colspan=1>silver</td><td rowspan=1 colspan=1>nation</td></tr><tr><td rowspan=2 colspan=1>10</td><td rowspan=2 colspan=1>who was the next appointeddirector after lee p. brown?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>select</td><td rowspan=1 colspan=1>next</td><td rowspan=1 colspan=1>last</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>name</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>name</td></tr><tr><td rowspan=2 colspan=1>11</td><td rowspan=2 colspan=1>what team is listed previousto belgium?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>select</td><td rowspan=1 colspan=1>previous</td><td rowspan=1 colspan=1>first</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>team</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>team</td></tr></table>
|
| 143 |
+
|
| 144 |
+
Table 3: A few examples of programs induced by Neural Programmer that generate the correct answer in the development set. mfe is abbreviation for the operation most frequent entry. The model runs for 4 timesteps selecting an operation and a column at every step. The model employs hard selection during evaluation. The column name is displayed in the table only when the operation picked at that step takes in a column as input while the operation is displayed only when it is other than the reset operation. Programs that choose count as the final operation produce a number as the final answer while programs that select print as the final operation produce entries selected from the table as the final answer.
|
| 145 |
+
|
| 146 |
+
<table><tr><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>Program in Table 3Amount (%)</td><td rowspan=1 colspan=1>Amount (%)</td></tr><tr><td rowspan=1 colspan=3>Scalar Answer</td></tr><tr><td rowspan=1 colspan=1>Only Count</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>6.5</td></tr><tr><td rowspan=1 colspan=1>Comparison+ Count</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>2.1</td></tr><tr><td rowspan=1 colspan=1>Select + Count</td><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>22.1</td></tr><tr><td rowspan=1 colspan=1>Scalar Answer</td><td rowspan=1 colspan=1>1,2,3</td><td rowspan=1 colspan=1>30.7</td></tr><tr><td rowspan=1 colspan=3>Lookup Answer</td></tr><tr><td rowspan=1 colspan=1>Most Frequent Entry + Print</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>1.7</td></tr><tr><td rowspan=1 colspan=1>First/Last+Print</td><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>9.5</td></tr><tr><td rowspan=1 colspan=1>Superlative+Print</td><td rowspan=1 colspan=1>6.7</td><td rowspan=1 colspan=1>13.5</td></tr><tr><td rowspan=1 colspan=1>Select+Print</td><td rowspan=1 colspan=1>8</td><td rowspan=1 colspan=1>17.5</td></tr><tr><td rowspan=1 colspan=1>Select + {first, last, previous, next, superlative} + Print</td><td rowspan=1 colspan=1>9-11</td><td rowspan=1 colspan=1>27.1</td></tr><tr><td rowspan=1 colspan=1>Lookup Answer</td><td rowspan=1 colspan=1>4-11</td><td rowspan=1 colspan=1>69.3</td></tr></table>
|
| 147 |
+
|
| 148 |
+
Table 4: Statistics of the different sequence of operations among the examples answered correctly by the model in the development set. For each sequence of operations in the table, we also point to corresponding example programs in Table 3. Superlative operations include argmax and argmin, while comparison operations include greater than, less than, greater than or equal to and less than or equal to. The model induces a program that results in a scalar answer $3 0 . 7 \%$ of the time while the induced program is a table lookup for the remaining questions. print and select are the two most common operations used $6 9 . 3 \%$ and $6 6 . 7 \%$ of the time respectively.
|
| 149 |
+
|
| 150 |
+
# 3.4.2 INDUCED PROGRAMS
|
| 151 |
+
|
| 152 |
+
Table 3 shows few examples of programs induced by Neural Programmer that yield the correct answer in the development set. The programs given in Table 3 show a few characteristics of the learned model. First, our analysis indicates that the model can adapt to unseen column names at test time. For example in Question 3, the word outcome occurs only 8 times in the training set and is replaced with the unknown word token. Second, the model does not always induce the most efficient (with respect to number of operations other than the reset operation that are picked) program to solve a task. The last 3 questions in the table can be solved using simpler programs. Finally, the model does not always induce the correct program to get the ground truth answer. For example, the last 2 programs will not result in the correct response for all input database tables. The programs would produce the correct response only when the select operation matches one entry in the table.
|
| 153 |
+
|
| 154 |
+
# 3.4.3 CONTRIBUTION OF DIFFERENT OPERATIONS
|
| 155 |
+
|
| 156 |
+
Table 4 shows the contribution of the different operations. The model induces a program that results in a scalar answer $3 0 . 7 \%$ of the time while the induced program is a table lookup for the remaining questions. The two most commonly used operations by the model are print and select.
|
| 157 |
+
|
| 158 |
+
# 3.4.4 ERROR ANALYSIS
|
| 159 |
+
|
| 160 |
+
To conclude this section, we suggest ideas to potentially improve the performance of the model. First, the oracle performance with 15 Neural Programmer models is $5 0 . 5 \%$ on the development set while averaging achieves only $3 7 . 5 \%$ implying that there is still room for improvement. Next, the accuracy of a single model on the training set is $5 3 \%$ which is about $20 \%$ higher than the accuracy in both the development set and the test set. This difference in performance indicates that the model suffers from significant overfitting even after employing strong regularization. It also suggests that the performance of the model could be greatly improved by obtaining more training data. Nevertheless, there are limits to the performance improvements we may reasonably expect: in particular, as shown in previous work (Pasupat & Liang, 2015), $21 \%$ of questions on a random set of 200 examples in the considered dataset are not answerable because of various issues such as annotation errors and tables requiring advanced normalization.
|
| 161 |
+
|
| 162 |
+
# 4 OTHER RELATED WORK
|
| 163 |
+
|
| 164 |
+
While we discuss in detail various semantic parsing and neural program induction techniques in Section 1, here we briefly describe other relevant work. Recently, Kocisky et al. (2016) develop a semi-supervised semantic parsing method that uses question-program pairs as supervision. Concurrently to our work, Liang et al. (2016) propose neural symbolic machine, a model very similar to Neural Programmer but trained using the REINFORCE algorithm (Williams, 1992). They use only 2 discrete operations and run for a total of 3 timesteps, hence inducing programs that are much simpler than ours. Neural networks have also been applied on question-answering datasets that do not require much arithmetic reasoning (Bordes et al., 2014; Iyyer et al., 2014; Sukhbaatar et al., 2015; Peng et al., 2015; Hermann et al., 2015; Kumar et al., 2016). Wang & Jiang (2016) use a neural network model to get state-of-the-art results on a reading comprehension task (Rajpurkar et al., 2016).
|
| 165 |
+
|
| 166 |
+
# 5 CONCLUSION
|
| 167 |
+
|
| 168 |
+
In this paper, we enhance Neural Programmer to work with weaker supervision signals to make it more broadly applicable. Soft selection during training enables the model to actively explore the space of programs by backpropagation with superior sample complexity. In our experiments, we show that the model achieves performance comparable to a state-of-the-art traditional semantic parser even though the training set contains only 10,000 examples. To our knowledge, this is the first instance of a weakly supervised, end-to-end neural network model that induces programs on a real-world dataset.
|
| 169 |
+
|
| 170 |
+
Acknowledgements We are grateful to Panupong Pasupat for answering numerous questions about the dataset, and providing pre-processed version of the dataset and the output of the semantic parser. We thank David Belanger, Samy Bengio, Greg Corrado, Andrew Dai, Jeff Dean, Nando de Freitas, Shixiang Gu, Navdeep Jaitly, Rafal Jozefowicz, Ashish Vaswani, Luke Vilnis, Yuan Yu and Barret Zoph for their suggestions and the Google Brain team for the support. Arvind Neelakantan is supported by a Google PhD fellowship in machine learning.
|
| 171 |
+
|
| 172 |
+
# REFERENCES
|
| 173 |
+
|
| 174 |
+
Mart´ın Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Gregory S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian J. Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafal Jozefowicz, Lukasz ´ Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mane, Rajat Monga, Sherry Moore, Derek Gor- ´ don Murray, Chris Olah, Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul A. Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda B. Viegas, Oriol Vinyals, ´ Pete Warden, Martin Wattenberg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. Tensorflow: Large-scale machine learning on heterogeneous distributed systems. ArXiv, 2016.
|
| 175 |
+
|
| 176 |
+
Jacob Andreas, Marcus Rohrbach, Trevor Darrell, and Dan Klein. Learning to compose neural networks for question answering. NAACL, 2016.
|
| 177 |
+
|
| 178 |
+
Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. ICLR, 2014.
|
| 179 |
+
|
| 180 |
+
Antoine Bordes, Sumit Chopra, and Jason Weston. Question answering with subgraph embeddings. EMNLP, 2014.
|
| 181 |
+
|
| 182 |
+
Andrew M Dai and Quoc V Le. Semi-supervised sequence learning. NIPS, 2015.
|
| 183 |
+
|
| 184 |
+
Yarin Gal and Zoubin Ghahramani. A theoretically grounded application of dropout in recurrent neural networks. NIPS, 2016.
|
| 185 |
+
|
| 186 |
+
Karl Moritz Hermann, Tomas Kocisk ´ y, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa ´ Suleyman, and Phil Blunsom. Teaching machines to read and comprehend. NIPS, 2015.
|
| 187 |
+
|
| 188 |
+
Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural Computation, 1997.
|
| 189 |
+
|
| 190 |
+
Mohit Iyyer, Jordan L. Boyd-Graber, Leonardo Max Batista Claudino, Richard Socher, and Hal Daume III. A neural network for factoid question answering over paragraphs. ´ EMNLP, 2014.
|
| 191 |
+
|
| 192 |
+
Mohit Iyyer, Varun Manjunatha, Jordan Boyd-Graber, and Hal Daume III. Deep unordered compo- ´ sition rivals syntactic methods for text classification. ACL, 2015.
|
| 193 |
+
|
| 194 |
+
Robin Jia and Percy Liang. Data recombination for neural semantic parsing. ACL, 2016.
|
| 195 |
+
|
| 196 |
+
Armand Joulin and Tomas Mikolov. Inferring algorithmic patterns with stack-augmented recurrent nets. NIPS, 2015.
|
| 197 |
+
|
| 198 |
+
Lukasz Kaiser and Ilya Sutskever. Neural gpus learn algorithms. ICLR, 2016.
|
| 199 |
+
|
| 200 |
+
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. ICLR, 2014.
|
| 201 |
+
|
| 202 |
+
Tomas Kocisky, Gabor Melis, Edward Grefenstette, Chris Dyer, Wang Ling, Phil Blunsom, and Karl Moritz Hermann. Semantic parsing with semi-supervised sequential autoencoders. ArXiv, 2016.
|
| 203 |
+
|
| 204 |
+
Jayant Krishnamurthy and Thomas Kollar. Jointly learning to parse and perceive: Connecting natural language to the physical world. TACL, 2013.
|
| 205 |
+
|
| 206 |
+
Ankit Kumar, Ozan Irsoy, Jonathan Su, James Bradbury, Robert English, Brian Pierce, Peter Ondruska, Ishaan Gulrajani, and Richard Socher. Ask me anything: Dynamic memory networks for natural language processing. ICML, 2016.
|
| 207 |
+
|
| 208 |
+
Tom Kwiatkowski, Eunsol Choi, Yoav Artzi, and Luke Zettlemoyer. Scaling semantic parsers with on-the-fly ontology matching. EMNLP, 2013.
|
| 209 |
+
|
| 210 |
+
Chen Liang, Jonathan Berant, Quoc Le, Kenneth Forbus, and Ni Lao. Neural symbolic machines: Learning semantic parsers on freebase with weak supervision. NAMPI Workshop, NIPS, 2016.
|
| 211 |
+
|
| 212 |
+
Percy Liang. Learning executable semantic parsers for natural language understanding. ACM, 2016.
|
| 213 |
+
|
| 214 |
+
Percy Liang, Michael I. Jordan, and Dan Klein. Learning dependency-based compositional semantics. ACL, 2011.
|
| 215 |
+
|
| 216 |
+
Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. ArXiv, 2013.
|
| 217 |
+
|
| 218 |
+
Arvind Neelakantan, Quoc V. Le, and Ilya Sutskever. Neural programmer: Neural programmer: Inducing latent programs with gradient descent. ICLR, 2016.
|
| 219 |
+
|
| 220 |
+
Panupong Pasupat and Percy Liang. Compositional semantic parsing on semi-structured tables. ACL, 2015.
|
| 221 |
+
|
| 222 |
+
Baolin Peng, Zhengdong Lu, Hang Li, and Kam-Fai Wong. Towards neural network-based reasoning. ArXiv, 2015.
|
| 223 |
+
|
| 224 |
+
Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. Squad: 100, $0 0 0 +$ questions for machine comprehension of text. ArXiv, 2016.
|
| 225 |
+
|
| 226 |
+
Scott Reed and Nando De Freitas. Neural programmer-interpreters. ICLR, 2016.
|
| 227 |
+
|
| 228 |
+
Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. JMLR, 2014.
|
| 229 |
+
|
| 230 |
+
Sainbayar Sukhbaatar, Arthur Szlam, Jason Weston, and Rob Fergus. End-to-end memory networks. NIPS, 2015.
|
| 231 |
+
|
| 232 |
+
Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. Sequence to sequence learning with neural networks. NIPS, 2014.
|
| 233 |
+
|
| 234 |
+
Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. Pointer networks. NIPS, 2015.
|
| 235 |
+
|
| 236 |
+
Shuohang Wang and Jing Jiang. Machine comprehension using match-lstm and answer pointer. ArXiv, 2016.
|
| 237 |
+
|
| 238 |
+
Yushi Wang, Jonathan Berant, and Percy Liang. Building a semantic parser overnight. ACL, 2015.
|
| 239 |
+
|
| 240 |
+
P. Werbos. Backpropagation through time: what does it do and how to do it. Proceedings of IEEE, 1990.
|
| 241 |
+
|
| 242 |
+
Ronald Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 1992.
|
| 243 |
+
|
| 244 |
+
Pengcheng Yin, Zhengdong Lu, Hang Li, and Ben Kao. Neural enquirer: Learning to query tables with natural language. ArXiv, 2015.
|
| 245 |
+
|
| 246 |
+
Wojciech Zaremba, Tomas Mikolov, Armand Joulin, and Rob Fergus. Learning simple algorithms from examples. ICML, 2016.
|
| 247 |
+
|
| 248 |
+
John M. Zelle and Raymond J. Mooney. Learning to parse database queries using inductive logic programming. AAAI/IAAI, 1996.
|
| 249 |
+
|
| 250 |
+
Luke S. Zettlemoyer and Michael Collins. Learning to map sentences to logical form: Structured classification with probabilistic categorial grammars. UAI, 2005.
|
| 251 |
+
|
| 252 |
+
<table><tr><td rowspan=1 colspan=1>Type</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=3>Definition</td></tr><tr><td rowspan=1 colspan=1>Aggregate</td><td rowspan=1 colspan=1>count</td><td rowspan=1 colspan=3>Mcountt =∑ row_selectt-1[i]i=1</td></tr><tr><td rowspan=2 colspan=1>Superlative</td><td rowspan=1 colspan=1>argmax</td><td rowspan=1 colspan=3>maxt[i][j]=max(O.0,row_selectt-1[i]-C([[[i][]]<I[k][j]] × row_selectt-1[k])),i=1,...,M,j=1,...,C</td></tr><tr><td rowspan=1 colspan=1>argmin</td><td rowspan=1 colspan=3>mint[i][j]=max(O.0,row_selectt-1[i]-M([[i][j] > I[k][j]] × row_select-1[k])),i=1,...,M,j =1,...,C</td></tr><tr><td rowspan=4 colspan=1>Comparison</td><td rowspan=1 colspan=1>></td><td rowspan=1 colspan=1>gi][i]=II</td><td rowspan=1 colspan=1>illi</td><td rowspan=1 colspan=1>g[i][j]= I[i][] > pivotg,V(i,j),i= 1,...,M,j = 1,...,C</td></tr><tr><td rowspan=1 colspan=1><</td><td rowspan=1 colspan=1>[i][=II</td><td rowspan=1 colspan=1>i]i</td><td rowspan=1 colspan=1>li][j]=I[i][]< pivot,V(i,j),i =1,...,M,j=1,...,C</td></tr><tr><td rowspan=1 colspan=1>M</td><td rowspan=1 colspan=1>geii=II</td><td rowspan=1 colspan=1>il</td><td rowspan=1 colspan=1>geli]l]= I[𝑖]j]≥ pivotge,∀(i,j),i = 1,...,M,j = 1,...,C</td></tr><tr><td rowspan=1 colspan=1>≤</td><td rowspan=1 colspan=2>leij=Iij</td><td rowspan=1 colspan=1>le[i][j]=II[i][j]≤ pivote,V(i,j),i=1,...,M,j=1,...,C</td></tr><tr><td rowspan=6 colspan=1>Table Ops</td><td rowspan=1 colspan=1>select</td><td rowspan=1 colspan=3>s[i][j]= 1.O if II[i]lj] appears in question else 0.0,∀(i,j),i=1,...,M,j =1,...,C</td></tr><tr><td rowspan=1 colspan=1>mfe</td><td rowspan=1 colspan=3>mfe[i][j]=1.O if I[i]lj] is the most common entry in column j else 0.0,∀(i,j),i =1,...,M,j=1,.,C</td></tr><tr><td rowspan=1 colspan=1>first</td><td rowspan=1 colspan=3>i=1,...,M</td></tr><tr><td rowspan=1 colspan=1>last</td><td rowspan=1 colspan=3>i=1,...,M</td></tr><tr><td rowspan=1 colspan=1>previous</td><td rowspan=1 colspan=3>Pt[]= row_selectt-1[i+ 1],i=1,...,M-1;pt[M]=0</td></tr><tr><td rowspan=1 colspan=1>next</td><td rowspan=1 colspan=3>nt[i]=row_selectt-1[i-1],i=2,...,M;nt[1]=0</td></tr><tr><td rowspan=1 colspan=1>Print</td><td rowspan=1 colspan=1>print</td><td rowspan=1 colspan=3>lookup answert[il[i]= row_selectt-1[i],∀(i,j)i=1,...,M,j =1,...,C</td></tr><tr><td rowspan=1 colspan=1>Reset</td><td rowspan=1 colspan=1>reset</td><td rowspan=1 colspan=3>rt[]=1,Vi =1,2,...,M</td></tr></table>
|
| 253 |
+
|
| 254 |
+
Table 5: List of all operations provided to the model along with their definitions. mfe is abbreviation for the operation most frequent entry. [cond] is 1 when cond is True, and 0 otherwise. Comparison, select, reset and mfe operations are independent of the timestep while all the other operations are computed at every time step. Superlative operations and most frequent entry are computed within a column. The operations calculate the expected output with the respect to the membership probabilities given by the row selector so that they can work with probabilistic selection.
|
| 255 |
+
|
| 256 |
+
# APPENDIX
|
| 257 |
+
|
| 258 |
+
# OPERATIONS
|
| 259 |
+
|
| 260 |
+
Table 5 shows the list of operations built into the model along with their definitions.
|
| 261 |
+
|
| 262 |
+
ROW SELECTOR
|
| 263 |
+
|
| 264 |
+
As discussed in Section 2.3, the output variables scalar answer and lookup answer are calculated using the output of the count operations and print operation respectively. The row selector is computed using the output of the remaining operations and is given by,
|
| 265 |
+
|
| 266 |
+
$$
|
| 267 |
+
\begin{array} { l } { { r o w ~ s e l e c t o r } [ \hat { l } ] = \displaystyle \sum _ { j = 1 } ^ { C } \{ \alpha _ { t } ^ { c o l } ( j ) \alpha _ { t } ^ { o p } ( > ) g [ \hat { l } ] [ j ] + \alpha _ { t } ^ { c o l } ( j ) \alpha _ { t } ^ { o p } ( < ) l [ \hat { l } ] [ j ] } \\ { ~ + ~ \alpha _ { t } ^ { c o l } ( j ) \alpha _ { t } ^ { o p } ( \ge ) g [ \hat { l } ] [ j ] + \alpha _ { t } ^ { c o l } ( j ) \alpha _ { t } ^ { o p } ( \le ) l [ \hat { l } ] [ j ] , } \\ { { ~ + ~ \alpha _ { t } ^ { c o l } ( j ) \alpha _ { t } ^ { o p } ( a r g m a x ) m a x [ \hat { l } ] j ] + \alpha _ { t } ^ { c o l } ( j ) \alpha _ { t } ^ { o p } ( a r g m i n _ { t } ) m i n [ \hat { l } ] [ j ] , } } \\ { { ~ + ~ \alpha _ { t } ^ { c o l } ( j ) \alpha _ { t } ^ { o p } ( s e l e c t ) s [ i ] [ j ] + \alpha _ { t } ^ { c o l } ( j ) \alpha _ { t } ^ { o p } ( m f e ) m f e [ \hat { l } ] [ j ] ] } } \\ { { ~ + ~ \alpha _ { t } ^ { c o l } ( j ) \alpha _ { t } ^ { o p } ( s e l e c t ) s [ i ] [ j ] + \alpha _ { t } ^ { c o l } ( j ) \alpha _ { t } ^ { o p } ( m f e ) m f e [ \hat { l } ] [ j ] ] } } \\ { { ~ + ~ \alpha _ { t } ^ { o p } ( p r e v i o u s ) p _ { t } [ \hat { l } ] + \alpha _ { t } ^ { o p } ( m e x t ) n _ { t } [ \hat { l } ] + \alpha _ { t } ^ { o p } ( r e s e t ) r _ { t } [ \hat { l } ] } } \\ { { ~ + ~ \alpha _ { t } ^ { e o p } ( f i r s t ) f [ \hat { l } ] + \alpha _ { t } ^ { o p } ( l a s t ) l a _ { t } [ \hat { l } ] } } \\ { { ~ \forall i , i = 1 , 2 , . . . , ~ M } } \end{array}
|
| 268 |
+
$$
|
| 269 |
+
|
| 270 |
+
where $\alpha _ { t } ^ { o p } ( o p )$ and $\alpha _ { t } ^ { c o l } ( j )$ are the probabilities assigned by the selector to operation $o p$ and column $j$ at timestep $t$ respectively.
|
parse/train/ry2YOrcge/ry2YOrcge_content_list.json
ADDED
|
@@ -0,0 +1,1460 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Arvind Neelakantan∗ University of Massachusetts Amherst arvind@cs.umass.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
170,
|
| 20 |
+
431,
|
| 21 |
+
212
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Quoc V. Le Google Brain qvl@google.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
473,
|
| 30 |
+
170,
|
| 31 |
+
612,
|
| 32 |
+
212
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Mart´ın Abadi \nGoogle Brain \nabadi@google.com ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
655,
|
| 41 |
+
170,
|
| 42 |
+
813,
|
| 43 |
+
212
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Andrew McCallum∗ ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
184,
|
| 53 |
+
234,
|
| 54 |
+
325,
|
| 55 |
+
246
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "University of Massachusetts Amherst mccallum@cs.umass.edu ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
184,
|
| 64 |
+
248,
|
| 65 |
+
431,
|
| 66 |
+
275
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "Dario Amodei∗ \nOpenAI \ndamodei@openai.com ",
|
| 73 |
+
"bbox": [
|
| 74 |
+
540,
|
| 75 |
+
233,
|
| 76 |
+
720,
|
| 77 |
+
275
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "ABSTRACT ",
|
| 84 |
+
"text_level": 1,
|
| 85 |
+
"bbox": [
|
| 86 |
+
454,
|
| 87 |
+
313,
|
| 88 |
+
544,
|
| 89 |
+
327
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Learning a natural language interface for database tables is a challenging task that involves deep language understanding and multi-step reasoning. The task is often approached by mapping natural language queries to logical forms or programs that provide the desired response when executed on the database. To our knowledge, this paper presents the first weakly supervised, end-to-end neural network model to induce such programs on a real-world dataset. We enhance the objective function of Neural Programmer, a neural network with built-in discrete operations, and apply it on WikiTableQuestions, a natural language question-answering dataset. The model is trained end-to-end with weak supervision of question-answer pairs, and does not require domain-specific grammars, rules, or annotations that are key elements in previous approaches to program induction. The main experimental result in this paper is that a single Neural Programmer model achieves $3 4 . 2 \\%$ accuracy using only 10,000 examples with weak supervision. An ensemble of 15 models, with a trivial combination technique, achieves $3 7 . 7 \\%$ accuracy, which is competitive to the current state-of-the-art accuracy of $3 7 . 1 \\%$ obtained by a traditional natural language semantic parser. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
233,
|
| 98 |
+
343,
|
| 99 |
+
764,
|
| 100 |
+
565
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "1 BACKGROUND AND INTRODUCTION",
|
| 107 |
+
"text_level": 1,
|
| 108 |
+
"bbox": [
|
| 109 |
+
178,
|
| 110 |
+
592,
|
| 111 |
+
503,
|
| 112 |
+
607
|
| 113 |
+
],
|
| 114 |
+
"page_idx": 0
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"type": "text",
|
| 118 |
+
"text": "Databases are a pervasive way to store and access knowledge. However, it is not straightforward for users to interact with databases since it often requires programming skills and knowledge about database schemas. Overcoming this difficulty by allowing users to communicate with databases via natural language is an active research area. The common approach to this task is by semantic parsing, which is the process of mapping natural language to symbolic representations of meaning. In this context, semantic parsing yields logical forms or programs that provide the desired response when executed on the databases (Zelle & Mooney, 1996). Semantic parsing is a challenging problem that involves deep language understanding and reasoning with discrete operations such as counting and row selection (Liang, 2016). ",
|
| 119 |
+
"bbox": [
|
| 120 |
+
173,
|
| 121 |
+
622,
|
| 122 |
+
825,
|
| 123 |
+
748
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 0
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "The first learning methods for semantic parsing require expensive annotation of question-program pairs (Zelle & Mooney, 1996; Zettlemoyer & Collins, 2005). This annotation process is no longer necessary in the current state-of-the-art semantic parsers that are trained using only question-answer pairs (Liang et al., 2011; Kwiatkowski et al., 2013; Krishnamurthy & Kollar, 2013; Pasupat & Liang, 2015). However, the performance of these methods still heavily depends on domain-specific grammar or pruning strategies to ease program search. For example, in a recent work on building semantic parsers for various domains, the authors hand-engineer a separate grammar for each domain (Wang et al., 2015). ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
173,
|
| 132 |
+
755,
|
| 133 |
+
825,
|
| 134 |
+
866
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 0
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "Recently, many neural network models have been developed for program induction (Andreas et al., 2016; Jia & Liang, 2016; Reed & Freitas, 2016; Zaremba et al., 2016; Yin et al., 2015), despite the notorious difficulty of handling discrete operations in neural networks (Joulin & Mikolov, 2015; Kaiser & Sutskever, 2016). Most of these approaches rely on complete programs as supervision (Jia & Liang, 2016; Reed & Freitas, 2016) while others (Zaremba et al., 2016; Yin et al., 2015) have been tried only on synthetic tasks. The work that is most similar to ours is that of Andreas et al. (2016) on the dynamic neural module network. However, in their method, the neural network is employed only to search over a small set of candidate layouts provided by the syntactic parse of the question, and is trained using the REINFORCE algorithm (Williams, 1992). Hence, their method cannot recover from parser errors, and it is not trivial to adapt the parser to the task at hand. Additionally, all their modules or operations are parametrized by a neural network, so it is difficult to apply their method on tasks that require discrete arithmetic operations. Finally, their experiments concern a simpler dataset that requires fewer operations, and therefore a smaller search space, than WikiTableQuestions which we consider in our work. We discuss other related work in Section 4. ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
176,
|
| 143 |
+
873,
|
| 144 |
+
823,
|
| 145 |
+
901
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 0
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "image",
|
| 151 |
+
"img_path": "images/c3fbf422d12a94e9e469c4d9edd7cabf43b9708d865779a1944e2cfd424cee5d.jpg",
|
| 152 |
+
"image_caption": [
|
| 153 |
+
"Figure 1: Neural Programmer is a neural network augmented with a set of discrete operations. The model runs for a fixed number of time steps, selecting an operation and a column from the table at every time step. The induced program transfers information across timesteps using the row selector variable while the output of the model is stored in the scalar answer and lookup answer variables. "
|
| 154 |
+
],
|
| 155 |
+
"image_footnote": [],
|
| 156 |
+
"bbox": [
|
| 157 |
+
284,
|
| 158 |
+
150,
|
| 159 |
+
743,
|
| 160 |
+
400
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "",
|
| 167 |
+
"bbox": [
|
| 168 |
+
173,
|
| 169 |
+
569,
|
| 170 |
+
825,
|
| 171 |
+
736
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "Neural Programmer (Neelakantan et al., 2016) is a neural network augmented with a set of discrete operations. It produces both a program, made up of those operations, and the result of running the program against a given table. The operations make use of three variables: row selector, scalar answer, and lookup answer, which are updated at every timestep. lookup answer and scalar answer store answers while row selector is used to propagate information across time steps. As input, a model receives a question along with a table (Figure 1). The model runs for a fixed number of time steps, selecting an operation and a column from the table as the argument to the operation at each time step. During training, soft selection (Bahdanau et al., 2014) is performed so that the model can be trained end-to-end using backpropagation. This approach allows Neural Programmer to explore the search space with better sample complexity than hard selection with the REINFORCE algorithm (Williams, 1992) would provide. All the parameters of the model are learned from a weak supervision signal that consists of only the final answer; the underlying program, which consists of a sequence of operations and of selected columns, is latent. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
743,
|
| 181 |
+
825,
|
| 182 |
+
922
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "In this work, we develop an approach to semantic parsing based on Neural Programmer. We show how to learn a natural language interface for answering questions using database tables, thus integrating differentiable operations that are typical of neural networks with the declarative knowledge contained in the tables and with discrete operations on tables and entries. For this purpose, we make several improvements and adjustments to Neural Programmer, in particular adapting its objective function to make it more broadly applicable. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
103,
|
| 192 |
+
823,
|
| 193 |
+
188
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "In earlier work, Neural Programmer is applied only on a synthetic dataset. In that dataset, when the expected answer is an entry in the given table, its position is explicitly marked in the table. However, real-world datasets certainly do not include those markers, and lead to many ambiguities (e.g., (Pasupat & Liang, 2015)). In particular, when the answer is a number that occurs literally in the table, it is not known, a priori, whether the answer should be generated by an operation or selected from the table. Similarly, when the answer is a natural language phrase that occurs in multiple positions in the table, it is not known which entry (or entries) in the table is actually responsible for the answer. We extend Neural Programmer to handle the weaker supervision signal by backpropagating through decisions that concern how the answer is generated when there is an ambiguity. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
194,
|
| 203 |
+
825,
|
| 204 |
+
333
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 2
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "Our main experimental results concern WikiTableQuestions (Pasupat & Liang, 2015), a real-world question-answering dataset on database tables, with only 10,000 examples for weak supervision. This dataset is particularly challenging because of its small size and the lack of strong supervision, and also because the tables provided at test time are never seen during training, so learning requires adaptation at test time to unseen column names. A state-of-the-art, traditional semantic parser that relies on pruning strategies to ease program search achieves $3 7 . 1 \\%$ accuracy. Standard neural network models like sequence-to-sequence and pointer networks do not appear to be promising for this dataset, as confirmed in our experiments below, which yield single-digit accuracies. In comparison, a single Neural Programmer model using minimal text pre-processing, and trained end-to-end, achieves $3 4 . 2 \\%$ accuracy. This surprising result is enabled primarily by the sample efficiency of Neural Programmer, by the enhanced objective function, and by reducing overfitting via strong regularization with dropout (Srivastava et al., 2014; Iyyer et al., 2015; Gal & Ghahramani, 2016) and weight decay. An ensemble of 15 models, even with a trivial combination technique, achieves $3 7 . 7 \\%$ accuracy. ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
174,
|
| 213 |
+
340,
|
| 214 |
+
825,
|
| 215 |
+
535
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 2
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "2 NEURAL PROGRAMMER ",
|
| 222 |
+
"text_level": 1,
|
| 223 |
+
"bbox": [
|
| 224 |
+
176,
|
| 225 |
+
556,
|
| 226 |
+
405,
|
| 227 |
+
571
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "In this section we describe in greater detail the Neural Programmer model and the modifications we made to the model. Neural Programmer is a neural network augmented with a set of discrete operations. The model consists of four modules: ",
|
| 234 |
+
"bbox": [
|
| 235 |
+
176,
|
| 236 |
+
588,
|
| 237 |
+
825,
|
| 238 |
+
630
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 2
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "• Question RNN that processes the question and converts the tokens to a distributed representation. We use an LSTM network (Hochreiter & Schmidhuber, 1997) as the question RNN. \n• A list of discrete operations such as counting and entry selection that are manually defined. Each operation is parameterized by a real-valued vector that is learned during training. \n• A selector module that induces two probability distributions at every time step, one over the set of operations and another over the set of columns. The input to the selector is obtained by concatenating the last hidden state of the question RNN, the hidden state of the history RNN from the current timestep, and the attention vector obtained by performing soft attention (Bahdanau et al., 2014) on the question using the history vector. Following Neelakantan et al. (2016), we employ hard selection at test time. History RNN modeled by a simple RNN (Werbos, 1990) with tanh activations which remembers the previous operations and columns selected by the model. The input to the history RNN at each timestep is the result of concatenating the weighted representations of operations and columns with their corresponding probability distributions produced by the selector at the previous timestep. ",
|
| 245 |
+
"bbox": [
|
| 246 |
+
215,
|
| 247 |
+
641,
|
| 248 |
+
825,
|
| 249 |
+
882
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 2
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "A more detailed description of the basic model can be found in Neelakantan et al. (2016). The model runs for fixed total of $T$ timesteps. The parameters of the operations, selector module, question and history RNNs are all learned with backpropagation using a weak supervision signal that consists of the final answer. Below, we discuss several modifications to the model to make it more broadly applicable, and easier to train. ",
|
| 256 |
+
"bbox": [
|
| 257 |
+
176,
|
| 258 |
+
895,
|
| 259 |
+
823,
|
| 260 |
+
924
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 2
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "text",
|
| 266 |
+
"text": "",
|
| 267 |
+
"bbox": [
|
| 268 |
+
174,
|
| 269 |
+
103,
|
| 270 |
+
823,
|
| 271 |
+
146
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 3
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "text",
|
| 277 |
+
"text": "2.1 OPERATIONS",
|
| 278 |
+
"text_level": 1,
|
| 279 |
+
"bbox": [
|
| 280 |
+
174,
|
| 281 |
+
162,
|
| 282 |
+
305,
|
| 283 |
+
176
|
| 284 |
+
],
|
| 285 |
+
"page_idx": 3
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"type": "text",
|
| 289 |
+
"text": "We use 15 operations in the model that were chosen to closely match the set of operations used in the baseline model (Pasupat & Liang, 2015). All the operations except select and most frequent entry operate only on the set of selected rows which is given by the row selector variable. Before the first timestep, all the rows in the table are set to be selected. The built-in operations are: ",
|
| 290 |
+
"bbox": [
|
| 291 |
+
174,
|
| 292 |
+
189,
|
| 293 |
+
825,
|
| 294 |
+
244
|
| 295 |
+
],
|
| 296 |
+
"page_idx": 3
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"type": "text",
|
| 300 |
+
"text": "• count returns the number of selected rows in row selector. \n• select and most frequent entry are operations which are computed only once for every question and output a boolean tensor with size same as the size of the input table. An entry in the output of the select operation is set to 1 if the entry matches some phrase in the question. The matched phrases in the question are anonymized to prevent overfitting. Similarly, for most frequent entry, it is set to 1 if the entry is the most frequently occurring one in its column. \n• argmax, argmin, greater than, less than, greater than or equal to, less than or equal to are all operations that output a tensor with size same as the size of the input table. \n• first, last, previous and next modify the row selector. \n• print operation assigns row selector on the selected column of lookup answer. \n• reset resets row selector to its initial value. This operation also serves as no-op when the model needs to induce programs whose complexity is less than $T$ . ",
|
| 301 |
+
"bbox": [
|
| 302 |
+
215,
|
| 303 |
+
257,
|
| 304 |
+
825,
|
| 305 |
+
463
|
| 306 |
+
],
|
| 307 |
+
"page_idx": 3
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "text",
|
| 311 |
+
"text": "All the operations are defined to work with soft selection so that the model can be trained with backpropagation. The operations along with their definitions are discussed in the Appendix. ",
|
| 312 |
+
"bbox": [
|
| 313 |
+
176,
|
| 314 |
+
474,
|
| 315 |
+
823,
|
| 316 |
+
502
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 3
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "text",
|
| 322 |
+
"text": "2.2 OUTPUT AND ROW SELECTOR ",
|
| 323 |
+
"text_level": 1,
|
| 324 |
+
"bbox": [
|
| 325 |
+
176,
|
| 326 |
+
520,
|
| 327 |
+
423,
|
| 328 |
+
534
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 3
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "Neural programmer makes use of three variables: row selector, scalar answer and lookup answer which are updated at every timestep. The variable lookup answer stores answers that are selected from the table while scalar answer stores numeric answers that are not provided in the table.1 The induced program transfers information across timesteps using the row selector variable which contains rows that are selected by the model. ",
|
| 335 |
+
"bbox": [
|
| 336 |
+
174,
|
| 337 |
+
545,
|
| 338 |
+
825,
|
| 339 |
+
616
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 3
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "text",
|
| 345 |
+
"text": "Given an input table $\\Pi$ , containing $M$ rows and $C$ columns ( $M$ and $C$ can vary across examples), the output variables at timestep $t$ are given by: ",
|
| 346 |
+
"bbox": [
|
| 347 |
+
176,
|
| 348 |
+
622,
|
| 349 |
+
823,
|
| 350 |
+
651
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 3
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "text",
|
| 356 |
+
"text": "sc $\\begin{array} { r l } & { \\times a l a r \\ a n s w e r _ { t } = \\alpha _ { t } ^ { o p } ( c o u n t ) o u t p u t _ { t } ( c o u n t ) , } \\\\ & { o k u p \\ a n s w e r _ { t } [ i ] [ j ] = \\alpha _ { t } ^ { c o l } ( j ) \\alpha _ { t } ^ { o p } ( p r i n t ) r o w \\ s e l e c t _ { t - t } [ i ] , \\forall ( i , j ) i = 1 , 2 , . . . , M , j = 1 , 2 , . . . , C } \\end{array}$ lo where $\\alpha _ { t } ^ { o p } ( o p )$ and $\\alpha _ { t } ^ { c o l } ( j )$ are the probabilities assigned by the selector to operation $o p$ and column $j$ at timestep $t$ respectively and $o u t p u t _ { t } ( c o u n t )$ is the output of the count operation at timestep $t$ . The row selector variable at timestep $t$ is obtained by taking the weighted average of the outputs of the remaining operations and is discussed in the Appendix. lookup answerT $[ i ] [ j ]$ is the probability that the element $( i , j )$ in the input table is in the final answer predicted by the model. ",
|
| 357 |
+
"bbox": [
|
| 358 |
+
174,
|
| 359 |
+
656,
|
| 360 |
+
828,
|
| 361 |
+
775
|
| 362 |
+
],
|
| 363 |
+
"page_idx": 3
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"type": "text",
|
| 367 |
+
"text": "2.3 TRAINING OBJECTIVE ",
|
| 368 |
+
"text_level": 1,
|
| 369 |
+
"bbox": [
|
| 370 |
+
176,
|
| 371 |
+
791,
|
| 372 |
+
370,
|
| 373 |
+
806
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 3
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "text",
|
| 379 |
+
"text": "We modify the training objective of Neural Programmer to handle the supervision signal available in real-world settings. In previous work, the position of the answers are explicitly marked in the table when the answer is an entry from the table. However, as discussed in Section 1, in real-world datasets (e.g., (Pasupat & Liang, 2015)) the answer is simply written down introducing two kinds of ambiguities. First, when the answer is a number and if the number is in the table, it is not known whether the loss should be computed using the scalar answer variable or the lookup answer variable. Second, when the answer is a natural language phrase and if the phrase occurs in multiple positions in the table, we again do not know which entry (or entries) in the table is actually responsible for generating the answer. We extend Neural Programmer to handle this weaker supervision signal during training by computing the loss only on the prediction that is closest to the desired response. ",
|
| 380 |
+
"bbox": [
|
| 381 |
+
174,
|
| 382 |
+
818,
|
| 383 |
+
825,
|
| 384 |
+
887
|
| 385 |
+
],
|
| 386 |
+
"page_idx": 3
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"type": "text",
|
| 390 |
+
"text": "",
|
| 391 |
+
"bbox": [
|
| 392 |
+
174,
|
| 393 |
+
103,
|
| 394 |
+
825,
|
| 395 |
+
174
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 4
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "text",
|
| 401 |
+
"text": "For scalar answers we compute the square loss: ",
|
| 402 |
+
"bbox": [
|
| 403 |
+
174,
|
| 404 |
+
180,
|
| 405 |
+
483,
|
| 406 |
+
195
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 4
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "equation",
|
| 412 |
+
"img_path": "images/17de03dbbddfcf56386cfa9437a243a73d58f7c9f37670c21ff5806c6832dc86.jpg",
|
| 413 |
+
"text": "$$\nL _ { s c a l a r } ( s c a l a r ~ a n s w e r _ { T } , y ) = \\frac { 1 } { 2 } ( s c a l a r ~ a n s w e r _ { T } - y ) ^ { 2 }\n$$",
|
| 414 |
+
"text_format": "latex",
|
| 415 |
+
"bbox": [
|
| 416 |
+
307,
|
| 417 |
+
202,
|
| 418 |
+
691,
|
| 419 |
+
232
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 4
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "text",
|
| 425 |
+
"text": "where $y$ is the ground truth answer. We divide $L _ { s c a l a r }$ by the number of rows in the input table and do not backpropagate on examples for which the loss is greater than a threshold since it leads to instabilities in training. ",
|
| 426 |
+
"bbox": [
|
| 427 |
+
174,
|
| 428 |
+
256,
|
| 429 |
+
825,
|
| 430 |
+
299
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 4
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "text",
|
| 436 |
+
"text": "When the answer is a list of items $y \\ = \\ ( a _ { 1 } , a _ { 2 } , . . . , a _ { N } )$ , for each element in the list $( a _ { i } , i { \\ = }$ $1 , 2 , \\ldots , N )$ we compute all the entries in the table that match that element, given by $S _ { i } ~ =$ $\\{ ( r , c ) , \\forall ( r , c ) \\Pi [ r ] [ { \\bar { c } } ] = a _ { i } \\}$ . We tackle the ambiguity introduced when an answer item occurs at multiple entries in the table by computing the loss only on the entry which is assigned the highest probability by the model. We construct $g \\in \\{ 0 , 1 \\} ^ { M \\times C }$ , where $g [ i , j ]$ indicates whether the element $( i , j )$ in the input table is part of the output. We compute log-loss for each entry and the final loss is given by: ",
|
| 437 |
+
"bbox": [
|
| 438 |
+
173,
|
| 439 |
+
305,
|
| 440 |
+
825,
|
| 441 |
+
404
|
| 442 |
+
],
|
| 443 |
+
"page_idx": 4
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "equation",
|
| 447 |
+
"img_path": "images/ae81f20ea17438712efce096bfa4644530bca673e422bd7c9088882a59370378.jpg",
|
| 448 |
+
"text": "$$\n\\begin{array} { l } { { \\displaystyle { \\cal L } _ { l o o k u p } ( l o o k u p ~ a n s w e r _ { T } , y ) = \\sum _ { i = 1 } ^ { N } m i n _ { ( r , c ) \\in S _ { i } } ( - \\log ( l o o k u p ~ a n s w e r _ { T } [ r , c ] ) ) } \\ ~ } \\\\ { { \\displaystyle ~ - \\ \\frac { 1 } { M C } \\sum _ { i = 1 } ^ { M } \\sum _ { j = 1 } ^ { C } [ g [ i , j ] ~ = = \\ 0 ] \\log ( 1 - l o o k u p ~ a n s w e r _ { T } [ i , j ] ) } } \\end{array}\n$$",
|
| 449 |
+
"text_format": "latex",
|
| 450 |
+
"bbox": [
|
| 451 |
+
187,
|
| 452 |
+
410,
|
| 453 |
+
810,
|
| 454 |
+
501
|
| 455 |
+
],
|
| 456 |
+
"page_idx": 4
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "text",
|
| 460 |
+
"text": "where $[ c o n d ]$ is 1 when cond is True, and 0 otherwise. ",
|
| 461 |
+
"bbox": [
|
| 462 |
+
174,
|
| 463 |
+
506,
|
| 464 |
+
531,
|
| 465 |
+
521
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 4
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"text": "We deal with the ambiguity that occurs when the ground truth is a number and if the number also occurs in the table, by computing the final loss as the soft minimum of $L _ { s c a l a r }$ and $L _ { l o o k u p }$ . Otherwise, the loss for an example is $L _ { s c a l a r }$ when the ground truth is a number and $L _ { l o o k u p }$ when the ground truth matches some entries in the table. The two loss functions $L _ { s c a l a r }$ and $L _ { l o o k u p }$ are in different scales, so we multiply $L _ { l o o k u p }$ by a constant factor which we set to 50.0 after a small exploration in our experiments. ",
|
| 472 |
+
"bbox": [
|
| 473 |
+
174,
|
| 474 |
+
527,
|
| 475 |
+
825,
|
| 476 |
+
612
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 4
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "Since we employ hard selection at test time, only one among scalar answer and lookup answer is modified at the last timestep. We use the variable that is set at the last timestep as the final output of the model. ",
|
| 483 |
+
"bbox": [
|
| 484 |
+
174,
|
| 485 |
+
618,
|
| 486 |
+
825,
|
| 487 |
+
660
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 4
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"text": "3 EXPERIMENTS ",
|
| 494 |
+
"text_level": 1,
|
| 495 |
+
"bbox": [
|
| 496 |
+
176,
|
| 497 |
+
681,
|
| 498 |
+
326,
|
| 499 |
+
696
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 4
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "We apply Neural Programmer on the WikiTableQuestions dataset (Pasupat & Liang, 2015) and compare it to different non-neural baselines including a natural language semantic parser developed by Pasupat & Liang (2015). Further, we also report results from training the sequence-tosequence model (Sutskever et al., 2014) and a modified version of the pointer networks (Vinyals et al., 2015). Our model is implemented in TensorFlow (Abadi et al., 2016) and the model takes approximately a day to train on a single Tesla K80 GPU. We use double-precision format to store the model parameters since the gradients become undefined values in single-precision format. Our code is available at https://github.com/tensorflow/models/tree/master/neural_ programmer. ",
|
| 506 |
+
"bbox": [
|
| 507 |
+
174,
|
| 508 |
+
712,
|
| 509 |
+
825,
|
| 510 |
+
838
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 4
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "text",
|
| 516 |
+
"text": "3.1 DATA ",
|
| 517 |
+
"text_level": 1,
|
| 518 |
+
"bbox": [
|
| 519 |
+
176,
|
| 520 |
+
854,
|
| 521 |
+
253,
|
| 522 |
+
869
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 4
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "We use the train, development, and test split given by Pasupat & Liang (2015). The dataset contains 11321, 2831, and 4344 examples for training, development, and testing respectively. We use their tokenization, number and date pre-processing. There are examples with answers that are neither number answers nor phrases selected from the table. We ignore these questions during training but the model is penalized during evaluation following Pasupat & Liang (2015). The tables provided in the test set are unseen at training, hence requiring the model to adapt to unseen column names at test time. We train only on examples for which the provided table has less than 100 rows since we run out of GPU memory otherwise, but consider all examples at test time. ",
|
| 529 |
+
"bbox": [
|
| 530 |
+
176,
|
| 531 |
+
882,
|
| 532 |
+
823,
|
| 533 |
+
924
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 4
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "table",
|
| 539 |
+
"img_path": "images/576bf09c7185889d9a9c9e8a7dbadad78a605e91b483e6c34cb2f38039e3b0bb.jpg",
|
| 540 |
+
"table_caption": [
|
| 541 |
+
"Table 1: Performance of Neural Programmer compared to baselines from (Pasupat & Liang, 2015). The performance of an ensemble of 15 models is competitive to the current state-of-the-art natural language semantic parser. "
|
| 542 |
+
],
|
| 543 |
+
"table_footnote": [],
|
| 544 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Method</td><td rowspan=1 colspan=1>Dev Accuracy</td><td rowspan=1 colspan=1>Test Accuracy</td></tr><tr><td rowspan=1 colspan=3>Baselines from Pasupat & Liang (2015)</td></tr><tr><td rowspan=1 colspan=1>InformationRetrieval System</td><td rowspan=1 colspan=1>13.4</td><td rowspan=1 colspan=1>12.7</td></tr><tr><td rowspan=1 colspan=1>Simple Semantic Parser</td><td rowspan=1 colspan=1>23.6</td><td rowspan=1 colspan=1>24.3</td></tr><tr><td rowspan=1 colspan=1>Semantic Parser</td><td rowspan=1 colspan=1>37.0</td><td rowspan=1 colspan=1>37.1</td></tr><tr><td rowspan=1 colspan=3>Neural Programmer</td></tr><tr><td rowspan=1 colspan=1>Neural Programmer</td><td rowspan=1 colspan=1>34.1</td><td rowspan=1 colspan=1>34.2</td></tr><tr><td rowspan=1 colspan=1>Ensemble of 15 Neural Programmer models</td><td rowspan=1 colspan=1>37.5</td><td rowspan=1 colspan=1>37.7</td></tr><tr><td rowspan=1 colspan=1>Oracle Score with 15 Neural Programmer models</td><td rowspan=1 colspan=1>50.5</td><td rowspan=1 colspan=1>1</td></tr></table>",
|
| 545 |
+
"bbox": [
|
| 546 |
+
214,
|
| 547 |
+
99,
|
| 548 |
+
784,
|
| 549 |
+
241
|
| 550 |
+
],
|
| 551 |
+
"page_idx": 5
|
| 552 |
+
},
|
| 553 |
+
{
|
| 554 |
+
"type": "text",
|
| 555 |
+
"text": "",
|
| 556 |
+
"bbox": [
|
| 557 |
+
174,
|
| 558 |
+
320,
|
| 559 |
+
825,
|
| 560 |
+
391
|
| 561 |
+
],
|
| 562 |
+
"page_idx": 5
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"type": "text",
|
| 566 |
+
"text": "3.2 TRAINING DETAILS ",
|
| 567 |
+
"text_level": 1,
|
| 568 |
+
"bbox": [
|
| 569 |
+
176,
|
| 570 |
+
409,
|
| 571 |
+
351,
|
| 572 |
+
422
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 5
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "text",
|
| 578 |
+
"text": "We use $T = 4$ timesteps in our experiments. Words and operations are represented as 256 dimensional vectors, and the hidden vectors of the question and the history RNN are also 256 dimensional. The parameters are initialized uniformly randomly within the range [-0.1, 0.1]. We train the model using the Adam optimizer (Kingma & Ba, 2014) with mini-batches of size 20. The $\\epsilon$ hyperparameter in Adam is set to 1e-6 while others are set to the default values. Since the training set is small compared to other datasets in which neural network models are usually applied, we rely on strong regularization: ",
|
| 579 |
+
"bbox": [
|
| 580 |
+
174,
|
| 581 |
+
434,
|
| 582 |
+
825,
|
| 583 |
+
532
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 5
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "text",
|
| 589 |
+
"text": "• We clip the gradients to norm 1 and employ early-stopping. \n• The occurrences of words that appear less than 10 times in the training set are replaced by a single unknown word token. \n• We add a weight decay penalty with strength 0.0001. \n• We use dropout with a keep probability of 0.8 on input and output vectors of the RNN, and selector, operation and column name representations (Srivastava et al., 2014). We use dropout with keep probability of 0.9 on the recurrent connections of the question RNN and history RNN using the technique from Gal & Ghahramani (2016). We use word-dropout (Iyyer et al., 2015) with keep probability of 0.9. Here, words in the question are randomly replaced with the unknown word token while training. ",
|
| 590 |
+
"bbox": [
|
| 591 |
+
215,
|
| 592 |
+
545,
|
| 593 |
+
825,
|
| 594 |
+
713
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 5
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "We tune the dropout rates, regularization strength, and the $\\epsilon$ hyperparameter using grid search on the development data, we fix the other hyperparameters after a small exploration during initial experiments. ",
|
| 601 |
+
"bbox": [
|
| 602 |
+
176,
|
| 603 |
+
726,
|
| 604 |
+
825,
|
| 605 |
+
767
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 5
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "text",
|
| 611 |
+
"text": "3.3 RESULTS ",
|
| 612 |
+
"text_level": 1,
|
| 613 |
+
"bbox": [
|
| 614 |
+
174,
|
| 615 |
+
814,
|
| 616 |
+
279,
|
| 617 |
+
828
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 5
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "text",
|
| 623 |
+
"text": "Table 1 shows the performance of our model in comparison to baselines from Pasupat & Liang (2015). The best result from Neural Programmer is achieved by an ensemble of 15 models. The only difference among these models is that the parameters of each model is initialized with a different random seed. We combine the models by averaging the predicted softmax distributions of the models at every timestep. While it is generally believed that neural network models require a large number of training examples compared to simpler linear models to get good performance, our model ",
|
| 624 |
+
"bbox": [
|
| 625 |
+
173,
|
| 626 |
+
840,
|
| 627 |
+
825,
|
| 628 |
+
924
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 5
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "table",
|
| 634 |
+
"img_path": "images/3d7bf083c3e365a1173a41b851597d25f62eeeb1ce6f200d2ca22c36fd016168.jpg",
|
| 635 |
+
"table_caption": [],
|
| 636 |
+
"table_footnote": [],
|
| 637 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Method</td><td rowspan=1 colspan=1>Dev Accuracy</td></tr><tr><td rowspan=1 colspan=1>NeuralProgrammer</td><td rowspan=1 colspan=1>34.1</td></tr><tr><td rowspan=1 colspan=1>NeuralProgrammer-anonymization</td><td rowspan=1 colspan=1>33.7</td></tr><tr><td rowspan=1 colspan=1>Neural Programmer - match feature</td><td rowspan=1 colspan=1>31.1</td></tr><tr><td rowspan=1 colspan=1>Neural Programmer - {dropout,weight decay}</td><td rowspan=1 colspan=1>30.3</td></tr></table>",
|
| 638 |
+
"bbox": [
|
| 639 |
+
282,
|
| 640 |
+
101,
|
| 641 |
+
717,
|
| 642 |
+
178
|
| 643 |
+
],
|
| 644 |
+
"page_idx": 6
|
| 645 |
+
},
|
| 646 |
+
{
|
| 647 |
+
"type": "text",
|
| 648 |
+
"text": "Table 2: Model ablation studies. We find that dropout and weight decay, along with the boolean feature indicating a matched table entry for column selection, have a significant effect on the performance of the model. ",
|
| 649 |
+
"bbox": [
|
| 650 |
+
176,
|
| 651 |
+
188,
|
| 652 |
+
820,
|
| 653 |
+
229
|
| 654 |
+
],
|
| 655 |
+
"page_idx": 6
|
| 656 |
+
},
|
| 657 |
+
{
|
| 658 |
+
"type": "text",
|
| 659 |
+
"text": "achieves competitive performance on this small dataset containing only 10,000 examples with weak supervision. ",
|
| 660 |
+
"bbox": [
|
| 661 |
+
173,
|
| 662 |
+
255,
|
| 663 |
+
823,
|
| 664 |
+
284
|
| 665 |
+
],
|
| 666 |
+
"page_idx": 6
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"type": "text",
|
| 670 |
+
"text": "We did not get better results either by using pre-trained word vectors (Mikolov et al., 2013) or by pre-training the question RNN with a language modeling objective (Dai & Le, 2015). A possible explanation is that the word vectors obtained from unsupervised learning may not be suitable to the task under consideration. For example, the learned representations of words like maximum and minimum from unsupervised learning are usually close to each other but for our task it is counterproductive. We consider replacing soft selection with hard selection and training the model with the REINFORCE algorithm (Williams, 1992). The model fails to learn in this experiment, probably because the model has to search over millions of symbolic programs for every input question making it highly unlikely to find a program that gives a reward. Hence, the parameters of the model are not updated frequently enough. ",
|
| 671 |
+
"bbox": [
|
| 672 |
+
173,
|
| 673 |
+
290,
|
| 674 |
+
825,
|
| 675 |
+
429
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 6
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "text",
|
| 681 |
+
"text": "3.3.1 NEURAL NETWORK BASELINES",
|
| 682 |
+
"text_level": 1,
|
| 683 |
+
"bbox": [
|
| 684 |
+
176,
|
| 685 |
+
444,
|
| 686 |
+
447,
|
| 687 |
+
458
|
| 688 |
+
],
|
| 689 |
+
"page_idx": 6
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "text",
|
| 693 |
+
"text": "To understand the difficulty of the task for neural network models, we experiment with two neural network baselines: the sequence-to-sequence model (Sutskever et al., 2014) and a modified version of the pointer networks (Vinyals et al., 2015). The input to the sequence-to-sequence model is a concatenation of the table and the question, and the decoder produces the output one token at a time. We consider only examples whose input length is less than 400 to make the running time reasonable. The resulting dataset has 8, 857 and 1, 623 training and development examples respectively. The accuracy of the best model on this development set after hyperparameter tuning is only $8 . 9 \\%$ . Next, we experiment with pointer networks to select entries in the table as the final answer. We modify pointer networks to have two-attention heads: one to select the column and the other to select entries within a column. Additionally, the model performs multiple pondering steps on the table before returning the final answer. We train this model only on lookup questions, since the model does not have a decoder to generate answers. We consider only examples whose tables have less than 100 rows resulting in training and development set consisting of 7, 534 and 1, 829 examples respectively. The accuracy of the best model on this development set after hyperparameter tuning is only $4 . 0 \\dot { \\% }$ . These results confirm our intuition that discrete operations are hard to learn for neural networks particularly with small datasets in real-world settings. ",
|
| 694 |
+
"bbox": [
|
| 695 |
+
174,
|
| 696 |
+
468,
|
| 697 |
+
825,
|
| 698 |
+
690
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 6
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "3.4 ANALYSIS ",
|
| 705 |
+
"text_level": 1,
|
| 706 |
+
"bbox": [
|
| 707 |
+
174,
|
| 708 |
+
707,
|
| 709 |
+
285,
|
| 710 |
+
720
|
| 711 |
+
],
|
| 712 |
+
"page_idx": 6
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"type": "text",
|
| 716 |
+
"text": "3.4.1 MODEL ABLATION",
|
| 717 |
+
"text_level": 1,
|
| 718 |
+
"bbox": [
|
| 719 |
+
176,
|
| 720 |
+
762,
|
| 721 |
+
359,
|
| 722 |
+
776
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 6
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "Table 2 shows the impact of different model design choices on the final performance. While anonymizing phrases in the question that match some table entry seems to have a small positive effect, regularization has a much larger effect on the performance. Column selection is performed in Neelakantan et al. (2016) using only the name of a column; however, this selection procedure is insufficient in real-world settings. For example the column selected in question 3 in Table 3 does not have a corresponding phrase in the question. Hence, to select a column we additionally use a boolean feature that indicates whether an entry in that column matches some phrase in the question. Table 2 shows that the addition of this boolean feature has a significant effect on performance. ",
|
| 729 |
+
"bbox": [
|
| 730 |
+
174,
|
| 731 |
+
786,
|
| 732 |
+
825,
|
| 733 |
+
897
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 6
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "table",
|
| 739 |
+
"img_path": "images/b976d693840f8cd6fa894c533932edd452488ede3e032749a299ed53247e9627.jpg",
|
| 740 |
+
"table_caption": [],
|
| 741 |
+
"table_footnote": [],
|
| 742 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>ID</td><td rowspan=1 colspan=1>Question</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Step 1</td><td rowspan=1 colspan=1>Step 2</td><td rowspan=1 colspan=1>Step 3</td><td rowspan=1 colspan=1>Step 4</td></tr><tr><td rowspan=2 colspan=1>1</td><td rowspan=2 colspan=1>what is the total number ofteams?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>count</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>-</td></tr><tr><td rowspan=2 colspan=1>2</td><td rowspan=2 colspan=1>how many games had morethan 1,5oO in attendance?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>>=</td><td rowspan=1 colspan=1>count</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>=</td><td rowspan=1 colspan=1>attendance</td><td rowspan=1 colspan=1>-</td></tr><tr><td rowspan=1 colspan=1>3</td><td rowspan=2 colspan=1>what is the total numberof runner-ups listed on thechart?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>=</td><td rowspan=1 colspan=1>select</td><td rowspan=1 colspan=1>count</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>outcome</td><td rowspan=1 colspan=1>1</td></tr><tr><td rowspan=2 colspan=1>4</td><td rowspan=2 colspan=1>which year held the mostcompetitions?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>mfe</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>year</td><td rowspan=1 colspan=1>year</td></tr><tr><td rowspan=2 colspan=1>5</td><td rowspan=2 colspan=1>what opponent is listed laston the table?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>last</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>last</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>opponent</td></tr><tr><td rowspan=2 colspan=1>6</td><td rowspan=2 colspan=1>which section is longest??</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>argmax</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>kilometers</td><td rowspan=1 colspan=1>name</td></tr><tr><td rowspan=2 colspan=1>7</td><td rowspan=2 colspan=1>which engine(s) has the leastamount of power?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>argmin</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>power</td><td rowspan=1 colspan=1>engine</td></tr><tr><td rowspan=2 colspan=1>8</td><td rowspan=2 colspan=1>whatwas claudia roll'stime?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>select</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>swimmer</td><td rowspan=1 colspan=1>time</td></tr><tr><td rowspan=2 colspan=1>9</td><td rowspan=2 colspan=1>who had more silver medals,cuba or brazil?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>argmax</td><td rowspan=1 colspan=1>select</td><td rowspan=1 colspan=1>argmax</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>nation</td><td rowspan=1 colspan=1>nation</td><td rowspan=1 colspan=1>silver</td><td rowspan=1 colspan=1>nation</td></tr><tr><td rowspan=2 colspan=1>10</td><td rowspan=2 colspan=1>who was the next appointeddirector after lee p. brown?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>select</td><td rowspan=1 colspan=1>next</td><td rowspan=1 colspan=1>last</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>name</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>name</td></tr><tr><td rowspan=2 colspan=1>11</td><td rowspan=2 colspan=1>what team is listed previousto belgium?</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>select</td><td rowspan=1 colspan=1>previous</td><td rowspan=1 colspan=1>first</td><td rowspan=1 colspan=1>print</td></tr><tr><td rowspan=1 colspan=1>Column</td><td rowspan=1 colspan=1>team</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>team</td></tr></table>",
|
| 743 |
+
"bbox": [
|
| 744 |
+
174,
|
| 745 |
+
266,
|
| 746 |
+
823,
|
| 747 |
+
633
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 7
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "text",
|
| 753 |
+
"text": "Table 3: A few examples of programs induced by Neural Programmer that generate the correct answer in the development set. mfe is abbreviation for the operation most frequent entry. The model runs for 4 timesteps selecting an operation and a column at every step. The model employs hard selection during evaluation. The column name is displayed in the table only when the operation picked at that step takes in a column as input while the operation is displayed only when it is other than the reset operation. Programs that choose count as the final operation produce a number as the final answer while programs that select print as the final operation produce entries selected from the table as the final answer. ",
|
| 754 |
+
"bbox": [
|
| 755 |
+
173,
|
| 756 |
+
643,
|
| 757 |
+
825,
|
| 758 |
+
756
|
| 759 |
+
],
|
| 760 |
+
"page_idx": 7
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"type": "table",
|
| 764 |
+
"img_path": "images/7427c947c2d787592ec5cf31d95184f4f4409c8a80631fe37f78873237c39d89.jpg",
|
| 765 |
+
"table_caption": [],
|
| 766 |
+
"table_footnote": [],
|
| 767 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=1>Program in Table 3Amount (%)</td><td rowspan=1 colspan=1>Amount (%)</td></tr><tr><td rowspan=1 colspan=3>Scalar Answer</td></tr><tr><td rowspan=1 colspan=1>Only Count</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>6.5</td></tr><tr><td rowspan=1 colspan=1>Comparison+ Count</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>2.1</td></tr><tr><td rowspan=1 colspan=1>Select + Count</td><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>22.1</td></tr><tr><td rowspan=1 colspan=1>Scalar Answer</td><td rowspan=1 colspan=1>1,2,3</td><td rowspan=1 colspan=1>30.7</td></tr><tr><td rowspan=1 colspan=3>Lookup Answer</td></tr><tr><td rowspan=1 colspan=1>Most Frequent Entry + Print</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>1.7</td></tr><tr><td rowspan=1 colspan=1>First/Last+Print</td><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>9.5</td></tr><tr><td rowspan=1 colspan=1>Superlative+Print</td><td rowspan=1 colspan=1>6.7</td><td rowspan=1 colspan=1>13.5</td></tr><tr><td rowspan=1 colspan=1>Select+Print</td><td rowspan=1 colspan=1>8</td><td rowspan=1 colspan=1>17.5</td></tr><tr><td rowspan=1 colspan=1>Select + {first, last, previous, next, superlative} + Print</td><td rowspan=1 colspan=1>9-11</td><td rowspan=1 colspan=1>27.1</td></tr><tr><td rowspan=1 colspan=1>Lookup Answer</td><td rowspan=1 colspan=1>4-11</td><td rowspan=1 colspan=1>69.3</td></tr></table>",
|
| 768 |
+
"bbox": [
|
| 769 |
+
184,
|
| 770 |
+
101,
|
| 771 |
+
812,
|
| 772 |
+
295
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 8
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "text",
|
| 778 |
+
"text": "Table 4: Statistics of the different sequence of operations among the examples answered correctly by the model in the development set. For each sequence of operations in the table, we also point to corresponding example programs in Table 3. Superlative operations include argmax and argmin, while comparison operations include greater than, less than, greater than or equal to and less than or equal to. The model induces a program that results in a scalar answer $3 0 . 7 \\%$ of the time while the induced program is a table lookup for the remaining questions. print and select are the two most common operations used $6 9 . 3 \\%$ and $6 6 . 7 \\%$ of the time respectively. ",
|
| 779 |
+
"bbox": [
|
| 780 |
+
173,
|
| 781 |
+
305,
|
| 782 |
+
825,
|
| 783 |
+
402
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 8
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "text",
|
| 789 |
+
"text": "3.4.2 INDUCED PROGRAMS ",
|
| 790 |
+
"text_level": 1,
|
| 791 |
+
"bbox": [
|
| 792 |
+
176,
|
| 793 |
+
435,
|
| 794 |
+
377,
|
| 795 |
+
449
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 8
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "text",
|
| 801 |
+
"text": "Table 3 shows few examples of programs induced by Neural Programmer that yield the correct answer in the development set. The programs given in Table 3 show a few characteristics of the learned model. First, our analysis indicates that the model can adapt to unseen column names at test time. For example in Question 3, the word outcome occurs only 8 times in the training set and is replaced with the unknown word token. Second, the model does not always induce the most efficient (with respect to number of operations other than the reset operation that are picked) program to solve a task. The last 3 questions in the table can be solved using simpler programs. Finally, the model does not always induce the correct program to get the ground truth answer. For example, the last 2 programs will not result in the correct response for all input database tables. The programs would produce the correct response only when the select operation matches one entry in the table. ",
|
| 802 |
+
"bbox": [
|
| 803 |
+
173,
|
| 804 |
+
462,
|
| 805 |
+
825,
|
| 806 |
+
602
|
| 807 |
+
],
|
| 808 |
+
"page_idx": 8
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"type": "text",
|
| 812 |
+
"text": "3.4.3 CONTRIBUTION OF DIFFERENT OPERATIONS",
|
| 813 |
+
"text_level": 1,
|
| 814 |
+
"bbox": [
|
| 815 |
+
178,
|
| 816 |
+
654,
|
| 817 |
+
535,
|
| 818 |
+
667
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 8
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "Table 4 shows the contribution of the different operations. The model induces a program that results in a scalar answer $3 0 . 7 \\%$ of the time while the induced program is a table lookup for the remaining questions. The two most commonly used operations by the model are print and select. ",
|
| 825 |
+
"bbox": [
|
| 826 |
+
174,
|
| 827 |
+
681,
|
| 828 |
+
825,
|
| 829 |
+
723
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 8
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "text",
|
| 835 |
+
"text": "3.4.4 ERROR ANALYSIS ",
|
| 836 |
+
"text_level": 1,
|
| 837 |
+
"bbox": [
|
| 838 |
+
176,
|
| 839 |
+
743,
|
| 840 |
+
352,
|
| 841 |
+
757
|
| 842 |
+
],
|
| 843 |
+
"page_idx": 8
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "text",
|
| 847 |
+
"text": "To conclude this section, we suggest ideas to potentially improve the performance of the model. First, the oracle performance with 15 Neural Programmer models is $5 0 . 5 \\%$ on the development set while averaging achieves only $3 7 . 5 \\%$ implying that there is still room for improvement. Next, the accuracy of a single model on the training set is $5 3 \\%$ which is about $20 \\%$ higher than the accuracy in both the development set and the test set. This difference in performance indicates that the model suffers from significant overfitting even after employing strong regularization. It also suggests that the performance of the model could be greatly improved by obtaining more training data. Nevertheless, there are limits to the performance improvements we may reasonably expect: in particular, as shown in previous work (Pasupat & Liang, 2015), $21 \\%$ of questions on a random set of 200 examples in the considered dataset are not answerable because of various issues such as annotation errors and tables requiring advanced normalization. ",
|
| 848 |
+
"bbox": [
|
| 849 |
+
174,
|
| 850 |
+
770,
|
| 851 |
+
825,
|
| 852 |
+
924
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 8
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "text",
|
| 858 |
+
"text": "4 OTHER RELATED WORK ",
|
| 859 |
+
"text_level": 1,
|
| 860 |
+
"bbox": [
|
| 861 |
+
176,
|
| 862 |
+
102,
|
| 863 |
+
408,
|
| 864 |
+
118
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 9
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "text",
|
| 870 |
+
"text": "While we discuss in detail various semantic parsing and neural program induction techniques in Section 1, here we briefly describe other relevant work. Recently, Kocisky et al. (2016) develop a semi-supervised semantic parsing method that uses question-program pairs as supervision. Concurrently to our work, Liang et al. (2016) propose neural symbolic machine, a model very similar to Neural Programmer but trained using the REINFORCE algorithm (Williams, 1992). They use only 2 discrete operations and run for a total of 3 timesteps, hence inducing programs that are much simpler than ours. Neural networks have also been applied on question-answering datasets that do not require much arithmetic reasoning (Bordes et al., 2014; Iyyer et al., 2014; Sukhbaatar et al., 2015; Peng et al., 2015; Hermann et al., 2015; Kumar et al., 2016). Wang & Jiang (2016) use a neural network model to get state-of-the-art results on a reading comprehension task (Rajpurkar et al., 2016). ",
|
| 871 |
+
"bbox": [
|
| 872 |
+
173,
|
| 873 |
+
133,
|
| 874 |
+
825,
|
| 875 |
+
286
|
| 876 |
+
],
|
| 877 |
+
"page_idx": 9
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"type": "text",
|
| 881 |
+
"text": "5 CONCLUSION ",
|
| 882 |
+
"text_level": 1,
|
| 883 |
+
"bbox": [
|
| 884 |
+
176,
|
| 885 |
+
306,
|
| 886 |
+
318,
|
| 887 |
+
323
|
| 888 |
+
],
|
| 889 |
+
"page_idx": 9
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"text": "In this paper, we enhance Neural Programmer to work with weaker supervision signals to make it more broadly applicable. Soft selection during training enables the model to actively explore the space of programs by backpropagation with superior sample complexity. In our experiments, we show that the model achieves performance comparable to a state-of-the-art traditional semantic parser even though the training set contains only 10,000 examples. To our knowledge, this is the first instance of a weakly supervised, end-to-end neural network model that induces programs on a real-world dataset. ",
|
| 894 |
+
"bbox": [
|
| 895 |
+
174,
|
| 896 |
+
338,
|
| 897 |
+
825,
|
| 898 |
+
435
|
| 899 |
+
],
|
| 900 |
+
"page_idx": 9
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "text",
|
| 904 |
+
"text": "Acknowledgements We are grateful to Panupong Pasupat for answering numerous questions about the dataset, and providing pre-processed version of the dataset and the output of the semantic parser. We thank David Belanger, Samy Bengio, Greg Corrado, Andrew Dai, Jeff Dean, Nando de Freitas, Shixiang Gu, Navdeep Jaitly, Rafal Jozefowicz, Ashish Vaswani, Luke Vilnis, Yuan Yu and Barret Zoph for their suggestions and the Google Brain team for the support. Arvind Neelakantan is supported by a Google PhD fellowship in machine learning. ",
|
| 905 |
+
"bbox": [
|
| 906 |
+
174,
|
| 907 |
+
450,
|
| 908 |
+
825,
|
| 909 |
+
534
|
| 910 |
+
],
|
| 911 |
+
"page_idx": 9
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"text": "REFERENCES ",
|
| 916 |
+
"text_level": 1,
|
| 917 |
+
"bbox": [
|
| 918 |
+
174,
|
| 919 |
+
555,
|
| 920 |
+
285,
|
| 921 |
+
570
|
| 922 |
+
],
|
| 923 |
+
"page_idx": 9
|
| 924 |
+
},
|
| 925 |
+
{
|
| 926 |
+
"type": "text",
|
| 927 |
+
"text": "Mart´ın Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Gregory S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian J. Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafal Jozefowicz, Lukasz ´ Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mane, Rajat Monga, Sherry Moore, Derek Gor- ´ don Murray, Chris Olah, Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul A. Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda B. Viegas, Oriol Vinyals, ´ Pete Warden, Martin Wattenberg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. Tensorflow: Large-scale machine learning on heterogeneous distributed systems. ArXiv, 2016. ",
|
| 928 |
+
"bbox": [
|
| 929 |
+
174,
|
| 930 |
+
578,
|
| 931 |
+
825,
|
| 932 |
+
689
|
| 933 |
+
],
|
| 934 |
+
"page_idx": 9
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"type": "text",
|
| 938 |
+
"text": "Jacob Andreas, Marcus Rohrbach, Trevor Darrell, and Dan Klein. Learning to compose neural networks for question answering. NAACL, 2016. ",
|
| 939 |
+
"bbox": [
|
| 940 |
+
173,
|
| 941 |
+
698,
|
| 942 |
+
823,
|
| 943 |
+
727
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 9
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "text",
|
| 949 |
+
"text": "Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. ICLR, 2014. ",
|
| 950 |
+
"bbox": [
|
| 951 |
+
174,
|
| 952 |
+
736,
|
| 953 |
+
823,
|
| 954 |
+
765
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 9
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "text",
|
| 960 |
+
"text": "Antoine Bordes, Sumit Chopra, and Jason Weston. Question answering with subgraph embeddings. EMNLP, 2014. ",
|
| 961 |
+
"bbox": [
|
| 962 |
+
174,
|
| 963 |
+
773,
|
| 964 |
+
820,
|
| 965 |
+
801
|
| 966 |
+
],
|
| 967 |
+
"page_idx": 9
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"type": "text",
|
| 971 |
+
"text": "Andrew M Dai and Quoc V Le. Semi-supervised sequence learning. NIPS, 2015. ",
|
| 972 |
+
"bbox": [
|
| 973 |
+
173,
|
| 974 |
+
810,
|
| 975 |
+
709,
|
| 976 |
+
825
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 9
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "text",
|
| 982 |
+
"text": "Yarin Gal and Zoubin Ghahramani. A theoretically grounded application of dropout in recurrent neural networks. NIPS, 2016. ",
|
| 983 |
+
"bbox": [
|
| 984 |
+
173,
|
| 985 |
+
834,
|
| 986 |
+
825,
|
| 987 |
+
863
|
| 988 |
+
],
|
| 989 |
+
"page_idx": 9
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"type": "text",
|
| 993 |
+
"text": "Karl Moritz Hermann, Tomas Kocisk ´ y, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa ´ Suleyman, and Phil Blunsom. Teaching machines to read and comprehend. NIPS, 2015. ",
|
| 994 |
+
"bbox": [
|
| 995 |
+
174,
|
| 996 |
+
871,
|
| 997 |
+
821,
|
| 998 |
+
900
|
| 999 |
+
],
|
| 1000 |
+
"page_idx": 9
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"type": "text",
|
| 1004 |
+
"text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural Computation, 1997. ",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
173,
|
| 1007 |
+
909,
|
| 1008 |
+
808,
|
| 1009 |
+
924
|
| 1010 |
+
],
|
| 1011 |
+
"page_idx": 9
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"type": "text",
|
| 1015 |
+
"text": "Mohit Iyyer, Jordan L. Boyd-Graber, Leonardo Max Batista Claudino, Richard Socher, and Hal Daume III. A neural network for factoid question answering over paragraphs. ´ EMNLP, 2014. ",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
174,
|
| 1018 |
+
103,
|
| 1019 |
+
825,
|
| 1020 |
+
146
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 10
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "text",
|
| 1026 |
+
"text": "Mohit Iyyer, Varun Manjunatha, Jordan Boyd-Graber, and Hal Daume III. Deep unordered compo- ´ sition rivals syntactic methods for text classification. ACL, 2015. ",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
173,
|
| 1029 |
+
155,
|
| 1030 |
+
823,
|
| 1031 |
+
184
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 10
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "Robin Jia and Percy Liang. Data recombination for neural semantic parsing. ACL, 2016. ",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
176,
|
| 1040 |
+
193,
|
| 1041 |
+
753,
|
| 1042 |
+
208
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 10
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "Armand Joulin and Tomas Mikolov. Inferring algorithmic patterns with stack-augmented recurrent nets. NIPS, 2015. ",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
173,
|
| 1051 |
+
217,
|
| 1052 |
+
823,
|
| 1053 |
+
246
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 10
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "Lukasz Kaiser and Ilya Sutskever. Neural gpus learn algorithms. ICLR, 2016. ",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
176,
|
| 1062 |
+
253,
|
| 1063 |
+
687,
|
| 1064 |
+
270
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 10
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "text",
|
| 1070 |
+
"text": "Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. ICLR, 2014. ",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
176,
|
| 1073 |
+
279,
|
| 1074 |
+
795,
|
| 1075 |
+
294
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 10
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "Tomas Kocisky, Gabor Melis, Edward Grefenstette, Chris Dyer, Wang Ling, Phil Blunsom, and Karl Moritz Hermann. Semantic parsing with semi-supervised sequential autoencoders. ArXiv, 2016. ",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
176,
|
| 1084 |
+
303,
|
| 1085 |
+
823,
|
| 1086 |
+
345
|
| 1087 |
+
],
|
| 1088 |
+
"page_idx": 10
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"type": "text",
|
| 1092 |
+
"text": "Jayant Krishnamurthy and Thomas Kollar. Jointly learning to parse and perceive: Connecting natural language to the physical world. TACL, 2013. ",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
169,
|
| 1095 |
+
354,
|
| 1096 |
+
823,
|
| 1097 |
+
383
|
| 1098 |
+
],
|
| 1099 |
+
"page_idx": 10
|
| 1100 |
+
},
|
| 1101 |
+
{
|
| 1102 |
+
"type": "text",
|
| 1103 |
+
"text": "Ankit Kumar, Ozan Irsoy, Jonathan Su, James Bradbury, Robert English, Brian Pierce, Peter Ondruska, Ishaan Gulrajani, and Richard Socher. Ask me anything: Dynamic memory networks for natural language processing. ICML, 2016. ",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
176,
|
| 1106 |
+
392,
|
| 1107 |
+
825,
|
| 1108 |
+
435
|
| 1109 |
+
],
|
| 1110 |
+
"page_idx": 10
|
| 1111 |
+
},
|
| 1112 |
+
{
|
| 1113 |
+
"type": "text",
|
| 1114 |
+
"text": "Tom Kwiatkowski, Eunsol Choi, Yoav Artzi, and Luke Zettlemoyer. Scaling semantic parsers with on-the-fly ontology matching. EMNLP, 2013. ",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
176,
|
| 1117 |
+
444,
|
| 1118 |
+
821,
|
| 1119 |
+
473
|
| 1120 |
+
],
|
| 1121 |
+
"page_idx": 10
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"type": "text",
|
| 1125 |
+
"text": "Chen Liang, Jonathan Berant, Quoc Le, Kenneth Forbus, and Ni Lao. Neural symbolic machines: Learning semantic parsers on freebase with weak supervision. NAMPI Workshop, NIPS, 2016. ",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
176,
|
| 1128 |
+
481,
|
| 1129 |
+
818,
|
| 1130 |
+
511
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 10
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "Percy Liang. Learning executable semantic parsers for natural language understanding. ACM, 2016. ",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
173,
|
| 1139 |
+
520,
|
| 1140 |
+
820,
|
| 1141 |
+
536
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 10
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "Percy Liang, Michael I. Jordan, and Dan Klein. Learning dependency-based compositional semantics. ACL, 2011. ",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
174,
|
| 1150 |
+
544,
|
| 1151 |
+
821,
|
| 1152 |
+
573
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 10
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. ArXiv, 2013. ",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
173,
|
| 1161 |
+
582,
|
| 1162 |
+
821,
|
| 1163 |
+
611
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 10
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"type": "text",
|
| 1169 |
+
"text": "Arvind Neelakantan, Quoc V. Le, and Ilya Sutskever. Neural programmer: Neural programmer: Inducing latent programs with gradient descent. ICLR, 2016. ",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
173,
|
| 1172 |
+
619,
|
| 1173 |
+
821,
|
| 1174 |
+
650
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 10
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "text",
|
| 1180 |
+
"text": "Panupong Pasupat and Percy Liang. Compositional semantic parsing on semi-structured tables. ACL, 2015. ",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
174,
|
| 1183 |
+
657,
|
| 1184 |
+
821,
|
| 1185 |
+
686
|
| 1186 |
+
],
|
| 1187 |
+
"page_idx": 10
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "text",
|
| 1191 |
+
"text": "Baolin Peng, Zhengdong Lu, Hang Li, and Kam-Fai Wong. Towards neural network-based reasoning. ArXiv, 2015. ",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
173,
|
| 1194 |
+
695,
|
| 1195 |
+
823,
|
| 1196 |
+
724
|
| 1197 |
+
],
|
| 1198 |
+
"page_idx": 10
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"type": "text",
|
| 1202 |
+
"text": "Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. Squad: 100, $0 0 0 +$ questions for machine comprehension of text. ArXiv, 2016. ",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
173,
|
| 1205 |
+
733,
|
| 1206 |
+
823,
|
| 1207 |
+
762
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 10
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "Scott Reed and Nando De Freitas. Neural programmer-interpreters. ICLR, 2016. ",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
173,
|
| 1216 |
+
771,
|
| 1217 |
+
704,
|
| 1218 |
+
787
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 10
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. JMLR, 2014. ",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
176,
|
| 1227 |
+
795,
|
| 1228 |
+
820,
|
| 1229 |
+
824
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 10
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "text",
|
| 1235 |
+
"text": "Sainbayar Sukhbaatar, Arthur Szlam, Jason Weston, and Rob Fergus. End-to-end memory networks. NIPS, 2015. ",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
174,
|
| 1238 |
+
833,
|
| 1239 |
+
821,
|
| 1240 |
+
862
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 10
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "text",
|
| 1246 |
+
"text": "Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. Sequence to sequence learning with neural networks. NIPS, 2014. ",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
173,
|
| 1249 |
+
871,
|
| 1250 |
+
823,
|
| 1251 |
+
900
|
| 1252 |
+
],
|
| 1253 |
+
"page_idx": 10
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"type": "text",
|
| 1257 |
+
"text": "Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. Pointer networks. NIPS, 2015. ",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
171,
|
| 1260 |
+
909,
|
| 1261 |
+
722,
|
| 1262 |
+
924
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 10
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "text",
|
| 1268 |
+
"text": "Shuohang Wang and Jing Jiang. Machine comprehension using match-lstm and answer pointer. ArXiv, 2016. ",
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
173,
|
| 1271 |
+
103,
|
| 1272 |
+
823,
|
| 1273 |
+
132
|
| 1274 |
+
],
|
| 1275 |
+
"page_idx": 11
|
| 1276 |
+
},
|
| 1277 |
+
{
|
| 1278 |
+
"type": "text",
|
| 1279 |
+
"text": "Yushi Wang, Jonathan Berant, and Percy Liang. Building a semantic parser overnight. ACL, 2015. ",
|
| 1280 |
+
"bbox": [
|
| 1281 |
+
173,
|
| 1282 |
+
140,
|
| 1283 |
+
820,
|
| 1284 |
+
157
|
| 1285 |
+
],
|
| 1286 |
+
"page_idx": 11
|
| 1287 |
+
},
|
| 1288 |
+
{
|
| 1289 |
+
"type": "text",
|
| 1290 |
+
"text": "P. Werbos. Backpropagation through time: what does it do and how to do it. Proceedings of IEEE, 1990. ",
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
173,
|
| 1293 |
+
165,
|
| 1294 |
+
823,
|
| 1295 |
+
195
|
| 1296 |
+
],
|
| 1297 |
+
"page_idx": 11
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"type": "text",
|
| 1301 |
+
"text": "Ronald Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 1992. ",
|
| 1302 |
+
"bbox": [
|
| 1303 |
+
171,
|
| 1304 |
+
203,
|
| 1305 |
+
823,
|
| 1306 |
+
232
|
| 1307 |
+
],
|
| 1308 |
+
"page_idx": 11
|
| 1309 |
+
},
|
| 1310 |
+
{
|
| 1311 |
+
"type": "text",
|
| 1312 |
+
"text": "Pengcheng Yin, Zhengdong Lu, Hang Li, and Ben Kao. Neural enquirer: Learning to query tables with natural language. ArXiv, 2015. ",
|
| 1313 |
+
"bbox": [
|
| 1314 |
+
169,
|
| 1315 |
+
239,
|
| 1316 |
+
825,
|
| 1317 |
+
270
|
| 1318 |
+
],
|
| 1319 |
+
"page_idx": 11
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"type": "text",
|
| 1323 |
+
"text": "Wojciech Zaremba, Tomas Mikolov, Armand Joulin, and Rob Fergus. Learning simple algorithms from examples. ICML, 2016. ",
|
| 1324 |
+
"bbox": [
|
| 1325 |
+
171,
|
| 1326 |
+
277,
|
| 1327 |
+
823,
|
| 1328 |
+
308
|
| 1329 |
+
],
|
| 1330 |
+
"page_idx": 11
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"type": "text",
|
| 1334 |
+
"text": "John M. Zelle and Raymond J. Mooney. Learning to parse database queries using inductive logic programming. AAAI/IAAI, 1996. ",
|
| 1335 |
+
"bbox": [
|
| 1336 |
+
169,
|
| 1337 |
+
315,
|
| 1338 |
+
823,
|
| 1339 |
+
344
|
| 1340 |
+
],
|
| 1341 |
+
"page_idx": 11
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"type": "text",
|
| 1345 |
+
"text": "Luke S. Zettlemoyer and Michael Collins. Learning to map sentences to logical form: Structured classification with probabilistic categorial grammars. UAI, 2005. ",
|
| 1346 |
+
"bbox": [
|
| 1347 |
+
169,
|
| 1348 |
+
353,
|
| 1349 |
+
825,
|
| 1350 |
+
383
|
| 1351 |
+
],
|
| 1352 |
+
"page_idx": 11
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"type": "table",
|
| 1356 |
+
"img_path": "images/f31217e4b049803ac299cec64df3ccc0aab3d5ceb23f94690a27f87d74bcc9cb.jpg",
|
| 1357 |
+
"table_caption": [],
|
| 1358 |
+
"table_footnote": [],
|
| 1359 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Type</td><td rowspan=1 colspan=1>Operation</td><td rowspan=1 colspan=3>Definition</td></tr><tr><td rowspan=1 colspan=1>Aggregate</td><td rowspan=1 colspan=1>count</td><td rowspan=1 colspan=3>Mcountt =∑ row_selectt-1[i]i=1</td></tr><tr><td rowspan=2 colspan=1>Superlative</td><td rowspan=1 colspan=1>argmax</td><td rowspan=1 colspan=3>maxt[i][j]=max(O.0,row_selectt-1[i]-C([[[i][]]<I[k][j]] × row_selectt-1[k])),i=1,...,M,j=1,...,C</td></tr><tr><td rowspan=1 colspan=1>argmin</td><td rowspan=1 colspan=3>mint[i][j]=max(O.0,row_selectt-1[i]-M([[i][j] > I[k][j]] × row_select-1[k])),i=1,...,M,j =1,...,C</td></tr><tr><td rowspan=4 colspan=1>Comparison</td><td rowspan=1 colspan=1>></td><td rowspan=1 colspan=1>gi][i]=II</td><td rowspan=1 colspan=1>illi</td><td rowspan=1 colspan=1>g[i][j]= I[i][] > pivotg,V(i,j),i= 1,...,M,j = 1,...,C</td></tr><tr><td rowspan=1 colspan=1><</td><td rowspan=1 colspan=1>[i][=II</td><td rowspan=1 colspan=1>i]i</td><td rowspan=1 colspan=1>li][j]=I[i][]< pivot,V(i,j),i =1,...,M,j=1,...,C</td></tr><tr><td rowspan=1 colspan=1>M</td><td rowspan=1 colspan=1>geii=II</td><td rowspan=1 colspan=1>il</td><td rowspan=1 colspan=1>geli]l]= I[𝑖]j]≥ pivotge,∀(i,j),i = 1,...,M,j = 1,...,C</td></tr><tr><td rowspan=1 colspan=1>≤</td><td rowspan=1 colspan=2>leij=Iij</td><td rowspan=1 colspan=1>le[i][j]=II[i][j]≤ pivote,V(i,j),i=1,...,M,j=1,...,C</td></tr><tr><td rowspan=6 colspan=1>Table Ops</td><td rowspan=1 colspan=1>select</td><td rowspan=1 colspan=3>s[i][j]= 1.O if II[i]lj] appears in question else 0.0,∀(i,j),i=1,...,M,j =1,...,C</td></tr><tr><td rowspan=1 colspan=1>mfe</td><td rowspan=1 colspan=3>mfe[i][j]=1.O if I[i]lj] is the most common entry in column j else 0.0,∀(i,j),i =1,...,M,j=1,.,C</td></tr><tr><td rowspan=1 colspan=1>first</td><td rowspan=1 colspan=3>i=1,...,M</td></tr><tr><td rowspan=1 colspan=1>last</td><td rowspan=1 colspan=3>i=1,...,M</td></tr><tr><td rowspan=1 colspan=1>previous</td><td rowspan=1 colspan=3>Pt[]= row_selectt-1[i+ 1],i=1,...,M-1;pt[M]=0</td></tr><tr><td rowspan=1 colspan=1>next</td><td rowspan=1 colspan=3>nt[i]=row_selectt-1[i-1],i=2,...,M;nt[1]=0</td></tr><tr><td rowspan=1 colspan=1>Print</td><td rowspan=1 colspan=1>print</td><td rowspan=1 colspan=3>lookup answert[il[i]= row_selectt-1[i],∀(i,j)i=1,...,M,j =1,...,C</td></tr><tr><td rowspan=1 colspan=1>Reset</td><td rowspan=1 colspan=1>reset</td><td rowspan=1 colspan=3>rt[]=1,Vi =1,2,...,M</td></tr></table>",
|
| 1360 |
+
"bbox": [
|
| 1361 |
+
173,
|
| 1362 |
+
101,
|
| 1363 |
+
831,
|
| 1364 |
+
424
|
| 1365 |
+
],
|
| 1366 |
+
"page_idx": 12
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"type": "text",
|
| 1370 |
+
"text": "Table 5: List of all operations provided to the model along with their definitions. mfe is abbreviation for the operation most frequent entry. [cond] is 1 when cond is True, and 0 otherwise. Comparison, select, reset and mfe operations are independent of the timestep while all the other operations are computed at every time step. Superlative operations and most frequent entry are computed within a column. The operations calculate the expected output with the respect to the membership probabilities given by the row selector so that they can work with probabilistic selection. ",
|
| 1371 |
+
"bbox": [
|
| 1372 |
+
173,
|
| 1373 |
+
433,
|
| 1374 |
+
826,
|
| 1375 |
+
518
|
| 1376 |
+
],
|
| 1377 |
+
"page_idx": 12
|
| 1378 |
+
},
|
| 1379 |
+
{
|
| 1380 |
+
"type": "text",
|
| 1381 |
+
"text": "APPENDIX ",
|
| 1382 |
+
"text_level": 1,
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
176,
|
| 1385 |
+
541,
|
| 1386 |
+
263,
|
| 1387 |
+
556
|
| 1388 |
+
],
|
| 1389 |
+
"page_idx": 12
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"type": "text",
|
| 1393 |
+
"text": "OPERATIONS",
|
| 1394 |
+
"text_level": 1,
|
| 1395 |
+
"bbox": [
|
| 1396 |
+
174,
|
| 1397 |
+
602,
|
| 1398 |
+
266,
|
| 1399 |
+
616
|
| 1400 |
+
],
|
| 1401 |
+
"page_idx": 12
|
| 1402 |
+
},
|
| 1403 |
+
{
|
| 1404 |
+
"type": "text",
|
| 1405 |
+
"text": "Table 5 shows the list of operations built into the model along with their definitions. ",
|
| 1406 |
+
"bbox": [
|
| 1407 |
+
173,
|
| 1408 |
+
627,
|
| 1409 |
+
722,
|
| 1410 |
+
642
|
| 1411 |
+
],
|
| 1412 |
+
"page_idx": 12
|
| 1413 |
+
},
|
| 1414 |
+
{
|
| 1415 |
+
"type": "text",
|
| 1416 |
+
"text": "ROW SELECTOR ",
|
| 1417 |
+
"bbox": [
|
| 1418 |
+
174,
|
| 1419 |
+
659,
|
| 1420 |
+
287,
|
| 1421 |
+
672
|
| 1422 |
+
],
|
| 1423 |
+
"page_idx": 12
|
| 1424 |
+
},
|
| 1425 |
+
{
|
| 1426 |
+
"type": "text",
|
| 1427 |
+
"text": "As discussed in Section 2.3, the output variables scalar answer and lookup answer are calculated using the output of the count operations and print operation respectively. The row selector is computed using the output of the remaining operations and is given by, ",
|
| 1428 |
+
"bbox": [
|
| 1429 |
+
176,
|
| 1430 |
+
684,
|
| 1431 |
+
825,
|
| 1432 |
+
727
|
| 1433 |
+
],
|
| 1434 |
+
"page_idx": 12
|
| 1435 |
+
},
|
| 1436 |
+
{
|
| 1437 |
+
"type": "equation",
|
| 1438 |
+
"img_path": "images/177b37bcedf712f1d9b57b4a3d8926defc13bfe0e35ea14123fa2180e3a5d89d.jpg",
|
| 1439 |
+
"text": "$$\n\\begin{array} { l } { { r o w ~ s e l e c t o r } [ \\hat { l } ] = \\displaystyle \\sum _ { j = 1 } ^ { C } \\{ \\alpha _ { t } ^ { c o l } ( j ) \\alpha _ { t } ^ { o p } ( > ) g [ \\hat { l } ] [ j ] + \\alpha _ { t } ^ { c o l } ( j ) \\alpha _ { t } ^ { o p } ( < ) l [ \\hat { l } ] [ j ] } \\\\ { ~ + ~ \\alpha _ { t } ^ { c o l } ( j ) \\alpha _ { t } ^ { o p } ( \\ge ) g [ \\hat { l } ] [ j ] + \\alpha _ { t } ^ { c o l } ( j ) \\alpha _ { t } ^ { o p } ( \\le ) l [ \\hat { l } ] [ j ] , } \\\\ { { ~ + ~ \\alpha _ { t } ^ { c o l } ( j ) \\alpha _ { t } ^ { o p } ( a r g m a x ) m a x [ \\hat { l } ] j ] + \\alpha _ { t } ^ { c o l } ( j ) \\alpha _ { t } ^ { o p } ( a r g m i n _ { t } ) m i n [ \\hat { l } ] [ j ] , } } \\\\ { { ~ + ~ \\alpha _ { t } ^ { c o l } ( j ) \\alpha _ { t } ^ { o p } ( s e l e c t ) s [ i ] [ j ] + \\alpha _ { t } ^ { c o l } ( j ) \\alpha _ { t } ^ { o p } ( m f e ) m f e [ \\hat { l } ] [ j ] ] } } \\\\ { { ~ + ~ \\alpha _ { t } ^ { c o l } ( j ) \\alpha _ { t } ^ { o p } ( s e l e c t ) s [ i ] [ j ] + \\alpha _ { t } ^ { c o l } ( j ) \\alpha _ { t } ^ { o p } ( m f e ) m f e [ \\hat { l } ] [ j ] ] } } \\\\ { { ~ + ~ \\alpha _ { t } ^ { o p } ( p r e v i o u s ) p _ { t } [ \\hat { l } ] + \\alpha _ { t } ^ { o p } ( m e x t ) n _ { t } [ \\hat { l } ] + \\alpha _ { t } ^ { o p } ( r e s e t ) r _ { t } [ \\hat { l } ] } } \\\\ { { ~ + ~ \\alpha _ { t } ^ { e o p } ( f i r s t ) f [ \\hat { l } ] + \\alpha _ { t } ^ { o p } ( l a s t ) l a _ { t } [ \\hat { l } ] } } \\\\ { { ~ \\forall i , i = 1 , 2 , . . . , ~ M } } \\end{array}\n$$",
|
| 1440 |
+
"text_format": "latex",
|
| 1441 |
+
"bbox": [
|
| 1442 |
+
214,
|
| 1443 |
+
729,
|
| 1444 |
+
785,
|
| 1445 |
+
891
|
| 1446 |
+
],
|
| 1447 |
+
"page_idx": 12
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "text",
|
| 1451 |
+
"text": "where $\\alpha _ { t } ^ { o p } ( o p )$ and $\\alpha _ { t } ^ { c o l } ( j )$ are the probabilities assigned by the selector to operation $o p$ and column $j$ at timestep $t$ respectively. ",
|
| 1452 |
+
"bbox": [
|
| 1453 |
+
174,
|
| 1454 |
+
895,
|
| 1455 |
+
823,
|
| 1456 |
+
924
|
| 1457 |
+
],
|
| 1458 |
+
"page_idx": 12
|
| 1459 |
+
}
|
| 1460 |
+
]
|
parse/train/ry2YOrcge/ry2YOrcge_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/ry2YOrcge/ry2YOrcge_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/vrhNQ7aYSdr/vrhNQ7aYSdr.md
ADDED
|
@@ -0,0 +1,274 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SubTab: Subsetting Features of Tabular Data for Self-Supervised Representation Learning
|
| 2 |
+
|
| 3 |
+
Talip Uçar, Ehsan Hajiramezanali, Lindsay Edwards
|
| 4 |
+
|
| 5 |
+
Respiratory and Immunology, R&D, AstraZeneca {talip.ucar, ehsan.hajiramezanali, lindsay.edwards}@astrazeneca.com
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
Self-supervised learning has been shown to be very effective in learning useful representations, and yet much of the success is achieved in data types such as images, audio, and text. The success is mainly enabled by taking advantage of spatial, temporal, or semantic structure in the data through augmentation. However, such structure may not exist in tabular datasets commonly used in fields such as healthcare, making it difficult to design an effective augmentation method, and hindering a similar progress in tabular data setting. In this paper, we introduce a new framework, Subsetting features of Tabular data (SubTab), that turns the task of learning from tabular data into a multi-view representation learning problem by dividing the input features to multiple subsets. We argue that reconstructing the data from the subset of its features rather than its corrupted version in an autoencoder setting can better capture its underlying latent representation. In this framework, the joint representation can be expressed as the aggregate of latent variables of the subsets at test time, which we refer to as collaborative inference. Our experiments show that the SubTab achieves the state of the art (SOTA) performance of $9 8 . 3 1 \%$ on MNIST in tabular setting, on par with CNN-based SOTA models, and surpasses existing baselines on three other real-world datasets by a significant margin.
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
In recent years, the self-supervised learning has successfully been used to learn meaningful representations of the data in natural language processing [34, 41, 11, 28, 10, 21, 9]. A similar success has been achieved in image and audio domains [7, 15, 37, 5, 17, 13, 8]. This progress is mainly enabled by taking advantage of spatial, semantic, or temporal structure in the data through data augmentation [7] , pretext task generation [11] and using inductive biases through architectural choices (e.g. CNN for images). However, these methods can be less effective in the lack of such structures and biases in the tabular data commonly used in many fields such as healthcare, advertisement, finance, and law. And some augmentation methods such as cropping, rotation, color transformation etc. are domain specific, and not suitable for tabular setting. The difficulty in designing similarly effective methods tailored for tabular data is one of the reasons why self-supervised learning is under-studied in this domain $\lVert \overline { { 4 6 } } \rVert$ .
|
| 14 |
+
|
| 15 |
+
The most common approach in tabular data is to corrupt data through adding noise $\boxed { 4 3 }$ . An autoencoder maps corrupted examples of data to a latent space, from which it maps back to uncorrupted data. Through this process, it learns a representation robust to the noise in the input. This approach may not be as effective since it treats all features equally as if features are equally informative. However, perturbing uninformative features may not result in the intended goal of the corruption. A recent work takes advantage of self-supervised learning in tabular data setting by introducing a pretext task [46], in which a de-noising autoencoder with a classifier attached to representation layer is trained on corrupted data. The classifier’s task is to predict the location of corrupted features. However, this framework still relies on noisy data in the input. Additionally, training a classifier on an imbalanced binary mask for a high-dimensional data may not be ideal to learn meaningful representations.
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: SubTab framework: i) Dividing the features into subsets (similar to feature bagging, or cropping images), ii) Reconstruction of either subsets of features $( \tilde { x } _ { 1 } , \tilde { x } _ { 2 } , \tilde { x } _ { 3 } )$ , or complete feature space $( \breve { \tilde { X } } _ { 1 } , \tilde { X } _ { 2 } , \tilde { X } _ { 3 } )$ , which are used to compute reconstruction loss. iii) Generating projections used to compute contrastive and distance loss. $E \equiv E n c o d e r .$ $D \equiv D e c o d e r$ , $G \equiv P r$ ojection.
|
| 19 |
+
|
| 20 |
+
In this work, we turn the problem of learning representation from a single-view of the data into the one learnt from its multiple views by dividing the features into subsets, akin to cropping in image domain or feature bagging in ensemble learning, to generate different views of the data. Each subset can be considered a different view. We show that reconstructing data from the subset of its features forces the encoder to learn better representation than the ones learned through the existing methods such as adding noise. We train our model in a self-supervised setting and evaluate it on downstream tasks such as classification, and clustering. We use five different datasets; MNIST in tabular format, the cancer genome atlas (TCGA) [42], human gut metagen-omic samples of obesity cohorts (Obesity) [36, 26], UCI adult income (Income) [24], and UCI BlogFeedback (Blog) [4].
|
| 21 |
+
|
| 22 |
+
SubTab can: i) construct a better representation by using the aggregate of the representation of the subsets, a process that we refer as collaborative inference ii) discover the regions of informative features by measuring predictive power of each subset, which is useful especially in high-dimensional data iii) do training and inference in the presence of missing features by ignoring corresponding subsets and iv) use smaller models by reducing input dimension, making it less prone to overfitting.
|
| 23 |
+
|
| 24 |
+
# 2 Method
|
| 25 |
+
|
| 26 |
+
The augmentation methods such as adding noise, rotation, cropping etc. are commonly used in image domain. Among them, the cropping is shown to be the most effective technique $\textcircled { 7 }$ . Inspired from this insight, we propose subsetting features of tabular data.
|
| 27 |
+
|
| 28 |
+
Figure 1 presents SubTab framework, in which we have an encoder (E), a decoder (D), and an optional projection (G). For the purpose of this paper, we will refer $^ { h }$ as latent, or representation, $_ { z }$ as projection, $\tilde { \pmb x }$ , and $\tilde { X }$ as the reconstruction of subset, and whole data respectively. Small letters are associated with subsets while capital latters are associated the whole set of features. Moreover, throughout this work, when we say that a representation is "good", we refer to its performance in a classification task using a linear model.
|
| 29 |
+
|
| 30 |
+
In SubTab framework, we divide tabular data to multiple subsets. Neighbouring subsets can have overlapping regions, defined as a percentage of a dimension of the subset. Each of the subsets is fed to the same encoder (i.e. parameter sharing) to get their corresponding latent representation. A shared decoder is used to reconstruct either the subset fed to the encoder, or full tabular data (i.e. reconstructing all features from the subset of features). We chose the latter in our experiments since it is more effective in learning good representations. We should also note that, in the latter case, the autoencoder cannot learn the identity, eliminating the constraint on the dimension of the bottleneck (i.e. representation). We compute one reconstruction loss term per subset.
|
| 31 |
+
|
| 32 |
+

|
| 33 |
+
Figure 2: a) Push-Pull forces applied by each loss. PS / NS $:$ Positive/Negative sample; CL/RL/DL: Contrastive, Reconstruction, Distance losses b) Column or feature selection strategies for adding noise to each subset. Top: Selecting a block of neighbouring columns; Middle: Selecting columns randomly; Bottom: Selecting random features per row c) Latent variables from each subset is aggregated at test time. The mean (default), sum, max, or min aggregation can be used.
|
| 34 |
+
|
| 35 |
+
Moreover, we can optionally add contrastive loss to our objective by using all combination of pairs of projections from all subsets. For example, given three subsets as in Figure 1, there are three combinations of two: $\textstyle { { \binom { n } { k } } = { \binom { 3 } { 2 } } = { \frac { 3 ! } { 2 ! ( 1 ) ! } } = \dot { 3 } }$ . For four subsets, it would be 6 pairs of combination, and so on. We can add one more loss term, referred as distance loss, to reduce the distance between the pairs of projections of the subsets by using a loss function such as mean squared error (MSE). All three loss terms apply a pulling force on positive samples while contrastive loss also applies a push force between positive and negative samples as shown in Figure 2a.
|
| 36 |
+
|
| 37 |
+
Once the dataset is divided into subsets in data preparation step, a process that is similar to feature bagging in ensemble learning, their location is fixed. Thus, we don’t change the relative order of features in a subset during training since standard neural network architectures are not permutation invariant. This is to ensure that same features are fed to the same input units of neural network. However, our method can be extended to permutation invariant setting as a next step.
|
| 38 |
+
|
| 39 |
+
# 2.1 Strategies for adding noise
|
| 40 |
+
|
| 41 |
+
Our framework is complementary to other augmentation techniques used in tabular data setting. Thus, we experimented with adding noise to randomly selected entries in each subset by using three types of noise: i) adding Gaussian noise, ${ \mathcal { N } } ( 0 , \sigma ^ { 2 } )$ , ii) overwriting the value of a selected entry with another value randomly sampled from the same column, referred as swap-noise, iii) zeroing-out randomly selected entries, referred as zero-out noise.
|
| 42 |
+
|
| 43 |
+
Moreover, we use three different strategies when selecting the features to add noise to, as shown in Figure 2b: i) a random block of neighboring columns (NC), ii) random columns (RC) iii) random features per each sample (RF). To add noise, we create a binomial mask, $_ { \mathbf { \nabla } } \mathbf { m }$ , and a noise matrix, $\epsilon$ with same shape as the subset, in which the entries of the mask is assigned to 1 with probability $p$ and to 0 otherwise. The corrupted version, $\scriptstyle { \mathbf { \mathcal { x } } } _ { 1 c }$ , of subset $\mathbf { \mathbf { { x } _ { 1 } } }$ is generated as following:
|
| 44 |
+
|
| 45 |
+
$$
|
| 46 |
+
x _ { 1 c } = ( 1 - m ) \odot x _ { 1 } + m \odot \epsilon
|
| 47 |
+
$$
|
| 48 |
+
|
| 49 |
+
# 2.2 Training
|
| 50 |
+
|
| 51 |
+
Our objective function is:
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\mathcal { L } _ { t } = \mathcal { L } _ { r } + \mathcal { L } _ { c } + \mathcal { L } _ { d } ,
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
where $\mathcal { L } _ { t } , \mathcal { L } _ { r }$ , $\mathcal { L } _ { c }$ and $\mathcal { L } _ { d }$ are total, reconstruction, contrastive, and distance losses, respectively.
|
| 58 |
+
|
| 59 |
+
i) Reconstruction loss: Given a subset, denoted by $\scriptstyle { \mathbf { 2 } } \mathbf { 4 }$ , we can reconstruct either the same subset, $\tilde { \mathbfit { x } } _ { k }$ or the entire feature space $\tilde { X } _ { k }$ . Then, we can compute the reconstruction loss for $k ^ { t h }$ subset by
|
| 60 |
+
|
| 61 |
+
computing mean squared error using either $( x _ { k } , \tilde { x } _ { k } )$ , or $( X , \tilde { X } _ { k } )$ pair as shown in Figure 1. We chose the latter since it was more effective. Overall reconstruction loss:
|
| 62 |
+
|
| 63 |
+
$$
|
| 64 |
+
\mathcal { L } _ { r } = \frac { 1 } { K } \sum _ { k = 1 } ^ { K } s _ { k } , \mathrm { w h e r e } s _ { k } = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \left( X ^ { ( i ) } - \tilde { X } _ { k } ^ { ( i ) } \right) ^ { 2 }
|
| 65 |
+
$$
|
| 66 |
+
|
| 67 |
+
where $K$ is the total number of subsets, $N$ is the size of the batch, $s _ { k }$ is the reconstruction loss for $k ^ { t h }$ subset, and $\mathcal { L } _ { r }$ is the average of reconstruction loss over all subsets.
|
| 68 |
+
|
| 69 |
+
ii) Contrastive loss: If the dataset is rich in the number of classes such that chances of sampling negative samples are high, we can use a projection network (G) to get projections, $z ^ { \prime } s$ , of representations, $\bar { \boldsymbol { h } } ^ { \prime } \boldsymbol { s }$ . Samples at the same rows of two subsets, ${ z } _ { 1 }$ and ${ z _ { 2 } }$ , can be considered as positive pairs while remaining rows in the subsets can be considered as negative to those samples.This allows us to compute the contrastive loss for each pair of projections using a loss function such as the normalized temperature-scaled cross entropy loss (NT-Xent) $\lVert \rVert$ . For three subsets, $\{ x _ { 1 } , x _ { 2 } , x _ { 3 } \}$ , we can compute such a loss for every pair $\{ z _ { a } , z _ { b } \}$ of total three pairs from the set $\bar { S } = \{ \{ z _ { 1 } , z _ { 2 } \} , \{ z _ { 1 } , z _ { 3 } \} , \{ z _ { 2 } , z _ { 3 } \} \}$ . Overall contrastive loss is:
|
| 70 |
+
|
| 71 |
+
$$
|
| 72 |
+
\mathcal { L } _ { c } = \frac { 1 } { J } \sum _ { \{ z _ { a } , z _ { b } \} \in S } p ( z _ { a } , z _ { b } ) , \mathrm { ~ w h e r e ~ } p ( z _ { a } , z _ { b } ) = \frac { 1 } { 2 N } \sum _ { i = 1 } ^ { N } \Big [ l ( z _ { a } ( ^ { i } ) , z _ { b } ( ^ { i } ) ) + l ( z _ { b } ( ^ { i } ) , z _ { a } ( ^ { i } ) ) \Big ]
|
| 73 |
+
$$
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
l ( z _ { \mathbf { a } } ^ { ( i ) } , z _ { b } ^ { ( i ) } ) = - \log \frac { \exp ( s i m ( z _ { \mathbf { a } } ^ { ( i ) } , z _ { b } ^ { ( i ) } ) / \tau ) } { \sum _ { k = 1 } ^ { N } \mathbb { 1 } _ { k \neq i } \exp ( s i m ( z _ { \mathbf { a } } ^ { ( i ) } , z _ { b } ^ { ( k ) } ) / \tau ) }
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
where $J$ is the total number of pairs in set $S$ , $p ( z _ { a } , z _ { b } )$ is total contrastive loss for a pair of projection $\{ z _ { a } , z _ { b } \}$ , $l \big ( z _ { a } ^ { \mathrm { ~ } } ^ { ( i ) } , z _ { b } ^ { \mathrm { ~ } ( i ) } \big )$ is the loss function for a corresponding positive pairs of examples $( z _ { a } { ^ { ( i ) } } , z _ { b } { ^ { ( i ) } } )$ in subsets $\{ z _ { a } , z _ { b } \}$ , and $\mathcal { L } _ { c }$ is the average of contrastive loss over all pairs.
|
| 80 |
+
|
| 81 |
+
iii) Distance loss: We can also add mean-squared error (MSE) loss for pairs of projections of subsets since the corresponding samples in subsets should be close to each other. Hence, we can compute an overall MSE loss as:
|
| 82 |
+
|
| 83 |
+
$$
|
| 84 |
+
{ \mathcal { L } } _ { d } = { \frac { 1 } { J } } \sum _ { \{ z _ { a } , z _ { b } \} \in S } p ( z _ { a } , z _ { b } ) , { \mathrm { ~ w h e r e ~ } } p ( z _ { a } , z _ { b } ) = { \frac { 1 } { N } } \sum _ { i = 1 } ^ { N } \left( z _ { a } ^ { ( i ) } - z _ { b } ^ { ( i ) } \right) ^ { 2 }
|
| 85 |
+
$$
|
| 86 |
+
|
| 87 |
+
The pseudocode of algorithm can be found in Algorithm $\bigstar$ in the Appendix. We should note that both $\mathcal { L } _ { c }$ and $\mathcal { L } _ { d }$ in equation $^ { ( 2 ) }$ are optional, and we used them only in some experiments.
|
| 88 |
+
|
| 89 |
+
# 2.3 Test time
|
| 90 |
+
|
| 91 |
+
At test time, we feed the subsets of test set to the encoder, and get the aggregate of the representations of all available subsets as shown in Figure $2 \mathrm { c } .$ Please note that we can use mean, sum, min, max, or any other aggregation method to get joint representation, which is analogous to pooling in Computer Vision, or the aggregation of neighbouring nodes in graph convolutional networks $\pmb { \widetilde { \left. 2 3 \right. } }$ . We used mean aggregation in all our experiments, but did compare different aggregation methods in Appendix F.4. Our experiments show that we can use the representations of only one, or few subsets and still achieve a good performance at test time. For example, we could use only $h _ { 1 }$ , or aggregate of $\boldsymbol { h } _ { 1 }$ and $h _ { 2 }$ rather than aggregating over all subsets $( h _ { 1 } , h _ { 2 } , h _ { 3 } )$ in Figure $\boxed { 2 \mathrm { c } }$ This allows the model to infer from the data even in the presence of missing features, in which case we can ignore the subset with missing features. We can also design an aggregation function that computes weighted mean of the representations of subsets since some subsets might be more informative than others:
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
h = \frac { 1 } { Z } \sum _ { k = 1 } ^ { K } \eta _ { k } * h _ { k } , \mathrm { a n d } Z = \sum _ { k = 1 } ^ { K } \eta _ { k } ,
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
where $K$ is number of subsets, and $\eta _ { k }$ is the weight for $k _ { t h }$ subset. $\eta$ can be a learnable parameter in semi-supervised, or supervised setting by using an attention mechanism. We can also use 1D convolution in equation $\textcircled { 7 }$ by treating representations of subsets as separate channels during training. We left these ideas as future work and used the mean aggregation (i.e. $\eta _ { k } = 1 \mathrm { ~ }$ ) throughout our experiments, unless explicitly stated. A comparison of different aggregation methods can be found in Table $\underline { { \sqrt { \bf A } ^ { 3 } } } \mathrm { | i n }$ the Appendix.
|
| 98 |
+
|
| 99 |
+
# 3 Experiments
|
| 100 |
+
|
| 101 |
+
We conducted various experiments on diverse set of tabular datasets including MNIST $\pm \pm$ in tabular format, the cancer genome atlas (TCGA) $\pmb { \| 4 2 } \pmb { \| }$ , human gut metagen-omic samples of obesity cohorts (Obesity) [36, 26], UCI adult income (Income) $\pm \overbrace { | 2 4 | }$ , and UCI BlogFeedback (Blog) [4] to demonstrate the effectiveness of the SubTab framework. We compare our method to autoencoder baseline with and without dropout, other self-supervised methods such as VIME-self $\boxed { \boxed { 4 6 } }$ , Denoising Autoencoder (DAE) $\boxed { \boxplus 3 }$ , and Context Encoder (CAE) $\textcircled { 1 3 9 } \textcircled { 1 }$ as well as fully-supervised models such as logistic regression, random forest, and XGBoost $\textcircled { 6 }$ . For each dataset, once we decided on a particular autoencoder architecture, we used it for all models compared (i.e. VIME-self, DAE, CAE, and our model). We tried both ReLU and leakyReLU as activation functions for all, and both performed equally well. The code for SubTab is provided1. The summary of model architectures and hyperparameters are in Table $\boxed { \mathbf { A } 1 }$ in the Appendix. We should note that we ran more experiments using; i) Synthetic datasets and ii) OpenML-CC18 datasets $\lVert \rVert$ in Appendix G and H respectively.
|
| 102 |
+
|
| 103 |
+
# 3.1 Data
|
| 104 |
+
|
| 105 |
+
MNIST: We flattened $2 8 \mathbf { x } 2 8$ images, and scaled them by dividing all with 255 as it is done in [46]. We split training set into training and validation sets $( 9 0 - 1 0 \%$ split) when searching for hyper-parameters, and then used all of training set to train the final model. The test set is used only for final evaluation.
|
| 106 |
+
|
| 107 |
+
The Cancer Genome Atlas (TCGA): TCGA is a public cancer genomics dataset characterized over 20,000 primary cancer and matched normal samples that holds information over 38 cohorts. The task is to classify the cancer cohorts from the reverse phase protein array (RPPA) dataset. It includes 6671 samples with 122 features, which we divided to $8 0 { - } 1 0 { - } 1 0 \%$ train-validation-test sets. Once hyper-parameters is found, we trained the models on combined training and validation set.
|
| 108 |
+
|
| 109 |
+
Obesity: The dataset consists of publicly available human gut metagen-omic samples of obesity cohorts $\textcircled { 1 3 6 }$ . It is derived from whole-genome shotgun metagenomic studies. The dataset consists of 164 obese patients and 89 non-obese controls and has 425 features $\pmb { \left. 2 6 \right. }$ . We scaled the dataset by using min-max scaling. Since it is a small dataset, we evaluated the model by using 10 randomly drawn training-test $( 9 0 - 1 0 \% )$ splits, for each of which we used 10-fold cross-validation.
|
| 110 |
+
|
| 111 |
+
UCI Adult Income: It is a well-known public dataset extracted from the 1994 Census database $\pm$ It includes the details such as education level and demographics to predict whether the income of a person exceeds $\$ 508$ /yr. The data consists of six continuous and eight categorical features. After one-hot encoding of categorical features, there are total of 101 features. The pre-processing steps can be found in Section B.1 of Appendix.
|
| 112 |
+
|
| 113 |
+
UCI BlogFeedback: The data originates from blog posts, and is originally used for regression task of predicting the number of comments in the upcoming 24 hours. Similar to Yoon et al. $\check { \left| 4 6 \right| }$ , we turned it into a binary classification task of predicting whether there is a comment for a post or not.There are 280 integer and real valued features, and separate training and test datasets are provided. Further information can be found in Section B.2 of Appendix.
|
| 114 |
+
|
| 115 |
+
# 3.2 Evaluation
|
| 116 |
+
|
| 117 |
+
For self-supervised models, once the models are trained, we evaluate them by training a logistic regression model on the latent representations of training set, and testing it on the latent representation of the test set. For SubTab, the joint latent representation is obtained by using the mean aggregation of embeddings of the subsets for both training and test sets. We use the performance on a classification task as a measure of quality of the representation as it is usually done in the self-supervised learning. MNIST has 10, TCGA has 38, and the rest (i.e. Obesity, Income, and Blog) has 2 classes each.
|
| 118 |
+
|
| 119 |
+
# 3.3 Results
|
| 120 |
+
|
| 121 |
+
MNIST: We used a simple three-layer encoder architecture with dimensions of [512, 256, 128], referred as the base model, in which the last layer is a linear layer. During training of the base model, we used both reconstruction and contrastive losses. Additionally, we trained our model under three conditions: i) without any noise in the input data, ii) with noise in the input data and iii) same as (ii), but we also added distance loss computed for pairs of projections $\{ z _ { i } , z _ { j } , \ldots \}$ .
|
| 122 |
+
|
| 123 |
+

|
| 124 |
+
Figure 3: a) Test accuracy on MNIST dataset over different number of subsets and varying levels of overlaps. b-c) t-SNE plots for training (b) and test (c) sets of MNIST for the case of using 4 subsets with $7 5 \%$ overlap between neighboring subsets.
|
| 125 |
+
|
| 126 |
+

|
| 127 |
+
Figure 4: a) After training the base model (latent dimension ${ \boldsymbol { \mathbf { \rho } } } = 1 2 8$ ) on four subsets with $7 5 \%$ overlap, we test its performance using different number of subsets. The performance improves as we start increasing number of subsets involved in prediction. b) Comparing our model to CNN-based SOTA models trained on $2 8 \mathbf { x } 2 8$ MNIST in image format (please see Section 3.4 for details).
|
| 128 |
+
|
| 129 |
+
For SubTab, we trained our base model multiple times without noise at the input. For each training, we used different number of subsets with different levels of overlap between neighbouring subsets (Figure $\textcircled { 3 } \textcircled { \mu }$ . For small number of subsets (e.g. 2 or 3), the performance monotonically decreases when we increase the overlap between subsets. But, for higher number of subsets, the performance generally improves as we increase the number of shared features between the neighbouring subsets. In general, our results show that $K = 4$ with $7 5 \%$ overlap, and $K = 7$ with $50 \%$ overlap perform the best in MNIST dataset, where $K$ refers to the number of subsets. Figure $^ 3$ also shows t-SNE plots of training and test sets for $\mathrm { K } = 4$ with $7 5 \%$ overlap, which proves the high quality of clustering, while Table $\perp$ summarizes the classification accuracy of all models on the test set. Our base model without noise outperforms autoencoder baselines and other self-supervised models with the same architecture. We experimented with three noise types for all self-supervised models, and observed that adding swap-noise at the input pushes the performance higher. For SubTab, adding distance loss and increasing the dimensions of the last layer from 128 to 512 help improve the performance even further. Moreover, we conducted three additional experiments (details in Section $\dot { \mathbf { C } } . 3$ of Appendix):
|
| 130 |
+
|
| 131 |
+
In the first experiment, for the optimum case of $K = 4$ with $7 5 \%$ overlap, we trained and tested accuracy of a linear model by using the joint representations obtained from the varying number of subsets. Starting with a single subset of the data, we plot the training and test accuracy of the model (Figure $^ { 4 \mathrm { { a } } ) }$ . The linear model is able to achieve $8 7 . 5 \%$ test accuracy using the representation of a single subset. As we start adding latent representations of remaining subsets, both the training and test accuracy keep increasing, eventually achieving top accuracy when all subsets are used. The evolution of clusters corresponding to Figure $\textcircled { 4 } \textcircled { \scriptsize { \tt d } }$ can be seen in Figure $\mathbf { A } 7$ in Appendix. This experiment indicates that we can achieve a good performance using only small subset of features when we don’t have access to data on other features.
|
| 132 |
+
|
| 133 |
+

|
| 134 |
+
Figure 5: a) The test accuracy using the mean aggregation of the latent representations of subsets, starting with the first subset, and keep adding new subsets sequentially. b) The test accuracy of individual subsets. c) Comparing the test accuracy by aggregating the representations of different set of subsets at test time for two versions of the model; untrained and the one trained on all subsets.
|
| 135 |
+
|
| 136 |
+
In the second experiment, we evaluated SubTab under the condition of missing features during training (Figure $5 \mathrm { a } )$ . To do so, we first sliced the unshuffled features of MNIST to seven subsets with no overlap (the case corresponding to the legend "7" at zero overlap in Figure $3 \mathrm { a } )$ . Each subset corresponds to four rows in a $2 8 \mathbf { x } 2 8$ image, starting from top four rows (subset 1) to the bottom ones (subset 7). Then, we trained the base model on five different sets of subsets; $\{ 4 \} , \{ 4 , 5 \} , \{ 3 , 4 , 5 \} , \{ 2 , 3 , 4 , 5 , 6 \}$ , and $\{ 1 , 2 , 3 , 4 , 5 , 6 , 7 \}$ , resulting in five different trained SubTab models. Please note that we selected the sets such that we expand out from the most informative middle regions of the image (i.e. subset 4) to the least informative top and bottom areas.
|
| 137 |
+
|
| 138 |
+
In order to compare the performance of five models, we followed the following steps for each trained model: 1) We first obtained the embeddings of all seven subsets for both training and test sets; 2) We then trained and evaluated a logistic regression model by using the joint embedding of each of the following seven sets: $\{ 1 \} , \{ 1 , \bar { 2 } \} , \{ 1 , \bar { 2 , } 3 \} , . . . , \{ 1 , 2 , 3 , 4 , 5 , 6 , \bar { 7 } \}$ i.e. starting from the first subset, we kept adding new subsets sequentially to increase the information content in the sets. For example, for the set $\{ 1 , 2 , 3 \}$ , we first trained a logistic regression model by using joint embedding of subset 1, 2 and 3 from training set, and evaluated it by using the joint embedding of same subsets from test set. The joint embedding of a set is obtained by using mean aggregation of embeddings of subsets in the set. In addition to five models, we initialized a sixth SubTab model, but kept it untrained and followed the same procedure described before to use it as a baseline. The results are shown in Figure 5a.
|
| 139 |
+
|
| 140 |
+
In this experiment, we observe that even when the model is trained on a single subset (subset 4, or the blue line in Figure $\textcircled { 5 } \textcircled { \scriptsize { \mathtt { h } } }$ , aggregating the representations of all seven subsets including the subsets not used in training does improve the results. This is because the encoder is able to map samples of different classes to different points in latent space even if it is not trained on them. Since we use the mean aggregation over different views (i.e. subsets) of the same class, we can still make each class in the data distinguishable from the rest in the latent space. We also note that when the model is trained on more and more subsets, its performance keeps improving. As a baseline, we also conducted the same test using untrained model (red line in the plot), and observed similar behaviour in which the test accuracy generally improves as we use more subsets when constructing the joint latent representation. Moreover, we measured the test accuracy of individual subsets to see how informative each subset is (Figure $\textcircled { 5 } \textcircled { > }$ . The result is as expected since we kept the features unshuffled in this experiment, and know that the subsets corresponding to the mid-region of the images (i.e. subsets 3, 4, and 5) should be more informative than the ones corresponding to the top and bottom regions (i.e. subsets 1, and 7). We repeated the same experiment using 28 subsets to get a higher resolution and added the result in Figure A8 in Appendix. From this experiment; i) we see that joint representation improves as we include more subsets (i.e. sub-views) at training and/or test time, ii) we can identify the informative subsets of features using SubTab framework.
|
| 141 |
+
|
| 142 |
+
In the third experiment, we evaluated SubTab on handling missing features at test time. Specifically, we used the model trained on all subsets, and compared it to the untrained model (i.e. our baseline). For each model, we obtained the joint embedding for training set by using mean aggregation over embeddings of all seven subsets, and then trained a linear model. The test accuracy of the linear model is measured by using; i) only subset 4, ii) aggregate of the most informative subsets {3,4,5}, iii) aggregate of {2,3,4,5,6} excluding the least informative subsets, and iv) all seven subsets of the test set (Figure 5c).
|
| 143 |
+
|
| 144 |
+
Table 1: Accuracy scores for all models for various datasets. The abbreviations in the table; NC: Neighbour columns used, RF: Random features used, G: Gaussian noise used, S: Swap noise used.
|
| 145 |
+
|
| 146 |
+
<table><tr><td>Type</td><td>Models</td><td>MNIST</td><td>Income</td><td>Blog</td><td>Obesity</td><td>TCGA</td></tr><tr><td rowspan="3">Supervised baseline</td><td>Logistic Regression</td><td>92.60±0.03</td><td>84.68±0.05</td><td>84.15±0.12</td><td>62.35±4.02</td><td>36.98± 1.25</td></tr><tr><td>Random Forest</td><td>96.96±0.06</td><td>84.62±0.07</td><td>83.61±0.15</td><td>67.45±2.23</td><td>61.62± 1.02</td></tr><tr><td>XGBoost</td><td>98.02±0.086</td><td>86.11±0.20</td><td>84.29±0.23</td><td>64.05±4.52</td><td>72.61±1.31</td></tr><tr><td rowspan="2">Autoencoder baseline</td><td>AE</td><td>92.77±0.32</td><td>84.67±0.07</td><td>84.06±0.24</td><td>61.96±3.28</td><td>55.16±0.75</td></tr><tr><td>AE w/Dropout (p=0.2)</td><td>94.31±0.28</td><td>85.00±0.10</td><td>84.18±0.20</td><td>62.74±4.38</td><td>56.87±2.26</td></tr><tr><td rowspan="9">Self- supervised</td><td>DAE (RF)</td><td>96.30±0.14 (S)</td><td>84.37±0.36 (G)</td><td>84.12±0.29 (G)</td><td>56.43±5.79 (G)</td><td>54.31±1.39 (G)</td></tr><tr><td>CAE (NC)</td><td>96.39±0.20 (S)</td><td>84.24±0.18 (G)</td><td>84.3±0.31 (G)</td><td>62.26±5.01 (G)</td><td>54.20±1.17(G)</td></tr><tr><td>VIME-self</td><td>95.23±0.17 (S)</td><td>84.43±0.08 (G)</td><td>84.11±0.27(G)</td><td>66.45±4.54(G)</td><td>55.11±1.37 (G)</td></tr><tr><td>SubTabwith:</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Base model (No noise)</td><td>97.26±0.2</td><td>85.31±0.08</td><td>84.29±0.26</td><td>68.01±3.07</td><td>57.02±1.50</td></tr><tr><td>+Noise</td><td>97.47±0.18 (S)</td><td>85.34±0.07 (G)</td><td>84.47±0.15 (G)</td><td>71.13±4.08 (G)</td><td>58.25±1.36 (G)</td></tr><tr><td>+Distance loss</td><td>97.52±0.14 (S)</td><td>85.35±0.06(G)</td><td>84.64±0.19 (G)</td><td>69.25±4.19 (G)</td><td>58.15±1.56 (G)</td></tr><tr><td>+LatentDim=512</td><td>97.86±0.07 (S)</td><td>=</td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td>=</td><td></td></tr></table>
|
| 147 |
+
|
| 148 |
+
The results indicate that SubTab can accommodate missing features at test time, and can still perform well. This might also indicate that working with subsets can give us a way to deal with uncertainty better when there are missing features at test time. As the model collects more information in the form of more features, its prediction improves (see Figure $\textcircled { 5 } \mathrm { { c } }$ ). We can also train the model when there are missing subsets during training, and it still performs well (e.g. see legend "4", corresponding to the model trained only on subset 4, in Figure $: 5 \mathrm { a } \big )$ . Our experiments simulate a practical scenario. For example, in healthcare, we might not have access to some features in one hospital while we might have them in another. So, our method would be beneficial in this type of cases.
|
| 149 |
+
|
| 150 |
+
Overall, we can make the following observations from our experiments: i) the less informative subsets can add value to the overall representation, or at least does not harm the performance (see the aggregate over {3,4,5} versus "All" in Figure $\textcircled { 5 } \mathrm { { c } }$ , ii) untrained model can be used to analyze which subsets can be potentially more informative, iii) once a model is trained on a subset, the performance of the individual subset does not change whether it is trained together with other subsets or not (for example, compare the performance of subset 3, 4, and 5 across all models in Figure $^ { 5 | { \scriptsize 5 } ) } _ { \cdot }$ , iv) general idea behind our framework works even for untrained model, and v) we may not need to impute data in our framework since we can simply ignore them as missing subsets, which is good since imputation generally distorts data, and the results.
|
| 151 |
+
|
| 152 |
+
TCGA: We used an encoder architecture with three layers [1024, 784, 784], where the third layer is linear. For VIME-self, DAE, CAE, and our model, we experimented with three noise types (Gaussian, swap, and zero-out noise) at the different $\%$ levels of masking ratio $p$ . We observed that $p = [ 0 . 1 5 , 0 . 3 ]$ range worked well for all models. For Gaussian noise, we used a distribution with zero mean, and different levels of standard deviation $( \sigma )$ . Among all three noise types, Gaussian noise with $\sigma = 0 . 1$ worked the best for all models. Please note that VIME-self uses swap-noise in its original implementation, but swap-noise does not work well on this dataset. For SubTab, similar to MNIST, we used four subsets with $7 5 \%$ overlap. SubTab performs better than other self-supervised models with a significant margin and almost doubles the performance of logistic regression model trained on raw data as shown in Table 1.
|
| 153 |
+
|
| 154 |
+
Obesity: We used a two-layer encoder with [1024, 1024] dimensions. Second layer is a linear layer. Gaussian noise $\mathcal { N } ( 0 , 0 . 3 )$ and masking ratio $p = 0 . 2$ works well across all models. Six subsets $K = 6$ ) with $0 \%$ overlap performed the best for the SubTab. We note that this dataset has 164 obese patients out of 253 total patients. So, the baseline accuracy is $1 6 4 / 2 5 3 = 6 4 . 8 2 \%$ . Based on this fact, we can say that all models, except ours, did not perform well on this dataset. Our model with added Gaussian noise results in accuracy of $7 1 . 1 3 \pm 4 . 0 8 \%$ , which is well above all models, including supervised ones. It means that our model was able to learn useful representation from the data. We should also note that the performance of our model is much better than what Oh and Zhang $\pmb { \mathbb { B } } 6 \mathbb { I }$ reported $( 6 6 \pm 3 . 2 \% )$ even though they trained a DAE on the same data, and reported their results using a random forest, a non-linear model, on the learned representations rather than a linear model.
|
| 155 |
+
|
| 156 |
+
UCI Adult Income & BlogFeedback: For these two datasets, we used the same architecture as in Obesity. For Income dataset, the best performance is obtained using 5 subsets with $25 \%$ overlap whereas we used 7 subsets with $7 5 \%$ overlap for Blog dataset. For the base model, we only used reconstruction loss. Adding Gaussian noise to the input and distance loss to the objective improves the performance for both datasets. SubTab outperforms other self-supervised models in both datasets.
|
| 157 |
+
|
| 158 |
+
The choice of hyper-parameters and other details for all experiments can be found in Table A1 in Section C.1 of Appendix.
|
| 159 |
+
|
| 160 |
+
# 3.4 Ablation study
|
| 161 |
+
|
| 162 |
+
We conducted a comprehensive ablation study using MNIST. Table 2 summarizes our experiments. The first thing to note is that the performance of the our base model is already good with only reconstruction loss. Hence, we can argue that the reconstruction of original feature space from a subset of features is a very effective way of learning representation. By adding noise to the input data, we can improve the performance. In the case of MNIST, swap-noise is very effective. Also, by adding additional losses such as contrastive, and distance losses as well as increasing the dimension of representation layer from 128 to 512, we can further improve the results. Moreover, we shuffled the features of MNIST to make sure that we don’t have any gains from unintentional spatial
|
| 163 |
+
|
| 164 |
+
Table 2: Ablation study using MNIST with 4 subsets with $7 5 \%$ overlap. Abbreviations are; RL: Reconstruction Loss, CL: Contrastive Loss, DL: Distance Loss, SF: Shuffled Features, LD: Latent Dim, Agg: Aggregating embeddings.
|
| 165 |
+
|
| 166 |
+
<table><tr><td rowspan=1 colspan=1>RL</td><td rowspan=1 colspan=1>CL</td><td rowspan=1 colspan=1>Noise</td><td rowspan=1 colspan=1>DL</td><td rowspan=1 colspan=1>SF</td><td rowspan=1 colspan=1>LD</td><td rowspan=1 colspan=1>Agg</td><td rowspan=1 colspan=1>Test Accuracy</td></tr><tr><td rowspan=2 colspan=1>+1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>97.13</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>97.11</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>97.26</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Zero-out</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>=</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td><td rowspan=3 colspan=1>97.2597.2597.47</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Gaussian</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Swap</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>=</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Swap</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>97.52</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Swap</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>97.2</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Swap</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>=</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>1</td><td rowspan=2 colspan=1>95.9297.86</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Swap</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>+</td></tr></table>
|
| 167 |
+
|
| 168 |
+
correlations between neighboring features. We kept all parameters and random seeds same for the comparison. As shown in the table, our model’s performance does not change much. We also tried concatenating latent variables of subsets rather than aggregating them when testing the performance. Comparing last two rows in the table, the aggregation is shown to work much better. Please note that we compared different aggregation functions in Appendix $\underline { { \overline { { \operatorname { F . 4 } } } } }$ showing that mean aggregation worked the best.
|
| 169 |
+
|
| 170 |
+
Finally, we compared the performance of SubTab on shallow and deep architecture choices. We trained and tested very shallow architectures for SubTab (referred as shallow SubTab), and compared them to relatively deeper SubTab models used in Table $^ 1$ (referred as deep SubTab). We used one-layer encoder and decoder with 784 dimension each for MNIST while using 1024 dimension for other datasets. Shallow SubTab is trained and evaluated under the same conditions as the deeper ones. As shown in Table $\textcircled { 3 }$ shallow SubTab significantly improves results in MNIST and TCGA, placing our model performance on par with CNN-based SOTA models $\pm 0 1 \big [ 1 9 \big ] \big [ 2 5 \big ] \big [ 2 2 \big ] \big [ 3 2 \big ]$ as shown in Figure 4b. Obesity is the only dataset which exploits the deeper architecture.
|
| 171 |
+
|
| 172 |
+
# 4 Related works
|
| 173 |
+
|
| 174 |
+
We refer the reader to the introduction section that lists some of the recent noticeable works in self-supervised learning. Since our work focuses on tabular data, we will review some of the recent work done in tabular data in self-supervised framework. The most recent work is mostly based on solving a pretext task. For example, Yoon et al. $\textcircled { 1 4 6 } |$ uses a de-noising autoencoder with a classifier attached to its representation layer. A random binary mask is generated to mask and overwrite a portion of entries in the tabular data, and the corrupted data is given as input to the encoder. The classifier is used to predict the mask while decoder is used to re-construct the uncorrupted original input similar to de-noising autoencoder $\boxed { 4 3 }$ . Although the proposed method is shown to work well in the experiments, there are couple drawbacks to this approach. Firstly, this approach might not work well in very high-dimensional, small and noisy data sets since the model might easily become over-parameterized and be prone to overfitting to the data. Secondly, training a classifier in this setting can be challenging since it needs to predict very high dimensional, sparse, and imbalanced binary mask, similar to the problems observed when training a model on imbalanced, binary dataset. In a similar way, TabNet [1] and TaBERT [45] also tries to recover original data from corrupted one.
|
| 175 |
+
|
| 176 |
+
Table 3: Comparing shallow and deep SubTab architectures.
|
| 177 |
+
|
| 178 |
+
<table><tr><td>Model</td><td>MNIST</td><td>Income</td><td>Blog</td><td>Obesity</td><td>TCGA</td></tr><tr><td>Deep SubTab</td><td>97.86±0.07</td><td>85.35±0.06</td><td>84.64±0.19</td><td>71.13±4.08</td><td>58.25± 1.36</td></tr><tr><td>Shallow SubTab</td><td>98.31±0.06</td><td>85.34±0.03</td><td>84.64±0.09</td><td>66.88±5.35</td><td>61.41±1.11</td></tr></table>
|
| 179 |
+
|
| 180 |
+
# 5 Conclusion
|
| 181 |
+
|
| 182 |
+
In this work, we show that a simple MLP-based autoencoder trained on MNIST in tabular format can perform on par with the CNN-based SOTA models trained on MNIST images in unsupervised/selfsupervised framework. SubTab achieves SOTA in MNIST dataset in tabular setting. We also tested our approach on other commonly used tabular datasets, and proved its benefits. In SubTab, the main performance gain comes from two parts of the model: i) reconstruction of all features from the subset of features, and ii) learning the joint representation by aggregating the embeddings of the subsets.
|
| 183 |
+
|
| 184 |
+
Using subsets of features may obviate the need for data imputation during training, and allows inference using subsets of features at test time. It might open the door to distributed training of high-dimensional data since the models can be trained on different subsets of features at the same time. We can also potentially take advantage of different datasets with common features by assigning those features to same subsets (i.e. transfer learning). We should note that the subsets shared the same autoencoder in our experiments although we could use separate autoencoders for different subsets if some of the features are drastically different than the rest.
|
| 185 |
+
|
| 186 |
+
SubTab is computationally scalable when we use only reconstruction loss during training. However, using contrastive, and/or distance losses requires the combinations of projections, which makes the computational complexity quadratic during training and limits the number of subsets we can use to divide the data. In this case, computational complexity is still linear at test time since we need to compute only the aggregate of the representations of the subsets. Also, when we divide the features into subsets, we keep the location of features in each subset same throughout training and test time since neural networks are not permutation invariant. As a possible solution, we can extend our work to permutation invariant architectures by treating collection of features as a set. We also showed that SubTab framework can be used to discover most informative subsets of features with limited resolution. A hierarchical version of SubTab might be used for identifying individual important features, but we leave it as a future work.
|
| 187 |
+
|
| 188 |
+
Finally, although the primary focus of this work is tabular data setting, SubTab can be extended to other domains such as images, audio, text and so on. We leave the extensions and applications of SubTab as a future work.
|
| 189 |
+
|
| 190 |
+
# 6 Broader Impact
|
| 191 |
+
|
| 192 |
+
Tabular data is a commonly used format in healthcare, finance, law and many other fields. Despite its broad usage, the most of the research in deep learning, especially with regards to unsupervised representation learning, has been on other data types such as images, text and audio. Our paper tries to close this gap by introducing a new framework to learn good representations from tabular data in unsupervised/self-supervised setting. The progress in this line of research will open doors to widespread applications of tabular data in other areas such as transfer learning, distributed learning, and multi-view learning, in which we can combine knowledge such as demographics and genomics from tabular data with those in images, text and audio. However, we should be aware of the shortcomings of such data integration in terms of biases and privacy issues that it might introduce.
|
| 193 |
+
|
| 194 |
+
# 7 Acknowledgements
|
| 195 |
+
|
| 196 |
+
We thank the anonymous reviewers for their helpful and constructive feedback on the paper. We would also like to thank the entire Respiratory and Immunology AI team and are grateful for general support from other organizations within AstraZeneca.
|
| 197 |
+
|
| 198 |
+
# References
|
| 199 |
+
|
| 200 |
+
[1] Sercan O Arik and Tomas Pfister. Tabnet: Attentive interpretable tabular learning. arXiv preprint arXiv:1908.07442, 2019.
|
| 201 |
+
|
| 202 |
+
[2] Bernd Bischl, Giuseppe Casalicchio, Matthias Feurer, Frank Hutter, Michel Lang, Rafael G Mantovani, Jan N van Rijn, and Joaquin Vanschoren. Openml benchmarking suites. arXiv preprint arXiv:1708.03731, 2017.
|
| 203 |
+
|
| 204 |
+
[3] James P Bridge, Sean B Holden, and Lawrence C Paulson. Machine learning for first-order theorem proving. Journal of automated reasoning, 53(2):141–172, 2014.
|
| 205 |
+
|
| 206 |
+
[4] Krisztian Buza. Feedback prediction for blogs. In Data analysis, machine learning and knowledge discovery, pages 145–152. Springer, 2014.
|
| 207 |
+
|
| 208 |
+
[5] Mathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal, Piotr Bojanowski, and Armand Joulin. Unsupervised learning of visual features by contrasting cluster assignments. arXiv preprint arXiv:2006.09882, 2020.
|
| 209 |
+
|
| 210 |
+
[6] Tianqi Chen and Carlos Guestrin. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’16, pages 785–794, New York, NY, USA, 2016. ACM. ISBN 978-1-4503-4232-2. doi: 10.1145/2939672.2939785. URL http://doi.acm.org/10.1145/2939672.2939785.
|
| 211 |
+
|
| 212 |
+
[7] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pages 1597–1607. PMLR, 2020.
|
| 213 |
+
|
| 214 |
+
[8] Xinlei Chen, Haoqi Fan, Ross Girshick, and Kaiming He. Improved baselines with momentum contrastive learning. arXiv preprint arXiv:2003.04297, 2020.
|
| 215 |
+
|
| 216 |
+
[9] Ronan Collobert and Jason Weston. A unified architecture for natural language processing: Deep neural networks with multitask learning. In Proceedings of the 25th international conference on Machine learning, pages 160–167, 2008.
|
| 217 |
+
|
| 218 |
+
[10] Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Edouard Grave, Myle Ott, Luke Zettlemoyer, and Veselin Stoyanov. Unsupervised cross-lingual representation learning at scale. arXiv preprint arXiv:1911.02116, 2019.
|
| 219 |
+
|
| 220 |
+
[11] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018.
|
| 221 |
+
|
| 222 |
+
[12] Dheeru Dua and Casey Graff. UCI machine learning repository, 2017. URL http://archive. ics.uci.edu/ml.
|
| 223 |
+
|
| 224 |
+
[13] William Falcon and Kyunghyun Cho. A framework for contrastive self-supervised learning and designing a new approach. arXiv preprint arXiv:2009.00104, 2020.
|
| 225 |
+
|
| 226 |
+
[14] Ananda L Freire, Guilherme A Barreto, Marcus Veloso, and Antonio T Varela. Short-term memory mechanisms in neural network learning of robot navigation tasks: A case study. In 2009 6th Latin American Robotics Symposium (LARS 2009), pages 1–6. IEEE, 2009.
|
| 227 |
+
|
| 228 |
+
[15] Jean-Bastien Grill, Florian Strub, Florent Altché, 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.
|
| 229 |
+
|
| 230 |
+
[16] Michael Harries and New South Wales. Splice-2 comparative evaluation: Electricity pricing. 1999.
|
| 231 |
+
|
| 232 |
+
[17] Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 9729–9738, 2020.
|
| 233 |
+
|
| 234 |
+
[18] Irwin Hersey. Textures: A photographic album for artists and designers by phil brodatz. Leonardo, 1(1):91–92, 1968.
|
| 235 |
+
[19] Weihua Hu, Takeru Miyato, Seiya Tokui, Eiichi Matsumoto, and Masashi Sugiyama. Learning discrete representations via information maximizing self-augmented training. In International Conference on Machine Learning, pages 1558–1567. PMLR, 2017.
|
| 236 |
+
[20] Xu Ji, João F Henriques, and Andrea Vedaldi. Invariant information clustering for unsupervised image classification and segmentation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 9865–9874, 2019.
|
| 237 |
+
[21] Armand Joulin, Edouard Grave, Piotr Bojanowski, and Tomas Mikolov. Bag of tricks for efficient text classification. arXiv preprint arXiv:1607.01759, 2016.
|
| 238 |
+
[22] Lyes Khacef, Laurent Rodriguez, and Benoit Miramond. Improving self-organizing maps with unsupervised feature extraction. In International Conference on Neural Information Processing, pages 474–486. Springer, 2020.
|
| 239 |
+
[23] Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016.
|
| 240 |
+
[24] Ron Kohavi. Scaling up the accuracy of naive-bayes classifiers: A decision-tree hybrid. In Kdd, volume 96, pages 202–207, 1996.
|
| 241 |
+
[25] Adam R Kosiorek, Sara Sabour, Yee Whye Teh, and Geoffrey E Hinton. Stacked capsule autoencoders. arXiv preprint arXiv:1906.06818, 2019.
|
| 242 |
+
[26] Emmanuelle Le Chatelier, Trine Nielsen, Junjie Qin, Edi Prifti, Falk Hildebrand, Gwen Falony, Mathieu Almeida, Manimozhiyan Arumugam, Jean-Michel Batto, Sean Kennedy, et al. Richness of human gut microbiome correlates with metabolic markers. Nature, 500(7464):541–546, 2013.
|
| 243 |
+
[27] Yann LeCun. The mnist database of handwritten digits. http://yann. lecun. com/exdb/mnist/, 1998.
|
| 244 |
+
[28] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019.
|
| 245 |
+
[29] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.
|
| 246 |
+
[30] DD Lucas, R Klein, J Tannahill, D Ivanova, S Brandon, D Domyancic, and Y Zhang. Failure analysis of parameter-induced simulation crashes in climate models. Geoscientific Model Development, 6(4):1157–1171, 2013.
|
| 247 |
+
[31] Renata CB Madeo, Clodoaldo AM Lima, and Sarajane M Peres. Gesture unit segmentation using support vector machines: segmenting gestures from rest positions. In Proceedings of the 28th Annual ACM Symposium on Applied Computing, pages 46–52, 2013.
|
| 248 |
+
[32] Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, Ian Goodfellow, and Brendan Frey. Adversarial autoencoders. arXiv preprint arXiv:1511.05644, 2015.
|
| 249 |
+
[33] C Merz and PM Murphy. Pima indians diabetes dataset. UCI Repository, 1996.
|
| 250 |
+
[34] Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781, 2013.
|
| 251 |
+
[35] Michiel O Noordewier, Geoffrey G Towell, and Jude W Shavlik. Training knowledge-based neural networks to recognize genes in dna sequences. In Advances in neural information processing systems, pages 530–536, 1991.
|
| 252 |
+
[36] Min Oh and Liqing Zhang. Deepmicro: deep representation learning for disease prediction based on microbiome data. Scientific reports, 10(1):1–9, 2020.
|
| 253 |
+
|
| 254 |
+
[37] Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018.
|
| 255 |
+
|
| 256 |
+
[38] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. Pytorch: An imperative style, highperformance deep learning library. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché- Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems 32, pages 8024–8035. Curran Associates, Inc., 2019. URL http://papers.neurips.cc/paper/ 9015-pytorch-an-imperative-style-high-performance-deep-learning-library pdf.
|
| 257 |
+
|
| 258 |
+
[39] Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A Efros. Context encoders: Feature learning by inpainting. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2536–2544, 2016.
|
| 259 |
+
|
| 260 |
+
[40] F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12:2825–2830, 2011.
|
| 261 |
+
|
| 262 |
+
[41] Jeffrey Pennington, Richard Socher, and Christopher D Manning. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pages 1532–1543, 2014.
|
| 263 |
+
|
| 264 |
+
[42] Katarzyna Tomczak, Patrycja Czerwinska, and Maciej Wiznerowicz. The cancer genome atlas ´ (tcga): an immeasurable source of knowledge. Contemporary oncology, 19(1A):A68, 2015.
|
| 265 |
+
|
| 266 |
+
[43] Pascal Vincent, Hugo Larochelle, Yoshua Bengio, and Pierre-Antoine Manzagol. Extracting and composing robust features with denoising autoencoders. In Proceedings of the 25th international conference on Machine learning, pages 1096–1103, 2008.
|
| 267 |
+
|
| 268 |
+
[44] I-Cheng Yeh, King-Jang Yang, and Tao-Ming Ting. Knowledge discovery on rfm model using bernoulli sequence. Expert Systems with Applications, 36(3):5866–5871, 2009.
|
| 269 |
+
|
| 270 |
+
[45] Pengcheng Yin, Graham Neubig, Wen-tau Yih, and Sebastian Riedel. Tabert: Pretraining for joint understanding of textual and tabular data. arXiv preprint arXiv:2005.08314, 2020.
|
| 271 |
+
|
| 272 |
+
[46] Jinsung Yoon, Yao Zhang, James Jordon, and Mihaela van der Schaar. Vime: Extending the success of self-and semi-supervised learning to tabular domain. Advances in Neural Information Processing Systems, 33, 2020.
|
| 273 |
+
|
| 274 |
+
[47] Kun Zhang and Wei Fan. Forecasting skewed biased stochastic ozone days: analyses, solutions and beyond. Knowledge and Information Systems, 14(3):299–326, 2008.
|
parse/train/vrhNQ7aYSdr/vrhNQ7aYSdr_content_list.json
ADDED
|
@@ -0,0 +1,1410 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "SubTab: Subsetting Features of Tabular Data for Self-Supervised Representation Learning ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
204,
|
| 8 |
+
122,
|
| 9 |
+
795,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Talip Uçar, Ehsan Hajiramezanali, Lindsay Edwards ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
313,
|
| 19 |
+
224,
|
| 20 |
+
684,
|
| 21 |
+
241
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Respiratory and Immunology, R&D, AstraZeneca {talip.ucar, ehsan.hajiramezanali, lindsay.edwards}@astrazeneca.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
210,
|
| 30 |
+
253,
|
| 31 |
+
785,
|
| 32 |
+
281
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
462,
|
| 42 |
+
318,
|
| 43 |
+
535,
|
| 44 |
+
334
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Self-supervised learning has been shown to be very effective in learning useful representations, and yet much of the success is achieved in data types such as images, audio, and text. The success is mainly enabled by taking advantage of spatial, temporal, or semantic structure in the data through augmentation. However, such structure may not exist in tabular datasets commonly used in fields such as healthcare, making it difficult to design an effective augmentation method, and hindering a similar progress in tabular data setting. In this paper, we introduce a new framework, Subsetting features of Tabular data (SubTab), that turns the task of learning from tabular data into a multi-view representation learning problem by dividing the input features to multiple subsets. We argue that reconstructing the data from the subset of its features rather than its corrupted version in an autoencoder setting can better capture its underlying latent representation. In this framework, the joint representation can be expressed as the aggregate of latent variables of the subsets at test time, which we refer to as collaborative inference. Our experiments show that the SubTab achieves the state of the art (SOTA) performance of $9 8 . 3 1 \\%$ on MNIST in tabular setting, on par with CNN-based SOTA models, and surpasses existing baselines on three other real-world datasets by a significant margin. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
349,
|
| 54 |
+
766,
|
| 55 |
+
584
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
612,
|
| 66 |
+
310,
|
| 67 |
+
628
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "In recent years, the self-supervised learning has successfully been used to learn meaningful representations of the data in natural language processing [34, 41, 11, 28, 10, 21, 9]. A similar success has been achieved in image and audio domains [7, 15, 37, 5, 17, 13, 8]. This progress is mainly enabled by taking advantage of spatial, semantic, or temporal structure in the data through data augmentation [7] , pretext task generation [11] and using inductive biases through architectural choices (e.g. CNN for images). However, these methods can be less effective in the lack of such structures and biases in the tabular data commonly used in many fields such as healthcare, advertisement, finance, and law. And some augmentation methods such as cropping, rotation, color transformation etc. are domain specific, and not suitable for tabular setting. The difficulty in designing similarly effective methods tailored for tabular data is one of the reasons why self-supervised learning is under-studied in this domain $\\lVert \\overline { { 4 6 } } \\rVert$ . ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
643,
|
| 77 |
+
825,
|
| 78 |
+
796
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "The most common approach in tabular data is to corrupt data through adding noise $\\boxed { 4 3 }$ . An autoencoder maps corrupted examples of data to a latent space, from which it maps back to uncorrupted data. Through this process, it learns a representation robust to the noise in the input. This approach may not be as effective since it treats all features equally as if features are equally informative. However, perturbing uninformative features may not result in the intended goal of the corruption. A recent work takes advantage of self-supervised learning in tabular data setting by introducing a pretext task [46], in which a de-noising autoencoder with a classifier attached to representation layer is trained on corrupted data. The classifier’s task is to predict the location of corrupted features. However, this framework still relies on noisy data in the input. Additionally, training a classifier on an imbalanced binary mask for a high-dimensional data may not be ideal to learn meaningful representations. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
803,
|
| 88 |
+
825,
|
| 89 |
+
900
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/627972ccde368e4abb61346ab5503e52534cfdcce989262378148d136190a787.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: SubTab framework: i) Dividing the features into subsets (similar to feature bagging, or cropping images), ii) Reconstruction of either subsets of features $( \\tilde { x } _ { 1 } , \\tilde { x } _ { 2 } , \\tilde { x } _ { 3 } )$ , or complete feature space $( \\breve { \\tilde { X } } _ { 1 } , \\tilde { X } _ { 2 } , \\tilde { X } _ { 3 } )$ , which are used to compute reconstruction loss. iii) Generating projections used to compute contrastive and distance loss. $E \\equiv E n c o d e r .$ $D \\equiv D e c o d e r$ , $G \\equiv P r$ ojection. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
183,
|
| 102 |
+
88,
|
| 103 |
+
815,
|
| 104 |
+
304
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
398,
|
| 114 |
+
825,
|
| 115 |
+
440
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "In this work, we turn the problem of learning representation from a single-view of the data into the one learnt from its multiple views by dividing the features into subsets, akin to cropping in image domain or feature bagging in ensemble learning, to generate different views of the data. Each subset can be considered a different view. We show that reconstructing data from the subset of its features forces the encoder to learn better representation than the ones learned through the existing methods such as adding noise. We train our model in a self-supervised setting and evaluate it on downstream tasks such as classification, and clustering. We use five different datasets; MNIST in tabular format, the cancer genome atlas (TCGA) [42], human gut metagen-omic samples of obesity cohorts (Obesity) [36, 26], UCI adult income (Income) [24], and UCI BlogFeedback (Blog) [4]. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
173,
|
| 124 |
+
446,
|
| 125 |
+
825,
|
| 126 |
+
571
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "SubTab can: i) construct a better representation by using the aggregate of the representation of the subsets, a process that we refer as collaborative inference ii) discover the regions of informative features by measuring predictive power of each subset, which is useful especially in high-dimensional data iii) do training and inference in the presence of missing features by ignoring corresponding subsets and iv) use smaller models by reducing input dimension, making it less prone to overfitting. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
578,
|
| 136 |
+
825,
|
| 137 |
+
647
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "2 Method ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
174,
|
| 147 |
+
669,
|
| 148 |
+
271,
|
| 149 |
+
685
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "The augmentation methods such as adding noise, rotation, cropping etc. are commonly used in image domain. Among them, the cropping is shown to be the most effective technique $\\textcircled { 7 }$ . Inspired from this insight, we propose subsetting features of tabular data. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
176,
|
| 158 |
+
702,
|
| 159 |
+
823,
|
| 160 |
+
744
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "Figure 1 presents SubTab framework, in which we have an encoder (E), a decoder (D), and an optional projection (G). For the purpose of this paper, we will refer $^ { h }$ as latent, or representation, $_ { z }$ as projection, $\\tilde { \\pmb x }$ , and $\\tilde { X }$ as the reconstruction of subset, and whole data respectively. Small letters are associated with subsets while capital latters are associated the whole set of features. Moreover, throughout this work, when we say that a representation is \"good\", we refer to its performance in a classification task using a linear model. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
750,
|
| 170 |
+
825,
|
| 171 |
+
835
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "In SubTab framework, we divide tabular data to multiple subsets. Neighbouring subsets can have overlapping regions, defined as a percentage of a dimension of the subset. Each of the subsets is fed to the same encoder (i.e. parameter sharing) to get their corresponding latent representation. A shared decoder is used to reconstruct either the subset fed to the encoder, or full tabular data (i.e. reconstructing all features from the subset of features). We chose the latter in our experiments since it is more effective in learning good representations. We should also note that, in the latter case, the autoencoder cannot learn the identity, eliminating the constraint on the dimension of the bottleneck (i.e. representation). We compute one reconstruction loss term per subset. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
842,
|
| 181 |
+
825,
|
| 182 |
+
911
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "image",
|
| 188 |
+
"img_path": "images/07c289a2119a323df61b9f955041fe75764f373e6d0ba73815abb1733a070355.jpg",
|
| 189 |
+
"image_caption": [
|
| 190 |
+
"Figure 2: a) Push-Pull forces applied by each loss. PS / NS $:$ Positive/Negative sample; CL/RL/DL: Contrastive, Reconstruction, Distance losses b) Column or feature selection strategies for adding noise to each subset. Top: Selecting a block of neighbouring columns; Middle: Selecting columns randomly; Bottom: Selecting random features per row c) Latent variables from each subset is aggregated at test time. The mean (default), sum, max, or min aggregation can be used. "
|
| 191 |
+
],
|
| 192 |
+
"image_footnote": [],
|
| 193 |
+
"bbox": [
|
| 194 |
+
174,
|
| 195 |
+
88,
|
| 196 |
+
826,
|
| 197 |
+
227
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 2
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"text": "",
|
| 204 |
+
"bbox": [
|
| 205 |
+
174,
|
| 206 |
+
332,
|
| 207 |
+
825,
|
| 208 |
+
375
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 2
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"text": "Moreover, we can optionally add contrastive loss to our objective by using all combination of pairs of projections from all subsets. For example, given three subsets as in Figure 1, there are three combinations of two: $\\textstyle { { \\binom { n } { k } } = { \\binom { 3 } { 2 } } = { \\frac { 3 ! } { 2 ! ( 1 ) ! } } = \\dot { 3 } }$ . For four subsets, it would be 6 pairs of combination, and so on. We can add one more loss term, referred as distance loss, to reduce the distance between the pairs of projections of the subsets by using a loss function such as mean squared error (MSE). All three loss terms apply a pulling force on positive samples while contrastive loss also applies a push force between positive and negative samples as shown in Figure 2a. ",
|
| 215 |
+
"bbox": [
|
| 216 |
+
173,
|
| 217 |
+
381,
|
| 218 |
+
826,
|
| 219 |
+
484
|
| 220 |
+
],
|
| 221 |
+
"page_idx": 2
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"text": "Once the dataset is divided into subsets in data preparation step, a process that is similar to feature bagging in ensemble learning, their location is fixed. Thus, we don’t change the relative order of features in a subset during training since standard neural network architectures are not permutation invariant. This is to ensure that same features are fed to the same input units of neural network. However, our method can be extended to permutation invariant setting as a next step. ",
|
| 226 |
+
"bbox": [
|
| 227 |
+
173,
|
| 228 |
+
488,
|
| 229 |
+
826,
|
| 230 |
+
559
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 2
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "text",
|
| 236 |
+
"text": "2.1 Strategies for adding noise ",
|
| 237 |
+
"text_level": 1,
|
| 238 |
+
"bbox": [
|
| 239 |
+
174,
|
| 240 |
+
575,
|
| 241 |
+
398,
|
| 242 |
+
590
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 2
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "text",
|
| 248 |
+
"text": "Our framework is complementary to other augmentation techniques used in tabular data setting. Thus, we experimented with adding noise to randomly selected entries in each subset by using three types of noise: i) adding Gaussian noise, ${ \\mathcal { N } } ( 0 , \\sigma ^ { 2 } )$ , ii) overwriting the value of a selected entry with another value randomly sampled from the same column, referred as swap-noise, iii) zeroing-out randomly selected entries, referred as zero-out noise. ",
|
| 249 |
+
"bbox": [
|
| 250 |
+
173,
|
| 251 |
+
601,
|
| 252 |
+
826,
|
| 253 |
+
671
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 2
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "Moreover, we use three different strategies when selecting the features to add noise to, as shown in Figure 2b: i) a random block of neighboring columns (NC), ii) random columns (RC) iii) random features per each sample (RF). To add noise, we create a binomial mask, $_ { \\mathbf { \\nabla } } \\mathbf { m }$ , and a noise matrix, $\\epsilon$ with same shape as the subset, in which the entries of the mask is assigned to 1 with probability $p$ and to 0 otherwise. The corrupted version, $\\scriptstyle { \\mathbf { \\mathcal { x } } } _ { 1 c }$ , of subset $\\mathbf { \\mathbf { { x } _ { 1 } } }$ is generated as following: ",
|
| 260 |
+
"bbox": [
|
| 261 |
+
173,
|
| 262 |
+
676,
|
| 263 |
+
825,
|
| 264 |
+
747
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 2
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "equation",
|
| 270 |
+
"img_path": "images/7d4198aa59c43c1593f987ffc50f576df02bea159edf31b78431d296044a9ab5.jpg",
|
| 271 |
+
"text": "$$\nx _ { 1 c } = ( 1 - m ) \\odot x _ { 1 } + m \\odot \\epsilon\n$$",
|
| 272 |
+
"text_format": "latex",
|
| 273 |
+
"bbox": [
|
| 274 |
+
385,
|
| 275 |
+
755,
|
| 276 |
+
612,
|
| 277 |
+
772
|
| 278 |
+
],
|
| 279 |
+
"page_idx": 2
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"type": "text",
|
| 283 |
+
"text": "2.2 Training ",
|
| 284 |
+
"text_level": 1,
|
| 285 |
+
"bbox": [
|
| 286 |
+
173,
|
| 287 |
+
797,
|
| 288 |
+
274,
|
| 289 |
+
813
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 2
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "text",
|
| 295 |
+
"text": "Our objective function is: ",
|
| 296 |
+
"bbox": [
|
| 297 |
+
174,
|
| 298 |
+
824,
|
| 299 |
+
343,
|
| 300 |
+
838
|
| 301 |
+
],
|
| 302 |
+
"page_idx": 2
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "equation",
|
| 306 |
+
"img_path": "images/e9437c1daa58e50459dccf9e649fd1c10bde9db486071ae6dbcc7ab2c8adab86.jpg",
|
| 307 |
+
"text": "$$\n\\mathcal { L } _ { t } = \\mathcal { L } _ { r } + \\mathcal { L } _ { c } + \\mathcal { L } _ { d } ,\n$$",
|
| 308 |
+
"text_format": "latex",
|
| 309 |
+
"bbox": [
|
| 310 |
+
428,
|
| 311 |
+
839,
|
| 312 |
+
568,
|
| 313 |
+
854
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 2
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "text",
|
| 319 |
+
"text": "where $\\mathcal { L } _ { t } , \\mathcal { L } _ { r }$ , $\\mathcal { L } _ { c }$ and $\\mathcal { L } _ { d }$ are total, reconstruction, contrastive, and distance losses, respectively. ",
|
| 320 |
+
"bbox": [
|
| 321 |
+
171,
|
| 322 |
+
861,
|
| 323 |
+
797,
|
| 324 |
+
876
|
| 325 |
+
],
|
| 326 |
+
"page_idx": 2
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"type": "text",
|
| 330 |
+
"text": "i) Reconstruction loss: Given a subset, denoted by $\\scriptstyle { \\mathbf { 2 } } \\mathbf { 4 }$ , we can reconstruct either the same subset, $\\tilde { \\mathbfit { x } } _ { k }$ or the entire feature space $\\tilde { X } _ { k }$ . Then, we can compute the reconstruction loss for $k ^ { t h }$ subset by ",
|
| 331 |
+
"bbox": [
|
| 332 |
+
174,
|
| 333 |
+
881,
|
| 334 |
+
820,
|
| 335 |
+
912
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 2
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "text",
|
| 341 |
+
"text": "computing mean squared error using either $( x _ { k } , \\tilde { x } _ { k } )$ , or $( X , \\tilde { X } _ { k } )$ pair as shown in Figure 1. We chose the latter since it was more effective. Overall reconstruction loss: ",
|
| 342 |
+
"bbox": [
|
| 343 |
+
174,
|
| 344 |
+
87,
|
| 345 |
+
825,
|
| 346 |
+
119
|
| 347 |
+
],
|
| 348 |
+
"page_idx": 3
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"type": "equation",
|
| 352 |
+
"img_path": "images/580e6b0217831951a3058982152fafc0934e4eb90057af2b8bd839efe0bb439e.jpg",
|
| 353 |
+
"text": "$$\n\\mathcal { L } _ { r } = \\frac { 1 } { K } \\sum _ { k = 1 } ^ { K } s _ { k } , \\mathrm { w h e r e } s _ { k } = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\left( X ^ { ( i ) } - \\tilde { X } _ { k } ^ { ( i ) } \\right) ^ { 2 }\n$$",
|
| 354 |
+
"text_format": "latex",
|
| 355 |
+
"bbox": [
|
| 356 |
+
310,
|
| 357 |
+
121,
|
| 358 |
+
684,
|
| 359 |
+
165
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "text",
|
| 365 |
+
"text": "where $K$ is the total number of subsets, $N$ is the size of the batch, $s _ { k }$ is the reconstruction loss for $k ^ { t h }$ subset, and $\\mathcal { L } _ { r }$ is the average of reconstruction loss over all subsets. ",
|
| 366 |
+
"bbox": [
|
| 367 |
+
173,
|
| 368 |
+
167,
|
| 369 |
+
823,
|
| 370 |
+
196
|
| 371 |
+
],
|
| 372 |
+
"page_idx": 3
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "text",
|
| 376 |
+
"text": "ii) Contrastive loss: If the dataset is rich in the number of classes such that chances of sampling negative samples are high, we can use a projection network (G) to get projections, $z ^ { \\prime } s$ , of representations, $\\bar { \\boldsymbol { h } } ^ { \\prime } \\boldsymbol { s }$ . Samples at the same rows of two subsets, ${ z } _ { 1 }$ and ${ z _ { 2 } }$ , can be considered as positive pairs while remaining rows in the subsets can be considered as negative to those samples.This allows us to compute the contrastive loss for each pair of projections using a loss function such as the normalized temperature-scaled cross entropy loss (NT-Xent) $\\lVert \\rVert$ . For three subsets, $\\{ x _ { 1 } , x _ { 2 } , x _ { 3 } \\}$ , we can compute such a loss for every pair $\\{ z _ { a } , z _ { b } \\}$ of total three pairs from the set $\\bar { S } = \\{ \\{ z _ { 1 } , z _ { 2 } \\} , \\{ z _ { 1 } , z _ { 3 } \\} , \\{ z _ { 2 } , z _ { 3 } \\} \\}$ . Overall contrastive loss is: ",
|
| 377 |
+
"bbox": [
|
| 378 |
+
173,
|
| 379 |
+
202,
|
| 380 |
+
826,
|
| 381 |
+
315
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 3
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "equation",
|
| 387 |
+
"img_path": "images/4d30c444a6e285d58f25f2e7c2bc8319416962c2b9555278ff9ddacf5d054c90.jpg",
|
| 388 |
+
"text": "$$\n\\mathcal { L } _ { c } = \\frac { 1 } { J } \\sum _ { \\{ z _ { a } , z _ { b } \\} \\in S } p ( z _ { a } , z _ { b } ) , \\mathrm { ~ w h e r e ~ } p ( z _ { a } , z _ { b } ) = \\frac { 1 } { 2 N } \\sum _ { i = 1 } ^ { N } \\Big [ l ( z _ { a } ( ^ { i } ) , z _ { b } ( ^ { i } ) ) + l ( z _ { b } ( ^ { i } ) , z _ { a } ( ^ { i } ) ) \\Big ]\n$$",
|
| 389 |
+
"text_format": "latex",
|
| 390 |
+
"bbox": [
|
| 391 |
+
171,
|
| 392 |
+
319,
|
| 393 |
+
785,
|
| 394 |
+
362
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 3
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "equation",
|
| 400 |
+
"img_path": "images/efac1283abe58d8b738bc71fbcdc0ee594f30d4fdcbb3d10fe7011c34cd29c8d.jpg",
|
| 401 |
+
"text": "$$\nl ( z _ { \\mathbf { a } } ^ { ( i ) } , z _ { b } ^ { ( i ) } ) = - \\log \\frac { \\exp ( s i m ( z _ { \\mathbf { a } } ^ { ( i ) } , z _ { b } ^ { ( i ) } ) / \\tau ) } { \\sum _ { k = 1 } ^ { N } \\mathbb { 1 } _ { k \\neq i } \\exp ( s i m ( z _ { \\mathbf { a } } ^ { ( i ) } , z _ { b } ^ { ( k ) } ) / \\tau ) }\n$$",
|
| 402 |
+
"text_format": "latex",
|
| 403 |
+
"bbox": [
|
| 404 |
+
274,
|
| 405 |
+
366,
|
| 406 |
+
694,
|
| 407 |
+
405
|
| 408 |
+
],
|
| 409 |
+
"page_idx": 3
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"type": "text",
|
| 413 |
+
"text": "where $J$ is the total number of pairs in set $S$ , $p ( z _ { a } , z _ { b } )$ is total contrastive loss for a pair of projection $\\{ z _ { a } , z _ { b } \\}$ , $l \\big ( z _ { a } ^ { \\mathrm { ~ } } ^ { ( i ) } , z _ { b } ^ { \\mathrm { ~ } ( i ) } \\big )$ is the loss function for a corresponding positive pairs of examples $( z _ { a } { ^ { ( i ) } } , z _ { b } { ^ { ( i ) } } )$ in subsets $\\{ z _ { a } , z _ { b } \\}$ , and $\\mathcal { L } _ { c }$ is the average of contrastive loss over all pairs. ",
|
| 414 |
+
"bbox": [
|
| 415 |
+
173,
|
| 416 |
+
409,
|
| 417 |
+
825,
|
| 418 |
+
455
|
| 419 |
+
],
|
| 420 |
+
"page_idx": 3
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"type": "text",
|
| 424 |
+
"text": "iii) Distance loss: We can also add mean-squared error (MSE) loss for pairs of projections of subsets since the corresponding samples in subsets should be close to each other. Hence, we can compute an overall MSE loss as: ",
|
| 425 |
+
"bbox": [
|
| 426 |
+
173,
|
| 427 |
+
460,
|
| 428 |
+
825,
|
| 429 |
+
502
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 3
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "equation",
|
| 435 |
+
"img_path": "images/10243757f66a872741814c00db2785e6ff8c9f244e0bde00635ffbb7b0635ba0.jpg",
|
| 436 |
+
"text": "$$\n{ \\mathcal { L } } _ { d } = { \\frac { 1 } { J } } \\sum _ { \\{ z _ { a } , z _ { b } \\} \\in S } p ( z _ { a } , z _ { b } ) , { \\mathrm { ~ w h e r e ~ } } p ( z _ { a } , z _ { b } ) = { \\frac { 1 } { N } } \\sum _ { i = 1 } ^ { N } \\left( z _ { a } ^ { ( i ) } - z _ { b } ^ { ( i ) } \\right) ^ { 2 }\n$$",
|
| 437 |
+
"text_format": "latex",
|
| 438 |
+
"bbox": [
|
| 439 |
+
256,
|
| 440 |
+
505,
|
| 441 |
+
738,
|
| 442 |
+
551
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 3
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "The pseudocode of algorithm can be found in Algorithm $\\bigstar$ in the Appendix. We should note that both $\\mathcal { L } _ { c }$ and $\\mathcal { L } _ { d }$ in equation $^ { ( 2 ) }$ are optional, and we used them only in some experiments. ",
|
| 449 |
+
"bbox": [
|
| 450 |
+
174,
|
| 451 |
+
554,
|
| 452 |
+
825,
|
| 453 |
+
583
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 3
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "2.3 Test time ",
|
| 460 |
+
"text_level": 1,
|
| 461 |
+
"bbox": [
|
| 462 |
+
173,
|
| 463 |
+
598,
|
| 464 |
+
276,
|
| 465 |
+
613
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 3
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"text": "At test time, we feed the subsets of test set to the encoder, and get the aggregate of the representations of all available subsets as shown in Figure $2 \\mathrm { c } .$ Please note that we can use mean, sum, min, max, or any other aggregation method to get joint representation, which is analogous to pooling in Computer Vision, or the aggregation of neighbouring nodes in graph convolutional networks $\\pmb { \\widetilde { \\left. 2 3 \\right. } }$ . We used mean aggregation in all our experiments, but did compare different aggregation methods in Appendix F.4. Our experiments show that we can use the representations of only one, or few subsets and still achieve a good performance at test time. For example, we could use only $h _ { 1 }$ , or aggregate of $\\boldsymbol { h } _ { 1 }$ and $h _ { 2 }$ rather than aggregating over all subsets $( h _ { 1 } , h _ { 2 } , h _ { 3 } )$ in Figure $\\boxed { 2 \\mathrm { c } }$ This allows the model to infer from the data even in the presence of missing features, in which case we can ignore the subset with missing features. We can also design an aggregation function that computes weighted mean of the representations of subsets since some subsets might be more informative than others: ",
|
| 472 |
+
"bbox": [
|
| 473 |
+
173,
|
| 474 |
+
623,
|
| 475 |
+
826,
|
| 476 |
+
776
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 3
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "equation",
|
| 482 |
+
"img_path": "images/152de539f8131bb45a01851f5f34a7e5a784ab28aa292b73682f4b1135404582.jpg",
|
| 483 |
+
"text": "$$\nh = \\frac { 1 } { Z } \\sum _ { k = 1 } ^ { K } \\eta _ { k } * h _ { k } , \\mathrm { a n d } Z = \\sum _ { k = 1 } ^ { K } \\eta _ { k } ,\n$$",
|
| 484 |
+
"text_format": "latex",
|
| 485 |
+
"bbox": [
|
| 486 |
+
372,
|
| 487 |
+
780,
|
| 488 |
+
622,
|
| 489 |
+
824
|
| 490 |
+
],
|
| 491 |
+
"page_idx": 3
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"type": "text",
|
| 495 |
+
"text": "where $K$ is number of subsets, and $\\eta _ { k }$ is the weight for $k _ { t h }$ subset. $\\eta$ can be a learnable parameter in semi-supervised, or supervised setting by using an attention mechanism. We can also use 1D convolution in equation $\\textcircled { 7 }$ by treating representations of subsets as separate channels during training. We left these ideas as future work and used the mean aggregation (i.e. $\\eta _ { k } = 1 \\mathrm { ~ }$ ) throughout our experiments, unless explicitly stated. A comparison of different aggregation methods can be found in Table $\\underline { { \\sqrt { \\bf A } ^ { 3 } } } \\mathrm { | i n }$ the Appendix. ",
|
| 496 |
+
"bbox": [
|
| 497 |
+
173,
|
| 498 |
+
827,
|
| 499 |
+
825,
|
| 500 |
+
912
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 3
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "text",
|
| 506 |
+
"text": "3 Experiments ",
|
| 507 |
+
"text_level": 1,
|
| 508 |
+
"bbox": [
|
| 509 |
+
174,
|
| 510 |
+
89,
|
| 511 |
+
312,
|
| 512 |
+
107
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 4
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "text",
|
| 518 |
+
"text": "We conducted various experiments on diverse set of tabular datasets including MNIST $\\pm \\pm$ in tabular format, the cancer genome atlas (TCGA) $\\pmb { \\| 4 2 } \\pmb { \\| }$ , human gut metagen-omic samples of obesity cohorts (Obesity) [36, 26], UCI adult income (Income) $\\pm \\overbrace { | 2 4 | }$ , and UCI BlogFeedback (Blog) [4] to demonstrate the effectiveness of the SubTab framework. We compare our method to autoencoder baseline with and without dropout, other self-supervised methods such as VIME-self $\\boxed { \\boxed { 4 6 } }$ , Denoising Autoencoder (DAE) $\\boxed { \\boxplus 3 }$ , and Context Encoder (CAE) $\\textcircled { 1 3 9 } \\textcircled { 1 }$ as well as fully-supervised models such as logistic regression, random forest, and XGBoost $\\textcircled { 6 }$ . For each dataset, once we decided on a particular autoencoder architecture, we used it for all models compared (i.e. VIME-self, DAE, CAE, and our model). We tried both ReLU and leakyReLU as activation functions for all, and both performed equally well. The code for SubTab is provided1. The summary of model architectures and hyperparameters are in Table $\\boxed { \\mathbf { A } 1 }$ in the Appendix. We should note that we ran more experiments using; i) Synthetic datasets and ii) OpenML-CC18 datasets $\\lVert \\rVert$ in Appendix G and H respectively. ",
|
| 519 |
+
"bbox": [
|
| 520 |
+
173,
|
| 521 |
+
121,
|
| 522 |
+
825,
|
| 523 |
+
287
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 4
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "3.1 Data ",
|
| 530 |
+
"text_level": 1,
|
| 531 |
+
"bbox": [
|
| 532 |
+
174,
|
| 533 |
+
304,
|
| 534 |
+
246,
|
| 535 |
+
318
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 4
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "MNIST: We flattened $2 8 \\mathbf { x } 2 8$ images, and scaled them by dividing all with 255 as it is done in [46]. We split training set into training and validation sets $( 9 0 - 1 0 \\%$ split) when searching for hyper-parameters, and then used all of training set to train the final model. The test set is used only for final evaluation. ",
|
| 542 |
+
"bbox": [
|
| 543 |
+
174,
|
| 544 |
+
329,
|
| 545 |
+
825,
|
| 546 |
+
372
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 4
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "The Cancer Genome Atlas (TCGA): TCGA is a public cancer genomics dataset characterized over 20,000 primary cancer and matched normal samples that holds information over 38 cohorts. The task is to classify the cancer cohorts from the reverse phase protein array (RPPA) dataset. It includes 6671 samples with 122 features, which we divided to $8 0 { - } 1 0 { - } 1 0 \\%$ train-validation-test sets. Once hyper-parameters is found, we trained the models on combined training and validation set. ",
|
| 553 |
+
"bbox": [
|
| 554 |
+
174,
|
| 555 |
+
377,
|
| 556 |
+
825,
|
| 557 |
+
446
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 4
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "Obesity: The dataset consists of publicly available human gut metagen-omic samples of obesity cohorts $\\textcircled { 1 3 6 }$ . It is derived from whole-genome shotgun metagenomic studies. The dataset consists of 164 obese patients and 89 non-obese controls and has 425 features $\\pmb { \\left. 2 6 \\right. }$ . We scaled the dataset by using min-max scaling. Since it is a small dataset, we evaluated the model by using 10 randomly drawn training-test $( 9 0 - 1 0 \\% )$ splits, for each of which we used 10-fold cross-validation. ",
|
| 564 |
+
"bbox": [
|
| 565 |
+
174,
|
| 566 |
+
453,
|
| 567 |
+
825,
|
| 568 |
+
522
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 4
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "UCI Adult Income: It is a well-known public dataset extracted from the 1994 Census database $\\pm$ It includes the details such as education level and demographics to predict whether the income of a person exceeds $\\$ 508$ /yr. The data consists of six continuous and eight categorical features. After one-hot encoding of categorical features, there are total of 101 features. The pre-processing steps can be found in Section B.1 of Appendix. ",
|
| 575 |
+
"bbox": [
|
| 576 |
+
174,
|
| 577 |
+
530,
|
| 578 |
+
825,
|
| 579 |
+
599
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 4
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "UCI BlogFeedback: The data originates from blog posts, and is originally used for regression task of predicting the number of comments in the upcoming 24 hours. Similar to Yoon et al. $\\check { \\left| 4 6 \\right| }$ , we turned it into a binary classification task of predicting whether there is a comment for a post or not.There are 280 integer and real valued features, and separate training and test datasets are provided. Further information can be found in Section B.2 of Appendix. ",
|
| 586 |
+
"bbox": [
|
| 587 |
+
174,
|
| 588 |
+
606,
|
| 589 |
+
825,
|
| 590 |
+
676
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 4
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "3.2 Evaluation ",
|
| 597 |
+
"text_level": 1,
|
| 598 |
+
"bbox": [
|
| 599 |
+
174,
|
| 600 |
+
693,
|
| 601 |
+
289,
|
| 602 |
+
707
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 4
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "For self-supervised models, once the models are trained, we evaluate them by training a logistic regression model on the latent representations of training set, and testing it on the latent representation of the test set. For SubTab, the joint latent representation is obtained by using the mean aggregation of embeddings of the subsets for both training and test sets. We use the performance on a classification task as a measure of quality of the representation as it is usually done in the self-supervised learning. MNIST has 10, TCGA has 38, and the rest (i.e. Obesity, Income, and Blog) has 2 classes each. ",
|
| 609 |
+
"bbox": [
|
| 610 |
+
174,
|
| 611 |
+
718,
|
| 612 |
+
825,
|
| 613 |
+
801
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 4
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "text",
|
| 619 |
+
"text": "3.3 Results ",
|
| 620 |
+
"text_level": 1,
|
| 621 |
+
"bbox": [
|
| 622 |
+
174,
|
| 623 |
+
818,
|
| 624 |
+
263,
|
| 625 |
+
832
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 4
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "MNIST: We used a simple three-layer encoder architecture with dimensions of [512, 256, 128], referred as the base model, in which the last layer is a linear layer. During training of the base model, we used both reconstruction and contrastive losses. Additionally, we trained our model under three conditions: i) without any noise in the input data, ii) with noise in the input data and iii) same as (ii), but we also added distance loss computed for pairs of projections $\\{ z _ { i } , z _ { j } , \\ldots \\}$ . ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
174,
|
| 634 |
+
844,
|
| 635 |
+
825,
|
| 636 |
+
886
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 4
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "image",
|
| 642 |
+
"img_path": "images/f22844ca8a29df355d839bd394288cedfe8ccc7994506998c0476fd0d48d621c.jpg",
|
| 643 |
+
"image_caption": [
|
| 644 |
+
"Figure 3: a) Test accuracy on MNIST dataset over different number of subsets and varying levels of overlaps. b-c) t-SNE plots for training (b) and test (c) sets of MNIST for the case of using 4 subsets with $7 5 \\%$ overlap between neighboring subsets. "
|
| 645 |
+
],
|
| 646 |
+
"image_footnote": [],
|
| 647 |
+
"bbox": [
|
| 648 |
+
179,
|
| 649 |
+
90,
|
| 650 |
+
820,
|
| 651 |
+
239
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 5
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "image",
|
| 657 |
+
"img_path": "images/916e7798e05f50a945f8f30f63ca1aaa7a644ab72658c1a8f73ebc551c186b1d.jpg",
|
| 658 |
+
"image_caption": [
|
| 659 |
+
"Figure 4: a) After training the base model (latent dimension ${ \\boldsymbol { \\mathbf { \\rho } } } = 1 2 8$ ) on four subsets with $7 5 \\%$ overlap, we test its performance using different number of subsets. The performance improves as we start increasing number of subsets involved in prediction. b) Comparing our model to CNN-based SOTA models trained on $2 8 \\mathbf { x } 2 8$ MNIST in image format (please see Section 3.4 for details). "
|
| 660 |
+
],
|
| 661 |
+
"image_footnote": [],
|
| 662 |
+
"bbox": [
|
| 663 |
+
269,
|
| 664 |
+
305,
|
| 665 |
+
720,
|
| 666 |
+
463
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 5
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "text",
|
| 672 |
+
"text": "",
|
| 673 |
+
"bbox": [
|
| 674 |
+
171,
|
| 675 |
+
551,
|
| 676 |
+
823,
|
| 677 |
+
582
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 5
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "For SubTab, we trained our base model multiple times without noise at the input. For each training, we used different number of subsets with different levels of overlap between neighbouring subsets (Figure $\\textcircled { 3 } \\textcircled { \\mu }$ . For small number of subsets (e.g. 2 or 3), the performance monotonically decreases when we increase the overlap between subsets. But, for higher number of subsets, the performance generally improves as we increase the number of shared features between the neighbouring subsets. In general, our results show that $K = 4$ with $7 5 \\%$ overlap, and $K = 7$ with $50 \\%$ overlap perform the best in MNIST dataset, where $K$ refers to the number of subsets. Figure $^ 3$ also shows t-SNE plots of training and test sets for $\\mathrm { K } = 4$ with $7 5 \\%$ overlap, which proves the high quality of clustering, while Table $\\perp$ summarizes the classification accuracy of all models on the test set. Our base model without noise outperforms autoencoder baselines and other self-supervised models with the same architecture. We experimented with three noise types for all self-supervised models, and observed that adding swap-noise at the input pushes the performance higher. For SubTab, adding distance loss and increasing the dimensions of the last layer from 128 to 512 help improve the performance even further. Moreover, we conducted three additional experiments (details in Section $\\dot { \\mathbf { C } } . 3$ of Appendix): ",
|
| 684 |
+
"bbox": [
|
| 685 |
+
173,
|
| 686 |
+
587,
|
| 687 |
+
826,
|
| 688 |
+
780
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 5
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "text",
|
| 694 |
+
"text": "In the first experiment, for the optimum case of $K = 4$ with $7 5 \\%$ overlap, we trained and tested accuracy of a linear model by using the joint representations obtained from the varying number of subsets. Starting with a single subset of the data, we plot the training and test accuracy of the model (Figure $^ { 4 \\mathrm { { a } } ) }$ . The linear model is able to achieve $8 7 . 5 \\%$ test accuracy using the representation of a single subset. As we start adding latent representations of remaining subsets, both the training and test accuracy keep increasing, eventually achieving top accuracy when all subsets are used. The evolution of clusters corresponding to Figure $\\textcircled { 4 } \\textcircled { \\scriptsize { \\tt d } }$ can be seen in Figure $\\mathbf { A } 7$ in Appendix. This experiment indicates that we can achieve a good performance using only small subset of features when we don’t have access to data on other features. ",
|
| 695 |
+
"bbox": [
|
| 696 |
+
173,
|
| 697 |
+
786,
|
| 698 |
+
825,
|
| 699 |
+
911
|
| 700 |
+
],
|
| 701 |
+
"page_idx": 5
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"type": "image",
|
| 705 |
+
"img_path": "images/3dc8d84d69b06eb39db88cb75022b9f6e386e5ec4ce588e49abc154b0e5ebca6.jpg",
|
| 706 |
+
"image_caption": [
|
| 707 |
+
"Figure 5: a) The test accuracy using the mean aggregation of the latent representations of subsets, starting with the first subset, and keep adding new subsets sequentially. b) The test accuracy of individual subsets. c) Comparing the test accuracy by aggregating the representations of different set of subsets at test time for two versions of the model; untrained and the one trained on all subsets. "
|
| 708 |
+
],
|
| 709 |
+
"image_footnote": [],
|
| 710 |
+
"bbox": [
|
| 711 |
+
173,
|
| 712 |
+
88,
|
| 713 |
+
825,
|
| 714 |
+
244
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 6
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "In the second experiment, we evaluated SubTab under the condition of missing features during training (Figure $5 \\mathrm { a } )$ . To do so, we first sliced the unshuffled features of MNIST to seven subsets with no overlap (the case corresponding to the legend \"7\" at zero overlap in Figure $3 \\mathrm { a } )$ . Each subset corresponds to four rows in a $2 8 \\mathbf { x } 2 8$ image, starting from top four rows (subset 1) to the bottom ones (subset 7). Then, we trained the base model on five different sets of subsets; $\\{ 4 \\} , \\{ 4 , 5 \\} , \\{ 3 , 4 , 5 \\} , \\{ 2 , 3 , 4 , 5 , 6 \\}$ , and $\\{ 1 , 2 , 3 , 4 , 5 , 6 , 7 \\}$ , resulting in five different trained SubTab models. Please note that we selected the sets such that we expand out from the most informative middle regions of the image (i.e. subset 4) to the least informative top and bottom areas. ",
|
| 721 |
+
"bbox": [
|
| 722 |
+
174,
|
| 723 |
+
338,
|
| 724 |
+
825,
|
| 725 |
+
450
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 6
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "text",
|
| 731 |
+
"text": "In order to compare the performance of five models, we followed the following steps for each trained model: 1) We first obtained the embeddings of all seven subsets for both training and test sets; 2) We then trained and evaluated a logistic regression model by using the joint embedding of each of the following seven sets: $\\{ 1 \\} , \\{ 1 , \\bar { 2 } \\} , \\{ 1 , \\bar { 2 , } 3 \\} , . . . , \\{ 1 , 2 , 3 , 4 , 5 , 6 , \\bar { 7 } \\}$ i.e. starting from the first subset, we kept adding new subsets sequentially to increase the information content in the sets. For example, for the set $\\{ 1 , 2 , 3 \\}$ , we first trained a logistic regression model by using joint embedding of subset 1, 2 and 3 from training set, and evaluated it by using the joint embedding of same subsets from test set. The joint embedding of a set is obtained by using mean aggregation of embeddings of subsets in the set. In addition to five models, we initialized a sixth SubTab model, but kept it untrained and followed the same procedure described before to use it as a baseline. The results are shown in Figure 5a. ",
|
| 732 |
+
"bbox": [
|
| 733 |
+
173,
|
| 734 |
+
455,
|
| 735 |
+
825,
|
| 736 |
+
594
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 6
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "text",
|
| 742 |
+
"text": "In this experiment, we observe that even when the model is trained on a single subset (subset 4, or the blue line in Figure $\\textcircled { 5 } \\textcircled { \\scriptsize { \\mathtt { h } } }$ , aggregating the representations of all seven subsets including the subsets not used in training does improve the results. This is because the encoder is able to map samples of different classes to different points in latent space even if it is not trained on them. Since we use the mean aggregation over different views (i.e. subsets) of the same class, we can still make each class in the data distinguishable from the rest in the latent space. We also note that when the model is trained on more and more subsets, its performance keeps improving. As a baseline, we also conducted the same test using untrained model (red line in the plot), and observed similar behaviour in which the test accuracy generally improves as we use more subsets when constructing the joint latent representation. Moreover, we measured the test accuracy of individual subsets to see how informative each subset is (Figure $\\textcircled { 5 } \\textcircled { > }$ . The result is as expected since we kept the features unshuffled in this experiment, and know that the subsets corresponding to the mid-region of the images (i.e. subsets 3, 4, and 5) should be more informative than the ones corresponding to the top and bottom regions (i.e. subsets 1, and 7). We repeated the same experiment using 28 subsets to get a higher resolution and added the result in Figure A8 in Appendix. From this experiment; i) we see that joint representation improves as we include more subsets (i.e. sub-views) at training and/or test time, ii) we can identify the informative subsets of features using SubTab framework. ",
|
| 743 |
+
"bbox": [
|
| 744 |
+
174,
|
| 745 |
+
601,
|
| 746 |
+
825,
|
| 747 |
+
835
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 6
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "text",
|
| 753 |
+
"text": "In the third experiment, we evaluated SubTab on handling missing features at test time. Specifically, we used the model trained on all subsets, and compared it to the untrained model (i.e. our baseline). For each model, we obtained the joint embedding for training set by using mean aggregation over embeddings of all seven subsets, and then trained a linear model. The test accuracy of the linear model is measured by using; i) only subset 4, ii) aggregate of the most informative subsets {3,4,5}, iii) aggregate of {2,3,4,5,6} excluding the least informative subsets, and iv) all seven subsets of the test set (Figure 5c). ",
|
| 754 |
+
"bbox": [
|
| 755 |
+
174,
|
| 756 |
+
842,
|
| 757 |
+
825,
|
| 758 |
+
911
|
| 759 |
+
],
|
| 760 |
+
"page_idx": 6
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"type": "table",
|
| 764 |
+
"img_path": "images/8434a919ca3c7593f3490e8428525103cddf2ab104aecbbf0f5ee30691223d6a.jpg",
|
| 765 |
+
"table_caption": [
|
| 766 |
+
"Table 1: Accuracy scores for all models for various datasets. The abbreviations in the table; NC: Neighbour columns used, RF: Random features used, G: Gaussian noise used, S: Swap noise used. "
|
| 767 |
+
],
|
| 768 |
+
"table_footnote": [],
|
| 769 |
+
"table_body": "<table><tr><td>Type</td><td>Models</td><td>MNIST</td><td>Income</td><td>Blog</td><td>Obesity</td><td>TCGA</td></tr><tr><td rowspan=\"3\">Supervised baseline</td><td>Logistic Regression</td><td>92.60±0.03</td><td>84.68±0.05</td><td>84.15±0.12</td><td>62.35±4.02</td><td>36.98± 1.25</td></tr><tr><td>Random Forest</td><td>96.96±0.06</td><td>84.62±0.07</td><td>83.61±0.15</td><td>67.45±2.23</td><td>61.62± 1.02</td></tr><tr><td>XGBoost</td><td>98.02±0.086</td><td>86.11±0.20</td><td>84.29±0.23</td><td>64.05±4.52</td><td>72.61±1.31</td></tr><tr><td rowspan=\"2\">Autoencoder baseline</td><td>AE</td><td>92.77±0.32</td><td>84.67±0.07</td><td>84.06±0.24</td><td>61.96±3.28</td><td>55.16±0.75</td></tr><tr><td>AE w/Dropout (p=0.2)</td><td>94.31±0.28</td><td>85.00±0.10</td><td>84.18±0.20</td><td>62.74±4.38</td><td>56.87±2.26</td></tr><tr><td rowspan=\"9\">Self- supervised</td><td>DAE (RF)</td><td>96.30±0.14 (S)</td><td>84.37±0.36 (G)</td><td>84.12±0.29 (G)</td><td>56.43±5.79 (G)</td><td>54.31±1.39 (G)</td></tr><tr><td>CAE (NC)</td><td>96.39±0.20 (S)</td><td>84.24±0.18 (G)</td><td>84.3±0.31 (G)</td><td>62.26±5.01 (G)</td><td>54.20±1.17(G)</td></tr><tr><td>VIME-self</td><td>95.23±0.17 (S)</td><td>84.43±0.08 (G)</td><td>84.11±0.27(G)</td><td>66.45±4.54(G)</td><td>55.11±1.37 (G)</td></tr><tr><td>SubTabwith:</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Base model (No noise)</td><td>97.26±0.2</td><td>85.31±0.08</td><td>84.29±0.26</td><td>68.01±3.07</td><td>57.02±1.50</td></tr><tr><td>+Noise</td><td>97.47±0.18 (S)</td><td>85.34±0.07 (G)</td><td>84.47±0.15 (G)</td><td>71.13±4.08 (G)</td><td>58.25±1.36 (G)</td></tr><tr><td>+Distance loss</td><td>97.52±0.14 (S)</td><td>85.35±0.06(G)</td><td>84.64±0.19 (G)</td><td>69.25±4.19 (G)</td><td>58.15±1.56 (G)</td></tr><tr><td>+LatentDim=512</td><td>97.86±0.07 (S)</td><td>=</td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td>=</td><td></td></tr></table>",
|
| 770 |
+
"bbox": [
|
| 771 |
+
176,
|
| 772 |
+
125,
|
| 773 |
+
823,
|
| 774 |
+
272
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 7
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "text",
|
| 780 |
+
"text": "",
|
| 781 |
+
"bbox": [
|
| 782 |
+
176,
|
| 783 |
+
296,
|
| 784 |
+
823,
|
| 785 |
+
328
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 7
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "The results indicate that SubTab can accommodate missing features at test time, and can still perform well. This might also indicate that working with subsets can give us a way to deal with uncertainty better when there are missing features at test time. As the model collects more information in the form of more features, its prediction improves (see Figure $\\textcircled { 5 } \\mathrm { { c } }$ ). We can also train the model when there are missing subsets during training, and it still performs well (e.g. see legend \"4\", corresponding to the model trained only on subset 4, in Figure $: 5 \\mathrm { a } \\big )$ . Our experiments simulate a practical scenario. For example, in healthcare, we might not have access to some features in one hospital while we might have them in another. So, our method would be beneficial in this type of cases. ",
|
| 792 |
+
"bbox": [
|
| 793 |
+
174,
|
| 794 |
+
332,
|
| 795 |
+
825,
|
| 796 |
+
443
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 7
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "Overall, we can make the following observations from our experiments: i) the less informative subsets can add value to the overall representation, or at least does not harm the performance (see the aggregate over {3,4,5} versus \"All\" in Figure $\\textcircled { 5 } \\mathrm { { c } }$ , ii) untrained model can be used to analyze which subsets can be potentially more informative, iii) once a model is trained on a subset, the performance of the individual subset does not change whether it is trained together with other subsets or not (for example, compare the performance of subset 3, 4, and 5 across all models in Figure $^ { 5 | { \\scriptsize 5 } ) } _ { \\cdot }$ , iv) general idea behind our framework works even for untrained model, and v) we may not need to impute data in our framework since we can simply ignore them as missing subsets, which is good since imputation generally distorts data, and the results. ",
|
| 803 |
+
"bbox": [
|
| 804 |
+
173,
|
| 805 |
+
449,
|
| 806 |
+
825,
|
| 807 |
+
574
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 7
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "TCGA: We used an encoder architecture with three layers [1024, 784, 784], where the third layer is linear. For VIME-self, DAE, CAE, and our model, we experimented with three noise types (Gaussian, swap, and zero-out noise) at the different $\\%$ levels of masking ratio $p$ . We observed that $p = [ 0 . 1 5 , 0 . 3 ]$ range worked well for all models. For Gaussian noise, we used a distribution with zero mean, and different levels of standard deviation $( \\sigma )$ . Among all three noise types, Gaussian noise with $\\sigma = 0 . 1$ worked the best for all models. Please note that VIME-self uses swap-noise in its original implementation, but swap-noise does not work well on this dataset. For SubTab, similar to MNIST, we used four subsets with $7 5 \\%$ overlap. SubTab performs better than other self-supervised models with a significant margin and almost doubles the performance of logistic regression model trained on raw data as shown in Table 1. ",
|
| 814 |
+
"bbox": [
|
| 815 |
+
173,
|
| 816 |
+
580,
|
| 817 |
+
825,
|
| 818 |
+
719
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 7
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "Obesity: We used a two-layer encoder with [1024, 1024] dimensions. Second layer is a linear layer. Gaussian noise $\\mathcal { N } ( 0 , 0 . 3 )$ and masking ratio $p = 0 . 2$ works well across all models. Six subsets $K = 6$ ) with $0 \\%$ overlap performed the best for the SubTab. We note that this dataset has 164 obese patients out of 253 total patients. So, the baseline accuracy is $1 6 4 / 2 5 3 = 6 4 . 8 2 \\%$ . Based on this fact, we can say that all models, except ours, did not perform well on this dataset. Our model with added Gaussian noise results in accuracy of $7 1 . 1 3 \\pm 4 . 0 8 \\%$ , which is well above all models, including supervised ones. It means that our model was able to learn useful representation from the data. We should also note that the performance of our model is much better than what Oh and Zhang $\\pmb { \\mathbb { B } } 6 \\mathbb { I }$ reported $( 6 6 \\pm 3 . 2 \\% )$ even though they trained a DAE on the same data, and reported their results using a random forest, a non-linear model, on the learned representations rather than a linear model. ",
|
| 825 |
+
"bbox": [
|
| 826 |
+
173,
|
| 827 |
+
724,
|
| 828 |
+
825,
|
| 829 |
+
863
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 7
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "text",
|
| 835 |
+
"text": "UCI Adult Income & BlogFeedback: For these two datasets, we used the same architecture as in Obesity. For Income dataset, the best performance is obtained using 5 subsets with $25 \\%$ overlap whereas we used 7 subsets with $7 5 \\%$ overlap for Blog dataset. For the base model, we only used reconstruction loss. Adding Gaussian noise to the input and distance loss to the objective improves the performance for both datasets. SubTab outperforms other self-supervised models in both datasets. ",
|
| 836 |
+
"bbox": [
|
| 837 |
+
174,
|
| 838 |
+
869,
|
| 839 |
+
825,
|
| 840 |
+
911
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 7
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "text",
|
| 846 |
+
"text": "",
|
| 847 |
+
"bbox": [
|
| 848 |
+
171,
|
| 849 |
+
90,
|
| 850 |
+
825,
|
| 851 |
+
119
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 8
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "The choice of hyper-parameters and other details for all experiments can be found in Table A1 in Section C.1 of Appendix. ",
|
| 858 |
+
"bbox": [
|
| 859 |
+
173,
|
| 860 |
+
126,
|
| 861 |
+
825,
|
| 862 |
+
154
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 8
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "3.4 Ablation study ",
|
| 869 |
+
"text_level": 1,
|
| 870 |
+
"bbox": [
|
| 871 |
+
174,
|
| 872 |
+
170,
|
| 873 |
+
315,
|
| 874 |
+
185
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 8
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "text",
|
| 880 |
+
"text": "We conducted a comprehensive ablation study using MNIST. Table 2 summarizes our experiments. The first thing to note is that the performance of the our base model is already good with only reconstruction loss. Hence, we can argue that the reconstruction of original feature space from a subset of features is a very effective way of learning representation. By adding noise to the input data, we can improve the performance. In the case of MNIST, swap-noise is very effective. Also, by adding additional losses such as contrastive, and distance losses as well as increasing the dimension of representation layer from 128 to 512, we can further improve the results. Moreover, we shuffled the features of MNIST to make sure that we don’t have any gains from unintentional spatial ",
|
| 881 |
+
"bbox": [
|
| 882 |
+
174,
|
| 883 |
+
195,
|
| 884 |
+
496,
|
| 885 |
+
416
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 8
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "table",
|
| 891 |
+
"img_path": "images/d3a13cec0cce50ec12b7b14cfdfec69f1b66f781ca197977829866eaa3f0225a.jpg",
|
| 892 |
+
"table_caption": [
|
| 893 |
+
"Table 2: Ablation study using MNIST with 4 subsets with $7 5 \\%$ overlap. Abbreviations are; RL: Reconstruction Loss, CL: Contrastive Loss, DL: Distance Loss, SF: Shuffled Features, LD: Latent Dim, Agg: Aggregating embeddings. "
|
| 894 |
+
],
|
| 895 |
+
"table_footnote": [],
|
| 896 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>RL</td><td rowspan=1 colspan=1>CL</td><td rowspan=1 colspan=1>Noise</td><td rowspan=1 colspan=1>DL</td><td rowspan=1 colspan=1>SF</td><td rowspan=1 colspan=1>LD</td><td rowspan=1 colspan=1>Agg</td><td rowspan=1 colspan=1>Test Accuracy</td></tr><tr><td rowspan=2 colspan=1>+1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>97.13</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>97.11</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>97.26</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Zero-out</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>=</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td><td rowspan=3 colspan=1>97.2597.2597.47</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Gaussian</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Swap</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>=</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Swap</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>97.52</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Swap</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>97.2</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Swap</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>=</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>1</td><td rowspan=2 colspan=1>95.9297.86</td></tr><tr><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>Swap</td><td rowspan=1 colspan=1>+</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>+</td></tr></table>",
|
| 897 |
+
"bbox": [
|
| 898 |
+
511,
|
| 899 |
+
276,
|
| 900 |
+
833,
|
| 901 |
+
392
|
| 902 |
+
],
|
| 903 |
+
"page_idx": 8
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"type": "text",
|
| 907 |
+
"text": "correlations between neighboring features. We kept all parameters and random seeds same for the comparison. As shown in the table, our model’s performance does not change much. We also tried concatenating latent variables of subsets rather than aggregating them when testing the performance. Comparing last two rows in the table, the aggregation is shown to work much better. Please note that we compared different aggregation functions in Appendix $\\underline { { \\overline { { \\operatorname { F . 4 } } } } }$ showing that mean aggregation worked the best. ",
|
| 908 |
+
"bbox": [
|
| 909 |
+
173,
|
| 910 |
+
416,
|
| 911 |
+
826,
|
| 912 |
+
498
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 8
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "Finally, we compared the performance of SubTab on shallow and deep architecture choices. We trained and tested very shallow architectures for SubTab (referred as shallow SubTab), and compared them to relatively deeper SubTab models used in Table $^ 1$ (referred as deep SubTab). We used one-layer encoder and decoder with 784 dimension each for MNIST while using 1024 dimension for other datasets. Shallow SubTab is trained and evaluated under the same conditions as the deeper ones. As shown in Table $\\textcircled { 3 }$ shallow SubTab significantly improves results in MNIST and TCGA, placing our model performance on par with CNN-based SOTA models $\\pm 0 1 \\big [ 1 9 \\big ] \\big [ 2 5 \\big ] \\big [ 2 2 \\big ] \\big [ 3 2 \\big ]$ as shown in Figure 4b. Obesity is the only dataset which exploits the deeper architecture. ",
|
| 919 |
+
"bbox": [
|
| 920 |
+
173,
|
| 921 |
+
505,
|
| 922 |
+
826,
|
| 923 |
+
617
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 8
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "4 Related works ",
|
| 930 |
+
"text_level": 1,
|
| 931 |
+
"bbox": [
|
| 932 |
+
174,
|
| 933 |
+
636,
|
| 934 |
+
325,
|
| 935 |
+
652
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 8
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "text",
|
| 941 |
+
"text": "We refer the reader to the introduction section that lists some of the recent noticeable works in self-supervised learning. Since our work focuses on tabular data, we will review some of the recent work done in tabular data in self-supervised framework. The most recent work is mostly based on solving a pretext task. For example, Yoon et al. $\\textcircled { 1 4 6 } |$ uses a de-noising autoencoder with a classifier attached to its representation layer. A random binary mask is generated to mask and overwrite a portion of entries in the tabular data, and the corrupted data is given as input to the encoder. The classifier is used to predict the mask while decoder is used to re-construct the uncorrupted original input similar to de-noising autoencoder $\\boxed { 4 3 }$ . Although the proposed method is shown to work well in the experiments, there are couple drawbacks to this approach. Firstly, this approach might not work well in very high-dimensional, small and noisy data sets since the model might easily become over-parameterized and be prone to overfitting to the data. Secondly, training a classifier in this setting can be challenging since it needs to predict very high dimensional, sparse, and imbalanced binary mask, similar to the problems observed when training a model on imbalanced, binary dataset. In a similar way, TabNet [1] and TaBERT [45] also tries to recover original data from corrupted one. ",
|
| 942 |
+
"bbox": [
|
| 943 |
+
173,
|
| 944 |
+
666,
|
| 945 |
+
825,
|
| 946 |
+
819
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 8
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "table",
|
| 952 |
+
"img_path": "images/4d77c8d3e97a02d17070862d5e0be7e995e4e5232fa7d42e52e9f401a42420c5.jpg",
|
| 953 |
+
"table_caption": [
|
| 954 |
+
"Table 3: Comparing shallow and deep SubTab architectures. "
|
| 955 |
+
],
|
| 956 |
+
"table_footnote": [],
|
| 957 |
+
"table_body": "<table><tr><td>Model</td><td>MNIST</td><td>Income</td><td>Blog</td><td>Obesity</td><td>TCGA</td></tr><tr><td>Deep SubTab</td><td>97.86±0.07</td><td>85.35±0.06</td><td>84.64±0.19</td><td>71.13±4.08</td><td>58.25± 1.36</td></tr><tr><td>Shallow SubTab</td><td>98.31±0.06</td><td>85.34±0.03</td><td>84.64±0.09</td><td>66.88±5.35</td><td>61.41±1.11</td></tr></table>",
|
| 958 |
+
"bbox": [
|
| 959 |
+
238,
|
| 960 |
+
863,
|
| 961 |
+
756,
|
| 962 |
+
910
|
| 963 |
+
],
|
| 964 |
+
"page_idx": 8
|
| 965 |
+
},
|
| 966 |
+
{
|
| 967 |
+
"type": "text",
|
| 968 |
+
"text": "",
|
| 969 |
+
"bbox": [
|
| 970 |
+
176,
|
| 971 |
+
90,
|
| 972 |
+
825,
|
| 973 |
+
133
|
| 974 |
+
],
|
| 975 |
+
"page_idx": 9
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"type": "text",
|
| 979 |
+
"text": "5 Conclusion ",
|
| 980 |
+
"text_level": 1,
|
| 981 |
+
"bbox": [
|
| 982 |
+
174,
|
| 983 |
+
152,
|
| 984 |
+
299,
|
| 985 |
+
170
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 9
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "text",
|
| 991 |
+
"text": "In this work, we show that a simple MLP-based autoencoder trained on MNIST in tabular format can perform on par with the CNN-based SOTA models trained on MNIST images in unsupervised/selfsupervised framework. SubTab achieves SOTA in MNIST dataset in tabular setting. We also tested our approach on other commonly used tabular datasets, and proved its benefits. In SubTab, the main performance gain comes from two parts of the model: i) reconstruction of all features from the subset of features, and ii) learning the joint representation by aggregating the embeddings of the subsets. ",
|
| 992 |
+
"bbox": [
|
| 993 |
+
174,
|
| 994 |
+
183,
|
| 995 |
+
825,
|
| 996 |
+
267
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 9
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "Using subsets of features may obviate the need for data imputation during training, and allows inference using subsets of features at test time. It might open the door to distributed training of high-dimensional data since the models can be trained on different subsets of features at the same time. We can also potentially take advantage of different datasets with common features by assigning those features to same subsets (i.e. transfer learning). We should note that the subsets shared the same autoencoder in our experiments although we could use separate autoencoders for different subsets if some of the features are drastically different than the rest. ",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
174,
|
| 1005 |
+
272,
|
| 1006 |
+
825,
|
| 1007 |
+
371
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 9
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "text",
|
| 1013 |
+
"text": "SubTab is computationally scalable when we use only reconstruction loss during training. However, using contrastive, and/or distance losses requires the combinations of projections, which makes the computational complexity quadratic during training and limits the number of subsets we can use to divide the data. In this case, computational complexity is still linear at test time since we need to compute only the aggregate of the representations of the subsets. Also, when we divide the features into subsets, we keep the location of features in each subset same throughout training and test time since neural networks are not permutation invariant. As a possible solution, we can extend our work to permutation invariant architectures by treating collection of features as a set. We also showed that SubTab framework can be used to discover most informative subsets of features with limited resolution. A hierarchical version of SubTab might be used for identifying individual important features, but we leave it as a future work. ",
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
174,
|
| 1016 |
+
377,
|
| 1017 |
+
825,
|
| 1018 |
+
529
|
| 1019 |
+
],
|
| 1020 |
+
"page_idx": 9
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"type": "text",
|
| 1024 |
+
"text": "Finally, although the primary focus of this work is tabular data setting, SubTab can be extended to other domains such as images, audio, text and so on. We leave the extensions and applications of SubTab as a future work. ",
|
| 1025 |
+
"bbox": [
|
| 1026 |
+
176,
|
| 1027 |
+
535,
|
| 1028 |
+
825,
|
| 1029 |
+
577
|
| 1030 |
+
],
|
| 1031 |
+
"page_idx": 9
|
| 1032 |
+
},
|
| 1033 |
+
{
|
| 1034 |
+
"type": "text",
|
| 1035 |
+
"text": "6 Broader Impact ",
|
| 1036 |
+
"text_level": 1,
|
| 1037 |
+
"bbox": [
|
| 1038 |
+
174,
|
| 1039 |
+
597,
|
| 1040 |
+
339,
|
| 1041 |
+
613
|
| 1042 |
+
],
|
| 1043 |
+
"page_idx": 9
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "text",
|
| 1047 |
+
"text": "Tabular data is a commonly used format in healthcare, finance, law and many other fields. Despite its broad usage, the most of the research in deep learning, especially with regards to unsupervised representation learning, has been on other data types such as images, text and audio. Our paper tries to close this gap by introducing a new framework to learn good representations from tabular data in unsupervised/self-supervised setting. The progress in this line of research will open doors to widespread applications of tabular data in other areas such as transfer learning, distributed learning, and multi-view learning, in which we can combine knowledge such as demographics and genomics from tabular data with those in images, text and audio. However, we should be aware of the shortcomings of such data integration in terms of biases and privacy issues that it might introduce. ",
|
| 1048 |
+
"bbox": [
|
| 1049 |
+
174,
|
| 1050 |
+
627,
|
| 1051 |
+
825,
|
| 1052 |
+
752
|
| 1053 |
+
],
|
| 1054 |
+
"page_idx": 9
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"type": "text",
|
| 1058 |
+
"text": "7 Acknowledgements ",
|
| 1059 |
+
"text_level": 1,
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
176,
|
| 1062 |
+
771,
|
| 1063 |
+
367,
|
| 1064 |
+
789
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 9
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "text",
|
| 1070 |
+
"text": "We thank the anonymous reviewers for their helpful and constructive feedback on the paper. We would also like to thank the entire Respiratory and Immunology AI team and are grateful for general support from other organizations within AstraZeneca. ",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
174,
|
| 1073 |
+
803,
|
| 1074 |
+
823,
|
| 1075 |
+
844
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 9
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "References ",
|
| 1082 |
+
"text_level": 1,
|
| 1083 |
+
"bbox": [
|
| 1084 |
+
174,
|
| 1085 |
+
89,
|
| 1086 |
+
266,
|
| 1087 |
+
106
|
| 1088 |
+
],
|
| 1089 |
+
"page_idx": 10
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "text",
|
| 1093 |
+
"text": "[1] Sercan O Arik and Tomas Pfister. Tabnet: Attentive interpretable tabular learning. arXiv preprint arXiv:1908.07442, 2019. ",
|
| 1094 |
+
"bbox": [
|
| 1095 |
+
178,
|
| 1096 |
+
113,
|
| 1097 |
+
823,
|
| 1098 |
+
142
|
| 1099 |
+
],
|
| 1100 |
+
"page_idx": 10
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "text",
|
| 1104 |
+
"text": "[2] Bernd Bischl, Giuseppe Casalicchio, Matthias Feurer, Frank Hutter, Michel Lang, Rafael G Mantovani, Jan N van Rijn, and Joaquin Vanschoren. Openml benchmarking suites. arXiv preprint arXiv:1708.03731, 2017. ",
|
| 1105 |
+
"bbox": [
|
| 1106 |
+
178,
|
| 1107 |
+
150,
|
| 1108 |
+
823,
|
| 1109 |
+
193
|
| 1110 |
+
],
|
| 1111 |
+
"page_idx": 10
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "text",
|
| 1115 |
+
"text": "[3] James P Bridge, Sean B Holden, and Lawrence C Paulson. Machine learning for first-order theorem proving. Journal of automated reasoning, 53(2):141–172, 2014. ",
|
| 1116 |
+
"bbox": [
|
| 1117 |
+
178,
|
| 1118 |
+
200,
|
| 1119 |
+
823,
|
| 1120 |
+
229
|
| 1121 |
+
],
|
| 1122 |
+
"page_idx": 10
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "text",
|
| 1126 |
+
"text": "[4] Krisztian Buza. Feedback prediction for blogs. In Data analysis, machine learning and knowledge discovery, pages 145–152. Springer, 2014. ",
|
| 1127 |
+
"bbox": [
|
| 1128 |
+
179,
|
| 1129 |
+
237,
|
| 1130 |
+
823,
|
| 1131 |
+
267
|
| 1132 |
+
],
|
| 1133 |
+
"page_idx": 10
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"type": "text",
|
| 1137 |
+
"text": "[5] Mathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal, Piotr Bojanowski, and Armand Joulin. Unsupervised learning of visual features by contrasting cluster assignments. arXiv preprint arXiv:2006.09882, 2020. ",
|
| 1138 |
+
"bbox": [
|
| 1139 |
+
179,
|
| 1140 |
+
273,
|
| 1141 |
+
823,
|
| 1142 |
+
316
|
| 1143 |
+
],
|
| 1144 |
+
"page_idx": 10
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"type": "text",
|
| 1148 |
+
"text": "[6] Tianqi Chen and Carlos Guestrin. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’16, pages 785–794, New York, NY, USA, 2016. ACM. ISBN 978-1-4503-4232-2. doi: 10.1145/2939672.2939785. URL http://doi.acm.org/10.1145/2939672.2939785. ",
|
| 1149 |
+
"bbox": [
|
| 1150 |
+
181,
|
| 1151 |
+
325,
|
| 1152 |
+
826,
|
| 1153 |
+
382
|
| 1154 |
+
],
|
| 1155 |
+
"page_idx": 10
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "text",
|
| 1159 |
+
"text": "[7] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pages 1597–1607. PMLR, 2020. ",
|
| 1160 |
+
"bbox": [
|
| 1161 |
+
178,
|
| 1162 |
+
390,
|
| 1163 |
+
823,
|
| 1164 |
+
433
|
| 1165 |
+
],
|
| 1166 |
+
"page_idx": 10
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"text": "[8] Xinlei Chen, Haoqi Fan, Ross Girshick, and Kaiming He. Improved baselines with momentum contrastive learning. arXiv preprint arXiv:2003.04297, 2020. ",
|
| 1171 |
+
"bbox": [
|
| 1172 |
+
178,
|
| 1173 |
+
439,
|
| 1174 |
+
823,
|
| 1175 |
+
469
|
| 1176 |
+
],
|
| 1177 |
+
"page_idx": 10
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "text",
|
| 1181 |
+
"text": "[9] Ronan Collobert and Jason Weston. A unified architecture for natural language processing: Deep neural networks with multitask learning. In Proceedings of the 25th international conference on Machine learning, pages 160–167, 2008. ",
|
| 1182 |
+
"bbox": [
|
| 1183 |
+
179,
|
| 1184 |
+
477,
|
| 1185 |
+
823,
|
| 1186 |
+
520
|
| 1187 |
+
],
|
| 1188 |
+
"page_idx": 10
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "text",
|
| 1192 |
+
"text": "[10] Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Edouard Grave, Myle Ott, Luke Zettlemoyer, and Veselin Stoyanov. Unsupervised cross-lingual representation learning at scale. arXiv preprint arXiv:1911.02116, 2019. ",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
174,
|
| 1195 |
+
527,
|
| 1196 |
+
825,
|
| 1197 |
+
584
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 10
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "text",
|
| 1203 |
+
"text": "[11] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018. ",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
173,
|
| 1206 |
+
592,
|
| 1207 |
+
823,
|
| 1208 |
+
635
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 10
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"text": "[12] Dheeru Dua and Casey Graff. UCI machine learning repository, 2017. URL http://archive. ics.uci.edu/ml. ",
|
| 1215 |
+
"bbox": [
|
| 1216 |
+
173,
|
| 1217 |
+
642,
|
| 1218 |
+
825,
|
| 1219 |
+
672
|
| 1220 |
+
],
|
| 1221 |
+
"page_idx": 10
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "text",
|
| 1225 |
+
"text": "[13] William Falcon and Kyunghyun Cho. A framework for contrastive self-supervised learning and designing a new approach. arXiv preprint arXiv:2009.00104, 2020. ",
|
| 1226 |
+
"bbox": [
|
| 1227 |
+
174,
|
| 1228 |
+
680,
|
| 1229 |
+
823,
|
| 1230 |
+
709
|
| 1231 |
+
],
|
| 1232 |
+
"page_idx": 10
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "text",
|
| 1236 |
+
"text": "[14] Ananda L Freire, Guilherme A Barreto, Marcus Veloso, and Antonio T Varela. Short-term memory mechanisms in neural network learning of robot navigation tasks: A case study. In 2009 6th Latin American Robotics Symposium (LARS 2009), pages 1–6. IEEE, 2009. ",
|
| 1237 |
+
"bbox": [
|
| 1238 |
+
173,
|
| 1239 |
+
717,
|
| 1240 |
+
823,
|
| 1241 |
+
760
|
| 1242 |
+
],
|
| 1243 |
+
"page_idx": 10
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "text",
|
| 1247 |
+
"text": "[15] Jean-Bastien Grill, Florian Strub, Florent Altché, 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. ",
|
| 1248 |
+
"bbox": [
|
| 1249 |
+
173,
|
| 1250 |
+
767,
|
| 1251 |
+
823,
|
| 1252 |
+
824
|
| 1253 |
+
],
|
| 1254 |
+
"page_idx": 10
|
| 1255 |
+
},
|
| 1256 |
+
{
|
| 1257 |
+
"type": "text",
|
| 1258 |
+
"text": "[16] Michael Harries and New South Wales. Splice-2 comparative evaluation: Electricity pricing. 1999. ",
|
| 1259 |
+
"bbox": [
|
| 1260 |
+
173,
|
| 1261 |
+
832,
|
| 1262 |
+
820,
|
| 1263 |
+
861
|
| 1264 |
+
],
|
| 1265 |
+
"page_idx": 10
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"type": "text",
|
| 1269 |
+
"text": "[17] Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 9729–9738, 2020. ",
|
| 1270 |
+
"bbox": [
|
| 1271 |
+
174,
|
| 1272 |
+
869,
|
| 1273 |
+
826,
|
| 1274 |
+
912
|
| 1275 |
+
],
|
| 1276 |
+
"page_idx": 10
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"type": "text",
|
| 1280 |
+
"text": "[18] Irwin Hersey. Textures: A photographic album for artists and designers by phil brodatz. Leonardo, 1(1):91–92, 1968. \n[19] Weihua Hu, Takeru Miyato, Seiya Tokui, Eiichi Matsumoto, and Masashi Sugiyama. Learning discrete representations via information maximizing self-augmented training. In International Conference on Machine Learning, pages 1558–1567. PMLR, 2017. \n[20] Xu Ji, João F Henriques, and Andrea Vedaldi. Invariant information clustering for unsupervised image classification and segmentation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 9865–9874, 2019. \n[21] Armand Joulin, Edouard Grave, Piotr Bojanowski, and Tomas Mikolov. Bag of tricks for efficient text classification. arXiv preprint arXiv:1607.01759, 2016. \n[22] Lyes Khacef, Laurent Rodriguez, and Benoit Miramond. Improving self-organizing maps with unsupervised feature extraction. In International Conference on Neural Information Processing, pages 474–486. Springer, 2020. \n[23] Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016. \n[24] Ron Kohavi. Scaling up the accuracy of naive-bayes classifiers: A decision-tree hybrid. In Kdd, volume 96, pages 202–207, 1996. \n[25] Adam R Kosiorek, Sara Sabour, Yee Whye Teh, and Geoffrey E Hinton. Stacked capsule autoencoders. arXiv preprint arXiv:1906.06818, 2019. \n[26] Emmanuelle Le Chatelier, Trine Nielsen, Junjie Qin, Edi Prifti, Falk Hildebrand, Gwen Falony, Mathieu Almeida, Manimozhiyan Arumugam, Jean-Michel Batto, Sean Kennedy, et al. Richness of human gut microbiome correlates with metabolic markers. Nature, 500(7464):541–546, 2013. \n[27] Yann LeCun. The mnist database of handwritten digits. http://yann. lecun. com/exdb/mnist/, 1998. \n[28] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019. \n[29] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017. \n[30] DD Lucas, R Klein, J Tannahill, D Ivanova, S Brandon, D Domyancic, and Y Zhang. Failure analysis of parameter-induced simulation crashes in climate models. Geoscientific Model Development, 6(4):1157–1171, 2013. \n[31] Renata CB Madeo, Clodoaldo AM Lima, and Sarajane M Peres. Gesture unit segmentation using support vector machines: segmenting gestures from rest positions. In Proceedings of the 28th Annual ACM Symposium on Applied Computing, pages 46–52, 2013. \n[32] Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, Ian Goodfellow, and Brendan Frey. Adversarial autoencoders. arXiv preprint arXiv:1511.05644, 2015. \n[33] C Merz and PM Murphy. Pima indians diabetes dataset. UCI Repository, 1996. \n[34] Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781, 2013. \n[35] Michiel O Noordewier, Geoffrey G Towell, and Jude W Shavlik. Training knowledge-based neural networks to recognize genes in dna sequences. In Advances in neural information processing systems, pages 530–536, 1991. \n[36] Min Oh and Liqing Zhang. Deepmicro: deep representation learning for disease prediction based on microbiome data. Scientific reports, 10(1):1–9, 2020. ",
|
| 1281 |
+
"bbox": [
|
| 1282 |
+
169,
|
| 1283 |
+
46,
|
| 1284 |
+
828,
|
| 1285 |
+
914
|
| 1286 |
+
],
|
| 1287 |
+
"page_idx": 11
|
| 1288 |
+
},
|
| 1289 |
+
{
|
| 1290 |
+
"type": "text",
|
| 1291 |
+
"text": "[37] Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. ",
|
| 1292 |
+
"bbox": [
|
| 1293 |
+
169,
|
| 1294 |
+
90,
|
| 1295 |
+
823,
|
| 1296 |
+
119
|
| 1297 |
+
],
|
| 1298 |
+
"page_idx": 12
|
| 1299 |
+
},
|
| 1300 |
+
{
|
| 1301 |
+
"type": "text",
|
| 1302 |
+
"text": "[38] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. Pytorch: An imperative style, highperformance deep learning library. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché- Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems 32, pages 8024–8035. Curran Associates, Inc., 2019. URL http://papers.neurips.cc/paper/ 9015-pytorch-an-imperative-style-high-performance-deep-learning-library pdf. ",
|
| 1303 |
+
"bbox": [
|
| 1304 |
+
176,
|
| 1305 |
+
128,
|
| 1306 |
+
826,
|
| 1307 |
+
256
|
| 1308 |
+
],
|
| 1309 |
+
"page_idx": 12
|
| 1310 |
+
},
|
| 1311 |
+
{
|
| 1312 |
+
"type": "text",
|
| 1313 |
+
"text": "[39] Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A Efros. Context encoders: Feature learning by inpainting. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2536–2544, 2016. ",
|
| 1314 |
+
"bbox": [
|
| 1315 |
+
174,
|
| 1316 |
+
262,
|
| 1317 |
+
826,
|
| 1318 |
+
305
|
| 1319 |
+
],
|
| 1320 |
+
"page_idx": 12
|
| 1321 |
+
},
|
| 1322 |
+
{
|
| 1323 |
+
"type": "text",
|
| 1324 |
+
"text": "[40] F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12:2825–2830, 2011. ",
|
| 1325 |
+
"bbox": [
|
| 1326 |
+
174,
|
| 1327 |
+
314,
|
| 1328 |
+
826,
|
| 1329 |
+
369
|
| 1330 |
+
],
|
| 1331 |
+
"page_idx": 12
|
| 1332 |
+
},
|
| 1333 |
+
{
|
| 1334 |
+
"type": "text",
|
| 1335 |
+
"text": "[41] Jeffrey Pennington, Richard Socher, and Christopher D Manning. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pages 1532–1543, 2014. ",
|
| 1336 |
+
"bbox": [
|
| 1337 |
+
173,
|
| 1338 |
+
378,
|
| 1339 |
+
825,
|
| 1340 |
+
422
|
| 1341 |
+
],
|
| 1342 |
+
"page_idx": 12
|
| 1343 |
+
},
|
| 1344 |
+
{
|
| 1345 |
+
"type": "text",
|
| 1346 |
+
"text": "[42] Katarzyna Tomczak, Patrycja Czerwinska, and Maciej Wiznerowicz. The cancer genome atlas ´ (tcga): an immeasurable source of knowledge. Contemporary oncology, 19(1A):A68, 2015. ",
|
| 1347 |
+
"bbox": [
|
| 1348 |
+
171,
|
| 1349 |
+
430,
|
| 1350 |
+
823,
|
| 1351 |
+
460
|
| 1352 |
+
],
|
| 1353 |
+
"page_idx": 12
|
| 1354 |
+
},
|
| 1355 |
+
{
|
| 1356 |
+
"type": "text",
|
| 1357 |
+
"text": "[43] Pascal Vincent, Hugo Larochelle, Yoshua Bengio, and Pierre-Antoine Manzagol. Extracting and composing robust features with denoising autoencoders. In Proceedings of the 25th international conference on Machine learning, pages 1096–1103, 2008. ",
|
| 1358 |
+
"bbox": [
|
| 1359 |
+
173,
|
| 1360 |
+
467,
|
| 1361 |
+
825,
|
| 1362 |
+
511
|
| 1363 |
+
],
|
| 1364 |
+
"page_idx": 12
|
| 1365 |
+
},
|
| 1366 |
+
{
|
| 1367 |
+
"type": "text",
|
| 1368 |
+
"text": "[44] I-Cheng Yeh, King-Jang Yang, and Tao-Ming Ting. Knowledge discovery on rfm model using bernoulli sequence. Expert Systems with Applications, 36(3):5866–5871, 2009. ",
|
| 1369 |
+
"bbox": [
|
| 1370 |
+
173,
|
| 1371 |
+
520,
|
| 1372 |
+
821,
|
| 1373 |
+
549
|
| 1374 |
+
],
|
| 1375 |
+
"page_idx": 12
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"type": "text",
|
| 1379 |
+
"text": "[45] Pengcheng Yin, Graham Neubig, Wen-tau Yih, and Sebastian Riedel. Tabert: Pretraining for joint understanding of textual and tabular data. arXiv preprint arXiv:2005.08314, 2020. ",
|
| 1380 |
+
"bbox": [
|
| 1381 |
+
173,
|
| 1382 |
+
556,
|
| 1383 |
+
821,
|
| 1384 |
+
587
|
| 1385 |
+
],
|
| 1386 |
+
"page_idx": 12
|
| 1387 |
+
},
|
| 1388 |
+
{
|
| 1389 |
+
"type": "text",
|
| 1390 |
+
"text": "[46] Jinsung Yoon, Yao Zhang, James Jordon, and Mihaela van der Schaar. Vime: Extending the success of self-and semi-supervised learning to tabular domain. Advances in Neural Information Processing Systems, 33, 2020. ",
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
174,
|
| 1393 |
+
594,
|
| 1394 |
+
825,
|
| 1395 |
+
637
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 12
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "text",
|
| 1401 |
+
"text": "[47] Kun Zhang and Wei Fan. Forecasting skewed biased stochastic ozone days: analyses, solutions and beyond. Knowledge and Information Systems, 14(3):299–326, 2008. ",
|
| 1402 |
+
"bbox": [
|
| 1403 |
+
171,
|
| 1404 |
+
646,
|
| 1405 |
+
823,
|
| 1406 |
+
675
|
| 1407 |
+
],
|
| 1408 |
+
"page_idx": 12
|
| 1409 |
+
}
|
| 1410 |
+
]
|
parse/train/vrhNQ7aYSdr/vrhNQ7aYSdr_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/vrhNQ7aYSdr/vrhNQ7aYSdr_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|