ZHANGYUXUAN-zR commited on
Commit
4d74fbf
·
verified ·
1 Parent(s): befe9b9

Add files using upload-large-folder tool

Browse files
parse/train/BylyV1BtDB/BylyV1BtDB.md ADDED
@@ -0,0 +1,397 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # FR-GAN: FAIR AND ROBUST TRAINING
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ We consider the problem of fair and robust model training in the presence of data poisoning. Ensuring fairness usually involves a tradeoff against accuracy, so if the data poisoning is mistakenly viewed as additional bias to be fixed, the accuracy will be sacrificed even more. We demonstrate that this phenomenon indeed holds for state-of-the-art model fairness techniques. We then propose FR-GAN, which holistically performs fair and robust model training using generative adversarial networks (GANs). We first use a generator that attempts to classify examples as accurately as possible. In addition, we deploy two discriminators: (1) a fairness discriminator that predicts the sensitive attribute from classification results and (2) a robustness discriminator that distinguishes examples and predictions from a clean validation set. Our framework respects all the prominent fairness measures: disparate impact, equalized odds, and equal opportunity. Also, FR-GAN optimizes fairness without requiring the knowledge of prior statistics of the sensitive attributes. In our experiments, FR-GAN shows almost no decrease in fairness and accuracy in the presence of data poisoning unlike other state-of-the-art fairness methods, which are vulnerable. In addition, FR-GAN can be adjusted using parameters to maintain reasonable accuracy and fairness even if the validation set is too small or unavailable.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ As machine learning becomes widespread in the Software 2.0 era (Karpathy, 2017), there is an urgent need to address the issues of fairness and robustness. For sensitive applications like healthcare, finance, and self-driving cars, a trained model must not discriminate customers based on sensitive attributes including age, sex, or religion. In addition, as applications often rely on external data sets for their training data, the model training must be resilient against noisy or even adversarial data.
12
+
13
+ Traditionally, model fairness research (Venkatasubramanian, 2019; Chouldechova & Roth, 2018; Verma & Rubin, 2018) has focused on developing metrics such as disparate impact (Feldman et al., 2015), equalized odds (Hardt et al., 2016), and equal opportunity (Hardt et al., 2016), which capture various notions of discrimination. More recently, there has been a surge in unfairness mitigation techniques (Bellamy et al., 2018), which improve the model fairness by either fixing the training data, training process, or trained model. Unfairness mitigation usually involves some tradeoff between the model’s accuracy and fairness. Most recently, generative adversarial networks (GANs) are being adapted to a fairness setting (Zhang et al., 2018). The architecture of GANs is suitable because it can be used to compete the training between two objectives: accuracy and fairness.
14
+
15
+ Robust model training is also important and needs to be concurrently taken into consideration. There has been a proliferation of algorithms that make model training resilient against noisy and even adversarial data (Natarajan et al., 2013; Biggio et al., 2011; Frenay & Verleysen, 2014). The latter ´ scenario may occur when the source of the training data is external, and we cannot control the data that is being added. For example, any public dataset on the Web may contain intentionallyfalse information. Moreover, one must have a robust training algorithm if the data set comes from diverse users’ inputs that cannot be fully trusted (Konecnˇ y et al., 2016). Recently, data poisoning \` attacks have become increasingly sophisticated where it is becoming difficult to sanitize the data against all of them (Koh et al., 2018). In addition, dataset searching is becoming mainstream as demonstrated by Google Dataset Search (Goods) (Halevy et al., 2016) and its public version for searching scientific datasets (Noy et al., 2019). While data lakes within companies may consist of refined datasets, datasets in the public are easy to poison. And anyone can poison public datasets using attacks in the literature and share them. We thus believe that it is essential to address both bias and poisoning as a preventive measure.
16
+
17
+ Solving model fairness without addressing data poisoning may lead to a worse tradeoff between accuracy and fairness. For example, consider a banking system that is giving out loans where there are two sensitive groups: men and women. According to disparate impact, the two groups must have similar ratios of positive predictions. A perfect disparate impact would have a value of 1. Suppose the clean training data has no bias and a perfect (or high) disparate impact score. Now suppose this data is poisoned where half of the positive labels of men are flipped to negative labels. If the model is fitted so as to make more negative predictions on men than women, then disparate impact would worsen. To address this problem, one may suggest using data sanitization techniques prior to the model training, but it is challenging to do so without any knowledge of the model. Even though many data sanitization methods are proposed, there have been newer attacks that can easily evade such defenses (Koh et al., 2018).
18
+
19
+ Our main contribution is the development of a new framework called FR-GAN, which trains accurate models that are also fair and robust to poisoning. FR-GAN consists of a generator used for classification, a discriminator that distinguishes predictions from one sensitive group against others, and a second discriminator that distinguishes {examples, predictions $\}$ of the training data from {examples, labels $\}$ of a separate and clean validation set. The first discriminator ensures that the prediction $\hat { y }$ is independent of the sensitive attribute $z$ . We show that variations of this approach can be used to maximize any of the following prominent fairness measures: disparate impact, equalized odds, and equal opportunity. The second discriminator ensures that the model predictions on the training data are “consistent” with labels on clean data. We theoretically show that FR-GAN optimizes fairness without requiring the knowledge of prior statistics of sensitive attributes. In addition, the parameters of FR-GAN can be adjusted to maintain reasonable accuracy and fairness even if the validation set is too small or unavailable. In the following sections, we present the related work, demonstrate the weaknesses of current fairness methods, and propose FR-GAN.
20
+
21
+ # 2 RELATED WORK
22
+
23
+ Model fairness The notion of discrimination has many definitions and usually comes from certain social goals that one wants to guarantee. Fairness research has been focused on defining fairness measures that capture a variety of notions of fairness (Verma & Rubin, 2018). There are largely two types of fairness measures: (1) group fairness (Barocas & Selbst, 2016; Hardt et al., 2016), which ensures similar statistics between two sensitive groups; (2) individual fairness (Dwork et al., 2012), which guarantees similar prediction results across nearby examples. Group fairness measures are widely studied in general applications, even though these cannot be simultaneously satisfied in certain circumstances (Kleinberg et al., 2017). In addition, there are also recent significant works that focus on individual fairness (Garg et al., 2018; Yurochkin et al., 2019; Kearns et al., 2019; Jung et al., 2019). Among the two types of fairness with different aspects, we focus on group fairness as our initial research. Recently, there has also been a surge of research on unfairness mitigation techniques (Bellamy et al., 2018). Depending on where a fix occurs, there are mainly three approaches: (1) pre-processing techniques (Kamiran & Calders, 2011; du Pin Calmon et al., 2017; Zemel et al., 2013; Feldman et al., 2015) that fix the training data; (2) in-processing techniques (Zafar et al., 2017; Jiang & Nachum, 2019; Zhang et al., 2018; Kamishima et al., 2012; Cotter et al., 2019; 2018; Agarwal et al., 2018) that address the issue during model training; and (3) post-processing techniques (Hardt et al., 2016; Pleiss et al., 2017; Kamiran et al., 2012) that manipulate predictions while maintaining the model.
24
+
25
+ Among the three, the in-processing techniques have the advantages that one can work with any data and that there is more control on model training (Venkatasubramanian, 2019). FAIRNESS CONSTRAINTS (Zafar et al., 2017) incorporates a regularization term that reflects fairness constraints in the context of convex margin-based classifiers such as logistic regression and support vector machines (SVMs). The main hyperparameter is the $\lambda$ term, which serves to balance the accuracy and fairness objectives. LABEL BIAS CORRECTION (Jiang & Nachum, 2019) assumes the existence of true yet possibly biased labels. A reweighting algorithm is proposed with theoretical guarantees that training on the resulting loss corresponds to training on the true unbiased labels, which yields a fair model. Here the hyperparameters include the number of training iterations. Finally, ADVERSARIAL
26
+
27
+ ![](images/587d93eae3dc45b7462314f369f8fbc58049c38195c3a2af8d5cd0cbe2723540.jpg)
28
+ Figure 1: The left figure shows a synthetic dataset with a certain poisoning. Examples are divided into $z = 0$ (marked with circles) and $z = 1$ (crosses) as per a sensitive attribute $z$ . The blue points indicate positive labels while the red points denote negative ones. For data poisoning, we flipped $z$ values that reduce the model accuracy the most (similar to label flipping (Paudice et al., 2018), but specialized for fairness). The right figure shows that poisoning significantly worsens the accuracyfairness tradeoff (i.e., shifts to the left) of the FAIRNESS CONSTRAINTS method (Zafar et al., 2017).
29
+
30
+ DEBIASING (Zhang et al., 2018) trains a classifier so that an adversary cannot predict the sensitive attributes based on the output of the classifier. Hence, the classifier achieves fairness when its predictions do not have any correlation with sensitive attributes. This idea of adversarial training is similar to GANs (Goodfellow et al., 2014). ADVERSARIAL DEBIASING provides insights of using adversarial training to minimize mutual information between the prediction and sensitive attributes. In this paper, we strengthen the theoretical results of ADVERSARIAL DEBIASING using information theory, and this motivates us to provide systematic methodology for various fairness metrics (Section 4.1).
31
+
32
+ As we demonstrate in Section 3, the existing techniques are not tailored for robust training, so are vulnerable to data poisoning attacks. In comparison, FR-GAN addresses both model fairness and robust training within the same model training process.
33
+
34
+ Robust training There is a heavy literature on how to make the model training robust against noisy or even adversarial data (Natarajan et al., 2013; Biggio et al., 2011; Frenay & Verleysen, 2014;´ Kurakin et al., 2017). A major challenge is that there can be a wide range of data poisoning attacks that keep on evolving. One defense approach is to sanitize the training data and thus fix the root cause. A fundamental limitation is that we do not know in general what kind of poisoning will occur, so a universal defense against all possible attacks does not seem feasible as demonstrated by Koh et al. (2018). A more recent trend is to develop general defense algorithms for any attack during model training using meta learning (Veit et al., 2017; Li et al., 2017; Xiao et al., 2015; Hendrycks et al., 2018). Ren et al. (2018) propose a meta-learning framework that employs a clean validation set for the purpose of preventing the model training from being influenced by poisoned data. By using the validation loss as a meta objective, it intends to defend against any poisoning attack. Our FR-GAN framework is inspired by this approach, but employs a GAN-based model to support fair and robust training without using meta learning. In particular, the design of FR-GAN’s robustness discriminator is based on mutual-information-based theoretical insights (Section 4.2). Another line of research is defending against adversarial attacks during test time (Biggio et al., 2013; Goodfellow et al., 2015; Wong & Kolter, 2018). In comparison, our focus is on defending against data poisoning on the training data.
35
+
36
+ # 3 VULNERABILITY OF FAIRNESS METHODS
37
+
38
+ We perform experiments to demonstrate that state-of-the-art fairness methods are indeed vulnerable even to simple poisoning attacks. We generate a synthetic dataset as shown in Figure 1a (see the generation details in Section 5.1). There are two non-sensitive attributes $a$ and $b$ , which are reflected in the $\mathbf { X }$ -axis and y-axis, respectively. The examples are further divided into two classes based on the sensitive attribute $z$ . To generate poisoned data, we measure accuracy degradation for a flipping of each $z$ . We then choose the top- $10 \%$ of the $z$ values with the highest degradation and flip them. This approach is similar to the existing label flipping method (Paudice et al., 2018), except that the $z$ value is being flipped instead of the label so that the model fairness is also affected. To make a validation set, we randomly select clean examples that amount to $10 \%$ of the entire training data.
39
+
40
+ ![](images/5ce3b0098e0441d312415d8d3cf93b0e03452037ee45f1e0fe753a8a781d3cb0.jpg)
41
+ Figure 2: The architecture of FR-GAN.
42
+
43
+ We use disparate impact (Feldman et al., 2015) as a fairness measure and evaluate one fairness method, called FAIRNESS CONSTRAINTS (Zafar et al., 2017). As this method involves a regularization factor $\lambda$ that balances the accuracy and fairness objectives, we can obtain a tradeoff curve by adjusting its value. Figure 1b shows two accuracy-fairness tradeoff curves obtained with the clean and poisoned synthetic datasets. Notice that adding data poisoning clearly shifts the curve to the left, which means both accuracy and fairness decrease. This coincides with our intuition. The poisoning confuses the model so that there are more biased examples to fix, which in turn makes it overreact and thus sacrifice more on accuracy. In the supplementary, we show similar trends when the data is poisoned via label flipping. In Section 5, we will show how data poisoning affects LABEL BIAS CORRECTION (Jiang & Nachum, 2019) and ADVERSARIAL DEBIASING (Zhang et al., 2018).
44
+
45
+ # 4 FR-GAN
46
+
47
+ We now describe FR-GAN, which is shown in Figure 2. Unlike traditional GANs, the generator is a classifier that receives an example $x \in X$ and returns a prediction $\hat { y }$ . The other two discriminators optimize fairness and robustness as we describe in the following sections.
48
+
49
+ # 4.1 FAIRNESS
50
+
51
+ We denote by $\mathcal { D } _ { t r }$ the training data set. Suppose $\mathcal { D } _ { t r }$ has $m$ examples $\{ ( \boldsymbol { x } ^ { ( i ) } , \boldsymbol { z } ^ { ( i ) } , \boldsymbol { y } ^ { ( i ) } ) \} _ { i = 1 } ^ { m }$ where $\boldsymbol { x } ^ { ( i ) }$ contains the non-sensitive attributes, $z ^ { ( i ) }$ contains the sensitive attributes, and $\boldsymbol y ^ { ( i ) }$ is the label. Both the sensitive attribute and label can be multi-class, i.e., they can have one of multiple values. For notational simplicity, we assume there is one sensitive attribute, which can be viewed as a merged result of multiple sensitive attributes with a larger alphabet size. For illustrative purposes, we focus on disparate impact, leaving in the supplementary our formulation for equalized odds and equal opportunity.
52
+
53
+ The first discriminator in FR-GAN distinguishes predictions w.r.t. one sensitive group from those in the others. Disparate impact intends the sensitive attribute to be independent of the model’s prediction, i.e.,
54
+
55
+ $$
56
+ I ( Z ; { \hat { Y } } ) = 0 .
57
+ $$
58
+
59
+ We explain how FR-GAN can enforce the above constraint. Let $P _ { Z } ( z )$ be the distribution of $Z$ where $z \in { \mathcal { Z } }$ and $\mathcal { Z }$ is the set of possible sensitive attribute values. Let $\hat { Y } | Z = z \sim P _ { \hat { Y } | z } ( \cdot )$ and $\hat { Y } \sim P _ { \hat { Y } } ( \cdot )$ . Then $\begin{array} { r } { P _ { \hat { Y } } ( \cdot ) = \sum _ { z \in \mathcal { Z } } P _ { Z } ( z ) P _ { \hat { Y } | z } ( \cdot ) } \end{array}$ .
60
+
61
+ We show that mutual information is equivalent to the following expression where the optimal discriminator $\begin{array} { r } { D _ { z } ^ { \star } ( \hat { y } ) = \frac { P _ { \hat { Y } , z } ( \hat { y } , z ) } { P _ { \hat { Y } } ( \hat { y } ) } } \end{array}$ and $\begin{array} { r } { \sum _ { z \in \mathcal { Z } } D _ { z } ^ { \star } ( \hat { y } ) = 1 \forall \hat { y } \in \mathcal { V } } \end{array}$ .
62
+
63
+ $$
64
+ \begin{array} { r } { I ( Z ; \hat { Y } ) = \operatorname* { m a x } _ { D _ { z } ( \hat { y } ) : \sum _ { z } D _ { z } ( \hat { y } ) = 1 \forall \hat { y } } \sum _ { z \in \mathcal { Z } } P _ { Z } ( z ) \mathbb { E } _ { P _ { \hat { Y } | z } } \left[ \log D _ { z } ( \hat { Y } ) \right] + H ( Z ) . } \end{array}
65
+ $$
66
+
67
+ While deferring the detailed proof to the supplemental materials, we provide a brief overview of the proof. As the optimization problem in the RHS is convex, we find the optimal dicriminator by solving the KKT conditions. We then show that the maximum value attained by the optimal discriminator is equal to the mutual information by using the properties of mutual information and the generalized Jensen-Shannon divergence (Lin, 1991).
68
+
69
+ What is more involved than showing the above equality is designing a right optimization problem. One needs to carefully handcraft a plausible optimization problem so that its unique solution matches the desired quantity. Here, we design the above optimization problem via a ‘guess- $\&$ -check’ approach aided by the structural insights across the KL divergences that appear in an alternative expression of mutual information.
70
+
71
+ We now discuss how to implement the above expression. Since we do not know $P _ { \hat { Y } | z } ( \cdot )$ exactly, we compute the following empirical version:
72
+
73
+ $$
74
+ \operatorname* { m a x } _ { D _ { z } ( \hat { y } ) : \sum _ { z } D _ { z } ( \hat { y } ) = 1 \forall \hat { y } } \sum _ { z \in \mathcal { Z } } P _ { Z } ( z ) \sum _ { i : z ^ { ( i ) } = z } \frac { 1 } { m _ { z } } \log D _ { z } ( \hat { y } ^ { ( i ) } ) + H ( Z ) .
75
+ $$
76
+
77
+ Now for sufficiently large $m$ , the number $m _ { z }$ of examples with $z ^ { ( i ) } = z$ is approximately the same as $P _ { Z } ( z ) m$ . Therefore, the above expression becomes:
78
+
79
+ $$
80
+ \operatorname* { m a x } _ { D _ { z } ( \hat { y } ) : \sum _ { z } D _ { z } ( \hat { y } ) = 1 \forall \hat { y } } \sum _ { z \in \mathcal { Z } } \sum _ { i : z ^ { ( i ) } = z } \frac { 1 } { m } \log D _ { z } ( \hat { y } ^ { ( i ) } ) + H ( Z ) .
81
+ $$
82
+
83
+ Interestingly, this formulation is exactly the same as that in the original GAN (Goodfellow et al., 2014) when $| \mathcal { Z } | = 2$ . We also remark that our formulation does not require a prior knowledge on $P _ { Z } ( z )$ .
84
+
85
+ # 4.2 ROBUSTNESS
86
+
87
+ We utilize a clean yet small validation set to ensure robust training. In particular, we add a second discriminator that distinguishes the training data with predictions $\{ ( \bar { x ^ { ( i ) } } , z ^ { ( i ) } , \hat { y } ^ { ( i ) } ) \} _ { i = 1 } ^ { m }$ from the validation set {(x(i)val, z(i)val, y(i)val)}mvali=1 . Intuitively, if the classifier is confused by data poisoning in the training data, then its predictions will not be consistent with the labels of the clean data, and the discriminator would be able to detect that difference. While using a validation set is inspired by the meta learning approach by Ren et al. (2018), we take an adversarial learning approach. A key motivation behind this choice is that our GAN approach introduces a knob that controls the emphasis of robust training. We find that this knob enables FR-GAN to be more robust to the validation set size. See details in Section 5.1.
88
+
89
+ Our formulation is as follows. Let $V \sim B e r n ( \beta )$ denote whether an example comes from training data $V = 1$ ) or from the validation set $V = 0$ ). We then want to ensure that $V$ is independent of the training data and predictions, i.e., $I ( V ; X , Z , \hat { Y } ) = 0$ , which means the predictions on the training data are indistinguishable from labels of the validation set. This way we can mimic the clean data set while expecting an indirect sanitization effect. We optimize this independence using a formulation similar to that of fairness. Another possible formulation is to use the hard decision value from $D ( \hat { Y } )$ , say $\hat { Z }$ , instead of $Z$ . However, this discriminator can only be trained after the fairness discriminator is trained. Instead, we take an approach that allows us to train the two discriminators at the same time.
90
+
91
+ # 4.3 ARCHITECTURE
92
+
93
+ Figure 2 illustrates the architecture of FR-GAN. For the loss function in the generator, we employ the cross entropy loss:
94
+
95
+ $$
96
+ L _ { 1 } = \frac { 1 } { m } \sum _ { i = 1 } ^ { m } - y ^ { ( i ) } \log \hat { y } ^ { ( i ) } - ( 1 - y ^ { ( i ) } ) \log ( 1 - \hat { y } ^ { ( i ) } ) .
97
+ $$
98
+
99
+ As per Theorem 1, we set the loss function w.r.t. the fairness discriminator as:
100
+
101
+ $$
102
+ L _ { 2 } = \operatorname* { m a x } _ { D ( \cdot ) } \sum _ { z \in \mathcal { Z } } \sum _ { i : z ^ { ( i ) } = z } \frac { 1 } { m } \log D _ { z } ( \hat { y } ^ { ( i ) } ) + H ( Z )
103
+ $$
104
+
105
+ where $D ( \cdot ) : = ( D _ { 1 } ( \cdot ) , \ldots , D _ { | \mathcal { Z } | } ( \cdot ) )$ . The condition $\begin{array} { r } { \sum _ { z \in \mathcal { Z } } D _ { z } ^ { \star } ( \hat { Y } ) = 1 } \end{array}$ can be enforced by adding a softmax layer to the discriminator.
106
+
107
+ Table 1: Accuracy and fairness performances on the clean and poisoned synthetic datasets w.r.t. disparate impact. Two types of methods are compared: (1) non-fairness methods: logistic regression (LR), the meta learning by Ren et al. (2018) (ML), and R-GAN (FR-GAN with $\lambda _ { 1 } = 0$ ); (2) fairness-only methods: FAIRNESS CONSTRAINTS (Zafar et al., 2017) (FC), LABEL BIAS CORRECTION (Jiang & Nachum, 2019) (LBC), and ADVERSARIAL DEBIASING (Zhang et al., 2018) (AD). Also $ { { ^ { 6 } + \mathrm { L D } ^ { \prime } } }$ denotes loss defense (Koh et al., 2018) (a data sanitization technique that is applied prior to model training). For FR-GAN, the validation set is $10 \%$ of $\mathcal { D } _ { t r }$ . For each fairness or accuracy result of the poisoned data, we make a comparison with the clean data result and show the percentage increase or decrease.
108
+
109
+ <table><tr><td>Type</td><td>Method</td><td colspan="2">Clean data</td><td colspan="2">Poisoned data</td></tr><tr><td></td><td></td><td>D. impact</td><td>Acc.</td><td>D. impact</td><td>Acc.</td></tr><tr><td rowspan="3">Non-fair</td><td>LR</td><td>0.409</td><td>0.885</td><td>0.436 (6.60% ↑)</td><td>0.876 (1.02% ↓)</td></tr><tr><td>ML</td><td>0.429</td><td>0.883</td><td>0.386 (10.0% ↓)</td><td>0.884 (0.11% ↑)</td></tr><tr><td>R-GAN</td><td>0.414</td><td>0.883</td><td>0.338 (18.4% ↓)</td><td>0.884 (0.11% ↑)</td></tr><tr><td rowspan="6">Fair-only</td><td>FC</td><td>0.822</td><td>0.806</td><td>0.756 (8.03% ↓</td><td>0.655 (18.7% ↓)</td></tr><tr><td>LBC</td><td>0.819</td><td>0.760</td><td>0.816 (0.37% √</td><td>0.738 (2.89% ↓)</td></tr><tr><td>AD</td><td>0.807</td><td>0.811</td><td>0.711 (11.9% ↓</td><td>0.812 (0.12% ↑)</td></tr><tr><td>FC+LD</td><td>0.822</td><td>0.806</td><td>0.763 3 (7.18% ↓</td><td>0.651 (19.2% ↓)</td></tr><tr><td>LBC+LD</td><td>0.819</td><td>0.760</td><td>0.513 (37.4% ↓</td><td>0.859 (13.0% ↑)</td></tr><tr><td>AD+LD</td><td>0.807</td><td>0.811</td><td>0.730 (9.54% ↓)</td><td>0.818 (0.86% ↑)</td></tr><tr><td>Both</td><td>FR-GAN</td><td>0.813</td><td>0.809</td><td>0.830 (2.09% ↑)</td><td>0.808 (0.12% ↓)</td></tr></table>
110
+
111
+ Finally, implementing $I ( V ; X , Z , { \hat { Y } } )$ as advised by Theorem 1, we set the loss function w.r.t. the robustness discriminator as:
112
+
113
+ $$
114
+ L _ { 3 } = \operatorname* { m a x } _ { D ^ { r } ( \cdot ) } \sum _ { i : v ^ { ( i ) } = 0 } \frac { 1 } { m } \log D ^ { r } ( x ^ { ( i ) } , z ^ { ( i ) } , \hat { y } ^ { ( i ) } ) + \sum _ { i : v ^ { ( i ) } = 1 } \frac { 1 } { m } \log ( 1 - D ^ { r } ( x ^ { ( i ) } , z ^ { ( i ) } , \hat { y } ^ { ( i ) } ) ) + H ( V ) .
115
+ $$
116
+
117
+ The final objective function is to minimize the weighted sum of these value functions:
118
+
119
+ $$
120
+ \operatorname * { m i n } _ { G ( \cdot ) } L _ { 1 } + \lambda _ { 1 } L _ { 2 } + \lambda _ { 2 } L _ { 3 } .
121
+ $$
122
+
123
+ Here $\lambda _ { 1 }$ and $\lambda _ { 2 }$ are tuning knobs that play roles to emphasize fair and robust training, respectively.
124
+
125
+ # 5 EXPERIMENTS
126
+
127
+ We provide experimental results for disparate impact, while leaving in the supplementary those for equalized odds and equal opportunity. All of our results are on a separate test set. More implementation details are also in the supplementary.
128
+
129
+ # 5.1 SYNTHETIC DATA RESULTS
130
+
131
+ For the synthetic data, we generate 2,000 examples with two non-sensitive attributes $a$ and $b$ , a sensitive attribute $z$ , and a label $y$ , using a method similar to the algorithm proposed by Zafar et al. (2017). Both $z$ and $y$ are binary and generated uniformly at random. For the four possible $( z , y )$ combinations, we generate different normal distributions for $a$ and $b$ . Finally for each example, the $a$ and $b$ values are sampled as per the normal distribution associated with the $( z , y )$ pair. For data poisoning, we flip the $z$ values of examples so as to lower the model’s accuracy the most as described in Section 3.
132
+
133
+ To make a fair comparison in the context of robust training, we also improve the existing fairness methods with data sanitization and compare them with FR-GAN. Since FR-GAN is one of the first works to address both fairness and robustness, there are few baselines to compare with. Hence, we employed one reasonable baseline, which first sanitizes the poisoned data using a well-known sanitization technique and then performs each fairness algorithm. There are several sanitization techniques surveyed in Koh et al. (2018), and we choose the loss defense method. Here examples that are not well fit by the model and result in a high loss are considered poisoned and are subsequently discarded. Loss defense is the only method that utilizes the trained model and thus has the best chance of defending poisoning attacks.
134
+
135
+ ![](images/ac4f63a08631dca21653d0b3eb1db537af5a3468c9de0cabedee83a448f2adb6.jpg)
136
+ Figure 3: Accuracy-fairness tradeoff curves.
137
+
138
+ Accuracy and fairness We compare FR-GAN with FAIRNESS CONSTRAINTS (Zafar et al., 2017), LABEL BIAS CORRECTION (Jiang & Nachum, 2019), ADVERSARIAL DEBIASING (Zhang et al., 2018), and a plain non-fairness method, logistic regression. We also compare with the meta learning approach by Ren et al. (2018), which focuses on robust training. For this comparison, we tailor our framework to a setting where $\lambda _ { 1 } = 0$ (no fairness constraint), and name it R-GAN. For FR-GAN, we use a validation set that amounts to $10 \%$ of $\mathcal { D } _ { t r }$ . When setting $\lambda _ { 1 }$ and $\lambda _ { 2 }$ , we usually fix $\lambda _ { 2 }$ to some value and then adjust $\lambda _ { 1 }$ . For the clean data, we apply proper hyperparameters so that the disparate impacts are similar (around 0.8) across all distinct methods. We do the same for the poisoned data. There is no such hyperparameter tuning for logistic regression and the meta learning by Ren et al. (2018), as the frameworks have no knob for adjusting fairness. We find that this leads to poor disparate impacts. For the three fairness methods, data poisoning aggravates performances in accuracy, fairness or both. For example, the disparate impact and accuracy of FAIRNESS CONSTRAINTS fall by $8 . 0 3 \%$ and $1 8 . 7 \%$ , respectively. On the other hand, the performance changes for FR-GAN are negligible: disparate impact increases by $2 . 0 9 \%$ , and accuracy decreases by $0 . 1 2 \%$ . Table 1 also shows that combining the fairness methods with loss defense (rows 6–8) does not always yield better accuracy and fairness. In fact, using the loss defense may lower the accuracy or fairness (e.g., $\mathrm { L B C + L D }$ has a disparate impact of 0.513 on poisoned data while LBC has 0.816). Perhaps this is because the data sanitization sometimes mistakenly discards clean data as well. The results demonstrate that even a data sanitization technique may not help much. In the supplementary, we also perform experiments using equalized odds and show that FR-GAN has similar benefits.
139
+
140
+ We observe how accuracy trades off with fairness on clean and poisoned datasets. The results for FAIRNESS CONSTRAINTS are shown in Figure 1b. For LABEL BIAS CORRECTION, we employ the number of training iterations as a knob to trade accuracy off fairness. As shown in Figure 3a, the tradeoff curve shifts to the left, which demonstrates a clear tradeoff degradation. For ADVERSARIAL DEBIASING, we employ the $\alpha$ parameter (Zhang et al., 2018) analogous to $\lambda _ { 1 }$ as a knob to trade accuracy off fairness. We see in Figure 3b that the tradeoff curve again shifts to the left.
141
+
142
+ Validation set size Figures 3c to 3e show how the validation set size affects the robustness of FRGAN. In particular, we compare the accuracy-fairness tradeoff of FR-GAN on clean data and that on poisoned data while varying the size of the validation set. When running on poisoned data, we fixed $\lambda _ { 2 } = 0 . 2$ and varied $\lambda _ { 1 }$ . We see that even $2 \%$ validation set (Figure 3d) is sufficient to maintain the accuracy and fairness obtained on the clean data. When using $0 . 5 \%$ (Figure 3e), the validation set is too small and has an adverse effect on the training. However, our framework includes a tuning knob $\lambda _ { 2 }$ , so by decreasing $\lambda _ { 2 }$ down to 0.1, we could de-emphasize robust training, thereby avoiding the adverse effect (Figure 3f). This is in contrast to the meta learning approach, which suffers from a non-negligible performance degradation for a very small validation set. See details in the supplementary. The results show that only a holistic framework like FR-GAN can achieve both excellent model fairness and training robustness. In comparison, other methods tailored for only one of these objectives lose either accuracy, fairness or both.
143
+
144
+ Ablation study (Without ‘R’) For a small value of $\lambda _ { 2 }$ , we observe in Figure 3f that the accuracyfairness tradeoff curve shifts to the left, just like other fairness-only methods. To make the comparison clearer, we also plot them together in the supplementary. (Without ‘F’) When $\lambda _ { 1 } = 0$ , FR-GAN is expected to behave similarly to the other non-fair algorithms. The performance of FR-GAN with $\lambda _ { 1 } = 0$ , which we dub as R-GAN, is reported in Table 1. One can observe that R-GAN achieves a poor fairness performance just like the other non-fair algorithms.
145
+
146
+ # 5.2 REAL DATA RESULTS
147
+
148
+ We use the following benchmark datasets: ProPublica COMPAS (Angwin et al., 2016) and Adult Census (Kohavi, 1996). For sensitive attributes, we use SEX for both datasets. We do not employ the German Credit data set (Dua & Graff, 2017) as its highly biased towards positive labels. With such dataset, it is nearly impossible to observe any meaningful tradeoff.
149
+
150
+ For data poisoning, we use the same method employed on synthetic data: flipping the $z$ values so as to maximize the accuracy performance degradation. While there may be stronger attacks, this poisoning attack is effective enough to fool the three fairness methods. In the supplementary, we also evaluate FR-GAN against label flipping attacks and show similar results. We use the same constructions for the validation set and poisoning as described in Section 3.
151
+
152
+ Accuracy and fairness See Table 2. As in Table 1, we apply proper hyperparameters so that disparate impacts are similar across all distinct methods, both for the clean and poisoned datasets. The results are similar to Table 1: logistic regression and meta learning exhibit poor disparate impacts; the three fairness methods have worse disparate impact and accuracy due to data poisoning; and FR-GAN again shows little degradation both in fairness and accuracy. Table 2 also shows that combining the fairness methods with loss defense (rows 6–8 and 15–17) does not always yield better accuracy and fairness and may even lower them, which is consistent to the results on synthetic data.
153
+
154
+ # 6 DISCUSSION
155
+
156
+ In this section, we discuss possible ways to extend FR-GAN.
157
+
158
+ Subjective labels FR-GAN can be generalized to a setting where labels are subjective instead of being clean or poisoned. Here the dataset without the undesirable human biases becomes the clean validation set. In general, given two datasets with different distributions where one of them is desirable, FR-GAN can train robustly against the other distribution.
159
+
160
+ Constructing real datasets We propose a general methodology for constructing a real dataset that has both bias and poisoning, as well as a “clean” validation set. Suppose that we are performing evaluation tasks (say loan decisions) where there is a high chance of human bias (i.e., poisoning) due to the high workload. We can construct a clean validation set by selecting a few tasks, assigning more evaluators, and taking a majority vote of the evaluations to minimize the bias. While employing more evaluators can be expensive, constructing a small validation set is sufficient for robust training, which makes this method practical.
161
+
162
+ Generalizing to all attacks An interesting question is whether FR-GAN can defend against all poisoning attacks. If we know all the possible attacks, we can construct a training set containing these attacks. In the more challenging case where we do not know which attacks even exist, there seems to be a fundamental limitation in protecting against the attacks. Generalization is a universal problem in machine learning where a model trained on one dataset is not guaranteed to perform well in another dataset with a different distribution. Although the generalization is a critical issue to address, it is currently beyond the scope of this paper.
163
+
164
+ Table 2: Accuracy and fairness performances on real data for disparate impact. Two types of methods are compared: (1) non-fairness methods: logistic regression (LR), the meta learning by Ren et al. (2018) (ML), and R-GAN (FR-GAN with $\lambda _ { 1 } = 0$ ); (2) fairness-only methods: FAIRNESS CONSTRAINTS (Zafar et al., 2017) (FC), LABEL BIAS CORRECTION (Jiang & Nachum, 2019) (LBC), and ADVERSARIAL DEBIASING (Zhang et al., 2018) (AD). Also $ { { ^ { 6 } + \mathrm { L D } ^ { \prime } } }$ denotes loss defense (Koh et al., 2018) (a data sanitization technique that is applied prior to model training). For FR-GAN, the validation set is $10 \%$ of $\mathcal { D } _ { t r }$ . For each fairness or accuracy result of the poisoned data, we compare with the clean data result and show the percentage increase or decrease.
165
+
166
+ <table><tr><td>Dataset</td><td>Type</td><td>Method</td><td colspan="2">Clean data</td><td colspan="2">Poisoned data</td></tr><tr><td></td><td></td><td></td><td>D. impact</td><td>Acc.</td><td>D. impact</td><td>Acc.</td></tr><tr><td rowspan="10"></td><td>Non-fair</td><td>LR</td><td>0.465</td><td>0.674</td><td>0.431 (7.31% ↓)</td><td>0.667 (1.04% ↓)</td></tr><tr><td></td><td>ML</td><td>0.493</td><td>0.680</td><td>0.164 (66.7% ↓)</td><td>0.661 (2.79% ↓)</td></tr><tr><td></td><td>R-GAN</td><td>0.574</td><td>0.683</td><td>0.393 (31.5% ↓)</td><td>0.650 (4.83% ↓)</td></tr><tr><td></td><td>FC</td><td>0.777</td><td>0.682</td><td>0.790 (1.67% ↑)</td><td>0.671 (1.61% ↓)</td></tr><tr><td>Fair-only</td><td>LBC</td><td>0.866</td><td>0.671</td><td>0.807 (6.81% ↓)</td><td>0.615 (8.35% ↓)</td></tr><tr><td></td><td>AD</td><td>0.846</td><td>0.680</td><td>0.822 (2.84% ↓)</td><td>0.655 (3.68% ↓)</td></tr><tr><td></td><td>FC + LD</td><td>0.777</td><td>0.682</td><td>0.790 (1.67% ↑)</td><td>0.668 (2.05% ↓)</td></tr><tr><td></td><td>LBC +LD AD + LD</td><td>0.866</td><td>0.671</td><td>0.822 (5.08% ↓)</td><td>0.628 (6.41% ↓)</td></tr><tr><td></td><td></td><td>0.846</td><td>0.680</td><td>0.836 (1.18% ↓)</td><td>0.620 (8.82% ↓)</td></tr><tr><td>Both</td><td>FR-GAN</td><td>0.936</td><td>0.667</td><td>0.947 (1.18% ↑)</td><td>0.660 (1.05% ↓)</td></tr><tr><td rowspan="10">Adult</td><td>Non-fair</td><td>LR</td><td>0.328</td><td>0.847</td><td>0.230 (29.9% ↓)</td><td>0.848 (0.12% 个)</td></tr><tr><td></td><td>ML</td><td>0.346</td><td>0.844</td><td>0.215 (37.9% ↓)</td><td>0.843 (0.12% ↓)</td></tr><tr><td></td><td>R-GAN</td><td>0.335</td><td>0.847</td><td>0.285 (14.9% ↓)</td><td>0.834 (1.53% ↓)</td></tr><tr><td></td><td>FC</td><td>0.825</td><td>0.826</td><td>0.816 (1.09% ↓)</td><td>0.828 (0.24% ↑)</td></tr><tr><td></td><td>LBC</td><td>0.825</td><td>0.825</td><td>0.825 (0.00% -)</td><td>0.795 (3.64% ↓)</td></tr><tr><td>Fair-only</td><td>AD</td><td>0.850</td><td>0.767</td><td>0.679 (20.1% ↓)</td><td>0.754 (1.69% ↓)</td></tr><tr><td></td><td>FC + LD</td><td>0.825</td><td>0.826</td><td>0.798 (3.27% ↓)</td><td>0.807 (2.30% ↓)</td></tr><tr><td></td><td>LBC + LD</td><td>0.825</td><td>0.825</td><td>0.815 (1.21% ↓)</td><td>0.811 (1.70% ↓)</td></tr><tr><td></td><td>AD + LD</td><td>0.850</td><td>0.767</td><td>0.821 1 (3.41% ↓)</td><td>0.728 (5.08% ↓)</td></tr><tr><td>Both</td><td>FR-GAN</td><td>0.870</td><td>0.819</td><td>0.866 (0.46% ↓)</td><td>0.827 (0.98% ↑)</td></tr></table>
167
+
168
+ # 7 CONCLUSION
169
+
170
+ We proposed FR-GAN, which is a holistic framework that enables both unfairness mitigation and robust training. Our key contribution is proposing a novel GAN architecture that enjoys the synergistic effect of combining two approaches: (1) employing a fairness discriminator that distinguishes predictions w.r.t. one sensitive group from others and (2) employing a robust discriminator that distinguishes training data with predictions from a clean yet small validation set. We showed that existing fairness methods are vulnerable to data poisoning, even when combined with data sanitization techniques. In comparison, FR-GAN is robust to the poisoning and can be adjusted to maintain reasonable accuracy and fairness even if the validation set is too small or unavailable. We showed that FR-GAN is guaranteed to maximize fairness and supports all the prominent fairness measures: disparate impact, equalized odds, and equal opportunity.
171
+
172
+ # REFERENCES
173
+
174
+ Alekh Agarwal, Alina Beygelzimer, Miroslav Dud´ık, John Langford, and Hanna M. Wallach. A reductions approach to fair classification. In ICML, pp. 60–69, 2018.
175
+
176
+ J. Angwin, J. Larson, S. Mattu, and L. Kirchner. Machine bias: There’s software used across the country to predict future criminals. And its biased against blacks., 2016.
177
+
178
+ Solon Barocas and Selbst. Big Data’s Disparate Impact. California Law Review, 2016.
179
+
180
+ Rachel K. E. Bellamy, Kuntal Dey, Michael Hind, Samuel C. Hoffman, Stephanie Houde, Kalapriya Kannan, Pranay Lohia, Jacquelyn Martino, Sameep Mehta, Aleksandra Mojsilovic, Seema Nagar, Karthikeyan Natesan Ramamurthy, John T. Richards, Diptikalyan Saha, Prasanna Sattigeri, Moninder Singh, Kush R. Varshney, and Yunfeng Zhang. AI fairness 360: An extensible toolkit for detecting, understanding, and mitigating unwanted algorithmic bias. CoRR, abs/1810.01943, 2018.
181
+
182
+ Battista Biggio, Blaine Nelson, and Pavel Laskov. Support vector machines under adversarial label noise. In ACML, pp. 97–112, 2011.
183
+
184
+ Battista Biggio, Igino Corona, Davide Maiorca, Blaine Nelson, Nedim Srndic, Pavel Laskov, Giorgio Giacinto, and Fabio Roli. Evasion attacks against machine learning at test time. In ECML PKDD, pp. 387–402, 2013.
185
+
186
+ Alexandra Chouldechova and Aaron Roth. The frontiers of fairness in machine learning. CoRR, abs/1810.08810, 2018.
187
+
188
+ Andrew Cotter, Maya R. Gupta, Heinrich Jiang, Nathan Srebro, Karthik Sridharan, Serena Wang, Blake E. Woodworth, and Seungil You. Training well-generalizing classifiers for fairness metrics and other data-dependent constraints. CoRR, abs/1807.00028, 2018.
189
+
190
+ Andrew Cotter, Heinrich Jiang, and Karthik Sridharan. Two-player games for efficient non-convex constrained optimization. In ALT, pp. 300–332, 2019.
191
+
192
+ Flavio du Pin Calmon, Dennis Wei, Bhanukiran Vinzamuri, Karthikeyan Natesan Ramamurthy, and ´ Kush R. Varshney. Optimized pre-processing for discrimination prevention. In NeurIPS, pp. 3995–4004, 2017.
193
+
194
+ Dheeru Dua and Casey Graff. UCI machine learning repository, 2017.
195
+
196
+ Cynthia Dwork, Moritz Hardt, Toniann Pitassi, Omer Reingold, and Richard Zemel. Fairness through awareness. In Proceedings of the 3rd Innovations in Theoretical Computer Science Conference, ITCS ’12, pp. 214–226, New York, NY, USA, 2012. ACM. ISBN 978-1-4503-1115-1. doi: 10.1145/2090236.2090255.
197
+
198
+ Michael Feldman, Sorelle A. Friedler, John Moeller, Carlos Scheidegger, and Suresh Venkatasubramanian. Certifying and removing disparate impact. In KDD, pp. 259–268, 2015.
199
+
200
+ Benoˆıt Frenay and Michel Verleysen. Classification in the presence of label noise: A survey. ´ IEEE Trans. Neural Netw. Learning Syst., 25(5):845–869, 2014.
201
+
202
+ Sahaj Garg, Vincent Perot, Nicole Limtiaco, Ankur Taly, Ed Huai hsin Chi, and Alex Beutel. Counterfactual fairness in text classification through robustness. In AIES, 2018.
203
+
204
+ Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron C. Courville, and Yoshua Bengio. Generative adversarial nets. In NeurIPS, pp. 2672–2680, 2014.
205
+
206
+ Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In ICLR, 2015.
207
+
208
+ Alon Halevy, Flip Korn, Natalya F. Noy, Christopher Olston, Neoklis Polyzotis, Sudip Roy, and Steven Euijong Whang. Goods: Organizing google’s datasets. SIGMOD, 2016.
209
+
210
+ Moritz Hardt, Eric Price, and Nati Srebro. Equality of opportunity in supervised learning. In NeurIPS, pp. 3315–3323, 2016.
211
+
212
+ Dan Hendrycks, Mantas Mazeika, Duncan Wilson, and Kevin Gimpel. Using trusted data to train deep networks on labels corrupted by severe noise. In NeurIPS, pp. 10477–10486, 2018.
213
+
214
+ Heinrich Jiang and Ofir Nachum. Identifying and correcting label bias in machine learning. CoRR, abs/1901.04966, 2019.
215
+
216
+ Christopher Jung, Michael J. Kearns, Seth Neel, Aaron Roth, Logan Stapleton, and Zhiwei Steven Wu. Eliciting and enforcing subjective individual fairness. CoRR, abs/1905.10660, 2019.
217
+
218
+ Faisal Kamiran and Toon Calders. Data preprocessing techniques for classification without discrimination. Knowl. Inf. Syst., 33(1):1–33, 2011.
219
+ Faisal Kamiran, Asim Karim, and Xiangliang Zhang. Decision theory for discrimination-aware classification. In ICDM, pp. 924–929, 2012.
220
+ Toshihiro Kamishima, Shotaro Akaho, Hideki Asoh, and Jun Sakuma. Fairness-aware classifier with prejudice remover regularizer. In ECML PKDD, pp. 35–50, 2012.
221
+ Andrej Karpathy. Software 2.0. https://medium.com/@karpathy/ software-2-0-a64152b37c35, 2017.
222
+ Michael Kearns, Aaron Roth, and Saeed Sharifi-Malvajerdi. Average individual fairness: Algorithms, generalization and experiments, 2019.
223
+ Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
224
+ Jon M. Kleinberg, Sendhil Mullainathan, and Manish Raghavan. Inherent trade-offs in the fair determination of risk scores. In ITCS, pp. 43:1–43:23, 2017.
225
+ Pang Wei Koh, Jacob Steinhardt, and Percy Liang. Stronger data poisoning attacks break data sanitization defenses. CoRR, abs/1811.00741, 2018.
226
+ Ron Kohavi. Scaling up the accuracy of naive-bayes classifiers: A decision-tree hybrid. In KDD, pp. 202–207, 1996.
227
+ Jakub Konecnˇ y, H Brendan McMahan, Felix X Yu, Peter Richt \` arik, Ananda Theertha Suresh, and ´ Dave Bacon. Federated learning: Strategies for improving communication efficiency. arXiv preprint arXiv:1610.05492, 2016.
228
+ Alexey Kurakin, Ian J. Goodfellow, and Samy Bengio. Adversarial machine learning at scale. In ICLR, 2017.
229
+ Yuncheng Li, Jianchao Yang, Yale Song, Liangliang Cao, Jiebo Luo, and Li-Jia Li. Learning from noisy labels with distillation. In ICCV, pp. 1928–1936, 2017.
230
+ Jianhua Lin. Divergence measures based on the Shannon entropy. IEEE Transactions on Information theory, 37(1):145–151, 1991.
231
+ Nagarajan Natarajan, Inderjit S. Dhillon, Pradeep Ravikumar, and Ambuj Tewari. Learning with noisy labels. In NeurIPS, pp. 1196–1204, 2013.
232
+ Natasha Noy, Matthew Burgess, and Dan Brickley. Google dataset search: Building a search engine for datasets in an open web ecosystem. In 28th Web Conference (WebConf 2019), 2019.
233
+ Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in PyTorch. In NIPS Autodiff Workshop, 2017.
234
+ Andrea Paudice, Luis Munoz-Gonz ˜ alez, and Emil C. Lupu. Label sanitization against label flipping ´ poisoning attacks. In ECML PKDD, pp. 5–15, 2018.
235
+ Geoff Pleiss, Manish Raghavan, Felix Wu, Jon M. Kleinberg, and Kilian Q. Weinberger. On fairness and calibration. In NeurIPS, pp. 5684–5693, 2017.
236
+ Mengye Ren, Wenyuan Zeng, Bin Yang, and Raquel Urtasun. Learning to reweight examples for robust deep learning. In ICML, pp. 4331–4340, 2018.
237
+ Andreas Veit, Neil Alldrin, Gal Chechik, Ivan Krasin, Abhinav Gupta, and Serge J. Belongie. Learning from noisy large-scale datasets with minimal supervision. In CVPR, pp. 6575–6583, 2017.
238
+ Suresh Venkatasubramanian. Algorithmic fairness: Measures, methods and representations. In PODS, pp. 481, 2019.
239
+
240
+ Sahil Verma and Julia Rubin. Fairness definitions explained. In FairWare@ICSE, pp. 1–7, 2018.
241
+ Eric Wong and J. Zico Kolter. Provable defenses against adversarial examples via the convex outer adversarial polytope. In ICML, pp. 5283–5292, 2018.
242
+ Tong Xiao, Tian Xia, Yi Yang, Chang Huang, and Xiaogang Wang. Learning from massive noisy labeled data for image classification. In CVPR, pp. 2691–2699, 2015.
243
+ Mikhail Yurochkin, Amanda Bower, and Yuekai Sun. Learning fair predictors with sensitive subspace robustness. ArXiv, abs/1907.00020, 2019.
244
+ Muhammad Bilal Zafar, Isabel Valera, Manuel Gomez-Rodriguez, and Krishna P. Gummadi. Fairness constraints: Mechanisms for fair classification. In AISTATS, pp. 962–970, 2017.
245
+ Richard S. Zemel, Yu Wu, Kevin Swersky, Toniann Pitassi, and Cynthia Dwork. Learning fair representations. In ICML, pp. 325–333, 2013.
246
+ Brian Hu Zhang, Blake Lemoine, and Margaret Mitchell. Mitigating unwanted biases with adversarial learning. In AIES, pp. 335–340, 2018.
247
+
248
+ # A APPENDIX
249
+
250
+ # A.1 PROOF FOR THEOREM 1
251
+
252
+ Before we present the proof of the main theorem, we first recall our notation. Let $P _ { Z } ( z )$ be the distribution of $Z$ where $z \in { \mathcal { Z } }$ and $\mathcal { Z }$ is the set of possible sensitive attribute values. Let ${ \hat { Y } } | Z =$ $z \sim P _ { \hat { Y } | z } ( \cdot )$ and $\hat { Y } \sim P _ { \hat { Y } } ( \cdot )$ . Then $\begin{array} { r } { P _ { \hat { Y } } ( \cdot ) = \sum _ { z \in \mathcal { Z } } P _ { Z } ( z ) P _ { \hat { Y } | z } ( \cdot ) } \end{array}$ . Also, let $Y \sim P _ { Y } ( \cdot )$ .
253
+
254
+ For convenience, let us repeat the statement of Theorem 1 here:
255
+
256
+ $$
257
+ I ( Z ; \hat { Y } ) = \operatorname* { m a x } _ { \substack { D _ { z } ( \hat { y } ) : \sum _ { z } D _ { z } ( \hat { y } ) = 1 , \forall \hat { y } } } \ \sum _ { z \in Z } P _ { Z } ( z ) \mathbb { E } _ { P _ { \hat { Y } | z } } \left[ \log D _ { z } ( \hat { Y } ) \right] + H ( Z ) .
258
+ $$
259
+
260
+ We now prove the theorem.
261
+
262
+ Proof. Denote by $_ D$ the collection of $D _ { z } ( \hat { y } )$ for all possible values of $z$ and $\hat { y }$ , and by $\pmb { \nu }$ the collection of $\nu _ { \hat { y } }$ for all values of $\hat { y }$ . We can construct the Lagrangian function as follows:
263
+
264
+ $$
265
+ \mathcal { L } ( D , \nu ) = \sum _ { z \in \mathcal { Z } } P _ { \mathcal { Z } } ( z ) \mathbb { E } _ { P _ { \hat { Y } | z } } \left[ \log D _ { z } ( \hat { Y } ) \right] + H ( Z ) + \sum _ { \hat { y } \in \mathcal { Y } } \nu _ { \hat { y } } \left( 1 - \sum _ { z \in \mathcal { Z } } D _ { z } ( \hat { y } ) \right) .
266
+ $$
267
+
268
+ We use the following KKT conditions:
269
+
270
+ $$
271
+ \begin{array} { r l r l } & { \displaystyle \frac { \partial \mathcal { L } ( D , \nu ) } { \partial D _ { z } ( \hat { y } ) } = P _ { Z } ( z ) \frac { P _ { \hat { Y } | z } ( \hat { y } ) } { D _ { z } ^ { \star } ( \hat { y } ) } - \nu _ { \hat { y } } ^ { \star } = 0 , \quad } & & { \forall ( \hat { y } , z ) \in \mathcal { Y } \times \mathcal { Z } , } \\ & { 1 - \displaystyle \sum _ { z \in \mathcal { Z } } D _ { z } ^ { \star } ( \hat { y } ) = 0 , \quad } & & { \forall \hat { y } \in \mathcal { Y } . } \end{array}
272
+ $$
273
+
274
+ Solving the two equations, we obtain $\nu _ { \hat { y } } ^ { \star } = P _ { \hat { Y } } ( \hat { y } )$ for all $\hat { y }$ . Thus,
275
+
276
+ $$
277
+ D _ { z } ^ { \star } ( \hat { y } ) = \frac { P _ { Z } ( z ) P _ { \hat { Y } | z } ( \hat { y } ) } { P _ { \hat { Y } } ( \hat { y } ) } .
278
+ $$
279
+
280
+ Putting this to the above optimization,
281
+
282
+ $$
283
+ \begin{array} { r l } & { \quad \displaystyle \sum _ { z \in \mathcal { Z } } F _ { \mathcal { Z } } ( z ) \mathbb { E } _ { P _ { \hat { \mathcal { Y } } _ { 1 } } } \left[ \log \frac { P _ { \mathcal { Z } } ( z ) P _ { \hat { \mathcal { Y } } _ { 1 } | z } ( \hat { \mathcal { Y } } ) } { P _ { \hat { \mathcal { Y } } _ { 1 } } ( \hat { \mathcal { Y } } ) } \right] + H ( Z ) } \\ & { = \displaystyle \sum _ { z \in \mathcal { Z } } P _ { \mathcal { Z } } ( z ) \mathbb { E } _ { P _ { \hat { \mathcal { Y } } _ { 1 } | z } } \left[ \log \frac { P _ { \mathcal { Z } } ( z ) P _ { \hat { \mathcal { Y } } _ { 1 } | z } ( \hat { \mathcal { Y } } ) } { P _ { \hat { \mathcal { Y } } } ( \hat { \mathcal { Y } } ) } \right] + \displaystyle \sum _ { z \in \mathcal { Z } } P _ { \mathcal { Z } } ( z ) \log \frac { 1 } { P _ { \mathcal { Z } } ( z ) } } \\ & { = \displaystyle \sum _ { z \in \mathcal { Z } } P _ { \mathcal { Z } } ( z ) \mathbb { E } _ { P _ { \hat { \mathcal { Y } } _ { 1 } | z } } \left[ \log \frac { P _ { \hat { \mathcal { Y } } _ { 1 } | z } ( \hat { \mathcal { Y } } ) } { P _ { \hat { \mathcal { Y } } } ( \hat { \mathcal { Y } } ) } \right] } \\ & { = \displaystyle \sum _ { z \in \mathcal { Z } } P _ { \mathcal { Z } } ( z ) D _ { \mathrm { R L } } ( P _ { \hat { \mathcal { Y } } _ { 1 } | z } | \mathbb { P } _ { \hat { \mathcal { Y } } } ) } \\ & { \overset { \mathrm { ( a ) } } { \ = } \displaystyle \sum _ { z \in \mathcal { Z } } \left( P _ { \mathcal { Y } } \mathbf { _ { \hat { \mathcal { Y } } _ { 1 } | z } } , \mathbf { ( ) } P _ { \hat { \mathcal { Y } } _ { 1 } | z } \right) = I ( \mathcal { Z } ; \hat { \mathcal { Y } } ) . } \end{array}
284
+ $$
285
+
286
+ Here, the second last equality is due to the definition of the generalized JS divergence, and the last equality is due to its equivalence to the mutual information (Lin, 1991). □
287
+
288
+ # A.2 EXTENSIONS TO OTHER FAIRNESS MEASURES
289
+
290
+ The following theorem relates the conditional mutual information $I ( Z ; { \hat { Y } } | Y )$ to the solution of an optimization problem.
291
+
292
+ # Theorem 2.
293
+
294
+ $$
295
+ I ( Z ; \hat { Y } | Y ) = \operatorname* { m a x } _ { \substack { D _ { z | y ( \hat { y } ) } : \sum _ { z \in \mathcal { Z } } D _ { z | y } ( \hat { y } ) = 1 ; \forall \hat { y } } } \sum _ { y \in \mathcal { Y } } \sum _ { y \in \mathcal { Z } } P _ { Y , Z } ( y , z ) \mathbb { E } _ { P _ { \hat { Y } | y , z } } \left[ \log D _ { z | y } ( \hat { Y } ) \right] + H ( Z | Y ) .
296
+ $$
297
+
298
+ Recall that this conditional mutual information term can be used to capture equalized odds, which is another important fairness metric. We also note that the following theorem can be modified in a straightforward manner so that it can handle $I ( Z ; { \hat { Y } } | Y = 1 )$ , which can be used to capture equal opportunity.
299
+
300
+ We now prove the theorem.
301
+
302
+ Proof. Denote by $_ D$ the collection of $D _ { z | y } ( \hat { y } )$ for all possible values of $( z , \hat { y }$ , and $y$ ) and by $\pmb { \nu }$ the collection of $\nu _ { y , \hat { y } }$ for all values of $y$ and $\hat { y }$ . We can construct the Lagrangian function as follows:
303
+
304
+ $$
305
+ : ( D , \nu ) = \sum _ { y \in \mathcal { Y } } \sum _ { z \in \mathcal { Z } } P _ { Y , \mathcal { Z } } ( y , z ) \mathbb { E } _ { P _ { \mathcal { Y } | y , z } } \left[ \log D _ { z | y } ( \hat { Y } ) \right] + H ( Z | Y ) + \sum _ { \hat { y } \in \mathcal { Y } } \sum _ { y \in \mathcal { Y } } \nu _ { y , \hat { y } } \left( 1 - \sum _ { z \in \mathcal { Z } } D _ { z | y } ( \hat { y } ) \right)
306
+ $$
307
+
308
+ We use the following KKT conditions:
309
+
310
+ $$
311
+ \begin{array} { l l } { \displaystyle \frac { \partial \mathcal { L } ( D , \nu ) } { \partial D _ { z | y } ( \hat { y } ) } = P _ { Y , Z } ( y , z ) \frac { P _ { \hat { Y } | y , z } ( \hat { y } ) } { D _ { z | y } ^ { \star } ( \hat { y } ) } - \nu _ { y , \hat { y } } = 0 , \qquad } & { \forall ( \hat { y } , y , z ) \in \mathcal { Y } \times \mathcal { Y } \times \mathcal { Z } } \\ { \displaystyle 1 - \sum _ { z \in \mathcal { Z } } D _ { z | y } ^ { \star } ( \hat { y } ) = 0 , \qquad } & { \forall ( \hat { y } , y ) \in \mathcal { Y } \times \mathcal { Y } . } \end{array}
312
+ $$
313
+
314
+ Solving the two equations, we obtain $\nu _ { y , \hat { y } } ^ { \star } = P _ { Y , \hat { Y } } ( y , \hat { y } )$ for all $( y , \hat { y } ) \in \mathcal { V } \times \mathcal { V }$ . Thus,
315
+
316
+ $$
317
+ D _ { z | y } ^ { \star } ( \hat { y } ) = \frac { P _ { Z | y } ( z ) P _ { \hat { Y } | y , z } ( \hat { y } ) } { P _ { \hat { Y } | y } ( \hat { y } ) } , \forall y , \hat { y } \in \mathcal { V } \times \mathcal { V } .
318
+ $$
319
+
320
+ Putting this to the above optimization,
321
+
322
+ $$
323
+ \begin{array} { r l } & { \quad \displaystyle \sum _ { y \geq \tau \leq t } \sum _ { w \leq t } \hat { \gamma } _ { x \geq t } \| w _ { \hat { \gamma } _ { x \geq t } } \| _ { \mathcal { X } _ { t - 1 } } \left[ \exp ^ { \beta _ { t } } \hat { \gamma } _ { y \geq t } ( \hat { \gamma } _ { y \geq t } ) \right] ^ { \top } \mid \mathcal { H } ( \mathcal { L } | \mathcal { Y } ) } \\ & { \quad = \displaystyle \sum _ { y \leq t \leq t } \sum _ { w \leq t } \hat { \gamma } _ { x \geq t } \| \mathbf { E } _ { \hat { \gamma } _ { x \geq t } } \left[ \exp ^ { \beta _ { t } } \frac { \hat { \gamma } _ { x \geq t } ( \hat { \gamma } _ { y \geq t } ) \cdot \mathbf { S } _ { y \geq t } \mathcal { Y } _ { t } } { \hat { \gamma } _ { y \geq t } ( \hat { \gamma } _ { t } ) } \right] ^ { \top } + \displaystyle \sum _ { x \leq t \leq t } \sum _ { w \leq t } \hat { \gamma } _ { x \leq t } \hat { \gamma } _ { x \geq t } \| \mathbf { E } _ { \hat { \gamma } _ { x \geq t } } \frac { 1 } { \hat { \gamma } _ { x \geq t } ( \hat { \gamma } _ { t } ) } } \\ & { \quad \quad \quad - \displaystyle \sum _ { y \leq t \leq t } \sum _ { x \leq t } \hat { \gamma } _ { x \geq t } \sum _ { y \leq t } \Big [ \exp ^ { \beta _ { t } } \frac { \hat { \gamma } _ { x \geq t } ( \hat { \gamma } _ { x \geq t } ) } { \hat { \gamma } _ { x \geq t } ( \hat { \gamma } _ { t } ) } \Big ] ^ { \top } } \\ & { \quad \quad = \displaystyle \sum _ { y \leq t \leq t } \sum _ { w \leq t } \hat { \gamma } _ { x \geq t } \| \mathbf { E } _ { \hat { \gamma } _ { x \geq t } } \Big [ \exp ^ { \beta _ { t } } \hat { \gamma } _ { x \geq t } ( \hat { \gamma } _ { t } ) \Big ] } \\ & \quad \quad = \displaystyle \sum _ { y \leq t \leq t } \sum _ { w \leq t } \hat { \gamma } _ { x \geq t } \| \mathbf { E } _ { \hat { \gamma } _ { x \geq t } } \Big [ \exp ^ { \beta _ { t } } \exp ^ { \beta _ { t } } \exp ^ { \beta _ { t } } \Big [ \exp ^ { \beta _ { t } } \exp ^ { \beta _ { t } } \big [ \exp ^ \beta _ t \end{array}
324
+ $$
325
+
326
+ The third last equality is due to the definition of the generalized JS divergence; the second last equality is due to its equivalence to the mutual information (Lin, 1991); and the last equality is due to the definition of conditional mutual information. □
327
+
328
+ We now discuss how to actually compute the mutual information. We compute the following empirical version using the example $\{ ( x ^ { ( i ) } , z ^ { ( i ) } , y ^ { ( i ) } ) \} _ { i = 1 } ^ { m }$ .
329
+
330
+ $$
331
+ \operatorname* { m a x } _ { \substack { D _ { z | y } ( \hat { y } ) : \sum _ { z \in \mathcal { Z } } D _ { z | y } ( \hat { y } ) = 1 ; \forall \hat { y } } } \sum _ { y \in \mathcal { Y } } \sum _ { z \in \mathcal { Z } } P _ { Y , Z } ( y , z ) \sum _ { \substack { i : ( y ^ { ( i ) } , z ^ { ( i ) } ) = ( y , z ) } } \frac { 1 } { m _ { y , z } } \log D _ { z | y } ( \hat { y } ^ { ( i ) } ) + H ( Z | Y ) .
332
+ $$
333
+
334
+ ![](images/e63154594e7fa2dafeef2ca41ed32600b22ea91cfa4d80b53b27489adca510a0.jpg)
335
+ Figure 4: The architecture of FR-GAN for equalized odds.
336
+
337
+ ![](images/194ecc6c20785f8f923ae3e10a1b8d08ed63144c03aed7b19466e0c33f92e456.jpg)
338
+ Figure 5: Accuracy-fairness tradeoff curves for poisoned synthetic data with label flipping $( 7 \% )$ . Now for a sufficiently large value of $m$ , $m _ { y , z } \approx P _ { Y , Z } ( y , z ) m$ . Therefore, the above expression is approximated as:
339
+
340
+ $$
341
+ \operatorname* { m a x } _ { \substack { D _ { z | y } ( \hat { y } ) : \sum _ { z \in \mathcal { Z } } D _ { z | y } ( \hat { y } ) = 1 ; \forall \hat { y } } } \sum _ { y \in \mathcal { Y } } \sum _ { z \in \mathcal { Z } } \sum _ { \substack { i : ( y ^ { ( i ) } , z ^ { ( i ) } ) = ( y , z ) } } \frac { 1 } { m } \log D _ { z | y } ( \hat { y } ^ { ( i ) } ) + H ( Z | Y ) .
342
+ $$
343
+
344
+ Hence, we can set $L _ { 2 }$ (i.e., the loss w.r.t. the fairness discriminator) to the above expression. The rest of the objective function is the same. Figure 4 shows the resulting FR-GAN architecture.
345
+
346
+ # A.3 ADDITIONAL EXPERIMENTS
347
+
348
+ # A.3.1 SYNTHETIC DATA
349
+
350
+ We continue our experiments from Sections 3 and 5.1.
351
+
352
+ Label flipping for data poisoning Figure 5a to 5d show the experimental results when the data is poisoned via label flipping. We used the same synthetic data, as illustrated in Figure 1a, and flipped $7 \%$ of labels from the clean data to make a poisoned data. Figures 5a, 5b, and 5c show the accuracy-fairness tradeoff curves of FAIRNESS CONSTRAINTS, LABEL BIAS CORRECTION, and ADVERSARIAL DEBIASING, respectively. While the tradeoff curves in Figure 5a to 5c considerably shift to the left, Figure 5d shows that FR-GAN is noticeably robust against label flipping.
353
+
354
+ ![](images/d90a163df5d95e49b275f6da4a3905aa1eb677dabb77ed3dea93d5a17d648e3a.jpg)
355
+ Figure 6: Comparison between ADVERSARIAL DEBIASING (AD) and FR-GAN with small validation set $( 0 . 5 \% )$ on synthetic data.
356
+
357
+ Meta learning with different validation set sizes Table 3 shows the accuracy and fairness results for the meta learning method by Ren et al. (2018) (ML) for different validation set sizes. We observe a drastic decrease of accuracy when the validation set size is $0 . 1 \%$ of the training data.
358
+
359
+ Ablation study for fairness Figure 6 shows the accuracy-fairness tradeoff curves for ADVERSARIAL DEBIASING and FR-GAN on the synthetic dataset. ADVERSARIAL DEBIASING tradeoff curves are from Figure 3b, and the FR-GAN curve comes from Figure 3f. We observe in Figure 6 that the accuracy-fairness tradeoff of FR-GAN using a small value of $\lambda _ { 2 }$ on the poisoned data is similar to the results of fairness-only methods.
360
+
361
+ # A.3.2 REAL DATA
362
+
363
+ We continue our experiments from Section 5.2.
364
+
365
+ Label flipping for data poisoning Table 4 uses the same experimental setting as in Table 2, except that data poisoning is label flipping (not w.r.t. sensitive attributes). We observe similar trends as in Table 2. For the non-fairness methods, the fairness results are significantly worse than other methods. For the fairness-only methods, both fairness and accuracy tend to be high on the clean data, but at least one of them decreases significantly on the poisoned data. On the other hand, FR-GAN yields high fairness and accuracy on the clean data and is also the most resilient against poisoned data. The results emphasize our holistic technique that takes both fairness and accuracy into consideration.
366
+
367
+ # A.3.3 FR-GAN USING OTHER FAIRNESS MEASURES
368
+
369
+ As we showed in Appendix A.2, FR-GAN respects equalized odds and equal opportunity. Table 5 shows the experimental results on the synthetic and real datasets for equalized odds. We see that FR-GAN significantly improves equalized odds with reasonable accuracy. The results w.r.t. equal opportunity are similar and thus not shown here.
370
+
371
+ Table 4: Accuracy and fairness performances on real data for disparate impact where the data is poisoned using a label flipping attack (Paudice et al., 2018). Two types of methods are compared: (1) non-fairness methods: logistic regression (LR), the meta learning by Ren et al. (2018) (ML), and R-GAN (FR-GAN with $\lambda _ { 1 } = 0$ ); (2) fairness-only methods: FAIRNESS CONSTRAINTS (Zafar et al., 2017) (FC), LABEL BIAS CORRECTION (Jiang & Nachum, 2019) (LBC), and ADVERSARIAL DEBIASING (Zhang et al., 2018) (AD). Also $ { { ^ { 6 } + \mathrm { L D } ^ { \prime } } }$ denotes loss defense (Koh et al., 2018) (a data sanitization technique that is applied prior to model training). For FR-GAN, the validation set is $10 \%$ of $\mathcal { D } _ { t r }$ . For each fairness or accuracy result of the poisoned data, we make a comparison with the clean data result and show the percentage increase or decrease.
372
+
373
+ <table><tr><td>Dataset</td><td>Type</td><td>Method</td><td colspan="2">Clean data</td><td colspan="2">Poisoned data</td></tr><tr><td></td><td></td><td></td><td>D. impact</td><td>Acc.</td><td>D. impact</td><td>Acc.</td></tr><tr><td rowspan="9"></td><td rowspan="3">Non-fair</td><td>LR</td><td>0.465</td><td>0.674</td><td>0.856 (84.1% 个)</td><td>0.487 (27.7% ↓)</td></tr><tr><td>ML</td><td>0.493</td><td>0.680</td><td>0.608 (23.3% 个)</td><td>0.629 (7.50% ↓)</td></tr><tr><td>R-GAN</td><td>0.574</td><td>0.683</td><td>0.919 (60.1% ↑)</td><td>0.621 (9.08% ↓)</td></tr><tr><td rowspan="6">Fair-only</td><td>FC</td><td>0.777</td><td>0.682</td><td>0.931 (19.8% ↑)</td><td>0.490 (28.2% ↓)</td></tr><tr><td>LBC</td><td>0.866</td><td>0.671</td><td>0.945 (9.12% ↑)</td><td>0.488 (27.3% ↓)</td></tr><tr><td>AD</td><td>0.846</td><td>0.680</td><td>0.941 (11.2% ↑)</td><td>0.615 (9.56% ↓)</td></tr><tr><td>FC +LD</td><td>0.777</td><td>0.682</td><td>0.820 (5.53% ↑)</td><td>0.544 (20.2% ↓)</td></tr><tr><td>LBC +LD</td><td>0.866</td><td>0.671</td><td>0.928 (7.16% ↑)</td><td>0.550 (18.0% ↓)</td></tr><tr><td>AD + LD</td><td>0.846</td><td>0.680</td><td>0.822 (2.84% ↓)</td><td>0.614 (9.71% ↓)</td></tr><tr><td rowspan="9"></td><td rowspan="3">Both Non-fair</td><td>FR-GAN</td><td>0.936</td><td>0.667</td><td>0.964 (2.99% ↑)</td><td>0.621 (6.90% ↓)</td></tr><tr><td>LR</td><td>0.328</td><td>0.847</td><td>0.316 (3.66% ↓)</td><td>0.824 (2.72% ↓)</td></tr><tr><td>ML R-GAN</td><td>0.346 0.335</td><td>0.844</td><td>0.413 (19.4% ↑)</td><td>0.826 (2.13% ↓) 0.833 (2.13% ↓)</td></tr><tr><td rowspan="6">Fair-only</td><td>FC</td><td></td><td>0.847</td><td>0.342 (2.09% ↑)</td><td></td></tr><tr><td>LBC</td><td>0.825</td><td>0.826</td><td>0.814 (1.33% ↓)</td><td>0.802 (2.91% ↓)</td></tr><tr><td>AD</td><td>0.825 0.850</td><td>0.825</td><td>0.734 (11.0% ↓) 0.652 (23.3% ↓)</td><td>0.819 (0.73% ↓)</td></tr><tr><td>FC +LD</td><td>0.825</td><td>0.767 0.826</td><td>0.762 (7.64% ↓)</td><td>0.749 (2.35% ↓)</td></tr><tr><td></td><td>0.825</td><td></td><td>0.720 (12.7% ↓)</td><td>0.831 (0.61% ↑)</td></tr><tr><td>LBC +LD AD + LD</td><td>0.850</td><td>0.825 0.767</td><td>0.761 (10.5% ↓)</td><td>0.827 (0.24% 个)</td></tr><tr><td>Both</td><td>FR-GAN</td><td>0.870</td><td>0.819</td><td>0.859 (1.26% ↓)</td><td>0.803 (4.69% ↑) 0.789 (3.66% ↓)</td></tr></table>
374
+
375
+ Table 5: Accuracy and fairness performances on synthetic and real datasets w.r.t. equalized odds. Two algorithms are compared: (1) logistic regression (LR, non-fairness method) and (2) FR-GAN.
376
+
377
+ <table><tr><td>Dataset</td><td>Method</td><td>Equalized odds</td><td></td><td> Accuracy</td></tr><tr><td></td><td></td><td>Y=0</td><td>Y=1</td><td></td></tr><tr><td rowspan="2">Synthetic Data</td><td>LR</td><td>0.351</td><td>0.804</td><td>0.885</td></tr><tr><td>FR-GAN</td><td>0.888</td><td>0.936</td><td>0.865</td></tr><tr><td rowspan="2">Compas</td><td>LR</td><td>0.427</td><td>0.557</td><td>0.674</td></tr><tr><td>FR-GAN</td><td>0.718</td><td>0.959</td><td>0.628</td></tr><tr><td rowspan="2">AdultCensus</td><td>LR</td><td>0.286</td><td>0.909</td><td>0.848</td></tr><tr><td>FR-GAN</td><td>0.503</td><td>0.917</td><td>0.842</td></tr></table>
378
+
379
+ # A.4 TRAINING METHODOLOGY
380
+
381
+ We implement all algorithms in PyTorch (Paszke et al., 2017), and all experiments are performed on a server with Intel i7-6850 CPUs.
382
+
383
+ The generator $G$ is a neural network with zero or one hidden layer. The discriminator $D ^ { f }$ is a single layer neural network, and the discriminator $D ^ { r }$ is a neural network with one hidden layer. We used 8 or 16 nodes in the hidden layers. We set an Adam optimizer (Kingma & Ba, 2014) for the generator, and a stochastic gradient descent (SGD) optimizer for each discriminator. We empirically observe that one can stabilize the training procedure by freezing the parameters of the fairness discriminator $D ^ { f }$ for the initial phase of training. Thus, we choose to freeze the parameters of the fairness discriminator $D ^ { f }$ for the first few epochs until the generator achieves a certain accuracy. We use the generator/discriminator update ratio of 1:1 for the first 300 epochs and use the update ratio of 1:3 (or 1:5) for the rest of training.
384
+
385
+ Table 6: Confusion matrix on poisoned AdultCensus dataset w.r.t. disparate impact. Two algorithms are compared: (1) AD and (2) FR-GAN. For a fair comparison, we use data sanitization before running AD.
386
+
387
+ <table><tr><td></td><td></td><td colspan="2">Female</td><td colspan="2">Male</td></tr><tr><td>Method</td><td></td><td>Prediction = 0</td><td>Prediction = 1</td><td>Prediction = 0</td><td>Prediction = 1</td></tr><tr><td rowspan="2">AD + LD</td><td>True = 0</td><td>2,502</td><td>566</td><td>4,330</td><td>583</td></tr><tr><td>True = 1</td><td>191</td><td>194</td><td>1,551</td><td>714</td></tr><tr><td rowspan="2">FR-GAN</td><td>True = 0</td><td>2,765</td><td>303</td><td>4,611</td><td>302</td></tr><tr><td>True = 1</td><td>95</td><td>290</td><td>1,144</td><td>1,121</td></tr></table>
388
+
389
+ Table 7: Confusion matrix on poisoned AdultCensus dataset w.r.t. equalized odds. Two algorithms are compared: (1) AD and (2) FR-GAN. For a fair comparison, we use data sanitization before running AD.
390
+
391
+ <table><tr><td colspan="2"></td><td colspan="2">Female</td><td colspan="2">Male</td></tr><tr><td colspan="2">Method</td><td>Prediction = 0</td><td>Prediction = 1</td><td>Prediction = 0</td><td>Prediction = 1</td></tr><tr><td rowspan="2">AD + LD</td><td>True = 0</td><td>2,935</td><td>133</td><td>4,629</td><td>284</td></tr><tr><td>True = 1</td><td>249</td><td>136</td><td>1,590</td><td>675</td></tr><tr><td rowspan="2">FR-GAN</td><td>True = 0</td><td>2,859</td><td>209</td><td>4,480</td><td>443</td></tr><tr><td>True = 1</td><td>116</td><td>269</td><td>960</td><td>1,305</td></tr></table>
392
+
393
+ Also, we use the following details for choosing the values of $\lambda _ { 1 }$ and $\lambda _ { 2 }$ . For clean data, we set $\lambda _ { 2 }$ as a small value (e.g., 0.01) and vary $\lambda _ { 1 }$ from 0 to 0.95. For poisoned data, we set $\lambda _ { 2 }$ as 0.2, 0.3, or 0.4, and vary $\lambda _ { 1 }$ from 0 to $0 . 9 5 - \lambda _ { 2 }$ . Given the values of $\lambda _ { 1 }$ and $\lambda _ { 2 }$ , we also normalize $L _ { 1 }$ (the generator loss) by multiplying it with $\left( 1 - \lambda _ { 1 } - \lambda _ { 2 } \right)$ .
394
+
395
+ # A.5 ADDITIONAL EXPERIMENTS ON ADULT DATASET
396
+
397
+ We compare FR-GAN and AD using the AdultCensus dataset and the same poisoning in Section 3. For a fair comparison, we use loss defense (LD) as data sanitization prior to running AD. We generate confusion matrices both for disparate impact (DI) and equalized odds (EO). Overall, FRGAN performs better than AD because of its robustness discriminator. The robustness discriminator successfully ignores the poisoned distribution in the training data, and FR-GAN’s TPR is higher than AD with sanitization. Table 6 shows confusion matrices as results of disparate-impact-focused experiment. The results are reported when AD achieves (Acc, $\mathrm { D I } ) = ( 0 . 7 2 8 $ , 0.821), and FR-GAN achieves (Acc, $\mathrm { D I } ) = ( 0 . 8 2 7$ , 0.866). In addition, Table 7 represents confusion matrices as results of equalized-odds-focused experiment. The results are reported when AD achieves (Acc, EO when $y =$ 1, EO when $y = 0 ) = ( 0 . 7 8 8 , 0 . 8 4 4 , 0 . 7 5 0 ) _ { \ L }$ , and FR-GAN achieves (Acc, EO when $y = 1$ , EO when $y = 0 ) = ( 0 . 8 3 8$ , 0.824, 0.773).
parse/train/BylyV1BtDB/BylyV1BtDB_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BylyV1BtDB/BylyV1BtDB_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BylyV1BtDB/BylyV1BtDB_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/SkgzYiRqtX/SkgzYiRqtX.md ADDED
@@ -0,0 +1,269 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GRAPH NEURAL NETWORKS WITH GENERATED PARAMETERS FOR RELATION EXTRACTION
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Recently, progress has been made towards improving relational reasoning in machine learning field. Among existing models, graph neural networks (GNNs) is one of the most effective approaches for multi-hop relational reasoning. In fact, multi-hop relational reasoning is indispensable in many natural language processing tasks such as relation extraction. In this paper, we propose to generate the parameters of graph neural networks (GP-GNNs) according to natural language sentences, which enables GNNs to process relational reasoning on unstructured text inputs. We verify GP-GNNs in relation extraction from text. Experimental results on a human-annotated dataset and two distantly supervised datasets show that our model achieves significant improvements compared to baselines. We also perform a qualitative analysis to demonstrate that our model could discover more accurate relations by multi-hop relational reasoning.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Recent years, graph neural networks (GNNs) have been applied to various fields of machine learning, including node classification (Kipf & Welling, 2016), relation classification (Schlichtkrull et al., 2017), molecular property prediction (Gilmer et al., 2017), few-shot learning (Garcia & Bruna, 2018), and achieve promising results on these tasks. These works have demonstrated GNNs’ strong power to process relational reasoning on graphs.
12
+
13
+ Relational reasoning aims to abstractly reason about entities/objects and their relations, which is an important part of human intelligence. Besides graphs, relational reasoning is also of great importance in many natural language processing tasks such as question answering, relation extraction, summarization, etc. Consider the example shown in Fig. 1, existing relation extraction models could easily extract the facts that Luc Besson directed a film Leon: The Professional ´ and that the film is in English, but fail to infer the relationship between Luc Besson and English without multi-hop relational reasoning. By considering the reasoning patterns, one can discover that Luc Besson could speak English following a reasoning logic that Luc Besson directed Leon: The Professional ´ and this film is in English indicates Luc Besson could speak English. However, most existing GNNs can only process multi-hop relational reasoning on pre-defined graphs and cannot be directly applied in natural language relational reasoning. Enabling multi-hop relational reasoning in natural languages remains an open problem.
14
+
15
+ To address this issue, in this paper, we propose graph neural networks with generated parameters (GP-GNNs), to adapt graph neural networks to solve the natural language relational reasoning task. GP-GNNs first constructs a fully-connected graph with the entities in the sequence of text. After that, it employs three modules to process relational reasoning: (1) an encoding module which enables edges to encode rich information from natural languages, (2) a propagation module which propagates relational information among various nodes, and (3) a classification module which makes predictions with node representations. As compared to traditional GNNs, GP-GNNs could learn edges’ parameters from natural languages, extending it from performing inferring on only non-relational graphs or graphs with a limited number of edge types to unstructured inputs such as texts.
16
+
17
+ In the experiments, we apply GP-GNNs to a classic natural language relational reasoning task: relation extraction from text. We carry out experiments on Wikipedia corpus aligned with Wikidata knowledge base (Vrandeciˇ c & Kr ´ otzsch, 2014) and build a human annotated test set as well as ¨ two distantly labeled test sets with different levels of denseness.Experiment results show that our model outperforms other state-of-the-art models on relation extraction task by considering multihop relational reasoning. We also perform a qualitative analysis which shows that our model could discover more relations by reasoning more robustly as compared to baseline models.
18
+
19
+ ![](images/82a0d23c9b35c47677e0e5c518a67caec7c3c543be55937df03c888ebfb4fb8d.jpg)
20
+ Figure 1: An example of relation extraction from plain text. Given a sentence with several entities marked, we model the interaction between these entities by generating the weights of graph neural networks. Modeling the relationship between “Leon” and “English” as well as “Luc Besson” helps ´ discover the relationship between “Luc Besson” and “English”.
21
+
22
+ Our main contributions are in two-fold:
23
+
24
+ (1) We extend a novel graph neural network model with generated parameters, to enable relational message-passing with rich text information, which could be applied to process relational reasoning on unstructured inputs such as natural languages.
25
+
26
+ (2) We verify our GP-GNNs in the task of relation extraction from text, which demonstrates its ability on multi-hop relational reasoning as compared to those models which extract relationships separately. Moreover, we also present three datasets, which could help future researchers compare their models in different settings.
27
+
28
+ # 2 RELATED WORK
29
+
30
+ # 2.1 GRAPH NEURAL NETWORKS (GNNS)
31
+
32
+ GNNs were first proposed in (Scarselli et al., 2009) and are trained via the Almeida-Pineda algorithm (Almeida, 1987). Later the authors in Li et al. (2016) replace the Almeida-Pineda algorithm with the more generic backpropagation and demonstrate its effectiveness empirically. Gilmer et al. (2017) propose to apply GNNs to molecular property prediction tasks. Garcia & Bruna (2018) shows how to use GNNs to learn classifiers on image datasets in a few-shot manner. Gilmer et al. (2017) study the effectiveness of message-passing in quantum chemistry. Dhingra et al. (2017) apply message-passing on a graph constructed by coreference links to answer relational questions. There are relatively fewer papers discussing how to adapt GNNs to natural language tasks. For example, Marcheggiani & Titov (2017) propose to apply GNNs to semantic role labeling and Schlichtkrull et al. (2017) apply GNNs to knowledge base completion tasks. Zhang et al. (2018) apply GNNs to relation extraction by encoding dependency trees, and De Cao et al. (2018) apply GNNs to multi-hop question answering by encoding co-occurence and co-reference relationships. Although they also consider applying GNNs to natural language processing tasks, they still perform message-passing on predefined graphs. Johnson (2017) introduces a novel neural architecture to generate a graph based on the textual input and dynamically update the relationship during the learning process. In sharp contrast, this paper focuses on extracting relations from real-world relation datasets.
33
+
34
+ # 2.2 RELATIONAL REASONING
35
+
36
+ Relational reasoning has been explored in various fields. For example, Santoro et al. (2017) propose a simple neural network to reason the relationship of objects in a picture, Xu et al. (2017) build up a scene graph according to an image, and Kipf et al. (2018) model the interaction of physical objects.
37
+
38
+ In this paper, we focus on the relational reasoning in natural language domain. Existing works (Zeng et al., 2014; 2015; Lin et al., 2016) have demonstrated that neural networks are capable of capturing the pair-wise relationship between entities in certain situations. For example, (Zeng et al., 2014) is one of the earliest works that applies a simple CNN to this task, and (Zeng et al., 2015) further extends it with piece-wise max-pooling. Nguyen & Grishman (2015) propose a multi-window version of CNN for relation extraction. Lin et al. (2016) study an attention mechanism for relation extraction tasks. Peng et al. (2017) predict n-ary relations of entities in different sentences with Graph LSTMs. Le & Titov (2018) treat relations as latent variables which are capable of inducing the relations without any supervision signals. Zeng et al. (2017) show that the relation path has an important role in relation extraction. Miwa & Bansal (2016) show the effectiveness of LSTMs (Hochreiter & Schmidhuber, 1997) in relation extraction. Christopoulou et al. (2018) proposed a walk-based model to do relation extraction. The most related work is (Sorokin & Gurevych, 2017), where the proposed model incorporates contextual relations with attention mechanism when predicting the relation of a target entity pair. The drawback of existing approaches is that they could not make full use of the multi-hop inference patterns among multiple entity pairs and their relations within the sentence.
39
+
40
+ ![](images/c210b6cb0340bef734b6e9ea7ec0fccf709f426fd20d6fb9ee6018227b464f5a.jpg)
41
+ Figure 2: Overall architecture: the encoding module takes a sequence of vector representations as inputs, and output a transition matrix as output; the propagation module propagates the hidden states from nodes to its neighbours with the generated transition matrix; the classification module provides task-related predictions according to nodes representations.
42
+
43
+ # 3 GRAPH NEURAL NETWORK WITH GENERATED PARAMETERS (GP-GNNS)
44
+
45
+ We first define the task of natural language relational reasoning. Given a sequence of text with $m$ entities, it aims to reason on both the text and entities and make a prediction of the labels of the entities or entity pairs.
46
+
47
+ In this section, we will introduce the general framework of GP-GNNs. GP-GNNs first build a fullyconnected graph $\mathcal { G } = ( \nu , \mathcal { E } )$ , where $\nu$ is the set of entities, and each edge $( v _ { i } , v _ { j } ) \in \mathcal { E } , v _ { i } , v _ { j } \in \mathcal { V }$ corresponds to a sequence s = xi,j0 , xi,j1 , . . . , xi,jl−1 extracted from the text. After that, GP-GNNs employ three modules including (1) encoding module, (2) propagation module and (3) classification module to proceed relational reasoning, as shown in Fig. 2.
48
+
49
+ # 3.1 ENCODING MODULE
50
+
51
+ The encoding module converts sequences into transition matrices corresponding to edges, i.e. the parameters of the propagation module, by
52
+
53
+ $$
54
+ \mathcal { A } _ { i , j } ^ { ( n ) } = f ( E ( x _ { 0 } ^ { i , j } ) , E ( x _ { 1 } ^ { i , j } ) , \cdot \cdot \cdot , E ( x _ { l - 1 } ^ { i , j } ) ; \theta _ { e } ^ { n } ) ,
55
+ $$
56
+
57
+ where $f ( \cdot )$ could be any model that could encode sequential data, such as LSTMs, GRUs, CNNs, $E ( \cdot )$ indicates an embedding function, and $\theta _ { e } ^ { n }$ denotes the parameters of the encoding module of $n$ -th layer.
58
+
59
+ # 3.2 PROPAGATION MODULE
60
+
61
+ The propagation module learns representations for nodes layer by layer. The initial embeddings of nodes, i.e. the representations of layer 0, are task-related, which could be embeddings that encode
62
+
63
+ features of nodes or just one-hot embeddings. Given representations of layer $n$ , the representations of layer $n + 1$ are calculated by
64
+
65
+ $$
66
+ \mathbf { h } _ { i } ^ { ( n + 1 ) } = \sum _ { v _ { j } \in \mathcal { N } ( v _ { i } ) } \sigma ( \mathcal { A } _ { i , j } ^ { ( n ) } \mathbf { h } _ { j } ^ { ( n ) } ) ,
67
+ $$
68
+
69
+ where $\mathcal { N } ( v _ { i } )$ denotes the neighbours of node $v _ { i }$ in graph $\mathcal { G }$ and $\sigma ( \cdot )$ denotes non-linear activation function.
70
+
71
+ # 3.3 CLASSIFICATION MODULE
72
+
73
+ Generally, the classification module takes node representations as inputs and outputs predictions. Therefore, the loss of GP-GNNs could be calculated as
74
+
75
+ $$
76
+ \mathcal { L } = g ( \mathbf { h } _ { 0 : | \mathcal { V } | - 1 } ^ { 0 } , \mathbf { h } _ { 0 : | \mathcal { V } | - 1 } ^ { 1 } , \dots , \mathbf { h } _ { 0 : | \mathcal { V } | - 1 } ^ { K } , Y ; \theta _ { c } ) ,
77
+ $$
78
+
79
+ where $\theta _ { c }$ denotes the parameters of the classification module, $K$ is the number of layers in propagation module and $Y$ denotes the ground truth label. The parameters in GP-GNNs are trained by gradient descent methods.
80
+
81
+ # 4 RELATION EXTRACTION WITH GP-GNNS
82
+
83
+ Relation extraction from text is a classic natural language relational reasoning task. Given a sentence $s ~ = ~ ( x _ { 0 } , x _ { 1 } , \ldots , x _ { l - 1 } )$ , a set of relations $\mathcal { R }$ and a set of entities in this sentence ${ \mathcal V } _ { s } = \{ v _ { 1 } , v _ { 2 } , \ldots , v _ { | { \mathcal V } _ { s } | } \}$ , where each $v _ { i }$ consists of one or a sequence of tokens, relation extraction from text is to identify the pairwise relationship $r _ { v _ { i } , v _ { j } } \in \mathcal { R }$ between each entity pair $( v _ { i } , v _ { j } )$ .
84
+
85
+ In this section, we will introduce how to apply GP-GNNs to relation extraction.
86
+
87
+ # 4.1 ENCODING MODULE
88
+
89
+ To encode the context of entity pairs (or edges in the graph), we first concatenate the position embeddings with word embeddings in the sentence:
90
+
91
+ $$
92
+ E ( x _ { t } ^ { i , j } ) = [ { \pmb x } _ { t } ; { \pmb p } _ { t } ^ { i , j } ] ,
93
+ $$
94
+
95
+ where $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ denotes the word embedding of word $x _ { t }$ and $\mathbf { \Delta } _ { \mathbf { \mathcal { P } } _ { t } ^ { i , j } }$ denotes the position embedding of word position $t$ relative to the entity pair’s position $i , j$ (Details of these two embeddings are introduced in the next two paragraphs.) After that, we feed the representations of entity pairs into encoder $f ( \cdot )$ which contains a bi-directional LSTM and a multi-layer perceptron:
96
+
97
+ $$
98
+ \begin{array} { r } { \boldsymbol { \mathcal { A } } _ { i , j } ^ { ( n ) } = [ \mathtt { M L P } _ { n } ( \mathtt { B i L S T M } _ { n } ( ( E ( x _ { 0 } ^ { i , j } ) , E ( x _ { 1 } ^ { i , j } ) , \cdots , E ( x _ { l - 1 } ^ { i , j } ) ) ] , } \end{array}
99
+ $$
100
+
101
+ where $n$ denotes the index of layer 1, $[ \cdot ]$ means reshaping a vector as a matrix, BiLSTM encodes a sequence by concatenating tail hidden states of the forward LSTM and head hidden states of the backward LSTM together and MLP denotes a multi-layer perceptron with non-linear activation $\sigma$ .
102
+
103
+ Word Representations We first map each token $x _ { t }$ of sentence $\{ x _ { 0 } , x _ { 1 } , \dotsc , x _ { l - 1 } \}$ to a $k$ - dimensional embedding vector $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ using a word embedding matrix $W _ { e } \in \mathbb { R } ^ { | V | \times d _ { w } }$ , where $| V |$ is the size of the vocabulary. Throughout this paper, we stick to 50-dimensional GloVe embeddings pre-trained on a 6 billion corpus (Pennington et al., 2014).
104
+
105
+ Position Embedding In this work, we consider a simple entity marking scheme2: we mark each token in the sentence as either belonging to the first entity $v _ { i }$ , the second entity $v _ { j }$ or to neither of those. Each position marker is also mapped to a $d _ { p }$ -dimensional vector by a position embedding matrix $P \in \mathbb { R } ^ { 3 \times d _ { p } }$ . We use notation $\mathbf { \Delta } _ { \mathbf { \mathcal { P } } _ { t } ^ { i , j } }$ to represent the position embedding for $x _ { t }$ corresponding to entity pair $( v _ { i } , v _ { j } )$ .
106
+
107
+ # 4.2 PROPAGATION MODULE
108
+
109
+ Next, we use Eq. (2) to propagate information among nodes where the initial embeddings of nodes and number of layers are further specified as follows.
110
+
111
+ The Initial Embeddings of Nodes Suppose we are focusing on extracting the relationship between entity $v _ { i }$ and entity $v _ { j }$ , the initial embeddings of them are annotated as $\mathbf { h } _ { v _ { i } } ^ { ( 0 ) } = \pmb { a } _ { \mathrm { s u b j e c t } }$ , and $h _ { v _ { j } } ^ { ( 0 ) } = a _ { \mathrm { o b j e c t } }$ , while the initial embeddings of other entities are set to all zeros. We set special values for the head and tail entity’s initial embeddings as a kind of “flag” messages which we expect to be passed through propagation. Annotators $\mathbf { \pmb { a } } _ { \mathrm { s u b j e c t } }$ and $\mathbf { \phi } _ { a _ { \mathrm { o b j e c t } } }$ could also carry the prior knowledge about subject entity and object entity. In our experiments, we generalize the idea of Gated Graph Neural Networks (Li et al., 2016) by setting $\pmb { a } _ { \mathrm { s u b j e c t } } = [ \mathbf { 1 } ; \mathbf { 0 } ] ^ { \top }$ and $\mathbf { \Delta } \mathbf { a } _ { \mathrm { o b j e c t } } = [ \mathbf { 0 } ; \mathbf { 1 } ] ^ { \top 3 }$ .
112
+
113
+ Number of Layers In general graphs, the number of layers $K$ is chosen to be of the order of the graph diameter so that all nodes obtain information from the entire graph. In our context, however, since the graph is densely connected, the depth is interpreted simply as giving the model more expressive power. We treat $K$ as a hyper-parameter, the effectiveness of which will be discussed in detail (Sect. 5.4).
114
+
115
+ # 4.3 CLASSIFICATION MODULE
116
+
117
+ The output module takes the embeddings of the target entity pair $( v _ { i } , v _ { j } )$ as input, which are first converted by:
118
+
119
+ $$
120
+ \pmb { r } _ { v _ { i } , v _ { j } } = [ [ \pmb { h } _ { v _ { i } } ^ { ( 1 ) } \odot \pmb { h } _ { v _ { j } } ^ { ( 1 ) } ] ^ { \top } ; [ \pmb { h } _ { v _ { i } } ^ { ( 2 ) } \odot \pmb { h } _ { v _ { j } } ^ { ( 2 ) } ] ^ { \top } ; \dots ; [ \pmb { h } _ { v _ { i } } ^ { ( K ) } \odot \pmb { h } _ { v _ { j } } ^ { ( K ) } ] ^ { \top } ] ,
121
+ $$
122
+
123
+ where $\odot$ represents element-wise multiplication. This could be used for classification:
124
+
125
+ $$
126
+ \mathbb { P } ( r _ { v _ { i } , v _ { j } } | h , t , s ) = \mathsf { s o f t m a x } \big ( \mathtt { M L P } ( r _ { v _ { i } , v _ { j } } ) \big ) ,
127
+ $$
128
+
129
+ where $r _ { v _ { i } , v _ { j } } \in \mathcal { R }$ , and MLP denotes a multi-layer perceptron module.
130
+
131
+ We use cross entropy here as the classification loss
132
+
133
+ $$
134
+ \mathcal { L } = \sum _ { s \in S } \sum _ { i \neq j } \log \mathbb { P } ( r _ { v _ { i } , v _ { j } } | i , j , s ) ,
135
+ $$
136
+
137
+ where $r _ { v _ { i } , v _ { j } }$ denotes the relation label for entity pair $( v _ { i } , v _ { j } )$ and $S$ denotes the whole corpus.
138
+
139
+ In practice, we stack the embeddings for every target entity pairs together to infer the underlying relationship between each pair of entities. We use PyTorch (Paszke et al., 2017) to implement our models. To make it more efficient, we avoid using loop-based, scalar-oriented code by matrix and vector operations.
140
+
141
+ # 5 EXPERIMENTS
142
+
143
+ Our experiments mainly aim to: (1) showing that our best models could improve the performance of relation extraction under a variety of settings; (2) illustrating that how the number of layers affect the performance of our model; and (3) performing a qualitative investigation to highlight the difference between our models and baseline models. In both part (1) and part (2), we do three subparts of experiments: (i) we will first show that our models could improve instance-level relation extraction on a human annotated test set, and (ii) then we will show that our models could also help enhance the performance of bag-level relation extraction on a distantly labeled test set 4, and (iii) we also split a subset of distantly labeled test set, where the number of entities and edges is large.
144
+
145
+ # 5.1 EXPERIMENT SETTINGS
146
+
147
+ # 5.1.1 DATASETS
148
+
149
+ Distantly labeled set Sorokin & Gurevych (2017) have proposed a dataset with Wikipedia corpora. There is a small difference between our task and theirs: our task is to extract the relationship between every pair of entities in the sentence, whereas their task is to extract the relationship between the given entity pair and the context entity pairs. Therefore, we need to modify their dataset: (1) We added reversed edges if they are missing from a given triple, e.g. if triple (Earth, part of, Solar System) exists in the sentence, we add a reversed label, (Solar System, has a member, Earth), to it; (2) For all of the entity pairs with no relations, we added “NA” labels to them.5 We use the same training set for all of the experiments.
150
+
151
+ Human annotated test set Based on the test set provided by (Sorokin & Gurevych, 2017), 5 annotators6 are asked to label the dataset. They are asked to decide whether or not the distant supervision is right for every pair of entities. Only the instances accepted by all 5 annotators are incorporated into the human annotated test set. There are 350 sentences and 1,230 triples in this test set.
152
+
153
+ Dense distantly labeled test set We further split a dense test set from the distantly labeled test set. Our criteria are: (1) the number of entities should be strictly larger than 2; and (2) there must be at least one circle (with at least three entities) in the ground-truth label of the sentence 7. This test set could be used to test our methods’ performance on sentences with the complex interaction between entities. There are 1,350 sentences and more than 17,915 triples and 7,906 relational facts in this test set.
154
+
155
+ # 5.1.2 MODELS FOR COMPARISON
156
+
157
+ We select the following models for comparison, the first four of which are our baseline models.
158
+
159
+ Context-Aware RE, proposed by Sorokin & Gurevych (2017). This model utilizes attention mechanism to encode the context relations for predicting target relations. It was the state-of-the-art models on Wikipedia dataset. This baseline is implemented by ourselves based on authors’ public repo8.
160
+
161
+ Multi-Window CNN. Zeng et al. (2014) utilize convolutional neural networks to classify relations. Different from the original version of CNN proposed in (Zeng et al., 2014), our implementation, follows (Nguyen & Grishman, 2015), concatenates features extracted by three different window sizes: 3, 5, 7.
162
+
163
+ PCNN, proposed by Zeng et al. (2015). This model divides the whole sentence into three pieces and applies max-pooling after convolution layer piece-wisely. For CNN and following PCNN, the entity markers are the same as originally proposed in (Zeng et al., 2014; 2015).
164
+
165
+ LSTM or GP-GNN with $K = 1$ layer. Bi-directional LSTM (Schuster & Paliwal, 1997) could be seen as an 1-layer variant of our model.
166
+
167
+ GP-GNN with $K = 2$ or $K = 3$ layerss. These models are capable of performing 2-hop reasoning and 3-hop reasoning, respectively.
168
+
169
+ # 5.1.3 HYPER-PARAMETERS
170
+
171
+ We select the best parameters for the validation set. We select non-linear activation functions between relu and tanh, and select $d _ { n }$ among $\{ 2 , 4 , 8 , 1 2 , 1 6 \} ^ { 9 }$ . We have also tried two forms of adjacent matrices: tied-weights (set $\mathcal { A } ^ { ( n ) } = \mathcal { A } ^ { ( n + 1 ) } )$ and untied-weights. Table 1 shows our best hyper-parameter settings, which are used in all of our experiments.
172
+
173
+ Table 1: Hyper-parameters settings.
174
+
175
+ <table><tr><td>Hyper-parameters</td><td>Value</td></tr><tr><td>learning rate</td><td>0.001</td></tr><tr><td>batch size</td><td>50</td></tr><tr><td>dropout ratio</td><td>0.5</td></tr><tr><td>hidden state size</td><td>256</td></tr><tr><td>non-linear activation o</td><td>relu</td></tr><tr><td>embedding size for #layers =1</td><td>8</td></tr><tr><td>embedding size for #layers =2 and 3</td><td>12</td></tr><tr><td>adjacent matrices</td><td>untied</td></tr></table>
176
+
177
+ # 5.2 EVALUATION DETAILS
178
+
179
+ So far, we have only talked about the way to implement sentence-level relation extraction. To evaluate our models and baseline models in bag-level, we utilize a bag of sentences with given entity pair to score the relations between them. Zeng et al. (2015) formalize the bag-level relation extraction as multi-instance learning. Here, we follow their idea and define the score function of entity pair and its corresponding relation $r$ as a max-one setting:
180
+
181
+ $$
182
+ E ( r | v _ { i } , v _ { j } , S ) = \displaystyle \operatorname* { m a x } _ { s \in S } \mathbb { P } ( r _ { v _ { i } , v _ { j } } | i , j , s ) .
183
+ $$
184
+
185
+ Table 2: Results on human annotated dataset
186
+
187
+ <table><tr><td>Dataset Metric</td><td>Human Annotated Test Set Acc Macro F1</td></tr><tr><td>Multi-Window CNN</td><td>47.3 17.5</td></tr><tr><td>PCNN</td><td>30.8 3.2</td></tr><tr><td>Context-Aware RE</td><td>68.9 44.9</td></tr><tr><td>GP-GNN (#layers=1)</td><td>62.9 44.1</td></tr><tr><td>GP-GNN (#layers=2)</td><td>69.5 44.2</td></tr><tr><td>GP-GNN (#layers=3)</td><td>75.3 47.9</td></tr></table>
188
+
189
+ Table 3: Results on distantly labeled test set
190
+
191
+ <table><tr><td rowspan="2">Dataset Metric</td><td colspan="4">Distantly Labeled Test Set</td><td colspan="4">Dense Distantly Labeled Test Set</td></tr><tr><td>P@5%</td><td>P@10%</td><td>P@15%</td><td>P@20%</td><td>P@5%</td><td>P@10%</td><td>P@15%</td><td>P@20%</td></tr><tr><td>Multi-Window CNN</td><td>78.9</td><td>78.4</td><td>76.2</td><td>72.9</td><td>86.2</td><td>83.4</td><td>81.4</td><td>79.1</td></tr><tr><td>PCNN</td><td>73.0</td><td>65.4</td><td>58.1</td><td>51.2</td><td>85.3</td><td>79.1</td><td>72.4</td><td>68.1</td></tr><tr><td>Context-Aware RE</td><td>90.8</td><td>89.9</td><td>88.5</td><td>87.2</td><td>93.5</td><td>93.0</td><td>93.8</td><td>93.0</td></tr><tr><td>GP-GNN (#layers=1)</td><td>90.5</td><td>89.9</td><td>88.2</td><td>87.2</td><td>97.4</td><td>93.5</td><td>92.4</td><td>91.9</td></tr><tr><td>GP-GNN (#layers=2)</td><td>92.5</td><td>92.0</td><td>89.3</td><td>87.1</td><td>95.0</td><td>94.6</td><td>95.2</td><td>94.2</td></tr><tr><td>GP-GNN (#layers=3)</td><td>94.2</td><td>92.0</td><td>89.7</td><td>88.3</td><td>98.5</td><td>97.4</td><td>96.6</td><td>96.1</td></tr></table>
192
+
193
+ # 5.3 EFFECTIVENESS OF REASONING MECHANISM
194
+
195
+ From Table 2 and 3, we can see that our best models outperform all the baseline models significantly on all three test sets. These results indicate our model could successfully conduct reasoning on the fully-connected graph with generated parameters from natural language. These results also indicate that our model not only performs well on sentence-level relation extraction but also improves on bag-level relation extraction. Note that Context-Aware RE also incorporates context information to predict the relation of the target entity pair, however, we argue that Context-Aware RE only models the co-occurrence of various relations, ignoring whether the context relation participates in the reasoning process of relation extraction of the target entity pair. Context-Aware RE may introduce more noise, for it may mistakenly increase the probability of a relation with the similar topic with the context relations. We will give samples to illustrate this issue in Sect. 5.5. Another interesting observation is that our #layers=1 version outperforms CNN and PCNN in these three datasets. One probable reason is that sentences from Wikipedia corpus are always complex, which may be hard to model for CNN and PCNN. Similar conclusions are also reached by Zhang & Wang (2015).
196
+
197
+ ![](images/5a6061a24c0341d261606729c0c97258d87cce32a42396aa1f6067102048ba98.jpg)
198
+ Figure 3: The aggregated precision-recall curves of our models with different number of layers on distantly labeled test set (left) and dense distantly labeled test set (right). We also add Context Aware RE for comparison.
199
+ Table 4: Sample predictions from the baseline models and our GP-GNN model. Ground truth graphs are the subgraph in Wikidata knowledge graph induced by the sets of entities in the sentences. The models take sentences and entity markers as input and produce a graph containing entities (colored and bold) and relations between them. Although “No Relation” is also be seen as a type of relation, we only show other relation types in the graphs.
200
+
201
+ <table><tr><td rowspan=1 colspan=1>Sentence</td><td rowspan=1 colspan=1>Context AwareRelation Extraction</td><td rowspan=1 colspan=1>LSTM</td><td rowspan=1 colspan=1>GP-GNN (#layers = 3)</td><td rowspan=1 colspan=1>Ground Truth</td></tr><tr><td rowspan=1 colspan=1>Oozham(or Uzham)is anupcoming 2016 Malayalamdrama film written anddirected by Jeethu Josephwith Prithviraj Sukumaranin the lead role.</td><td rowspan=1 colspan=1>Prithviraj Sukumaran7cast memberOozham1directororiginal language★ 1Jeethu Joseph Malayalam</td><td rowspan=1 colspan=1>Prithviraj Sukumaran?cast memberOozhamdirectororiginal language↓Jeethu Joseph Malayalam</td><td rowspan=1 colspan=1>Prithviraj Sukumaran?cast memberOozham1 language spokendirectororiginal language? 1Jeethu Joseph Malayalam</td><td rowspan=1 colspan=1>Prithviraj Sukumaran中cast memberOozhamlanguage spokendirectororiginal language↓Jeethu Joseph Malayalam</td></tr><tr><td rowspan=1 colspan=1>The third annual of the 2006Premios Juventud (YouthAwards) edition will be heldon July 13,2006 at theBankUnited Center fromthe University of Miami inCoralGables,Florida</td><td rowspan=1 colspan=1>University of Miami located in the admini-BankUnited Centerstrative territorial entityTCoral Gables, Florida</td><td rowspan=1 colspan=1>University of Miamilocated in the admini-BankUnited Centerstrative terrtorial entityCoral Gables, Florida</td><td rowspan=1 colspan=1>University of Miami中owned byBankUnited Center Iocated in the admini-strative territorial entitylocated in the admini-strative territorial entityCoral Gables, Florida</td><td rowspan=1 colspan=1>University of Miami7owned byBankUnited Center located in the admini-strative territorial entity1Coral Gables, Florida</td></tr><tr><td rowspan=1 colspan=1>The association wasorganized in Enterprise (nowknown as Redbush)Johnson County,Kentucky in 1894 and wasincorporated in 1955,afterrelocating to Gallipolis,Ohio.</td><td rowspan=1 colspan=1>Johnson CountyIlocated in the admini-strative teritorial entitylocated in the admini-strative territorial entityRedbush4Ohio share Kentuckyboarder with</td><td rowspan=1 colspan=1>Johnson Countylocated in the admini-strative territorial entityIocated in the admini-strative territorial entityRedbushOhio Kentucky</td><td rowspan=1 colspan=1>Johnson CountyIocated in the admini-strative territorial entityIocated in the admini-strative territorial entityRedbush1Ohio Kentucky</td><td rowspan=1 colspan=1>Johnson CountyIlocated in the admini-strative teritorial entityIocated in the admini-strative territorial entityRedbushOhio Kentucky</td></tr></table>
202
+
203
+ # 5.4 THE EFFECTIVENESS OF THE NUMBER OF LAYERS
204
+
205
+ The number of layers represents the reasoning ability of our models. A $K$ -layer version has the ability to infer $K$ -hop relations. To demonstrate the effects of the number of layers, we also compare our models with different numbers of layers. From Table 2 and Table 3, we could see that on all three datasets, 3-layer version achieves the best. We could also see from Fig. 3 that as the number of layers grows, the curves get higher and higher precision, indicating considering more hops in reasoning leads to better performance. However, the improvement of the third layer is much smaller on the overall distantly supervised test set than the one on the dense subset. This observation reveals that the reasoning mechanism could help us identify relations especially on sentences where there are more entities. We could also see that on the human annotated test set 3-layer version to have a greater improvement over 2-layer version as compared with 2-layer version over 1-layer version. It is probably due to the reason that bag-level relation extraction is much easier. In real applications, different variants could be selected for different kind of sentences or we can also ensemble the prediction from different models. We leave these explorations for future work.
206
+
207
+ # 5.5 QUALITATIVE RESULTS: CASE STUDY
208
+
209
+ Tab. 4 shows qualitative results that compare our GP-GNN model and the baseline models. The results show that GP-GNN has the ability to infer the relationship between two entities with reasoning. In the first case, GP-GNN implicitly learns a logic rule $\exists y , x \xrightarrow { \sim \mathrm { c a s t - m e m b e r } } y$ original language z $x \xrightarrow { \xrightarrow { \cdots } \infty ^ { \infty } \cdots } z$ language spoken to derive (Oozham, language spoken, Malayalam) and in the second case our model implicitly learns another logic rule $\exists y , x \xrightarrow { \mathrm { { o w n e d } \cdot b y } } y \xrightarrow { \mathrm { { l o c a t e d i n } } } z \Rightarrow x \xrightarrow { \mathrm { { l o c a t e d i n } } } z$ to find the fact (BankUnited Center, located in, English). Note that (BankUnited Center, located in, English) is even not in Wikidata, but our model could identify this fact through reasoning. We also find that Context-Aware RE tends to predict relations with similar topics. For example, in the third case, share boarder with and located in are both relations about territory issues. Consequently, Context-Aware RE makes a mistake by predicting (Kentucky, share boarder with, Ohio). As we have discussed before, this is due to its mechanism to model co-occurrence of multiple relations. However, in our model, since Ohio and Johnson County have no relationship, this wrong relation is not predicted.
210
+
211
+ # 6 CONCLUSION AND FUTURE WORK
212
+
213
+ We addressed the problem of utilizing GNNs to perform relational reasoning with natural languages. Our proposed models, GP-GNNs, solves the relational message-passing task by encoding natural language as parameters and performing propagation from layer to layer. Our model can also be considered as a more generic framework for graph generation problem with unstructured input other than text, e.g. images, videos, audios. In this work, we demonstrate its effectiveness in predicting the relationship between entities in natural language and bag-level and show that by considering more hops in reasoning the performance of relation extraction could be significantly improved.
214
+
215
+ # REFERENCES
216
+
217
+ Luis B Almeida. A learning rule for asynchronous perceptrons with feedback in a combinatorial environment. In Proceedings, 1st First International Conference on Neural Networks, pp. 609– 618. IEEE, 1987.
218
+ Fenia Christopoulou, Makoto Miwa, and Sophia Ananiadou. A walk-based model on entity graphs for relation extraction. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), volume 2, pp. 81–88, 2018.
219
+ Nicola De Cao, Wilker Aziz, and Ivan Titov. Question answering by reasoning across documents with graph convolutional networks. arXiv preprint arXiv:1808.09920, 2018.
220
+ Bhuwan Dhingra, Zhilin Yang, William W Cohen, and Ruslan Salakhutdinov. Linguistic knowledge as memory for recurrent neural networks. arXiv preprint arXiv:1703.02620, 2017.
221
+ JVictor Garcia and Joan Bruna. Few-shot learning with graph neural networks. In Proceedings of ICLR, 2018.
222
+ Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. In Proceedings of ICML, 2017.
223
+ Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, pp. 1735–1780, 1997.
224
+ Daniel D Johnson. Learning graphical state transitions. In Proceedings of ICLR, 2017.
225
+ Thomas Kipf, Ethan Fetaya, Kuan-Chieh Wang, Max Welling, and Richard Zemel. Neural relational inference for interacting systems. In ICML, 2018.
226
+
227
+ Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. Proceedings of ICLR, 2016.
228
+
229
+ Phong Le and Ivan Titov. Improving entity linking by modeling latent relations between mentions, 2018.
230
+
231
+ Yujia Li, Daniel Tarlow, Marc Brockschmidt, and Richard Zemel. Gated graph sequence neural networks. Proceedings of ICLR, 2016.
232
+
233
+ Yankai Lin, Shiqi Shen, Zhiyuan Liu, Huanbo Luan, and Maosong Sun. Neural relation extraction with selective attention over instances. In Proceedings of ACL, pp. 2124–2133, 2016.
234
+
235
+ Diego Marcheggiani and Ivan Titov. Encoding sentences with graph convolutional networks for semantic role labeling. In Proceedings EMNLP, 2017.
236
+
237
+ Makoto Miwa and Mohit Bansal. End-to-end relation extraction using lstms on sequences and tree structures. In Proceedings of ACL, pp. 1105–1116, 2016.
238
+
239
+ Thien Huu Nguyen and Ralph Grishman. Relation extraction: Perspective from convolutional neural networks. In Proceedings of the 1st Workshop on Vector Space Modeling for Natural Language Processing, pp. 39–48, 2015.
240
+
241
+ Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. 2017.
242
+
243
+ Nanyun Peng, Hoifung Poon, Chris Quirk, Kristina Toutanova, and Wen-tau Yih. Cross-sentence n-ary relation extraction with graph lstms. TACL, pp. 101–115, 2017.
244
+
245
+ Jeffrey Pennington, Richard Socher, and Christopher Manning. Glove: Global vectors for word representation. In Proceedings of EMNLP, pp. 1532–1543, 2014.
246
+
247
+ Adam Santoro, David Raposo, David G Barrett, Mateusz Malinowski, Razvan Pascanu, Peter Battaglia, and Tim Lillicrap. A simple neural network module for relational reasoning. In NIPS, pp. 4967–4976, 2017.
248
+
249
+ Franco Scarselli, Marco Gori, Ah Chung Tsoi, Markus Hagenbuchner, and Gabriele Monfardini. The graph neural network model. IEEE Transactions on Neural Networks, pp. 61–80, 2009.
250
+
251
+ Michael Schlichtkrull, Thomas N Kipf, Peter Bloem, Rianne van den Berg, Ivan Titov, and Max Welling. Modeling relational data with graph convolutional networks. arXiv preprint arXiv:1703.06103, 2017.
252
+
253
+ Mike Schuster and Kuldip K Paliwal. Bidirectional recurrent neural networks. IEEE Transactions on Signal Processing, pp. 2673–2681, 1997.
254
+
255
+ Daniil Sorokin and Iryna Gurevych. Context-aware representations for knowledge base relation extraction. In Proceedings of EMNLP, pp. 1784–1789, 2017.
256
+
257
+ Denny Vrandeciˇ c and Markus Kr ´ otzsch. Wikidata: a free collaborative knowledgebase. ¨ Communications of the ACM, 2014.
258
+
259
+ Danfei Xu, Yuke Zhu, Christopher B Choy, and Li Fei-Fei. Scene graph generation by iterative message passing. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, volume 2, 2017.
260
+
261
+ Daojian Zeng, Kang Liu, Siwei Lai, Guangyou Zhou, and Jun Zhao. Relation classification via convolutional deep neural network. In Proceedings of COLING, pp. 2335–2344, 2014.
262
+
263
+ Daojian Zeng, Kang Liu, Yubo Chen, and Jun Zhao. Distant supervision for relation extraction via piecewise convolutional neural networks. In Proceedings of EMNLP, pp. 1753–1762, 2015.
264
+
265
+ Wenyuan Zeng, Yankai Lin, Zhiyuan Liu, and Maosong Sun. Incorporating relation paths in neural relation extraction. In Proceedings of EMNLP, 2017.
266
+
267
+ Dongxu Zhang and Dong Wang. Relation classification via recurrent neural network. arXiv preprint arXiv:1508.01006, 2015.
268
+
269
+ Yuhao Zhang, Peng Qi, and Christopher D. Manning. Graph convolution over pruned dependency trees improves relation extraction. In Empirical Methods in Natural Language Processing (EMNLP), 2018. URL https://nlp.stanford.edu/pubs/zhang2018graph.pdf.
parse/train/SkgzYiRqtX/SkgzYiRqtX_content_list.json ADDED
@@ -0,0 +1,1407 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "GRAPH NEURAL NETWORKS WITH GENERATED PARAMETERS FOR RELATION EXTRACTION ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 821,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 183,
19
+ 171,
20
+ 398,
21
+ 198
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 234,
32
+ 544,
33
+ 251
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Recently, progress has been made towards improving relational reasoning in machine learning field. Among existing models, graph neural networks (GNNs) is one of the most effective approaches for multi-hop relational reasoning. In fact, multi-hop relational reasoning is indispensable in many natural language processing tasks such as relation extraction. In this paper, we propose to generate the parameters of graph neural networks (GP-GNNs) according to natural language sentences, which enables GNNs to process relational reasoning on unstructured text inputs. We verify GP-GNNs in relation extraction from text. Experimental results on a human-annotated dataset and two distantly supervised datasets show that our model achieves significant improvements compared to baselines. We also perform a qualitative analysis to demonstrate that our model could discover more accurate relations by multi-hop relational reasoning. ",
40
+ "bbox": [
41
+ 233,
42
+ 265,
43
+ 764,
44
+ 431
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 454,
55
+ 336,
56
+ 470
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Recent years, graph neural networks (GNNs) have been applied to various fields of machine learning, including node classification (Kipf & Welling, 2016), relation classification (Schlichtkrull et al., 2017), molecular property prediction (Gilmer et al., 2017), few-shot learning (Garcia & Bruna, 2018), and achieve promising results on these tasks. These works have demonstrated GNNs’ strong power to process relational reasoning on graphs. ",
63
+ "bbox": [
64
+ 174,
65
+ 484,
66
+ 823,
67
+ 555
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Relational reasoning aims to abstractly reason about entities/objects and their relations, which is an important part of human intelligence. Besides graphs, relational reasoning is also of great importance in many natural language processing tasks such as question answering, relation extraction, summarization, etc. Consider the example shown in Fig. 1, existing relation extraction models could easily extract the facts that Luc Besson directed a film Leon: The Professional ´ and that the film is in English, but fail to infer the relationship between Luc Besson and English without multi-hop relational reasoning. By considering the reasoning patterns, one can discover that Luc Besson could speak English following a reasoning logic that Luc Besson directed Leon: The Professional ´ and this film is in English indicates Luc Besson could speak English. However, most existing GNNs can only process multi-hop relational reasoning on pre-defined graphs and cannot be directly applied in natural language relational reasoning. Enabling multi-hop relational reasoning in natural languages remains an open problem. ",
74
+ "bbox": [
75
+ 174,
76
+ 563,
77
+ 825,
78
+ 728
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "To address this issue, in this paper, we propose graph neural networks with generated parameters (GP-GNNs), to adapt graph neural networks to solve the natural language relational reasoning task. GP-GNNs first constructs a fully-connected graph with the entities in the sequence of text. After that, it employs three modules to process relational reasoning: (1) an encoding module which enables edges to encode rich information from natural languages, (2) a propagation module which propagates relational information among various nodes, and (3) a classification module which makes predictions with node representations. As compared to traditional GNNs, GP-GNNs could learn edges’ parameters from natural languages, extending it from performing inferring on only non-relational graphs or graphs with a limited number of edge types to unstructured inputs such as texts. ",
85
+ "bbox": [
86
+ 174,
87
+ 736,
88
+ 823,
89
+ 861
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "In the experiments, we apply GP-GNNs to a classic natural language relational reasoning task: relation extraction from text. We carry out experiments on Wikipedia corpus aligned with Wikidata knowledge base (Vrandeciˇ c & Kr ´ otzsch, 2014) and build a human annotated test set as well as ¨ two distantly labeled test sets with different levels of denseness.Experiment results show that our model outperforms other state-of-the-art models on relation extraction task by considering multihop relational reasoning. We also perform a qualitative analysis which shows that our model could discover more relations by reasoning more robustly as compared to baseline models. ",
96
+ "bbox": [
97
+ 176,
98
+ 867,
99
+ 823,
100
+ 922
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "image",
106
+ "img_path": "images/82a0d23c9b35c47677e0e5c518a67caec7c3c543be55937df03c888ebfb4fb8d.jpg",
107
+ "image_caption": [
108
+ "Figure 1: An example of relation extraction from plain text. Given a sentence with several entities marked, we model the interaction between these entities by generating the weights of graph neural networks. Modeling the relationship between “Leon” and “English” as well as “Luc Besson” helps ´ discover the relationship between “Luc Besson” and “English”. "
109
+ ],
110
+ "image_footnote": [],
111
+ "bbox": [
112
+ 235,
113
+ 98,
114
+ 761,
115
+ 233
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "",
122
+ "bbox": [
123
+ 174,
124
+ 329,
125
+ 821,
126
+ 371
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "Our main contributions are in two-fold: ",
133
+ "bbox": [
134
+ 176,
135
+ 377,
136
+ 431,
137
+ 392
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "(1) We extend a novel graph neural network model with generated parameters, to enable relational message-passing with rich text information, which could be applied to process relational reasoning on unstructured inputs such as natural languages. ",
144
+ "bbox": [
145
+ 174,
146
+ 398,
147
+ 825,
148
+ 440
149
+ ],
150
+ "page_idx": 1
151
+ },
152
+ {
153
+ "type": "text",
154
+ "text": "(2) We verify our GP-GNNs in the task of relation extraction from text, which demonstrates its ability on multi-hop relational reasoning as compared to those models which extract relationships separately. Moreover, we also present three datasets, which could help future researchers compare their models in different settings. ",
155
+ "bbox": [
156
+ 174,
157
+ 448,
158
+ 825,
159
+ 503
160
+ ],
161
+ "page_idx": 1
162
+ },
163
+ {
164
+ "type": "text",
165
+ "text": "2 RELATED WORK ",
166
+ "text_level": 1,
167
+ "bbox": [
168
+ 176,
169
+ 523,
170
+ 344,
171
+ 540
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "2.1 GRAPH NEURAL NETWORKS (GNNS) ",
178
+ "text_level": 1,
179
+ "bbox": [
180
+ 176,
181
+ 555,
182
+ 477,
183
+ 570
184
+ ],
185
+ "page_idx": 1
186
+ },
187
+ {
188
+ "type": "text",
189
+ "text": "GNNs were first proposed in (Scarselli et al., 2009) and are trained via the Almeida-Pineda algorithm (Almeida, 1987). Later the authors in Li et al. (2016) replace the Almeida-Pineda algorithm with the more generic backpropagation and demonstrate its effectiveness empirically. Gilmer et al. (2017) propose to apply GNNs to molecular property prediction tasks. Garcia & Bruna (2018) shows how to use GNNs to learn classifiers on image datasets in a few-shot manner. Gilmer et al. (2017) study the effectiveness of message-passing in quantum chemistry. Dhingra et al. (2017) apply message-passing on a graph constructed by coreference links to answer relational questions. There are relatively fewer papers discussing how to adapt GNNs to natural language tasks. For example, Marcheggiani & Titov (2017) propose to apply GNNs to semantic role labeling and Schlichtkrull et al. (2017) apply GNNs to knowledge base completion tasks. Zhang et al. (2018) apply GNNs to relation extraction by encoding dependency trees, and De Cao et al. (2018) apply GNNs to multi-hop question answering by encoding co-occurence and co-reference relationships. Although they also consider applying GNNs to natural language processing tasks, they still perform message-passing on predefined graphs. Johnson (2017) introduces a novel neural architecture to generate a graph based on the textual input and dynamically update the relationship during the learning process. In sharp contrast, this paper focuses on extracting relations from real-world relation datasets. ",
190
+ "bbox": [
191
+ 174,
192
+ 582,
193
+ 825,
194
+ 803
195
+ ],
196
+ "page_idx": 1
197
+ },
198
+ {
199
+ "type": "text",
200
+ "text": "2.2 RELATIONAL REASONING ",
201
+ "text_level": 1,
202
+ "bbox": [
203
+ 176,
204
+ 820,
205
+ 395,
206
+ 834
207
+ ],
208
+ "page_idx": 1
209
+ },
210
+ {
211
+ "type": "text",
212
+ "text": "Relational reasoning has been explored in various fields. For example, Santoro et al. (2017) propose a simple neural network to reason the relationship of objects in a picture, Xu et al. (2017) build up a scene graph according to an image, and Kipf et al. (2018) model the interaction of physical objects. ",
213
+ "bbox": [
214
+ 174,
215
+ 847,
216
+ 823,
217
+ 888
218
+ ],
219
+ "page_idx": 1
220
+ },
221
+ {
222
+ "type": "text",
223
+ "text": "In this paper, we focus on the relational reasoning in natural language domain. Existing works (Zeng et al., 2014; 2015; Lin et al., 2016) have demonstrated that neural networks are capable of capturing the pair-wise relationship between entities in certain situations. For example, (Zeng et al., 2014) is one of the earliest works that applies a simple CNN to this task, and (Zeng et al., 2015) further extends it with piece-wise max-pooling. Nguyen & Grishman (2015) propose a multi-window version of CNN for relation extraction. Lin et al. (2016) study an attention mechanism for relation extraction tasks. Peng et al. (2017) predict n-ary relations of entities in different sentences with Graph LSTMs. Le & Titov (2018) treat relations as latent variables which are capable of inducing the relations without any supervision signals. Zeng et al. (2017) show that the relation path has an important role in relation extraction. Miwa & Bansal (2016) show the effectiveness of LSTMs (Hochreiter & Schmidhuber, 1997) in relation extraction. Christopoulou et al. (2018) proposed a walk-based model to do relation extraction. The most related work is (Sorokin & Gurevych, 2017), where the proposed model incorporates contextual relations with attention mechanism when predicting the relation of a target entity pair. The drawback of existing approaches is that they could not make full use of the multi-hop inference patterns among multiple entity pairs and their relations within the sentence. ",
224
+ "bbox": [
225
+ 173,
226
+ 895,
227
+ 823,
228
+ 924
229
+ ],
230
+ "page_idx": 1
231
+ },
232
+ {
233
+ "type": "image",
234
+ "img_path": "images/c210b6cb0340bef734b6e9ea7ec0fccf709f426fd20d6fb9ee6018227b464f5a.jpg",
235
+ "image_caption": [
236
+ "Figure 2: Overall architecture: the encoding module takes a sequence of vector representations as inputs, and output a transition matrix as output; the propagation module propagates the hidden states from nodes to its neighbours with the generated transition matrix; the classification module provides task-related predictions according to nodes representations. "
237
+ ],
238
+ "image_footnote": [],
239
+ "bbox": [
240
+ 173,
241
+ 99,
242
+ 825,
243
+ 244
244
+ ],
245
+ "page_idx": 2
246
+ },
247
+ {
248
+ "type": "text",
249
+ "text": "",
250
+ "bbox": [
251
+ 173,
252
+ 340,
253
+ 825,
254
+ 522
255
+ ],
256
+ "page_idx": 2
257
+ },
258
+ {
259
+ "type": "text",
260
+ "text": "3 GRAPH NEURAL NETWORK WITH GENERATED PARAMETERS (GP-GNNS) ",
261
+ "text_level": 1,
262
+ "bbox": [
263
+ 176,
264
+ 541,
265
+ 820,
266
+ 559
267
+ ],
268
+ "page_idx": 2
269
+ },
270
+ {
271
+ "type": "text",
272
+ "text": "We first define the task of natural language relational reasoning. Given a sequence of text with $m$ entities, it aims to reason on both the text and entities and make a prediction of the labels of the entities or entity pairs. ",
273
+ "bbox": [
274
+ 174,
275
+ 574,
276
+ 825,
277
+ 616
278
+ ],
279
+ "page_idx": 2
280
+ },
281
+ {
282
+ "type": "text",
283
+ "text": "In this section, we will introduce the general framework of GP-GNNs. GP-GNNs first build a fullyconnected graph $\\mathcal { G } = ( \\nu , \\mathcal { E } )$ , where $\\nu$ is the set of entities, and each edge $( v _ { i } , v _ { j } ) \\in \\mathcal { E } , v _ { i } , v _ { j } \\in \\mathcal { V }$ corresponds to a sequence s = xi,j0 , xi,j1 , . . . , xi,jl−1 extracted from the text. After that, GP-GNNs employ three modules including (1) encoding module, (2) propagation module and (3) classification module to proceed relational reasoning, as shown in Fig. 2. ",
284
+ "bbox": [
285
+ 173,
286
+ 622,
287
+ 825,
288
+ 696
289
+ ],
290
+ "page_idx": 2
291
+ },
292
+ {
293
+ "type": "text",
294
+ "text": "3.1 ENCODING MODULE ",
295
+ "text_level": 1,
296
+ "bbox": [
297
+ 176,
298
+ 713,
299
+ 359,
300
+ 728
301
+ ],
302
+ "page_idx": 2
303
+ },
304
+ {
305
+ "type": "text",
306
+ "text": "The encoding module converts sequences into transition matrices corresponding to edges, i.e. the parameters of the propagation module, by ",
307
+ "bbox": [
308
+ 173,
309
+ 739,
310
+ 823,
311
+ 768
312
+ ],
313
+ "page_idx": 2
314
+ },
315
+ {
316
+ "type": "equation",
317
+ "img_path": "images/1186e7ba347961d0f1c1aba69745bdd29407bc0f42052665c3ee1c596a4188c1.jpg",
318
+ "text": "$$\n\\mathcal { A } _ { i , j } ^ { ( n ) } = f ( E ( x _ { 0 } ^ { i , j } ) , E ( x _ { 1 } ^ { i , j } ) , \\cdot \\cdot \\cdot , E ( x _ { l - 1 } ^ { i , j } ) ; \\theta _ { e } ^ { n } ) ,\n$$",
319
+ "text_format": "latex",
320
+ "bbox": [
321
+ 343,
322
+ 784,
323
+ 653,
324
+ 806
325
+ ],
326
+ "page_idx": 2
327
+ },
328
+ {
329
+ "type": "text",
330
+ "text": "where $f ( \\cdot )$ could be any model that could encode sequential data, such as LSTMs, GRUs, CNNs, $E ( \\cdot )$ indicates an embedding function, and $\\theta _ { e } ^ { n }$ denotes the parameters of the encoding module of $n$ -th layer. ",
331
+ "bbox": [
332
+ 174,
333
+ 810,
334
+ 825,
335
+ 853
336
+ ],
337
+ "page_idx": 2
338
+ },
339
+ {
340
+ "type": "text",
341
+ "text": "3.2 PROPAGATION MODULE ",
342
+ "text_level": 1,
343
+ "bbox": [
344
+ 174,
345
+ 869,
346
+ 382,
347
+ 883
348
+ ],
349
+ "page_idx": 2
350
+ },
351
+ {
352
+ "type": "text",
353
+ "text": "The propagation module learns representations for nodes layer by layer. The initial embeddings of nodes, i.e. the representations of layer 0, are task-related, which could be embeddings that encode ",
354
+ "bbox": [
355
+ 174,
356
+ 895,
357
+ 823,
358
+ 924
359
+ ],
360
+ "page_idx": 2
361
+ },
362
+ {
363
+ "type": "text",
364
+ "text": "features of nodes or just one-hot embeddings. Given representations of layer $n$ , the representations of layer $n + 1$ are calculated by ",
365
+ "bbox": [
366
+ 173,
367
+ 103,
368
+ 823,
369
+ 132
370
+ ],
371
+ "page_idx": 3
372
+ },
373
+ {
374
+ "type": "equation",
375
+ "img_path": "images/ec48d811dbe0ac74e397a8f13e307a3538658937df38e48513c124dda4641549.jpg",
376
+ "text": "$$\n\\mathbf { h } _ { i } ^ { ( n + 1 ) } = \\sum _ { v _ { j } \\in \\mathcal { N } ( v _ { i } ) } \\sigma ( \\mathcal { A } _ { i , j } ^ { ( n ) } \\mathbf { h } _ { j } ^ { ( n ) } ) ,\n$$",
377
+ "text_format": "latex",
378
+ "bbox": [
379
+ 388,
380
+ 135,
381
+ 607,
382
+ 171
383
+ ],
384
+ "page_idx": 3
385
+ },
386
+ {
387
+ "type": "text",
388
+ "text": "where $\\mathcal { N } ( v _ { i } )$ denotes the neighbours of node $v _ { i }$ in graph $\\mathcal { G }$ and $\\sigma ( \\cdot )$ denotes non-linear activation function. ",
389
+ "bbox": [
390
+ 174,
391
+ 176,
392
+ 825,
393
+ 204
394
+ ],
395
+ "page_idx": 3
396
+ },
397
+ {
398
+ "type": "text",
399
+ "text": "3.3 CLASSIFICATION MODULE ",
400
+ "text_level": 1,
401
+ "bbox": [
402
+ 174,
403
+ 220,
404
+ 400,
405
+ 236
406
+ ],
407
+ "page_idx": 3
408
+ },
409
+ {
410
+ "type": "text",
411
+ "text": "Generally, the classification module takes node representations as inputs and outputs predictions. Therefore, the loss of GP-GNNs could be calculated as ",
412
+ "bbox": [
413
+ 174,
414
+ 246,
415
+ 823,
416
+ 275
417
+ ],
418
+ "page_idx": 3
419
+ },
420
+ {
421
+ "type": "equation",
422
+ "img_path": "images/8458f178c2acdcd7ca4372ed74ad3e2698e93cc29c7da493bcc8a02f04cef63b.jpg",
423
+ "text": "$$\n\\mathcal { L } = g ( \\mathbf { h } _ { 0 : | \\mathcal { V } | - 1 } ^ { 0 } , \\mathbf { h } _ { 0 : | \\mathcal { V } | - 1 } ^ { 1 } , \\dots , \\mathbf { h } _ { 0 : | \\mathcal { V } | - 1 } ^ { K } , Y ; \\theta _ { c } ) ,\n$$",
424
+ "text_format": "latex",
425
+ "bbox": [
426
+ 341,
427
+ 277,
428
+ 653,
429
+ 299
430
+ ],
431
+ "page_idx": 3
432
+ },
433
+ {
434
+ "type": "text",
435
+ "text": "where $\\theta _ { c }$ denotes the parameters of the classification module, $K$ is the number of layers in propagation module and $Y$ denotes the ground truth label. The parameters in GP-GNNs are trained by gradient descent methods. ",
436
+ "bbox": [
437
+ 174,
438
+ 301,
439
+ 825,
440
+ 344
441
+ ],
442
+ "page_idx": 3
443
+ },
444
+ {
445
+ "type": "text",
446
+ "text": "4 RELATION EXTRACTION WITH GP-GNNS ",
447
+ "text_level": 1,
448
+ "bbox": [
449
+ 174,
450
+ 363,
451
+ 553,
452
+ 381
453
+ ],
454
+ "page_idx": 3
455
+ },
456
+ {
457
+ "type": "text",
458
+ "text": "Relation extraction from text is a classic natural language relational reasoning task. Given a sentence $s ~ = ~ ( x _ { 0 } , x _ { 1 } , \\ldots , x _ { l - 1 } )$ , a set of relations $\\mathcal { R }$ and a set of entities in this sentence ${ \\mathcal V } _ { s } = \\{ v _ { 1 } , v _ { 2 } , \\ldots , v _ { | { \\mathcal V } _ { s } | } \\}$ , where each $v _ { i }$ consists of one or a sequence of tokens, relation extraction from text is to identify the pairwise relationship $r _ { v _ { i } , v _ { j } } \\in \\mathcal { R }$ between each entity pair $( v _ { i } , v _ { j } )$ . ",
459
+ "bbox": [
460
+ 173,
461
+ 393,
462
+ 825,
463
+ 453
464
+ ],
465
+ "page_idx": 3
466
+ },
467
+ {
468
+ "type": "text",
469
+ "text": "In this section, we will introduce how to apply GP-GNNs to relation extraction. ",
470
+ "bbox": [
471
+ 174,
472
+ 458,
473
+ 694,
474
+ 474
475
+ ],
476
+ "page_idx": 3
477
+ },
478
+ {
479
+ "type": "text",
480
+ "text": "4.1 ENCODING MODULE ",
481
+ "text_level": 1,
482
+ "bbox": [
483
+ 174,
484
+ 489,
485
+ 359,
486
+ 503
487
+ ],
488
+ "page_idx": 3
489
+ },
490
+ {
491
+ "type": "text",
492
+ "text": "To encode the context of entity pairs (or edges in the graph), we first concatenate the position embeddings with word embeddings in the sentence: ",
493
+ "bbox": [
494
+ 173,
495
+ 515,
496
+ 823,
497
+ 545
498
+ ],
499
+ "page_idx": 3
500
+ },
501
+ {
502
+ "type": "equation",
503
+ "img_path": "images/d6bbcf8f56fdeafab3a5282800a3c1a5a4e16df46a2412c3fb220e1e3ff54f52.jpg",
504
+ "text": "$$\nE ( x _ { t } ^ { i , j } ) = [ { \\pmb x } _ { t } ; { \\pmb p } _ { t } ^ { i , j } ] ,\n$$",
505
+ "text_format": "latex",
506
+ "bbox": [
507
+ 429,
508
+ 560,
509
+ 566,
510
+ 580
511
+ ],
512
+ "page_idx": 3
513
+ },
514
+ {
515
+ "type": "text",
516
+ "text": "where $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ denotes the word embedding of word $x _ { t }$ and $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { P } } _ { t } ^ { i , j } }$ denotes the position embedding of word position $t$ relative to the entity pair’s position $i , j$ (Details of these two embeddings are introduced in the next two paragraphs.) After that, we feed the representations of entity pairs into encoder $f ( \\cdot )$ which contains a bi-directional LSTM and a multi-layer perceptron: ",
517
+ "bbox": [
518
+ 173,
519
+ 583,
520
+ 825,
521
+ 640
522
+ ],
523
+ "page_idx": 3
524
+ },
525
+ {
526
+ "type": "equation",
527
+ "img_path": "images/cf38de968c329dc016572044eee567131cd4af73a0e435bc7dcae5f7cc955545.jpg",
528
+ "text": "$$\n\\begin{array} { r } { \\boldsymbol { \\mathcal { A } } _ { i , j } ^ { ( n ) } = [ \\mathtt { M L P } _ { n } ( \\mathtt { B i L S T M } _ { n } ( ( E ( x _ { 0 } ^ { i , j } ) , E ( x _ { 1 } ^ { i , j } ) , \\cdots , E ( x _ { l - 1 } ^ { i , j } ) ) ] , } \\end{array}\n$$",
529
+ "text_format": "latex",
530
+ "bbox": [
531
+ 302,
532
+ 643,
533
+ 694,
534
+ 666
535
+ ],
536
+ "page_idx": 3
537
+ },
538
+ {
539
+ "type": "text",
540
+ "text": "where $n$ denotes the index of layer 1, $[ \\cdot ]$ means reshaping a vector as a matrix, BiLSTM encodes a sequence by concatenating tail hidden states of the forward LSTM and head hidden states of the backward LSTM together and MLP denotes a multi-layer perceptron with non-linear activation $\\sigma$ . ",
541
+ "bbox": [
542
+ 174,
543
+ 670,
544
+ 825,
545
+ 714
546
+ ],
547
+ "page_idx": 3
548
+ },
549
+ {
550
+ "type": "text",
551
+ "text": "Word Representations We first map each token $x _ { t }$ of sentence $\\{ x _ { 0 } , x _ { 1 } , \\dotsc , x _ { l - 1 } \\}$ to a $k$ - dimensional embedding vector $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ using a word embedding matrix $W _ { e } \\in \\mathbb { R } ^ { | V | \\times d _ { w } }$ , where $| V |$ is the size of the vocabulary. Throughout this paper, we stick to 50-dimensional GloVe embeddings pre-trained on a 6 billion corpus (Pennington et al., 2014). ",
552
+ "bbox": [
553
+ 173,
554
+ 728,
555
+ 825,
556
+ 786
557
+ ],
558
+ "page_idx": 3
559
+ },
560
+ {
561
+ "type": "text",
562
+ "text": "Position Embedding In this work, we consider a simple entity marking scheme2: we mark each token in the sentence as either belonging to the first entity $v _ { i }$ , the second entity $v _ { j }$ or to neither of those. Each position marker is also mapped to a $d _ { p }$ -dimensional vector by a position embedding matrix $P \\in \\mathbb { R } ^ { 3 \\times d _ { p } }$ . We use notation $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { P } } _ { t } ^ { i , j } }$ to represent the position embedding for $x _ { t }$ corresponding to entity pair $( v _ { i } , v _ { j } )$ . ",
563
+ "bbox": [
564
+ 173,
565
+ 800,
566
+ 825,
567
+ 875
568
+ ],
569
+ "page_idx": 3
570
+ },
571
+ {
572
+ "type": "text",
573
+ "text": "4.2 PROPAGATION MODULE ",
574
+ "text_level": 1,
575
+ "bbox": [
576
+ 174,
577
+ 103,
578
+ 382,
579
+ 117
580
+ ],
581
+ "page_idx": 4
582
+ },
583
+ {
584
+ "type": "text",
585
+ "text": "Next, we use Eq. (2) to propagate information among nodes where the initial embeddings of nodes and number of layers are further specified as follows. ",
586
+ "bbox": [
587
+ 173,
588
+ 131,
589
+ 823,
590
+ 159
591
+ ],
592
+ "page_idx": 4
593
+ },
594
+ {
595
+ "type": "text",
596
+ "text": "The Initial Embeddings of Nodes Suppose we are focusing on extracting the relationship between entity $v _ { i }$ and entity $v _ { j }$ , the initial embeddings of them are annotated as $\\mathbf { h } _ { v _ { i } } ^ { ( 0 ) } = \\pmb { a } _ { \\mathrm { s u b j e c t } }$ , and $h _ { v _ { j } } ^ { ( 0 ) } = a _ { \\mathrm { o b j e c t } }$ , while the initial embeddings of other entities are set to all zeros. We set special values for the head and tail entity’s initial embeddings as a kind of “flag” messages which we expect to be passed through propagation. Annotators $\\mathbf { \\pmb { a } } _ { \\mathrm { s u b j e c t } }$ and $\\mathbf { \\phi } _ { a _ { \\mathrm { o b j e c t } } }$ could also carry the prior knowledge about subject entity and object entity. In our experiments, we generalize the idea of Gated Graph Neural Networks (Li et al., 2016) by setting $\\pmb { a } _ { \\mathrm { s u b j e c t } } = [ \\mathbf { 1 } ; \\mathbf { 0 } ] ^ { \\top }$ and $\\mathbf { \\Delta } \\mathbf { a } _ { \\mathrm { o b j e c t } } = [ \\mathbf { 0 } ; \\mathbf { 1 } ] ^ { \\top 3 }$ . ",
597
+ "bbox": [
598
+ 173,
599
+ 175,
600
+ 825,
601
+ 282
602
+ ],
603
+ "page_idx": 4
604
+ },
605
+ {
606
+ "type": "text",
607
+ "text": "Number of Layers In general graphs, the number of layers $K$ is chosen to be of the order of the graph diameter so that all nodes obtain information from the entire graph. In our context, however, since the graph is densely connected, the depth is interpreted simply as giving the model more expressive power. We treat $K$ as a hyper-parameter, the effectiveness of which will be discussed in detail (Sect. 5.4). ",
608
+ "bbox": [
609
+ 173,
610
+ 297,
611
+ 825,
612
+ 368
613
+ ],
614
+ "page_idx": 4
615
+ },
616
+ {
617
+ "type": "text",
618
+ "text": "4.3 CLASSIFICATION MODULE ",
619
+ "text_level": 1,
620
+ "bbox": [
621
+ 176,
622
+ 387,
623
+ 398,
624
+ 401
625
+ ],
626
+ "page_idx": 4
627
+ },
628
+ {
629
+ "type": "text",
630
+ "text": "The output module takes the embeddings of the target entity pair $( v _ { i } , v _ { j } )$ as input, which are first converted by: ",
631
+ "bbox": [
632
+ 174,
633
+ 414,
634
+ 823,
635
+ 443
636
+ ],
637
+ "page_idx": 4
638
+ },
639
+ {
640
+ "type": "equation",
641
+ "img_path": "images/406705cf98e48f001a12d3cd5f6fe40f059045f6de814b46ee6d3590f9758e65.jpg",
642
+ "text": "$$\n\\pmb { r } _ { v _ { i } , v _ { j } } = [ [ \\pmb { h } _ { v _ { i } } ^ { ( 1 ) } \\odot \\pmb { h } _ { v _ { j } } ^ { ( 1 ) } ] ^ { \\top } ; [ \\pmb { h } _ { v _ { i } } ^ { ( 2 ) } \\odot \\pmb { h } _ { v _ { j } } ^ { ( 2 ) } ] ^ { \\top } ; \\dots ; [ \\pmb { h } _ { v _ { i } } ^ { ( K ) } \\odot \\pmb { h } _ { v _ { j } } ^ { ( K ) } ] ^ { \\top } ] ,\n$$",
643
+ "text_format": "latex",
644
+ "bbox": [
645
+ 303,
646
+ 443,
647
+ 694,
648
+ 463
649
+ ],
650
+ "page_idx": 4
651
+ },
652
+ {
653
+ "type": "text",
654
+ "text": "where $\\odot$ represents element-wise multiplication. This could be used for classification: ",
655
+ "bbox": [
656
+ 173,
657
+ 467,
658
+ 738,
659
+ 483
660
+ ],
661
+ "page_idx": 4
662
+ },
663
+ {
664
+ "type": "equation",
665
+ "img_path": "images/ddbf69d1bc402f18c35cea397eceee9f5631cdf04c6e501d9e508b1b54b2823b.jpg",
666
+ "text": "$$\n\\mathbb { P } ( r _ { v _ { i } , v _ { j } } | h , t , s ) = \\mathsf { s o f t m a x } \\big ( \\mathtt { M L P } ( r _ { v _ { i } , v _ { j } } ) \\big ) ,\n$$",
667
+ "text_format": "latex",
668
+ "bbox": [
669
+ 369,
670
+ 491,
671
+ 627,
672
+ 507
673
+ ],
674
+ "page_idx": 4
675
+ },
676
+ {
677
+ "type": "text",
678
+ "text": "where $r _ { v _ { i } , v _ { j } } \\in \\mathcal { R }$ , and MLP denotes a multi-layer perceptron module. ",
679
+ "bbox": [
680
+ 173,
681
+ 515,
682
+ 624,
683
+ 530
684
+ ],
685
+ "page_idx": 4
686
+ },
687
+ {
688
+ "type": "text",
689
+ "text": "We use cross entropy here as the classification loss ",
690
+ "bbox": [
691
+ 174,
692
+ 536,
693
+ 509,
694
+ 551
695
+ ],
696
+ "page_idx": 4
697
+ },
698
+ {
699
+ "type": "equation",
700
+ "img_path": "images/4f82298534b4e615fc41f66d99e59589f564ad0080132f28900fcd81e24589ec.jpg",
701
+ "text": "$$\n\\mathcal { L } = \\sum _ { s \\in S } \\sum _ { i \\neq j } \\log \\mathbb { P } ( r _ { v _ { i } , v _ { j } } | i , j , s ) ,\n$$",
702
+ "text_format": "latex",
703
+ "bbox": [
704
+ 398,
705
+ 559,
706
+ 598,
707
+ 592
708
+ ],
709
+ "page_idx": 4
710
+ },
711
+ {
712
+ "type": "text",
713
+ "text": "where $r _ { v _ { i } , v _ { j } }$ denotes the relation label for entity pair $( v _ { i } , v _ { j } )$ and $S$ denotes the whole corpus. ",
714
+ "bbox": [
715
+ 171,
716
+ 601,
717
+ 785,
718
+ 616
719
+ ],
720
+ "page_idx": 4
721
+ },
722
+ {
723
+ "type": "text",
724
+ "text": "In practice, we stack the embeddings for every target entity pairs together to infer the underlying relationship between each pair of entities. We use PyTorch (Paszke et al., 2017) to implement our models. To make it more efficient, we avoid using loop-based, scalar-oriented code by matrix and vector operations. ",
725
+ "bbox": [
726
+ 174,
727
+ 622,
728
+ 825,
729
+ 678
730
+ ],
731
+ "page_idx": 4
732
+ },
733
+ {
734
+ "type": "text",
735
+ "text": "5 EXPERIMENTS ",
736
+ "text_level": 1,
737
+ "bbox": [
738
+ 176,
739
+ 700,
740
+ 326,
741
+ 717
742
+ ],
743
+ "page_idx": 4
744
+ },
745
+ {
746
+ "type": "text",
747
+ "text": "Our experiments mainly aim to: (1) showing that our best models could improve the performance of relation extraction under a variety of settings; (2) illustrating that how the number of layers affect the performance of our model; and (3) performing a qualitative investigation to highlight the difference between our models and baseline models. In both part (1) and part (2), we do three subparts of experiments: (i) we will first show that our models could improve instance-level relation extraction on a human annotated test set, and (ii) then we will show that our models could also help enhance the performance of bag-level relation extraction on a distantly labeled test set 4, and (iii) we also split a subset of distantly labeled test set, where the number of entities and edges is large. ",
748
+ "bbox": [
749
+ 173,
750
+ 733,
751
+ 825,
752
+ 844
753
+ ],
754
+ "page_idx": 4
755
+ },
756
+ {
757
+ "type": "text",
758
+ "text": "5.1 EXPERIMENT SETTINGS ",
759
+ "text_level": 1,
760
+ "bbox": [
761
+ 176,
762
+ 103,
763
+ 382,
764
+ 117
765
+ ],
766
+ "page_idx": 5
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "5.1.1 DATASETS ",
771
+ "text_level": 1,
772
+ "bbox": [
773
+ 174,
774
+ 128,
775
+ 302,
776
+ 143
777
+ ],
778
+ "page_idx": 5
779
+ },
780
+ {
781
+ "type": "text",
782
+ "text": "Distantly labeled set Sorokin & Gurevych (2017) have proposed a dataset with Wikipedia corpora. There is a small difference between our task and theirs: our task is to extract the relationship between every pair of entities in the sentence, whereas their task is to extract the relationship between the given entity pair and the context entity pairs. Therefore, we need to modify their dataset: (1) We added reversed edges if they are missing from a given triple, e.g. if triple (Earth, part of, Solar System) exists in the sentence, we add a reversed label, (Solar System, has a member, Earth), to it; (2) For all of the entity pairs with no relations, we added “NA” labels to them.5 We use the same training set for all of the experiments. ",
783
+ "bbox": [
784
+ 173,
785
+ 154,
786
+ 825,
787
+ 265
788
+ ],
789
+ "page_idx": 5
790
+ },
791
+ {
792
+ "type": "text",
793
+ "text": "Human annotated test set Based on the test set provided by (Sorokin & Gurevych, 2017), 5 annotators6 are asked to label the dataset. They are asked to decide whether or not the distant supervision is right for every pair of entities. Only the instances accepted by all 5 annotators are incorporated into the human annotated test set. There are 350 sentences and 1,230 triples in this test set. ",
794
+ "bbox": [
795
+ 173,
796
+ 280,
797
+ 825,
798
+ 349
799
+ ],
800
+ "page_idx": 5
801
+ },
802
+ {
803
+ "type": "text",
804
+ "text": "Dense distantly labeled test set We further split a dense test set from the distantly labeled test set. Our criteria are: (1) the number of entities should be strictly larger than 2; and (2) there must be at least one circle (with at least three entities) in the ground-truth label of the sentence 7. This test set could be used to test our methods’ performance on sentences with the complex interaction between entities. There are 1,350 sentences and more than 17,915 triples and 7,906 relational facts in this test set. ",
805
+ "bbox": [
806
+ 174,
807
+ 366,
808
+ 825,
809
+ 449
810
+ ],
811
+ "page_idx": 5
812
+ },
813
+ {
814
+ "type": "text",
815
+ "text": "5.1.2 MODELS FOR COMPARISON ",
816
+ "text_level": 1,
817
+ "bbox": [
818
+ 176,
819
+ 465,
820
+ 419,
821
+ 479
822
+ ],
823
+ "page_idx": 5
824
+ },
825
+ {
826
+ "type": "text",
827
+ "text": "We select the following models for comparison, the first four of which are our baseline models. ",
828
+ "bbox": [
829
+ 178,
830
+ 488,
831
+ 795,
832
+ 503
833
+ ],
834
+ "page_idx": 5
835
+ },
836
+ {
837
+ "type": "text",
838
+ "text": "Context-Aware RE, proposed by Sorokin & Gurevych (2017). This model utilizes attention mechanism to encode the context relations for predicting target relations. It was the state-of-the-art models on Wikipedia dataset. This baseline is implemented by ourselves based on authors’ public repo8. ",
839
+ "bbox": [
840
+ 174,
841
+ 510,
842
+ 825,
843
+ 553
844
+ ],
845
+ "page_idx": 5
846
+ },
847
+ {
848
+ "type": "text",
849
+ "text": "Multi-Window CNN. Zeng et al. (2014) utilize convolutional neural networks to classify relations. Different from the original version of CNN proposed in (Zeng et al., 2014), our implementation, follows (Nguyen & Grishman, 2015), concatenates features extracted by three different window sizes: 3, 5, 7. ",
850
+ "bbox": [
851
+ 174,
852
+ 559,
853
+ 825,
854
+ 614
855
+ ],
856
+ "page_idx": 5
857
+ },
858
+ {
859
+ "type": "text",
860
+ "text": "PCNN, proposed by Zeng et al. (2015). This model divides the whole sentence into three pieces and applies max-pooling after convolution layer piece-wisely. For CNN and following PCNN, the entity markers are the same as originally proposed in (Zeng et al., 2014; 2015). ",
861
+ "bbox": [
862
+ 174,
863
+ 622,
864
+ 825,
865
+ 665
866
+ ],
867
+ "page_idx": 5
868
+ },
869
+ {
870
+ "type": "text",
871
+ "text": "LSTM or GP-GNN with $K = 1$ layer. Bi-directional LSTM (Schuster & Paliwal, 1997) could be seen as an 1-layer variant of our model. ",
872
+ "bbox": [
873
+ 173,
874
+ 671,
875
+ 821,
876
+ 699
877
+ ],
878
+ "page_idx": 5
879
+ },
880
+ {
881
+ "type": "text",
882
+ "text": "GP-GNN with $K = 2$ or $K = 3$ layerss. These models are capable of performing 2-hop reasoning and 3-hop reasoning, respectively. ",
883
+ "bbox": [
884
+ 174,
885
+ 707,
886
+ 821,
887
+ 736
888
+ ],
889
+ "page_idx": 5
890
+ },
891
+ {
892
+ "type": "text",
893
+ "text": "5.1.3 HYPER-PARAMETERS ",
894
+ "text_level": 1,
895
+ "bbox": [
896
+ 176,
897
+ 751,
898
+ 377,
899
+ 765
900
+ ],
901
+ "page_idx": 5
902
+ },
903
+ {
904
+ "type": "text",
905
+ "text": "We select the best parameters for the validation set. We select non-linear activation functions between relu and tanh, and select $d _ { n }$ among $\\{ 2 , 4 , 8 , 1 2 , 1 6 \\} ^ { 9 }$ . We have also tried two forms of adjacent matrices: tied-weights (set $\\mathcal { A } ^ { ( n ) } = \\mathcal { A } ^ { ( n + 1 ) } )$ and untied-weights. Table 1 shows our best hyper-parameter settings, which are used in all of our experiments. ",
906
+ "bbox": [
907
+ 173,
908
+ 775,
909
+ 825,
910
+ 832
911
+ ],
912
+ "page_idx": 5
913
+ },
914
+ {
915
+ "type": "table",
916
+ "img_path": "images/fcb5879d5b27a32bfd58b47ed4b63e72c5f7a3c988e21aba28fa8e3449c913ca.jpg",
917
+ "table_caption": [
918
+ "Table 1: Hyper-parameters settings. "
919
+ ],
920
+ "table_footnote": [],
921
+ "table_body": "<table><tr><td>Hyper-parameters</td><td>Value</td></tr><tr><td>learning rate</td><td>0.001</td></tr><tr><td>batch size</td><td>50</td></tr><tr><td>dropout ratio</td><td>0.5</td></tr><tr><td>hidden state size</td><td>256</td></tr><tr><td>non-linear activation o</td><td>relu</td></tr><tr><td>embedding size for #layers =1</td><td>8</td></tr><tr><td>embedding size for #layers =2 and 3</td><td>12</td></tr><tr><td>adjacent matrices</td><td>untied</td></tr></table>",
922
+ "bbox": [
923
+ 359,
924
+ 101,
925
+ 638,
926
+ 231
927
+ ],
928
+ "page_idx": 6
929
+ },
930
+ {
931
+ "type": "text",
932
+ "text": "5.2 EVALUATION DETAILS ",
933
+ "text_level": 1,
934
+ "bbox": [
935
+ 174,
936
+ 281,
937
+ 370,
938
+ 296
939
+ ],
940
+ "page_idx": 6
941
+ },
942
+ {
943
+ "type": "text",
944
+ "text": "So far, we have only talked about the way to implement sentence-level relation extraction. To evaluate our models and baseline models in bag-level, we utilize a bag of sentences with given entity pair to score the relations between them. Zeng et al. (2015) formalize the bag-level relation extraction as multi-instance learning. Here, we follow their idea and define the score function of entity pair and its corresponding relation $r$ as a max-one setting: ",
945
+ "bbox": [
946
+ 173,
947
+ 308,
948
+ 825,
949
+ 378
950
+ ],
951
+ "page_idx": 6
952
+ },
953
+ {
954
+ "type": "equation",
955
+ "img_path": "images/d2691d72ecd319f7c80240ee3da12d12bb7674209332b506537a328b43b22f06.jpg",
956
+ "text": "$$\nE ( r | v _ { i } , v _ { j } , S ) = \\displaystyle \\operatorname* { m a x } _ { s \\in S } \\mathbb { P } ( r _ { v _ { i } , v _ { j } } | i , j , s ) .\n$$",
957
+ "text_format": "latex",
958
+ "bbox": [
959
+ 380,
960
+ 385,
961
+ 616,
962
+ 406
963
+ ],
964
+ "page_idx": 6
965
+ },
966
+ {
967
+ "type": "table",
968
+ "img_path": "images/6f77a658226f1af821887c7eeacb7630f96f947520d0bd269d1b3b2a535a9580.jpg",
969
+ "table_caption": [
970
+ "Table 2: Results on human annotated dataset "
971
+ ],
972
+ "table_footnote": [],
973
+ "table_body": "<table><tr><td>Dataset Metric</td><td>Human Annotated Test Set Acc Macro F1</td></tr><tr><td>Multi-Window CNN</td><td>47.3 17.5</td></tr><tr><td>PCNN</td><td>30.8 3.2</td></tr><tr><td>Context-Aware RE</td><td>68.9 44.9</td></tr><tr><td>GP-GNN (#layers=1)</td><td>62.9 44.1</td></tr><tr><td>GP-GNN (#layers=2)</td><td>69.5 44.2</td></tr><tr><td>GP-GNN (#layers=3)</td><td>75.3 47.9</td></tr></table>",
974
+ "bbox": [
975
+ 334,
976
+ 428,
977
+ 661,
978
+ 536
979
+ ],
980
+ "page_idx": 6
981
+ },
982
+ {
983
+ "type": "table",
984
+ "img_path": "images/921bf1275781b7eb477d7df0b6d3dd3e726c880931b75cda1ad3c33c24b5bef6.jpg",
985
+ "table_caption": [
986
+ "Table 3: Results on distantly labeled test set "
987
+ ],
988
+ "table_footnote": [],
989
+ "table_body": "<table><tr><td rowspan=\"2\">Dataset Metric</td><td colspan=\"4\">Distantly Labeled Test Set</td><td colspan=\"4\">Dense Distantly Labeled Test Set</td></tr><tr><td>P@5%</td><td>P@10%</td><td>P@15%</td><td>P@20%</td><td>P@5%</td><td>P@10%</td><td>P@15%</td><td>P@20%</td></tr><tr><td>Multi-Window CNN</td><td>78.9</td><td>78.4</td><td>76.2</td><td>72.9</td><td>86.2</td><td>83.4</td><td>81.4</td><td>79.1</td></tr><tr><td>PCNN</td><td>73.0</td><td>65.4</td><td>58.1</td><td>51.2</td><td>85.3</td><td>79.1</td><td>72.4</td><td>68.1</td></tr><tr><td>Context-Aware RE</td><td>90.8</td><td>89.9</td><td>88.5</td><td>87.2</td><td>93.5</td><td>93.0</td><td>93.8</td><td>93.0</td></tr><tr><td>GP-GNN (#layers=1)</td><td>90.5</td><td>89.9</td><td>88.2</td><td>87.2</td><td>97.4</td><td>93.5</td><td>92.4</td><td>91.9</td></tr><tr><td>GP-GNN (#layers=2)</td><td>92.5</td><td>92.0</td><td>89.3</td><td>87.1</td><td>95.0</td><td>94.6</td><td>95.2</td><td>94.2</td></tr><tr><td>GP-GNN (#layers=3)</td><td>94.2</td><td>92.0</td><td>89.7</td><td>88.3</td><td>98.5</td><td>97.4</td><td>96.6</td><td>96.1</td></tr></table>",
990
+ "bbox": [
991
+ 176,
992
+ 579,
993
+ 821,
994
+ 683
995
+ ],
996
+ "page_idx": 6
997
+ },
998
+ {
999
+ "type": "text",
1000
+ "text": "5.3 EFFECTIVENESS OF REASONING MECHANISM ",
1001
+ "text_level": 1,
1002
+ "bbox": [
1003
+ 174,
1004
+ 731,
1005
+ 532,
1006
+ 744
1007
+ ],
1008
+ "page_idx": 6
1009
+ },
1010
+ {
1011
+ "type": "text",
1012
+ "text": "From Table 2 and 3, we can see that our best models outperform all the baseline models significantly on all three test sets. These results indicate our model could successfully conduct reasoning on the fully-connected graph with generated parameters from natural language. These results also indicate that our model not only performs well on sentence-level relation extraction but also improves on bag-level relation extraction. Note that Context-Aware RE also incorporates context information to predict the relation of the target entity pair, however, we argue that Context-Aware RE only models the co-occurrence of various relations, ignoring whether the context relation participates in the reasoning process of relation extraction of the target entity pair. Context-Aware RE may introduce more noise, for it may mistakenly increase the probability of a relation with the similar topic with the context relations. We will give samples to illustrate this issue in Sect. 5.5. Another interesting observation is that our #layers=1 version outperforms CNN and PCNN in these three datasets. One probable reason is that sentences from Wikipedia corpus are always complex, which may be hard to model for CNN and PCNN. Similar conclusions are also reached by Zhang & Wang (2015). ",
1013
+ "bbox": [
1014
+ 173,
1015
+ 757,
1016
+ 825,
1017
+ 924
1018
+ ],
1019
+ "page_idx": 6
1020
+ },
1021
+ {
1022
+ "type": "text",
1023
+ "text": "",
1024
+ "bbox": [
1025
+ 171,
1026
+ 103,
1027
+ 825,
1028
+ 132
1029
+ ],
1030
+ "page_idx": 7
1031
+ },
1032
+ {
1033
+ "type": "image",
1034
+ "img_path": "images/5a6061a24c0341d261606729c0c97258d87cce32a42396aa1f6067102048ba98.jpg",
1035
+ "image_caption": [
1036
+ "Figure 3: The aggregated precision-recall curves of our models with different number of layers on distantly labeled test set (left) and dense distantly labeled test set (right). We also add Context Aware RE for comparison. ",
1037
+ "Table 4: Sample predictions from the baseline models and our GP-GNN model. Ground truth graphs are the subgraph in Wikidata knowledge graph induced by the sets of entities in the sentences. The models take sentences and entity markers as input and produce a graph containing entities (colored and bold) and relations between them. Although “No Relation” is also be seen as a type of relation, we only show other relation types in the graphs. "
1038
+ ],
1039
+ "image_footnote": [],
1040
+ "bbox": [
1041
+ 189,
1042
+ 165,
1043
+ 790,
1044
+ 328
1045
+ ],
1046
+ "page_idx": 7
1047
+ },
1048
+ {
1049
+ "type": "table",
1050
+ "img_path": "images/73d293f05613444f90b3520f9037be521f3f78e8378fe4c9a771c37de199e7a0.jpg",
1051
+ "table_caption": [],
1052
+ "table_footnote": [],
1053
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Sentence</td><td rowspan=1 colspan=1>Context AwareRelation Extraction</td><td rowspan=1 colspan=1>LSTM</td><td rowspan=1 colspan=1>GP-GNN (#layers = 3)</td><td rowspan=1 colspan=1>Ground Truth</td></tr><tr><td rowspan=1 colspan=1>Oozham(or Uzham)is anupcoming 2016 Malayalamdrama film written anddirected by Jeethu Josephwith Prithviraj Sukumaranin the lead role.</td><td rowspan=1 colspan=1>Prithviraj Sukumaran7cast memberOozham1directororiginal language★ 1Jeethu Joseph Malayalam</td><td rowspan=1 colspan=1>Prithviraj Sukumaran?cast memberOozhamdirectororiginal language↓Jeethu Joseph Malayalam</td><td rowspan=1 colspan=1>Prithviraj Sukumaran?cast memberOozham1 language spokendirectororiginal language? 1Jeethu Joseph Malayalam</td><td rowspan=1 colspan=1>Prithviraj Sukumaran中cast memberOozhamlanguage spokendirectororiginal language↓Jeethu Joseph Malayalam</td></tr><tr><td rowspan=1 colspan=1>The third annual of the 2006Premios Juventud (YouthAwards) edition will be heldon July 13,2006 at theBankUnited Center fromthe University of Miami inCoralGables,Florida</td><td rowspan=1 colspan=1>University of Miami located in the admini-BankUnited Centerstrative territorial entityTCoral Gables, Florida</td><td rowspan=1 colspan=1>University of Miamilocated in the admini-BankUnited Centerstrative terrtorial entityCoral Gables, Florida</td><td rowspan=1 colspan=1>University of Miami中owned byBankUnited Center Iocated in the admini-strative territorial entitylocated in the admini-strative territorial entityCoral Gables, Florida</td><td rowspan=1 colspan=1>University of Miami7owned byBankUnited Center located in the admini-strative territorial entity1Coral Gables, Florida</td></tr><tr><td rowspan=1 colspan=1>The association wasorganized in Enterprise (nowknown as Redbush)Johnson County,Kentucky in 1894 and wasincorporated in 1955,afterrelocating to Gallipolis,Ohio.</td><td rowspan=1 colspan=1>Johnson CountyIlocated in the admini-strative teritorial entitylocated in the admini-strative territorial entityRedbush4Ohio share Kentuckyboarder with</td><td rowspan=1 colspan=1>Johnson Countylocated in the admini-strative territorial entityIocated in the admini-strative territorial entityRedbushOhio Kentucky</td><td rowspan=1 colspan=1>Johnson CountyIocated in the admini-strative territorial entityIocated in the admini-strative territorial entityRedbush1Ohio Kentucky</td><td rowspan=1 colspan=1>Johnson CountyIlocated in the admini-strative teritorial entityIocated in the admini-strative territorial entityRedbushOhio Kentucky</td></tr></table>",
1054
+ "bbox": [
1055
+ 174,
1056
+ 409,
1057
+ 816,
1058
+ 659
1059
+ ],
1060
+ "page_idx": 7
1061
+ },
1062
+ {
1063
+ "type": "text",
1064
+ "text": "5.4 THE EFFECTIVENESS OF THE NUMBER OF LAYERS ",
1065
+ "text_level": 1,
1066
+ "bbox": [
1067
+ 174,
1068
+ 772,
1069
+ 565,
1070
+ 786
1071
+ ],
1072
+ "page_idx": 7
1073
+ },
1074
+ {
1075
+ "type": "text",
1076
+ "text": "The number of layers represents the reasoning ability of our models. A $K$ -layer version has the ability to infer $K$ -hop relations. To demonstrate the effects of the number of layers, we also compare our models with different numbers of layers. From Table 2 and Table 3, we could see that on all three datasets, 3-layer version achieves the best. We could also see from Fig. 3 that as the number of layers grows, the curves get higher and higher precision, indicating considering more hops in reasoning leads to better performance. However, the improvement of the third layer is much smaller on the overall distantly supervised test set than the one on the dense subset. This observation reveals that the reasoning mechanism could help us identify relations especially on sentences where there are more entities. We could also see that on the human annotated test set 3-layer version to have a greater improvement over 2-layer version as compared with 2-layer version over 1-layer version. It is probably due to the reason that bag-level relation extraction is much easier. In real applications, different variants could be selected for different kind of sentences or we can also ensemble the prediction from different models. We leave these explorations for future work. ",
1077
+ "bbox": [
1078
+ 173,
1079
+ 797,
1080
+ 825,
1081
+ 924
1082
+ ],
1083
+ "page_idx": 7
1084
+ },
1085
+ {
1086
+ "type": "text",
1087
+ "text": "",
1088
+ "bbox": [
1089
+ 174,
1090
+ 103,
1091
+ 825,
1092
+ 159
1093
+ ],
1094
+ "page_idx": 8
1095
+ },
1096
+ {
1097
+ "type": "text",
1098
+ "text": "5.5 QUALITATIVE RESULTS: CASE STUDY ",
1099
+ "text_level": 1,
1100
+ "bbox": [
1101
+ 176,
1102
+ 176,
1103
+ 478,
1104
+ 190
1105
+ ],
1106
+ "page_idx": 8
1107
+ },
1108
+ {
1109
+ "type": "text",
1110
+ "text": "Tab. 4 shows qualitative results that compare our GP-GNN model and the baseline models. The results show that GP-GNN has the ability to infer the relationship between two entities with reasoning. In the first case, GP-GNN implicitly learns a logic rule $\\exists y , x \\xrightarrow { \\sim \\mathrm { c a s t - m e m b e r } } y$ original language z $x \\xrightarrow { \\xrightarrow { \\cdots } \\infty ^ { \\infty } \\cdots } z$ language spoken to derive (Oozham, language spoken, Malayalam) and in the second case our model implicitly learns another logic rule $\\exists y , x \\xrightarrow { \\mathrm { { o w n e d } \\cdot b y } } y \\xrightarrow { \\mathrm { { l o c a t e d i n } } } z \\Rightarrow x \\xrightarrow { \\mathrm { { l o c a t e d i n } } } z$ to find the fact (BankUnited Center, located in, English). Note that (BankUnited Center, located in, English) is even not in Wikidata, but our model could identify this fact through reasoning. We also find that Context-Aware RE tends to predict relations with similar topics. For example, in the third case, share boarder with and located in are both relations about territory issues. Consequently, Context-Aware RE makes a mistake by predicting (Kentucky, share boarder with, Ohio). As we have discussed before, this is due to its mechanism to model co-occurrence of multiple relations. However, in our model, since Ohio and Johnson County have no relationship, this wrong relation is not predicted. ",
1111
+ "bbox": [
1112
+ 173,
1113
+ 202,
1114
+ 825,
1115
+ 398
1116
+ ],
1117
+ "page_idx": 8
1118
+ },
1119
+ {
1120
+ "type": "text",
1121
+ "text": "6 CONCLUSION AND FUTURE WORK ",
1122
+ "text_level": 1,
1123
+ "bbox": [
1124
+ 174,
1125
+ 417,
1126
+ 495,
1127
+ 434
1128
+ ],
1129
+ "page_idx": 8
1130
+ },
1131
+ {
1132
+ "type": "text",
1133
+ "text": "We addressed the problem of utilizing GNNs to perform relational reasoning with natural languages. Our proposed models, GP-GNNs, solves the relational message-passing task by encoding natural language as parameters and performing propagation from layer to layer. Our model can also be considered as a more generic framework for graph generation problem with unstructured input other than text, e.g. images, videos, audios. In this work, we demonstrate its effectiveness in predicting the relationship between entities in natural language and bag-level and show that by considering more hops in reasoning the performance of relation extraction could be significantly improved. ",
1134
+ "bbox": [
1135
+ 174,
1136
+ 449,
1137
+ 825,
1138
+ 546
1139
+ ],
1140
+ "page_idx": 8
1141
+ },
1142
+ {
1143
+ "type": "text",
1144
+ "text": "REFERENCES ",
1145
+ "text_level": 1,
1146
+ "bbox": [
1147
+ 174,
1148
+ 568,
1149
+ 285,
1150
+ 582
1151
+ ],
1152
+ "page_idx": 8
1153
+ },
1154
+ {
1155
+ "type": "text",
1156
+ "text": "Luis B Almeida. A learning rule for asynchronous perceptrons with feedback in a combinatorial environment. In Proceedings, 1st First International Conference on Neural Networks, pp. 609– 618. IEEE, 1987. \nFenia Christopoulou, Makoto Miwa, and Sophia Ananiadou. A walk-based model on entity graphs for relation extraction. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), volume 2, pp. 81–88, 2018. \nNicola De Cao, Wilker Aziz, and Ivan Titov. Question answering by reasoning across documents with graph convolutional networks. arXiv preprint arXiv:1808.09920, 2018. \nBhuwan Dhingra, Zhilin Yang, William W Cohen, and Ruslan Salakhutdinov. Linguistic knowledge as memory for recurrent neural networks. arXiv preprint arXiv:1703.02620, 2017. \nJVictor Garcia and Joan Bruna. Few-shot learning with graph neural networks. In Proceedings of ICLR, 2018. \nJustin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. In Proceedings of ICML, 2017. \nSepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, pp. 1735–1780, 1997. \nDaniel D Johnson. Learning graphical state transitions. In Proceedings of ICLR, 2017. \nThomas Kipf, Ethan Fetaya, Kuan-Chieh Wang, Max Welling, and Richard Zemel. Neural relational inference for interacting systems. In ICML, 2018. ",
1157
+ "bbox": [
1158
+ 171,
1159
+ 589,
1160
+ 826,
1161
+ 925
1162
+ ],
1163
+ "page_idx": 8
1164
+ },
1165
+ {
1166
+ "type": "text",
1167
+ "text": "Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. Proceedings of ICLR, 2016. ",
1168
+ "bbox": [
1169
+ 171,
1170
+ 103,
1171
+ 823,
1172
+ 133
1173
+ ],
1174
+ "page_idx": 9
1175
+ },
1176
+ {
1177
+ "type": "text",
1178
+ "text": "Phong Le and Ivan Titov. Improving entity linking by modeling latent relations between mentions, 2018. ",
1179
+ "bbox": [
1180
+ 173,
1181
+ 141,
1182
+ 823,
1183
+ 171
1184
+ ],
1185
+ "page_idx": 9
1186
+ },
1187
+ {
1188
+ "type": "text",
1189
+ "text": "Yujia Li, Daniel Tarlow, Marc Brockschmidt, and Richard Zemel. Gated graph sequence neural networks. Proceedings of ICLR, 2016. ",
1190
+ "bbox": [
1191
+ 173,
1192
+ 179,
1193
+ 823,
1194
+ 208
1195
+ ],
1196
+ "page_idx": 9
1197
+ },
1198
+ {
1199
+ "type": "text",
1200
+ "text": "Yankai Lin, Shiqi Shen, Zhiyuan Liu, Huanbo Luan, and Maosong Sun. Neural relation extraction with selective attention over instances. In Proceedings of ACL, pp. 2124–2133, 2016. ",
1201
+ "bbox": [
1202
+ 173,
1203
+ 217,
1204
+ 823,
1205
+ 247
1206
+ ],
1207
+ "page_idx": 9
1208
+ },
1209
+ {
1210
+ "type": "text",
1211
+ "text": "Diego Marcheggiani and Ivan Titov. Encoding sentences with graph convolutional networks for semantic role labeling. In Proceedings EMNLP, 2017. ",
1212
+ "bbox": [
1213
+ 173,
1214
+ 255,
1215
+ 825,
1216
+ 285
1217
+ ],
1218
+ "page_idx": 9
1219
+ },
1220
+ {
1221
+ "type": "text",
1222
+ "text": "Makoto Miwa and Mohit Bansal. End-to-end relation extraction using lstms on sequences and tree structures. In Proceedings of ACL, pp. 1105–1116, 2016. ",
1223
+ "bbox": [
1224
+ 173,
1225
+ 292,
1226
+ 821,
1227
+ 324
1228
+ ],
1229
+ "page_idx": 9
1230
+ },
1231
+ {
1232
+ "type": "text",
1233
+ "text": "Thien Huu Nguyen and Ralph Grishman. Relation extraction: Perspective from convolutional neural networks. In Proceedings of the 1st Workshop on Vector Space Modeling for Natural Language Processing, pp. 39–48, 2015. ",
1234
+ "bbox": [
1235
+ 174,
1236
+ 330,
1237
+ 823,
1238
+ 375
1239
+ ],
1240
+ "page_idx": 9
1241
+ },
1242
+ {
1243
+ "type": "text",
1244
+ "text": "Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. 2017. ",
1245
+ "bbox": [
1246
+ 173,
1247
+ 382,
1248
+ 825,
1249
+ 426
1250
+ ],
1251
+ "page_idx": 9
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "text": "Nanyun Peng, Hoifung Poon, Chris Quirk, Kristina Toutanova, and Wen-tau Yih. Cross-sentence n-ary relation extraction with graph lstms. TACL, pp. 101–115, 2017. ",
1256
+ "bbox": [
1257
+ 173,
1258
+ 434,
1259
+ 825,
1260
+ 465
1261
+ ],
1262
+ "page_idx": 9
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "Jeffrey Pennington, Richard Socher, and Christopher Manning. Glove: Global vectors for word representation. In Proceedings of EMNLP, pp. 1532–1543, 2014. ",
1267
+ "bbox": [
1268
+ 171,
1269
+ 473,
1270
+ 823,
1271
+ 502
1272
+ ],
1273
+ "page_idx": 9
1274
+ },
1275
+ {
1276
+ "type": "text",
1277
+ "text": "Adam Santoro, David Raposo, David G Barrett, Mateusz Malinowski, Razvan Pascanu, Peter Battaglia, and Tim Lillicrap. A simple neural network module for relational reasoning. In NIPS, pp. 4967–4976, 2017. ",
1278
+ "bbox": [
1279
+ 173,
1280
+ 511,
1281
+ 823,
1282
+ 554
1283
+ ],
1284
+ "page_idx": 9
1285
+ },
1286
+ {
1287
+ "type": "text",
1288
+ "text": "Franco Scarselli, Marco Gori, Ah Chung Tsoi, Markus Hagenbuchner, and Gabriele Monfardini. The graph neural network model. IEEE Transactions on Neural Networks, pp. 61–80, 2009. ",
1289
+ "bbox": [
1290
+ 171,
1291
+ 563,
1292
+ 823,
1293
+ 593
1294
+ ],
1295
+ "page_idx": 9
1296
+ },
1297
+ {
1298
+ "type": "text",
1299
+ "text": "Michael Schlichtkrull, Thomas N Kipf, Peter Bloem, Rianne van den Berg, Ivan Titov, and Max Welling. Modeling relational data with graph convolutional networks. arXiv preprint arXiv:1703.06103, 2017. ",
1300
+ "bbox": [
1301
+ 173,
1302
+ 601,
1303
+ 821,
1304
+ 643
1305
+ ],
1306
+ "page_idx": 9
1307
+ },
1308
+ {
1309
+ "type": "text",
1310
+ "text": "Mike Schuster and Kuldip K Paliwal. Bidirectional recurrent neural networks. IEEE Transactions on Signal Processing, pp. 2673–2681, 1997. ",
1311
+ "bbox": [
1312
+ 169,
1313
+ 652,
1314
+ 825,
1315
+ 683
1316
+ ],
1317
+ "page_idx": 9
1318
+ },
1319
+ {
1320
+ "type": "text",
1321
+ "text": "Daniil Sorokin and Iryna Gurevych. Context-aware representations for knowledge base relation extraction. In Proceedings of EMNLP, pp. 1784–1789, 2017. ",
1322
+ "bbox": [
1323
+ 169,
1324
+ 690,
1325
+ 823,
1326
+ 720
1327
+ ],
1328
+ "page_idx": 9
1329
+ },
1330
+ {
1331
+ "type": "text",
1332
+ "text": "Denny Vrandeciˇ c and Markus Kr ´ otzsch. Wikidata: a free collaborative knowledgebase. ¨ Communications of the ACM, 2014. ",
1333
+ "bbox": [
1334
+ 171,
1335
+ 728,
1336
+ 823,
1337
+ 758
1338
+ ],
1339
+ "page_idx": 9
1340
+ },
1341
+ {
1342
+ "type": "text",
1343
+ "text": "Danfei Xu, Yuke Zhu, Christopher B Choy, and Li Fei-Fei. Scene graph generation by iterative message passing. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, volume 2, 2017. ",
1344
+ "bbox": [
1345
+ 173,
1346
+ 767,
1347
+ 825,
1348
+ 810
1349
+ ],
1350
+ "page_idx": 9
1351
+ },
1352
+ {
1353
+ "type": "text",
1354
+ "text": "Daojian Zeng, Kang Liu, Siwei Lai, Guangyou Zhou, and Jun Zhao. Relation classification via convolutional deep neural network. In Proceedings of COLING, pp. 2335–2344, 2014. ",
1355
+ "bbox": [
1356
+ 173,
1357
+ 819,
1358
+ 823,
1359
+ 848
1360
+ ],
1361
+ "page_idx": 9
1362
+ },
1363
+ {
1364
+ "type": "text",
1365
+ "text": "Daojian Zeng, Kang Liu, Yubo Chen, and Jun Zhao. Distant supervision for relation extraction via piecewise convolutional neural networks. In Proceedings of EMNLP, pp. 1753–1762, 2015. ",
1366
+ "bbox": [
1367
+ 174,
1368
+ 857,
1369
+ 821,
1370
+ 887
1371
+ ],
1372
+ "page_idx": 9
1373
+ },
1374
+ {
1375
+ "type": "text",
1376
+ "text": "Wenyuan Zeng, Yankai Lin, Zhiyuan Liu, and Maosong Sun. Incorporating relation paths in neural relation extraction. In Proceedings of EMNLP, 2017. ",
1377
+ "bbox": [
1378
+ 174,
1379
+ 895,
1380
+ 821,
1381
+ 924
1382
+ ],
1383
+ "page_idx": 9
1384
+ },
1385
+ {
1386
+ "type": "text",
1387
+ "text": "Dongxu Zhang and Dong Wang. Relation classification via recurrent neural network. arXiv preprint arXiv:1508.01006, 2015. ",
1388
+ "bbox": [
1389
+ 173,
1390
+ 103,
1391
+ 823,
1392
+ 132
1393
+ ],
1394
+ "page_idx": 10
1395
+ },
1396
+ {
1397
+ "type": "text",
1398
+ "text": "Yuhao Zhang, Peng Qi, and Christopher D. Manning. Graph convolution over pruned dependency trees improves relation extraction. In Empirical Methods in Natural Language Processing (EMNLP), 2018. URL https://nlp.stanford.edu/pubs/zhang2018graph.pdf. ",
1399
+ "bbox": [
1400
+ 178,
1401
+ 141,
1402
+ 821,
1403
+ 184
1404
+ ],
1405
+ "page_idx": 10
1406
+ }
1407
+ ]
parse/train/SkgzYiRqtX/SkgzYiRqtX_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/SkgzYiRqtX/SkgzYiRqtX_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/bMLeGGwptZk/bMLeGGwptZk.md ADDED
@@ -0,0 +1,497 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # The Role of Adaptive Optimizers for Honest Private Hyperparameter Selection
2
+
3
+ Anonymous Author(s)
4
+ Affiliation
5
+ Address
6
+ email
7
+
8
+ # Abstract
9
+
10
+ Hyperparameter optimization is a ubiquitous challenge in machine learning, and the performance of a trained model depends crucially upon their effective selection. While a rich set of tools exist for this purpose, there are currently no practical hyperparameter selection methods under the constraint of differential privacy (DP). We study honest hyperparameter selection for differentially private machine learning, in which the process of hyperparameter tuning is accounted for in the overall privacy budget. To this end, we i) show that standard composition tools outperform more advanced techniques in many settings, ii) empirically and theoretically demonstrate an intrinsic connection between the learning rate and clipping norm hyperparameters, iii) show that adaptive optimizers like DPAdam enjoy a significant advantage in the process of honest hyperparameter tuning, and iv) draw upon novel limiting behaviour of Adam in the DP setting to design a new and more efficient optimizer.
11
+
12
+ # 14 1 Introduction
13
+
14
+ 15 Over the last several decades, the field of machine learning has flourished. However, training machine
15
+ 16 learning models frequently involves personal data, which leaves data contributors susceptible to
16
+ 17 privacy attacks. This isn’t purely hypothetical: recent results have shown that models are vulnerable
17
+ 18 to membership inference [SSSS17, $\mathrm { \bar { C } L E ^ { + } } 1 9$ , NSH19] and model inversion attacks [FJR15, SRS17].
18
+ 19 The leading approaches for privacy-preserving machine learning are based on differential privacy
19
+ 20 (DP) [DMNS06]. Informally, DP rigorously limits and masks the contribution that an individual
20
+ 21 datapoint can have on an algorithm’s output. To address the aforementioned issues, DP training
21
+ 22 procedures have been developed [WM10, BST14, SCS13, $\mathrm { A C G ^ { + } } 1 6 ]$ , which generally resemble non
22
+ 23 private gradient-based methods, but with the incorporation of gradient clipping and noise injection.
23
+ 24 In both the private and non-private settings, hyperparameter selection is instrumental to achieving
24
+ 25 high accuracy. The most common methods are grid search or random search, both of which incur
25
+ 26 a computational overhead scaling with the number of hyperparameters under consideration. In
26
+ 27 the private setting, this issue is often magnified as most private training procedures introduce new
27
+ 28 hyperparameters. Regardless, and more importantly, hyperparameter tuning on a sensitive dataset
28
+ 29 also costs in terms of privacy, naively incurring a multiplicative cost which scales as the square root
29
+ 30 of the number of candidates (based on composition properties of differential privacy [KOV15]).
30
+ 31 Most prior works on private learning choose not to account for this cost $[ \mathrm { A C G ^ { + } } 1 6$ , $\mathrm { Y L P ^ { + } 1 9 }$ , TB21],
31
+ 32 focusing instead on demonstrating the accuracy achievable by private learning under idealized condi
32
+ 33 tions, that is, if the best hyperparameters were somehow known ahead of time. Some works assume
33
+ 34 the presence of supplementary public data resembling the sensitive dataset $[ \mathrm { A G D } ^ { + } 2 0$ , $\mathrm { R T M } ^ { + } 2 0 ]$ ,
34
+ 35 which may be freely used for hyperparameter tuning. Naturally, such public data may be scarce or
35
+ 36 nonexistent in settings where privacy is a concern, leaving practitioners with little guidance on how
36
+ 37 to choose hyperparameters in practice. As explored in our paper, poor hyperparameter selection with
37
+ 38 standard private optimizers can have catastrophic effects on model accuracy.
38
+ 39 Hope is afforded by the success of adaptive optimizers in the non-private setting. The canonical
39
+ 40 example is Adam [KB14], which exploits moments of the gradients to adaptively and dynamically
40
+ 41 determine the learning rate. It works out of the box in many cases, providing accuracy comparable
41
+ 42 with tuned SGD. We navigate the different options available to a practitioner to solve the honest
42
+ 43 private hyperparameter tuning problem and ask, are there optimizers which provide strong privacy,
43
+ 44 require minimal hyperparameter tuning, and perform competitively with tuned counterparts?
44
+
45
+ # 45 Our Contributions
46
+
47
+ 46 1. We investigate techniques for private tuning of hyperparameters. We perform the first empirical
48
+ 47 evaluation of the proposed theoretical method of Liu and Talwar [LT19], and demonstrate that it can
49
+ 48 be relatively expensive. That is, in certain cases, one can tune over sufficiently many hyperparameters
50
+ 49 using standard composition tools such as moments accountant $[ \mathrm { A C G ^ { + } } 1 6 ]$ .
51
+ 50 2. We empirically and theoretically demonstrate that two hyperparameters, the learning rate and
52
+ 51 clipping threshold, are intrinsically coupled for non-adaptive optimizers. While other hyperparameters
53
+ 52 and the model architecture are restricted by the scope of the task, privacy and utility targets, and
54
+ 53 computational resources, the learning rate and clipping norm have no a priori bounds. Since the
55
+ 54 resulting hyperparameter grid adds up to the privacy cost while tuning to achieve the model with the
56
+ 55 best utility, we explore leveraging adaptive optimizers to reduce the hyperparameter space.
57
+ 56 3. We empirically demonstrate the DPAdam optimizer (with default values for most hyperparameters),
58
+ 57 can match the performance of tuned non-adaptive optimizers on a variety of datasets, thus enabling
59
+ 58 private learning with honest hyperparameter selection. This finding complements a prior claim
60
+ 59 of Papernot et al. $[ \mathrm { P C S ^ { + } } 2 0 ]$ , which suggests that a well-tuned DPSGD can outperform DPAdam.
61
+ 60 However, our findings show that this difference in performance is relatively insignificant. Furthermore,
62
+ 61 in the realistic setting where hyperparameter tuning must be accounted for in the privacy loss, we
63
+ 62 show that DPAdam is much more likely to produce non-catastrophic results.
64
+ 63 4. We show that the adaptive learning rate of DPAdam converges to a static value. To leverage this,
65
+ 64 we introduce a new private optimizer, DPAdamWOSM that matches the performance of DPAdam
66
+ 65 without computing the second moments.
67
+
68
+ # 66 1.1 Related Work
69
+
70
+ 67 Hyperparameter tuning plays a vital role in machine learning practice. In the non-private setting,
71
+ 68 ML practitioners use grid search, random search, Bayesian optimization techniques [SSA13] or
72
+ 69 AutoML [HZC21] techniques to tune their models. However, there hasn’t been much research
73
+ 70 on private hyperparameter tuning procedures due to the significant associated privacy costs. Each
74
+ 71 set of hyperparameter configuration results in a privacy-utility tradeoff. This tradeoff for multiple
75
+ 72 configurations can be captured by Pareto frontiers using multivariate Bayesian optimization over
76
+ 73 parameter dimensions $[ \bar { \mathbf { A } } \mathbf { G } \mathbf { D } ^ { + } 2 0 ]$ . However, this method asks the model curator to query the
77
+ 74 dataset multiple times which requires non-private access to the dataset. There have been some
78
+ 75 end-to-end private tuning procedures [CMS11, CV13, KGGW15] which work for a selected number
79
+ 76 of hyperparameter sets. These results work either in restricted settings for few combinations of
80
+ 77 candidates or under relaxations of differential privacy. The most relevant work to ours is an approach
81
+ 78 for private selection from private candidates [LT19]. Their work provides two methods, one which
82
+ 79 outputs a candidate with accuracy greater than a given input threshold, and another which randomly
83
+ 80 stops and outputs the best candidate seen so far. The first approach is of limited utility in practice as
84
+ 81 it requires a prior accuracy bound for the dataset. The second variant incurs a considerable overhead
85
+ 82 in the privacy cost. We study this second approach and compare it with naive approaches based on
86
+ 83 Moments Accountant $[ \mathsf { A C G } ^ { + } 1 6 ]$ which would scale as the square root of the number of candidates.
87
+
88
+ # 84 2 Problem Setup and Overview
89
+
90
+ 85 Consider a sensitive dataset $D$ which lies beyond a privacy firewall and has $n$ points of the form
91
+ 86 $( x _ { 1 } , y _ { 1 } ) , ( x _ { 2 } , y _ { 2 } ) , \ldots , ( x _ { n } , y _ { n } )$ where $x _ { i } \in \mathcal X$ is the feature vector of the ith point and $y _ { i } \in \mathcal { V }$ is its
92
+ 87 desired output. Though our experiments are carried out in the supervised setting, all results can be
93
+ 88 translated to unsupervised setting as well. The dataset has been divided into two parts, the training set
94
+ 89 and the validation set. A trusted curator wants to train a machine learning model by making queries
95
+ 90 on the dataset with a total end-to-end training privacy budget of $( \varepsilon _ { f } , \delta _ { f } )$ such that the model can
96
+ 91 perform with high accuracy on the validation set. The curator wants to try multiple hyperparameter
97
+ 92 candidates for the model to figure out which candidate gives the maximum accuracy. However, as the
98
+ 93 model is private, each candidate requires multiple queries made on the dataset and all of them need to
99
+ 94 be accounted in the total privacy budget of $( \varepsilon _ { f } , \delta _ { f } )$ .
100
+ 95 Note that any validation accuracy must also be measured privately. Since this accuracy is a low
101
+ 96 sensitivity query with a scalar output, and must only be computed once per choice of hyperparameters,
102
+ 97 the cost of this procedure is generally a lower order term versus the main training procedure. Thus for
103
+ 98 simplicity, we do not noise these validation accuracy queries. As we will see later, some optimizers
104
+ 99 require more candidates to tune and hence would also require more privacy budget than others.
105
+ 100 To tackle private hyperparameter selection, we first compare the available private tuning procedures
106
+ 101 in Section 3. We show that the privacy cost for training a model depends on the hyperparameter
107
+ 102 grid size and standard composition theorems provide the best guarantees when the grid is small. In
108
+ 103 Section 4, we investigate different optimizers to see how many candidates are required to output
109
+ 104 a good solution. In Section 4.1 we provide theoretical and empirical evidence to demonstrate an
110
+ 105 intrinsic coupling between two hyperparameters – the learning rate and clipping norm in DPSGD.
111
+ 106 We show that this coupling makes DPSGD sensitive to these parameter choices, which can drastically
112
+ 107 affect the validation accuracy. In Section 4.2 we demonstrate that an adaptive optimizer, DPAdam,
113
+ 108 translates well from the non-private setting and obviates tuning of the learning rate. In Section 5, we
114
+ 109 empirically compare DPAdam with DPSGD and DPMomentum to show that DPAdam performs at par
115
+ 110 with less hyperparameter tuning. Finally, in Section 6, we establish that DPAdam converges to a static
116
+ 111 learning rate in restricted settings, and unveil a new optimizer DPAdamWOSM which can leverage
117
+ 112 this converged value without computing the second moments. In the interest of space, we defer
118
+ 113 standard preliminaries such as DP definitions, hyperparameters, and optimizers to the appendix.
119
+
120
+ # 114 3 The Cost of Privately Tuning DP Optimizers
121
+
122
+ 115 Effective hyperparameter tuning is crucial in extracting good utility from an optimizer. Unlike
123
+ 116 the non-private setting, DP optimizers typically i) have more hyperparameters to tune; ii) require
124
+ 117 additional privacy budget for tuning. Existing work on DP optimizers acknowledge this problem (e.g.,
125
+ 118 $\mathrm { [ A C G ^ { + } 1 6 \bar ] } ,$ ), but do not address the privacy cost incurred during hyperparameter tuning $[ \mathrm { A C G ^ { + } } 1 6$ ,
126
+ 119 $\mathrm { Y L P ^ { + } } 1 9$ , TB21]. There are two main prior general-purpose approaches for private hyperparameter
127
+ 120 selection. The first performs composition via Moments Accountant $[ \mathrm { A C G ^ { + } } 1 6 ]$ , and the second is
128
+ 121 the algorithm of Liu and Talwar (LT) [LT19]. The latter is a theoretical result, and to the best of our
129
+ 122 knowledge, has not been previously evaluated in practice. We investigate the privacy cost of these
130
+ 123 two techniques in practice and discuss situations in which each method is preferred.
131
+
132
+ # 124 3.1 Hyperparameter Selection via [LT19]
133
+
134
+ 125 Liu and Talwar [LT19] propose a random stopping algorithm (LT) to output a ‘good’ hyperparameter
135
+ 126 candidate from a pool of $K$ candidates, $\{ x _ { 1 } , \ldots , x _ { K } \}$ . They assume sampling access to a randomized
136
+ 127 mechanism $Q ( D )$ which samples $i \sim [ K ]$ , and returns the $i$ -th candidate $x _ { i }$ , and a score $q _ { i }$ for this
137
+ 128 candidate. It is a random stopping algorithm, in which at every iteration, a candidate is picked from
138
+ 129 $Q$ i.i.d. with replacement and a $\gamma$ -biased coin is flipped to randomly stop the algorithm. When the
139
+ 130 algorithm stops, the candidate with the maximum score seen so far is outputted. In the approximate
140
+ 131 DP version of this algorithm, an extra parameter $\Upsilon$ is set to limit the total of number of iterations.
141
+ 132 The pseudocode of this algorithm is deferred to the appendix.
142
+
143
+ Theorem 1 ([LT19], Theorem 3.4). Fix any 133 $\gamma \in [ 0 , 1 ]$ , $\delta _ { 2 } > 0$ and let $\begin{array} { r } { \Upsilon = \frac { 1 } { \gamma } \log \frac { 1 } { \delta _ { 2 } } } \end{array}$ . If $Q$ is 134 $( \varepsilon _ { 1 } , \delta _ { 1 } )$ -DP, then the LT algorithm is $( \varepsilon _ { f } , \delta _ { f } )$ -DP for $\varepsilon _ { f } = 3 \varepsilon _ { 1 } + 3 \sqrt { 2 \delta _ { 1 } }$ and $\delta _ { f } = \sqrt { 2 \delta _ { 1 } } \Upsilon + \delta _ { 2 }$ .
144
+
145
+ 135 Theorem 1 expresses the privacy cost of the algorithm in terms of the privacy cost of individual
146
+ 136 learners, and parameters of the algorithm itself. The $\delta _ { 2 }$ parameter does not significantly affect the
147
+ 137 final epsilon $\varepsilon _ { f }$ of the algorithm and in practice, one can set it to a very small value $( 1 0 ^ { - 2 0 } )$ . Though
148
+ 138 a small value of $\delta _ { 2 }$ has little effect on $\delta _ { f }$ , it increases the hard stopping time of the algorithm, $\Upsilon$ .
149
+ 139 To understand the LT algorithm, we will compare the privacy costs of training a single hyperparameter
150
+ 140 candidate with a final $\varepsilon _ { f } , \delta _ { f }$ budget via LT and compare it with the privacy cost $\varepsilon _ { 1 } , \delta _ { 1 }$ of the underlying
151
+ 141 individual learner. This setting might seem unnatural for LT as it was designed to select from a pool
152
+ 142 of candidates but we choose this setting to show the minimum privacy cost overhead associated with
153
+ 143 LT and later show how the privacy cost changes for multiple candidates (varying $\gamma$ ). To use LT, one
154
+ 144 needs to figure out the $\varepsilon _ { 1 } , \delta _ { 1 }$ via Theorem 1 using the final $\varepsilon _ { f } , \delta _ { f }$ values and in this case, $\gamma = 1$ (as
155
+ 145 we have just one candidate). The individual learner is then trained using $\varepsilon _ { 1 } , \delta _ { 1 }$ budget.
156
+ 146 Due to the delicate balance of $\delta _ { f }$ in Theorem 1, one can see the $\delta _ { 1 }$ comes out to be much smaller than
157
+ 147 $\delta _ { f }$ . This change in $\delta _ { 1 }$ results in a blowup of $\varepsilon _ { 1 }$ and hence, the final privacy cost of the LT algorithm
158
+ 148 $( \dot { 3 } \varepsilon _ { 1 } + 3 \sqrt { 2 \delta _ { 1 } } )$ , is much larger than what it would have been for learning one candidate without LT.
159
+ 149 We call this increase the blowup of privacy. We measure this blowup in Figure 1(left), for the setting
160
+ 150 of $\sigma = 4$ , $L = 2 5 0$ , $T = 1 0 , 0 0 0$ with varying dataset sizes $( n )$ . It can be seen that for $n = 5 , 0 0 0$ ,
161
+ 151 the blowup is $4 . 8 \mathrm { x }$ whereas for for $n = 9 5 0 , 0 0 0$ , the blowup is almost $7 . 3 \mathrm { x }$ (note the log scale on
162
+ 152 y-axis). Qualitatively similar trends persist for other choices of noise multiplier, lot size and iterations.
163
+ 153 We add more experiments to compare LT vs MA with varying candidate sizes in the appendix.
164
+ 154 Furthermore, we show that although LT entails a privacy blowup, decreasing $\gamma$ , which corresponds
165
+ 155 to training more individual learners with $\varepsilon _ { 1 } , \delta _ { 1 }$ , doesn’t result in a significant difference in the final
166
+ 156 epsilon guaranteed by LT. In Figure 1(middle), we show the final epsilon cost for different dataset
167
+ 157 size and varying values of $\gamma \in [ 0 . 0 0 1 , 0 . 0 1 , 0 . 1 , 1 ]$ . It is interesting to note here that with smaller
168
+ 158 $\gamma$ values, one can train many candidates (in expectation, $\textstyle { \frac { 1 } { \gamma } } .$ ) for negligible additional privacy cost.
169
+ 159 The blowup to train 1 candidate $( \gamma = 1 )$ ) versus $1 , 0 0 0$ candidates $\gamma = 0 . 0 0 1 )$ increases from 33
170
+ 160 to 39 for $n = 5 , 0 0 0$ and increases from 0.49 to 0.69, for $n = 9 5 0 , 0 0 0$ . This increase is minimal√
171
+ 161 in comparison to advanced composition, which grows proportional to $\mathcal { O } ( \sqrt { k } )$ . However, another
172
+ 162 resource at play is the total training time, which is proportional to $1 / \gamma$ (i.e., the total number of
173
+ 163 candidates). In summary, the LT algorithm is effective if an analyst has the privacy budget to afford
174
+ 164 the initial blowup, as the privacy cost of testing additional hyperparameters is insignificant.
175
+
176
+ ![](images/fdcf93c0067febffde4404d041f4e336e7098670fb31e1690a597572ef7e263c.jpg)
177
+ Figure 1: Comparing the privacy cost of LT versus Moments Accountant. The minimal privacy overhead incurred by LT is at least ${ \sim } 5 \mathrm { x }$ , and increases with the dataset size (left). However, as we allow LT to sample and test more candidate hyperparameters, the privacy cost barely increases (middle). Moments Accountant is able to test a significant number of candidates at the same cost as the minimal privacy overhead of LT (right).
178
+
179
+ # 165 3.2 Hyperparameter Selection via Moments Accountant
180
+
181
+ 166 We learnt from the previous section that, LT permits selection from a large pool of hyperparameters
182
+ 167 (depending on the $\gamma$ value) but incurs a constant privacy blowup. We compare LT with tuning
183
+ 168 using Moments Accountant (MA). We notice using that with the same initial privacy blowup of
184
+ 169 the LT algorithm, MA is able to compose a considerable number of hyperparameter candidates. In
185
+ 170 Figure 1(right), we show the number of candidates that can be composed using MA for the minimum
186
+ 171 privacy cost for running the LT algorithm $( \gamma = 1 )$ ), for the setting of $\sigma = 4$ , $L = 2 5 0$ , $T = 1 0$ , 000
187
+ 172 and varying dataset size $( n )$ on the $\mathbf { X }$ -axis. As the $T$ and $L$ is set constant, bigger $n$ values in this
188
+ 173 graph correspond to fewer epochs of training and hence, worse utility. Depending on dataset size,
189
+ 174 MA can compose 14 candidates for $n = 5 0 0 0$ and up to 175 candidates when $n = 1 0 0 0 0 0$ . It is
190
+ 175 perhaps surprising how well a standard composition technique performs versus LT. This information
191
+ 176 can be highly valuable to a practitioner who has limited privacy budget. Qualitatively similar trends
192
+ 177 persist for other choices of batch size, noise multiplier, and iterations.
193
+ 178 From our experiments for both these tuning procedures, we conclude that while tuning with LT entails
194
+ 179 an initial privacy blowup, and the additional privacy cost for trying more candidates (smaller $\gamma$ ) is
195
+ 180 minimal. Even though this has an additional computation cost, it can be appealing when an analyst
196
+ 181 wants to try numerous hyperparameters. On the other hand, for the same overall privacy cost, MA
197
+ 182 can be used to compose a significant number of hyperparameter candidates. Additionally, MA allows
198
+ 183 access to all intermediate learners, whereas LT allows access to only the final output parameters. In
199
+ 184 the sequel, this conclusion will be useful in making the naive MA approach a more appealing tool for
200
+ 185 some settings (e.g., tighter privacy budgets).
201
+
202
+ # 186 4 Tuning DP Optimizers
203
+
204
+ 187 We detail aspects of tuning both non-adaptive and adaptive optimizers. We start with tuning non
205
+ 188 adaptive optimizers (Section 4.1). We theoretically and empirically demonstrate a connection between
206
+ 189 the learning rate and clipping threshold. We also establish that non-adaptive optimizers inevitably
207
+ 190 require searching over a large LR-clip grid to extract performant models. Adaptive optimizers forego
208
+ 191 this problem as they do not need to tune the hyperparameter dimension of learning rate. However,
209
+ 192 they introduce other hyperparameters that have known good choices in the non-private setting, and
210
+ 193 we empirically show that they are good candidates in the private setting (Section 4.2).
211
+
212
+ # 194 4.1 Tuning DP non-adaptive optimizers
213
+
214
+ While many hyperparameters are restricted due to computational and privacy/utility targets, the learning rate $\alpha$ and the clipping threshold $C$ have no a priori bounds. In what follows, we show an interplay between these parameters by first theoretically analyzing the convergence of DPSGD. We then explore an illustrative experiment which demonstrates their entanglement. In the following theorem, we derive a bound on the expected excess risk of DPSGD and while doing so, show that the optimal learning rate, $\alpha _ { o p t }$ , is proportional to the inverse of $C$ . The proof appears in Appendix D.
215
+
216
+ Theorem 2. Let $f$ be a convex and $\beta$ -smooth function, and let $x ^ { * } = \arg \operatorname* { m i n } _ { x \in S } f ( x )$ . Let $x _ { 0 }$ be an arbitrary point in $s$ , and $x _ { t + 1 } = \Pi _ { S } ( x _ { t } - \alpha ( g _ { t } + z _ { t } ) )$ , where $\begin{array} { r } { g _ { t } = \operatorname* { m i n } ( 1 , \frac { C } { \| \nabla f ( x ) \| ^ { 2 } } ) \nabla f ( x ) } \end{array}$ and $z _ { t } \sim \mathcal { N } ( 0 , \sigma ^ { 2 } C ^ { 2 } )$ is the noise due to privacy. After $T$ iterations, the optimal learning rate is $\begin{array} { r } { \alpha _ { o p t } = \frac { R } { C T \sqrt { 1 + \sigma ^ { 2 } } } } \end{array}$ , where $\begin{array} { r } { \mathbb { E } [ f ( \frac { 1 } { T } \sum _ { i } ^ { T } x _ { t } ) - f ( x ^ { * } ) ] \leq \frac { R C \sqrt { 1 + \sigma ^ { 2 } } } { \sqrt { T } } } \end{array}$ and $R = \mathbb { E } [ \| x _ { 0 } - x ^ { * } \| ]$ .
217
+
218
+ Though Theorem 2 gives a closed-form expression for the optimum learning rate, it is a function of the parameter $R$ , which is unknown a priori to the analyst. Given constant $T$ and $\sigma$ , the optimal learning rate $\alpha _ { o p t }$ is inversely proportional to the clipping norm $C$ . This is crucial information in practice because these parameters vary among datasets and are unbounded. This unboundedness property thus requires us to search over very large ranges of $C$ and $\alpha$ when we have no prior knowledge of the dataset. It is natural to ask whether one can fix the clipping norm $C$ and search only over a wide range for the learning rate $\alpha$ (or vice versa). We explore this relationship experimentally, showing that fixing one of these two hyperparameters may often but not always result in an optimal model.
219
+
220
+ ![](images/0f218e874ffce118de2302a9b4024f19a6fd8a62fdbc4f10706873ff6e14b9d2.jpg)
221
+ Figure 2: Log of training loss for simulation experiment at $\sigma = 4$ on a synthetic dataset. The black pixels correspond to lowest training loss. Note that most best loss values lie on a diagonal expressing the inverse connection between $\alpha$ and $C$ .
222
+
223
+ 219 In this experiment, we train a linear regression model on a
224
+ 220 10-dimensional synthetic dataset of input-label pairs $( x , y )$
225
+ 221 sampled from a distribution $\mathcal { D }$ as follows: $x _ { 1 } , \ldots , x _ { d } \sim$
226
+ 222 $\mathcal { U } ( 0 , 1 ) , y = x \cdot w ^ { * } , w ^ { * } = 1 0 \cdot \mathbf { 1 } ^ { d }$ . We use the initialization
227
+ 223 $w _ { 0 } = \mathbf { 0 } ^ { d }$ and train for 100 iterations. In the non-private
228
+ 224 setting, this model converges quickly with any reasonable
229
+ 225 learning rate, but in the private setting, we notice that the
230
+
231
+ 6 training loss depends heavily on the choice of $\alpha$ and $C$ . Figure 2 shows a heat map for the log training loss when trained on $( \alpha , C )$ pairs taken from a large grid consisting of [1, 2, 4, 5, 8] at scales of 8 $[ 1 0 ^ { - 4 } , 1 0 ^ { - 3 } , 1 0 ^ { - 2 } , 1 0 ^ { - 1 } , 1 0 ^ { 0 } , 1 0 ^ { \hat { 1 } } ]$ . The best training is observed when the loss is 0 (black pixels).
232
+
233
+ ![](images/70cbc929f5f8ba00ffaeeb33681c766a28a61c55db5750a4f553523f7c03bf6f.jpg)
234
+ Figure 3: Ranking hyperparameter candidates across datasets. The black points correspond to the candidates with $\alpha = 0 . 0 0 1$ (with all permutations of $\beta _ { 1 } , \beta _ { 2 }$ from our searchgrid); the gold corresponds to the candidate with $\alpha = 0 . 0 0 1 , \beta _ { 1 } = 0 . 9 , \beta _ { 2 } = 0 . 9 9 9$
235
+
236
+ 229 We observe two fundamental phenomena from this figure. First, to achieve the best accuracy, $\alpha$ and
237
+ 230 $C$ need to be tuned on a large grid spanning several orders of magnitude for each of these parameters.
238
+ 231 Second, multiple $( \alpha , C )$ pairs achieve the best accuracy and all lie on the same diagonal, validating
239
+ 232 our theory for an inverse relation between learning rate and clipping norm. As mentioned earlier, one
240
+ 233 might hypothesize that by setting the clipping norm $C$ constant and tuning $\alpha$ (corresponding to a
241
+ 234 vertical line in Figure 2) or vice versa, one could eliminate tuning a hyperparameter. However, note
242
+ 235 that not all $C$ and $\alpha$ values correspond to the lowest loss. This phenomenon is evident by noticing
243
+ 236 that not all vertical or horizontal lines on this figure have black pixels. This happens, for example,
244
+ 237 at the extremes (e.g., at the top-right corner), but also for several intermediate and standard choices
245
+ 238 (e.g., $C = 0 . 1$ or 0.2). Again, the analyst has no way of knowing this a priori. We conclude that to
246
+ 239 privately tune non-adaptive optimizers, we require a large grid of hyperparameter options.
247
+
248
+ # 4.2 Tuning DP adaptive optimizers
249
+
250
+ In the interest of reducing this space of tuning we turn to adaptive optimizers, where we can at least reduce one dimension of this search space. These approaches automatically adapt over the learning rate $\alpha$ , requiring us to tune only over the clipping norm $C$ . But recall our key question: can we train models that perform competitively with the fine-tuned counterparts from DPSGD?
251
+
252
+ Adam [KB14], the canonical adaptive optimizer introduces two new hyperparameters, which are the first and second moment exponential decay parameters ( $\beta _ { 1 }$ and $\beta _ { 2 }$ ). In the non-private setting, these parameters are relatively insensitive, and default values of $\alpha = 0 . 0 0 1 , \beta _ { 1 } = 0 . 9$ , and $\beta _ { 2 } = 0 . 9 9 9$ are recommended based on empirical findings, requiring no additional tuning for this hyperparameter triple. Hence before we compare DPAdam and DPSGD, we first find and establish such recommended values for this hyperparameter triple in the DP setting next, and then show that DPAdam with a small hyperparameter space performs competitively with DPSGD in Section 5.
253
+
254
+ 252 To establish default choices of $\alpha$ , $\beta _ { 1 }$ , and $\beta _ { 2 }$ for DPAdam, we evaluate this private optimizer over four
255
+ 253 diverse datasets (details in Appendix B, Table 2) and two learning models including logistic regression
256
+ 254 and a neural network with one 100 neurons hidden layer (TLNN). These selected datasets include
257
+ 255 both low-dimensional data (where the number of samples greatly outnumbers the dimensionality) and
258
+ 256 high-dimensional data (where the number of samples and dimensionality are at same scale). Since
259
+ 257 we still have a large hyperparameter space to tune over, for the rest of this work, we fix a constant lot
260
+ 258 size $L = 2 5 0$ ), and consider tuning over three different noise levels, $\sigma \in [ 2 , 4 , 8 ]$ , so that we can
261
+ 259 study the effects of tuning the other hyperparameters more thoroughly. All experiments are repeated
262
+ 260 three times and averaged before reporting. Additionally, in this particular experiment since we focus
263
+ 261 on $\alpha , \beta _ { 1 }$ , and $\beta _ { 2 }$ , we also fix the clipping threshold $C = 0 . 5$ , and $T = 2 5 0 0$ iterations of training.
264
+ 262 For each dataset and model, we run DPAdam three times with hyperparameters $( \alpha , \beta _ { 1 } , \beta _ { 2 } )$ from the
265
+ 263 grids, $\alpha \in [ 0 . 0 0 1 , 0 . 0 5 , 0 . 0 1 , 0 . 2 , 0 . 5$ ], $\beta _ { 1 } , \beta _ { 2 } \in [ 0 . 8 , 0 . 8 5 , 0 . 9 , 0 . 9 5 , 0 . 9 9 . 0 . 9 9 9 ]$ .
266
+ 264 We show that the default hyperparameter choice $( \alpha , \beta _ { 1 } , \beta _ { 2 } )$ of Adam in the non-private setting also
267
+ 265 works well for DPAdam. Figure 3 shows the boxplots of testing accuracies of DPAdam over the
268
+ 266 different hyperparameter choices. When $\alpha$ is 0.001 (same as in the non-private setting), all the
269
+ 267 datasets and models have final testing accuracies (marked in black) close to the best possible (and
270
+ 268 in most cases it is in fact the best) accuracy. Furthermore, we also highlight the accuracy of the
271
+ 269 suggested default choice $( \alpha = 0 . 0 0 1 , \beta _ { 1 } = 0 . 9 , \beta _ { 2 } = 0 . 9 9 9 )$ using gold dots. Hence, for the ease of
272
+ 270 using DPAdam, we suggest the non-private default values for these parameters in the private setting
273
+ 271 as well and hence in all our subsequent experiments.
274
+
275
+ ![](images/07b3acf8c43c0c543b3db127cea0f262ac95a45815938bafb21b45bbc241b8a1.jpg)
276
+ Figure 4: Comparing the testing accuracy curves of DPAdam, DPSGD and DPMomentum models across their hyperparameter tuning grids with $\sigma = 4$ . The limits for y-axis are adjusted based on the dataset while maintaining a $15 \%$ range for all.
277
+
278
+ # 5 Advantages of tuning using DPAdam
279
+
280
+ In the non-private setting, adaptive optimizers like Adam enjoy a smaller hyperparameter tuning space than SGD. We ask two questions in this section. First, can DPAdam (with little tuning) achieve accuracy comparable to a well-tuned DPSGD? Second, what is the privacy-accuracy tradeoff one incurs when using either of the two methods we detail in Section 3 for hyperparameter selection.
281
+
282
+ To answer both questions, we compare DPAdam and DPSGD over the same set of datasets and models from the previous section. We report the accuracy of DPSGD with a range of learning rates and clipping values shown in Table 3 (Appendix C), and the testing accuracy of DPAdam with default parameter choice from Section 4.2 $\mathbf { \Phi } _ { \mathrm { { ( } } \alpha } = 0 . 0 0 1 $ , $\beta _ { 1 } = 0 . 9$ , $\beta _ { 2 } = 0 . 9 9 9 \rangle$ ) and a range of clipping values $C$ in Table 3. In total, DPSGD has 40 candidates to tune over, and DPAdam has 4. This is because we have shown in Section 4.1 that DPSGD needs a wide grid to obtain the best accuracy when data distributions are unknown. Additionally, we also consider the DPMomentum optimizer. Similar to how we searched for default tuning choices for DPAdam in Section 4.2, we investigate if there exists a qualitatively good choice for the momentum hyperparameter, and unfortunately our results show that there is no such choice. We detail this process in the supplement.
283
+
284
+ In order to show the comparison from both sides of the privacy-accuracy tradeoff, we compare the three optimizers through i) the privacy cost when extracting the best accuracy from these optimizers, and ii) the accuracy one would obtain from them under the tight privacy constraints.
285
+
286
+ # 5.1 Prioritizing Accuracy
287
+
288
+ For brevity, we show experiments for $\sigma = 4$ in Figure 4, results for other values of $\sigma$ are displayed in the supplement. For each dataset and model, we train three times for each hyperparameter candidate and report the max every 100 iterations, corresponding to the dark lines for each optimizer. We note that their maxima are extremely similar. However, Table 1 shows the final privacy costs incurred by each of these max accuracy lines, and reflects our claims from Section 3.1 that using fewer hyperparameter candidates and composing privacy via MA gives a much tighter privacy guarantee.
289
+
290
+ # 5.2 Prioritizing Privacy
291
+
292
+ 298 Additionally in Figure 4, DPSGD and DPMomentum have pastel dotted lines corresponding to their
293
+ 299 mean accuracy attained using the MA composition that provides the tightest privacy guarantees for
294
+ 300 DPAdam. These pastel lines are the mean accuracies (with $9 5 \%$ CI) from 100 repetitions of this
295
+ 301 experiment. Since DPAdam has only 4 hyperparameter candidates, for this experiment, we sample 4
296
+ 302 of the candidates at random for DPSGD and DPMomentum so that they all incur the same privacy
297
+ 303 cost. Since the candidate pool is significantly larger for DPSGD and DPMomentum, we additionally
298
+ 304 scrutinize the parameter grid for them and prune the learning rates that perform poorly. Our pruning
299
+ 305 process (detailed in the supplement) is quite generous, and favours minimizing the hyperparameter
300
+ 306 space of DPSGD and DPMomentum as much possible. 1 Despite the pruning advantage we see that
301
+ 307 these optimizers perform subpar than DPAdam when constrained with tight privacy requirements.
302
+
303
+ Table 1: Final $\varepsilon$ (at $\delta \ : = \ : 1 0 ^ { - 6 }$ ) for optimizers for the LR Models (Figure 4). DPSGD and DPMomentum use LT for privacy accounting; DPAdam uses MA.
304
+
305
+ <table><tr><td rowspan=1 colspan=1>Dataset</td><td rowspan=1 colspan=1>DPSGD (LT)</td><td rowspan=1 colspan=1>DPMomentum (LT)</td><td rowspan=1 colspan=1>DPAdam (MA)</td></tr><tr><td rowspan=1 colspan=1>Adult</td><td rowspan=1 colspan=1>5.01</td><td rowspan=1 colspan=1>5.23</td><td rowspan=1 colspan=1>1.91</td></tr><tr><td rowspan=1 colspan=1>ENRON</td><td rowspan=1 colspan=1>30.86</td><td rowspan=1 colspan=1>32.31</td><td rowspan=1 colspan=1>12.80</td></tr><tr><td rowspan=1 colspan=1>Gisette</td><td rowspan=1 colspan=1>26.40</td><td rowspan=1 colspan=1>27.64</td><td rowspan=1 colspan=1>10.76</td></tr><tr><td rowspan=1 colspan=1>MNIST</td><td rowspan=1 colspan=1>3.01</td><td rowspan=1 colspan=1>3.14</td><td rowspan=1 colspan=1>1.14</td></tr></table>
306
+
307
+ # 308 6 DPAdam without second moment: DPAdamWOSM
308
+
309
+ 309 As illustrated in the previous section, adaptivity can indeed be a boon, enabling DPAdam to match
310
+ 310 the performance of tuned DPSGD while consuming roughly a third of the privacy budget as seen
311
+ 311 in Table 1. However, in addition to a decaying average of the past gradient updates, DPAdam
312
+ 312 also requires maintaining a decaying average of their second moments. In this section, we design
313
+ 313 DPAdamWOSM, a new DP optimizer that operates only using a decaying average of past gradients,
314
+ 314 as well as eliminates the need to tune the learning rate parameter. We achieve this by analyzing the
315
+ 315 convergence behavior of the second-moment decaying average in DPAdam in regimes where the scale
316
+ 316 of noise added is much higher than the scale of the clipped gradients. Setting the effective step size
317
+ 317 (ESS) of DPAdam to the converged constant, and removing all computations related to the second
318
+ 318 moment updates, results in DPAdamWOSM. We empirically demonstrate that DPAdamWOSM
319
+ 319 matches the utility of DPAdam, while requiring less computation than DPAdam.
320
+ 320 Observe that removing the second-moment updates from DPAdam reduces it to DPMomentum with
321
+ 321 one additional feature: bias-correction to the first-moment decaying average, which DPAdam does
322
+ 322 to account for its initialization at the origin. While the resultant optimizer still requires tuning the
323
+ 323 learning rate (in addition to other hyperparameters like the clipping threshold), DPAdamWOSM can
324
+ 324 be viewed as self-tuning the learning rate by fixing it to the converged effective step size in DPAdam.
325
+
326
+ # 6.1 Effective step size (ESS) in DPAdam
327
+
328
+ DPAdam produces results with a smaller variance than DPSGD due to its adaptive learning rate. To understand this phenomenon better, we look closely into the update step of DPAdam [KB14]. DPAdam being an adaptive optimizer picks per-parameter ESS as $\frac { \alpha } { \sqrt { \hat { v } _ { t } } + \xi }$ , which is the base learning rate $\alpha$ scaled by the second moment of the individual parameter gradients. We notice that when $g \to 0$ , the ESS for DPAdam converges for the first moment gradient, which innately accounts for the clip bound one is training with. This may happen at later iterations, when the model is close to its minima and the gradients get close to zero.
329
+
330
+ Theorem 3. The effective step size (ESS) for DPAdam with g → 0 converges to ESS∗ = α(σC/L)+ξ33 .
331
+
332
+ Proof. Recall that the average noisy gradient over a lot is $\tilde { g } = g + { \mathcal N } ( 0 , \sigma ^ { 2 } C ^ { 2 } ) / L$ . We now look at the effect of this noisy gradient on the effective step size (ESS) of DPAdam. As $g \to 0$ , the second moment of DPAdam converges to $\frac { \sigma ^ { 2 } C ^ { 2 } } { L ^ { 2 } }$ This gives us the converging value for ESS:
333
+
334
+ $$
335
+ E S S ^ { * } = \frac { \alpha } { \sqrt { \hat { v } _ { t } } + \xi } = \frac { \alpha } { \sqrt { \frac { \sigma ^ { 2 } C ^ { 2 } } { L ^ { 2 } } } + \xi } = \frac { \alpha } { \left( \sigma C / L \right) + \xi }
336
+ $$
337
+
338
+ ![](images/400b3e3a256416bb3bc94337e26d69e1a0cc1a23efdd2f9799cfef51025cb0e7.jpg)
339
+ Figure 5: Comparing the testing accuracy curves of DPAdam, ADADP and DPAdamWOSM models across hyperparameter tuning grid from Table 3 with $\sigma = 4$ . The limits for the y-axes are adjusted based on the dataset while maintaining a $15 \%$ range for all.
340
+
341
+ 337 Theorem 3 gives a closed form expression that ESS converges to. We can use this value in place
342
+ 338 of $\frac { \alpha } { \sqrt { \hat { v } _ { t } } + \xi }$ in the update step from the inception of the learning process. Since the second-moment
343
+ 339 updates (e.g., $\hat { v } _ { t }$ ) are not used anymore, removing them results in our new optimizer DPAdamWOSM.
344
+ 340 We provide a pseudo-code for DPAdamWOSM in the appendix.
345
+
346
+ # 341 6.2 Comparing Adaptive Optimizers
347
+
348
+ 342 We evaluate DPAdamWOSM by running it alongside DPAdam and ADADP with the same hyperpa
349
+ 343 rameter grid in the appendix. For brevity, we show experiments on $\sigma = 4$ and others appear in the
350
+ 344 supplement. In Figure 5, we show the maximum and median accuracy curves for all the optimizers.
351
+ 345 We display the median accuracy curves (shown in dotted), as an indicator of the quality of the entire
352
+ 346 pool of hyperparameter candidates for a given optimizer; which in this case is strictly over the choices
353
+ 347 of clip. The max lines for ADADP lies beneath DPAdam and DPAdamWOSM for all dataset except
354
+ 348 Adult. Also, the max accuracy line for DPAdamWOSM runs alongside DPAdam which means that
355
+ 349 it can perform as good as DPAdam throughout training. The median line for DPAdamWOSM also
356
+ 350 performs alongside DPAdam and in some cases is able to beat it (e.g, the median for DPAdamWOSM
357
+ 351 for MNIST-LR and MNIST-TLNN lies above the median line of DPAdam). This occurrence is seen
358
+ 352 because DPAdamWOSM uses the converged ESS from the first iteration of training.
359
+
360
+ # 353 7 Conclusion
361
+
362
+ 354 In this paper, we performed a thorough investigation of honest hyperparameter selection for DP
363
+ 355 Optimizers. We compared two existing private methods, LT and MA to search for hyperparameter
364
+ 356 candidates and showed that, the former incurs a significant privacy cost but can compose a great many
365
+ 357 candidates, while the latter is helpful when the number of candidates is small. Next, we explored
366
+ 358 connections between the clipping norm and the step size hyperparameter to show an inverse relation
367
+ 359 ship between them. Additionally, we compared non-adaptive and adaptive optimizers, demonstrating
368
+ 360 that the latter typically achieves more consistent performance over a variety of hyperparameter
369
+ 361 settings. This can be vital for applications where public data is scarce, resulting in difficulties when
370
+ 362 tuning hyperparameters. Finally, we brought to light that DPAdam converges to a static learning rate
371
+ 363 when the noise starts dominating the gradients. This insight allowed us to derive a novel optimizer
372
+ 364 DPAdamWOSM, a variant of DPAdam which avoids the second-moment computation and enjoys
373
+ 365 better accuracy especially at earlier iterations. Future work remains to investigate further implications
374
+ 366 of these results to provide tuning-free end-to-end private ML optimizers.
375
+ 367 References
376
+ 368 $[ \mathrm { A C G ^ { + } } 1 6 ]$ Martin Abadi, Andy Chu, Ian Goodfellow, H. Brendan McMahan, Ilya Mironov, Kunal
377
+ 369 Talwar, and Li Zhang. Deep learning with differential privacy. In Proceedings of the
378
+ 370 2016 ACM SIGSAC Conference on Computer and Communications Security (CCS’16),
379
+ 371 2016.
380
+ 372 $[ \mathrm { A G D } ^ { + } 2 0 ]$ Brendan Avent, Javier González, Tom Diethe, Andrei Paleyes, and Borja Balle. Auto
381
+ 373 matic discovery of privacy–utility pareto fronts. Proceedings on Privacy Enhancing
382
+ 374 Technologies, 2020(4):5–23, 2020.
383
+ 375 [BBG18] Borja Balle, Gilles Barthe, and Marco Gaboardi. Privacy amplification by subsampling:
384
+ 376 Tight analyses via couplings and divergences. In Advances in Neural Information
385
+ 377 Processing Systems 31, NeurIPS ’18, pages 6277–6287. Curran Associates, Inc., 2018.
386
+ 378 [BST14] Raef Bassily, Adam D. Smith, and Abhradeep Thakurta. Private empirical risk min
387
+ 379 imization: Efficient algorithms and tight error bounds. In FOCS, pages 464–473,
388
+ 380 2014.
389
+ 381 $[ \mathrm { C L E ^ { + } } 1 9 ]$ Nicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos, and Dawn Song. The secret
390
+ 382 sharer: Evaluating and testing unintended memorization in neural networks. In $2 8 t h$
391
+ 383 USENIX Security Symposium (USENIX Security 19), pages 267–284, Santa Clara, CA,
392
+ 384 August 2019. USENIX Association.
393
+ 385 [CMS11] Kamalika Chaudhuri, Claire Monteleoni, and Anand D Sarwate. Differentially private
394
+ 386 empirical risk minimization. Journal of Machine Learning Research, 12(3), 2011.
395
+ 387 [CV13] Kamalika Chaudhuri and Staal A Vinterbo. A stability-based validation procedure for
396
+ 388 differentially private machine learning. Advances in Neural Information Processing
397
+ 389 Systems, 26:2652–2660, 2013.
398
+ 390 [DHS11] John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online
399
+ 391 learning and stochastic optimization. Journal of machine learning research, 12(7),
400
+ 392 2011.
401
+ 393 $\mathrm { [ D K M ^ { + } 0 6 ] }$ Cynthia Dwork, Krishnaram Kenthapadi, Frank McSherry, Ilya Mironov, and Moni
402
+ 394 Naor. Our data, ourselves: Privacy via distributed noise generation. In EUROCRYPT,
403
+ 395 volume 4004, pages 486–503. Springer, 2006.
404
+ 396 [DMNS06] Cynthia Dwork, Frank McSherry, Kobbi Nissim, and Adam Smith. Calibrating noise to
405
+ 397 sensitivity in private data analysis. In Proceedings of the 3rd Conference on Theory of
406
+ 398 Cryptography, TCC ’06, pages 265–284, 2006.
407
+ 399 [FJR15] Matt Fredrikson, Somesh Jha, and Thomas Ristenpart. Model inversion attacks that
408
+ 400 exploit confidence information and basic countermeasures. In Proceedings of the 22nd
409
+ 401 ACM SIGSAC Conference on Computer and Communications Security (CCS’15), 2015.
410
+ 402 [GAYB17] R. Gylberth, R. Adnan, S. Yazid, and T. Basaruddin. Differentially private optimization
411
+ 403 algorithms for deep neural networks. In 2017 International Conference on Advanced
412
+ 404 Computer Science and Information Systems (ICACSIS), pages 387–394, 2017.
413
+ 405 [HSS12] Geoffrey Hinton, Nitish Srivastava, and Kevin Swersky. Neural networks for machine
414
+ 406 learning lecture 6a overview of mini-batch gradient descent. Cited on, 14(8), 2012.
415
+ 407 [HZC21] Xin He, Kaiyong Zhao, and Xiaowen Chu. Automl: A survey of the state-of-the-art.
416
+ 408 Knowledge-Based Systems, 212:106622, 2021.
417
+ 409 [KB14] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv
418
+ 410 preprint arXiv:1412.6980, 2014.
419
+ 411 [KGGW15] Matt Kusner, Jacob Gardner, Roman Garnett, and Kilian Weinberger. Differentially
420
+ 412 private bayesian optimization. In International conference on machine learning, pages
421
+ 413 918–927. PMLR, 2015.
422
+ 414 [KH20] Antti Koskela and Antti Honkela. Learning rate adaptation for differentially private
423
+ 415 learning. In International Conference on Artificial Intelligence and Statistics, pages
424
+ 416 2465–2475. PMLR, 2020.
425
+ 417 [KOV15] Peter Kairouz, Sewoong Oh, and Pramod Viswanath. The composition theorem for
426
+ 418 differential privacy. In International conference on machine learning, pages 1376–1385.
427
+ 419 PMLR, 2015.
428
+ 420 [LT19] Jingcheng Liu and Kunal Talwar. Private selection from private candidates. In Pro
429
+ 421 ceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, pages
430
+ 422 298–309, 2019.
431
+ 423 $\mathrm { [ M A E ^ { + } 1 8 ] }$ H Brendan McMahan, Galen Andrew, Ulfar Erlingsson, Steve Chien, Ilya Mironov,
432
+ 424 Nicolas Papernot, and Peter Kairouz. A general approach to adding differential privacy
433
+ 425 to iterative training procedures. arXiv preprint arXiv:1812.06210, 2018.
434
+ 426 [NSH19] M. Nasr, R. Shokri, and A. Houmansadr. Comprehensive privacy analysis of deep learn
435
+ 427 ing: Passive and active white-box inference attacks against centralized and federated
436
+ 428 learning. In 2019 IEEE Symposium on Security and Privacy (SP’19), 2019.
437
+ 429 $[ \mathrm { P C S ^ { + } } 2 0 ]$ Nicolas Papernot, Steve Chien, Shuang Song, Abhradeep Thakurta, and Ulfar Erlingsson.
438
+ 430 Making the shoe fit: Architectures, initializations, and tuning for learning with privacy,
439
+ 431 2020.
440
+ 432 [Qia99] Ning Qian. On the momentum term in gradient descent learning algorithms. Neural
441
+ 433 Networks, 1999.
442
+ 434 [RHW86] David E Rumelhart, Geoffrey E Hinton, and Ronald J Williams. Learning representations
443
+ 435 by back-propagating errors. nature, 323(6088):533–536, 1986.
444
+ 436 $[ \mathbf { R } \mathbf { T } \mathbf { M } ^ { + } 2 0 ]$ Swaroop Ramaswamy, Om Thakkar, Rajiv Mathews, Galen Andrew, H Brendan McMa
445
+ 437 han, and Françoise Beaufays. Training production language models without memorizing
446
+ 438 user data. arXiv preprint arXiv:2009.10031, 2020.
447
+ 439 [SCS13] Shuang Song, Kamalika Chaudhuri, and Anand D. Sarwate. Stochastic gradient descent
448
+ 440 with differentially private updates. In GlobalSIP, pages 245–248, 2013.
449
+ 441 [SRS17] Congzheng Song, Thomas Ristenpart, and Vitaly Shmatikov. Machine learning models
450
+ 442 that remember too much. In Proceedings of the 2017 ACM SIGSAC Conference on
451
+ 443 Computer and Communications Security (CCS’17), 2017.
452
+ 444 [SSA13] Kevin Swersky, Jasper Snoek, and Ryan P Adams. Multi-task bayesian optimization.
453
+ 445 Advances in Neural Information Processing Systems, 26:2004–2012, 2013.
454
+ 446 [SSSS17] R. Shokri, M. Stronati, C. Song, and V. Shmatikov. Membership inference attacks
455
+ 447 against machine learning models. In 2017 IEEE Symposium on Security and Privacy
456
+ 448 (SP), 2017.
457
+ 449 [TB21] Florian Tramer and Dan Boneh. Differentially private learning needs better features (or
458
+ 450 much more data). In International Conference on Learning Representations, 2021.
459
+ 451 [WM10] Oliver Williams and Frank McSherry. Probabilistic inference and differential privacy.
460
+ 452 In NIPS, pages 2451–2459, 2010.
461
+ 453 $[ \mathrm { Y L P ^ { + } } 1 9 ]$ L. Yu, L. Liu, C. Pu, M. E. Gursoy, and S. Truex. Differentially Private Model Publishing
462
+ 454 for Deep Learning. In 2019 IEEE Symposium on Security and Privacy (SP’19), 2019.
463
+ 455 $[ \boldsymbol { Z } \mathrm { F M } ^ { + } 2 0 ]$ Pan Zhou, Jiashi Feng, Chao Ma, Caiming Xiong, Steven HOI, et al. Towards theo
464
+ 456 retically understanding why sgd generalizes better than adam in deep learning. arXiv
465
+ 457 preprint arXiv:2010.05627, 2020.
466
+
467
+ 1. For all authors...
468
+
469
+ (a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
470
+ (b) Did you describe the limitations of your work? [Yes]
471
+ (c) Did you discuss any potential negative societal impacts of your work? [Yes]
472
+ (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
473
+
474
+ 2. If you are including theoretical results...
475
+
476
+ (a) Did you state the full set of assumptions of all theoretical results? [Yes] (b) Did you include complete proofs of all theoretical results? [Yes]
477
+
478
+ 3. If you ran experiments...
479
+
480
+ (a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes]
481
+ (b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes]
482
+ (c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes]
483
+ (d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes]
484
+
485
+ 4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
486
+
487
+ (a) If your work uses existing assets, did you cite the creators? [Yes]
488
+ (b) Did you mention the license of the assets? [Yes]
489
+ (c) Did you include any new assets either in the supplemental material or as a URL? [Yes]
490
+ (d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes]
491
+ (e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A]
492
+
493
+ 5. If you used crowdsourcing or conducted research with human subjects...
494
+
495
+ (a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
496
+ (b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
497
+ (c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
parse/train/bMLeGGwptZk/bMLeGGwptZk_content_list.json ADDED
@@ -0,0 +1,1027 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "The Role of Adaptive Optimizers for Honest Private Hyperparameter Selection ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 223,
8
+ 122,
9
+ 774,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous Author(s) \nAffiliation \nAddress \nemail ",
17
+ "bbox": [
18
+ 423,
19
+ 226,
20
+ 580,
21
+ 281
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 318,
32
+ 535,
33
+ 334
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Hyperparameter optimization is a ubiquitous challenge in machine learning, and the performance of a trained model depends crucially upon their effective selection. While a rich set of tools exist for this purpose, there are currently no practical hyperparameter selection methods under the constraint of differential privacy (DP). We study honest hyperparameter selection for differentially private machine learning, in which the process of hyperparameter tuning is accounted for in the overall privacy budget. To this end, we i) show that standard composition tools outperform more advanced techniques in many settings, ii) empirically and theoretically demonstrate an intrinsic connection between the learning rate and clipping norm hyperparameters, iii) show that adaptive optimizers like DPAdam enjoy a significant advantage in the process of honest hyperparameter tuning, and iv) draw upon novel limiting behaviour of Adam in the DP setting to design a new and more efficient optimizer. ",
40
+ "bbox": [
41
+ 148,
42
+ 348,
43
+ 766,
44
+ 529
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "14 1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 148,
54
+ 553,
55
+ 310,
56
+ 570
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "15 Over the last several decades, the field of machine learning has flourished. However, training machine \n16 learning models frequently involves personal data, which leaves data contributors susceptible to \n17 privacy attacks. This isn’t purely hypothetical: recent results have shown that models are vulnerable \n18 to membership inference [SSSS17, $\\mathrm { \\bar { C } L E ^ { + } } 1 9$ , NSH19] and model inversion attacks [FJR15, SRS17]. \n19 The leading approaches for privacy-preserving machine learning are based on differential privacy \n20 (DP) [DMNS06]. Informally, DP rigorously limits and masks the contribution that an individual \n21 datapoint can have on an algorithm’s output. To address the aforementioned issues, DP training \n22 procedures have been developed [WM10, BST14, SCS13, $\\mathrm { A C G ^ { + } } 1 6 ]$ , which generally resemble non \n23 private gradient-based methods, but with the incorporation of gradient clipping and noise injection. \n24 In both the private and non-private settings, hyperparameter selection is instrumental to achieving \n25 high accuracy. The most common methods are grid search or random search, both of which incur \n26 a computational overhead scaling with the number of hyperparameters under consideration. In \n27 the private setting, this issue is often magnified as most private training procedures introduce new \n28 hyperparameters. Regardless, and more importantly, hyperparameter tuning on a sensitive dataset \n29 also costs in terms of privacy, naively incurring a multiplicative cost which scales as the square root \n30 of the number of candidates (based on composition properties of differential privacy [KOV15]). \n31 Most prior works on private learning choose not to account for this cost $[ \\mathrm { A C G ^ { + } } 1 6$ , $\\mathrm { Y L P ^ { + } 1 9 }$ , TB21], \n32 focusing instead on demonstrating the accuracy achievable by private learning under idealized condi \n33 tions, that is, if the best hyperparameters were somehow known ahead of time. Some works assume \n34 the presence of supplementary public data resembling the sensitive dataset $[ \\mathrm { A G D } ^ { + } 2 0$ , $\\mathrm { R T M } ^ { + } 2 0 ]$ , \n35 which may be freely used for hyperparameter tuning. Naturally, such public data may be scarce or \n36 nonexistent in settings where privacy is a concern, leaving practitioners with little guidance on how \n37 to choose hyperparameters in practice. As explored in our paper, poor hyperparameter selection with \n38 standard private optimizers can have catastrophic effects on model accuracy. \n39 Hope is afforded by the success of adaptive optimizers in the non-private setting. The canonical \n40 example is Adam [KB14], which exploits moments of the gradients to adaptively and dynamically \n41 determine the learning rate. It works out of the box in many cases, providing accuracy comparable \n42 with tuned SGD. We navigate the different options available to a practitioner to solve the honest \n43 private hyperparameter tuning problem and ask, are there optimizers which provide strong privacy, \n44 require minimal hyperparameter tuning, and perform competitively with tuned counterparts? ",
63
+ "bbox": [
64
+ 147,
65
+ 584,
66
+ 825,
67
+ 709
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "",
74
+ "bbox": [
75
+ 147,
76
+ 715,
77
+ 825,
78
+ 813
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "",
85
+ "bbox": [
86
+ 147,
87
+ 819,
88
+ 825,
89
+ 901
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "",
96
+ "bbox": [
97
+ 151,
98
+ 92,
99
+ 823,
100
+ 119
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "",
107
+ "bbox": [
108
+ 147,
109
+ 126,
110
+ 825,
111
+ 209
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "45 Our Contributions ",
118
+ "text_level": 1,
119
+ "bbox": [
120
+ 148,
121
+ 215,
122
+ 307,
123
+ 229
124
+ ],
125
+ "page_idx": 1
126
+ },
127
+ {
128
+ "type": "text",
129
+ "text": "46 1. We investigate techniques for private tuning of hyperparameters. We perform the first empirical \n47 evaluation of the proposed theoretical method of Liu and Talwar [LT19], and demonstrate that it can \n48 be relatively expensive. That is, in certain cases, one can tune over sufficiently many hyperparameters \n49 using standard composition tools such as moments accountant $[ \\mathrm { A C G ^ { + } } 1 6 ]$ . \n50 2. We empirically and theoretically demonstrate that two hyperparameters, the learning rate and \n51 clipping threshold, are intrinsically coupled for non-adaptive optimizers. While other hyperparameters \n52 and the model architecture are restricted by the scope of the task, privacy and utility targets, and \n53 computational resources, the learning rate and clipping norm have no a priori bounds. Since the \n54 resulting hyperparameter grid adds up to the privacy cost while tuning to achieve the model with the \n55 best utility, we explore leveraging adaptive optimizers to reduce the hyperparameter space. \n56 3. We empirically demonstrate the DPAdam optimizer (with default values for most hyperparameters), \n57 can match the performance of tuned non-adaptive optimizers on a variety of datasets, thus enabling \n58 private learning with honest hyperparameter selection. This finding complements a prior claim \n59 of Papernot et al. $[ \\mathrm { P C S ^ { + } } 2 0 ]$ , which suggests that a well-tuned DPSGD can outperform DPAdam. \n60 However, our findings show that this difference in performance is relatively insignificant. Furthermore, \n61 in the realistic setting where hyperparameter tuning must be accounted for in the privacy loss, we \n62 show that DPAdam is much more likely to produce non-catastrophic results. \n63 4. We show that the adaptive learning rate of DPAdam converges to a static value. To leverage this, \n64 we introduce a new private optimizer, DPAdamWOSM that matches the performance of DPAdam \n65 without computing the second moments. ",
130
+ "bbox": [
131
+ 147,
132
+ 243,
133
+ 825,
134
+ 299
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "",
141
+ "bbox": [
142
+ 147,
143
+ 304,
144
+ 825,
145
+ 388
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "",
152
+ "bbox": [
153
+ 148,
154
+ 393,
155
+ 825,
156
+ 491
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "",
163
+ "bbox": [
164
+ 148,
165
+ 496,
166
+ 825,
167
+ 537
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "66 1.1 Related Work ",
174
+ "text_level": 1,
175
+ "bbox": [
176
+ 148,
177
+ 556,
178
+ 308,
179
+ 570
180
+ ],
181
+ "page_idx": 1
182
+ },
183
+ {
184
+ "type": "text",
185
+ "text": "67 Hyperparameter tuning plays a vital role in machine learning practice. In the non-private setting, \n68 ML practitioners use grid search, random search, Bayesian optimization techniques [SSA13] or \n69 AutoML [HZC21] techniques to tune their models. However, there hasn’t been much research \n70 on private hyperparameter tuning procedures due to the significant associated privacy costs. Each \n71 set of hyperparameter configuration results in a privacy-utility tradeoff. This tradeoff for multiple \n72 configurations can be captured by Pareto frontiers using multivariate Bayesian optimization over \n73 parameter dimensions $[ \\bar { \\mathbf { A } } \\mathbf { G } \\mathbf { D } ^ { + } 2 0 ]$ . However, this method asks the model curator to query the \n74 dataset multiple times which requires non-private access to the dataset. There have been some \n75 end-to-end private tuning procedures [CMS11, CV13, KGGW15] which work for a selected number \n76 of hyperparameter sets. These results work either in restricted settings for few combinations of \n77 candidates or under relaxations of differential privacy. The most relevant work to ours is an approach \n78 for private selection from private candidates [LT19]. Their work provides two methods, one which \n79 outputs a candidate with accuracy greater than a given input threshold, and another which randomly \n80 stops and outputs the best candidate seen so far. The first approach is of limited utility in practice as \n81 it requires a prior accuracy bound for the dataset. The second variant incurs a considerable overhead \n82 in the privacy cost. We study this second approach and compare it with naive approaches based on \n83 Moments Accountant $[ \\mathsf { A C G } ^ { + } 1 6 ]$ which would scale as the square root of the number of candidates. ",
186
+ "bbox": [
187
+ 147,
188
+ 583,
189
+ 825,
190
+ 816
191
+ ],
192
+ "page_idx": 1
193
+ },
194
+ {
195
+ "type": "text",
196
+ "text": "84 2 Problem Setup and Overview ",
197
+ "text_level": 1,
198
+ "bbox": [
199
+ 153,
200
+ 837,
201
+ 449,
202
+ 854
203
+ ],
204
+ "page_idx": 1
205
+ },
206
+ {
207
+ "type": "text",
208
+ "text": "85 Consider a sensitive dataset $D$ which lies beyond a privacy firewall and has $n$ points of the form \n86 $( x _ { 1 } , y _ { 1 } ) , ( x _ { 2 } , y _ { 2 } ) , \\ldots , ( x _ { n } , y _ { n } )$ where $x _ { i } \\in \\mathcal X$ is the feature vector of the ith point and $y _ { i } \\in \\mathcal { V }$ is its \n87 desired output. Though our experiments are carried out in the supervised setting, all results can be \n88 translated to unsupervised setting as well. The dataset has been divided into two parts, the training set \n89 and the validation set. A trusted curator wants to train a machine learning model by making queries \n90 on the dataset with a total end-to-end training privacy budget of $( \\varepsilon _ { f } , \\delta _ { f } )$ such that the model can \n91 perform with high accuracy on the validation set. The curator wants to try multiple hyperparameter \n92 candidates for the model to figure out which candidate gives the maximum accuracy. However, as the \n93 model is private, each candidate requires multiple queries made on the dataset and all of them need to \n94 be accounted in the total privacy budget of $( \\varepsilon _ { f } , \\delta _ { f } )$ . \n95 Note that any validation accuracy must also be measured privately. Since this accuracy is a low \n96 sensitivity query with a scalar output, and must only be computed once per choice of hyperparameters, \n97 the cost of this procedure is generally a lower order term versus the main training procedure. Thus for \n98 simplicity, we do not noise these validation accuracy queries. As we will see later, some optimizers \n99 require more candidates to tune and hence would also require more privacy budget than others. \n100 To tackle private hyperparameter selection, we first compare the available private tuning procedures \n101 in Section 3. We show that the privacy cost for training a model depends on the hyperparameter \n102 grid size and standard composition theorems provide the best guarantees when the grid is small. In \n103 Section 4, we investigate different optimizers to see how many candidates are required to output \n104 a good solution. In Section 4.1 we provide theoretical and empirical evidence to demonstrate an \n105 intrinsic coupling between two hyperparameters – the learning rate and clipping norm in DPSGD. \n106 We show that this coupling makes DPSGD sensitive to these parameter choices, which can drastically \n107 affect the validation accuracy. In Section 4.2 we demonstrate that an adaptive optimizer, DPAdam, \n108 translates well from the non-private setting and obviates tuning of the learning rate. In Section 5, we \n109 empirically compare DPAdam with DPSGD and DPMomentum to show that DPAdam performs at par \n110 with less hyperparameter tuning. Finally, in Section 6, we establish that DPAdam converges to a static \n111 learning rate in restricted settings, and unveil a new optimizer DPAdamWOSM which can leverage \n112 this converged value without computing the second moments. In the interest of space, we defer \n113 standard preliminaries such as DP definitions, hyperparameters, and optimizers to the appendix. ",
209
+ "bbox": [
210
+ 147,
211
+ 869,
212
+ 823,
213
+ 911
214
+ ],
215
+ "page_idx": 1
216
+ },
217
+ {
218
+ "type": "text",
219
+ "text": "",
220
+ "bbox": [
221
+ 145,
222
+ 92,
223
+ 825,
224
+ 189
225
+ ],
226
+ "page_idx": 2
227
+ },
228
+ {
229
+ "type": "text",
230
+ "text": "",
231
+ "bbox": [
232
+ 145,
233
+ 194,
234
+ 825,
235
+ 263
236
+ ],
237
+ "page_idx": 2
238
+ },
239
+ {
240
+ "type": "text",
241
+ "text": "",
242
+ "bbox": [
243
+ 140,
244
+ 270,
245
+ 826,
246
+ 464
247
+ ],
248
+ "page_idx": 2
249
+ },
250
+ {
251
+ "type": "text",
252
+ "text": "114 3 The Cost of Privately Tuning DP Optimizers ",
253
+ "text_level": 1,
254
+ "bbox": [
255
+ 142,
256
+ 486,
257
+ 576,
258
+ 505
259
+ ],
260
+ "page_idx": 2
261
+ },
262
+ {
263
+ "type": "text",
264
+ "text": "115 Effective hyperparameter tuning is crucial in extracting good utility from an optimizer. Unlike \n116 the non-private setting, DP optimizers typically i) have more hyperparameters to tune; ii) require \n117 additional privacy budget for tuning. Existing work on DP optimizers acknowledge this problem (e.g., \n118 $\\mathrm { [ A C G ^ { + } 1 6 \\bar ] } ,$ ), but do not address the privacy cost incurred during hyperparameter tuning $[ \\mathrm { A C G ^ { + } } 1 6$ , \n119 $\\mathrm { Y L P ^ { + } } 1 9$ , TB21]. There are two main prior general-purpose approaches for private hyperparameter \n120 selection. The first performs composition via Moments Accountant $[ \\mathrm { A C G ^ { + } } 1 6 ]$ , and the second is \n121 the algorithm of Liu and Talwar (LT) [LT19]. The latter is a theoretical result, and to the best of our \n122 knowledge, has not been previously evaluated in practice. We investigate the privacy cost of these \n123 two techniques in practice and discuss situations in which each method is preferred. ",
265
+ "bbox": [
266
+ 140,
267
+ 520,
268
+ 826,
269
+ 645
270
+ ],
271
+ "page_idx": 2
272
+ },
273
+ {
274
+ "type": "text",
275
+ "text": "124 3.1 Hyperparameter Selection via [LT19] ",
276
+ "text_level": 1,
277
+ "bbox": [
278
+ 151,
279
+ 665,
280
+ 473,
281
+ 681
282
+ ],
283
+ "page_idx": 2
284
+ },
285
+ {
286
+ "type": "text",
287
+ "text": "125 Liu and Talwar [LT19] propose a random stopping algorithm (LT) to output a ‘good’ hyperparameter \n126 candidate from a pool of $K$ candidates, $\\{ x _ { 1 } , \\ldots , x _ { K } \\}$ . They assume sampling access to a randomized \n127 mechanism $Q ( D )$ which samples $i \\sim [ K ]$ , and returns the $i$ -th candidate $x _ { i }$ , and a score $q _ { i }$ for this \n128 candidate. It is a random stopping algorithm, in which at every iteration, a candidate is picked from \n129 $Q$ i.i.d. with replacement and a $\\gamma$ -biased coin is flipped to randomly stop the algorithm. When the \n130 algorithm stops, the candidate with the maximum score seen so far is outputted. In the approximate \n131 DP version of this algorithm, an extra parameter $\\Upsilon$ is set to limit the total of number of iterations. \n132 The pseudocode of this algorithm is deferred to the appendix. ",
288
+ "bbox": [
289
+ 140,
290
+ 693,
291
+ 825,
292
+ 804
293
+ ],
294
+ "page_idx": 2
295
+ },
296
+ {
297
+ "type": "text",
298
+ "text": "Theorem 1 ([LT19], Theorem 3.4). Fix any 133 $\\gamma \\in [ 0 , 1 ]$ , $\\delta _ { 2 } > 0$ and let $\\begin{array} { r } { \\Upsilon = \\frac { 1 } { \\gamma } \\log \\frac { 1 } { \\delta _ { 2 } } } \\end{array}$ . If $Q$ is 134 $( \\varepsilon _ { 1 } , \\delta _ { 1 } )$ -DP, then the LT algorithm is $( \\varepsilon _ { f } , \\delta _ { f } )$ -DP for $\\varepsilon _ { f } = 3 \\varepsilon _ { 1 } + 3 \\sqrt { 2 \\delta _ { 1 } }$ and $\\delta _ { f } = \\sqrt { 2 \\delta _ { 1 } } \\Upsilon + \\delta _ { 2 }$ . ",
299
+ "bbox": [
300
+ 147,
301
+ 809,
302
+ 825,
303
+ 844
304
+ ],
305
+ "page_idx": 2
306
+ },
307
+ {
308
+ "type": "text",
309
+ "text": "135 Theorem 1 expresses the privacy cost of the algorithm in terms of the privacy cost of individual \n136 learners, and parameters of the algorithm itself. The $\\delta _ { 2 }$ parameter does not significantly affect the \n137 final epsilon $\\varepsilon _ { f }$ of the algorithm and in practice, one can set it to a very small value $( 1 0 ^ { - 2 0 } )$ . Though \n138 a small value of $\\delta _ { 2 }$ has little effect on $\\delta _ { f }$ , it increases the hard stopping time of the algorithm, $\\Upsilon$ . \n139 To understand the LT algorithm, we will compare the privacy costs of training a single hyperparameter \n140 candidate with a final $\\varepsilon _ { f } , \\delta _ { f }$ budget via LT and compare it with the privacy cost $\\varepsilon _ { 1 } , \\delta _ { 1 }$ of the underlying \n141 individual learner. This setting might seem unnatural for LT as it was designed to select from a pool \n142 of candidates but we choose this setting to show the minimum privacy cost overhead associated with \n143 LT and later show how the privacy cost changes for multiple candidates (varying $\\gamma$ ). To use LT, one \n144 needs to figure out the $\\varepsilon _ { 1 } , \\delta _ { 1 }$ via Theorem 1 using the final $\\varepsilon _ { f } , \\delta _ { f }$ values and in this case, $\\gamma = 1$ (as \n145 we have just one candidate). The individual learner is then trained using $\\varepsilon _ { 1 } , \\delta _ { 1 }$ budget. \n146 Due to the delicate balance of $\\delta _ { f }$ in Theorem 1, one can see the $\\delta _ { 1 }$ comes out to be much smaller than \n147 $\\delta _ { f }$ . This change in $\\delta _ { 1 }$ results in a blowup of $\\varepsilon _ { 1 }$ and hence, the final privacy cost of the LT algorithm \n148 $( \\dot { 3 } \\varepsilon _ { 1 } + 3 \\sqrt { 2 \\delta _ { 1 } } )$ , is much larger than what it would have been for learning one candidate without LT. \n149 We call this increase the blowup of privacy. We measure this blowup in Figure 1(left), for the setting \n150 of $\\sigma = 4$ , $L = 2 5 0$ , $T = 1 0 , 0 0 0$ with varying dataset sizes $( n )$ . It can be seen that for $n = 5 , 0 0 0$ , \n151 the blowup is $4 . 8 \\mathrm { x }$ whereas for for $n = 9 5 0 , 0 0 0$ , the blowup is almost $7 . 3 \\mathrm { x }$ (note the log scale on \n152 y-axis). Qualitatively similar trends persist for other choices of noise multiplier, lot size and iterations. \n153 We add more experiments to compare LT vs MA with varying candidate sizes in the appendix. \n154 Furthermore, we show that although LT entails a privacy blowup, decreasing $\\gamma$ , which corresponds \n155 to training more individual learners with $\\varepsilon _ { 1 } , \\delta _ { 1 }$ , doesn’t result in a significant difference in the final \n156 epsilon guaranteed by LT. In Figure 1(middle), we show the final epsilon cost for different dataset \n157 size and varying values of $\\gamma \\in [ 0 . 0 0 1 , 0 . 0 1 , 0 . 1 , 1 ]$ . It is interesting to note here that with smaller \n158 $\\gamma$ values, one can train many candidates (in expectation, $\\textstyle { \\frac { 1 } { \\gamma } } .$ ) for negligible additional privacy cost. \n159 The blowup to train 1 candidate $( \\gamma = 1 )$ ) versus $1 , 0 0 0$ candidates $\\gamma = 0 . 0 0 1 )$ increases from 33 \n160 to 39 for $n = 5 , 0 0 0$ and increases from 0.49 to 0.69, for $n = 9 5 0 , 0 0 0$ . This increase is minimal√ \n161 in comparison to advanced composition, which grows proportional to $\\mathcal { O } ( \\sqrt { k } )$ . However, another \n162 resource at play is the total training time, which is proportional to $1 / \\gamma$ (i.e., the total number of \n163 candidates). In summary, the LT algorithm is effective if an analyst has the privacy budget to afford \n164 the initial blowup, as the privacy cost of testing additional hyperparameters is insignificant. ",
310
+ "bbox": [
311
+ 142,
312
+ 854,
313
+ 825,
314
+ 911
315
+ ],
316
+ "page_idx": 2
317
+ },
318
+ {
319
+ "type": "text",
320
+ "text": "",
321
+ "bbox": [
322
+ 140,
323
+ 92,
324
+ 825,
325
+ 189
326
+ ],
327
+ "page_idx": 3
328
+ },
329
+ {
330
+ "type": "image",
331
+ "img_path": "images/fdcf93c0067febffde4404d041f4e336e7098670fb31e1690a597572ef7e263c.jpg",
332
+ "image_caption": [
333
+ "Figure 1: Comparing the privacy cost of LT versus Moments Accountant. The minimal privacy overhead incurred by LT is at least ${ \\sim } 5 \\mathrm { x }$ , and increases with the dataset size (left). However, as we allow LT to sample and test more candidate hyperparameters, the privacy cost barely increases (middle). Moments Accountant is able to test a significant number of candidates at the same cost as the minimal privacy overhead of LT (right). "
334
+ ],
335
+ "image_footnote": [],
336
+ "bbox": [
337
+ 183,
338
+ 210,
339
+ 813,
340
+ 328
341
+ ],
342
+ "page_idx": 3
343
+ },
344
+ {
345
+ "type": "text",
346
+ "text": "",
347
+ "bbox": [
348
+ 140,
349
+ 426,
350
+ 825,
351
+ 540
352
+ ],
353
+ "page_idx": 3
354
+ },
355
+ {
356
+ "type": "text",
357
+ "text": "",
358
+ "bbox": [
359
+ 140,
360
+ 546,
361
+ 826,
362
+ 702
363
+ ],
364
+ "page_idx": 3
365
+ },
366
+ {
367
+ "type": "text",
368
+ "text": "165 3.2 Hyperparameter Selection via Moments Accountant ",
369
+ "text_level": 1,
370
+ "bbox": [
371
+ 148,
372
+ 719,
373
+ 575,
374
+ 734
375
+ ],
376
+ "page_idx": 3
377
+ },
378
+ {
379
+ "type": "text",
380
+ "text": "166 We learnt from the previous section that, LT permits selection from a large pool of hyperparameters \n167 (depending on the $\\gamma$ value) but incurs a constant privacy blowup. We compare LT with tuning \n168 using Moments Accountant (MA). We notice using that with the same initial privacy blowup of \n169 the LT algorithm, MA is able to compose a considerable number of hyperparameter candidates. In \n170 Figure 1(right), we show the number of candidates that can be composed using MA for the minimum \n171 privacy cost for running the LT algorithm $( \\gamma = 1 )$ ), for the setting of $\\sigma = 4$ , $L = 2 5 0$ , $T = 1 0$ , 000 \n172 and varying dataset size $( n )$ on the $\\mathbf { X }$ -axis. As the $T$ and $L$ is set constant, bigger $n$ values in this \n173 graph correspond to fewer epochs of training and hence, worse utility. Depending on dataset size, \n174 MA can compose 14 candidates for $n = 5 0 0 0$ and up to 175 candidates when $n = 1 0 0 0 0 0$ . It is \n175 perhaps surprising how well a standard composition technique performs versus LT. This information \n176 can be highly valuable to a practitioner who has limited privacy budget. Qualitatively similar trends \n177 persist for other choices of batch size, noise multiplier, and iterations. \n178 From our experiments for both these tuning procedures, we conclude that while tuning with LT entails \n179 an initial privacy blowup, and the additional privacy cost for trying more candidates (smaller $\\gamma$ ) is \n180 minimal. Even though this has an additional computation cost, it can be appealing when an analyst \n181 wants to try numerous hyperparameters. On the other hand, for the same overall privacy cost, MA \n182 can be used to compose a significant number of hyperparameter candidates. Additionally, MA allows \n183 access to all intermediate learners, whereas LT allows access to only the final output parameters. In \n184 the sequel, this conclusion will be useful in making the naive MA approach a more appealing tool for \n185 some settings (e.g., tighter privacy budgets). ",
381
+ "bbox": [
382
+ 140,
383
+ 746,
384
+ 825,
385
+ 911
386
+ ],
387
+ "page_idx": 3
388
+ },
389
+ {
390
+ "type": "text",
391
+ "text": "",
392
+ "bbox": [
393
+ 140,
394
+ 90,
395
+ 825,
396
+ 203
397
+ ],
398
+ "page_idx": 4
399
+ },
400
+ {
401
+ "type": "text",
402
+ "text": "186 4 Tuning DP Optimizers ",
403
+ "text_level": 1,
404
+ "bbox": [
405
+ 147,
406
+ 223,
407
+ 393,
408
+ 241
409
+ ],
410
+ "page_idx": 4
411
+ },
412
+ {
413
+ "type": "text",
414
+ "text": "187 We detail aspects of tuning both non-adaptive and adaptive optimizers. We start with tuning non \n188 adaptive optimizers (Section 4.1). We theoretically and empirically demonstrate a connection between \n189 the learning rate and clipping threshold. We also establish that non-adaptive optimizers inevitably \n190 require searching over a large LR-clip grid to extract performant models. Adaptive optimizers forego \n191 this problem as they do not need to tune the hyperparameter dimension of learning rate. However, \n192 they introduce other hyperparameters that have known good choices in the non-private setting, and \n193 we empirically show that they are good candidates in the private setting (Section 4.2). ",
415
+ "bbox": [
416
+ 140,
417
+ 255,
418
+ 825,
419
+ 353
420
+ ],
421
+ "page_idx": 4
422
+ },
423
+ {
424
+ "type": "text",
425
+ "text": "194 4.1 Tuning DP non-adaptive optimizers ",
426
+ "text_level": 1,
427
+ "bbox": [
428
+ 143,
429
+ 371,
430
+ 460,
431
+ 386
432
+ ],
433
+ "page_idx": 4
434
+ },
435
+ {
436
+ "type": "text",
437
+ "text": "While many hyperparameters are restricted due to computational and privacy/utility targets, the learning rate $\\alpha$ and the clipping threshold $C$ have no a priori bounds. In what follows, we show an interplay between these parameters by first theoretically analyzing the convergence of DPSGD. We then explore an illustrative experiment which demonstrates their entanglement. In the following theorem, we derive a bound on the expected excess risk of DPSGD and while doing so, show that the optimal learning rate, $\\alpha _ { o p t }$ , is proportional to the inverse of $C$ . The proof appears in Appendix D. ",
438
+ "bbox": [
439
+ 166,
440
+ 396,
441
+ 825,
442
+ 479
443
+ ],
444
+ "page_idx": 4
445
+ },
446
+ {
447
+ "type": "text",
448
+ "text": "Theorem 2. Let $f$ be a convex and $\\beta$ -smooth function, and let $x ^ { * } = \\arg \\operatorname* { m i n } _ { x \\in S } f ( x )$ . Let $x _ { 0 }$ be an arbitrary point in $s$ , and $x _ { t + 1 } = \\Pi _ { S } ( x _ { t } - \\alpha ( g _ { t } + z _ { t } ) )$ , where $\\begin{array} { r } { g _ { t } = \\operatorname* { m i n } ( 1 , \\frac { C } { \\| \\nabla f ( x ) \\| ^ { 2 } } ) \\nabla f ( x ) } \\end{array}$ and $z _ { t } \\sim \\mathcal { N } ( 0 , \\sigma ^ { 2 } C ^ { 2 } )$ is the noise due to privacy. After $T$ iterations, the optimal learning rate is $\\begin{array} { r } { \\alpha _ { o p t } = \\frac { R } { C T \\sqrt { 1 + \\sigma ^ { 2 } } } } \\end{array}$ , where $\\begin{array} { r } { \\mathbb { E } [ f ( \\frac { 1 } { T } \\sum _ { i } ^ { T } x _ { t } ) - f ( x ^ { * } ) ] \\leq \\frac { R C \\sqrt { 1 + \\sigma ^ { 2 } } } { \\sqrt { T } } } \\end{array}$ and $R = \\mathbb { E } [ \\| x _ { 0 } - x ^ { * } \\| ]$ . ",
449
+ "bbox": [
450
+ 171,
451
+ 484,
452
+ 825,
453
+ 565
454
+ ],
455
+ "page_idx": 4
456
+ },
457
+ {
458
+ "type": "text",
459
+ "text": "Though Theorem 2 gives a closed-form expression for the optimum learning rate, it is a function of the parameter $R$ , which is unknown a priori to the analyst. Given constant $T$ and $\\sigma$ , the optimal learning rate $\\alpha _ { o p t }$ is inversely proportional to the clipping norm $C$ . This is crucial information in practice because these parameters vary among datasets and are unbounded. This unboundedness property thus requires us to search over very large ranges of $C$ and $\\alpha$ when we have no prior knowledge of the dataset. It is natural to ask whether one can fix the clipping norm $C$ and search only over a wide range for the learning rate $\\alpha$ (or vice versa). We explore this relationship experimentally, showing that fixing one of these two hyperparameters may often but not always result in an optimal model. ",
460
+ "bbox": [
461
+ 166,
462
+ 570,
463
+ 553,
464
+ 763
465
+ ],
466
+ "page_idx": 4
467
+ },
468
+ {
469
+ "type": "image",
470
+ "img_path": "images/0f218e874ffce118de2302a9b4024f19a6fd8a62fdbc4f10706873ff6e14b9d2.jpg",
471
+ "image_caption": [
472
+ "Figure 2: Log of training loss for simulation experiment at $\\sigma = 4$ on a synthetic dataset. The black pixels correspond to lowest training loss. Note that most best loss values lie on a diagonal expressing the inverse connection between $\\alpha$ and $C$ . "
473
+ ],
474
+ "image_footnote": [],
475
+ "bbox": [
476
+ 568,
477
+ 589,
478
+ 825,
479
+ 761
480
+ ],
481
+ "page_idx": 4
482
+ },
483
+ {
484
+ "type": "text",
485
+ "text": "219 In this experiment, we train a linear regression model on a \n220 10-dimensional synthetic dataset of input-label pairs $( x , y )$ \n221 sampled from a distribution $\\mathcal { D }$ as follows: $x _ { 1 } , \\ldots , x _ { d } \\sim$ \n222 $\\mathcal { U } ( 0 , 1 ) , y = x \\cdot w ^ { * } , w ^ { * } = 1 0 \\cdot \\mathbf { 1 } ^ { d }$ . We use the initialization \n223 $w _ { 0 } = \\mathbf { 0 } ^ { d }$ and train for 100 iterations. In the non-private \n224 setting, this model converges quickly with any reasonable \n225 learning rate, but in the private setting, we notice that the ",
486
+ "bbox": [
487
+ 142,
488
+ 770,
489
+ 557,
490
+ 869
491
+ ],
492
+ "page_idx": 4
493
+ },
494
+ {
495
+ "type": "text",
496
+ "text": "6 training loss depends heavily on the choice of $\\alpha$ and $C$ . Figure 2 shows a heat map for the log training loss when trained on $( \\alpha , C )$ pairs taken from a large grid consisting of [1, 2, 4, 5, 8] at scales of 8 $[ 1 0 ^ { - 4 } , 1 0 ^ { - 3 } , 1 0 ^ { - 2 } , 1 0 ^ { - 1 } , 1 0 ^ { 0 } , 1 0 ^ { \\hat { 1 } } ]$ . The best training is observed when the loss is 0 (black pixels). ",
497
+ "bbox": [
498
+ 156,
499
+ 871,
500
+ 825,
501
+ 912
502
+ ],
503
+ "page_idx": 4
504
+ },
505
+ {
506
+ "type": "image",
507
+ "img_path": "images/70cbc929f5f8ba00ffaeeb33681c766a28a61c55db5750a4f553523f7c03bf6f.jpg",
508
+ "image_caption": [
509
+ "Figure 3: Ranking hyperparameter candidates across datasets. The black points correspond to the candidates with $\\alpha = 0 . 0 0 1$ (with all permutations of $\\beta _ { 1 } , \\beta _ { 2 }$ from our searchgrid); the gold corresponds to the candidate with $\\alpha = 0 . 0 0 1 , \\beta _ { 1 } = 0 . 9 , \\beta _ { 2 } = 0 . 9 9 9$ "
510
+ ],
511
+ "image_footnote": [],
512
+ "bbox": [
513
+ 186,
514
+ 95,
515
+ 813,
516
+ 237
517
+ ],
518
+ "page_idx": 5
519
+ },
520
+ {
521
+ "type": "text",
522
+ "text": "229 We observe two fundamental phenomena from this figure. First, to achieve the best accuracy, $\\alpha$ and \n230 $C$ need to be tuned on a large grid spanning several orders of magnitude for each of these parameters. \n231 Second, multiple $( \\alpha , C )$ pairs achieve the best accuracy and all lie on the same diagonal, validating \n232 our theory for an inverse relation between learning rate and clipping norm. As mentioned earlier, one \n233 might hypothesize that by setting the clipping norm $C$ constant and tuning $\\alpha$ (corresponding to a \n234 vertical line in Figure 2) or vice versa, one could eliminate tuning a hyperparameter. However, note \n235 that not all $C$ and $\\alpha$ values correspond to the lowest loss. This phenomenon is evident by noticing \n236 that not all vertical or horizontal lines on this figure have black pixels. This happens, for example, \n237 at the extremes (e.g., at the top-right corner), but also for several intermediate and standard choices \n238 (e.g., $C = 0 . 1$ or 0.2). Again, the analyst has no way of knowing this a priori. We conclude that to \n239 privately tune non-adaptive optimizers, we require a large grid of hyperparameter options. ",
523
+ "bbox": [
524
+ 142,
525
+ 303,
526
+ 825,
527
+ 458
528
+ ],
529
+ "page_idx": 5
530
+ },
531
+ {
532
+ "type": "text",
533
+ "text": "4.2 Tuning DP adaptive optimizers ",
534
+ "text_level": 1,
535
+ "bbox": [
536
+ 158,
537
+ 477,
538
+ 428,
539
+ 492
540
+ ],
541
+ "page_idx": 5
542
+ },
543
+ {
544
+ "type": "text",
545
+ "text": "In the interest of reducing this space of tuning we turn to adaptive optimizers, where we can at least reduce one dimension of this search space. These approaches automatically adapt over the learning rate $\\alpha$ , requiring us to tune only over the clipping norm $C$ . But recall our key question: can we train models that perform competitively with the fine-tuned counterparts from DPSGD? ",
546
+ "bbox": [
547
+ 169,
548
+ 503,
549
+ 825,
550
+ 559
551
+ ],
552
+ "page_idx": 5
553
+ },
554
+ {
555
+ "type": "text",
556
+ "text": "Adam [KB14], the canonical adaptive optimizer introduces two new hyperparameters, which are the first and second moment exponential decay parameters ( $\\beta _ { 1 }$ and $\\beta _ { 2 }$ ). In the non-private setting, these parameters are relatively insensitive, and default values of $\\alpha = 0 . 0 0 1 , \\beta _ { 1 } = 0 . 9$ , and $\\beta _ { 2 } = 0 . 9 9 9$ are recommended based on empirical findings, requiring no additional tuning for this hyperparameter triple. Hence before we compare DPAdam and DPSGD, we first find and establish such recommended values for this hyperparameter triple in the DP setting next, and then show that DPAdam with a small hyperparameter space performs competitively with DPSGD in Section 5. ",
557
+ "bbox": [
558
+ 166,
559
+ 566,
560
+ 825,
561
+ 664
562
+ ],
563
+ "page_idx": 5
564
+ },
565
+ {
566
+ "type": "text",
567
+ "text": "252 To establish default choices of $\\alpha$ , $\\beta _ { 1 }$ , and $\\beta _ { 2 }$ for DPAdam, we evaluate this private optimizer over four \n253 diverse datasets (details in Appendix B, Table 2) and two learning models including logistic regression \n254 and a neural network with one 100 neurons hidden layer (TLNN). These selected datasets include \n255 both low-dimensional data (where the number of samples greatly outnumbers the dimensionality) and \n256 high-dimensional data (where the number of samples and dimensionality are at same scale). Since \n257 we still have a large hyperparameter space to tune over, for the rest of this work, we fix a constant lot \n258 size $L = 2 5 0$ ), and consider tuning over three different noise levels, $\\sigma \\in [ 2 , 4 , 8 ]$ , so that we can \n259 study the effects of tuning the other hyperparameters more thoroughly. All experiments are repeated \n260 three times and averaged before reporting. Additionally, in this particular experiment since we focus \n261 on $\\alpha , \\beta _ { 1 }$ , and $\\beta _ { 2 }$ , we also fix the clipping threshold $C = 0 . 5$ , and $T = 2 5 0 0$ iterations of training. \n262 For each dataset and model, we run DPAdam three times with hyperparameters $( \\alpha , \\beta _ { 1 } , \\beta _ { 2 } )$ from the \n263 grids, $\\alpha \\in [ 0 . 0 0 1 , 0 . 0 5 , 0 . 0 1 , 0 . 2 , 0 . 5$ ], $\\beta _ { 1 } , \\beta _ { 2 } \\in [ 0 . 8 , 0 . 8 5 , 0 . 9 , 0 . 9 5 , 0 . 9 9 . 0 . 9 9 9 ]$ . \n264 We show that the default hyperparameter choice $( \\alpha , \\beta _ { 1 } , \\beta _ { 2 } )$ of Adam in the non-private setting also \n265 works well for DPAdam. Figure 3 shows the boxplots of testing accuracies of DPAdam over the \n266 different hyperparameter choices. When $\\alpha$ is 0.001 (same as in the non-private setting), all the \n267 datasets and models have final testing accuracies (marked in black) close to the best possible (and \n268 in most cases it is in fact the best) accuracy. Furthermore, we also highlight the accuracy of the \n269 suggested default choice $( \\alpha = 0 . 0 0 1 , \\beta _ { 1 } = 0 . 9 , \\beta _ { 2 } = 0 . 9 9 9 )$ using gold dots. Hence, for the ease of \n270 using DPAdam, we suggest the non-private default values for these parameters in the private setting \n271 as well and hence in all our subsequent experiments. ",
568
+ "bbox": [
569
+ 140,
570
+ 670,
571
+ 825,
572
+ 837
573
+ ],
574
+ "page_idx": 5
575
+ },
576
+ {
577
+ "type": "text",
578
+ "text": "",
579
+ "bbox": [
580
+ 140,
581
+ 842,
582
+ 823,
583
+ 911
584
+ ],
585
+ "page_idx": 5
586
+ },
587
+ {
588
+ "type": "image",
589
+ "img_path": "images/07b3acf8c43c0c543b3db127cea0f262ac95a45815938bafb21b45bbc241b8a1.jpg",
590
+ "image_caption": [
591
+ "Figure 4: Comparing the testing accuracy curves of DPAdam, DPSGD and DPMomentum models across their hyperparameter tuning grids with $\\sigma = 4$ . The limits for y-axis are adjusted based on the dataset while maintaining a $15 \\%$ range for all. "
592
+ ],
593
+ "image_footnote": [],
594
+ "bbox": [
595
+ 179,
596
+ 93,
597
+ 816,
598
+ 301
599
+ ],
600
+ "page_idx": 6
601
+ },
602
+ {
603
+ "type": "text",
604
+ "text": "",
605
+ "bbox": [
606
+ 143,
607
+ 371,
608
+ 825,
609
+ 412
610
+ ],
611
+ "page_idx": 6
612
+ },
613
+ {
614
+ "type": "text",
615
+ "text": "5 Advantages of tuning using DPAdam ",
616
+ "text_level": 1,
617
+ "bbox": [
618
+ 161,
619
+ 433,
620
+ 513,
621
+ 450
622
+ ],
623
+ "page_idx": 6
624
+ },
625
+ {
626
+ "type": "text",
627
+ "text": "In the non-private setting, adaptive optimizers like Adam enjoy a smaller hyperparameter tuning space than SGD. We ask two questions in this section. First, can DPAdam (with little tuning) achieve accuracy comparable to a well-tuned DPSGD? Second, what is the privacy-accuracy tradeoff one incurs when using either of the two methods we detail in Section 3 for hyperparameter selection. ",
628
+ "bbox": [
629
+ 173,
630
+ 465,
631
+ 825,
632
+ 520
633
+ ],
634
+ "page_idx": 6
635
+ },
636
+ {
637
+ "type": "text",
638
+ "text": "To answer both questions, we compare DPAdam and DPSGD over the same set of datasets and models from the previous section. We report the accuracy of DPSGD with a range of learning rates and clipping values shown in Table 3 (Appendix C), and the testing accuracy of DPAdam with default parameter choice from Section 4.2 $\\mathbf { \\Phi } _ { \\mathrm { { ( } } \\alpha } = 0 . 0 0 1 $ , $\\beta _ { 1 } = 0 . 9$ , $\\beta _ { 2 } = 0 . 9 9 9 \\rangle$ ) and a range of clipping values $C$ in Table 3. In total, DPSGD has 40 candidates to tune over, and DPAdam has 4. This is because we have shown in Section 4.1 that DPSGD needs a wide grid to obtain the best accuracy when data distributions are unknown. Additionally, we also consider the DPMomentum optimizer. Similar to how we searched for default tuning choices for DPAdam in Section 4.2, we investigate if there exists a qualitatively good choice for the momentum hyperparameter, and unfortunately our results show that there is no such choice. We detail this process in the supplement. ",
639
+ "bbox": [
640
+ 173,
641
+ 527,
642
+ 825,
643
+ 665
644
+ ],
645
+ "page_idx": 6
646
+ },
647
+ {
648
+ "type": "text",
649
+ "text": "In order to show the comparison from both sides of the privacy-accuracy tradeoff, we compare the three optimizers through i) the privacy cost when extracting the best accuracy from these optimizers, and ii) the accuracy one would obtain from them under the tight privacy constraints. ",
650
+ "bbox": [
651
+ 174,
652
+ 671,
653
+ 825,
654
+ 714
655
+ ],
656
+ "page_idx": 6
657
+ },
658
+ {
659
+ "type": "text",
660
+ "text": "5.1 Prioritizing Accuracy ",
661
+ "text_level": 1,
662
+ "bbox": [
663
+ 173,
664
+ 731,
665
+ 362,
666
+ 746
667
+ ],
668
+ "page_idx": 6
669
+ },
670
+ {
671
+ "type": "text",
672
+ "text": "For brevity, we show experiments for $\\sigma = 4$ in Figure 4, results for other values of $\\sigma$ are displayed in the supplement. For each dataset and model, we train three times for each hyperparameter candidate and report the max every 100 iterations, corresponding to the dark lines for each optimizer. We note that their maxima are extremely similar. However, Table 1 shows the final privacy costs incurred by each of these max accuracy lines, and reflects our claims from Section 3.1 that using fewer hyperparameter candidates and composing privacy via MA gives a much tighter privacy guarantee. ",
673
+ "bbox": [
674
+ 174,
675
+ 757,
676
+ 825,
677
+ 840
678
+ ],
679
+ "page_idx": 6
680
+ },
681
+ {
682
+ "type": "text",
683
+ "text": "5.2 Prioritizing Privacy ",
684
+ "text_level": 1,
685
+ "bbox": [
686
+ 174,
687
+ 857,
688
+ 349,
689
+ 872
690
+ ],
691
+ "page_idx": 6
692
+ },
693
+ {
694
+ "type": "text",
695
+ "text": "298 Additionally in Figure 4, DPSGD and DPMomentum have pastel dotted lines corresponding to their \n299 mean accuracy attained using the MA composition that provides the tightest privacy guarantees for \n300 DPAdam. These pastel lines are the mean accuracies (with $9 5 \\%$ CI) from 100 repetitions of this \n301 experiment. Since DPAdam has only 4 hyperparameter candidates, for this experiment, we sample 4 \n302 of the candidates at random for DPSGD and DPMomentum so that they all incur the same privacy \n303 cost. Since the candidate pool is significantly larger for DPSGD and DPMomentum, we additionally \n304 scrutinize the parameter grid for them and prune the learning rates that perform poorly. Our pruning \n305 process (detailed in the supplement) is quite generous, and favours minimizing the hyperparameter \n306 space of DPSGD and DPMomentum as much possible. 1 Despite the pruning advantage we see that \n307 these optimizers perform subpar than DPAdam when constrained with tight privacy requirements. ",
696
+ "bbox": [
697
+ 148,
698
+ 882,
699
+ 825,
700
+ 911
701
+ ],
702
+ "page_idx": 6
703
+ },
704
+ {
705
+ "type": "table",
706
+ "img_path": "images/d648132f339708e2828118f02524b4f14b1f2690ba9332a73a027272917f0a3f.jpg",
707
+ "table_caption": [
708
+ "Table 1: Final $\\varepsilon$ (at $\\delta \\ : = \\ : 1 0 ^ { - 6 }$ ) for optimizers for the LR Models (Figure 4). DPSGD and DPMomentum use LT for privacy accounting; DPAdam uses MA. "
709
+ ],
710
+ "table_footnote": [],
711
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Dataset</td><td rowspan=1 colspan=1>DPSGD (LT)</td><td rowspan=1 colspan=1>DPMomentum (LT)</td><td rowspan=1 colspan=1>DPAdam (MA)</td></tr><tr><td rowspan=1 colspan=1>Adult</td><td rowspan=1 colspan=1>5.01</td><td rowspan=1 colspan=1>5.23</td><td rowspan=1 colspan=1>1.91</td></tr><tr><td rowspan=1 colspan=1>ENRON</td><td rowspan=1 colspan=1>30.86</td><td rowspan=1 colspan=1>32.31</td><td rowspan=1 colspan=1>12.80</td></tr><tr><td rowspan=1 colspan=1>Gisette</td><td rowspan=1 colspan=1>26.40</td><td rowspan=1 colspan=1>27.64</td><td rowspan=1 colspan=1>10.76</td></tr><tr><td rowspan=1 colspan=1>MNIST</td><td rowspan=1 colspan=1>3.01</td><td rowspan=1 colspan=1>3.14</td><td rowspan=1 colspan=1>1.14</td></tr></table>",
712
+ "bbox": [
713
+ 173,
714
+ 88,
715
+ 589,
716
+ 156
717
+ ],
718
+ "page_idx": 7
719
+ },
720
+ {
721
+ "type": "text",
722
+ "text": "",
723
+ "bbox": [
724
+ 140,
725
+ 188,
726
+ 825,
727
+ 299
728
+ ],
729
+ "page_idx": 7
730
+ },
731
+ {
732
+ "type": "text",
733
+ "text": "308 6 DPAdam without second moment: DPAdamWOSM ",
734
+ "text_level": 1,
735
+ "bbox": [
736
+ 145,
737
+ 320,
738
+ 627,
739
+ 337
740
+ ],
741
+ "page_idx": 7
742
+ },
743
+ {
744
+ "type": "text",
745
+ "text": "309 As illustrated in the previous section, adaptivity can indeed be a boon, enabling DPAdam to match \n310 the performance of tuned DPSGD while consuming roughly a third of the privacy budget as seen \n311 in Table 1. However, in addition to a decaying average of the past gradient updates, DPAdam \n312 also requires maintaining a decaying average of their second moments. In this section, we design \n313 DPAdamWOSM, a new DP optimizer that operates only using a decaying average of past gradients, \n314 as well as eliminates the need to tune the learning rate parameter. We achieve this by analyzing the \n315 convergence behavior of the second-moment decaying average in DPAdam in regimes where the scale \n316 of noise added is much higher than the scale of the clipped gradients. Setting the effective step size \n317 (ESS) of DPAdam to the converged constant, and removing all computations related to the second \n318 moment updates, results in DPAdamWOSM. We empirically demonstrate that DPAdamWOSM \n319 matches the utility of DPAdam, while requiring less computation than DPAdam. \n320 Observe that removing the second-moment updates from DPAdam reduces it to DPMomentum with \n321 one additional feature: bias-correction to the first-moment decaying average, which DPAdam does \n322 to account for its initialization at the origin. While the resultant optimizer still requires tuning the \n323 learning rate (in addition to other hyperparameters like the clipping threshold), DPAdamWOSM can \n324 be viewed as self-tuning the learning rate by fixing it to the converged effective step size in DPAdam. ",
746
+ "bbox": [
747
+ 143,
748
+ 353,
749
+ 825,
750
+ 505
751
+ ],
752
+ "page_idx": 7
753
+ },
754
+ {
755
+ "type": "text",
756
+ "text": "",
757
+ "bbox": [
758
+ 143,
759
+ 511,
760
+ 825,
761
+ 580
762
+ ],
763
+ "page_idx": 7
764
+ },
765
+ {
766
+ "type": "text",
767
+ "text": "6.1 Effective step size (ESS) in DPAdam ",
768
+ "text_level": 1,
769
+ "bbox": [
770
+ 160,
771
+ 598,
772
+ 464,
773
+ 613
774
+ ],
775
+ "page_idx": 7
776
+ },
777
+ {
778
+ "type": "text",
779
+ "text": "DPAdam produces results with a smaller variance than DPSGD due to its adaptive learning rate. To understand this phenomenon better, we look closely into the update step of DPAdam [KB14]. DPAdam being an adaptive optimizer picks per-parameter ESS as $\\frac { \\alpha } { \\sqrt { \\hat { v } _ { t } } + \\xi }$ , which is the base learning rate $\\alpha$ scaled by the second moment of the individual parameter gradients. We notice that when $g \\to 0$ , the ESS for DPAdam converges for the first moment gradient, which innately accounts for the clip bound one is training with. This may happen at later iterations, when the model is close to its minima and the gradients get close to zero. ",
780
+ "bbox": [
781
+ 171,
782
+ 625,
783
+ 825,
784
+ 726
785
+ ],
786
+ "page_idx": 7
787
+ },
788
+ {
789
+ "type": "text",
790
+ "text": "Theorem 3. The effective step size (ESS) for DPAdam with g → 0 converges to ESS∗ = α(σC/L)+ξ33 . ",
791
+ "bbox": [
792
+ 156,
793
+ 729,
794
+ 825,
795
+ 756
796
+ ],
797
+ "page_idx": 7
798
+ },
799
+ {
800
+ "type": "text",
801
+ "text": "Proof. Recall that the average noisy gradient over a lot is $\\tilde { g } = g + { \\mathcal N } ( 0 , \\sigma ^ { 2 } C ^ { 2 } ) / L$ . We now look at the effect of this noisy gradient on the effective step size (ESS) of DPAdam. As $g \\to 0$ , the second moment of DPAdam converges to $\\frac { \\sigma ^ { 2 } C ^ { 2 } } { L ^ { 2 } }$ This gives us the converging value for ESS: ",
802
+ "bbox": [
803
+ 168,
804
+ 770,
805
+ 825,
806
+ 816
807
+ ],
808
+ "page_idx": 7
809
+ },
810
+ {
811
+ "type": "equation",
812
+ "img_path": "images/88d3d3eadfd84fcb53ade4fbf8930cd049953964d54dcf0a25486070f7350b92.jpg",
813
+ "text": "$$\nE S S ^ { * } = \\frac { \\alpha } { \\sqrt { \\hat { v } _ { t } } + \\xi } = \\frac { \\alpha } { \\sqrt { \\frac { \\sigma ^ { 2 } C ^ { 2 } } { L ^ { 2 } } } + \\xi } = \\frac { \\alpha } { \\left( \\sigma C / L \\right) + \\xi }\n$$",
814
+ "text_format": "latex",
815
+ "bbox": [
816
+ 328,
817
+ 824,
818
+ 668,
819
+ 866
820
+ ],
821
+ "page_idx": 7
822
+ },
823
+ {
824
+ "type": "image",
825
+ "img_path": "images/400b3e3a256416bb3bc94337e26d69e1a0cc1a23efdd2f9799cfef51025cb0e7.jpg",
826
+ "image_caption": [
827
+ "Figure 5: Comparing the testing accuracy curves of DPAdam, ADADP and DPAdamWOSM models across hyperparameter tuning grid from Table 3 with $\\sigma = 4$ . The limits for the y-axes are adjusted based on the dataset while maintaining a $15 \\%$ range for all. "
828
+ ],
829
+ "image_footnote": [],
830
+ "bbox": [
831
+ 179,
832
+ 93,
833
+ 816,
834
+ 303
835
+ ],
836
+ "page_idx": 8
837
+ },
838
+ {
839
+ "type": "text",
840
+ "text": "337 Theorem 3 gives a closed form expression that ESS converges to. We can use this value in place \n338 of $\\frac { \\alpha } { \\sqrt { \\hat { v } _ { t } } + \\xi }$ in the update step from the inception of the learning process. Since the second-moment \n339 updates (e.g., $\\hat { v } _ { t }$ ) are not used anymore, removing them results in our new optimizer DPAdamWOSM. \n340 We provide a pseudo-code for DPAdamWOSM in the appendix. ",
841
+ "bbox": [
842
+ 142,
843
+ 393,
844
+ 825,
845
+ 453
846
+ ],
847
+ "page_idx": 8
848
+ },
849
+ {
850
+ "type": "text",
851
+ "text": "341 6.2 Comparing Adaptive Optimizers ",
852
+ "text_level": 1,
853
+ "bbox": [
854
+ 148,
855
+ 479,
856
+ 441,
857
+ 496
858
+ ],
859
+ "page_idx": 8
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "342 We evaluate DPAdamWOSM by running it alongside DPAdam and ADADP with the same hyperpa \n343 rameter grid in the appendix. For brevity, we show experiments on $\\sigma = 4$ and others appear in the \n344 supplement. In Figure 5, we show the maximum and median accuracy curves for all the optimizers. \n345 We display the median accuracy curves (shown in dotted), as an indicator of the quality of the entire \n346 pool of hyperparameter candidates for a given optimizer; which in this case is strictly over the choices \n347 of clip. The max lines for ADADP lies beneath DPAdam and DPAdamWOSM for all dataset except \n348 Adult. Also, the max accuracy line for DPAdamWOSM runs alongside DPAdam which means that \n349 it can perform as good as DPAdam throughout training. The median line for DPAdamWOSM also \n350 performs alongside DPAdam and in some cases is able to beat it (e.g, the median for DPAdamWOSM \n351 for MNIST-LR and MNIST-TLNN lies above the median line of DPAdam). This occurrence is seen \n352 because DPAdamWOSM uses the converged ESS from the first iteration of training. ",
864
+ "bbox": [
865
+ 140,
866
+ 510,
867
+ 825,
868
+ 662
869
+ ],
870
+ "page_idx": 8
871
+ },
872
+ {
873
+ "type": "text",
874
+ "text": "353 7 Conclusion ",
875
+ "text_level": 1,
876
+ "bbox": [
877
+ 143,
878
+ 693,
879
+ 299,
880
+ 710
881
+ ],
882
+ "page_idx": 8
883
+ },
884
+ {
885
+ "type": "text",
886
+ "text": "354 In this paper, we performed a thorough investigation of honest hyperparameter selection for DP \n355 Optimizers. We compared two existing private methods, LT and MA to search for hyperparameter \n356 candidates and showed that, the former incurs a significant privacy cost but can compose a great many \n357 candidates, while the latter is helpful when the number of candidates is small. Next, we explored \n358 connections between the clipping norm and the step size hyperparameter to show an inverse relation \n359 ship between them. Additionally, we compared non-adaptive and adaptive optimizers, demonstrating \n360 that the latter typically achieves more consistent performance over a variety of hyperparameter \n361 settings. This can be vital for applications where public data is scarce, resulting in difficulties when \n362 tuning hyperparameters. Finally, we brought to light that DPAdam converges to a static learning rate \n363 when the noise starts dominating the gradients. This insight allowed us to derive a novel optimizer \n364 DPAdamWOSM, a variant of DPAdam which avoids the second-moment computation and enjoys \n365 better accuracy especially at earlier iterations. Future work remains to investigate further implications \n366 of these results to provide tuning-free end-to-end private ML optimizers. \n367 References \n368 $[ \\mathrm { A C G ^ { + } } 1 6 ]$ Martin Abadi, Andy Chu, Ian Goodfellow, H. Brendan McMahan, Ilya Mironov, Kunal \n369 Talwar, and Li Zhang. Deep learning with differential privacy. In Proceedings of the \n370 2016 ACM SIGSAC Conference on Computer and Communications Security (CCS’16), \n371 2016. \n372 $[ \\mathrm { A G D } ^ { + } 2 0 ]$ Brendan Avent, Javier González, Tom Diethe, Andrei Paleyes, and Borja Balle. Auto \n373 matic discovery of privacy–utility pareto fronts. Proceedings on Privacy Enhancing \n374 Technologies, 2020(4):5–23, 2020. \n375 [BBG18] Borja Balle, Gilles Barthe, and Marco Gaboardi. Privacy amplification by subsampling: \n376 Tight analyses via couplings and divergences. In Advances in Neural Information \n377 Processing Systems 31, NeurIPS ’18, pages 6277–6287. Curran Associates, Inc., 2018. \n378 [BST14] Raef Bassily, Adam D. Smith, and Abhradeep Thakurta. Private empirical risk min \n379 imization: Efficient algorithms and tight error bounds. In FOCS, pages 464–473, \n380 2014. \n381 $[ \\mathrm { C L E ^ { + } } 1 9 ]$ Nicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos, and Dawn Song. The secret \n382 sharer: Evaluating and testing unintended memorization in neural networks. In $2 8 t h$ \n383 USENIX Security Symposium (USENIX Security 19), pages 267–284, Santa Clara, CA, \n384 August 2019. USENIX Association. \n385 [CMS11] Kamalika Chaudhuri, Claire Monteleoni, and Anand D Sarwate. Differentially private \n386 empirical risk minimization. Journal of Machine Learning Research, 12(3), 2011. \n387 [CV13] Kamalika Chaudhuri and Staal A Vinterbo. A stability-based validation procedure for \n388 differentially private machine learning. Advances in Neural Information Processing \n389 Systems, 26:2652–2660, 2013. \n390 [DHS11] John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online \n391 learning and stochastic optimization. Journal of machine learning research, 12(7), \n392 2011. \n393 $\\mathrm { [ D K M ^ { + } 0 6 ] }$ Cynthia Dwork, Krishnaram Kenthapadi, Frank McSherry, Ilya Mironov, and Moni \n394 Naor. Our data, ourselves: Privacy via distributed noise generation. In EUROCRYPT, \n395 volume 4004, pages 486–503. Springer, 2006. \n396 [DMNS06] Cynthia Dwork, Frank McSherry, Kobbi Nissim, and Adam Smith. Calibrating noise to \n397 sensitivity in private data analysis. In Proceedings of the 3rd Conference on Theory of \n398 Cryptography, TCC ’06, pages 265–284, 2006. \n399 [FJR15] Matt Fredrikson, Somesh Jha, and Thomas Ristenpart. Model inversion attacks that \n400 exploit confidence information and basic countermeasures. In Proceedings of the 22nd \n401 ACM SIGSAC Conference on Computer and Communications Security (CCS’15), 2015. \n402 [GAYB17] R. Gylberth, R. Adnan, S. Yazid, and T. Basaruddin. Differentially private optimization \n403 algorithms for deep neural networks. In 2017 International Conference on Advanced \n404 Computer Science and Information Systems (ICACSIS), pages 387–394, 2017. \n405 [HSS12] Geoffrey Hinton, Nitish Srivastava, and Kevin Swersky. Neural networks for machine \n406 learning lecture 6a overview of mini-batch gradient descent. Cited on, 14(8), 2012. \n407 [HZC21] Xin He, Kaiyong Zhao, and Xiaowen Chu. Automl: A survey of the state-of-the-art. \n408 Knowledge-Based Systems, 212:106622, 2021. \n409 [KB14] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv \n410 preprint arXiv:1412.6980, 2014. \n411 [KGGW15] Matt Kusner, Jacob Gardner, Roman Garnett, and Kilian Weinberger. Differentially \n412 private bayesian optimization. In International conference on machine learning, pages \n413 918–927. PMLR, 2015. \n414 [KH20] Antti Koskela and Antti Honkela. Learning rate adaptation for differentially private \n415 learning. In International Conference on Artificial Intelligence and Statistics, pages \n416 2465–2475. PMLR, 2020. \n417 [KOV15] Peter Kairouz, Sewoong Oh, and Pramod Viswanath. The composition theorem for \n418 differential privacy. In International conference on machine learning, pages 1376–1385. \n419 PMLR, 2015. \n420 [LT19] Jingcheng Liu and Kunal Talwar. Private selection from private candidates. In Pro \n421 ceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, pages \n422 298–309, 2019. \n423 $\\mathrm { [ M A E ^ { + } 1 8 ] }$ H Brendan McMahan, Galen Andrew, Ulfar Erlingsson, Steve Chien, Ilya Mironov, \n424 Nicolas Papernot, and Peter Kairouz. A general approach to adding differential privacy \n425 to iterative training procedures. arXiv preprint arXiv:1812.06210, 2018. \n426 [NSH19] M. Nasr, R. Shokri, and A. Houmansadr. Comprehensive privacy analysis of deep learn \n427 ing: Passive and active white-box inference attacks against centralized and federated \n428 learning. In 2019 IEEE Symposium on Security and Privacy (SP’19), 2019. \n429 $[ \\mathrm { P C S ^ { + } } 2 0 ]$ Nicolas Papernot, Steve Chien, Shuang Song, Abhradeep Thakurta, and Ulfar Erlingsson. \n430 Making the shoe fit: Architectures, initializations, and tuning for learning with privacy, \n431 2020. \n432 [Qia99] Ning Qian. On the momentum term in gradient descent learning algorithms. Neural \n433 Networks, 1999. \n434 [RHW86] David E Rumelhart, Geoffrey E Hinton, and Ronald J Williams. Learning representations \n435 by back-propagating errors. nature, 323(6088):533–536, 1986. \n436 $[ \\mathbf { R } \\mathbf { T } \\mathbf { M } ^ { + } 2 0 ]$ Swaroop Ramaswamy, Om Thakkar, Rajiv Mathews, Galen Andrew, H Brendan McMa \n437 han, and Françoise Beaufays. Training production language models without memorizing \n438 user data. arXiv preprint arXiv:2009.10031, 2020. \n439 [SCS13] Shuang Song, Kamalika Chaudhuri, and Anand D. Sarwate. Stochastic gradient descent \n440 with differentially private updates. In GlobalSIP, pages 245–248, 2013. \n441 [SRS17] Congzheng Song, Thomas Ristenpart, and Vitaly Shmatikov. Machine learning models \n442 that remember too much. In Proceedings of the 2017 ACM SIGSAC Conference on \n443 Computer and Communications Security (CCS’17), 2017. \n444 [SSA13] Kevin Swersky, Jasper Snoek, and Ryan P Adams. Multi-task bayesian optimization. \n445 Advances in Neural Information Processing Systems, 26:2004–2012, 2013. \n446 [SSSS17] R. Shokri, M. Stronati, C. Song, and V. Shmatikov. Membership inference attacks \n447 against machine learning models. In 2017 IEEE Symposium on Security and Privacy \n448 (SP), 2017. \n449 [TB21] Florian Tramer and Dan Boneh. Differentially private learning needs better features (or \n450 much more data). In International Conference on Learning Representations, 2021. \n451 [WM10] Oliver Williams and Frank McSherry. Probabilistic inference and differential privacy. \n452 In NIPS, pages 2451–2459, 2010. \n453 $[ \\mathrm { Y L P ^ { + } } 1 9 ]$ L. Yu, L. Liu, C. Pu, M. E. Gursoy, and S. Truex. Differentially Private Model Publishing \n454 for Deep Learning. In 2019 IEEE Symposium on Security and Privacy (SP’19), 2019. \n455 $[ \\boldsymbol { Z } \\mathrm { F M } ^ { + } 2 0 ]$ Pan Zhou, Jiashi Feng, Chao Ma, Caiming Xiong, Steven HOI, et al. Towards theo \n456 retically understanding why sgd generalizes better than adam in deep learning. arXiv \n457 preprint arXiv:2010.05627, 2020. ",
887
+ "bbox": [
888
+ 140,
889
+ 731,
890
+ 825,
891
+ 911
892
+ ],
893
+ "page_idx": 8
894
+ },
895
+ {
896
+ "type": "text",
897
+ "text": "",
898
+ "bbox": [
899
+ 137,
900
+ 64,
901
+ 828,
902
+ 915
903
+ ],
904
+ "page_idx": 9
905
+ },
906
+ {
907
+ "type": "text",
908
+ "text": "",
909
+ "bbox": [
910
+ 135,
911
+ 46,
912
+ 830,
913
+ 867
914
+ ],
915
+ "page_idx": 10
916
+ },
917
+ {
918
+ "type": "text",
919
+ "text": "1. For all authors... ",
920
+ "bbox": [
921
+ 214,
922
+ 132,
923
+ 341,
924
+ 147
925
+ ],
926
+ "page_idx": 11
927
+ },
928
+ {
929
+ "type": "text",
930
+ "text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] \n(c) Did you discuss any potential negative societal impacts of your work? [Yes] \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
931
+ "bbox": [
932
+ 238,
933
+ 164,
934
+ 825,
935
+ 277
936
+ ],
937
+ "page_idx": 11
938
+ },
939
+ {
940
+ "type": "text",
941
+ "text": "2. If you are including theoretical results... ",
942
+ "bbox": [
943
+ 214,
944
+ 294,
945
+ 495,
946
+ 309
947
+ ],
948
+ "page_idx": 11
949
+ },
950
+ {
951
+ "type": "text",
952
+ "text": "(a) Did you state the full set of assumptions of all theoretical results? [Yes] (b) Did you include complete proofs of all theoretical results? [Yes] ",
953
+ "bbox": [
954
+ 235,
955
+ 327,
956
+ 735,
957
+ 366
958
+ ],
959
+ "page_idx": 11
960
+ },
961
+ {
962
+ "type": "text",
963
+ "text": "3. If you ran experiments... ",
964
+ "bbox": [
965
+ 212,
966
+ 382,
967
+ 393,
968
+ 397
969
+ ],
970
+ "page_idx": 11
971
+ },
972
+ {
973
+ "type": "text",
974
+ "text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] ",
975
+ "bbox": [
976
+ 238,
977
+ 415,
978
+ 826,
979
+ 555
980
+ ],
981
+ "page_idx": 11
982
+ },
983
+ {
984
+ "type": "text",
985
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
986
+ "bbox": [
987
+ 210,
988
+ 571,
989
+ 823,
990
+ 588
991
+ ],
992
+ "page_idx": 11
993
+ },
994
+ {
995
+ "type": "text",
996
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] \n(b) Did you mention the license of the assets? [Yes] \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] ",
997
+ "bbox": [
998
+ 236,
999
+ 603,
1000
+ 823,
1001
+ 741
1002
+ ],
1003
+ "page_idx": 11
1004
+ },
1005
+ {
1006
+ "type": "text",
1007
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1008
+ "bbox": [
1009
+ 214,
1010
+ 757,
1011
+ 704,
1012
+ 772
1013
+ ],
1014
+ "page_idx": 11
1015
+ },
1016
+ {
1017
+ "type": "text",
1018
+ "text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
1019
+ "bbox": [
1020
+ 238,
1021
+ 790,
1022
+ 825,
1023
+ 893
1024
+ ],
1025
+ "page_idx": 11
1026
+ }
1027
+ ]
parse/train/bMLeGGwptZk/bMLeGGwptZk_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/bMLeGGwptZk/bMLeGGwptZk_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/nIL7Q-p7-Sh/nIL7Q-p7-Sh.md ADDED
@@ -0,0 +1,292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto-Encoding Knowledge Graph for Unsupervised Medical Report Generation
2
+
3
+ Fenglin Liu1,2, Chenyu $\mathbf { V o u } ^ { 4 }$ , Xian $\mathbf { W } \mathbf { u } ^ { 5 }$ , Shen $\mathbf { G e ^ { 5 } }$ , Sheng Wang3∗, $\mathbf { X } \mathbf { u } \mathbf { S } \mathbf { u } \mathbf { n } ^ { 1 * }$
4
+ 1MOE Key Laboratory of Computational Linguistics, School of EECS, Peking University 2School of ECE, Peking University
5
+ 3Paul G. Allen School of Computer Science and Engineering, University of Washington 4Department of Electrical Engineering, Yale University 5Tencent {fenglinliu98, xusun}@pku.edu.cn, chenyu.you@yale.edu {kevinxwu, shenge}@tencent.com, swang@cs.washington.edu
6
+
7
+ # Abstract
8
+
9
+ Medical report generation, which aims to automatically generate a long and coherent report of a given medical image, has been receiving growing research interests. Existing approaches mainly adopt a supervised manner and heavily rely on coupled image-report pairs. However, in the medical domain, building a large-scale image-report paired dataset is both time-consuming and expensive. To relax the dependency on paired data, we propose an unsupervised model Knowledge Graph Auto-Encoder (KGAE) which accepts independent sets of images and reports in training. KGAE consists of a pre-constructed knowledge graph, a knowledgedriven encoder and a knowledge-driven decoder. The knowledge graph works as the shared latent space to bridge the visual and textual domains; The knowledge-driven encoder projects medical images and reports to the corresponding coordinates in this latent space and the knowledge-driven decoder generates a medical report given a coordinate in this space. Since the knowledge-driven encoder and decoder can be trained with independent sets of images and reports, KGAE is unsupervised. The experiments show that the unsupervised KGAE generates desirable medical reports without using any image-report training pairs. Moreover, KGAE can also work in both semi-supervised and supervised settings, and accept paired images and reports in training. By further fine-tuning with image-report pairs, KGAE consistently outperforms the current state-of-the-art models on two datasets.
10
+
11
+ # 1 Introduction
12
+
13
+ Medical images, such as radiology and pathology images, and their corresponding reports are widely used for clinical diagnosis and treatment [8, 11]. A medical report is usually a paragraph of multiple sentences which describes both the normal and abnormal findings in the medical image. In clinical practice, writing a report can be time-consuming and tedious for experienced radiologists, and error-prone for inexperienced radiologists [4]. Therefore, given the large volume of medical images, automatically generating reports can improve current clinical practice in diagnostic radiology and assist radiologists in clinical decision-making [15, 25]. Specifically, it can relieve radiologists from such heavy workload and alert radiologists of the abnormalities to avoid misdiagnosis and missed diagnosis. Therefore, automatic medical report generation attracts remarkable attention in both artificial intelligence and clinical medicine.
14
+
15
+ Recently, inspired by the great success of neural machine translation [2, 38, 49, 50, 48], image captioning [44, 39, 46, 28, 30, 29] and medical imaging analysis [47, 51, 52], the data-driven deep neural models, particularly those based on the encoder-decoder frameworks [15, 16, 25, 22, 41, 45, 53, 54, 6], have achieved great success in advancing the state-of-the-art of medical report generation. However, these models are trained in a supervised learning manner and heavily rely on labeled paired image-report datasets [9, 17], which are not easy to acquire in the real world. Specifically, the medical-related data can only be manually labeled by professional radiologists, and also involves privacy issues. Therefore, the medical report generation datasets are particularly labor-intensive and expensive to obtain. As a result, the scales of existing widely-used datasets for medical report generation models [16, 25, 22, 23], i.e., MIMIC-CXR (0.22M samples) [17] and IU X-ray (4K samples) [9], are relatively small compared to image recognition datasets, e.g., ImageNet (14M samples) [10], and image captioning datasets, e.g., Conceptual Captions (3.3M samples) [36]. In addition, the MIMIC-CXR and IU X-Ray datasets only include Chest X-Ray images, for other types of medical images (MRI, Dermoscopy, Retinal, etc.) of other body parts (brain, skin, eye, etc.), the image-report pairs could be much less or even unavailable. Therefore, to relax the reliance on the paired data sets, making use of all available data, like independent image or report sets, is becoming increasingly important.
16
+
17
+ ![](images/afd8a513e722a0d7580732c419f634a6b81e954681b7596839e01ae7aa180bf4.jpg)
18
+ Figure 1: Illustration of our Knowledge Graph Auto-Encoder, which consists of a pre-constructed knowledge graph, a knowledge-driven encoder and a knowledge-driven decoder. The Green and Red lines denote the data flow in the training process and testing process of report generation, respectively.
19
+
20
+ In this paper, we propose an unsupervised model Knowledge Graph Auto-Encoder (KGAE), which utilizes independent sets of images and reports in training (the image and report set are separate and have no overlap). KGAE consists of a pre-constructed knowledge graph, a knowledge-driven encoder and a knowledge-driven decoder. As shown in Figure 1, the knowledge graph works as the shared latent space of images and reports. The knowledge-driven encoder can take either the image $I$ or the report $R$ as queries and project them to corresponding coordinates $\mathcal { G } _ { I }$ and $\mathcal { G } _ { R }$ in the latent space. In this manner, since $\mathcal { G } _ { I }$ and $\mathcal { G } _ { R }$ share the same latent space, we can use positions in latent space to measure the relationship between images and reports which narrows the gap between visual and textual domains. In brief, to bridge the gap between vision and language domains without training on the pairs of images and reports, we adopt the knowledge graph to create a latent space and propose a knowledge-driven encoder, which includes a common mapping function to project images and reports to the same latent space. As a result, our encoder can extract the image and report knowledge representations, i.e., the knowledge related to the image and report, they (image, report knowledge) share the common latent space, which allows our model to bridge the gap between vision and language domains without the training on the pairs of image and report. Next, we introduce the knowledge-driven decoder to exploit $\mathcal { G } _ { I }$ and $\mathcal { G } _ { R }$ to generate the report. In the training stage, we estimate the parameters of the decoder by reconstructing the input report $R$ based on $\mathcal { G } _ { R }$ , i.e., $R \mathcal { G } _ { R } R$ auto-encoding pipeline; In the prediction stage, we directly input $\mathcal { G } _ { I }$ into the trained decoder to generate the report. In this way, our approach can produce desirable reports without any labeled image-report pairs.
21
+
22
+ Overall, the contributions of this paper are as follows:
23
+
24
+ • In this paper, we make the first attempt to conduct unsupervised medical report generation where the image-report pairs are not available. To this end, we propose the Knowledge Graph Auto-Encoder (KGAE). By leveraging a pre-constructed knowledge graph, we introduce the knowledge-driven encoder and decoder which are trained with independent sets of images and reports. According to the experimental results, the unsupervised KGAE can even outperform several supervised approaches.
25
+
26
+ • In addition to the unsupervised mode, KGAE can also be applied in a semi-supervised or supervised manner. Under the semi-supervised setting, by using only $60 \%$ of paired dataset, KGAE is able to achieve competitive results with current state-of-art models; Under the supervised setting, by training on fully paired datasets as in existing works, KGAE can set new state-of-the-art performances on the IU X-ray and MIMIC-CXR, respectively. • The analysis, both quantitative and qualitative, as well as a human evaluation conducted by professional radiologists, further proves the effectiveness of our approach.
27
+
28
+ # 2 Related Works
29
+
30
+ Medical report generation aims to generate a relatively long paragraph to describe a given medical image. It is similar to the image captioning task [5], which aims to generate a sentence to describe a given image. In image captioning, the encoder-decoder framework [39], where the encoder [20, 12] computes visual representations for the image and the decoder [13, 38] generates a target sentence based on the visual representations, has achieved great success [1, 31, 35, 44]. However, instead of only generating one single sentence, medical report generation aims to generate a long paragraph including multiple structured sentences that describe both the normal and abnormal parts [25, 15]. To this end, given the success of encoder-decoder framework on image captioning, most existing medical report generation models attempt to exploit the hierarchical LSTM (HLSTM) [15, 16, 19] or Transformer [6] to generate an accurate, long and coherent report. However, existing models require the paired image-report datasets, which are time-consuming and expensive to collect. In this paper, we propose the unsupervised model Knowledge Graph Auto-Encoder (KGAE) which doesn’t need paired images and reports.
31
+
32
+ Note that although the knowledge graph has been integrated in existing medical report generation models [54, 22], these approaches are supervised and require paired images and reports. Thus, their objectives and motivations of using knowledge graph are different from our work. In detail, existing knowledge-graph based medical report generation methods aim to adopt the knowledge graph to boost the performance of supervised models. However, in our work, we aim to generate a medical report without using any coupled image-report training pairs, i.e., unsupervised medical report generation. A key challenge of unsupervised medical report generation is to bridge the gap between vision and language domains. To this end, we adopt the knowledge graph to create a latent space and propose a knowledge-driven encoder to project image and report to the same latent space.
33
+
34
+ # 3 Approach
35
+
36
+ We first formulate the conventional supervised medical report generation problems; Then, we describe the proposed Knowledge Graph Auto-Encoder for unsupervised medical report generation in detail.
37
+
38
+ # 3.1 Conventional Supervised Medical Report Generation Models
39
+
40
+ Given a medical image $I$ , the goal is to generate a descriptive report $R$ . Most models [15, 16, 6] normally include an image encoder and a report decoder, which can be formulated as:
41
+
42
+ $$
43
+ { \mathrm { I m a g e ~ E n c o d e r : ~ } } I I ^ { \prime } ; { \mathrm { ~ ~ R e p o r t ~ D e c o d e r : ~ } } I ^ { \prime } R ,
44
+ $$
45
+
46
+ where $I ^ { \prime } \in \mathbb { R } ^ { N _ { I } \times d }$ denotes the image embeddings extracted by the image encoder, e.g., ResNet-50 [12]. Then, $I ^ { \prime }$ is used to guide the generation of the target report $R$ in the report decoder, e.g., LSTM [13] and Transformer [38]. During training, given the ground truth report for the input image, we can train the encoder-decoder model by minimizing a supervised training loss, e.g., cross-entropy loss. However, paired image-report $( I { - } R )$ datasets are particularly labor-intensive and expensive to obtain. Therefore, in this paper, we aim to relax the reliance on the paired datasets and make use of the independent sets of images and reports instead.
47
+
48
+ # 3.2 Knowledge Graph Auto-Encoder
49
+
50
+ As shown in Figure 1, the proposed KGAE includes a knowledge graph, a knowledge-driven encoder and a knowledge-driven decoder, which will be described in detail in the following sections.
51
+
52
+ Knowledge Graph The motivation of using the knowledge graph is that writing medical reports usually requires particular domain knowledge [11, 22]. Therefore, we can utilize the knowledge graph, which models the domain-specific knowledge structure, to serve as a bridge to correlate the knowledge representations of the visual and textual domains. In particular, we construct an off-the-shelf global medical knowledge graph $\mathcal { G } = ( V , E )$ covering the common abnormalities and normalities, where $V = \{ v _ { i } \} _ { i = 1 : N _ { \mathrm { K G } } } \in \mathbb { R } ^ { N _ { \mathrm { K G } } \times d }$ is a set of nodes and $E = \{ e _ { i , j } \} _ { i , j = 1 : N _ { \mathrm { K G } } }$ is a set of edges. In detail, based on the report corpus, i.e., MIMIC-CXR [17], we consider the $N _ { \mathrm { K G } }$ frequent clinical abnormalities (e.g., "enlarged heart size", "pleural effusion", and "bibasilar consolidation") and normalities (e.g., "heart size is normal" and "lungs are clear") as nodes. The edge weights are calculated by the normalized co-occurrence of different nodes computed from report corpus. Please note that this knowledge graph is built purely from the training set of MIMIC-CXR, thus there is no label leakage. After that, the knowledge graph is embedded by a graph embedding module, i.e., graph convolution network [32, 24], which is implemented as follows:
53
+
54
+ $$
55
+ v _ { i } ^ { \prime } = v _ { i } + \mathrm { R e L U } ( \sum _ { j = 1 } ^ { N _ { \mathrm { K G } } } e _ { i , j } W _ { v } v _ { j } ) ,
56
+ $$
57
+
58
+ where $\mathrm { R e L U } ( \cdot )$ represents the ReLU activation function and $W _ { v } \in \mathbb { R } ^ { d \times d }$ is the learnable matrix. As a result, we can acquire a set of node embeddings $V ^ { \prime } = \{ v _ { 1 } ^ { \prime } , v _ { 2 } ^ { \prime } , \ldots , v _ { N _ { \mathrm { K G } } } ^ { \prime } \} \in \mathbb { R } ^ { N _ { \mathrm { K G } } \times d }$ . It is worth noting that more complex graph structures could be constructed by using more large-scale medical textbooks. Therefore, our model is not limited to the currently constructed graph and could provide a good basis for the research of unsupervised medical report generation for other domains.
59
+
60
+ Knowledge-driven Encoder The knowledge-driven encoder (KE) is designed to utilize the knowledge graph $\mathcal { G }$ to extract knowledge representations $( \mathcal { G } _ { I } \in \mathbb { R } ^ { N _ { I } \times d }$ and $\mathcal { G } _ { R } \in \overline { { \mathbb { R } } } ^ { N _ { R } \times d } )$ of both image $I$ and report $R$ to bridge the vision and the language domains, which can be formulated as:
61
+
62
+ $$
63
+ { \mathcal G } _ { I } = \mathrm { K E } _ { I } ( I , { \mathcal G } ) ; { \mathcal G } _ { R } = \mathrm { K E } _ { R } ( R , { \mathcal G } ) .
64
+ $$
65
+
66
+ In implementations, as shown in Figure 1, we first adopt the ResNet-50 [12] and the Transformer [38] as the image embedding module and report embedding module to embed the image $I$ and report $R$ , acquiring the image embeddings $I ^ { \prime } \in \mathbb { R } ^ { \bar { N } _ { I } \times d }$ and report embeddings $R ^ { \prime } \in \mathbb { R } ^ { N _ { R } \times \breve { d } }$ , respectively. Next, to extract the knowledge representations from knowledge graph $\mathcal { G }$ , we adopt the attention mechanism [38] to implement the KE. The motivation stems from that the attention mechanism can compute the association weights between different features and allows probabilistic many-to-many relations instead of monotonic relations, as in [38, 44, 29]. As a result, we take $I ^ { \prime }$ and $R ^ { \prime }$ as the queries, and take the knowledge graph $\mathcal { G }$ (i.e., $V ^ { \prime } = \{ v _ { 1 } ^ { \prime } , v _ { 2 } ^ { \prime } , \ldots , v _ { N _ { \mathrm { K G } } } ^ { \prime } \} \in \mathbb { R } ^ { N _ { \mathrm { K G } } \times d } )$ as the lookup matrix:
67
+
68
+ $$
69
+ \begin{array} { r l } & { \mathcal { G } _ { I } = \mathrm { K E } _ { I } ( I , \mathcal { G } ) = \mathcal { F } ( \mathrm { A t t e n t i o n } _ { I } ( I ^ { \prime } , V ^ { \prime } ) ) ; \mathcal { G } _ { R } = \mathrm { K E } _ { R } ( R , \mathcal { G } ) = \mathcal { F } ( \mathrm { A t t e n t i o n } _ { R } ( R ^ { \prime } , V ^ { \prime } ) ) } \\ & { \quad \quad \quad \quad \quad \mathrm { A t t e n t i o n } ( x , y ) = \mathrm { s o f t m a x } \left( \frac { x W _ { \ P } \left( y W _ { \mathbf { k } } \right) ^ { \top } } { \sqrt { d } } \right) y W _ { \mathbf { v } } . } \end{array}
70
+ $$
71
+
72
+ where $x \in \mathbb { R } ^ { N _ { x } \times d _ { x } } , y \in \mathbb { R } ^ { N _ { y } \times d _ { y } }$ ; $W _ { \mathrm { q } } \in \mathbb { R } ^ { d _ { x } \times d _ { x } }$ , $W _ { \mathbf { k } } \in \mathbb { R } ^ { d _ { y } \times d _ { y } }$ and $W _ { \mathrm { v } } \in \mathbb { R } ^ { d _ { y } \times d _ { y } }$ $\langle d _ { x } = d _ { y }$ ) are learnable parameters. $\mathcal { F }$ is implemented as two fully-connected (FC) layers with a ReLU in between, i.e., FC-ReLU-FC. The resulted $\mathcal { G } _ { I } \in \mathbb { R } ^ { N _ { I } \times d }$ and $\dot { \mathcal { G } } _ { R } \in \mathbb { R } ^ { N _ { R } \times d }$ turn out to be a set of attended (i.e., extracted) knowledge related to the image and report. The knowledge representations $\mathcal { G } _ { I }$ and $\mathcal { G } _ { R }$ share the common latent space which bridges the vision and the language domains. Note that the $\mathcal { F }$ used in $\mathrm { K E } _ { I }$ and $\mathrm { K E } _ { R }$ shares the same parameters and is thus introduced to further boost the bridging capabilities of different modalities. It means that we adopt two KEs, i.e., $\mathrm { K E } _ { I }$ and $\mathrm { K E } _ { R }$ , and each KE includes an attention model as well as a common mapping function $\mathcal { F }$ . The only shared weights of $\mathrm { K E } _ { I }$ and $\mathrm { K E } _ { R }$ are the parameters of $\mathcal { F }$ , and the parameters of attention models are independent.
73
+
74
+ Knowledge-driven Decoder The decoder is designed to generate the reports based on the graph representations $\mathcal { G } _ { I }$ or $\mathcal { G } _ { R }$ . For clarity, we use $\mathcal { G } _ { k }$ to represent the $\mathcal { G } _ { R }$ and $\mathcal { G } _ { I }$ during the training and testing stages, respectively. In implementations, since medical report generation requires generating a long paragraph, we choose the (three-layer) Transformer [38] as the basic module of our decoder and incorporate the proposed Knowledge-driven Attention (KA) to effectively model the long sequences.
75
+
76
+ At each decoding step $t$ , the decoder takes the embedding of current input word $x _ { t } = w _ { t } + e _ { t } \in \mathbb { R } ^ { 2 d }$ as input, where $w _ { t }$ and $e _ { t }$ denote the word embedding and fixed position embedding, respectively, and generate each word $r _ { t }$ in report $R = \{ r _ { 1 } , r _ { 2 } , . . . , r _ { T } \}$ , which can be defined as follows:
77
+
78
+ $$
79
+ \begin{array}{c} \begin{array} { r } { \begin{array} { r } { h _ { t } = \mathrm { A t t e n t i o n } ( x _ { t } , x _ { 1 : t } ) } \\ { h _ { t } ^ { \prime } = \mathrm { K A } ( h _ { t } , \mathcal { G } _ { k } , B ) } \end{array} , \mathrm { ~ w h e r e ~ } \mathcal { G } _ { k } = \left\{ \begin{array} { r l } { \mathcal { G } _ { R } , } & { \mathrm { T r a i n i n g } } \\ { \mathcal { G } _ { I } , } & { \mathrm { T e s t i n g } } \end{array} \right. ; r _ { t } \sim p _ { t } = \mathrm { s o f t m a x } ( \mathrm { F F N } ( h _ { t } ^ { \prime } ) \mathbb { W } _ { p } ) , } \end{array} \end{array}
80
+ $$
81
+
82
+ where FFN stands for Feed-Forward Network in the original Transformer [38]; $\mathbf { W } _ { p } \in \mathbb { R } ^ { 2 d \times | D | }$ is the learnable parameter $| | D | |$ denotes the vocabulary size); $B$ represents the knowledge bank in the KA.
83
+
84
+ In particular, the knowledge-driven attention (KA) is inspired by the success of many works that attempt to augment a working memory into the network, e.g., memory network. Memory network preserves a dynamic knowledge base for subsequent inference [37, 21, 42, 43, 40, 46, 33]. For example, [37, 21] and [42, 43] proposed to preserve the context of a document and visual knowledge to solve language modeling and visual question answering, respectively. In this paper, since the knowledge representations $\mathcal { G } _ { k }$ are extracted from the off-the-shelf global knowledge graph $\mathcal { G }$ , we incorporate a knowledge memory mechanism to distill and preserve the fine-grained medical knowledge related to report generation task, which encourages our decoder to generate more accurate and desirable reports. Specifically, we introduce the knowledge bank $B = \{ b _ { 1 } , b _ { 2 } , \ldots , b _ { N _ { \mathrm { B } } } \} \in \mathbb { R } ^ { N _ { \mathrm { B } } \times d }$ , where $N _ { \mathrm { B } }$ stands for the total number of the knowledge corresponding to report generation. As a result, given the graph representations $\mathcal { G } _ { k } \in \mathbb { R } ^ { N _ { k } \times d }$ , the knowledge memory mechanism is defined as follows:
85
+
86
+ $$
87
+ B _ { k } = \operatorname { s o f t m a x } \left( \mathcal { G } _ { k } B ^ { \top } \right) B .
88
+ $$
89
+
90
+ Through above operation, each feature/vector in the $\mathcal { G } _ { k } \in \mathbb { R } ^ { N _ { k } \times d }$ can distill the fine-grained knowledge preserved in $B$ to acquire $B _ { k } \in \mathbb { R } ^ { N _ { k } \times d }$ for accurate report generation.
91
+
92
+ Based on the above mechanism, the knowledge-driven attention in Eq. (5) is defined as:
93
+
94
+ $$
95
+ h _ { t } ^ { \prime } = \mathrm { K A } ( h _ { t } , \mathcal { G } _ { k } , B ) = \mathrm { A t t e n t i o n } ( h _ { t } , [ \mathcal { G } _ { k } ; B _ { k } ] ) = \mathrm { A t t e n t i o n } \left( h _ { t } , \left[ \mathcal { G } _ { k } ; \operatorname { s o f t m a x } \left( \mathcal { G } _ { k } B ^ { \top } \right) B \right] \right) .
96
+ $$
97
+
98
+ where $[ \cdot ; \cdot ]$ denotes the concatenation operation. It is worth noting that these operations are all differentiable, thus the bank $B$ can be learned in an end-to-end fashion.
99
+
100
+ In our subsequent analysis, we will show that the introduced knowledge memory mechanism indeed distills and preserves the desired medical knowledge, and thus boost the generation of reports.
101
+
102
+ # 3.3 Implementation Details
103
+
104
+ Unsupervised Training Details To train our KGAE in an unsupervised manner, instead of using the paired image-report dataset in the conventional supervised model, we only require an image set CheXpert [14], which includes 224,316 X-ray images, and a separate report corpus MIMIC-CXR $[ 1 7 ] + \mathrm { I U }$ X-ray [9], which includes $2 2 2 , 7 5 8 + 2 , 7 7 { \bar { 0 } } = 2 2 5 , 5 2 8 \ \cdot$ reports2.
105
+
106
+ In detail, to train our knowledge-driven encoder $\mathrm { K E } _ { I }$ and $\mathrm { K E } _ { R }$ (see Eq. (4)), we feed the $\mathcal { G } _ { I }$ and $\mathcal { G } _ { R }$ into a common multi-label classification network [54, 15] trained with binary cross entropy loss for 14 common radiographic observations classification3. In this way, our encoder can extract the knowledge representations $\mathcal { G } _ { I }$ and $\mathcal { G } _ { R }$ of both image and report in a common latent space, effectively bridging the vision and the language domains. To train the knowledge-driven decoder, as well as the knowledge bank $B$ (see Eq. (5)), since there are no coupled image-report pairs, we propose to reconstruct the report $R$ based on the $\mathcal { G } _ { R }$ . Therefore, through Eq. (5), taking the input report $R = \{ r _ { 1 } , r _ { 2 } , \ldots , r _ { T } \}$ as the ground truth report, we can train our approach by minimizing the cross-entropy loss:
107
+
108
+ $$
109
+ L _ { \mathrm { C E } } = - \sum _ { t = 1 } ^ { T } \log \left( p \left( r _ { t } \mid r _ { 1 : t - 1 } \right) \right) .
110
+ $$
111
+
112
+ In this way, we can train our decoder in the $R \mathcal { G } _ { R } R$ auto-encoding pipeline.
113
+
114
+ During testing, we first adopt the knowledge-driven encoder to extract the knowledge representations $\mathcal { G } _ { I }$ of the test image (see Eq. (4)). Then, we directly feed $\mathcal { G } _ { I }$ into the decoder to generate final report in the $I { \mathcal { G } } _ { I } R$ pipeline (see Eq. (5)). In this way, our approach can relax the reliance on the image-report pairs. In our following experiments, we validate the effectiveness of our approach, which even outperforms some supervised approaches.
115
+
116
+ Semi-Supervised and Supervised Training Details To further validate the effectiveness of our approach, we fine-tune the unsupervised $K G A E$ using partial and full image-report pairs to acquire the KGAE-Semi(-Supervised) and KGAE-Supervised, respectively, where the former can evaluate the performance of our approach under limited labeled pairs for training and the latter can compare the performance of KGAE with state-of-the-art supervised approaches. In the (semi-)supervised setting, given the image-report pairs, i.e., $I { - } R$ , we first incorporate the original visual information into the knowledge representation $\mathcal { G } _ { I }$ , and then train our KGAE by generating the ground truth report in the $I { \mathcal { G } } _ { I } R$ pipeline and minimizing the cross-entropy loss in Eq. (8). During testing, we also follow the unsupervised setting to generate the final report in the $I { \mathcal { G } } _ { I } R$ pipeline.
117
+
118
+ # 4 Experiments
119
+
120
+ We first introduce the datasets, metrics and detailed settings used for evaluation. Then, we present the evaluation of our approach under the unsupervised, semi-supervised and supervised training settings.
121
+
122
+ # 4.1 Datasets, Metrics and Settings
123
+
124
+ Datasets In this paper, we adopt the test sets of IU X-ray [9] and MIMIC-CXR [17] for evaluation. All protected health information (e.g., patient name and date of birth) was de-identified. In particular, the IU X-ray [9] is a widely-used public benchmark dataset for medical report generation and contains 7,470 chest X-ray images associated with 3,955 fully de-identified medical reports. Each report is composed of impression, findings and indication sections, etc. [22]. Following [25], our method also focuses on the findings section as it is the most important component of reports. Then, following [16, 22, 25, 6], we randomly select $7 0 \% - 1 0 \% - 2 0 \%$ image-report pairs of dataset to form the trainingvalidation-testing sets. The MIMIC-CXR [17] includes 377,110 chest $\mathbf { X }$ -ray images associated with 227,835 reports. The dataset is officially split into 368,960 images (222,758 reports) for training, 2,991 images (1,808 reports) for validation and 5,159 images (3,269 reports) for testing. It is worth noting that we focus on the unsupervised medical report generation, where the image-report pairs are not available, thus the image-report training pairs of both the IU X-ray and MIMIC-CXR datasets are discarded and are not used in our unsupervised training stage. Only the training reports of MIMIC-CXR and IU $\mathbf { X }$ -ray, i.e., $2 2 2 , 7 5 8 + 2 , 7 7 0 = 2 2 5 , 5 2 8$ reports, are used as the independent report corpus to train our unsupervised model. Only under the (semi-)supervised training setting, we will adopt the image-report training pairs to train our approach.
125
+
126
+ Metrics To fairly compare with existing models [25, 6], we adopt the evaluation toolkit [5] to calculate the widely-used natural language generation metrics, i.e., BLEU [34], METEOR [3] and ROUGE-L [26], which measure the match between the generated reports and ground truth reports, but are not specialized for the abnormalities in the reports. Therefore, to measure the accuracy of descriptions for clinical abnormalities, we further report clinical efficacy metrics following the work of Chen et al. [6]. The clinical efficacy metrics are calculated by comparing the generated reports with ground truth reports in 14 different categories related to thoracic diseases and support devices, producing the Precision, Recall and F1 scores.
127
+
128
+ Settings The size $d$ is set to 256. For the attention mechanism in Eq. (4) and Eq. (5), we adopt the multi-head attention [38], the number of heads $n$ in multi-head attention is set to 8. The intermediate dimension in $\mathcal { F }$ , i.e., Eq. (4), is set to 1024. Based on the average performance on the validation set, the $N _ { \mathrm { B } }$ in knowledge bank, i.e., Eq. (6), is set to 10,000. The $N _ { \mathrm { K G } }$ in the knowledge graph is set to 200. In our knowledge-driven encoder, the image embedding module adopts the ResNet-50 [12] pretrained on ImageNet [10] and fine-tuned on CheXpert dataset [14] to extract the image embeddings in the shape of $7 \times 7 \times 2 0 4 8$ , which will be projected to $d = 2 5 6$ , acquiring $I ^ { \prime } \in \mathbb { R } ^ { 4 9 \times 2 5 6 }$ , i.e., $N _ { I } = 4 9$ ; The report embedding module is implemented by the Transformer [38] equipping with the self-attention mechanism provided in Lin et al. [27]; $N _ { R } = N _ { I } = 4 9$ . In both unsupervised and (semi-)supervised settings (see Section 3.3), the batch size is set to 16 and Adam optimizer [18] with a learning rate of 1e-4 is used for parameter optimization. Before testing on the IU X-ray/MIMICCXR, we further only employ the training data from IU X-ray/MIMIC-CXR to train the model. All re-implementations and our experiments were run on 8 V100 GPUs.
129
+
130
+ # 4.2 Automatic Evaluation
131
+
132
+ We evaluate the performance of our approach under unsupervised, semi-supervised and supervised settings. The results are shown in Table 1, Table 2 and Figure 2. We select several supervised methods, including a recently state-of-the-art model R2Gen [6], for comparison. These models follow the encoder-decoder architecture, trained on the full pairs of images and reports.
133
+
134
+ Unsupervised Setting As shown in Table 1 and Table 2, our unsupervised model KGAE achieves competitive results with some supervised models in both IU X-ray and MIMIC-CXR datasets, and even outperforms several supervised models. Specifically, on the IU X-ray dataset, Table 1 shows that KGAE surpasses the NIC [44], AdaAtt [31] and Att2in [35] in terms of all metrics, and the Transformer [6] in terms of BLEU-1,2,3. On the MIMIC-CXR dataset, Table 2 shows that KGAE outperforms the $\mathcal { M } ^ { 2 }$ Trans. [7] in terms of Precision, Recall and F1. The competitive results prove the effectiveness of our approach in addressing the unsupervised medical report generation, and thus can generate desirable medical reports without the training on the pairs of image and report.
135
+
136
+ Table 1: Performance in terms of natural language generation metrics on the IU X-ray and MIMICCXR. B-n, M and R-L are short for BLEU-n, METEOR and ROUGE-L, respectively. Higher is better in all columns. It is worth noting that the KGAE is trained in an unsupervised manner, KGAE-Semi is trained $60 \%$ paired data, KGAE-Supervised and existing methods are trained with full paired data.
137
+
138
+ <table><tr><td rowspan="2">Methods</td><td rowspan="2">Year</td><td rowspan="2">Ratio of Pairs</td><td colspan="6">IU X-ray [9]</td><td colspan="6">MIMIC-CXR [17]</td></tr><tr><td>B-1</td><td>B-2</td><td>B-3</td><td>B-4</td><td>M</td><td>R-L</td><td>B-1</td><td>B-2</td><td>B-3</td><td>B-4</td><td>M</td><td>R-L</td></tr><tr><td>NIC [39]</td><td>2015</td><td>100%</td><td>0.216</td><td>0.124</td><td>0.087</td><td>0.066</td><td>-</td><td>0.306</td><td>0.299</td><td>0.184</td><td>0.121</td><td>0.084</td><td>0.124</td><td>0.263</td></tr><tr><td>AdaAtt [31]</td><td>2017</td><td>100%</td><td>0.220</td><td>0.127</td><td>0.089</td><td>0.068</td><td>=</td><td>0.308</td><td>0.299</td><td>0.185</td><td>0.124</td><td>0.088</td><td>0.118</td><td>0.266</td></tr><tr><td>Att2in [35]</td><td>2017</td><td>100%</td><td>0.224</td><td>0.129</td><td>0.089</td><td>0.068</td><td>=</td><td>0.308</td><td>0.325</td><td>0.203</td><td>0.136</td><td>0.096</td><td>0.134</td><td>0.276</td></tr><tr><td>Transformer [6]</td><td>2020</td><td>100%</td><td>0.396</td><td>0.254</td><td>0.179</td><td>0.135</td><td>0.164</td><td>0.342</td><td>0.314</td><td>0.192</td><td>0.127</td><td>0.090</td><td>0.125</td><td>0.265</td></tr><tr><td>M² Trans.[7]</td><td>2020</td><td>100%</td><td>0.437</td><td>0.290</td><td>0.205</td><td>0.152</td><td>0.176</td><td>0.353</td><td>0.238</td><td>0.151</td><td>0.102</td><td>0.067</td><td>0.110</td><td>0.249</td></tr><tr><td>R2Gen [6]</td><td>2020</td><td>100%</td><td>0.470</td><td>0.304</td><td>0.219</td><td>0.165</td><td>0.187</td><td>0.371</td><td>0.353</td><td>0.218</td><td>0.145</td><td>0.103</td><td>0.142</td><td>0.277</td></tr><tr><td>KGAE</td><td></td><td>0%</td><td>0.417</td><td>0.263</td><td>0.181</td><td>0.126</td><td>0.149</td><td>0.318</td><td>0.221</td><td>0.144</td><td>0.096</td><td>0.062</td><td>0.097</td><td>0.208</td></tr><tr><td>KGAE-Semi</td><td>Ours</td><td>60%</td><td>0.497</td><td>0.320</td><td>0.232</td><td>0.171</td><td>0.189</td><td>0.379</td><td>0.352</td><td>0.219</td><td>0.149</td><td>0.108</td><td>0.147</td><td>0.290</td></tr><tr><td>KGAE-Supervised</td><td></td><td>100%</td><td>0.512</td><td>0.327</td><td>0.240</td><td>0.179</td><td>0.195</td><td>0.383</td><td>0.369</td><td>0.231</td><td>0.156</td><td>0.118</td><td>0.153</td><td>0.295</td></tr></table>
139
+
140
+ Table 2: Performance of automatic evaluation in terms of clinical efficacy metrics, which measure the accuracy of descriptions for clinical abnormalities, on the test set of MIMIC-CXR dataset. Higher is better in all columns.
141
+
142
+ <table><tr><td rowspan="3">Methods</td><td rowspan="3">Year</td><td rowspan="3">Ratio of Pairs</td><td colspan="3">MIMIC-CXR[17]</td></tr><tr><td>Precision Recall</td><td></td><td>F1</td></tr><tr><td></td><td></td><td></td></tr><tr><td>NIC[39]</td><td>2015</td><td>100%</td><td>0.249</td><td>0.203</td><td>0.204</td></tr><tr><td>AdaAtt [31]</td><td>2017 2017</td><td>100% 100%</td><td>0.268</td><td>0.186</td><td>0.181</td></tr><tr><td>Att2in [35] Up-Down [1]</td><td>2018</td><td>100%</td><td>0.322 0.320</td><td>0.239 0.231</td><td>0.249</td></tr><tr><td>M² Trans.[7]</td><td>2020</td><td>100%</td><td>0.197</td><td>0.145</td><td>0.238</td></tr><tr><td>Transformer [6]</td><td>2020</td><td>100%</td><td>0.331</td><td>0.224</td><td>0.133 0.228</td></tr><tr><td>R2Gen [6]</td><td>2020</td><td>100%</td><td>0.333</td><td>0.273</td><td>0.276</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>KGAE</td><td></td><td>0%</td><td>0.214</td><td>0.158</td><td>0.156</td></tr><tr><td>KGAE-Semi</td><td>Ours</td><td>60%</td><td>0.360</td><td>0.302</td><td>0.307</td></tr><tr><td>KGAE-Supervised</td><td></td><td>100%</td><td>0.389</td><td>0.362</td><td>0.355</td></tr></table>
143
+
144
+ ![](images/714ee8d17da130941633988e5374eacaa4fa87c8d55ee2af6783dfd8393d379c.jpg)
145
+ Figure 2: Performance of re-implemented state-of-theart model R2Gen [6] and our approach on the test sets with respect to various amount of paired data used for training. The margins in different ratios are shown with the polyline and the right y-axis. As we can see, our approach consistently outperforms the R2Gen.
146
+
147
+ Semi-Supervised Setting To further prove the effectiveness of our approach, we fine-tune the unsupervised KGAE using partial downstream paired image-report datasets (see Section 3.3), resulting in the KGAE-Semi. To this end, in Figure 2, we evaluate the performance of our approach on both IU X-ray and MIMIC-CXR datasets with respect to the increasing amount of paired data. For a fair comparison, we also re-train the state-of-the-art model R2Gen [6] using the same amount of pairs. As we can see, our model outperforms the R2Gen under all ratios of paired dataset used for training. It is worth noting that the fewer the image-report pairs, the larger the margins, e.g., under the very limited pairs setting ( $20 \%$ of paired datasets), our approach significantly surpasses the R2Gen by $8 . 5 \%$ absolute BLEU-4 score on IU $\mathrm { X }$ -ray and $9 . 8 \%$ absolute F1 score on MIMIC-CXR. Intuitively, since our approach can relax the reliance on the paired datasets, we can make use of available unpaired image and report data as a solid bias for medical report generation task. Table 1 and Table 2 further prove the effectiveness of our approach, which achieves results competitive with current state-of-the-art models by using only $60 \%$ of paired dataset.
148
+
149
+ Supervised Setting We fine-tune the unsupervised KGAE using full image-report pairs, acquiring the KGAE-Supervised model (see Section 3.3). Table 1 and Table 2 show that KGAE-Supervised sets the new state-of-the-art results on the two datasets in all metrics. Moreover, in terms of the clinical efficacy metrics, our approach achieves 0.389 precision score, 0.362 recall score and $0 . 3 5 5 \mathrm { F } 1$ score, outperforming the state-of-the-art model R2Gen [6]. The superior clinical efficacy scores demonstrate the capability of our approach to produce higher quality descriptions for clinical abnormalities than existing models.
150
+
151
+ Table 3: We invite three professional clinicians to conduct human evaluation for comparing our approach with $\mathcal { M } ^ { 2 }$ Trans. [7] and R2Gen [6] under various amount of pairs for training in terms of the comprehensiveness of the generated true abnormalities and the faithfulness of the generated normalities and abnormalities to the ground truth reports. All values are reported in percentage $( \% )$ .
152
+
153
+ <table><tr><td rowspan="3">Metrics</td><td colspan="3">KGAE (0%) vs.M² Trans. (100%)</td><td colspan="3">KGAE (0%) vs.R2Gen (100%)</td><td colspan="3">KGAE-Semi (20%) vs.R2Gen (20%)</td><td colspan="3">KGAE-Supervised (100%) vs.R2Gen (100%)</td></tr><tr><td>Loss</td><td>Tie</td><td>Win</td><td>Loss</td><td>Tie</td><td>Win</td><td>Loss</td><td>Tie</td><td>Win</td><td>Loss</td><td>Tie</td><td>Win</td></tr><tr><td>Faithfulness</td><td>34</td><td>18</td><td>48</td><td>62</td><td>15</td><td>23</td><td>21</td><td>10</td><td>69</td><td>25</td><td>22</td><td>53</td></tr><tr><td>Comprehensiveness</td><td>27</td><td>20</td><td>53</td><td>57</td><td>17</td><td>26</td><td>24</td><td>11</td><td>65</td><td>32</td><td>21</td><td>47</td></tr></table>
154
+
155
+ Overall Combining the results of unsupervised, semi-supervised and supervised settings, the proposed KGAE can relax the dependency on the paired datasets, and thus makes the medical report generation model use the available separate image and report data to boost the performance. The advantages under the scenarios with limited labeled pairs (i.e., semi-supervised setting) show that KGAE might be applied to other medical images (MRI, Dermoscopy, Retinal, etc.), where the coupled images and reports pairs could be much less or even unavailable.
156
+
157
+ # 4.3 Human Evaluation
158
+
159
+ We conduct human evaluations to verify the effectiveness of KGAE in clinical practice. Specifically, to assist radiologists in clinical decision-making and reduce their workload, it is important to generate accurate reports (faithfulness), i.e., the model does not generate normalities and abnormalities that does not exist according to doctors, with comprehensive abnormalities (comprehensiveness), the model does not leave out the abnormalities. Therefore, we randomly select 100 samples from the MIMIC-CXR and invite three professional clinicians to compare our approach and baselines independently. The clinicians are unaware of which model generates these reports. The results are shown in Table 3. As we can see, under the unsupervised setting, our approach achieves competitive results with the supervised model, outperforming the $\mathcal { M } ^ { 2 }$ Trans with winning pick-up percentages. Under the (semi-)supervised setting, our method is better than state-of-the-art model R2Gen [6] in all metrics, especially for the semi-supervised setting $20 \%$ of paired dataset), our method substantially surpasses the R2Gen, which is in accordance with the automatic evaluation, by $6 9 - 2 1 = 4 8$ and $6 5 - 2 4 = 4 1$ points in terms of the faithfulness and comprehensiveness metrics, respectively.
160
+
161
+ # 5 Analysis
162
+
163
+ In this section, we conduct several analysis to better understand our proposed approach.
164
+
165
+ # 5.1 Knowledge Graph Sensitivity
166
+
167
+ In this section, to evaluate the knowledge graph sensitivity, we evaluate the performances using different knowledge graphs defined on IU X-Ray only, MIMIC-CXR only, both MIMIC-CXR and IU X-Ray. Table 4 shows the results of KGAE $( 0 \% )$ and KGAE-Supervised $( 1 0 0 \% )$ on the IU X-ray dataset. As we can see, our KGAE using different knowledge graphs can consistently outperform several existing supervised models, i.e., NIC, AdaAtt, Att2in, across all metrics (Table 1). Similarly, our KGAE-Supervised with different knowledge graphs can also consistently outperform existing state-of-the-art model, i.e., R2Gen (Table 1). The results prove the robustness of our proposed model to the pre-defined knowledge graph. Therefore, this work could provide a good basis or starting point for the research of unsupervised medical report generation in other clinical domains such as MRI and Dermoscopy.
168
+
169
+ # 5.2 Ablation Study
170
+
171
+ In Table 5, we conduct quantitative analysis to better understand our approach under both the unsupervised and supervised training settings. For different ablation settings, the KGAE-Supervised is acquired by further fine-tuning the KGAE using image-report pairs.
172
+
173
+ Table 4: Analysis of the knowledge graph sensitivity. Performance of our approach using different knowledge graphs defined on IU X-Ray only, MIMIC-CXR only, both MIMIC-CXR and IU X-Ray.
174
+
175
+ <table><tr><td rowspan="3">Methods</td><td rowspan="3">Ratio of Pairs</td><td rowspan="3">Knowledge Graphs</td><td colspan="6">IU X-ray [9]</td></tr><tr><td>B-1</td><td>B-2</td><td>B-3</td><td>B-4</td><td>M</td><td>R-L</td></tr><tr><td rowspan="3">KGAE</td><td rowspan="3">0%</td><td>IU X-Ray</td><td>0.425</td><td>0.271</td><td>0.185</td><td>0.114</td><td>0.123</td><td>0.310</td></tr><tr><td>MIMIC-CXR</td><td>0.417</td><td>0.263</td><td>0.181</td><td>0.126</td><td>0.149</td><td>0.318</td></tr><tr><td>MIMIC-CXR + IU X-Ray</td><td>0.419</td><td>0.260</td><td>0.180</td><td>0.124</td><td>0.143</td><td>0.321</td></tr><tr><td rowspan="3">KGAE-Supervised</td><td rowspan="3">100%</td><td>IU X-Ray</td><td>0.519</td><td>0.331</td><td>0.235</td><td>0.174</td><td>0.191</td><td>0.376</td></tr><tr><td>MIMIC-CXR</td><td>0.512</td><td>0.327</td><td>0.240</td><td>0.179</td><td>0.195</td><td>0.383</td></tr><tr><td>MIMIC-CXR + IUX-Ray</td><td>0.505</td><td>0.323</td><td>0.239</td><td>0.181</td><td>0.198</td><td>0.385</td></tr></table>
176
+
177
+ Table 5: We conduct the quantitative analysis under both the unsupervised setting (KGAE) and supervised setting (KGAE-Supervised). We analysis the effect of the shared $\mathcal { F }$ in the encoder (Eq. (4)), and the effect of the number of the knowledge in the decoder’s knowledge bank $B$ (Eq. (6)).
178
+
179
+ <table><tr><td rowspan="2">Methods</td><td rowspan="2">Settings</td><td rowspan="2">F</td><td rowspan="2">B</td><td colspan="6">IU X-ray [9]</td><td colspan="6">MIMIC-CXR [17]</td></tr><tr><td>B-1</td><td>B-2</td><td>B-3</td><td>B-4</td><td>M</td><td>R-L</td><td>B-1</td><td>B-2</td><td>B-3</td><td>B-4</td><td>M</td><td>R-L</td></tr><tr><td rowspan="5">KGAE (0%)</td><td>(a)</td><td>-</td><td>-</td><td>0.291</td><td>0.170</td><td>0.127</td><td>0.086</td><td>0.120</td><td>0.301</td><td>0.166</td><td>0.095</td><td>0.064</td><td>0.032</td><td>0.070</td><td>0.174</td></tr><tr><td>(b)</td><td>?</td><td>-</td><td>0.352</td><td>0.227</td><td>0.154</td><td>0.109</td><td>0.133</td><td>0.313</td><td>0.192</td><td>0.118</td><td>0.079</td><td>0.045</td><td>0.085</td><td>0.187</td></tr><tr><td>(c)</td><td></td><td>5,000</td><td>0.403</td><td>0.252</td><td>0.170</td><td>0.117</td><td>0.144</td><td>0.316</td><td>0.211</td><td>0.137</td><td>0.093</td><td>0.058</td><td>0.093</td><td>0.202</td></tr><tr><td>(d)</td><td>√</td><td>15.000</td><td>0.412</td><td>0.260</td><td>0.178</td><td>0.121</td><td>0.148</td><td>0.320</td><td>0.217</td><td>0.140</td><td>0.092</td><td>0.059</td><td>0.101</td><td>0.205</td></tr><tr><td>Full Model</td><td>√</td><td>10.000</td><td>0.417</td><td>0.263</td><td>0.181</td><td>0.126</td><td>0.149</td><td>0.318</td><td>0.221</td><td>0.144</td><td>0.096</td><td>0.062</td><td>0.097</td><td>0.208</td></tr><tr><td rowspan="5">KGAE-Supervised (100%)</td><td>(e)</td><td>-</td><td>-</td><td>0.482</td><td>0.310</td><td>0.219</td><td>0.166</td><td>0.184</td><td>0.373</td><td>0.323</td><td>0.204</td><td>0.128</td><td>0.104</td><td>0.115</td><td>0.266</td></tr><tr><td>(f)</td><td></td><td>-</td><td>0.470</td><td>0.304</td><td>0.217</td><td>0.162</td><td>0.181</td><td>0.368</td><td>0.320</td><td>0.206</td><td>0.129</td><td>0.101</td><td>0.118</td><td>0.267</td></tr><tr><td>(g)</td><td>?</td><td>5,000</td><td>0.505</td><td>0.323</td><td>0.232</td><td>0.178</td><td>0.190</td><td>0.379</td><td>0.363</td><td>0.228</td><td>0.152</td><td>0.115</td><td>0.147</td><td>0.290</td></tr><tr><td>(h)</td><td>√</td><td>15,000</td><td>0.498</td><td>0.315</td><td>0.221</td><td>0.170</td><td>0.186</td><td>0.374</td><td>0.368</td><td>0.235</td><td>0.158</td><td>0.114</td><td>0.150</td><td>0.293</td></tr><tr><td>Full Model</td><td>&lt;</td><td>10,000</td><td>0.512</td><td>0.327</td><td>0.240</td><td>0.179</td><td>0.195</td><td>0.383</td><td>0.369</td><td>0.231</td><td>0.156</td><td>0.118</td><td>0.153</td><td>0.295</td></tr></table>
180
+
181
+ As we can see, under the unsupervised setting, both the introduced shared $\mathcal { F }$ and knowledge bank $B$ can significantly boost the performance, which proves our arguments and verifies the effectiveness of our approach in performing the unsupervised medical report generation.
182
+
183
+ Under the supervised setting, as shown in settings (e,f), applying shared $\mathcal { F }$ generates unchanged and impaired performance on the MIMIC-CXR and IU $\mathbf { X }$ -ray datasets, respectively. We speculate the reason is that the supervised model no longer requires the $\mathcal { F }$ to bridge the vision and the language domains. Therefore, the performance is unchanged on the large dataset MIMIC-CXR. However, the increased parameters introduced by $\mathcal { F }$ might bring overfitting or increase the difficulty in optimization on the small dataset IU X-ray, which somewhat hinders the performance. For the knowledge bank $B$ , we can find that the results of setting (h) outperforms (g) on the MIMIC-CXR dataset, but underperforms (g) on the IU X-ray dataset. We speculate the reason is that the large MIMIC-CXR dataset contains more knowledge than the small IU X-ray dataset, so a larger knowledge bank may learn more knowledge of MIMIC-CXR to boost the performance while introducing more noisy knowledge into the IU X-ray dataset to degrade the performance.
184
+
185
+ # 5.3 Qualitative Analysis
186
+
187
+ In Figure 3, we conduct the qualitative analysis to better understand our approach. As we can see, the visualization verifies the effectiveness of our knowledge-driven encoder in extracting the knowledge representations of both image and report. For the generated reports, our unsupervised KGAE generates a desirable report, which correctly describes “innumerable nodules are present” and “heart size is normal”. When removing the bank $B$ , the model tends to generate plausible general reports with no prominent abnormal narratives and some repeated reports, which shows that the knowledge memory mechanism can indeed distill and preserve the desired medical knowledge to boost the generation of reports. Under the semi-supervised setting, the R2Gen can not well handle the medical report generation task and generates some repeated sentences of normalities (Underlined text) and fails to depict some rare but important abnormalities, i.e., “nodules” and “scoliosis”, while our approach can generate fluent report supported by accurate abnormalities. Under the supervised setting, our approach can generate an accurate report showing significant alignment with the ground truth report. It further prove our arguments and the effectiveness of our proposed approach.
188
+
189
+ ![](images/8c460bd3702e10b9395e98ce52155c7f2169ebbb0324da253a96e135fc5afcc8.jpg)
190
+ Figure 3: Reports generated by our approach and a state-of-the-art model R2Gen [6]. Under the unsupervised setting, we show four nodes with top-4 attention weights in Eq. (4) to visualize $\mathcal { G } _ { I }$ and $\mathcal { G } _ { R }$ . The Purple and Blue colored text denote the generated wrong sentences (Faithfulness) and true abnormalities (Comprehensiveness), respectively; Underlined text denotes the repeated sentences.
191
+
192
+ # 6 Conclusions and Discussions
193
+
194
+ In this paper, we propose the Knowledge Graph Auto-Encoder (KGAE). Without any image-report pairs, KGAE can extract the knowledge representations of both image and report from the knowledge graph to bridge the visual and textual domains, and generate desirable reports by being trained in the auto-encoding pipeline. The experiments verify the effectiveness of our approach, which even exceeds several supervised models. Moreover, by further fine-tuning KGAE using paired datasets, we achieve the state-of-the-art results on two public datasets with the best human preference.
195
+
196
+ In the future, 1) since we can relax the dependency on paired data, it can be interesting to apply the KGAE to other types of medical images of other body parts, where the image-report pairs could be much less or even unavailable, to assist radiologists in clinical decision-making and reduce their workload; 2) We can replace the explicit pre-defined knowledge graph with an implicit large matrix (e.g., knowledge bank in our decoder) to improve the generalization ability of our approach.
197
+
198
+ Societal Impacts: In this paper, we target the problem of medical report generation. Although the proposed model outperforms state-of-the-art approaches, it aims to assist the radiologists instead of replacing them. For experienced radiologists, given a large amount of medical images, our model can automatically generate medical reports, the radiologists only need to make revisions rather than write a new report from scratch. However, it is possible that some radiologists direct copy the generated report as the final report. Also for less experienced radiologists, they may not be able to correct the errors in machine-generated reports. In order to apply the proposed model in clinical practice, it is required to add process control to avoid unintended use.
199
+
200
+ Limitations: Although the proposed KGAE can work in an unsupervised manner, we still need the independent sets of medical images and medical reports which may still be difficult to collect for some types of medical images. In addition, our approach introduces the knowledge graph to bridge visual and textual domain, in the paper, we collect the frequent clinical findings as nodes and build the knowledge graph from the set of reports automatically. When applying to new domains, we need to collect a new set of clinical findings.
201
+
202
+ # Acknowledgments
203
+
204
+ We would like to sincerely thank the clinicians (Xiaoxia Xie, Jing Zhang, etc.) of the Harbin Chest Hospital in China for providing the human evaluation. We also sincerely thank all the anonymous reviewers and chairs for their constructive comments and suggestions that substantially improved this paper. Xu Sun and Sheng Wang are the corresponding authors of this paper.
205
+
206
+ # References
207
+
208
+ [1] P. Anderson, X. He, C. Buehler, D. Teney, M. Johnson, S. Gould, and L. Zhang. Bottom-up and top-down attention for image captioning and VQA. In CVPR, 2018.
209
+ [2] D. Bahdanau, K. Cho, and Y. Bengio. Neural machine translation by jointly learning to align and translate. In ICLR, 2015. [3] S. Banerjee and A. Lavie. METEOR: an automatic metric for MT evaluation with improved correlation with human judgments. In IEEvaluation@ACL, 2005. [4] A. Brady, R. Ó. Laoide, P. Mccarthy, and R. Mcdermott. Discrepancy and error in radiology: Concepts, causes and consequences. The Ulster Medical Journal, 81:3 – 9, 2012.
210
+ [5] X. Chen, H. Fang, T. Lin, R. Vedantam, S. Gupta, P. Dollár, and C. L. Zitnick. Microsoft COCO captions: Data collection and evaluation server. arXiv preprint arXiv:1504.00325, 2015.
211
+ [6] Z. Chen, Y. Song, T. Chang, and X. Wan. Generating radiology reports via memory-driven transformer. In EMNLP, 2020.
212
+ [7] M. Cornia, M. Stefanini, L. Baraldi, and R. Cucchiara. Meshed-memory transformer for image captioning. In CVPR, 2020. [8] L. Delrue, R. Gosselin, B. Ilsen, A. Van Landeghem, J. de Mey, and P. Duyck. Difficulties in the interpretation of chest radiography. Comparative Interpretation of CT and Standard Radiography of the Chest, pages 27–49, 2011.
213
+ [9] D. Demner-Fushman, M. D. Kohli, M. B. Rosenman, S. E. Shooshan, L. Rodriguez, S. K. Antani, G. R. Thoma, and C. J. McDonald. Preparing a collection of radiology examinations for distribution and retrieval. J. Am. Medical Informatics Assoc., 23(2):304–310, 2016.
214
+ [10] J. Deng, W. Dong, R. Socher, L. Li, K. Li, and F. Li. Imagenet: A large-scale hierarchical image database. In CVPR, 2009.
215
+ [11] S. K. Goergen, F. J. Pool, T. J. Turner, J. E. Grimm, M. N. Appleyard, C. Crock, M. C. Fahey, M. F. Fay, N. J. Ferris, S. M. Liew, et al. Evidence-based guideline for the written radiology report: Methods, recommendations and implementation challenges. Journal of medical imaging and radiation oncology, 57(1):1–7, 2013.
216
+ [12] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In CVPR, 2016.
217
+ [13] S. Hochreiter and J. Schmidhuber. Long short-term memory. Neural Comput., 9(8):1735–1780, 1997.
218
+ [14] J. Irvin, P. Rajpurkar, M. Ko, Y. Yu, S. Ciurea-Ilcus, C. Chute, H. Marklund, B. Haghgoo, R. L. Ball, K. S. Shpanskaya, J. Seekins, D. A. Mong, S. S. Halabi, J. K. Sandberg, R. Jones, D. B. Larson, C. P. Langlotz, B. N. Patel, M. P. Lungren, and A. Y. Ng. Chexpert: A large chest radiograph dataset with uncertainty labels and expert comparison. In AAAI, 2019.
219
+ [15] B. Jing, P. Xie, and E. P. Xing. On the automatic generation of medical imaging reports. In ACL, 2018.
220
+ [16] B. Jing, Z. Wang, and E. P. Xing. Show, describe and conclude: On exploiting the structure information of chest x-ray reports. In ACL, 2019.
221
+ [17] A. E. W. Johnson, T. J. Pollard, S. J. Berkowitz, N. R. Greenbaum, M. P. Lungren, C. Deng, R. G. Mark, and S. Horng. MIMIC-CXR: A large publicly available database of labeled chest radiographs. arXiv preprint arXiv:1901.07042, 2019.
222
+ [18] D. P. Kingma and J. Ba. Adam: A method for stochastic optimization. In ICLR, 2014.
223
+ [19] J. Krause, J. Johnson, R. Krishna, and L. Fei-Fei. A hierarchical approach for generating descriptive image paragraphs. In CVPR, 2017. neural networks. In NIPS, 2012.
224
+ [21] A. Kumar, O. Irsoy, P. Ondruska, M. Iyyer, J. Bradbury, I. Gulrajani, V. Zhong, R. Paulus, and R. Socher. Ask me anything: Dynamic memory networks for natural language processing. In ICML, 2016.
225
+ [22] C. Y. Li, X. Liang, Z. Hu, and E. P. Xing. Knowledge-driven encode, retrieve, paraphrase for medical image report generation. In AAAI, 2019.
226
+ [23] M. Li, F. Wang, X. Chang, and X. Liang. Auxiliary signal-guided knowledge encoder-decoder for medical report generation. arXiv preprint arXiv:2006.03744, 2020.
227
+ [24] Y. Li, D. Tarlow, M. Brockschmidt, and R. S. Zemel. Gated graph sequence neural networks. In ICLR, 2016.
228
+ [25] Y. Li, X. Liang, Z. Hu, and E. P. Xing. Hybrid retrieval-generation reinforced agent for medical image report generation. In NeurIPS, 2018.
229
+ [26] C.-Y. Lin. ROUGE: A package for automatic evaluation of summaries. In ACL, 2004.
230
+ [27] Z. Lin, M. Feng, C. N. dos Santos, M. Yu, B. Xiang, B. Zhou, and Y. Bengio. A structured self-attentive sentence embedding. In ICLR, 2017.
231
+ [28] F. Liu, X. Ren, Y. Liu, H. Wang, and X. Sun. simnet: Stepwise image-topic merging network for generating detailed and comprehensive image captions. In EMNLP, 2018.
232
+ [29] F. Liu, Y. Liu, X. Ren, X. He, and X. Sun. Aligning visual regions and textual concepts for semantic-grounded image representations. In NeurIPS, 2019.
233
+ [30] F. Liu, X. Ren, Y. Liu, K. Lei, and X. Sun. Exploring and distilling cross-modal information for image captioning. In IJCAI, 2019.
234
+ [31] J. Lu, C. Xiong, D. Parikh, and R. Socher. Knowing when to look: Adaptive attention via a visual sentinel for image captioning. In CVPR, 2017.
235
+ [32] D. Marcheggiani and I. Titov. Encoding sentences with graph convolutional networks for semantic role labeling. In EMNLP, 2017.
236
+ [33] A. H. Miller, A. Fisch, J. Dodge, A. Karimi, A. Bordes, and J. Weston. Key-value memory networks for directly reading documents. In EMNLP, 2016.
237
+ [34] K. Papineni, S. Roukos, T. Ward, and W. Zhu. BLEU: a Method for automatic evaluation of machine translation. In ACL, 2002.
238
+ [35] S. J. Rennie, E. Marcheret, Y. Mroueh, J. Ross, and V. Goel. Self-critical sequence training for image captioning. In CVPR, 2017.
239
+ [36] R. Soricut, N. Ding, P. Sharma, and S. Goodman. Conceptual captions: A cleaned, hypernymed, image alt-text dataset for automatic image captioning. In ACL, 2018.
240
+ [37] S. Sukhbaatar, A. Szlam, J. Weston, and R. Fergus. End-to-end memory networks. In NIPS, 2015.
241
+ [38] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin. Attention is all you need. In NIPS, 2017.
242
+ [39] O. Vinyals, A. Toshev, S. Bengio, and D. Erhan. Show and tell: A neural image caption generator. In CVPR, 2015.
243
+ [40] O. Vinyals, C. Blundell, T. Lillicrap, K. Kavukcuoglu, and D. Wierstra. Matching networks for one shot learning. In NIPS, 2016.
244
+ [41] X. Wang, Y. Peng, L. Lu, Z. Lu, and R. M. Summers. Tienet: Text-image embedding network for common thorax disease classification and reporting in chest x-rays. In CVPR, 2018.
245
+ [42] C. Xiong, S. Merity, and R. Socher. Dynamic memory networks for visual and textual question answering. In ICML, 2016.
246
+ [43] H. Xu and K. Saenko. Ask, attend and answer: Exploring question-guided spatial attention for visual question answering. In ECCV, 2016.
247
+ [44] K. Xu, J. Ba, R. Kiros, K. Cho, A. C. Courville, R. Salakhutdinov, R. S. Zemel, and Y. Bengio. Show, attend and tell: Neural image caption generation with visual attention. In ICML, 2015.
248
+ [45] Y. Xue, T. Xu, L. R. Long, Z. Xue, S. K. Antani, G. R. Thoma, and X. Huang. Multimodal recurrent model with attention for automated radiology report generation. In MICCAI, 2018.
249
+ [46] X. Yang, K. Tang, H. Zhang, and J. Cai. Auto-encoding scene graphs for image captioning. In CVPR, 2019.
250
+ [47] C. You, G. Li, Y. Zhang, X. Zhang, H. Shan, M. Li, S. Ju, Z. Zhao, Z. Zhang, W. Cong, et al. CT super-resolution GAN constrained by the identical, residual, and cycle learning ensemble (gan-circle). IEEE Transactions on Medical Imaging, 2019.
251
+ [48] C. You, N. Chen, and Y. Zou. Knowledge distillation for improved accuracy in spoken question answering. In ICASSP, 2021.
252
+ [49] C. You, N. Chen, and Y. Zou. MRD-Net: Multi-Modal Residual Knowledge Distillation for Spoken Question Answering. In IJCAI, 2021.
253
+ [50] C. You, N. Chen, and Y. Zou. Self-supervised contrastive cross-modality representation learning for spoken question answering. arXiv preprint arXiv:2109.03381, 2021.
254
+ [51] C. You, R. Zhao, L. Staib, and J. S. Duncan. Momentum contrastive voxel-wise representation learning for semi-supervised volumetric medical image segmentation. arXiv preprint arXiv:2105.07059, 2021.
255
+ [52] C. You, Y. Zhou, R. Zhao, L. Staib, and J. S. Duncan. Simcvd: Simple contrastive voxel-wise representation distillation for semi-supervised medical image segmentation. arXiv preprint arXiv:2108.06227, 2021.
256
+ [53] J. Yuan, H. Liao, R. Luo, and J. Luo. Automatic radiology report generation based on multi-view image fusion and medical concept enrichment. In MICCAI, 2019.
257
+ [54] Y. Zhang, X. Wang, Z. Xu, Q. Yu, A. L. Yuille, and D. Xu. When radiology report generation meets knowledge graph. In AAAI, 2020.
258
+
259
+ # Checklist
260
+
261
+ 1. For all authors...
262
+
263
+ (a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] See the claimed contributions in Introduction.
264
+ (b) Did you describe the limitations of your work? [Yes] See Section 6.
265
+ (c) Did you discuss any potential negative societal impacts of your work? [Yes] See Section 6.
266
+ (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] We ensured that our paper conforms to them.
267
+
268
+ 2. If you are including theoretical results...
269
+
270
+ (a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A]
271
+
272
+ 3. If you ran experiments...
273
+
274
+ (a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] See our supplemental material.
275
+
276
+ (b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 4.1.
277
+ (c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No] Error bars are not reported because it would be too computationally expensive. Besides, many previous works on medical report generation did not provide error bars as well.
278
+ (d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See Settings in Section 4.1.
279
+
280
+ 4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
281
+
282
+ (a) If your work uses existing assets, did you cite the creators? [Yes] See Section 4.1.
283
+ (b) Did you mention the license of the assets? [Yes] See Section 4.1. Specifically, PhysioNet Credentialed Health Data License 1.5.0 (https://physionet. org/content/mimic-cxr/view-license/2.0.0/) is used for MIMIC-CXR; Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (http://creativecommons.org/licenses/by-nc-nd/4.0/) is used for IU Xray.
284
+ (c) Did you include any new assets either in the supplemental material or as a URL? [No]
285
+ (d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] See Section 4.1. The used datasets are publicly available. All necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived.
286
+ (e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] See Datasets in Section 4.1. All protected health information was de-identified. De-identification was performed in compliance with Health Insurance Portability and Accountability Act (HIPAA) standards in order to facilitate public access to the datasets. Deletion of protected health information (PHI) from structured data sources (e.g., database fields that provide patient name or date of birth) was straightforward. All necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived.
287
+
288
+ 5. If you used crowdsourcing or conducted research with human subjects...
289
+
290
+ (a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
291
+ (b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
292
+ (c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
parse/train/nIL7Q-p7-Sh/nIL7Q-p7-Sh_content_list.json ADDED
@@ -0,0 +1,1274 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Auto-Encoding Knowledge Graph for Unsupervised Medical Report Generation ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 186,
8
+ 122,
9
+ 813,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Fenglin Liu1,2, Chenyu $\\mathbf { V o u } ^ { 4 }$ , Xian $\\mathbf { W } \\mathbf { u } ^ { 5 }$ , Shen $\\mathbf { G e ^ { 5 } }$ , Sheng Wang3∗, $\\mathbf { X } \\mathbf { u } \\mathbf { S } \\mathbf { u } \\mathbf { n } ^ { 1 * }$ \n1MOE Key Laboratory of Computational Linguistics, School of EECS, Peking University 2School of ECE, Peking University \n3Paul G. Allen School of Computer Science and Engineering, University of Washington 4Department of Electrical Engineering, Yale University 5Tencent {fenglinliu98, xusun}@pku.edu.cn, chenyu.you@yale.edu {kevinxwu, shenge}@tencent.com, swang@cs.washington.edu ",
17
+ "bbox": [
18
+ 209,
19
+ 224,
20
+ 790,
21
+ 327
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 362,
32
+ 535,
33
+ 378
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Medical report generation, which aims to automatically generate a long and coherent report of a given medical image, has been receiving growing research interests. Existing approaches mainly adopt a supervised manner and heavily rely on coupled image-report pairs. However, in the medical domain, building a large-scale image-report paired dataset is both time-consuming and expensive. To relax the dependency on paired data, we propose an unsupervised model Knowledge Graph Auto-Encoder (KGAE) which accepts independent sets of images and reports in training. KGAE consists of a pre-constructed knowledge graph, a knowledgedriven encoder and a knowledge-driven decoder. The knowledge graph works as the shared latent space to bridge the visual and textual domains; The knowledge-driven encoder projects medical images and reports to the corresponding coordinates in this latent space and the knowledge-driven decoder generates a medical report given a coordinate in this space. Since the knowledge-driven encoder and decoder can be trained with independent sets of images and reports, KGAE is unsupervised. The experiments show that the unsupervised KGAE generates desirable medical reports without using any image-report training pairs. Moreover, KGAE can also work in both semi-supervised and supervised settings, and accept paired images and reports in training. By further fine-tuning with image-report pairs, KGAE consistently outperforms the current state-of-the-art models on two datasets. ",
40
+ "bbox": [
41
+ 233,
42
+ 392,
43
+ 766,
44
+ 655
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 174,
54
+ 678,
55
+ 310,
56
+ 694
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Medical images, such as radiology and pathology images, and their corresponding reports are widely used for clinical diagnosis and treatment [8, 11]. A medical report is usually a paragraph of multiple sentences which describes both the normal and abnormal findings in the medical image. In clinical practice, writing a report can be time-consuming and tedious for experienced radiologists, and error-prone for inexperienced radiologists [4]. Therefore, given the large volume of medical images, automatically generating reports can improve current clinical practice in diagnostic radiology and assist radiologists in clinical decision-making [15, 25]. Specifically, it can relieve radiologists from such heavy workload and alert radiologists of the abnormalities to avoid misdiagnosis and missed diagnosis. Therefore, automatic medical report generation attracts remarkable attention in both artificial intelligence and clinical medicine. ",
63
+ "bbox": [
64
+ 174,
65
+ 708,
66
+ 825,
67
+ 847
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Recently, inspired by the great success of neural machine translation [2, 38, 49, 50, 48], image captioning [44, 39, 46, 28, 30, 29] and medical imaging analysis [47, 51, 52], the data-driven deep neural models, particularly those based on the encoder-decoder frameworks [15, 16, 25, 22, 41, 45, 53, 54, 6], have achieved great success in advancing the state-of-the-art of medical report generation. However, these models are trained in a supervised learning manner and heavily rely on labeled paired image-report datasets [9, 17], which are not easy to acquire in the real world. Specifically, the medical-related data can only be manually labeled by professional radiologists, and also involves privacy issues. Therefore, the medical report generation datasets are particularly labor-intensive and expensive to obtain. As a result, the scales of existing widely-used datasets for medical report generation models [16, 25, 22, 23], i.e., MIMIC-CXR (0.22M samples) [17] and IU X-ray (4K samples) [9], are relatively small compared to image recognition datasets, e.g., ImageNet (14M samples) [10], and image captioning datasets, e.g., Conceptual Captions (3.3M samples) [36]. In addition, the MIMIC-CXR and IU X-Ray datasets only include Chest X-Ray images, for other types of medical images (MRI, Dermoscopy, Retinal, etc.) of other body parts (brain, skin, eye, etc.), the image-report pairs could be much less or even unavailable. Therefore, to relax the reliance on the paired data sets, making use of all available data, like independent image or report sets, is becoming increasingly important. ",
74
+ "bbox": [
75
+ 176,
76
+ 853,
77
+ 821,
78
+ 882
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "image",
84
+ "img_path": "images/afd8a513e722a0d7580732c419f634a6b81e954681b7596839e01ae7aa180bf4.jpg",
85
+ "image_caption": [
86
+ "Figure 1: Illustration of our Knowledge Graph Auto-Encoder, which consists of a pre-constructed knowledge graph, a knowledge-driven encoder and a knowledge-driven decoder. The Green and Red lines denote the data flow in the training process and testing process of report generation, respectively. "
87
+ ],
88
+ "image_footnote": [],
89
+ "bbox": [
90
+ 220,
91
+ 87,
92
+ 776,
93
+ 260
94
+ ],
95
+ "page_idx": 1
96
+ },
97
+ {
98
+ "type": "text",
99
+ "text": "",
100
+ "bbox": [
101
+ 174,
102
+ 333,
103
+ 825,
104
+ 539
105
+ ],
106
+ "page_idx": 1
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "In this paper, we propose an unsupervised model Knowledge Graph Auto-Encoder (KGAE), which utilizes independent sets of images and reports in training (the image and report set are separate and have no overlap). KGAE consists of a pre-constructed knowledge graph, a knowledge-driven encoder and a knowledge-driven decoder. As shown in Figure 1, the knowledge graph works as the shared latent space of images and reports. The knowledge-driven encoder can take either the image $I$ or the report $R$ as queries and project them to corresponding coordinates $\\mathcal { G } _ { I }$ and $\\mathcal { G } _ { R }$ in the latent space. In this manner, since $\\mathcal { G } _ { I }$ and $\\mathcal { G } _ { R }$ share the same latent space, we can use positions in latent space to measure the relationship between images and reports which narrows the gap between visual and textual domains. In brief, to bridge the gap between vision and language domains without training on the pairs of images and reports, we adopt the knowledge graph to create a latent space and propose a knowledge-driven encoder, which includes a common mapping function to project images and reports to the same latent space. As a result, our encoder can extract the image and report knowledge representations, i.e., the knowledge related to the image and report, they (image, report knowledge) share the common latent space, which allows our model to bridge the gap between vision and language domains without the training on the pairs of image and report. Next, we introduce the knowledge-driven decoder to exploit $\\mathcal { G } _ { I }$ and $\\mathcal { G } _ { R }$ to generate the report. In the training stage, we estimate the parameters of the decoder by reconstructing the input report $R$ based on $\\mathcal { G } _ { R }$ , i.e., $R \\mathcal { G } _ { R } R$ auto-encoding pipeline; In the prediction stage, we directly input $\\mathcal { G } _ { I }$ into the trained decoder to generate the report. In this way, our approach can produce desirable reports without any labeled image-report pairs. ",
111
+ "bbox": [
112
+ 174,
113
+ 545,
114
+ 825,
115
+ 823
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "Overall, the contributions of this paper are as follows: ",
122
+ "bbox": [
123
+ 176,
124
+ 829,
125
+ 526,
126
+ 843
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "• In this paper, we make the first attempt to conduct unsupervised medical report generation where the image-report pairs are not available. To this end, we propose the Knowledge Graph Auto-Encoder (KGAE). By leveraging a pre-constructed knowledge graph, we introduce the knowledge-driven encoder and decoder which are trained with independent sets of images and reports. According to the experimental results, the unsupervised KGAE can even outperform several supervised approaches. ",
133
+ "bbox": [
134
+ 218,
135
+ 856,
136
+ 823,
137
+ 911
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "",
144
+ "bbox": [
145
+ 227,
146
+ 92,
147
+ 823,
148
+ 119
149
+ ],
150
+ "page_idx": 2
151
+ },
152
+ {
153
+ "type": "text",
154
+ "text": "• In addition to the unsupervised mode, KGAE can also be applied in a semi-supervised or supervised manner. Under the semi-supervised setting, by using only $60 \\%$ of paired dataset, KGAE is able to achieve competitive results with current state-of-art models; Under the supervised setting, by training on fully paired datasets as in existing works, KGAE can set new state-of-the-art performances on the IU X-ray and MIMIC-CXR, respectively. • The analysis, both quantitative and qualitative, as well as a human evaluation conducted by professional radiologists, further proves the effectiveness of our approach. ",
155
+ "bbox": [
156
+ 218,
157
+ 122,
158
+ 825,
159
+ 226
160
+ ],
161
+ "page_idx": 2
162
+ },
163
+ {
164
+ "type": "text",
165
+ "text": "2 Related Works ",
166
+ "text_level": 1,
167
+ "bbox": [
168
+ 174,
169
+ 243,
170
+ 330,
171
+ 261
172
+ ],
173
+ "page_idx": 2
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "Medical report generation aims to generate a relatively long paragraph to describe a given medical image. It is similar to the image captioning task [5], which aims to generate a sentence to describe a given image. In image captioning, the encoder-decoder framework [39], where the encoder [20, 12] computes visual representations for the image and the decoder [13, 38] generates a target sentence based on the visual representations, has achieved great success [1, 31, 35, 44]. However, instead of only generating one single sentence, medical report generation aims to generate a long paragraph including multiple structured sentences that describe both the normal and abnormal parts [25, 15]. To this end, given the success of encoder-decoder framework on image captioning, most existing medical report generation models attempt to exploit the hierarchical LSTM (HLSTM) [15, 16, 19] or Transformer [6] to generate an accurate, long and coherent report. However, existing models require the paired image-report datasets, which are time-consuming and expensive to collect. In this paper, we propose the unsupervised model Knowledge Graph Auto-Encoder (KGAE) which doesn’t need paired images and reports. ",
178
+ "bbox": [
179
+ 173,
180
+ 267,
181
+ 826,
182
+ 446
183
+ ],
184
+ "page_idx": 2
185
+ },
186
+ {
187
+ "type": "text",
188
+ "text": "Note that although the knowledge graph has been integrated in existing medical report generation models [54, 22], these approaches are supervised and require paired images and reports. Thus, their objectives and motivations of using knowledge graph are different from our work. In detail, existing knowledge-graph based medical report generation methods aim to adopt the knowledge graph to boost the performance of supervised models. However, in our work, we aim to generate a medical report without using any coupled image-report training pairs, i.e., unsupervised medical report generation. A key challenge of unsupervised medical report generation is to bridge the gap between vision and language domains. To this end, we adopt the knowledge graph to create a latent space and propose a knowledge-driven encoder to project image and report to the same latent space. ",
189
+ "bbox": [
190
+ 173,
191
+ 453,
192
+ 825,
193
+ 579
194
+ ],
195
+ "page_idx": 2
196
+ },
197
+ {
198
+ "type": "text",
199
+ "text": "3 Approach ",
200
+ "text_level": 1,
201
+ "bbox": [
202
+ 174,
203
+ 588,
204
+ 289,
205
+ 606
206
+ ],
207
+ "page_idx": 2
208
+ },
209
+ {
210
+ "type": "text",
211
+ "text": "We first formulate the conventional supervised medical report generation problems; Then, we describe the proposed Knowledge Graph Auto-Encoder for unsupervised medical report generation in detail. ",
212
+ "bbox": [
213
+ 173,
214
+ 612,
215
+ 823,
216
+ 640
217
+ ],
218
+ "page_idx": 2
219
+ },
220
+ {
221
+ "type": "text",
222
+ "text": "3.1 Conventional Supervised Medical Report Generation Models ",
223
+ "text_level": 1,
224
+ "bbox": [
225
+ 174,
226
+ 647,
227
+ 637,
228
+ 662
229
+ ],
230
+ "page_idx": 2
231
+ },
232
+ {
233
+ "type": "text",
234
+ "text": "Given a medical image $I$ , the goal is to generate a descriptive report $R$ . Most models [15, 16, 6] normally include an image encoder and a report decoder, which can be formulated as: ",
235
+ "bbox": [
236
+ 176,
237
+ 667,
238
+ 823,
239
+ 696
240
+ ],
241
+ "page_idx": 2
242
+ },
243
+ {
244
+ "type": "equation",
245
+ "img_path": "images/b1113f598df9f5da69387dda0a2f7510dc687825af98010488d01ddd8b7e139e.jpg",
246
+ "text": "$$\n{ \\mathrm { I m a g e ~ E n c o d e r : ~ } } I I ^ { \\prime } ; { \\mathrm { ~ ~ R e p o r t ~ D e c o d e r : ~ } } I ^ { \\prime } R ,\n$$",
247
+ "text_format": "latex",
248
+ "bbox": [
249
+ 321,
250
+ 700,
251
+ 673,
252
+ 717
253
+ ],
254
+ "page_idx": 2
255
+ },
256
+ {
257
+ "type": "text",
258
+ "text": "where $I ^ { \\prime } \\in \\mathbb { R } ^ { N _ { I } \\times d }$ denotes the image embeddings extracted by the image encoder, e.g., ResNet-50 [12]. Then, $I ^ { \\prime }$ is used to guide the generation of the target report $R$ in the report decoder, e.g., LSTM [13] and Transformer [38]. During training, given the ground truth report for the input image, we can train the encoder-decoder model by minimizing a supervised training loss, e.g., cross-entropy loss. However, paired image-report $( I { - } R )$ datasets are particularly labor-intensive and expensive to obtain. Therefore, in this paper, we aim to relax the reliance on the paired datasets and make use of the independent sets of images and reports instead. ",
259
+ "bbox": [
260
+ 174,
261
+ 722,
262
+ 825,
263
+ 820
264
+ ],
265
+ "page_idx": 2
266
+ },
267
+ {
268
+ "type": "text",
269
+ "text": "3.2 Knowledge Graph Auto-Encoder ",
270
+ "text_level": 1,
271
+ "bbox": [
272
+ 176,
273
+ 828,
274
+ 442,
275
+ 843
276
+ ],
277
+ "page_idx": 2
278
+ },
279
+ {
280
+ "type": "text",
281
+ "text": "As shown in Figure 1, the proposed KGAE includes a knowledge graph, a knowledge-driven encoder and a knowledge-driven decoder, which will be described in detail in the following sections. ",
282
+ "bbox": [
283
+ 174,
284
+ 848,
285
+ 823,
286
+ 877
287
+ ],
288
+ "page_idx": 2
289
+ },
290
+ {
291
+ "type": "text",
292
+ "text": "Knowledge Graph The motivation of using the knowledge graph is that writing medical reports usually requires particular domain knowledge [11, 22]. Therefore, we can utilize the knowledge graph, which models the domain-specific knowledge structure, to serve as a bridge to correlate the knowledge representations of the visual and textual domains. In particular, we construct an off-the-shelf global medical knowledge graph $\\mathcal { G } = ( V , E )$ covering the common abnormalities and normalities, where $V = \\{ v _ { i } \\} _ { i = 1 : N _ { \\mathrm { K G } } } \\in \\mathbb { R } ^ { N _ { \\mathrm { K G } } \\times d }$ is a set of nodes and $E = \\{ e _ { i , j } \\} _ { i , j = 1 : N _ { \\mathrm { K G } } }$ is a set of edges. In detail, based on the report corpus, i.e., MIMIC-CXR [17], we consider the $N _ { \\mathrm { K G } }$ frequent clinical abnormalities (e.g., \"enlarged heart size\", \"pleural effusion\", and \"bibasilar consolidation\") and normalities (e.g., \"heart size is normal\" and \"lungs are clear\") as nodes. The edge weights are calculated by the normalized co-occurrence of different nodes computed from report corpus. Please note that this knowledge graph is built purely from the training set of MIMIC-CXR, thus there is no label leakage. After that, the knowledge graph is embedded by a graph embedding module, i.e., graph convolution network [32, 24], which is implemented as follows: ",
293
+ "bbox": [
294
+ 174,
295
+ 882,
296
+ 820,
297
+ 911
298
+ ],
299
+ "page_idx": 2
300
+ },
301
+ {
302
+ "type": "text",
303
+ "text": "",
304
+ "bbox": [
305
+ 173,
306
+ 90,
307
+ 826,
308
+ 246
309
+ ],
310
+ "page_idx": 3
311
+ },
312
+ {
313
+ "type": "equation",
314
+ "img_path": "images/aaeb2d9a8808e9d4735408b7d0a4f248c57068a378d3fc29021a77d361319f0f.jpg",
315
+ "text": "$$\nv _ { i } ^ { \\prime } = v _ { i } + \\mathrm { R e L U } ( \\sum _ { j = 1 } ^ { N _ { \\mathrm { K G } } } e _ { i , j } W _ { v } v _ { j } ) ,\n$$",
316
+ "text_format": "latex",
317
+ "bbox": [
318
+ 398,
319
+ 248,
320
+ 598,
321
+ 290
322
+ ],
323
+ "page_idx": 3
324
+ },
325
+ {
326
+ "type": "text",
327
+ "text": "where $\\mathrm { R e L U } ( \\cdot )$ represents the ReLU activation function and $W _ { v } \\in \\mathbb { R } ^ { d \\times d }$ is the learnable matrix. As a result, we can acquire a set of node embeddings $V ^ { \\prime } = \\{ v _ { 1 } ^ { \\prime } , v _ { 2 } ^ { \\prime } , \\ldots , v _ { N _ { \\mathrm { K G } } } ^ { \\prime } \\} \\in \\mathbb { R } ^ { N _ { \\mathrm { K G } } \\times d }$ . It is worth noting that more complex graph structures could be constructed by using more large-scale medical textbooks. Therefore, our model is not limited to the currently constructed graph and could provide a good basis for the research of unsupervised medical report generation for other domains. ",
328
+ "bbox": [
329
+ 174,
330
+ 294,
331
+ 825,
332
+ 366
333
+ ],
334
+ "page_idx": 3
335
+ },
336
+ {
337
+ "type": "text",
338
+ "text": "Knowledge-driven Encoder The knowledge-driven encoder (KE) is designed to utilize the knowledge graph $\\mathcal { G }$ to extract knowledge representations $( \\mathcal { G } _ { I } \\in \\mathbb { R } ^ { N _ { I } \\times d }$ and $\\mathcal { G } _ { R } \\in \\overline { { \\mathbb { R } } } ^ { N _ { R } \\times d } )$ of both image $I$ and report $R$ to bridge the vision and the language domains, which can be formulated as: ",
339
+ "bbox": [
340
+ 173,
341
+ 372,
342
+ 825,
343
+ 414
344
+ ],
345
+ "page_idx": 3
346
+ },
347
+ {
348
+ "type": "equation",
349
+ "img_path": "images/7812325f7057e666ef1c49b3416922a6919e20846f0d1de257cf61489030935f.jpg",
350
+ "text": "$$\n{ \\mathcal G } _ { I } = \\mathrm { K E } _ { I } ( I , { \\mathcal G } ) ; { \\mathcal G } _ { R } = \\mathrm { K E } _ { R } ( R , { \\mathcal G } ) .\n$$",
351
+ "text_format": "latex",
352
+ "bbox": [
353
+ 374,
354
+ 417,
355
+ 622,
356
+ 435
357
+ ],
358
+ "page_idx": 3
359
+ },
360
+ {
361
+ "type": "text",
362
+ "text": "In implementations, as shown in Figure 1, we first adopt the ResNet-50 [12] and the Transformer [38] as the image embedding module and report embedding module to embed the image $I$ and report $R$ , acquiring the image embeddings $I ^ { \\prime } \\in \\mathbb { R } ^ { \\bar { N } _ { I } \\times d }$ and report embeddings $R ^ { \\prime } \\in \\mathbb { R } ^ { N _ { R } \\times \\breve { d } }$ , respectively. Next, to extract the knowledge representations from knowledge graph $\\mathcal { G }$ , we adopt the attention mechanism [38] to implement the KE. The motivation stems from that the attention mechanism can compute the association weights between different features and allows probabilistic many-to-many relations instead of monotonic relations, as in [38, 44, 29]. As a result, we take $I ^ { \\prime }$ and $R ^ { \\prime }$ as the queries, and take the knowledge graph $\\mathcal { G }$ (i.e., $V ^ { \\prime } = \\{ v _ { 1 } ^ { \\prime } , v _ { 2 } ^ { \\prime } , \\ldots , v _ { N _ { \\mathrm { K G } } } ^ { \\prime } \\} \\in \\mathbb { R } ^ { N _ { \\mathrm { K G } } \\times d } )$ as the lookup matrix: ",
363
+ "bbox": [
364
+ 173,
365
+ 438,
366
+ 826,
367
+ 564
368
+ ],
369
+ "page_idx": 3
370
+ },
371
+ {
372
+ "type": "equation",
373
+ "img_path": "images/111fc65509c8e19f26d1e1d2bb2ae062fc168504649b6b143dddcd03711aa27b.jpg",
374
+ "text": "$$\n\\begin{array} { r l } & { \\mathcal { G } _ { I } = \\mathrm { K E } _ { I } ( I , \\mathcal { G } ) = \\mathcal { F } ( \\mathrm { A t t e n t i o n } _ { I } ( I ^ { \\prime } , V ^ { \\prime } ) ) ; \\mathcal { G } _ { R } = \\mathrm { K E } _ { R } ( R , \\mathcal { G } ) = \\mathcal { F } ( \\mathrm { A t t e n t i o n } _ { R } ( R ^ { \\prime } , V ^ { \\prime } ) ) } \\\\ & { \\quad \\quad \\quad \\quad \\quad \\mathrm { A t t e n t i o n } ( x , y ) = \\mathrm { s o f t m a x } \\left( \\frac { x W _ { \\ P } \\left( y W _ { \\mathbf { k } } \\right) ^ { \\top } } { \\sqrt { d } } \\right) y W _ { \\mathbf { v } } . } \\end{array}\n$$",
375
+ "text_format": "latex",
376
+ "bbox": [
377
+ 196,
378
+ 563,
379
+ 779,
380
+ 627
381
+ ],
382
+ "page_idx": 3
383
+ },
384
+ {
385
+ "type": "text",
386
+ "text": "where $x \\in \\mathbb { R } ^ { N _ { x } \\times d _ { x } } , y \\in \\mathbb { R } ^ { N _ { y } \\times d _ { y } }$ ; $W _ { \\mathrm { q } } \\in \\mathbb { R } ^ { d _ { x } \\times d _ { x } }$ , $W _ { \\mathbf { k } } \\in \\mathbb { R } ^ { d _ { y } \\times d _ { y } }$ and $W _ { \\mathrm { v } } \\in \\mathbb { R } ^ { d _ { y } \\times d _ { y } }$ $\\langle d _ { x } = d _ { y }$ ) are learnable parameters. $\\mathcal { F }$ is implemented as two fully-connected (FC) layers with a ReLU in between, i.e., FC-ReLU-FC. The resulted $\\mathcal { G } _ { I } \\in \\mathbb { R } ^ { N _ { I } \\times d }$ and $\\dot { \\mathcal { G } } _ { R } \\in \\mathbb { R } ^ { N _ { R } \\times d }$ turn out to be a set of attended (i.e., extracted) knowledge related to the image and report. The knowledge representations $\\mathcal { G } _ { I }$ and $\\mathcal { G } _ { R }$ share the common latent space which bridges the vision and the language domains. Note that the $\\mathcal { F }$ used in $\\mathrm { K E } _ { I }$ and $\\mathrm { K E } _ { R }$ shares the same parameters and is thus introduced to further boost the bridging capabilities of different modalities. It means that we adopt two KEs, i.e., $\\mathrm { K E } _ { I }$ and $\\mathrm { K E } _ { R }$ , and each KE includes an attention model as well as a common mapping function $\\mathcal { F }$ . The only shared weights of $\\mathrm { K E } _ { I }$ and $\\mathrm { K E } _ { R }$ are the parameters of $\\mathcal { F }$ , and the parameters of attention models are independent. ",
387
+ "bbox": [
388
+ 173,
389
+ 628,
390
+ 826,
391
+ 757
392
+ ],
393
+ "page_idx": 3
394
+ },
395
+ {
396
+ "type": "text",
397
+ "text": "Knowledge-driven Decoder The decoder is designed to generate the reports based on the graph representations $\\mathcal { G } _ { I }$ or $\\mathcal { G } _ { R }$ . For clarity, we use $\\mathcal { G } _ { k }$ to represent the $\\mathcal { G } _ { R }$ and $\\mathcal { G } _ { I }$ during the training and testing stages, respectively. In implementations, since medical report generation requires generating a long paragraph, we choose the (three-layer) Transformer [38] as the basic module of our decoder and incorporate the proposed Knowledge-driven Attention (KA) to effectively model the long sequences. ",
398
+ "bbox": [
399
+ 174,
400
+ 761,
401
+ 825,
402
+ 833
403
+ ],
404
+ "page_idx": 3
405
+ },
406
+ {
407
+ "type": "text",
408
+ "text": "At each decoding step $t$ , the decoder takes the embedding of current input word $x _ { t } = w _ { t } + e _ { t } \\in \\mathbb { R } ^ { 2 d }$ as input, where $w _ { t }$ and $e _ { t }$ denote the word embedding and fixed position embedding, respectively, and generate each word $r _ { t }$ in report $R = \\{ r _ { 1 } , r _ { 2 } , . . . , r _ { T } \\}$ , which can be defined as follows: ",
409
+ "bbox": [
410
+ 174,
411
+ 838,
412
+ 825,
413
+ 881
414
+ ],
415
+ "page_idx": 3
416
+ },
417
+ {
418
+ "type": "equation",
419
+ "img_path": "images/76403d2c4eeac99fa6af5036a877f9ed6f1e4148334a775fcde6690e6e51edee.jpg",
420
+ "text": "$$\n\\begin{array}{c} \\begin{array} { r } { \\begin{array} { r } { h _ { t } = \\mathrm { A t t e n t i o n } ( x _ { t } , x _ { 1 : t } ) } \\\\ { h _ { t } ^ { \\prime } = \\mathrm { K A } ( h _ { t } , \\mathcal { G } _ { k } , B ) } \\end{array} , \\mathrm { ~ w h e r e ~ } \\mathcal { G } _ { k } = \\left\\{ \\begin{array} { r l } { \\mathcal { G } _ { R } , } & { \\mathrm { T r a i n i n g } } \\\\ { \\mathcal { G } _ { I } , } & { \\mathrm { T e s t i n g } } \\end{array} \\right. ; r _ { t } \\sim p _ { t } = \\mathrm { s o f t m a x } ( \\mathrm { F F N } ( h _ { t } ^ { \\prime } ) \\mathbb { W } _ { p } ) , } \\end{array} \\end{array}\n$$",
421
+ "text_format": "latex",
422
+ "bbox": [
423
+ 209,
424
+ 885,
425
+ 790,
426
+ 916
427
+ ],
428
+ "page_idx": 3
429
+ },
430
+ {
431
+ "type": "text",
432
+ "text": "where FFN stands for Feed-Forward Network in the original Transformer [38]; $\\mathbf { W } _ { p } \\in \\mathbb { R } ^ { 2 d \\times | D | }$ is the learnable parameter $| | D | |$ denotes the vocabulary size); $B$ represents the knowledge bank in the KA. ",
433
+ "bbox": [
434
+ 173,
435
+ 90,
436
+ 823,
437
+ 119
438
+ ],
439
+ "page_idx": 4
440
+ },
441
+ {
442
+ "type": "text",
443
+ "text": "In particular, the knowledge-driven attention (KA) is inspired by the success of many works that attempt to augment a working memory into the network, e.g., memory network. Memory network preserves a dynamic knowledge base for subsequent inference [37, 21, 42, 43, 40, 46, 33]. For example, [37, 21] and [42, 43] proposed to preserve the context of a document and visual knowledge to solve language modeling and visual question answering, respectively. In this paper, since the knowledge representations $\\mathcal { G } _ { k }$ are extracted from the off-the-shelf global knowledge graph $\\mathcal { G }$ , we incorporate a knowledge memory mechanism to distill and preserve the fine-grained medical knowledge related to report generation task, which encourages our decoder to generate more accurate and desirable reports. Specifically, we introduce the knowledge bank $B = \\{ b _ { 1 } , b _ { 2 } , \\ldots , b _ { N _ { \\mathrm { B } } } \\} \\in \\mathbb { R } ^ { N _ { \\mathrm { B } } \\times d }$ , where $N _ { \\mathrm { B } }$ stands for the total number of the knowledge corresponding to report generation. As a result, given the graph representations $\\mathcal { G } _ { k } \\in \\mathbb { R } ^ { N _ { k } \\times d }$ , the knowledge memory mechanism is defined as follows: ",
444
+ "bbox": [
445
+ 173,
446
+ 125,
447
+ 825,
448
+ 279
449
+ ],
450
+ "page_idx": 4
451
+ },
452
+ {
453
+ "type": "equation",
454
+ "img_path": "images/55e556f0532c418e15666290c821fe186d2ca5e6a243f0dae63583e180bdc76d.jpg",
455
+ "text": "$$\nB _ { k } = \\operatorname { s o f t m a x } \\left( \\mathcal { G } _ { k } B ^ { \\top } \\right) B .\n$$",
456
+ "text_format": "latex",
457
+ "bbox": [
458
+ 410,
459
+ 284,
460
+ 588,
461
+ 304
462
+ ],
463
+ "page_idx": 4
464
+ },
465
+ {
466
+ "type": "text",
467
+ "text": "Through above operation, each feature/vector in the $\\mathcal { G } _ { k } \\in \\mathbb { R } ^ { N _ { k } \\times d }$ can distill the fine-grained knowledge preserved in $B$ to acquire $B _ { k } \\in \\mathbb { R } ^ { N _ { k } \\times d }$ for accurate report generation. ",
468
+ "bbox": [
469
+ 173,
470
+ 310,
471
+ 828,
472
+ 340
473
+ ],
474
+ "page_idx": 4
475
+ },
476
+ {
477
+ "type": "text",
478
+ "text": "Based on the above mechanism, the knowledge-driven attention in Eq. (5) is defined as: ",
479
+ "bbox": [
480
+ 174,
481
+ 344,
482
+ 748,
483
+ 361
484
+ ],
485
+ "page_idx": 4
486
+ },
487
+ {
488
+ "type": "equation",
489
+ "img_path": "images/f16d2e95546a09969aa83c79ca74da6fd86d376cbbeece8653d37cbf97eafcb5.jpg",
490
+ "text": "$$\nh _ { t } ^ { \\prime } = \\mathrm { K A } ( h _ { t } , \\mathcal { G } _ { k } , B ) = \\mathrm { A t t e n t i o n } ( h _ { t } , [ \\mathcal { G } _ { k } ; B _ { k } ] ) = \\mathrm { A t t e n t i o n } \\left( h _ { t } , \\left[ \\mathcal { G } _ { k } ; \\operatorname { s o f t m a x } \\left( \\mathcal { G } _ { k } B ^ { \\top } \\right) B \\right] \\right) .\n$$",
491
+ "text_format": "latex",
492
+ "bbox": [
493
+ 184,
494
+ 366,
495
+ 790,
496
+ 386
497
+ ],
498
+ "page_idx": 4
499
+ },
500
+ {
501
+ "type": "text",
502
+ "text": "where $[ \\cdot ; \\cdot ]$ denotes the concatenation operation. It is worth noting that these operations are all differentiable, thus the bank $B$ can be learned in an end-to-end fashion. ",
503
+ "bbox": [
504
+ 173,
505
+ 391,
506
+ 823,
507
+ 420
508
+ ],
509
+ "page_idx": 4
510
+ },
511
+ {
512
+ "type": "text",
513
+ "text": "In our subsequent analysis, we will show that the introduced knowledge memory mechanism indeed distills and preserves the desired medical knowledge, and thus boost the generation of reports. ",
514
+ "bbox": [
515
+ 171,
516
+ 426,
517
+ 823,
518
+ 455
519
+ ],
520
+ "page_idx": 4
521
+ },
522
+ {
523
+ "type": "text",
524
+ "text": "3.3 Implementation Details ",
525
+ "text_level": 1,
526
+ "bbox": [
527
+ 174,
528
+ 464,
529
+ 377,
530
+ 479
531
+ ],
532
+ "page_idx": 4
533
+ },
534
+ {
535
+ "type": "text",
536
+ "text": "Unsupervised Training Details To train our KGAE in an unsupervised manner, instead of using the paired image-report dataset in the conventional supervised model, we only require an image set CheXpert [14], which includes 224,316 X-ray images, and a separate report corpus MIMIC-CXR $[ 1 7 ] + \\mathrm { I U }$ X-ray [9], which includes $2 2 2 , 7 5 8 + 2 , 7 7 { \\bar { 0 } } = 2 2 5 , 5 2 8 \\ \\cdot$ reports2. ",
537
+ "bbox": [
538
+ 174,
539
+ 486,
540
+ 825,
541
+ 541
542
+ ],
543
+ "page_idx": 4
544
+ },
545
+ {
546
+ "type": "text",
547
+ "text": "In detail, to train our knowledge-driven encoder $\\mathrm { K E } _ { I }$ and $\\mathrm { K E } _ { R }$ (see Eq. (4)), we feed the $\\mathcal { G } _ { I }$ and $\\mathcal { G } _ { R }$ into a common multi-label classification network [54, 15] trained with binary cross entropy loss for 14 common radiographic observations classification3. In this way, our encoder can extract the knowledge representations $\\mathcal { G } _ { I }$ and $\\mathcal { G } _ { R }$ of both image and report in a common latent space, effectively bridging the vision and the language domains. To train the knowledge-driven decoder, as well as the knowledge bank $B$ (see Eq. (5)), since there are no coupled image-report pairs, we propose to reconstruct the report $R$ based on the $\\mathcal { G } _ { R }$ . Therefore, through Eq. (5), taking the input report $R = \\{ r _ { 1 } , r _ { 2 } , \\ldots , r _ { T } \\}$ as the ground truth report, we can train our approach by minimizing the cross-entropy loss: ",
548
+ "bbox": [
549
+ 173,
550
+ 547,
551
+ 825,
552
+ 660
553
+ ],
554
+ "page_idx": 4
555
+ },
556
+ {
557
+ "type": "equation",
558
+ "img_path": "images/5455a25d1446dfd33b7558da3fb08d7f4d6d6ee7b41e8e8962dfc3e6b5076335.jpg",
559
+ "text": "$$\nL _ { \\mathrm { C E } } = - \\sum _ { t = 1 } ^ { T } \\log \\left( p \\left( r _ { t } \\mid r _ { 1 : t - 1 } \\right) \\right) .\n$$",
560
+ "text_format": "latex",
561
+ "bbox": [
562
+ 392,
563
+ 665,
564
+ 606,
565
+ 704
566
+ ],
567
+ "page_idx": 4
568
+ },
569
+ {
570
+ "type": "text",
571
+ "text": "In this way, we can train our decoder in the $R \\mathcal { G } _ { R } R$ auto-encoding pipeline. ",
572
+ "bbox": [
573
+ 174,
574
+ 708,
575
+ 714,
576
+ 724
577
+ ],
578
+ "page_idx": 4
579
+ },
580
+ {
581
+ "type": "text",
582
+ "text": "During testing, we first adopt the knowledge-driven encoder to extract the knowledge representations $\\mathcal { G } _ { I }$ of the test image (see Eq. (4)). Then, we directly feed $\\mathcal { G } _ { I }$ into the decoder to generate final report in the $I { \\mathcal { G } } _ { I } R$ pipeline (see Eq. (5)). In this way, our approach can relax the reliance on the image-report pairs. In our following experiments, we validate the effectiveness of our approach, which even outperforms some supervised approaches. ",
583
+ "bbox": [
584
+ 174,
585
+ 729,
586
+ 825,
587
+ 800
588
+ ],
589
+ "page_idx": 4
590
+ },
591
+ {
592
+ "type": "text",
593
+ "text": "Semi-Supervised and Supervised Training Details To further validate the effectiveness of our approach, we fine-tune the unsupervised $K G A E$ using partial and full image-report pairs to acquire the KGAE-Semi(-Supervised) and KGAE-Supervised, respectively, where the former can evaluate the performance of our approach under limited labeled pairs for training and the latter can compare the performance of KGAE with state-of-the-art supervised approaches. In the (semi-)supervised setting, given the image-report pairs, i.e., $I { - } R$ , we first incorporate the original visual information into the knowledge representation $\\mathcal { G } _ { I }$ , and then train our KGAE by generating the ground truth report in the $I { \\mathcal { G } } _ { I } R$ pipeline and minimizing the cross-entropy loss in Eq. (8). During testing, we also follow the unsupervised setting to generate the final report in the $I { \\mathcal { G } } _ { I } R$ pipeline. ",
594
+ "bbox": [
595
+ 173,
596
+ 804,
597
+ 825,
598
+ 862
599
+ ],
600
+ "page_idx": 4
601
+ },
602
+ {
603
+ "type": "text",
604
+ "text": "",
605
+ "bbox": [
606
+ 174,
607
+ 92,
608
+ 825,
609
+ 161
610
+ ],
611
+ "page_idx": 5
612
+ },
613
+ {
614
+ "type": "text",
615
+ "text": "4 Experiments ",
616
+ "text_level": 1,
617
+ "bbox": [
618
+ 174,
619
+ 174,
620
+ 312,
621
+ 191
622
+ ],
623
+ "page_idx": 5
624
+ },
625
+ {
626
+ "type": "text",
627
+ "text": "We first introduce the datasets, metrics and detailed settings used for evaluation. Then, we present the evaluation of our approach under the unsupervised, semi-supervised and supervised training settings. ",
628
+ "bbox": [
629
+ 176,
630
+ 200,
631
+ 823,
632
+ 228
633
+ ],
634
+ "page_idx": 5
635
+ },
636
+ {
637
+ "type": "text",
638
+ "text": "4.1 Datasets, Metrics and Settings ",
639
+ "text_level": 1,
640
+ "bbox": [
641
+ 176,
642
+ 239,
643
+ 423,
644
+ 255
645
+ ],
646
+ "page_idx": 5
647
+ },
648
+ {
649
+ "type": "text",
650
+ "text": "Datasets In this paper, we adopt the test sets of IU X-ray [9] and MIMIC-CXR [17] for evaluation. All protected health information (e.g., patient name and date of birth) was de-identified. In particular, the IU X-ray [9] is a widely-used public benchmark dataset for medical report generation and contains 7,470 chest X-ray images associated with 3,955 fully de-identified medical reports. Each report is composed of impression, findings and indication sections, etc. [22]. Following [25], our method also focuses on the findings section as it is the most important component of reports. Then, following [16, 22, 25, 6], we randomly select $7 0 \\% - 1 0 \\% - 2 0 \\%$ image-report pairs of dataset to form the trainingvalidation-testing sets. The MIMIC-CXR [17] includes 377,110 chest $\\mathbf { X }$ -ray images associated with 227,835 reports. The dataset is officially split into 368,960 images (222,758 reports) for training, 2,991 images (1,808 reports) for validation and 5,159 images (3,269 reports) for testing. It is worth noting that we focus on the unsupervised medical report generation, where the image-report pairs are not available, thus the image-report training pairs of both the IU X-ray and MIMIC-CXR datasets are discarded and are not used in our unsupervised training stage. Only the training reports of MIMIC-CXR and IU $\\mathbf { X }$ -ray, i.e., $2 2 2 , 7 5 8 + 2 , 7 7 0 = 2 2 5 , 5 2 8$ reports, are used as the independent report corpus to train our unsupervised model. Only under the (semi-)supervised training setting, we will adopt the image-report training pairs to train our approach. ",
651
+ "bbox": [
652
+ 173,
653
+ 262,
654
+ 826,
655
+ 484
656
+ ],
657
+ "page_idx": 5
658
+ },
659
+ {
660
+ "type": "text",
661
+ "text": "Metrics To fairly compare with existing models [25, 6], we adopt the evaluation toolkit [5] to calculate the widely-used natural language generation metrics, i.e., BLEU [34], METEOR [3] and ROUGE-L [26], which measure the match between the generated reports and ground truth reports, but are not specialized for the abnormalities in the reports. Therefore, to measure the accuracy of descriptions for clinical abnormalities, we further report clinical efficacy metrics following the work of Chen et al. [6]. The clinical efficacy metrics are calculated by comparing the generated reports with ground truth reports in 14 different categories related to thoracic diseases and support devices, producing the Precision, Recall and F1 scores. ",
662
+ "bbox": [
663
+ 174,
664
+ 489,
665
+ 825,
666
+ 601
667
+ ],
668
+ "page_idx": 5
669
+ },
670
+ {
671
+ "type": "text",
672
+ "text": "Settings The size $d$ is set to 256. For the attention mechanism in Eq. (4) and Eq. (5), we adopt the multi-head attention [38], the number of heads $n$ in multi-head attention is set to 8. The intermediate dimension in $\\mathcal { F }$ , i.e., Eq. (4), is set to 1024. Based on the average performance on the validation set, the $N _ { \\mathrm { B } }$ in knowledge bank, i.e., Eq. (6), is set to 10,000. The $N _ { \\mathrm { K G } }$ in the knowledge graph is set to 200. In our knowledge-driven encoder, the image embedding module adopts the ResNet-50 [12] pretrained on ImageNet [10] and fine-tuned on CheXpert dataset [14] to extract the image embeddings in the shape of $7 \\times 7 \\times 2 0 4 8$ , which will be projected to $d = 2 5 6$ , acquiring $I ^ { \\prime } \\in \\mathbb { R } ^ { 4 9 \\times 2 5 6 }$ , i.e., $N _ { I } = 4 9$ ; The report embedding module is implemented by the Transformer [38] equipping with the self-attention mechanism provided in Lin et al. [27]; $N _ { R } = N _ { I } = 4 9$ . In both unsupervised and (semi-)supervised settings (see Section 3.3), the batch size is set to 16 and Adam optimizer [18] with a learning rate of 1e-4 is used for parameter optimization. Before testing on the IU X-ray/MIMICCXR, we further only employ the training data from IU X-ray/MIMIC-CXR to train the model. All re-implementations and our experiments were run on 8 V100 GPUs. ",
673
+ "bbox": [
674
+ 173,
675
+ 607,
676
+ 826,
677
+ 786
678
+ ],
679
+ "page_idx": 5
680
+ },
681
+ {
682
+ "type": "text",
683
+ "text": "4.2 Automatic Evaluation ",
684
+ "text_level": 1,
685
+ "bbox": [
686
+ 174,
687
+ 799,
688
+ 364,
689
+ 813
690
+ ],
691
+ "page_idx": 5
692
+ },
693
+ {
694
+ "type": "text",
695
+ "text": "We evaluate the performance of our approach under unsupervised, semi-supervised and supervised settings. The results are shown in Table 1, Table 2 and Figure 2. We select several supervised methods, including a recently state-of-the-art model R2Gen [6], for comparison. These models follow the encoder-decoder architecture, trained on the full pairs of images and reports. ",
696
+ "bbox": [
697
+ 174,
698
+ 820,
699
+ 825,
700
+ 877
701
+ ],
702
+ "page_idx": 5
703
+ },
704
+ {
705
+ "type": "text",
706
+ "text": "Unsupervised Setting As shown in Table 1 and Table 2, our unsupervised model KGAE achieves competitive results with some supervised models in both IU X-ray and MIMIC-CXR datasets, and even outperforms several supervised models. Specifically, on the IU X-ray dataset, Table 1 shows that KGAE surpasses the NIC [44], AdaAtt [31] and Att2in [35] in terms of all metrics, and the Transformer [6] in terms of BLEU-1,2,3. On the MIMIC-CXR dataset, Table 2 shows that KGAE outperforms the $\\mathcal { M } ^ { 2 }$ Trans. [7] in terms of Precision, Recall and F1. The competitive results prove the effectiveness of our approach in addressing the unsupervised medical report generation, and thus can generate desirable medical reports without the training on the pairs of image and report. ",
707
+ "bbox": [
708
+ 174,
709
+ 882,
710
+ 821,
711
+ 911
712
+ ],
713
+ "page_idx": 5
714
+ },
715
+ {
716
+ "type": "table",
717
+ "img_path": "images/25ef589aeb28dd3a8b4430fd53ad6c9f037a99296d850efb4b7f1727bdb742b1.jpg",
718
+ "table_caption": [
719
+ "Table 1: Performance in terms of natural language generation metrics on the IU X-ray and MIMICCXR. B-n, M and R-L are short for BLEU-n, METEOR and ROUGE-L, respectively. Higher is better in all columns. It is worth noting that the KGAE is trained in an unsupervised manner, KGAE-Semi is trained $60 \\%$ paired data, KGAE-Supervised and existing methods are trained with full paired data. "
720
+ ],
721
+ "table_footnote": [],
722
+ "table_body": "<table><tr><td rowspan=\"2\">Methods</td><td rowspan=\"2\">Year</td><td rowspan=\"2\">Ratio of Pairs</td><td colspan=\"6\">IU X-ray [9]</td><td colspan=\"6\">MIMIC-CXR [17]</td></tr><tr><td>B-1</td><td>B-2</td><td>B-3</td><td>B-4</td><td>M</td><td>R-L</td><td>B-1</td><td>B-2</td><td>B-3</td><td>B-4</td><td>M</td><td>R-L</td></tr><tr><td>NIC [39]</td><td>2015</td><td>100%</td><td>0.216</td><td>0.124</td><td>0.087</td><td>0.066</td><td>-</td><td>0.306</td><td>0.299</td><td>0.184</td><td>0.121</td><td>0.084</td><td>0.124</td><td>0.263</td></tr><tr><td>AdaAtt [31]</td><td>2017</td><td>100%</td><td>0.220</td><td>0.127</td><td>0.089</td><td>0.068</td><td>=</td><td>0.308</td><td>0.299</td><td>0.185</td><td>0.124</td><td>0.088</td><td>0.118</td><td>0.266</td></tr><tr><td>Att2in [35]</td><td>2017</td><td>100%</td><td>0.224</td><td>0.129</td><td>0.089</td><td>0.068</td><td>=</td><td>0.308</td><td>0.325</td><td>0.203</td><td>0.136</td><td>0.096</td><td>0.134</td><td>0.276</td></tr><tr><td>Transformer [6]</td><td>2020</td><td>100%</td><td>0.396</td><td>0.254</td><td>0.179</td><td>0.135</td><td>0.164</td><td>0.342</td><td>0.314</td><td>0.192</td><td>0.127</td><td>0.090</td><td>0.125</td><td>0.265</td></tr><tr><td>M² Trans.[7]</td><td>2020</td><td>100%</td><td>0.437</td><td>0.290</td><td>0.205</td><td>0.152</td><td>0.176</td><td>0.353</td><td>0.238</td><td>0.151</td><td>0.102</td><td>0.067</td><td>0.110</td><td>0.249</td></tr><tr><td>R2Gen [6]</td><td>2020</td><td>100%</td><td>0.470</td><td>0.304</td><td>0.219</td><td>0.165</td><td>0.187</td><td>0.371</td><td>0.353</td><td>0.218</td><td>0.145</td><td>0.103</td><td>0.142</td><td>0.277</td></tr><tr><td>KGAE</td><td></td><td>0%</td><td>0.417</td><td>0.263</td><td>0.181</td><td>0.126</td><td>0.149</td><td>0.318</td><td>0.221</td><td>0.144</td><td>0.096</td><td>0.062</td><td>0.097</td><td>0.208</td></tr><tr><td>KGAE-Semi</td><td>Ours</td><td>60%</td><td>0.497</td><td>0.320</td><td>0.232</td><td>0.171</td><td>0.189</td><td>0.379</td><td>0.352</td><td>0.219</td><td>0.149</td><td>0.108</td><td>0.147</td><td>0.290</td></tr><tr><td>KGAE-Supervised</td><td></td><td>100%</td><td>0.512</td><td>0.327</td><td>0.240</td><td>0.179</td><td>0.195</td><td>0.383</td><td>0.369</td><td>0.231</td><td>0.156</td><td>0.118</td><td>0.153</td><td>0.295</td></tr></table>",
723
+ "bbox": [
724
+ 176,
725
+ 151,
726
+ 821,
727
+ 291
728
+ ],
729
+ "page_idx": 6
730
+ },
731
+ {
732
+ "type": "table",
733
+ "img_path": "images/ca2c382c56dd32757cc94909957087f7fb4a5279ebfefbdafba17175ebe27d06.jpg",
734
+ "table_caption": [
735
+ "Table 2: Performance of automatic evaluation in terms of clinical efficacy metrics, which measure the accuracy of descriptions for clinical abnormalities, on the test set of MIMIC-CXR dataset. Higher is better in all columns. "
736
+ ],
737
+ "table_footnote": [],
738
+ "table_body": "<table><tr><td rowspan=\"3\">Methods</td><td rowspan=\"3\">Year</td><td rowspan=\"3\">Ratio of Pairs</td><td colspan=\"3\">MIMIC-CXR[17]</td></tr><tr><td>Precision Recall</td><td></td><td>F1</td></tr><tr><td></td><td></td><td></td></tr><tr><td>NIC[39]</td><td>2015</td><td>100%</td><td>0.249</td><td>0.203</td><td>0.204</td></tr><tr><td>AdaAtt [31]</td><td>2017 2017</td><td>100% 100%</td><td>0.268</td><td>0.186</td><td>0.181</td></tr><tr><td>Att2in [35] Up-Down [1]</td><td>2018</td><td>100%</td><td>0.322 0.320</td><td>0.239 0.231</td><td>0.249</td></tr><tr><td>M² Trans.[7]</td><td>2020</td><td>100%</td><td>0.197</td><td>0.145</td><td>0.238</td></tr><tr><td>Transformer [6]</td><td>2020</td><td>100%</td><td>0.331</td><td>0.224</td><td>0.133 0.228</td></tr><tr><td>R2Gen [6]</td><td>2020</td><td>100%</td><td>0.333</td><td>0.273</td><td>0.276</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>KGAE</td><td></td><td>0%</td><td>0.214</td><td>0.158</td><td>0.156</td></tr><tr><td>KGAE-Semi</td><td>Ours</td><td>60%</td><td>0.360</td><td>0.302</td><td>0.307</td></tr><tr><td>KGAE-Supervised</td><td></td><td>100%</td><td>0.389</td><td>0.362</td><td>0.355</td></tr></table>",
739
+ "bbox": [
740
+ 178,
741
+ 401,
742
+ 450,
743
+ 553
744
+ ],
745
+ "page_idx": 6
746
+ },
747
+ {
748
+ "type": "image",
749
+ "img_path": "images/714ee8d17da130941633988e5374eacaa4fa87c8d55ee2af6783dfd8393d379c.jpg",
750
+ "image_caption": [
751
+ "Figure 2: Performance of re-implemented state-of-theart model R2Gen [6] and our approach on the test sets with respect to various amount of paired data used for training. The margins in different ratios are shown with the polyline and the right y-axis. As we can see, our approach consistently outperforms the R2Gen. "
752
+ ],
753
+ "image_footnote": [],
754
+ "bbox": [
755
+ 464,
756
+ 300,
757
+ 825,
758
+ 468
759
+ ],
760
+ "page_idx": 6
761
+ },
762
+ {
763
+ "type": "text",
764
+ "text": "",
765
+ "bbox": [
766
+ 173,
767
+ 593,
768
+ 825,
769
+ 678
770
+ ],
771
+ "page_idx": 6
772
+ },
773
+ {
774
+ "type": "text",
775
+ "text": "Semi-Supervised Setting To further prove the effectiveness of our approach, we fine-tune the unsupervised KGAE using partial downstream paired image-report datasets (see Section 3.3), resulting in the KGAE-Semi. To this end, in Figure 2, we evaluate the performance of our approach on both IU X-ray and MIMIC-CXR datasets with respect to the increasing amount of paired data. For a fair comparison, we also re-train the state-of-the-art model R2Gen [6] using the same amount of pairs. As we can see, our model outperforms the R2Gen under all ratios of paired dataset used for training. It is worth noting that the fewer the image-report pairs, the larger the margins, e.g., under the very limited pairs setting ( $20 \\%$ of paired datasets), our approach significantly surpasses the R2Gen by $8 . 5 \\%$ absolute BLEU-4 score on IU $\\mathrm { X }$ -ray and $9 . 8 \\%$ absolute F1 score on MIMIC-CXR. Intuitively, since our approach can relax the reliance on the paired datasets, we can make use of available unpaired image and report data as a solid bias for medical report generation task. Table 1 and Table 2 further prove the effectiveness of our approach, which achieves results competitive with current state-of-the-art models by using only $60 \\%$ of paired dataset. ",
776
+ "bbox": [
777
+ 174,
778
+ 683,
779
+ 825,
780
+ 863
781
+ ],
782
+ "page_idx": 6
783
+ },
784
+ {
785
+ "type": "text",
786
+ "text": "Supervised Setting We fine-tune the unsupervised KGAE using full image-report pairs, acquiring the KGAE-Supervised model (see Section 3.3). Table 1 and Table 2 show that KGAE-Supervised sets the new state-of-the-art results on the two datasets in all metrics. Moreover, in terms of the clinical efficacy metrics, our approach achieves 0.389 precision score, 0.362 recall score and $0 . 3 5 5 \\mathrm { F } 1$ score, outperforming the state-of-the-art model R2Gen [6]. The superior clinical efficacy scores demonstrate the capability of our approach to produce higher quality descriptions for clinical abnormalities than existing models. ",
787
+ "bbox": [
788
+ 176,
789
+ 869,
790
+ 825,
791
+ 911
792
+ ],
793
+ "page_idx": 6
794
+ },
795
+ {
796
+ "type": "table",
797
+ "img_path": "images/8e56457adfb15a012e2067e25473b2ff36336044573405a5de5554dff5cc1ce1.jpg",
798
+ "table_caption": [
799
+ "Table 3: We invite three professional clinicians to conduct human evaluation for comparing our approach with $\\mathcal { M } ^ { 2 }$ Trans. [7] and R2Gen [6] under various amount of pairs for training in terms of the comprehensiveness of the generated true abnormalities and the faithfulness of the generated normalities and abnormalities to the ground truth reports. All values are reported in percentage $( \\% )$ . "
800
+ ],
801
+ "table_footnote": [],
802
+ "table_body": "<table><tr><td rowspan=\"3\">Metrics</td><td colspan=\"3\">KGAE (0%) vs.M² Trans. (100%)</td><td colspan=\"3\">KGAE (0%) vs.R2Gen (100%)</td><td colspan=\"3\">KGAE-Semi (20%) vs.R2Gen (20%)</td><td colspan=\"3\">KGAE-Supervised (100%) vs.R2Gen (100%)</td></tr><tr><td>Loss</td><td>Tie</td><td>Win</td><td>Loss</td><td>Tie</td><td>Win</td><td>Loss</td><td>Tie</td><td>Win</td><td>Loss</td><td>Tie</td><td>Win</td></tr><tr><td>Faithfulness</td><td>34</td><td>18</td><td>48</td><td>62</td><td>15</td><td>23</td><td>21</td><td>10</td><td>69</td><td>25</td><td>22</td><td>53</td></tr><tr><td>Comprehensiveness</td><td>27</td><td>20</td><td>53</td><td>57</td><td>17</td><td>26</td><td>24</td><td>11</td><td>65</td><td>32</td><td>21</td><td>47</td></tr></table>",
803
+ "bbox": [
804
+ 194,
805
+ 151,
806
+ 802,
807
+ 226
808
+ ],
809
+ "page_idx": 7
810
+ },
811
+ {
812
+ "type": "text",
813
+ "text": "",
814
+ "bbox": [
815
+ 174,
816
+ 252,
817
+ 825,
818
+ 308
819
+ ],
820
+ "page_idx": 7
821
+ },
822
+ {
823
+ "type": "text",
824
+ "text": "Overall Combining the results of unsupervised, semi-supervised and supervised settings, the proposed KGAE can relax the dependency on the paired datasets, and thus makes the medical report generation model use the available separate image and report data to boost the performance. The advantages under the scenarios with limited labeled pairs (i.e., semi-supervised setting) show that KGAE might be applied to other medical images (MRI, Dermoscopy, Retinal, etc.), where the coupled images and reports pairs could be much less or even unavailable. ",
825
+ "bbox": [
826
+ 174,
827
+ 314,
828
+ 825,
829
+ 397
830
+ ],
831
+ "page_idx": 7
832
+ },
833
+ {
834
+ "type": "text",
835
+ "text": "4.3 Human Evaluation ",
836
+ "text_level": 1,
837
+ "bbox": [
838
+ 174,
839
+ 410,
840
+ 346,
841
+ 424
842
+ ],
843
+ "page_idx": 7
844
+ },
845
+ {
846
+ "type": "text",
847
+ "text": "We conduct human evaluations to verify the effectiveness of KGAE in clinical practice. Specifically, to assist radiologists in clinical decision-making and reduce their workload, it is important to generate accurate reports (faithfulness), i.e., the model does not generate normalities and abnormalities that does not exist according to doctors, with comprehensive abnormalities (comprehensiveness), the model does not leave out the abnormalities. Therefore, we randomly select 100 samples from the MIMIC-CXR and invite three professional clinicians to compare our approach and baselines independently. The clinicians are unaware of which model generates these reports. The results are shown in Table 3. As we can see, under the unsupervised setting, our approach achieves competitive results with the supervised model, outperforming the $\\mathcal { M } ^ { 2 }$ Trans with winning pick-up percentages. Under the (semi-)supervised setting, our method is better than state-of-the-art model R2Gen [6] in all metrics, especially for the semi-supervised setting $20 \\%$ of paired dataset), our method substantially surpasses the R2Gen, which is in accordance with the automatic evaluation, by $6 9 - 2 1 = 4 8$ and $6 5 - 2 4 = 4 1$ points in terms of the faithfulness and comprehensiveness metrics, respectively. ",
848
+ "bbox": [
849
+ 174,
850
+ 431,
851
+ 825,
852
+ 611
853
+ ],
854
+ "page_idx": 7
855
+ },
856
+ {
857
+ "type": "text",
858
+ "text": "5 Analysis ",
859
+ "text_level": 1,
860
+ "bbox": [
861
+ 173,
862
+ 623,
863
+ 276,
864
+ 640
865
+ ],
866
+ "page_idx": 7
867
+ },
868
+ {
869
+ "type": "text",
870
+ "text": "In this section, we conduct several analysis to better understand our proposed approach. ",
871
+ "bbox": [
872
+ 173,
873
+ 648,
874
+ 746,
875
+ 664
876
+ ],
877
+ "page_idx": 7
878
+ },
879
+ {
880
+ "type": "text",
881
+ "text": "5.1 Knowledge Graph Sensitivity ",
882
+ "text_level": 1,
883
+ "bbox": [
884
+ 176,
885
+ 674,
886
+ 415,
887
+ 689
888
+ ],
889
+ "page_idx": 7
890
+ },
891
+ {
892
+ "type": "text",
893
+ "text": "In this section, to evaluate the knowledge graph sensitivity, we evaluate the performances using different knowledge graphs defined on IU X-Ray only, MIMIC-CXR only, both MIMIC-CXR and IU X-Ray. Table 4 shows the results of KGAE $( 0 \\% )$ and KGAE-Supervised $( 1 0 0 \\% )$ on the IU X-ray dataset. As we can see, our KGAE using different knowledge graphs can consistently outperform several existing supervised models, i.e., NIC, AdaAtt, Att2in, across all metrics (Table 1). Similarly, our KGAE-Supervised with different knowledge graphs can also consistently outperform existing state-of-the-art model, i.e., R2Gen (Table 1). The results prove the robustness of our proposed model to the pre-defined knowledge graph. Therefore, this work could provide a good basis or starting point for the research of unsupervised medical report generation in other clinical domains such as MRI and Dermoscopy. ",
894
+ "bbox": [
895
+ 174,
896
+ 696,
897
+ 825,
898
+ 837
899
+ ],
900
+ "page_idx": 7
901
+ },
902
+ {
903
+ "type": "text",
904
+ "text": "5.2 Ablation Study ",
905
+ "text_level": 1,
906
+ "bbox": [
907
+ 174,
908
+ 847,
909
+ 316,
910
+ 862
911
+ ],
912
+ "page_idx": 7
913
+ },
914
+ {
915
+ "type": "text",
916
+ "text": "In Table 5, we conduct quantitative analysis to better understand our approach under both the unsupervised and supervised training settings. For different ablation settings, the KGAE-Supervised is acquired by further fine-tuning the KGAE using image-report pairs. ",
917
+ "bbox": [
918
+ 174,
919
+ 869,
920
+ 823,
921
+ 911
922
+ ],
923
+ "page_idx": 7
924
+ },
925
+ {
926
+ "type": "table",
927
+ "img_path": "images/87bf15a5e8a0b8384068da6a59abbd0cc2b6193e375f89b9ad667bca0a2995e2.jpg",
928
+ "table_caption": [
929
+ "Table 4: Analysis of the knowledge graph sensitivity. Performance of our approach using different knowledge graphs defined on IU X-Ray only, MIMIC-CXR only, both MIMIC-CXR and IU X-Ray. "
930
+ ],
931
+ "table_footnote": [],
932
+ "table_body": "<table><tr><td rowspan=\"3\">Methods</td><td rowspan=\"3\">Ratio of Pairs</td><td rowspan=\"3\">Knowledge Graphs</td><td colspan=\"6\">IU X-ray [9]</td></tr><tr><td>B-1</td><td>B-2</td><td>B-3</td><td>B-4</td><td>M</td><td>R-L</td></tr><tr><td rowspan=\"3\">KGAE</td><td rowspan=\"3\">0%</td><td>IU X-Ray</td><td>0.425</td><td>0.271</td><td>0.185</td><td>0.114</td><td>0.123</td><td>0.310</td></tr><tr><td>MIMIC-CXR</td><td>0.417</td><td>0.263</td><td>0.181</td><td>0.126</td><td>0.149</td><td>0.318</td></tr><tr><td>MIMIC-CXR + IU X-Ray</td><td>0.419</td><td>0.260</td><td>0.180</td><td>0.124</td><td>0.143</td><td>0.321</td></tr><tr><td rowspan=\"3\">KGAE-Supervised</td><td rowspan=\"3\">100%</td><td>IU X-Ray</td><td>0.519</td><td>0.331</td><td>0.235</td><td>0.174</td><td>0.191</td><td>0.376</td></tr><tr><td>MIMIC-CXR</td><td>0.512</td><td>0.327</td><td>0.240</td><td>0.179</td><td>0.195</td><td>0.383</td></tr><tr><td>MIMIC-CXR + IUX-Ray</td><td>0.505</td><td>0.323</td><td>0.239</td><td>0.181</td><td>0.198</td><td>0.385</td></tr></table>",
933
+ "bbox": [
934
+ 218,
935
+ 123,
936
+ 779,
937
+ 234
938
+ ],
939
+ "page_idx": 8
940
+ },
941
+ {
942
+ "type": "table",
943
+ "img_path": "images/b3c06b0ed00df127bde60b17f8e7b887b094710b79990edfe20f3c64db02b719.jpg",
944
+ "table_caption": [
945
+ "Table 5: We conduct the quantitative analysis under both the unsupervised setting (KGAE) and supervised setting (KGAE-Supervised). We analysis the effect of the shared $\\mathcal { F }$ in the encoder (Eq. (4)), and the effect of the number of the knowledge in the decoder’s knowledge bank $B$ (Eq. (6)). "
946
+ ],
947
+ "table_footnote": [],
948
+ "table_body": "<table><tr><td rowspan=\"2\">Methods</td><td rowspan=\"2\">Settings</td><td rowspan=\"2\">F</td><td rowspan=\"2\">B</td><td colspan=\"6\">IU X-ray [9]</td><td colspan=\"6\">MIMIC-CXR [17]</td></tr><tr><td>B-1</td><td>B-2</td><td>B-3</td><td>B-4</td><td>M</td><td>R-L</td><td>B-1</td><td>B-2</td><td>B-3</td><td>B-4</td><td>M</td><td>R-L</td></tr><tr><td rowspan=\"5\">KGAE (0%)</td><td>(a)</td><td>-</td><td>-</td><td>0.291</td><td>0.170</td><td>0.127</td><td>0.086</td><td>0.120</td><td>0.301</td><td>0.166</td><td>0.095</td><td>0.064</td><td>0.032</td><td>0.070</td><td>0.174</td></tr><tr><td>(b)</td><td>?</td><td>-</td><td>0.352</td><td>0.227</td><td>0.154</td><td>0.109</td><td>0.133</td><td>0.313</td><td>0.192</td><td>0.118</td><td>0.079</td><td>0.045</td><td>0.085</td><td>0.187</td></tr><tr><td>(c)</td><td></td><td>5,000</td><td>0.403</td><td>0.252</td><td>0.170</td><td>0.117</td><td>0.144</td><td>0.316</td><td>0.211</td><td>0.137</td><td>0.093</td><td>0.058</td><td>0.093</td><td>0.202</td></tr><tr><td>(d)</td><td>√</td><td>15.000</td><td>0.412</td><td>0.260</td><td>0.178</td><td>0.121</td><td>0.148</td><td>0.320</td><td>0.217</td><td>0.140</td><td>0.092</td><td>0.059</td><td>0.101</td><td>0.205</td></tr><tr><td>Full Model</td><td>√</td><td>10.000</td><td>0.417</td><td>0.263</td><td>0.181</td><td>0.126</td><td>0.149</td><td>0.318</td><td>0.221</td><td>0.144</td><td>0.096</td><td>0.062</td><td>0.097</td><td>0.208</td></tr><tr><td rowspan=\"5\">KGAE-Supervised (100%)</td><td>(e)</td><td>-</td><td>-</td><td>0.482</td><td>0.310</td><td>0.219</td><td>0.166</td><td>0.184</td><td>0.373</td><td>0.323</td><td>0.204</td><td>0.128</td><td>0.104</td><td>0.115</td><td>0.266</td></tr><tr><td>(f)</td><td></td><td>-</td><td>0.470</td><td>0.304</td><td>0.217</td><td>0.162</td><td>0.181</td><td>0.368</td><td>0.320</td><td>0.206</td><td>0.129</td><td>0.101</td><td>0.118</td><td>0.267</td></tr><tr><td>(g)</td><td>?</td><td>5,000</td><td>0.505</td><td>0.323</td><td>0.232</td><td>0.178</td><td>0.190</td><td>0.379</td><td>0.363</td><td>0.228</td><td>0.152</td><td>0.115</td><td>0.147</td><td>0.290</td></tr><tr><td>(h)</td><td>√</td><td>15,000</td><td>0.498</td><td>0.315</td><td>0.221</td><td>0.170</td><td>0.186</td><td>0.374</td><td>0.368</td><td>0.235</td><td>0.158</td><td>0.114</td><td>0.150</td><td>0.293</td></tr><tr><td>Full Model</td><td>&lt;</td><td>10,000</td><td>0.512</td><td>0.327</td><td>0.240</td><td>0.179</td><td>0.195</td><td>0.383</td><td>0.369</td><td>0.231</td><td>0.156</td><td>0.118</td><td>0.153</td><td>0.295</td></tr></table>",
949
+ "bbox": [
950
+ 173,
951
+ 299,
952
+ 825,
953
+ 463
954
+ ],
955
+ "page_idx": 8
956
+ },
957
+ {
958
+ "type": "text",
959
+ "text": "As we can see, under the unsupervised setting, both the introduced shared $\\mathcal { F }$ and knowledge bank $B$ can significantly boost the performance, which proves our arguments and verifies the effectiveness of our approach in performing the unsupervised medical report generation. ",
960
+ "bbox": [
961
+ 176,
962
+ 492,
963
+ 823,
964
+ 535
965
+ ],
966
+ "page_idx": 8
967
+ },
968
+ {
969
+ "type": "text",
970
+ "text": "Under the supervised setting, as shown in settings (e,f), applying shared $\\mathcal { F }$ generates unchanged and impaired performance on the MIMIC-CXR and IU $\\mathbf { X }$ -ray datasets, respectively. We speculate the reason is that the supervised model no longer requires the $\\mathcal { F }$ to bridge the vision and the language domains. Therefore, the performance is unchanged on the large dataset MIMIC-CXR. However, the increased parameters introduced by $\\mathcal { F }$ might bring overfitting or increase the difficulty in optimization on the small dataset IU X-ray, which somewhat hinders the performance. For the knowledge bank $B$ , we can find that the results of setting (h) outperforms (g) on the MIMIC-CXR dataset, but underperforms (g) on the IU X-ray dataset. We speculate the reason is that the large MIMIC-CXR dataset contains more knowledge than the small IU X-ray dataset, so a larger knowledge bank may learn more knowledge of MIMIC-CXR to boost the performance while introducing more noisy knowledge into the IU X-ray dataset to degrade the performance. ",
971
+ "bbox": [
972
+ 174,
973
+ 541,
974
+ 825,
975
+ 693
976
+ ],
977
+ "page_idx": 8
978
+ },
979
+ {
980
+ "type": "text",
981
+ "text": "5.3 Qualitative Analysis ",
982
+ "text_level": 1,
983
+ "bbox": [
984
+ 174,
985
+ 708,
986
+ 352,
987
+ 723
988
+ ],
989
+ "page_idx": 8
990
+ },
991
+ {
992
+ "type": "text",
993
+ "text": "In Figure 3, we conduct the qualitative analysis to better understand our approach. As we can see, the visualization verifies the effectiveness of our knowledge-driven encoder in extracting the knowledge representations of both image and report. For the generated reports, our unsupervised KGAE generates a desirable report, which correctly describes “innumerable nodules are present” and “heart size is normal”. When removing the bank $B$ , the model tends to generate plausible general reports with no prominent abnormal narratives and some repeated reports, which shows that the knowledge memory mechanism can indeed distill and preserve the desired medical knowledge to boost the generation of reports. Under the semi-supervised setting, the R2Gen can not well handle the medical report generation task and generates some repeated sentences of normalities (Underlined text) and fails to depict some rare but important abnormalities, i.e., “nodules” and “scoliosis”, while our approach can generate fluent report supported by accurate abnormalities. Under the supervised setting, our approach can generate an accurate report showing significant alignment with the ground truth report. It further prove our arguments and the effectiveness of our proposed approach. ",
994
+ "bbox": [
995
+ 173,
996
+ 731,
997
+ 825,
998
+ 911
999
+ ],
1000
+ "page_idx": 8
1001
+ },
1002
+ {
1003
+ "type": "image",
1004
+ "img_path": "images/8c460bd3702e10b9395e98ce52155c7f2169ebbb0324da253a96e135fc5afcc8.jpg",
1005
+ "image_caption": [
1006
+ "Figure 3: Reports generated by our approach and a state-of-the-art model R2Gen [6]. Under the unsupervised setting, we show four nodes with top-4 attention weights in Eq. (4) to visualize $\\mathcal { G } _ { I }$ and $\\mathcal { G } _ { R }$ . The Purple and Blue colored text denote the generated wrong sentences (Faithfulness) and true abnormalities (Comprehensiveness), respectively; Underlined text denotes the repeated sentences. "
1007
+ ],
1008
+ "image_footnote": [],
1009
+ "bbox": [
1010
+ 192,
1011
+ 88,
1012
+ 808,
1013
+ 335
1014
+ ],
1015
+ "page_idx": 9
1016
+ },
1017
+ {
1018
+ "type": "text",
1019
+ "text": "6 Conclusions and Discussions ",
1020
+ "text_level": 1,
1021
+ "bbox": [
1022
+ 176,
1023
+ 424,
1024
+ 442,
1025
+ 441
1026
+ ],
1027
+ "page_idx": 9
1028
+ },
1029
+ {
1030
+ "type": "text",
1031
+ "text": "In this paper, we propose the Knowledge Graph Auto-Encoder (KGAE). Without any image-report pairs, KGAE can extract the knowledge representations of both image and report from the knowledge graph to bridge the visual and textual domains, and generate desirable reports by being trained in the auto-encoding pipeline. The experiments verify the effectiveness of our approach, which even exceeds several supervised models. Moreover, by further fine-tuning KGAE using paired datasets, we achieve the state-of-the-art results on two public datasets with the best human preference. ",
1032
+ "bbox": [
1033
+ 174,
1034
+ 449,
1035
+ 825,
1036
+ 532
1037
+ ],
1038
+ "page_idx": 9
1039
+ },
1040
+ {
1041
+ "type": "text",
1042
+ "text": "In the future, 1) since we can relax the dependency on paired data, it can be interesting to apply the KGAE to other types of medical images of other body parts, where the image-report pairs could be much less or even unavailable, to assist radiologists in clinical decision-making and reduce their workload; 2) We can replace the explicit pre-defined knowledge graph with an implicit large matrix (e.g., knowledge bank in our decoder) to improve the generalization ability of our approach. ",
1043
+ "bbox": [
1044
+ 174,
1045
+ 539,
1046
+ 823,
1047
+ 608
1048
+ ],
1049
+ "page_idx": 9
1050
+ },
1051
+ {
1052
+ "type": "text",
1053
+ "text": "Societal Impacts: In this paper, we target the problem of medical report generation. Although the proposed model outperforms state-of-the-art approaches, it aims to assist the radiologists instead of replacing them. For experienced radiologists, given a large amount of medical images, our model can automatically generate medical reports, the radiologists only need to make revisions rather than write a new report from scratch. However, it is possible that some radiologists direct copy the generated report as the final report. Also for less experienced radiologists, they may not be able to correct the errors in machine-generated reports. In order to apply the proposed model in clinical practice, it is required to add process control to avoid unintended use. ",
1054
+ "bbox": [
1055
+ 174,
1056
+ 614,
1057
+ 825,
1058
+ 726
1059
+ ],
1060
+ "page_idx": 9
1061
+ },
1062
+ {
1063
+ "type": "text",
1064
+ "text": "Limitations: Although the proposed KGAE can work in an unsupervised manner, we still need the independent sets of medical images and medical reports which may still be difficult to collect for some types of medical images. In addition, our approach introduces the knowledge graph to bridge visual and textual domain, in the paper, we collect the frequent clinical findings as nodes and build the knowledge graph from the set of reports automatically. When applying to new domains, we need to collect a new set of clinical findings. ",
1065
+ "bbox": [
1066
+ 174,
1067
+ 732,
1068
+ 825,
1069
+ 815
1070
+ ],
1071
+ "page_idx": 9
1072
+ },
1073
+ {
1074
+ "type": "text",
1075
+ "text": "Acknowledgments ",
1076
+ "text_level": 1,
1077
+ "bbox": [
1078
+ 176,
1079
+ 832,
1080
+ 330,
1081
+ 848
1082
+ ],
1083
+ "page_idx": 9
1084
+ },
1085
+ {
1086
+ "type": "text",
1087
+ "text": "We would like to sincerely thank the clinicians (Xiaoxia Xie, Jing Zhang, etc.) of the Harbin Chest Hospital in China for providing the human evaluation. We also sincerely thank all the anonymous reviewers and chairs for their constructive comments and suggestions that substantially improved this paper. Xu Sun and Sheng Wang are the corresponding authors of this paper. ",
1088
+ "bbox": [
1089
+ 176,
1090
+ 856,
1091
+ 823,
1092
+ 911
1093
+ ],
1094
+ "page_idx": 9
1095
+ },
1096
+ {
1097
+ "type": "text",
1098
+ "text": "References ",
1099
+ "text_level": 1,
1100
+ "bbox": [
1101
+ 174,
1102
+ 90,
1103
+ 267,
1104
+ 106
1105
+ ],
1106
+ "page_idx": 10
1107
+ },
1108
+ {
1109
+ "type": "text",
1110
+ "text": "[1] P. Anderson, X. He, C. Buehler, D. Teney, M. Johnson, S. Gould, and L. Zhang. Bottom-up and top-down attention for image captioning and VQA. In CVPR, 2018. \n[2] D. Bahdanau, K. Cho, and Y. Bengio. Neural machine translation by jointly learning to align and translate. In ICLR, 2015. [3] S. Banerjee and A. Lavie. METEOR: an automatic metric for MT evaluation with improved correlation with human judgments. In IEEvaluation@ACL, 2005. [4] A. Brady, R. Ó. Laoide, P. Mccarthy, and R. Mcdermott. Discrepancy and error in radiology: Concepts, causes and consequences. The Ulster Medical Journal, 81:3 – 9, 2012. \n[5] X. Chen, H. Fang, T. Lin, R. Vedantam, S. Gupta, P. Dollár, and C. L. Zitnick. Microsoft COCO captions: Data collection and evaluation server. arXiv preprint arXiv:1504.00325, 2015. \n[6] Z. Chen, Y. Song, T. Chang, and X. Wan. Generating radiology reports via memory-driven transformer. In EMNLP, 2020. \n[7] M. Cornia, M. Stefanini, L. Baraldi, and R. Cucchiara. Meshed-memory transformer for image captioning. In CVPR, 2020. [8] L. Delrue, R. Gosselin, B. Ilsen, A. Van Landeghem, J. de Mey, and P. Duyck. Difficulties in the interpretation of chest radiography. Comparative Interpretation of CT and Standard Radiography of the Chest, pages 27–49, 2011. \n[9] D. Demner-Fushman, M. D. Kohli, M. B. Rosenman, S. E. Shooshan, L. Rodriguez, S. K. Antani, G. R. Thoma, and C. J. McDonald. Preparing a collection of radiology examinations for distribution and retrieval. J. Am. Medical Informatics Assoc., 23(2):304–310, 2016. \n[10] J. Deng, W. Dong, R. Socher, L. Li, K. Li, and F. Li. Imagenet: A large-scale hierarchical image database. In CVPR, 2009. \n[11] S. K. Goergen, F. J. Pool, T. J. Turner, J. E. Grimm, M. N. Appleyard, C. Crock, M. C. Fahey, M. F. Fay, N. J. Ferris, S. M. Liew, et al. Evidence-based guideline for the written radiology report: Methods, recommendations and implementation challenges. Journal of medical imaging and radiation oncology, 57(1):1–7, 2013. \n[12] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In CVPR, 2016. \n[13] S. Hochreiter and J. Schmidhuber. Long short-term memory. Neural Comput., 9(8):1735–1780, 1997. \n[14] J. Irvin, P. Rajpurkar, M. Ko, Y. Yu, S. Ciurea-Ilcus, C. Chute, H. Marklund, B. Haghgoo, R. L. Ball, K. S. Shpanskaya, J. Seekins, D. A. Mong, S. S. Halabi, J. K. Sandberg, R. Jones, D. B. Larson, C. P. Langlotz, B. N. Patel, M. P. Lungren, and A. Y. Ng. Chexpert: A large chest radiograph dataset with uncertainty labels and expert comparison. In AAAI, 2019. \n[15] B. Jing, P. Xie, and E. P. Xing. On the automatic generation of medical imaging reports. In ACL, 2018. \n[16] B. Jing, Z. Wang, and E. P. Xing. Show, describe and conclude: On exploiting the structure information of chest x-ray reports. In ACL, 2019. \n[17] A. E. W. Johnson, T. J. Pollard, S. J. Berkowitz, N. R. Greenbaum, M. P. Lungren, C. Deng, R. G. Mark, and S. Horng. MIMIC-CXR: A large publicly available database of labeled chest radiographs. arXiv preprint arXiv:1901.07042, 2019. \n[18] D. P. Kingma and J. Ba. Adam: A method for stochastic optimization. In ICLR, 2014. \n[19] J. Krause, J. Johnson, R. Krishna, and L. Fei-Fei. A hierarchical approach for generating descriptive image paragraphs. In CVPR, 2017. neural networks. In NIPS, 2012. \n[21] A. Kumar, O. Irsoy, P. Ondruska, M. Iyyer, J. Bradbury, I. Gulrajani, V. Zhong, R. Paulus, and R. Socher. Ask me anything: Dynamic memory networks for natural language processing. In ICML, 2016. \n[22] C. Y. Li, X. Liang, Z. Hu, and E. P. Xing. Knowledge-driven encode, retrieve, paraphrase for medical image report generation. In AAAI, 2019. \n[23] M. Li, F. Wang, X. Chang, and X. Liang. Auxiliary signal-guided knowledge encoder-decoder for medical report generation. arXiv preprint arXiv:2006.03744, 2020. \n[24] Y. Li, D. Tarlow, M. Brockschmidt, and R. S. Zemel. Gated graph sequence neural networks. In ICLR, 2016. \n[25] Y. Li, X. Liang, Z. Hu, and E. P. Xing. Hybrid retrieval-generation reinforced agent for medical image report generation. In NeurIPS, 2018. \n[26] C.-Y. Lin. ROUGE: A package for automatic evaluation of summaries. In ACL, 2004. \n[27] Z. Lin, M. Feng, C. N. dos Santos, M. Yu, B. Xiang, B. Zhou, and Y. Bengio. A structured self-attentive sentence embedding. In ICLR, 2017. \n[28] F. Liu, X. Ren, Y. Liu, H. Wang, and X. Sun. simnet: Stepwise image-topic merging network for generating detailed and comprehensive image captions. In EMNLP, 2018. \n[29] F. Liu, Y. Liu, X. Ren, X. He, and X. Sun. Aligning visual regions and textual concepts for semantic-grounded image representations. In NeurIPS, 2019. \n[30] F. Liu, X. Ren, Y. Liu, K. Lei, and X. Sun. Exploring and distilling cross-modal information for image captioning. In IJCAI, 2019. \n[31] J. Lu, C. Xiong, D. Parikh, and R. Socher. Knowing when to look: Adaptive attention via a visual sentinel for image captioning. In CVPR, 2017. \n[32] D. Marcheggiani and I. Titov. Encoding sentences with graph convolutional networks for semantic role labeling. In EMNLP, 2017. \n[33] A. H. Miller, A. Fisch, J. Dodge, A. Karimi, A. Bordes, and J. Weston. Key-value memory networks for directly reading documents. In EMNLP, 2016. \n[34] K. Papineni, S. Roukos, T. Ward, and W. Zhu. BLEU: a Method for automatic evaluation of machine translation. In ACL, 2002. \n[35] S. J. Rennie, E. Marcheret, Y. Mroueh, J. Ross, and V. Goel. Self-critical sequence training for image captioning. In CVPR, 2017. \n[36] R. Soricut, N. Ding, P. Sharma, and S. Goodman. Conceptual captions: A cleaned, hypernymed, image alt-text dataset for automatic image captioning. In ACL, 2018. \n[37] S. Sukhbaatar, A. Szlam, J. Weston, and R. Fergus. End-to-end memory networks. In NIPS, 2015. \n[38] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin. Attention is all you need. In NIPS, 2017. \n[39] O. Vinyals, A. Toshev, S. Bengio, and D. Erhan. Show and tell: A neural image caption generator. In CVPR, 2015. \n[40] O. Vinyals, C. Blundell, T. Lillicrap, K. Kavukcuoglu, and D. Wierstra. Matching networks for one shot learning. In NIPS, 2016. \n[41] X. Wang, Y. Peng, L. Lu, Z. Lu, and R. M. Summers. Tienet: Text-image embedding network for common thorax disease classification and reporting in chest x-rays. In CVPR, 2018. \n[42] C. Xiong, S. Merity, and R. Socher. Dynamic memory networks for visual and textual question answering. In ICML, 2016. \n[43] H. Xu and K. Saenko. Ask, attend and answer: Exploring question-guided spatial attention for visual question answering. In ECCV, 2016. \n[44] K. Xu, J. Ba, R. Kiros, K. Cho, A. C. Courville, R. Salakhutdinov, R. S. Zemel, and Y. Bengio. Show, attend and tell: Neural image caption generation with visual attention. In ICML, 2015. \n[45] Y. Xue, T. Xu, L. R. Long, Z. Xue, S. K. Antani, G. R. Thoma, and X. Huang. Multimodal recurrent model with attention for automated radiology report generation. In MICCAI, 2018. \n[46] X. Yang, K. Tang, H. Zhang, and J. Cai. Auto-encoding scene graphs for image captioning. In CVPR, 2019. \n[47] C. You, G. Li, Y. Zhang, X. Zhang, H. Shan, M. Li, S. Ju, Z. Zhao, Z. Zhang, W. Cong, et al. CT super-resolution GAN constrained by the identical, residual, and cycle learning ensemble (gan-circle). IEEE Transactions on Medical Imaging, 2019. \n[48] C. You, N. Chen, and Y. Zou. Knowledge distillation for improved accuracy in spoken question answering. In ICASSP, 2021. \n[49] C. You, N. Chen, and Y. Zou. MRD-Net: Multi-Modal Residual Knowledge Distillation for Spoken Question Answering. In IJCAI, 2021. \n[50] C. You, N. Chen, and Y. Zou. Self-supervised contrastive cross-modality representation learning for spoken question answering. arXiv preprint arXiv:2109.03381, 2021. \n[51] C. You, R. Zhao, L. Staib, and J. S. Duncan. Momentum contrastive voxel-wise representation learning for semi-supervised volumetric medical image segmentation. arXiv preprint arXiv:2105.07059, 2021. \n[52] C. You, Y. Zhou, R. Zhao, L. Staib, and J. S. Duncan. Simcvd: Simple contrastive voxel-wise representation distillation for semi-supervised medical image segmentation. arXiv preprint arXiv:2108.06227, 2021. \n[53] J. Yuan, H. Liao, R. Luo, and J. Luo. Automatic radiology report generation based on multi-view image fusion and medical concept enrichment. In MICCAI, 2019. \n[54] Y. Zhang, X. Wang, Z. Xu, Q. Yu, A. L. Yuille, and D. Xu. When radiology report generation meets knowledge graph. In AAAI, 2020. ",
1111
+ "bbox": [
1112
+ 173,
1113
+ 97,
1114
+ 828,
1115
+ 910
1116
+ ],
1117
+ "page_idx": 10
1118
+ },
1119
+ {
1120
+ "type": "text",
1121
+ "text": "",
1122
+ "bbox": [
1123
+ 171,
1124
+ 109,
1125
+ 830,
1126
+ 911
1127
+ ],
1128
+ "page_idx": 11
1129
+ },
1130
+ {
1131
+ "type": "text",
1132
+ "text": "",
1133
+ "bbox": [
1134
+ 169,
1135
+ 83,
1136
+ 828,
1137
+ 626
1138
+ ],
1139
+ "page_idx": 12
1140
+ },
1141
+ {
1142
+ "type": "text",
1143
+ "text": "Checklist ",
1144
+ "text_level": 1,
1145
+ "bbox": [
1146
+ 174,
1147
+ 641,
1148
+ 254,
1149
+ 657
1150
+ ],
1151
+ "page_idx": 12
1152
+ },
1153
+ {
1154
+ "type": "text",
1155
+ "text": "1. For all authors... ",
1156
+ "bbox": [
1157
+ 214,
1158
+ 667,
1159
+ 339,
1160
+ 683
1161
+ ],
1162
+ "page_idx": 12
1163
+ },
1164
+ {
1165
+ "type": "text",
1166
+ "text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] See the claimed contributions in Introduction. \n(b) Did you describe the limitations of your work? [Yes] See Section 6. \n(c) Did you discuss any potential negative societal impacts of your work? [Yes] See Section 6. \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] We ensured that our paper conforms to them. ",
1167
+ "bbox": [
1168
+ 238,
1169
+ 686,
1170
+ 825,
1171
+ 792
1172
+ ],
1173
+ "page_idx": 12
1174
+ },
1175
+ {
1176
+ "type": "text",
1177
+ "text": "2. If you are including theoretical results... ",
1178
+ "bbox": [
1179
+ 215,
1180
+ 796,
1181
+ 493,
1182
+ 810
1183
+ ],
1184
+ "page_idx": 12
1185
+ },
1186
+ {
1187
+ "type": "text",
1188
+ "text": "(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A] ",
1189
+ "bbox": [
1190
+ 238,
1191
+ 815,
1192
+ 736,
1193
+ 847
1194
+ ],
1195
+ "page_idx": 12
1196
+ },
1197
+ {
1198
+ "type": "text",
1199
+ "text": "3. If you ran experiments... ",
1200
+ "bbox": [
1201
+ 212,
1202
+ 851,
1203
+ 393,
1204
+ 866
1205
+ ],
1206
+ "page_idx": 12
1207
+ },
1208
+ {
1209
+ "type": "text",
1210
+ "text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] See our supplemental material. ",
1211
+ "bbox": [
1212
+ 240,
1213
+ 869,
1214
+ 823,
1215
+ 911
1216
+ ],
1217
+ "page_idx": 12
1218
+ },
1219
+ {
1220
+ "type": "text",
1221
+ "text": "(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 4.1. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No] Error bars are not reported because it would be too computationally expensive. Besides, many previous works on medical report generation did not provide error bars as well. \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See Settings in Section 4.1. ",
1222
+ "bbox": [
1223
+ 236,
1224
+ 92,
1225
+ 825,
1226
+ 208
1227
+ ],
1228
+ "page_idx": 13
1229
+ },
1230
+ {
1231
+ "type": "text",
1232
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
1233
+ "bbox": [
1234
+ 217,
1235
+ 212,
1236
+ 823,
1237
+ 227
1238
+ ],
1239
+ "page_idx": 13
1240
+ },
1241
+ {
1242
+ "type": "text",
1243
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] See Section 4.1. \n(b) Did you mention the license of the assets? [Yes] See Section 4.1. Specifically, PhysioNet Credentialed Health Data License 1.5.0 (https://physionet. org/content/mimic-cxr/view-license/2.0.0/) is used for MIMIC-CXR; Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (http://creativecommons.org/licenses/by-nc-nd/4.0/) is used for IU Xray. \n(c) Did you include any new assets either in the supplemental material or as a URL? [No] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] See Section 4.1. The used datasets are publicly available. All necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] See Datasets in Section 4.1. All protected health information was de-identified. De-identification was performed in compliance with Health Insurance Portability and Accountability Act (HIPAA) standards in order to facilitate public access to the datasets. Deletion of protected health information (PHI) from structured data sources (e.g., database fields that provide patient name or date of birth) was straightforward. All necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived. ",
1244
+ "bbox": [
1245
+ 236,
1246
+ 229,
1247
+ 825,
1248
+ 516
1249
+ ],
1250
+ "page_idx": 13
1251
+ },
1252
+ {
1253
+ "type": "text",
1254
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1255
+ "bbox": [
1256
+ 214,
1257
+ 521,
1258
+ 705,
1259
+ 536
1260
+ ],
1261
+ "page_idx": 13
1262
+ },
1263
+ {
1264
+ "type": "text",
1265
+ "text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
1266
+ "bbox": [
1267
+ 238,
1268
+ 540,
1269
+ 825,
1270
+ 628
1271
+ ],
1272
+ "page_idx": 13
1273
+ }
1274
+ ]
parse/train/nIL7Q-p7-Sh/nIL7Q-p7-Sh_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/nIL7Q-p7-Sh/nIL7Q-p7-Sh_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/r1eiu2VtwH/r1eiu2VtwH.md ADDED
@@ -0,0 +1,303 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # NEURAL OBLIVIOUS DECISION ENSEMBLES FOR DEEP LEARNING ON TABULAR DATA
2
+
3
+ Sergei Popov
4
+ Yandex
5
+ sapopov@yandex-team.ru Stanislav Morozov
6
+ Yandex
7
+ Lomonosov Moscow State University stanis-morozov@yandex.ru
8
+
9
+ # Artem Babenko
10
+
11
+ Yandex National Research University Higher School of Economics artem.babenko@phystech.edu
12
+
13
+ # ABSTRACT
14
+
15
+ Nowadays, deep neural networks (DNNs) have become the main instrument for machine learning tasks within a wide range of domains, including vision, NLP, and speech. Meanwhile, in an important case of heterogenous tabular data, the advantage of DNNs over shallow counterparts remains questionable. In particular, there is no sufficient evidence that deep learning machinery allows constructing methods that outperform gradient boosting decision trees (GBDT), which are often the top choice for tabular problems. In this paper, we introduce Neural Oblivious Decision Ensembles (NODE), a new deep learning architecture, designed to work with any tabular data. In a nutshell, the proposed NODE architecture generalizes ensembles of oblivious decision trees, but benefits from both end-to-end gradient-based optimization and the power of multi-layer hierarchical representation learning. With an extensive experimental comparison to the leading GBDT packages on a large number of tabular datasets, we demonstrate the advantage of the proposed NODE architecture, which outperforms the competitors on most of the tasks. We open-source the PyTorch implementation of NODE and believe that it will become a universal framework for machine learning on tabular data.
16
+
17
+ # 1 INTRODUCTION
18
+
19
+ The recent rise of deep neural networks (DNN) resulted in a substantial breakthrough for a large number of machine learning tasks in computer vision, natural language processing, speech recognition, reinforcement learning (Goodfellow et al., 2016). Both gradient-based optimization via backpropagation (Rumelhart et al., 1985) and hierarchical representation learning appear to be crucial in increasing the performance of machine learning for these problems by a large margin.
20
+
21
+ While the superiority of deep architectures in these domains is undoubtful, machine learning for tabular data still did not fully benefit from the DNN power. Namely, the state-of-the-art performance in problems with tabular heterogeneous data is often achieved by “shallow” models, such as gradient boosted decision trees (GBDT) (Friedman, 2001; Chen & Guestrin, 2016; Ke et al., 2017; Prokhorenkova et al., 2018). While the importance of deep learning on tabular data is recognized by the ML community, and many works address this problem (Zhou & Feng, 2017; Yang et al., 2018; Miller et al., 2017; Lay et al., 2018; Feng et al., 2018; Ke et al., 2018), the proposed DNN approaches do not consistently outperform the state-of-the-art shallow models by a notable margin. In particular, to the best of our knowledge, there is still no universal DNN approach that was shown to systematically outperform the leading GBDT packages (e.g., XGBoost (Chen & Guestrin, 2016)). As additional evidence, a large number of Kaggle ML competitions with tabular data are still won by the shallow GBDT methods (Harasymiv, 2015). Overall, at the moment, there is no dominant deep learning solution for tabular data problems, and we aim to reduce this gap by our paper.
22
+
23
+ We introduce Neural Oblivious Decision Ensembles (NODE), a new DNN architecture, designed to work with tabular problems. The NODE architecture is partially inspired by the recent CatBoost package (Prokhorenkova et al., 2018), which was shown to provide state-of-the-art performance on a large number of tabular datasets. In a nutshell, CatBoost performs gradient boosting on oblivious decision trees (decision tables) (Kohavi, 1994; Lou & Obukhov, 2017), which makes inference very efficient, and the method is quite resistant to overfitting. In its essence, the proposed NODE architecture generalizes CatBoost, making the splitting feature choice and decision tree routing differentiable. As a result, the NODE architecture is fully differentiable and could be incorporated in any computational graph of existing DL packages, such as TensorFlow or PyTorch. Furthermore, NODE allows constructing multi-layer architectures, which resembles ”deep” GBDT that is trained end-to-end, which was never proposed before. Besides the usage of oblivious decision tables, another important design choice is the recent entmax transformation (Peters et al., 2019), which effectively performs a ”soft” splitting feature choice in decision trees inside the NODE architecture. As discussed in the following sections, these design choices are critical to obtain state-of-the-art performance. In a large number of experiments, we compare the proposed approach with the leading GBDT implementations with tuned hyperparameters and demonstrate that NODE outperforms competitors consistently on most of the datasets.
24
+
25
+ Overall, the main contributions of our paper can be summarized as follows:
26
+
27
+ 1. We introduce a new DNN architecture for machine learning on tabular data. To the best of our knowledge, our method is the first successful example of deep architectures that substantially outperforms leading GBDT packages on tabular data.
28
+ 2. Via an extensive experimental evaluation on a large number of datasets, we show that the proposed NODE architecture outperforms existing GBDT implementations.
29
+ 3. The PyTorch implementation of NODE is available online1.
30
+
31
+ The rest of the paper is organized as follows. In Section 2 we review prior work relevant to our method. The proposed Neural Oblivious Decision Ensembles architecture is described in Section 3 and experimentally evaluated in Section 4. Section 5 concludes the paper.
32
+
33
+ # 2 RELATED WORK
34
+
35
+ In this section, we briefly review the main ideas from prior work that are relevant to our method.
36
+
37
+ The state-of-the-art for tabular data. Ensembles of decision trees, such as GBDT (Friedman, 2001) or random forests (Barandiaran, 1998), are currently the top choice for tabular data problems. Currently, there are several leading GBDT packages, such as XGBoost (Chen & Guestrin, 2016), LightGBM (Ke et al., 2017), CatBoost (Prokhorenkova et al., 2018), which are widely used by both academicians and ML practitioners. While these implementations vary in details, on most of the tasks their performances do not differ much (Prokhorenkova et al., 2018; Anghel et al.). The most important distinction of CatBoost is that it uses oblivious decision trees (ODTs) as weak learners. As ODTs are also an important ingredient of our NODE architecture, we discuss them below.
38
+
39
+ Oblivious Decision Trees. An oblivious decision tree is a regular tree of depth $d$ that is constrained to use the same splitting feature and splitting threshold in all internal nodes of the same depth. This constraint essentially allows representing an ODT as a table with $2 ^ { d }$ entries, corresponding to all possible combinations of $d$ splits (Lou & Obukhov, 2017). Of course, due to the constraints above, ODTs are significantly weaker learners compared to unconstrained decision trees. However, when used in an ensemble, such trees are less prone to overfitting, which was shown to synergize well with gradient boosting (Prokhorenkova et al., 2018). Furthermore, the inference in ODTs is very efficient: one can compute $d$ independent binary splits in parallel and return the appropriate table entry. In contrast, non-oblivious decision trees require evaluating $d$ splits sequentially.
40
+
41
+ Differentiable trees. The significant drawback of tree-based approaches is that they usually do not allow end-to-end optimization and employ greedy, local optimization procedures for tree construction. Thus, they cannot be used as a component for pipelines, trained in an end-to-end fashion. To address this issue, several works (Kontschieder et al., 2015; Yang et al., 2018; Lay et al., 2018)
42
+
43
+ propose to ”soften” decision functions in the internal tree nodes to make the overall tree function and tree routing differentiable. In our work, we advocate the usage of the recent entmax transformation (Peters et al., 2019) to ”soften” decision trees. We confirm its advantages over the previously proposed approaches in the experimental section.
44
+
45
+ Entmax. The key building block of our model is the entmax transformation (Peters et al., 2019), which maps a vector of real-valued scores to a discrete probability distribution. This transformation generalizes the traditional softmax and its sparsity-enforcing alternative sparsemax (Martins & Astudillo, 2016), which has already received significant attention in a wide range of applications: probabilistic inference, topic modeling, neural attention (Niculae & Blondel, 2017; Niculae et al., 2018; Lin et al., 2019). The entmax is capable to produce sparse probability distributions, where the majority of probabilities are exactly equal to 0. In this work, we argue that entmax is also an appropriate inductive bias in our model, which allows differentiable split decision construction in the internal tree nodes. Intuitively, entmax can learn splitting decisions based on a small subset of data features (up to one, as in classical decision trees), avoiding undesired influence from others. As an additional advantage, using entmax for feature selection allows for computationally efficient inference using the sparse pre-computed choice vectors as described below in Section 3.
46
+
47
+ Multi-layer non-differentiable architectures. Another line of work (Miller et al., 2017; Zhou & Feng, 2017; Feng et al., 2018) promotes the construction of multi-layer architectures from nondifferentiable blocks, such as random forests or GBDT ensembles. For instance, (Zhou & Feng, 2017; Miller et al., 2017) propose to use stacking of several random forests, which are trained separately. In recent work, (Feng et al., 2018) introduces the multi-layer GBDTs and proposes a training procedure that does not require each layer component to be differentiable. While these works report marginal improvements over shallow counterparts, they lack the capability for end-to-end training, which could result in inferior performance. In contrast, we argue that end-to-end training is crucial and confirm this claim in the experimental section.
48
+
49
+ Specific DNN for tabular data. While a number of prior works propose architectures designed for tabular data (Ke et al., 2018; Shavitt & Segal, 2018), they mostly do not compare with the properly tuned GBDT implementations, which are the most appropriate baselines. The recent preprint (Ke et al., 2018) reports the marginal improvement over GBDT with default parameters, but in our experiments, the baseline performance is much higher. To the best of our knowledge, our approach is the first to consistently outperform the tuned GBDTs over a large number of datasets.
50
+
51
+ # 3 NEURAL OBLIVIOUS DECISION ENSEMBLES
52
+
53
+ We introduce the Neural Oblivious Decision Ensemble (NODE) architecture with a layer-wise structure similar to existing deep learning models. In a nutshell, our architecture consists of differentiable oblivious decision trees (ODT) that are trained end-to-end by backpropagation. We describe our implementation of the differentiable NODE layer in Section 3.1, the full model architecture in Section 3.2, and the training and inference procedures in section 3.3.
54
+
55
+ # 3.1 DIFFERENTIABLE OBLIVIOUS DECISION TREES
56
+
57
+ The core building block of our model is a Neural Oblivious Decision Ensemble (NODE) layer. The layer is composed of $m$ differentiable oblivious decision trees (ODTs) of equal depth $d$ . As an input, all $m$ trees get a common vector $x \in \mathbb { R } ^ { n }$ , containing $n$ numeric features. Below we describe a design of a single differentiable ODT.
58
+
59
+ In its essence, an ODT is a decision table that splits the data along $d$ splitting features and compares each feature to a learned threshold. Then, the tree returns one of the $2 ^ { d }$ possible responses, corresponding to the comparisons result. Therefore, each ODT is completely determined by its splitting $2 \times 2 \times 2$ features $f \in \mathbb { R } ^ { d }$ , splitting thresholds $b \in \mathbb { R } ^ { d }$ and a $d$ -dimensional tensor of responses $R \in \mathbb { R } ^ { - }$ In this notation, the tree output is defined as:
60
+
61
+ $$
62
+ h ( \boldsymbol { x } ) = R [ \mathbb { 1 } ( f _ { 1 } ( \boldsymbol { x } ) - b _ { 1 } ) , \dots , \mathbb { 1 } ( f _ { d } ( \boldsymbol { x } ) - b _ { d } ) ] ,
63
+ $$
64
+
65
+ where $\mathbb { 1 } ( \cdot )$ denotes the Heaviside function.
66
+
67
+ ![](images/737b77b3bfdeeef216ef864f7167d710d7b5f1fe32211a4126e6d2a45ee460a8.jpg)
68
+ Figure 1: The single ODT inside the NODE layer. The splitting features and the splitting thresholds are shared across all the internal nodes of the same depth. The output is a sum of leaf responses scaled by the choice weights.
69
+
70
+ To make the tree output (1) differentiable, we replace the splitting feature choice $f _ { i }$ and the comparison operator $\mathbb { 1 } ( f _ { i } ( x ) - b _ { i } )$ by their continuous counterparts. There are several existing approaches that can be used for modelling differentiable choice functions in decision trees (Yang et al., 2018), for instance, REINFORCE (Williams, 1992) or Gumbel-softmax (Jang et al., 2016). However, these approaches typically require long training time, which can be crucial in practice.
71
+
72
+ Instead, we propose to use the $\alpha$ -entmax function (Peters et al., 2019) as it is able to learn sparse choices, depending only on a few features, via standard gradient descent. This function is a generalization of softmax in its variational form: $s o f t m a x ( x ) = a r g m a x _ { p \in \Delta } [ \langle p , x \rangle + H ( p ) ]$ where $H ( p )$ is Shannon entropy. We can define $\alpha$ -entmax by replacing $H ( p )$ with Tsallis $\alpha$ -entropy2.
73
+
74
+ The choice function is hence replaced by a weighted sum of features, with weights computed as $\alpha$ -entmax $( \alpha { = } 1 . 5$ ) over the learnable feature selection matrix $F \in \mathbb { R } ^ { d \times n }$ :
75
+
76
+ $$
77
+ \hat { f } _ { i } ( x ) = \sum _ { j = 1 } ^ { n } x _ { j } \cdot e n t m a x _ { \alpha } ( F _ { i j } )
78
+ $$
79
+
80
+ Similarly, we relax the Heaviside function $\mathbb { 1 } ( f _ { i } ( x ) - b _ { i } )$ as a two-class entmax, which we denote as $\sigma _ { \alpha } ( x ) { = } e n t m a x _ { \alpha } ( [ x , 0 ] )$ . As different features can have different characteristic scales, we use the scaled version $\begin{array} { r } { c _ { i } ( x ) = \sigma _ { \alpha } \left( \frac { f _ { i } ( x ) - b _ { i } } { \tau _ { i } } \right) } \end{array}$ , where $b _ { i }$ and $\tau _ { i }$ are learnable parameters for thresholds and scales respectively.
81
+
82
+ Based on the $c _ { i } ( x )$ values, we define a ”choice” tensor $C \in \mathbb { R } ^ { \frac { 2 \times 2 \times 2 } { d } }$ of the same size as the response tensor $R$ by computing the outer product of all $c _ { i }$ :
83
+
84
+ $$
85
+ C ( x ) = { \Big [ } { \begin{array} { c } { c _ { 1 } ( x ) } \\ { 1 - c _ { 1 } ( x ) { \Big ] } \otimes { \Big [ } 1 - c _ { 2 } ( x ) { \Big ] } \otimes \cdots \otimes { \Big [ } 1 - c _ { d } ( x ) { \Big ] } } \end{array} }
86
+ $$
87
+
88
+ The final prediction is then computed as a weighted linear combination of response tensor entries $R$ with weights from the entries of choice tensor $C$ :
89
+
90
+ $$
91
+ \hat { h } ( x ) = \sum _ { \substack { i _ { 1 } , \ldots i _ { d } \in \{ 0 , 1 \} ^ { d } } } R _ { i _ { 1 } , \ldots , i _ { d } } \cdot C _ { i _ { 1 } , \ldots , i _ { d } } ( x )
92
+ $$
93
+
94
+ Note, that this relaxation equals to the classic non-differentiable ODT $h ( x ) ( 1 )$ iff both feature selection and threshold functions reach one-hot state, i.e. entmax always returns non-zero weights for a single feature and $c _ { i }$ always return exactly zeros or ones.
95
+
96
+ Finally, the output of the NODE layer is composed as a concatenation of the outputs of $m$ individual trees $\left[ \hat { h } _ { 1 } ( x ) , \ldots , \hat { h } _ { m } ( x ) \right]$ .
97
+
98
+ Multidimensional tree outputs. In the description above, we assumed that tree outputs are onedimensional $\hat { h } ( x ) \in \mathbb { R }$ . For classification problems, where NODE predicts probabilities of each class, we use multidimensional tree outputs $\hat { h } ( x ) \in \mathbb { R } ^ { | C | }$ , where $| C |$ is a number of classes.
99
+
100
+ # 3.2 GOING DEEPER WITH THE NODE ARCHITECTURE
101
+
102
+ The NODE layer, described above, can be trained alone or within a complex structure, like fullyconnected layers that can be organized into the multi-layer architectures. In this work, we introduce a new architecture, following the popular DenseNet (Huang et al., 2017) model and train it end-toend via backpropagation.
103
+
104
+ ![](images/8831390659b0e81c1a123e6ab71a5d88d05e86d42f60168fe8727ad070880f3d.jpg)
105
+ Figure 2: The NODE architecture, consisting of densely connected NODE layers. Each layer contains several trees whose outputs are concatenated and serve as input for the subsequent layer. The final prediction is obtained by averaging the outputs of all trees from all the layers.
106
+
107
+ Similar to DenseNet, our architecture is a sequence of $k$ NODE layers (see Section 3.1), where each layer uses a concatenation of all previous layers as its input. The input layer 0 of this architecture corresponds to the input features $x$ , accessible by all successor layers. Due to such a design, our architecture is capable to learn both shallow and deep decision rules. A single tree on $i$ -th layer can rely on chains of up to $i - 1$ layer outputs as features, allowing it to capture complex dependencies. The resulting prediction is a simple average of all decision trees from all layers.
108
+
109
+ Note, in the multi-layer architecture described above, tree outputs $\hat { h } ( x )$ from early layers are used as inputs for subsequent layers. Therefore, we do not restrict the dimensionality of $\hat { h } ( x )$ to be equal to the number of classes, and allow it to have an arbitrary dimensionality $l$ , which correspond to $2 \times 2 \times 2 \times l$ the $( d + 1 )$ -dimensional response tensor $R \in \mathbb { R } ^ { \sum _ { d } ^ { \cdots } }$ . When averaging the predictions from all layers, only first $| C |$ coordinates of $\hat { h } ( x )$ are used for classification problems and the first one for regression problems. Overall, $l$ is an additional hyperparameter with typical values in [1, 3].
110
+
111
+ # 3.3 TRAINING
112
+
113
+ Here we summarize the details of our training protocol.
114
+
115
+ Data preprocessing. First, we transform each data feature to follow a normal distribution via quantile transform3. In experiments, we observed that this step was important for stable training and faster convergence.
116
+
117
+ Initialization. Before training, we perform the data-aware initialization (Mishkin & Matas, 2016) to obtain a good initial parameter values. In particular, we initialize the feature selection matrix uniformly $F _ { i j } \sim U ( 0 , 1 )$ , while the thresholds $b$ are initialized with random feature values $f _ { i } ( x )$ observed in the first data batch. The scales $\tau _ { i }$ are initialized in such a way that all the samples in the first batch belong to the linear region of $\sigma _ { \alpha }$ , and hence receive nonzero gradients. Finally, the response tensor entries are initialized with the standard normal distribution ${ \cal R } [ \bar { i } _ { 1 } , \dots , i _ { d } ] \sim { \cal N } ( 0 , 1 )$ .
118
+
119
+ Training. As for existing DNN architectures, NODE is trained end-to-end via mini-batch SGD. We jointly optimize all model parameters: $F , b , R$ . In this work, we experimented with traditional objective functions (cross-entropy for classification and mean squared error for regression), but any differentiable objective can be used as well. As an optimization method, we use the recent QuasiHyperbolic Adam with parameters recommended in the original paper (Ma & Yarats, 2018). We also average the model parameters over $c = 5$ consecutive checkpoints (Izmailov et al., 2018) and pick the optimal stopping point on the hold-out validation dataset.
120
+
121
+ Inference. During training, a significant fraction of time is spent computing the entmax function and multiplying the choice tensor. Once the model is trained, one can pre-compute entmax feature selectors and store them as a sparse vector (e.g., in coordinate (coo) format), making inference more efficient.
122
+
123
+ # 4 EXPERIMENTS
124
+
125
+ In this section, we report the results of a comparison between our approach and the leading GBDT packages. We also provide several ablation studies that demonstrate the influence of each design choice in the proposed NODE architecture.
126
+
127
+ # 4.1 COMPARISON TO THE STATE-OF-THE-ART.
128
+
129
+ As our main experiments, we compare the proposed NODE architecture with two state-of-the-art GBDT implementations on a large number of datasets. In all the experiments we set $\alpha$ parameter in the entmax transformation to 1.5. All other details of the comparison protocol are described below.
130
+
131
+ Datasets. We perform most of the experiments on six open-source tabular datasets from different domains: Epsilon, YearPrediction, Higgs, Microsoft, Yahoo, Click. The detailed description of the datasets is available in appendix. All the datasets provide train/test splits, and we used $20 \%$ samples from the train set as a validation set to tune the hyperparameters. For each dataset, we fix the train/val/test splits for a fair comparison. For the classification datasets (Epsilon, Higgs, Click), we minimize cross-entropy loss and report the classification error. For the regression and ranking datasets (YearPrediction, Microsoft, Yahoo), we minimize and report mean squared error (which corresponds to the pointwise approach to learning-to-rank).
132
+
133
+ Methods. We compare the proposed NODE architecture to the following baselines:
134
+
135
+ • Catboost. The recent GBDT implementation (Prokhorenkova et al., 2018) that uses oblivious decision trees as weak learners. We use the open-source implementation, provided by the authors. • XGBoost. The most popular GBDT implementation widely used in machine learning competitions (Chen & Guestrin, 2016). We use the open-source implementation, provided by the authors. • FCNN. Deep neural network, consisting of several fully-connected layers with ReLU nonlinearity layers (Nair & Hinton, 2010).
136
+
137
+ Regimes. We perform comparison in two following regimes that are the most important in practice:
138
+
139
+ • Default hyperparameters. In this regime, we compare the methods as easy-to-tune toolkits that could be used by a non-professional audience. Namely, here we do not tune hyperparameters and use the default ones provided by the GBDT packages. The only tunable parameter here is a number of trees (up to 2048) in CatBoost/XGBoost, which is set based on the validation set. We do not compare with FCNN in this regime, as it typically requires much tuning, and we did not find the set of parameters, appropriate for all datasets. The default architecture in our model contains only a single layer with 2048 decision trees of depth six. Both of these hyperparameters were inherited from the CatBoost package settings for oblivious decision trees. With these parameters, the NODE architecture is shallow, but it still benefits from end-to-end training via back-propagation.
140
+
141
+ Table 1: The comparison of NODE with the shallow state-of-the-art counterparts with default hyperparameters. The results are computed over ten runs with different random seeds.
142
+
143
+ <table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Epsilon</td><td rowspan=1 colspan=1>YearPrediction</td><td rowspan=1 colspan=1>Higgs</td><td rowspan=1 colspan=1>Microsoft</td><td rowspan=1 colspan=1>Yahoo</td><td rowspan=1 colspan=1>Click</td></tr><tr><td rowspan=1 colspan=7>Default hyperparameters</td></tr><tr><td rowspan=1 colspan=1>CatBoost</td><td rowspan=1 colspan=1>0.1119±2e-4</td><td rowspan=1 colspan=1>80.68±0.04</td><td rowspan=1 colspan=1>0.2434±2e-4</td><td rowspan=1 colspan=1>0.5587±2e-4</td><td rowspan=1 colspan=1>0.5781±3e-4</td><td rowspan=1 colspan=1>0.3438±1e-3</td></tr><tr><td rowspan=1 colspan=1>XGBoost</td><td rowspan=1 colspan=1>0.1144</td><td rowspan=1 colspan=1>81.11</td><td rowspan=1 colspan=1>0.2600</td><td rowspan=1 colspan=1>0.5637</td><td rowspan=1 colspan=1>0.5756</td><td rowspan=1 colspan=1>0.3461</td></tr><tr><td rowspan=1 colspan=1>NODE</td><td rowspan=1 colspan=1>0.1043±4e-4</td><td rowspan=1 colspan=1>77.43±0.09</td><td rowspan=1 colspan=1>0.2412±5e-4</td><td rowspan=1 colspan=1>10.5584±3e-40.5666±5e-4</td><td rowspan=1 colspan=1>10.5584±3e-40.5666±5e-4</td><td rowspan=1 colspan=1>10.3309±3e--4</td></tr></table>
144
+
145
+ <table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Epsilon</td><td rowspan=1 colspan=1>YearPrediction</td><td rowspan=1 colspan=1>Higgs</td><td rowspan=1 colspan=1>Microsoft</td><td rowspan=1 colspan=1>Yahoo</td><td rowspan=1 colspan=1>Click</td></tr><tr><td rowspan=1 colspan=7>Tuned hyperparameters</td></tr><tr><td rowspan=1 colspan=1>CatBoost</td><td rowspan=1 colspan=1>0.1113±4e-4</td><td rowspan=1 colspan=1>79.67±0.12</td><td rowspan=1 colspan=1>0.2378±1e-4</td><td rowspan=1 colspan=1>0.5565±2e-4</td><td rowspan=1 colspan=1>0.5632±3e-4</td><td rowspan=1 colspan=1>0.3401±2e-3</td></tr><tr><td rowspan=1 colspan=1>XGBoost</td><td rowspan=1 colspan=1>0.1112±6e-4</td><td rowspan=1 colspan=1>78.53±0.09</td><td rowspan=1 colspan=1>0.2328±3e-4</td><td rowspan=1 colspan=1>0.5544±1e-4</td><td rowspan=1 colspan=1>10.5420±4e-4</td><td rowspan=1 colspan=1>0.3334±2e-3</td></tr><tr><td rowspan=1 colspan=1>FCNN</td><td rowspan=1 colspan=1>0.1058±1e-3</td><td rowspan=1 colspan=1>81.17±0.81</td><td rowspan=1 colspan=1>0.2139±4e-4</td><td rowspan=1 colspan=1>0.5595±2e-4</td><td rowspan=1 colspan=1>0.5691±7e-4</td><td rowspan=1 colspan=1>0.3324±6e-5</td></tr><tr><td rowspan=1 colspan=1>NODE</td><td rowspan=1 colspan=1>0.1034±3e-4</td><td rowspan=1 colspan=1>76.21±0.12</td><td rowspan=1 colspan=1>0.2101±5e-4</td><td rowspan=1 colspan=1>0.5570±2e-4</td><td rowspan=1 colspan=1>0.5692±2e-4</td><td rowspan=1 colspan=1>0.3312±2e-3</td></tr><tr><td rowspan=1 colspan=1>mGBDT</td><td rowspan=1 colspan=1>00M</td><td rowspan=1 colspan=1>80.67</td><td rowspan=1 colspan=1>00M</td><td rowspan=1 colspan=1>0OM</td><td rowspan=1 colspan=1>00M</td><td rowspan=1 colspan=1>0OM</td></tr><tr><td rowspan=1 colspan=1>DeepForest</td><td rowspan=1 colspan=1>0.1179</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>0.2391</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>丨</td><td rowspan=1 colspan=1>0.3333</td></tr></table>
146
+
147
+ Table 2: The comparison of NODE with both shallow and deep counterparts with hyperparameters tuned for optimal performance. The results are computed over ten runs with different random seeds.
148
+
149
+ • Tuned hyperparameters. In this regime, we tune the hyperparameters for both NODE and the competitors on the validation subsets. The optimal configuration for NODE contains between two and eight NODE layers, while the total number of trees across all the layers does not exceed 2048. The details of hyperparameter optimization are provided in appendix.
150
+
151
+ The results of the comparison are summarized in Table 1 and Table 2. For all methods, we report mean performance and standard deviations computed over ten runs with different random seeds. Several key observations are highlighted below:
152
+
153
+ 1. With default hyperparameters, the proposed NODE architecture consistently outperforms both CatBoost and XGBoost on all datasets. The results advocate the usage of NODE as a handy tool for machine learning on tabular problems.
154
+ 2. With tuned hyperparameters, NODE also outperforms the competitors on most of the tasks. Two exceptions are the Yahoo and Microsoft datasets, where tuned XGBoost provides the highest performance. Given the large advantage of XGBoost over CatBoost on Yahoo, we speculate that the usage of oblivious decision trees is an inappropriate inductive bias for this dataset. This implies that NODE should be extended to non-oblivious trees, which we leave for future work.
155
+ 3. In the regime with tuned hyperparameters on some datasets FCNN outperforms GBDT, while on others GBDT is superior. Meanwhile, the proposed NODE architecture appears to be a universal instrument, providing the highest performance on most of the tasks.
156
+
157
+ For completeness we also aimed to compare to previously proposed architectures for deep learning on tabular data. Unfortunately, many works did not publish the source code. We were only able to perform a partial comparison with mGBDT (Feng et al., 2018) and DeepForest (Zhou & Feng, 2017), which source code is available. For both baselines, we use the implementations, provided by the authors, and tune the parameters on the validation set. Note, that the DeepForest implementation is available only for classification problems. Moreover, both implementations do not scale well, and for many datasets, we obtained Out-Of-Memory error (OOM). On datasets in our experiments it turns out that properly tuned GBDTs outperform both (Feng et al., 2018) and (Zhou & Feng, 2017).
158
+
159
+ # 4.2 ABLATIVE ANALYSIS
160
+
161
+ In this section, we analyze the key architecture components that define our model.
162
+
163
+ Choice functions. Constructing differentiable decision trees requires a function that selects items from a set. Such function is required for both splitting feature selection and decision tree routing. We experimented with four possible options, each having different implications:
164
+
165
+ <table><tr><td rowspan="2">Dataset Function</td><td colspan="4">YearPrediction</td><td colspan="4">Epsilon</td></tr><tr><td>softmax</td><td>Gumbel</td><td>sparsemax</td><td>entmax</td><td>softmax</td><td>Gumbel</td><td>sparsemax</td><td>entmax</td></tr><tr><td>1 layer</td><td>78.41</td><td>79.39</td><td>78.13</td><td>77.43</td><td>0.1045</td><td>0.1979</td><td>0.1083</td><td>0.1043</td></tr><tr><td>2 layers</td><td>77.61</td><td>79.31</td><td>76.81</td><td>77.05</td><td>0.1041</td><td>0.2884</td><td>0.1052</td><td>0.1031</td></tr><tr><td>4 layers</td><td>77.58</td><td>79.69</td><td>76.60</td><td>76.21</td><td>0.1034</td><td>0.2908</td><td>0.1058</td><td>0.1033</td></tr><tr><td>8 layers</td><td>77.47</td><td>80.49</td><td>76.31</td><td>76.17</td><td>0.1036</td><td>0.3081</td><td>0.1058</td><td>0.1036</td></tr></table>
166
+
167
+ Table 3: The experimental comparison of various choice functions and architecture depths. The values represent mean squared error for YearPrediction and classification error rate for Epsilon.
168
+
169
+ ![](images/95a7f08422ead456e42a50f6e2277283ffbea43872d472162268379ca8c0ca2d.jpg)
170
+ Figure 3: NODE on UCI Higgs dataset: Left-Top: individual feature importance distributions for both original and learned features. Left-Bottom: mean absolute contribution of individual trees to the final response. Right: responses dependence on feature importances. See details in the text.
171
+
172
+ • Softmax learns dense decision rules where all items have nonzero weights;
173
+ • Gumbel-Softmax (Jang et al., 2016) learns to stochastically sample a single element from a set;
174
+ • Sparsemax (Martins $\pmb { \& }$ Astudillo, 2016) learns sparse decision rules, where only a few items have nonzero weights;
175
+ • Entmax (Peters et al., 2019) generalizes both sparsemax and softmax; it is able to learn sparse decision rules, but is smoother than sparsemax, being more appropriate for gradient-based optimization. In comparison $\alpha$ parameter was set to 1.5.
176
+
177
+ We experimentally compare the four options above with both shallow and deep architectures in Table 3. We use the same choice function for both feature selection and tree routing across all experiments. In Gumbel-Softmax, we replaced it with hard argmax one-hot during inference. The results clearly show that Entmax with $\alpha { = } 1 . 5$ outperforms the competitors across all experiments. First, Table 3 demonstrates that sparsemax and softmax are not universal choice functions. For instance, on the YearPrediction dataset, sparsemax outperforms softmax, while on the Epsilon dataset softmax is superior. In turn, entmax provides great empirical performance across all datasets. Another observation is that Gumbel-Softmax is unable to learn deep architectures with both constant and annealed temperature schedules. This behavior is probably caused by the stochasticity of Gumbel-Softmax and the responses on the former layers are too noisy to produce useful features for the latter layers.
178
+
179
+ Feature importance. In this series of experiments, we analyze the internal representations, learned by the NODE architecture. We begin by estimating the feature importances from different layers of a multi-layer ensemble via permutation feature importance, initially introduced in (Breiman, 2001). Namely, for 10.000 objects from the Higgs dataset we randomly shuffle the values of each feature (original or learnt on some NODE layer) and compute the increase in the classification error. Then for each layer, we split feature importance values into seven equal bins and calculate the total feature importance of each bin, shown on Figure 3 (left-top). We discovered that the features from the first layer are used the most, with feature importances decreasing with depth. This figure shows that deep layers are able to produce important features, even though earlier layers have an advantage because of the DenseNet architecture. Next, we estimated the mean absolute contribution of individual trees to the final response, reported on Figure 3 (left-bottom). One can see the reverse trend, deep trees tend to contribute more to the final response. Figure 3 (right) clearly shows that there is anticorrelation of feature importances and contributions in the final response, which implies that the main role of ealier layers is to produce informative features, while the latter layers mostly use them for accurate prediction.
180
+
181
+ Training/Inference runtime. Finally, we compare the NODE runtime to the timings of the stateof-the-art GBDT implementations. In Table 4 we report the training and inference time for million of objects from the YearPrediction dataset. In this experiment, we evaluate ensembles of 1024 trees of depth six with all other parameters set to their default values. Our GPU setup has a single 1080Ti GPU and 2 CPU cores. In turn, our CPU setup has a 28-core Xeon E5-2660 v4 processor (which costs almost twice as much as the GPU). We use CatBoost v0.15 and XGBoost v0.90 as baselines, while NODE inference runs on PyTorch v1.1.0. Overall, NODE inference time is on par with heavily optimized GBDT libraries despite being implemented in pure PyTorch (i.e. no custom kernels).
182
+
183
+ <table><tr><td>Method</td><td>NODE 8 layers 1080Ti</td><td>XGBoost Xeon</td><td>XGBoost 1080Ti</td><td>CatBoost Xeon</td></tr><tr><td>Training</td><td>7min 42s</td><td>5min 39s</td><td>1min 13s</td><td>41s</td></tr><tr><td>Inference</td><td>8.56s</td><td>5.94s</td><td>4.45s</td><td>4.62s</td></tr></table>
184
+
185
+ Table 4: Training and inference runtime for models with 1024 trees of depth six on the YearPrediction dataset, averaged over five runs. Both training and inference of eight-layer NODE architecture on GPU are on par with shallow counterparts of the same total number of trees in an ensemble.
186
+
187
+ # 5 CONCLUSION
188
+
189
+ In this paper, we introduce a new DNN architecture for deep learning on heterogeneous tabular data. The architecture is differentiable deep GBDTs, trained end-to-end via backpropagation. In extensive experiments, we demonstrate the advantages of our architecture over existing competitors with the default and tuned hyperparameters. A promising research direction is incorporating the NODE layer into complex pipelines trained via back-propagation. For instance, in multi-modal problems, the NODE layer could be employed as a way to incorporate the tabular data, as CNNs are currently used for images, or RNNs are used for sequences.
190
+
191
+ # REFERENCES
192
+
193
+ Andreea Anghel, Nikolaos Papandreou, Thomas Parnell, Alessandro de Palma, and Haralampos Pozidis. Benchmarking and optimization of gradient boosting decision tree algorithms.
194
+
195
+ Inigo Barandiaran. The random subspace method for constructing decision forests. ˜ IEEE transactions on pattern analysis and machine intelligence, 1998.
196
+
197
+ Leo Breiman. Random forests. Machine Learning, 45(1):5–32, 2001. doi: 10.1023/A: 1010933404324. URL https://doi.org/10.1023/A:1010933404324.
198
+
199
+ 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, pp. 785–794, 2016.
200
+
201
+ Ji Feng, Yang Yu, and Zhi-Hua Zhou. Multi-layered gradient boosting decision trees. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS, 2018.
202
+
203
+ Jerome H Friedman. Greedy function approximation: a gradient boosting machine. Annals of statistics, pp. 1189–1232, 2001.
204
+
205
+ Ian Goodfellow, Yoshua Bengio, and Aaron Courville. Deep learning. MIT press, 2016.
206
+
207
+ Vasyl Harasymiv. Lessons from 2 million machine learning models on kaggle, 2015.
208
+
209
+ Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, 2017.
210
+
211
+ Pavel Izmailov, Dmitrii Podoprikhin, Timur Garipov, Dmitry Vetrov, and Andrew Gordon Wilson. Averaging weights leads to wider optima and better generalization. arXiv preprint arXiv:1803.05407, 2018.
212
+
213
+ Eric Jang, Shixiang Gu, and Ben Poole. Categorical reparameterization with gumbel-softmax. CoRR, abs/1611.01144, 2016. URL http://dblp.uni-trier.de/db/journals/ corr/corr1611.html#JangGP16.
214
+
215
+ Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and TieYan Liu. Lightgbm: A highly efficient gradient boosting decision tree. In Advances in Neural Information Processing Systems, pp. 3146–3154, 2017.
216
+
217
+ Guolin Ke, Jia Zhang, Zhenhui Xu, Jiang Bian, and Tie-Yan Liu. Tabnn: A universal neural network solution for tabular data. 2018.
218
+
219
+ Ron Kohavi. Bottom-up induction of oblivious read-once decision graphs: strengths and limitations. In AAAI, 1994.
220
+
221
+ Peter Kontschieder, Madalina Fiterau, Antonio Criminisi, and Samuel Rota Bulo. Deep neural decision forests. In Proceedings of the IEEE international conference on computer vision, 2015.
222
+
223
+ Nathan Lay, Adam P Harrison, Sharon Schreiber, Gitesh Dawer, and Adrian Barbu. Random hinge forest for differentiable learning. arXiv preprint arXiv:1802.03882, 2018.
224
+
225
+ Tianyi Lin, Zhiyue Hu, and Xin Guo. Sparsemax and relaxed wasserstein for topic sparsity. In Proceedings of the Twelfth ACM International Conference on Web Search and Data Mining, 2019.
226
+
227
+ Yin Lou and Mikhail Obukhov. Bdt: Gradient boosted decision tables for high accuracy and scoring efficiency. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2017.
228
+
229
+ Jerry Ma and Denis Yarats. Quasi-hyperbolic momentum and adam for deep learning. arXiv preprint arXiv:1810.06801, 2018.
230
+
231
+ Andre Martins and Ramon Astudillo. From softmax to sparsemax: A sparse model of attention and multi-label classification. In International Conference on Machine Learning, 2016.
232
+
233
+ Kevin Miller, Chris Hettinger, Jeffrey Humpherys, Tyler Jarvis, and David Kartchner. Forward thinking: building deep random forests. arXiv preprint arXiv:1705.07366, 2017.
234
+
235
+ Dmytro Mishkin and Jiri Matas. All you need is a good init. In 4th International Conference on Learning Representations, ICLR 2016, San Juan, Puerto Rico, May 2-4, 2016, Conference Track Proceedings, 2016.
236
+
237
+ Vinod Nair and Geoffrey E Hinton. Rectified linear units improve restricted boltzmann machines. In Proceedings of the 27th international conference on machine learning (ICML-10), 2010.
238
+
239
+ Vlad Niculae and Mathieu Blondel. A regularized framework for sparse and structured neural attention. In Advances in Neural Information Processing Systems, 2017.
240
+
241
+ Vlad Niculae, Andre FT Martins, Mathieu Blondel, and Claire Cardie. Sparsemap: Differentiable ´ sparse structured inference. arXiv preprint arXiv:1802.04223, 2018.
242
+
243
+ Ben Peters, Vlad Niculae, and Andre F. T. Martins. Sparse sequence-to-sequence models. In ´ ACL, 2019, pp. 1504–1519, 2019.
244
+
245
+ Liudmila Prokhorenkova, Gleb Gusev, Aleksandr Vorobev, Anna Veronika Dorogush, and Andrey Gulin. Catboost: unbiased boosting with categorical features. In Advances in Neural Information Processing Systems, pp. 6638–6648, 2018.
246
+
247
+ David E Rumelhart, Geoffrey E Hinton, and Ronald J Williams. Learning internal representations by error propagation. Technical report, California Univ San Diego La Jolla Inst for Cognitive Science, 1985.
248
+
249
+ Ira Shavitt and Eran Segal. Regularization learning networks: Deep learning for tabular datasets. In Advances in Neural Information Processing Systems, pp. 1379–1389, 2018.
250
+
251
+ Ronald J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 8:229–256, 1992.
252
+
253
+ Yongxin Yang, Irene Garcia Morillo, and Timothy M Hospedales. Deep neural decision trees. arXiv preprint arXiv:1806.06988, 2018.
254
+
255
+ Zhi-Hua Zhou and Ji Feng. Deep forest: Towards an alternative to deep neural networks. In Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, IJCAI, 2017.
256
+
257
+ Table 5: The datasets used in our experiments.
258
+
259
+ <table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Train</td><td rowspan=1 colspan=1>Test</td><td rowspan=1 colspan=1>Features</td><td rowspan=1 colspan=1>Task</td><td rowspan=1 colspan=1>Metric</td><td rowspan=1 colspan=1>Description</td></tr><tr><td rowspan=1 colspan=1>Epsilon5</td><td rowspan=1 colspan=1>400K</td><td rowspan=1 colspan=1>100K</td><td rowspan=1 colspan=1>2000</td><td rowspan=1 colspan=1>Classification</td><td rowspan=1 colspan=1>Error</td><td rowspan=1 colspan=1>PASCAL Challenge 2008</td></tr><tr><td rowspan=1 colspan=1>YearPrediction6</td><td rowspan=1 colspan=1>463K</td><td rowspan=1 colspan=1>51.6K</td><td rowspan=1 colspan=1>90</td><td rowspan=1 colspan=1>Regression</td><td rowspan=1 colspan=1>MSE</td><td rowspan=1 colspan=1>Million Song Dataset</td></tr><tr><td rowspan=1 colspan=1>Higgs7</td><td rowspan=1 colspan=1>10.5M</td><td rowspan=1 colspan=1>500K</td><td rowspan=1 colspan=1>28</td><td rowspan=1 colspan=1>Classification</td><td rowspan=1 colspan=1>Error</td><td rowspan=1 colspan=1>UCIML Higgs</td></tr><tr><td rowspan=1 colspan=1>Microsoft8</td><td rowspan=1 colspan=1>723K</td><td rowspan=1 colspan=1>241K</td><td rowspan=1 colspan=1>136</td><td rowspan=1 colspan=1>Regression</td><td rowspan=1 colspan=1>MSE</td><td rowspan=1 colspan=1>MSLR-WEB10K</td></tr><tr><td rowspan=1 colspan=1>Yahoo9</td><td rowspan=1 colspan=1>544K</td><td rowspan=1 colspan=1>165K</td><td rowspan=1 colspan=1>699</td><td rowspan=1 colspan=1>Regression</td><td rowspan=1 colspan=1>MSE</td><td rowspan=1 colspan=1>Yahoo LETOR dataset</td></tr><tr><td rowspan=1 colspan=1>Click10</td><td rowspan=1 colspan=1>800K</td><td rowspan=1 colspan=1>200K</td><td rowspan=1 colspan=1>11</td><td rowspan=1 colspan=1>Classification</td><td rowspan=1 colspan=1>Error</td><td rowspan=1 colspan=1>2012 KDD Cup</td></tr></table>
260
+
261
+ # A APPENDIX
262
+
263
+ # A.1 DESCRIPTION OF THE DATASETS
264
+
265
+ In our experiments, we used six tabular datasets, described in Table 5. (1) Epsilon is high dimensional dataset from the PASCAL Large Scale Learning Challenge 2008. The problem is a binary classification. (2) YearPrediction is a subset of Million Song Dataset. It is regression dataset, and the task is to predict the release year of the song by using the audio features. It contains tracks from 1922 to 2011. (3) Higgs is a dataset from the UCI ML Repository. The problem is to predict whether the given event produces Higgs bosons or not. (4) Microsoft is a Learning to Rank Dataset. It consists of 136-dimensional feature vectors extracted from query-url pairs. Each pair has relevance judgment labels, which take values from 0 (irrelevant) to 4 (perfectly relevant) (5) Yahoo is very similar ranking dataset with query-url pairs labeled from 0 to 4. We treat both ranking problems as regression (which corresponds to the pointwise approach to learning-to-rank) (6) Click is a subset of data from the 2012 KDD Cup. For the subset construction, we randomly sample 500.000 objects of a positive class and 500.000 objects of a negative class. The categorical features were converted to numerical ones via Leave-One-Out encoder from category encoders package of the scikit-learn library.
266
+
267
+ # A.2 OPTIMIZATION OF HYPERPARAMETERS
268
+
269
+ In order to tune the hyperparameters, we performed a random stratified split of full training data into train set $( 8 0 \% )$ and validation set $( 2 0 \% )$ for the Epsilon, YearPrediction, Higgs, Microsoft, and Click datasets. For Yahoo, we use train/val/test split provided by the dataset authors. We use the Hyperopt4 library to optimize Catboost, XGBoost, and FCNN hyperparameters. For each method, we perform 50 steps of Tree-structured Parzen Estimator (TPE) optimization algorithm. As a final configuration, we choose the set of hyperparameters, corresponding to the smallest loss on the validation set.
270
+
271
+ # A.2.1 CATBOOST AND XGBOOST
272
+
273
+ On each iteration of Hyperopt, the number of trees was set based on the validation set, with maximal trees count set to 2048. Below is the list of hyperparameters and their search spaces for Catboost.
274
+
275
+ • learning rate: Log-Uniform distribution $[ e ^ { - 5 } , 1 ]$ • random strength: Discrete uniform distribution [1, 20] • one hot max size: Discrete uniform distribution [0, 25] • l2 leaf reg: Log-Uniform distribution [1, 10] • bagging temperature: Uniform distribution [0, 1] • leaf estimation iterations: Discrete uniform distribution [1, 10]
276
+
277
+ XGBoost tuned parameters and their search spaces:
278
+
279
+ • eta: Log-Uniform distribution $[ e ^ { - 7 } , 1 ]$
280
+ • max depth: Discrete uniform distribution [2, 10]
281
+ • subsample: Uniform distribution [0.5, 1]
282
+ • colsample bytree: Uniform distribution [0.5, 1]
283
+ • colsample bylevel: Uniform distribution [0.5, 1]
284
+ • min child weight: Log-Uniform distribution $[ e ^ { - 1 6 } , e ^ { 5 } ]$
285
+ • alpha: Uniform choice $\{ 0 \}$ , Log-Uniform distribution $[ e ^ { - 1 6 } , e ^ { 2 } ] \}$
286
+ • lambda: Uniform choice $\{ 0 \}$ , Log-Uniform distribution $[ e ^ { - 1 6 } , e ^ { 2 } ] \}$
287
+ • gamma: Uniform choice $\{ 0$ , Log-Uniform distribution $[ e ^ { - 1 6 } , e ^ { 2 } ] \}$
288
+
289
+ # A.2.2 FCNN
290
+
291
+ Fully connected neural networks were tuned using Hyperas 11 library, which is a Keras wrapper for Hyperopt. We consider FCNN constructed from the following blocks: Dense-ReLU-Dropout. The number of units in each layer is independent of each other, and dropout value is the same for the whole network. The networks are trained with the Adam optimizer with averaging the model parameters over $c { = } 5$ consecutive checkpoints (Izmailov et al., 2018) and early stopping on validation. Batch size is fixed to 1024 for all datasets. Below is the list of tuned hyperparameters.
292
+
293
+ • Architecture: either Sequential (each layer is receives previous layer activations) or DenseNet (each layer receives activations from all previous layers
294
+ • Number of layers: Discrete uniform distribution [2, 7]
295
+ • Number of units: Dicrete uniform distribution over a set $\{ 1 2 8 , 2 5 6 , 5 1 2 , 1 0 2 4 \}$
296
+ • Learning rate: Uniform distribution $[ 1 e - 4 , 1 e - 2 ]$
297
+ • Dropout: Uniform distribution [0, 0.5]
298
+
299
+ # A.2.3 NODE
300
+
301
+ Neural Oblivious Decision Ensembles were tuned by grid search over the following hyperparameter values. In the multi-layer NODE, we use the same architecture for all layers, i.e., the same number of trees of the same depth. total tree count here denotes the total number of trees on all layers. For each dataset, we use the maximal batch size, which fits in the GPU memory. We always use learning rate $1 0 ^ { - 3 }$ .
302
+
303
+ • num layers: {2, 4, 8} • total tree count: {1024, 2048} • tree depth: $\{ 6 , 8 \}$ • tree output dim: $\{ 2 , 3 \}$
parse/train/r1eiu2VtwH/r1eiu2VtwH_content_list.json ADDED
@@ -0,0 +1,1548 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "NEURAL OBLIVIOUS DECISION ENSEMBLES FOR DEEP LEARNING ON TABULAR DATA ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 99,
9
+ 705,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Sergei Popov \nYandex \nsapopov@yandex-team.ru Stanislav Morozov \nYandex \nLomonosov Moscow State University stanis-morozov@yandex.ru ",
17
+ "bbox": [
18
+ 184,
19
+ 170,
20
+ 401,
21
+ 212
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "",
28
+ "bbox": [
29
+ 565,
30
+ 170,
31
+ 813,
32
+ 226
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Artem Babenko ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 184,
42
+ 247,
43
+ 295,
44
+ 261
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Yandex National Research University Higher School of Economics artem.babenko@phystech.edu ",
51
+ "bbox": [
52
+ 184,
53
+ 262,
54
+ 441,
55
+ 316
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "ABSTRACT ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 454,
65
+ 354,
66
+ 544,
67
+ 369
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Nowadays, deep neural networks (DNNs) have become the main instrument for machine learning tasks within a wide range of domains, including vision, NLP, and speech. Meanwhile, in an important case of heterogenous tabular data, the advantage of DNNs over shallow counterparts remains questionable. In particular, there is no sufficient evidence that deep learning machinery allows constructing methods that outperform gradient boosting decision trees (GBDT), which are often the top choice for tabular problems. In this paper, we introduce Neural Oblivious Decision Ensembles (NODE), a new deep learning architecture, designed to work with any tabular data. In a nutshell, the proposed NODE architecture generalizes ensembles of oblivious decision trees, but benefits from both end-to-end gradient-based optimization and the power of multi-layer hierarchical representation learning. With an extensive experimental comparison to the leading GBDT packages on a large number of tabular datasets, we demonstrate the advantage of the proposed NODE architecture, which outperforms the competitors on most of the tasks. We open-source the PyTorch implementation of NODE and believe that it will become a universal framework for machine learning on tabular data. ",
74
+ "bbox": [
75
+ 233,
76
+ 386,
77
+ 764,
78
+ 607
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "1 INTRODUCTION ",
85
+ "text_level": 1,
86
+ "bbox": [
87
+ 176,
88
+ 633,
89
+ 336,
90
+ 650
91
+ ],
92
+ "page_idx": 0
93
+ },
94
+ {
95
+ "type": "text",
96
+ "text": "The recent rise of deep neural networks (DNN) resulted in a substantial breakthrough for a large number of machine learning tasks in computer vision, natural language processing, speech recognition, reinforcement learning (Goodfellow et al., 2016). Both gradient-based optimization via backpropagation (Rumelhart et al., 1985) and hierarchical representation learning appear to be crucial in increasing the performance of machine learning for these problems by a large margin. ",
97
+ "bbox": [
98
+ 174,
99
+ 666,
100
+ 823,
101
+ 736
102
+ ],
103
+ "page_idx": 0
104
+ },
105
+ {
106
+ "type": "text",
107
+ "text": "While the superiority of deep architectures in these domains is undoubtful, machine learning for tabular data still did not fully benefit from the DNN power. Namely, the state-of-the-art performance in problems with tabular heterogeneous data is often achieved by “shallow” models, such as gradient boosted decision trees (GBDT) (Friedman, 2001; Chen & Guestrin, 2016; Ke et al., 2017; Prokhorenkova et al., 2018). While the importance of deep learning on tabular data is recognized by the ML community, and many works address this problem (Zhou & Feng, 2017; Yang et al., 2018; Miller et al., 2017; Lay et al., 2018; Feng et al., 2018; Ke et al., 2018), the proposed DNN approaches do not consistently outperform the state-of-the-art shallow models by a notable margin. In particular, to the best of our knowledge, there is still no universal DNN approach that was shown to systematically outperform the leading GBDT packages (e.g., XGBoost (Chen & Guestrin, 2016)). As additional evidence, a large number of Kaggle ML competitions with tabular data are still won by the shallow GBDT methods (Harasymiv, 2015). Overall, at the moment, there is no dominant deep learning solution for tabular data problems, and we aim to reduce this gap by our paper. ",
108
+ "bbox": [
109
+ 174,
110
+ 743,
111
+ 825,
112
+ 924
113
+ ],
114
+ "page_idx": 0
115
+ },
116
+ {
117
+ "type": "text",
118
+ "text": "We introduce Neural Oblivious Decision Ensembles (NODE), a new DNN architecture, designed to work with tabular problems. The NODE architecture is partially inspired by the recent CatBoost package (Prokhorenkova et al., 2018), which was shown to provide state-of-the-art performance on a large number of tabular datasets. In a nutshell, CatBoost performs gradient boosting on oblivious decision trees (decision tables) (Kohavi, 1994; Lou & Obukhov, 2017), which makes inference very efficient, and the method is quite resistant to overfitting. In its essence, the proposed NODE architecture generalizes CatBoost, making the splitting feature choice and decision tree routing differentiable. As a result, the NODE architecture is fully differentiable and could be incorporated in any computational graph of existing DL packages, such as TensorFlow or PyTorch. Furthermore, NODE allows constructing multi-layer architectures, which resembles ”deep” GBDT that is trained end-to-end, which was never proposed before. Besides the usage of oblivious decision tables, another important design choice is the recent entmax transformation (Peters et al., 2019), which effectively performs a ”soft” splitting feature choice in decision trees inside the NODE architecture. As discussed in the following sections, these design choices are critical to obtain state-of-the-art performance. In a large number of experiments, we compare the proposed approach with the leading GBDT implementations with tuned hyperparameters and demonstrate that NODE outperforms competitors consistently on most of the datasets. ",
119
+ "bbox": [
120
+ 174,
121
+ 104,
122
+ 825,
123
+ 339
124
+ ],
125
+ "page_idx": 1
126
+ },
127
+ {
128
+ "type": "text",
129
+ "text": "Overall, the main contributions of our paper can be summarized as follows: ",
130
+ "bbox": [
131
+ 174,
132
+ 347,
133
+ 666,
134
+ 361
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "1. We introduce a new DNN architecture for machine learning on tabular data. To the best of our knowledge, our method is the first successful example of deep architectures that substantially outperforms leading GBDT packages on tabular data. \n2. Via an extensive experimental evaluation on a large number of datasets, we show that the proposed NODE architecture outperforms existing GBDT implementations. \n3. The PyTorch implementation of NODE is available online1. ",
141
+ "bbox": [
142
+ 210,
143
+ 372,
144
+ 823,
145
+ 463
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "The rest of the paper is organized as follows. In Section 2 we review prior work relevant to our method. The proposed Neural Oblivious Decision Ensembles architecture is described in Section 3 and experimentally evaluated in Section 4. Section 5 concludes the paper. ",
152
+ "bbox": [
153
+ 178,
154
+ 474,
155
+ 825,
156
+ 517
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "2 RELATED WORK ",
163
+ "text_level": 1,
164
+ "bbox": [
165
+ 176,
166
+ 537,
167
+ 341,
168
+ 554
169
+ ],
170
+ "page_idx": 1
171
+ },
172
+ {
173
+ "type": "text",
174
+ "text": "In this section, we briefly review the main ideas from prior work that are relevant to our method. ",
175
+ "bbox": [
176
+ 171,
177
+ 570,
178
+ 802,
179
+ 585
180
+ ],
181
+ "page_idx": 1
182
+ },
183
+ {
184
+ "type": "text",
185
+ "text": "The state-of-the-art for tabular data. Ensembles of decision trees, such as GBDT (Friedman, 2001) or random forests (Barandiaran, 1998), are currently the top choice for tabular data problems. Currently, there are several leading GBDT packages, such as XGBoost (Chen & Guestrin, 2016), LightGBM (Ke et al., 2017), CatBoost (Prokhorenkova et al., 2018), which are widely used by both academicians and ML practitioners. While these implementations vary in details, on most of the tasks their performances do not differ much (Prokhorenkova et al., 2018; Anghel et al.). The most important distinction of CatBoost is that it uses oblivious decision trees (ODTs) as weak learners. As ODTs are also an important ingredient of our NODE architecture, we discuss them below. ",
186
+ "bbox": [
187
+ 174,
188
+ 592,
189
+ 825,
190
+ 703
191
+ ],
192
+ "page_idx": 1
193
+ },
194
+ {
195
+ "type": "text",
196
+ "text": "Oblivious Decision Trees. An oblivious decision tree is a regular tree of depth $d$ that is constrained to use the same splitting feature and splitting threshold in all internal nodes of the same depth. This constraint essentially allows representing an ODT as a table with $2 ^ { d }$ entries, corresponding to all possible combinations of $d$ splits (Lou & Obukhov, 2017). Of course, due to the constraints above, ODTs are significantly weaker learners compared to unconstrained decision trees. However, when used in an ensemble, such trees are less prone to overfitting, which was shown to synergize well with gradient boosting (Prokhorenkova et al., 2018). Furthermore, the inference in ODTs is very efficient: one can compute $d$ independent binary splits in parallel and return the appropriate table entry. In contrast, non-oblivious decision trees require evaluating $d$ splits sequentially. ",
197
+ "bbox": [
198
+ 174,
199
+ 709,
200
+ 825,
201
+ 835
202
+ ],
203
+ "page_idx": 1
204
+ },
205
+ {
206
+ "type": "text",
207
+ "text": "Differentiable trees. The significant drawback of tree-based approaches is that they usually do not allow end-to-end optimization and employ greedy, local optimization procedures for tree construction. Thus, they cannot be used as a component for pipelines, trained in an end-to-end fashion. To address this issue, several works (Kontschieder et al., 2015; Yang et al., 2018; Lay et al., 2018) ",
208
+ "bbox": [
209
+ 174,
210
+ 843,
211
+ 823,
212
+ 898
213
+ ],
214
+ "page_idx": 1
215
+ },
216
+ {
217
+ "type": "text",
218
+ "text": "propose to ”soften” decision functions in the internal tree nodes to make the overall tree function and tree routing differentiable. In our work, we advocate the usage of the recent entmax transformation (Peters et al., 2019) to ”soften” decision trees. We confirm its advantages over the previously proposed approaches in the experimental section. ",
219
+ "bbox": [
220
+ 174,
221
+ 103,
222
+ 823,
223
+ 159
224
+ ],
225
+ "page_idx": 2
226
+ },
227
+ {
228
+ "type": "text",
229
+ "text": "Entmax. The key building block of our model is the entmax transformation (Peters et al., 2019), which maps a vector of real-valued scores to a discrete probability distribution. This transformation generalizes the traditional softmax and its sparsity-enforcing alternative sparsemax (Martins & Astudillo, 2016), which has already received significant attention in a wide range of applications: probabilistic inference, topic modeling, neural attention (Niculae & Blondel, 2017; Niculae et al., 2018; Lin et al., 2019). The entmax is capable to produce sparse probability distributions, where the majority of probabilities are exactly equal to 0. In this work, we argue that entmax is also an appropriate inductive bias in our model, which allows differentiable split decision construction in the internal tree nodes. Intuitively, entmax can learn splitting decisions based on a small subset of data features (up to one, as in classical decision trees), avoiding undesired influence from others. As an additional advantage, using entmax for feature selection allows for computationally efficient inference using the sparse pre-computed choice vectors as described below in Section 3. ",
230
+ "bbox": [
231
+ 174,
232
+ 166,
233
+ 825,
234
+ 333
235
+ ],
236
+ "page_idx": 2
237
+ },
238
+ {
239
+ "type": "text",
240
+ "text": "Multi-layer non-differentiable architectures. Another line of work (Miller et al., 2017; Zhou & Feng, 2017; Feng et al., 2018) promotes the construction of multi-layer architectures from nondifferentiable blocks, such as random forests or GBDT ensembles. For instance, (Zhou & Feng, 2017; Miller et al., 2017) propose to use stacking of several random forests, which are trained separately. In recent work, (Feng et al., 2018) introduces the multi-layer GBDTs and proposes a training procedure that does not require each layer component to be differentiable. While these works report marginal improvements over shallow counterparts, they lack the capability for end-to-end training, which could result in inferior performance. In contrast, we argue that end-to-end training is crucial and confirm this claim in the experimental section. ",
241
+ "bbox": [
242
+ 173,
243
+ 340,
244
+ 825,
245
+ 465
246
+ ],
247
+ "page_idx": 2
248
+ },
249
+ {
250
+ "type": "text",
251
+ "text": "Specific DNN for tabular data. While a number of prior works propose architectures designed for tabular data (Ke et al., 2018; Shavitt & Segal, 2018), they mostly do not compare with the properly tuned GBDT implementations, which are the most appropriate baselines. The recent preprint (Ke et al., 2018) reports the marginal improvement over GBDT with default parameters, but in our experiments, the baseline performance is much higher. To the best of our knowledge, our approach is the first to consistently outperform the tuned GBDTs over a large number of datasets. ",
252
+ "bbox": [
253
+ 174,
254
+ 472,
255
+ 825,
256
+ 556
257
+ ],
258
+ "page_idx": 2
259
+ },
260
+ {
261
+ "type": "text",
262
+ "text": "3 NEURAL OBLIVIOUS DECISION ENSEMBLES ",
263
+ "text_level": 1,
264
+ "bbox": [
265
+ 174,
266
+ 577,
267
+ 575,
268
+ 593
269
+ ],
270
+ "page_idx": 2
271
+ },
272
+ {
273
+ "type": "text",
274
+ "text": "We introduce the Neural Oblivious Decision Ensemble (NODE) architecture with a layer-wise structure similar to existing deep learning models. In a nutshell, our architecture consists of differentiable oblivious decision trees (ODT) that are trained end-to-end by backpropagation. We describe our implementation of the differentiable NODE layer in Section 3.1, the full model architecture in Section 3.2, and the training and inference procedures in section 3.3. ",
275
+ "bbox": [
276
+ 174,
277
+ 609,
278
+ 825,
279
+ 680
280
+ ],
281
+ "page_idx": 2
282
+ },
283
+ {
284
+ "type": "text",
285
+ "text": "3.1 DIFFERENTIABLE OBLIVIOUS DECISION TREES ",
286
+ "text_level": 1,
287
+ "bbox": [
288
+ 174,
289
+ 698,
290
+ 544,
291
+ 712
292
+ ],
293
+ "page_idx": 2
294
+ },
295
+ {
296
+ "type": "text",
297
+ "text": "The core building block of our model is a Neural Oblivious Decision Ensemble (NODE) layer. The layer is composed of $m$ differentiable oblivious decision trees (ODTs) of equal depth $d$ . As an input, all $m$ trees get a common vector $x \\in \\mathbb { R } ^ { n }$ , containing $n$ numeric features. Below we describe a design of a single differentiable ODT. ",
298
+ "bbox": [
299
+ 173,
300
+ 724,
301
+ 825,
302
+ 780
303
+ ],
304
+ "page_idx": 2
305
+ },
306
+ {
307
+ "type": "text",
308
+ "text": "In its essence, an ODT is a decision table that splits the data along $d$ splitting features and compares each feature to a learned threshold. Then, the tree returns one of the $2 ^ { d }$ possible responses, corresponding to the comparisons result. Therefore, each ODT is completely determined by its splitting $2 \\times 2 \\times 2$ features $f \\in \\mathbb { R } ^ { d }$ , splitting thresholds $b \\in \\mathbb { R } ^ { d }$ and a $d$ -dimensional tensor of responses $R \\in \\mathbb { R } ^ { - }$ In this notation, the tree output is defined as: ",
309
+ "bbox": [
310
+ 173,
311
+ 787,
312
+ 825,
313
+ 868
314
+ ],
315
+ "page_idx": 2
316
+ },
317
+ {
318
+ "type": "equation",
319
+ "img_path": "images/01422b6472286c70262bd758dbbfcea0af2ca4bd7191b2052f7b7d342bc9cd6a.jpg",
320
+ "text": "$$\nh ( \\boldsymbol { x } ) = R [ \\mathbb { 1 } ( f _ { 1 } ( \\boldsymbol { x } ) - b _ { 1 } ) , \\dots , \\mathbb { 1 } ( f _ { d } ( \\boldsymbol { x } ) - b _ { d } ) ] ,\n$$",
321
+ "text_format": "latex",
322
+ "bbox": [
323
+ 344,
324
+ 876,
325
+ 651,
326
+ 893
327
+ ],
328
+ "page_idx": 2
329
+ },
330
+ {
331
+ "type": "text",
332
+ "text": "where $\\mathbb { 1 } ( \\cdot )$ denotes the Heaviside function. ",
333
+ "bbox": [
334
+ 176,
335
+ 909,
336
+ 455,
337
+ 924
338
+ ],
339
+ "page_idx": 2
340
+ },
341
+ {
342
+ "type": "image",
343
+ "img_path": "images/737b77b3bfdeeef216ef864f7167d710d7b5f1fe32211a4126e6d2a45ee460a8.jpg",
344
+ "image_caption": [
345
+ "Figure 1: The single ODT inside the NODE layer. The splitting features and the splitting thresholds are shared across all the internal nodes of the same depth. The output is a sum of leaf responses scaled by the choice weights. "
346
+ ],
347
+ "image_footnote": [],
348
+ "bbox": [
349
+ 251,
350
+ 106,
351
+ 691,
352
+ 279
353
+ ],
354
+ "page_idx": 3
355
+ },
356
+ {
357
+ "type": "text",
358
+ "text": "To make the tree output (1) differentiable, we replace the splitting feature choice $f _ { i }$ and the comparison operator $\\mathbb { 1 } ( f _ { i } ( x ) - b _ { i } )$ by their continuous counterparts. There are several existing approaches that can be used for modelling differentiable choice functions in decision trees (Yang et al., 2018), for instance, REINFORCE (Williams, 1992) or Gumbel-softmax (Jang et al., 2016). However, these approaches typically require long training time, which can be crucial in practice. ",
359
+ "bbox": [
360
+ 173,
361
+ 362,
362
+ 825,
363
+ 434
364
+ ],
365
+ "page_idx": 3
366
+ },
367
+ {
368
+ "type": "text",
369
+ "text": "Instead, we propose to use the $\\alpha$ -entmax function (Peters et al., 2019) as it is able to learn sparse choices, depending only on a few features, via standard gradient descent. This function is a generalization of softmax in its variational form: $s o f t m a x ( x ) = a r g m a x _ { p \\in \\Delta } [ \\langle p , x \\rangle + H ( p ) ]$ where $H ( p )$ is Shannon entropy. We can define $\\alpha$ -entmax by replacing $H ( p )$ with Tsallis $\\alpha$ -entropy2. ",
370
+ "bbox": [
371
+ 173,
372
+ 439,
373
+ 825,
374
+ 498
375
+ ],
376
+ "page_idx": 3
377
+ },
378
+ {
379
+ "type": "text",
380
+ "text": "The choice function is hence replaced by a weighted sum of features, with weights computed as $\\alpha$ -entmax $( \\alpha { = } 1 . 5$ ) over the learnable feature selection matrix $F \\in \\mathbb { R } ^ { d \\times n }$ : ",
381
+ "bbox": [
382
+ 171,
383
+ 503,
384
+ 823,
385
+ 532
386
+ ],
387
+ "page_idx": 3
388
+ },
389
+ {
390
+ "type": "equation",
391
+ "img_path": "images/ffbbf15870109e67d718f72ee80e0602a153c63ae0c375d2da9bee899090b542.jpg",
392
+ "text": "$$\n\\hat { f } _ { i } ( x ) = \\sum _ { j = 1 } ^ { n } x _ { j } \\cdot e n t m a x _ { \\alpha } ( F _ { i j } )\n$$",
393
+ "text_format": "latex",
394
+ "bbox": [
395
+ 392,
396
+ 539,
397
+ 606,
398
+ 582
399
+ ],
400
+ "page_idx": 3
401
+ },
402
+ {
403
+ "type": "text",
404
+ "text": "Similarly, we relax the Heaviside function $\\mathbb { 1 } ( f _ { i } ( x ) - b _ { i } )$ as a two-class entmax, which we denote as $\\sigma _ { \\alpha } ( x ) { = } e n t m a x _ { \\alpha } ( [ x , 0 ] )$ . As different features can have different characteristic scales, we use the scaled version $\\begin{array} { r } { c _ { i } ( x ) = \\sigma _ { \\alpha } \\left( \\frac { f _ { i } ( x ) - b _ { i } } { \\tau _ { i } } \\right) } \\end{array}$ , where $b _ { i }$ and $\\tau _ { i }$ are learnable parameters for thresholds and scales respectively. ",
405
+ "bbox": [
406
+ 173,
407
+ 595,
408
+ 825,
409
+ 662
410
+ ],
411
+ "page_idx": 3
412
+ },
413
+ {
414
+ "type": "text",
415
+ "text": "Based on the $c _ { i } ( x )$ values, we define a ”choice” tensor $C \\in \\mathbb { R } ^ { \\frac { 2 \\times 2 \\times 2 } { d } }$ of the same size as the response tensor $R$ by computing the outer product of all $c _ { i }$ : ",
416
+ "bbox": [
417
+ 173,
418
+ 669,
419
+ 823,
420
+ 708
421
+ ],
422
+ "page_idx": 3
423
+ },
424
+ {
425
+ "type": "equation",
426
+ "img_path": "images/c5f4a4f06c7fed05c4c81a539aeb317710c3b5556546b719d04b4a0efc2164e1.jpg",
427
+ "text": "$$\nC ( x ) = { \\Big [ } { \\begin{array} { c } { c _ { 1 } ( x ) } \\\\ { 1 - c _ { 1 } ( x ) { \\Big ] } \\otimes { \\Big [ } 1 - c _ { 2 } ( x ) { \\Big ] } \\otimes \\cdots \\otimes { \\Big [ } 1 - c _ { d } ( x ) { \\Big ] } } \\end{array} }\n$$",
428
+ "text_format": "latex",
429
+ "bbox": [
430
+ 305,
431
+ 724,
432
+ 691,
433
+ 761
434
+ ],
435
+ "page_idx": 3
436
+ },
437
+ {
438
+ "type": "text",
439
+ "text": "The final prediction is then computed as a weighted linear combination of response tensor entries $R$ with weights from the entries of choice tensor $C$ : ",
440
+ "bbox": [
441
+ 173,
442
+ 770,
443
+ 823,
444
+ 797
445
+ ],
446
+ "page_idx": 3
447
+ },
448
+ {
449
+ "type": "equation",
450
+ "img_path": "images/8ad968214f3ae1a76b6a75e0ac42f03b79b4f103a271ebf668a68499ee5d634d.jpg",
451
+ "text": "$$\n\\hat { h } ( x ) = \\sum _ { \\substack { i _ { 1 } , \\ldots i _ { d } \\in \\{ 0 , 1 \\} ^ { d } } } R _ { i _ { 1 } , \\ldots , i _ { d } } \\cdot C _ { i _ { 1 } , \\ldots , i _ { d } } ( x )\n$$",
452
+ "text_format": "latex",
453
+ "bbox": [
454
+ 354,
455
+ 804,
456
+ 643,
457
+ 842
458
+ ],
459
+ "page_idx": 3
460
+ },
461
+ {
462
+ "type": "text",
463
+ "text": "Note, that this relaxation equals to the classic non-differentiable ODT $h ( x ) ( 1 )$ iff both feature selection and threshold functions reach one-hot state, i.e. entmax always returns non-zero weights for a single feature and $c _ { i }$ always return exactly zeros or ones. ",
464
+ "bbox": [
465
+ 174,
466
+ 856,
467
+ 825,
468
+ 900
469
+ ],
470
+ "page_idx": 3
471
+ },
472
+ {
473
+ "type": "text",
474
+ "text": "Finally, the output of the NODE layer is composed as a concatenation of the outputs of $m$ individual trees $\\left[ \\hat { h } _ { 1 } ( x ) , \\ldots , \\hat { h } _ { m } ( x ) \\right]$ . ",
475
+ "bbox": [
476
+ 176,
477
+ 103,
478
+ 823,
479
+ 141
480
+ ],
481
+ "page_idx": 4
482
+ },
483
+ {
484
+ "type": "text",
485
+ "text": "Multidimensional tree outputs. In the description above, we assumed that tree outputs are onedimensional $\\hat { h } ( x ) \\in \\mathbb { R }$ . For classification problems, where NODE predicts probabilities of each class, we use multidimensional tree outputs $\\hat { h } ( x ) \\in \\mathbb { R } ^ { | C | }$ , where $| C |$ is a number of classes. ",
486
+ "bbox": [
487
+ 174,
488
+ 147,
489
+ 825,
490
+ 195
491
+ ],
492
+ "page_idx": 4
493
+ },
494
+ {
495
+ "type": "text",
496
+ "text": "3.2 GOING DEEPER WITH THE NODE ARCHITECTURE ",
497
+ "text_level": 1,
498
+ "bbox": [
499
+ 174,
500
+ 213,
501
+ 562,
502
+ 228
503
+ ],
504
+ "page_idx": 4
505
+ },
506
+ {
507
+ "type": "text",
508
+ "text": "The NODE layer, described above, can be trained alone or within a complex structure, like fullyconnected layers that can be organized into the multi-layer architectures. In this work, we introduce a new architecture, following the popular DenseNet (Huang et al., 2017) model and train it end-toend via backpropagation. ",
509
+ "bbox": [
510
+ 174,
511
+ 239,
512
+ 825,
513
+ 295
514
+ ],
515
+ "page_idx": 4
516
+ },
517
+ {
518
+ "type": "image",
519
+ "img_path": "images/8831390659b0e81c1a123e6ab71a5d88d05e86d42f60168fe8727ad070880f3d.jpg",
520
+ "image_caption": [
521
+ "Figure 2: The NODE architecture, consisting of densely connected NODE layers. Each layer contains several trees whose outputs are concatenated and serve as input for the subsequent layer. The final prediction is obtained by averaging the outputs of all trees from all the layers. "
522
+ ],
523
+ "image_footnote": [],
524
+ "bbox": [
525
+ 245,
526
+ 324,
527
+ 756,
528
+ 484
529
+ ],
530
+ "page_idx": 4
531
+ },
532
+ {
533
+ "type": "text",
534
+ "text": "Similar to DenseNet, our architecture is a sequence of $k$ NODE layers (see Section 3.1), where each layer uses a concatenation of all previous layers as its input. The input layer 0 of this architecture corresponds to the input features $x$ , accessible by all successor layers. Due to such a design, our architecture is capable to learn both shallow and deep decision rules. A single tree on $i$ -th layer can rely on chains of up to $i - 1$ layer outputs as features, allowing it to capture complex dependencies. The resulting prediction is a simple average of all decision trees from all layers. ",
535
+ "bbox": [
536
+ 173,
537
+ 560,
538
+ 825,
539
+ 645
540
+ ],
541
+ "page_idx": 4
542
+ },
543
+ {
544
+ "type": "text",
545
+ "text": "Note, in the multi-layer architecture described above, tree outputs $\\hat { h } ( x )$ from early layers are used as inputs for subsequent layers. Therefore, we do not restrict the dimensionality of $\\hat { h } ( x )$ to be equal to the number of classes, and allow it to have an arbitrary dimensionality $l$ , which correspond to $2 \\times 2 \\times 2 \\times l$ the $( d + 1 )$ -dimensional response tensor $R \\in \\mathbb { R } ^ { \\sum _ { d } ^ { \\cdots } }$ . When averaging the predictions from all layers, only first $| C |$ coordinates of $\\hat { h } ( x )$ are used for classification problems and the first one for regression problems. Overall, $l$ is an additional hyperparameter with typical values in [1, 3]. ",
546
+ "bbox": [
547
+ 173,
548
+ 652,
549
+ 825,
550
+ 755
551
+ ],
552
+ "page_idx": 4
553
+ },
554
+ {
555
+ "type": "text",
556
+ "text": "3.3 TRAINING ",
557
+ "text_level": 1,
558
+ "bbox": [
559
+ 174,
560
+ 772,
561
+ 287,
562
+ 786
563
+ ],
564
+ "page_idx": 4
565
+ },
566
+ {
567
+ "type": "text",
568
+ "text": "Here we summarize the details of our training protocol. ",
569
+ "bbox": [
570
+ 174,
571
+ 797,
572
+ 537,
573
+ 814
574
+ ],
575
+ "page_idx": 4
576
+ },
577
+ {
578
+ "type": "text",
579
+ "text": "Data preprocessing. First, we transform each data feature to follow a normal distribution via quantile transform3. In experiments, we observed that this step was important for stable training and faster convergence. ",
580
+ "bbox": [
581
+ 174,
582
+ 820,
583
+ 825,
584
+ 863
585
+ ],
586
+ "page_idx": 4
587
+ },
588
+ {
589
+ "type": "text",
590
+ "text": "Initialization. Before training, we perform the data-aware initialization (Mishkin & Matas, 2016) to obtain a good initial parameter values. In particular, we initialize the feature selection matrix uniformly $F _ { i j } \\sim U ( 0 , 1 )$ , while the thresholds $b$ are initialized with random feature values $f _ { i } ( x )$ observed in the first data batch. The scales $\\tau _ { i }$ are initialized in such a way that all the samples in the first batch belong to the linear region of $\\sigma _ { \\alpha }$ , and hence receive nonzero gradients. Finally, the response tensor entries are initialized with the standard normal distribution ${ \\cal R } [ \\bar { i } _ { 1 } , \\dots , i _ { d } ] \\sim { \\cal N } ( 0 , 1 )$ . ",
591
+ "bbox": [
592
+ 174,
593
+ 869,
594
+ 823,
595
+ 898
596
+ ],
597
+ "page_idx": 4
598
+ },
599
+ {
600
+ "type": "text",
601
+ "text": "",
602
+ "bbox": [
603
+ 174,
604
+ 103,
605
+ 823,
606
+ 159
607
+ ],
608
+ "page_idx": 5
609
+ },
610
+ {
611
+ "type": "text",
612
+ "text": "Training. As for existing DNN architectures, NODE is trained end-to-end via mini-batch SGD. We jointly optimize all model parameters: $F , b , R$ . In this work, we experimented with traditional objective functions (cross-entropy for classification and mean squared error for regression), but any differentiable objective can be used as well. As an optimization method, we use the recent QuasiHyperbolic Adam with parameters recommended in the original paper (Ma & Yarats, 2018). We also average the model parameters over $c = 5$ consecutive checkpoints (Izmailov et al., 2018) and pick the optimal stopping point on the hold-out validation dataset. ",
613
+ "bbox": [
614
+ 173,
615
+ 166,
616
+ 825,
617
+ 263
618
+ ],
619
+ "page_idx": 5
620
+ },
621
+ {
622
+ "type": "text",
623
+ "text": "Inference. During training, a significant fraction of time is spent computing the entmax function and multiplying the choice tensor. Once the model is trained, one can pre-compute entmax feature selectors and store them as a sparse vector (e.g., in coordinate (coo) format), making inference more efficient. ",
624
+ "bbox": [
625
+ 174,
626
+ 271,
627
+ 825,
628
+ 327
629
+ ],
630
+ "page_idx": 5
631
+ },
632
+ {
633
+ "type": "text",
634
+ "text": "4 EXPERIMENTS ",
635
+ "text_level": 1,
636
+ "bbox": [
637
+ 176,
638
+ 347,
639
+ 326,
640
+ 363
641
+ ],
642
+ "page_idx": 5
643
+ },
644
+ {
645
+ "type": "text",
646
+ "text": "In this section, we report the results of a comparison between our approach and the leading GBDT packages. We also provide several ablation studies that demonstrate the influence of each design choice in the proposed NODE architecture. ",
647
+ "bbox": [
648
+ 176,
649
+ 378,
650
+ 823,
651
+ 420
652
+ ],
653
+ "page_idx": 5
654
+ },
655
+ {
656
+ "type": "text",
657
+ "text": "4.1 COMPARISON TO THE STATE-OF-THE-ART. ",
658
+ "text_level": 1,
659
+ "bbox": [
660
+ 174,
661
+ 439,
662
+ 506,
663
+ 452
664
+ ],
665
+ "page_idx": 5
666
+ },
667
+ {
668
+ "type": "text",
669
+ "text": "As our main experiments, we compare the proposed NODE architecture with two state-of-the-art GBDT implementations on a large number of datasets. In all the experiments we set $\\alpha$ parameter in the entmax transformation to 1.5. All other details of the comparison protocol are described below. ",
670
+ "bbox": [
671
+ 176,
672
+ 464,
673
+ 821,
674
+ 506
675
+ ],
676
+ "page_idx": 5
677
+ },
678
+ {
679
+ "type": "text",
680
+ "text": "Datasets. We perform most of the experiments on six open-source tabular datasets from different domains: Epsilon, YearPrediction, Higgs, Microsoft, Yahoo, Click. The detailed description of the datasets is available in appendix. All the datasets provide train/test splits, and we used $20 \\%$ samples from the train set as a validation set to tune the hyperparameters. For each dataset, we fix the train/val/test splits for a fair comparison. For the classification datasets (Epsilon, Higgs, Click), we minimize cross-entropy loss and report the classification error. For the regression and ranking datasets (YearPrediction, Microsoft, Yahoo), we minimize and report mean squared error (which corresponds to the pointwise approach to learning-to-rank). ",
681
+ "bbox": [
682
+ 174,
683
+ 513,
684
+ 825,
685
+ 625
686
+ ],
687
+ "page_idx": 5
688
+ },
689
+ {
690
+ "type": "text",
691
+ "text": "Methods. We compare the proposed NODE architecture to the following baselines: ",
692
+ "bbox": [
693
+ 176,
694
+ 631,
695
+ 720,
696
+ 645
697
+ ],
698
+ "page_idx": 5
699
+ },
700
+ {
701
+ "type": "text",
702
+ "text": "• Catboost. The recent GBDT implementation (Prokhorenkova et al., 2018) that uses oblivious decision trees as weak learners. We use the open-source implementation, provided by the authors. • XGBoost. The most popular GBDT implementation widely used in machine learning competitions (Chen & Guestrin, 2016). We use the open-source implementation, provided by the authors. • FCNN. Deep neural network, consisting of several fully-connected layers with ReLU nonlinearity layers (Nair & Hinton, 2010). ",
703
+ "bbox": [
704
+ 174,
705
+ 657,
706
+ 825,
707
+ 746
708
+ ],
709
+ "page_idx": 5
710
+ },
711
+ {
712
+ "type": "text",
713
+ "text": "Regimes. We perform comparison in two following regimes that are the most important in practice: ",
714
+ "bbox": [
715
+ 174,
716
+ 758,
717
+ 820,
718
+ 772
719
+ ],
720
+ "page_idx": 5
721
+ },
722
+ {
723
+ "type": "text",
724
+ "text": "• Default hyperparameters. In this regime, we compare the methods as easy-to-tune toolkits that could be used by a non-professional audience. Namely, here we do not tune hyperparameters and use the default ones provided by the GBDT packages. The only tunable parameter here is a number of trees (up to 2048) in CatBoost/XGBoost, which is set based on the validation set. We do not compare with FCNN in this regime, as it typically requires much tuning, and we did not find the set of parameters, appropriate for all datasets. The default architecture in our model contains only a single layer with 2048 decision trees of depth six. Both of these hyperparameters were inherited from the CatBoost package settings for oblivious decision trees. With these parameters, the NODE architecture is shallow, but it still benefits from end-to-end training via back-propagation. ",
725
+ "bbox": [
726
+ 174,
727
+ 785,
728
+ 825,
729
+ 924
730
+ ],
731
+ "page_idx": 5
732
+ },
733
+ {
734
+ "type": "table",
735
+ "img_path": "images/56f13a00d48b546531842b58f04b5217f59242b8828c466762573b4ae4bb70e2.jpg",
736
+ "table_caption": [
737
+ "Table 1: The comparison of NODE with the shallow state-of-the-art counterparts with default hyperparameters. The results are computed over ten runs with different random seeds. "
738
+ ],
739
+ "table_footnote": [],
740
+ "table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Epsilon</td><td rowspan=1 colspan=1>YearPrediction</td><td rowspan=1 colspan=1>Higgs</td><td rowspan=1 colspan=1>Microsoft</td><td rowspan=1 colspan=1>Yahoo</td><td rowspan=1 colspan=1>Click</td></tr><tr><td rowspan=1 colspan=7>Default hyperparameters</td></tr><tr><td rowspan=1 colspan=1>CatBoost</td><td rowspan=1 colspan=1>0.1119±2e-4</td><td rowspan=1 colspan=1>80.68±0.04</td><td rowspan=1 colspan=1>0.2434±2e-4</td><td rowspan=1 colspan=1>0.5587±2e-4</td><td rowspan=1 colspan=1>0.5781±3e-4</td><td rowspan=1 colspan=1>0.3438±1e-3</td></tr><tr><td rowspan=1 colspan=1>XGBoost</td><td rowspan=1 colspan=1>0.1144</td><td rowspan=1 colspan=1>81.11</td><td rowspan=1 colspan=1>0.2600</td><td rowspan=1 colspan=1>0.5637</td><td rowspan=1 colspan=1>0.5756</td><td rowspan=1 colspan=1>0.3461</td></tr><tr><td rowspan=1 colspan=1>NODE</td><td rowspan=1 colspan=1>0.1043±4e-4</td><td rowspan=1 colspan=1>77.43±0.09</td><td rowspan=1 colspan=1>0.2412±5e-4</td><td rowspan=1 colspan=1>10.5584±3e-40.5666±5e-4</td><td rowspan=1 colspan=1>10.5584±3e-40.5666±5e-4</td><td rowspan=1 colspan=1>10.3309±3e--4</td></tr></table>",
741
+ "bbox": [
742
+ 179,
743
+ 101,
744
+ 820,
745
+ 190
746
+ ],
747
+ "page_idx": 6
748
+ },
749
+ {
750
+ "type": "table",
751
+ "img_path": "images/ced1b63b28f8e237ce2980ee1e9cfe0cb4ba0fe2ba5407051393588c065eed46.jpg",
752
+ "table_caption": [],
753
+ "table_footnote": [
754
+ "Table 2: The comparison of NODE with both shallow and deep counterparts with hyperparameters tuned for optimal performance. The results are computed over ten runs with different random seeds. "
755
+ ],
756
+ "table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Epsilon</td><td rowspan=1 colspan=1>YearPrediction</td><td rowspan=1 colspan=1>Higgs</td><td rowspan=1 colspan=1>Microsoft</td><td rowspan=1 colspan=1>Yahoo</td><td rowspan=1 colspan=1>Click</td></tr><tr><td rowspan=1 colspan=7>Tuned hyperparameters</td></tr><tr><td rowspan=1 colspan=1>CatBoost</td><td rowspan=1 colspan=1>0.1113±4e-4</td><td rowspan=1 colspan=1>79.67±0.12</td><td rowspan=1 colspan=1>0.2378±1e-4</td><td rowspan=1 colspan=1>0.5565±2e-4</td><td rowspan=1 colspan=1>0.5632±3e-4</td><td rowspan=1 colspan=1>0.3401±2e-3</td></tr><tr><td rowspan=1 colspan=1>XGBoost</td><td rowspan=1 colspan=1>0.1112±6e-4</td><td rowspan=1 colspan=1>78.53±0.09</td><td rowspan=1 colspan=1>0.2328±3e-4</td><td rowspan=1 colspan=1>0.5544±1e-4</td><td rowspan=1 colspan=1>10.5420±4e-4</td><td rowspan=1 colspan=1>0.3334±2e-3</td></tr><tr><td rowspan=1 colspan=1>FCNN</td><td rowspan=1 colspan=1>0.1058±1e-3</td><td rowspan=1 colspan=1>81.17±0.81</td><td rowspan=1 colspan=1>0.2139±4e-4</td><td rowspan=1 colspan=1>0.5595±2e-4</td><td rowspan=1 colspan=1>0.5691±7e-4</td><td rowspan=1 colspan=1>0.3324±6e-5</td></tr><tr><td rowspan=1 colspan=1>NODE</td><td rowspan=1 colspan=1>0.1034±3e-4</td><td rowspan=1 colspan=1>76.21±0.12</td><td rowspan=1 colspan=1>0.2101±5e-4</td><td rowspan=1 colspan=1>0.5570±2e-4</td><td rowspan=1 colspan=1>0.5692±2e-4</td><td rowspan=1 colspan=1>0.3312±2e-3</td></tr><tr><td rowspan=1 colspan=1>mGBDT</td><td rowspan=1 colspan=1>00M</td><td rowspan=1 colspan=1>80.67</td><td rowspan=1 colspan=1>00M</td><td rowspan=1 colspan=1>0OM</td><td rowspan=1 colspan=1>00M</td><td rowspan=1 colspan=1>0OM</td></tr><tr><td rowspan=1 colspan=1>DeepForest</td><td rowspan=1 colspan=1>0.1179</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>0.2391</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>丨</td><td rowspan=1 colspan=1>0.3333</td></tr></table>",
757
+ "bbox": [
758
+ 179,
759
+ 232,
760
+ 820,
761
+ 369
762
+ ],
763
+ "page_idx": 6
764
+ },
765
+ {
766
+ "type": "text",
767
+ "text": "• Tuned hyperparameters. In this regime, we tune the hyperparameters for both NODE and the competitors on the validation subsets. The optimal configuration for NODE contains between two and eight NODE layers, while the total number of trees across all the layers does not exceed 2048. The details of hyperparameter optimization are provided in appendix. ",
768
+ "bbox": [
769
+ 174,
770
+ 411,
771
+ 825,
772
+ 467
773
+ ],
774
+ "page_idx": 6
775
+ },
776
+ {
777
+ "type": "text",
778
+ "text": "The results of the comparison are summarized in Table 1 and Table 2. For all methods, we report mean performance and standard deviations computed over ten runs with different random seeds. Several key observations are highlighted below: ",
779
+ "bbox": [
780
+ 176,
781
+ 478,
782
+ 821,
783
+ 520
784
+ ],
785
+ "page_idx": 6
786
+ },
787
+ {
788
+ "type": "text",
789
+ "text": "1. With default hyperparameters, the proposed NODE architecture consistently outperforms both CatBoost and XGBoost on all datasets. The results advocate the usage of NODE as a handy tool for machine learning on tabular problems. \n2. With tuned hyperparameters, NODE also outperforms the competitors on most of the tasks. Two exceptions are the Yahoo and Microsoft datasets, where tuned XGBoost provides the highest performance. Given the large advantage of XGBoost over CatBoost on Yahoo, we speculate that the usage of oblivious decision trees is an inappropriate inductive bias for this dataset. This implies that NODE should be extended to non-oblivious trees, which we leave for future work. \n3. In the regime with tuned hyperparameters on some datasets FCNN outperforms GBDT, while on others GBDT is superior. Meanwhile, the proposed NODE architecture appears to be a universal instrument, providing the highest performance on most of the tasks. ",
790
+ "bbox": [
791
+ 173,
792
+ 534,
793
+ 825,
794
+ 690
795
+ ],
796
+ "page_idx": 6
797
+ },
798
+ {
799
+ "type": "text",
800
+ "text": "For completeness we also aimed to compare to previously proposed architectures for deep learning on tabular data. Unfortunately, many works did not publish the source code. We were only able to perform a partial comparison with mGBDT (Feng et al., 2018) and DeepForest (Zhou & Feng, 2017), which source code is available. For both baselines, we use the implementations, provided by the authors, and tune the parameters on the validation set. Note, that the DeepForest implementation is available only for classification problems. Moreover, both implementations do not scale well, and for many datasets, we obtained Out-Of-Memory error (OOM). On datasets in our experiments it turns out that properly tuned GBDTs outperform both (Feng et al., 2018) and (Zhou & Feng, 2017). ",
801
+ "bbox": [
802
+ 173,
803
+ 704,
804
+ 825,
805
+ 814
806
+ ],
807
+ "page_idx": 6
808
+ },
809
+ {
810
+ "type": "text",
811
+ "text": "4.2 ABLATIVE ANALYSIS ",
812
+ "text_level": 1,
813
+ "bbox": [
814
+ 176,
815
+ 832,
816
+ 359,
817
+ 845
818
+ ],
819
+ "page_idx": 6
820
+ },
821
+ {
822
+ "type": "text",
823
+ "text": "In this section, we analyze the key architecture components that define our model. ",
824
+ "bbox": [
825
+ 174,
826
+ 857,
827
+ 709,
828
+ 872
829
+ ],
830
+ "page_idx": 6
831
+ },
832
+ {
833
+ "type": "text",
834
+ "text": "Choice functions. Constructing differentiable decision trees requires a function that selects items from a set. Such function is required for both splitting feature selection and decision tree routing. We experimented with four possible options, each having different implications: ",
835
+ "bbox": [
836
+ 174,
837
+ 878,
838
+ 821,
839
+ 921
840
+ ],
841
+ "page_idx": 6
842
+ },
843
+ {
844
+ "type": "table",
845
+ "img_path": "images/82057d76b71466b18511a12bfa7a2a9265863a8a3e31903431a94f260bd849a2.jpg",
846
+ "table_caption": [],
847
+ "table_footnote": [],
848
+ "table_body": "<table><tr><td rowspan=\"2\">Dataset Function</td><td colspan=\"4\">YearPrediction</td><td colspan=\"4\">Epsilon</td></tr><tr><td>softmax</td><td>Gumbel</td><td>sparsemax</td><td>entmax</td><td>softmax</td><td>Gumbel</td><td>sparsemax</td><td>entmax</td></tr><tr><td>1 layer</td><td>78.41</td><td>79.39</td><td>78.13</td><td>77.43</td><td>0.1045</td><td>0.1979</td><td>0.1083</td><td>0.1043</td></tr><tr><td>2 layers</td><td>77.61</td><td>79.31</td><td>76.81</td><td>77.05</td><td>0.1041</td><td>0.2884</td><td>0.1052</td><td>0.1031</td></tr><tr><td>4 layers</td><td>77.58</td><td>79.69</td><td>76.60</td><td>76.21</td><td>0.1034</td><td>0.2908</td><td>0.1058</td><td>0.1033</td></tr><tr><td>8 layers</td><td>77.47</td><td>80.49</td><td>76.31</td><td>76.17</td><td>0.1036</td><td>0.3081</td><td>0.1058</td><td>0.1036</td></tr></table>",
849
+ "bbox": [
850
+ 176,
851
+ 101,
852
+ 820,
853
+ 184
854
+ ],
855
+ "page_idx": 7
856
+ },
857
+ {
858
+ "type": "text",
859
+ "text": "Table 3: The experimental comparison of various choice functions and architecture depths. The values represent mean squared error for YearPrediction and classification error rate for Epsilon. ",
860
+ "bbox": [
861
+ 174,
862
+ 185,
863
+ 821,
864
+ 213
865
+ ],
866
+ "page_idx": 7
867
+ },
868
+ {
869
+ "type": "image",
870
+ "img_path": "images/95a7f08422ead456e42a50f6e2277283ffbea43872d472162268379ca8c0ca2d.jpg",
871
+ "image_caption": [
872
+ "Figure 3: NODE on UCI Higgs dataset: Left-Top: individual feature importance distributions for both original and learned features. Left-Bottom: mean absolute contribution of individual trees to the final response. Right: responses dependence on feature importances. See details in the text. "
873
+ ],
874
+ "image_footnote": [],
875
+ "bbox": [
876
+ 181,
877
+ 217,
878
+ 820,
879
+ 315
880
+ ],
881
+ "page_idx": 7
882
+ },
883
+ {
884
+ "type": "text",
885
+ "text": "• Softmax learns dense decision rules where all items have nonzero weights; \n• Gumbel-Softmax (Jang et al., 2016) learns to stochastically sample a single element from a set; \n• Sparsemax (Martins $\\pmb { \\& }$ Astudillo, 2016) learns sparse decision rules, where only a few items have nonzero weights; \n• Entmax (Peters et al., 2019) generalizes both sparsemax and softmax; it is able to learn sparse decision rules, but is smoother than sparsemax, being more appropriate for gradient-based optimization. In comparison $\\alpha$ parameter was set to 1.5. ",
886
+ "bbox": [
887
+ 173,
888
+ 402,
889
+ 825,
890
+ 508
891
+ ],
892
+ "page_idx": 7
893
+ },
894
+ {
895
+ "type": "text",
896
+ "text": "We experimentally compare the four options above with both shallow and deep architectures in Table 3. We use the same choice function for both feature selection and tree routing across all experiments. In Gumbel-Softmax, we replaced it with hard argmax one-hot during inference. The results clearly show that Entmax with $\\alpha { = } 1 . 5$ outperforms the competitors across all experiments. First, Table 3 demonstrates that sparsemax and softmax are not universal choice functions. For instance, on the YearPrediction dataset, sparsemax outperforms softmax, while on the Epsilon dataset softmax is superior. In turn, entmax provides great empirical performance across all datasets. Another observation is that Gumbel-Softmax is unable to learn deep architectures with both constant and annealed temperature schedules. This behavior is probably caused by the stochasticity of Gumbel-Softmax and the responses on the former layers are too noisy to produce useful features for the latter layers. ",
897
+ "bbox": [
898
+ 173,
899
+ 520,
900
+ 825,
901
+ 660
902
+ ],
903
+ "page_idx": 7
904
+ },
905
+ {
906
+ "type": "text",
907
+ "text": "Feature importance. In this series of experiments, we analyze the internal representations, learned by the NODE architecture. We begin by estimating the feature importances from different layers of a multi-layer ensemble via permutation feature importance, initially introduced in (Breiman, 2001). Namely, for 10.000 objects from the Higgs dataset we randomly shuffle the values of each feature (original or learnt on some NODE layer) and compute the increase in the classification error. Then for each layer, we split feature importance values into seven equal bins and calculate the total feature importance of each bin, shown on Figure 3 (left-top). We discovered that the features from the first layer are used the most, with feature importances decreasing with depth. This figure shows that deep layers are able to produce important features, even though earlier layers have an advantage because of the DenseNet architecture. Next, we estimated the mean absolute contribution of individual trees to the final response, reported on Figure 3 (left-bottom). One can see the reverse trend, deep trees tend to contribute more to the final response. Figure 3 (right) clearly shows that there is anticorrelation of feature importances and contributions in the final response, which implies that the main role of ealier layers is to produce informative features, while the latter layers mostly use them for accurate prediction. ",
908
+ "bbox": [
909
+ 173,
910
+ 666,
911
+ 825,
912
+ 875
913
+ ],
914
+ "page_idx": 7
915
+ },
916
+ {
917
+ "type": "text",
918
+ "text": "Training/Inference runtime. Finally, we compare the NODE runtime to the timings of the stateof-the-art GBDT implementations. In Table 4 we report the training and inference time for million of objects from the YearPrediction dataset. In this experiment, we evaluate ensembles of 1024 trees of depth six with all other parameters set to their default values. Our GPU setup has a single 1080Ti GPU and 2 CPU cores. In turn, our CPU setup has a 28-core Xeon E5-2660 v4 processor (which costs almost twice as much as the GPU). We use CatBoost v0.15 and XGBoost v0.90 as baselines, while NODE inference runs on PyTorch v1.1.0. Overall, NODE inference time is on par with heavily optimized GBDT libraries despite being implemented in pure PyTorch (i.e. no custom kernels). ",
919
+ "bbox": [
920
+ 176,
921
+ 882,
922
+ 823,
923
+ 924
924
+ ],
925
+ "page_idx": 7
926
+ },
927
+ {
928
+ "type": "text",
929
+ "text": "",
930
+ "bbox": [
931
+ 174,
932
+ 103,
933
+ 825,
934
+ 174
935
+ ],
936
+ "page_idx": 8
937
+ },
938
+ {
939
+ "type": "table",
940
+ "img_path": "images/28e1fb924c6270491ec84d6ef84effeb53c6b0e44989deb360a5b6bd6388e20d.jpg",
941
+ "table_caption": [],
942
+ "table_footnote": [],
943
+ "table_body": "<table><tr><td>Method</td><td>NODE 8 layers 1080Ti</td><td>XGBoost Xeon</td><td>XGBoost 1080Ti</td><td>CatBoost Xeon</td></tr><tr><td>Training</td><td>7min 42s</td><td>5min 39s</td><td>1min 13s</td><td>41s</td></tr><tr><td>Inference</td><td>8.56s</td><td>5.94s</td><td>4.45s</td><td>4.62s</td></tr></table>",
944
+ "bbox": [
945
+ 181,
946
+ 184,
947
+ 812,
948
+ 231
949
+ ],
950
+ "page_idx": 8
951
+ },
952
+ {
953
+ "type": "text",
954
+ "text": "Table 4: Training and inference runtime for models with 1024 trees of depth six on the YearPrediction dataset, averaged over five runs. Both training and inference of eight-layer NODE architecture on GPU are on par with shallow counterparts of the same total number of trees in an ensemble. ",
955
+ "bbox": [
956
+ 174,
957
+ 239,
958
+ 823,
959
+ 284
960
+ ],
961
+ "page_idx": 8
962
+ },
963
+ {
964
+ "type": "text",
965
+ "text": "5 CONCLUSION ",
966
+ "text_level": 1,
967
+ "bbox": [
968
+ 174,
969
+ 309,
970
+ 318,
971
+ 325
972
+ ],
973
+ "page_idx": 8
974
+ },
975
+ {
976
+ "type": "text",
977
+ "text": "In this paper, we introduce a new DNN architecture for deep learning on heterogeneous tabular data. The architecture is differentiable deep GBDTs, trained end-to-end via backpropagation. In extensive experiments, we demonstrate the advantages of our architecture over existing competitors with the default and tuned hyperparameters. A promising research direction is incorporating the NODE layer into complex pipelines trained via back-propagation. For instance, in multi-modal problems, the NODE layer could be employed as a way to incorporate the tabular data, as CNNs are currently used for images, or RNNs are used for sequences. ",
978
+ "bbox": [
979
+ 174,
980
+ 340,
981
+ 825,
982
+ 439
983
+ ],
984
+ "page_idx": 8
985
+ },
986
+ {
987
+ "type": "text",
988
+ "text": "REFERENCES ",
989
+ "text_level": 1,
990
+ "bbox": [
991
+ 176,
992
+ 459,
993
+ 285,
994
+ 474
995
+ ],
996
+ "page_idx": 8
997
+ },
998
+ {
999
+ "type": "text",
1000
+ "text": "Andreea Anghel, Nikolaos Papandreou, Thomas Parnell, Alessandro de Palma, and Haralampos Pozidis. Benchmarking and optimization of gradient boosting decision tree algorithms. ",
1001
+ "bbox": [
1002
+ 178,
1003
+ 482,
1004
+ 821,
1005
+ 511
1006
+ ],
1007
+ "page_idx": 8
1008
+ },
1009
+ {
1010
+ "type": "text",
1011
+ "text": "Inigo Barandiaran. The random subspace method for constructing decision forests. ˜ IEEE transactions on pattern analysis and machine intelligence, 1998. ",
1012
+ "bbox": [
1013
+ 176,
1014
+ 518,
1015
+ 818,
1016
+ 549
1017
+ ],
1018
+ "page_idx": 8
1019
+ },
1020
+ {
1021
+ "type": "text",
1022
+ "text": "Leo Breiman. Random forests. Machine Learning, 45(1):5–32, 2001. doi: 10.1023/A: 1010933404324. URL https://doi.org/10.1023/A:1010933404324. ",
1023
+ "bbox": [
1024
+ 176,
1025
+ 556,
1026
+ 820,
1027
+ 585
1028
+ ],
1029
+ "page_idx": 8
1030
+ },
1031
+ {
1032
+ "type": "text",
1033
+ "text": "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, pp. 785–794, 2016. ",
1034
+ "bbox": [
1035
+ 174,
1036
+ 593,
1037
+ 823,
1038
+ 636
1039
+ ],
1040
+ "page_idx": 8
1041
+ },
1042
+ {
1043
+ "type": "text",
1044
+ "text": "Ji Feng, Yang Yu, and Zhi-Hua Zhou. Multi-layered gradient boosting decision trees. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS, 2018. ",
1045
+ "bbox": [
1046
+ 173,
1047
+ 643,
1048
+ 823,
1049
+ 688
1050
+ ],
1051
+ "page_idx": 8
1052
+ },
1053
+ {
1054
+ "type": "text",
1055
+ "text": "Jerome H Friedman. Greedy function approximation: a gradient boosting machine. Annals of statistics, pp. 1189–1232, 2001. ",
1056
+ "bbox": [
1057
+ 173,
1058
+ 695,
1059
+ 825,
1060
+ 724
1061
+ ],
1062
+ "page_idx": 8
1063
+ },
1064
+ {
1065
+ "type": "text",
1066
+ "text": "Ian Goodfellow, Yoshua Bengio, and Aaron Courville. Deep learning. MIT press, 2016. ",
1067
+ "bbox": [
1068
+ 173,
1069
+ 732,
1070
+ 754,
1071
+ 748
1072
+ ],
1073
+ "page_idx": 8
1074
+ },
1075
+ {
1076
+ "type": "text",
1077
+ "text": "Vasyl Harasymiv. Lessons from 2 million machine learning models on kaggle, 2015. ",
1078
+ "bbox": [
1079
+ 176,
1080
+ 756,
1081
+ 730,
1082
+ 771
1083
+ ],
1084
+ "page_idx": 8
1085
+ },
1086
+ {
1087
+ "type": "text",
1088
+ "text": "Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, 2017. ",
1089
+ "bbox": [
1090
+ 176,
1091
+ 779,
1092
+ 823,
1093
+ 821
1094
+ ],
1095
+ "page_idx": 8
1096
+ },
1097
+ {
1098
+ "type": "text",
1099
+ "text": "Pavel Izmailov, Dmitrii Podoprikhin, Timur Garipov, Dmitry Vetrov, and Andrew Gordon Wilson. Averaging weights leads to wider optima and better generalization. arXiv preprint arXiv:1803.05407, 2018. ",
1100
+ "bbox": [
1101
+ 173,
1102
+ 830,
1103
+ 823,
1104
+ 872
1105
+ ],
1106
+ "page_idx": 8
1107
+ },
1108
+ {
1109
+ "type": "text",
1110
+ "text": "Eric Jang, Shixiang Gu, and Ben Poole. Categorical reparameterization with gumbel-softmax. CoRR, abs/1611.01144, 2016. URL http://dblp.uni-trier.de/db/journals/ corr/corr1611.html#JangGP16. ",
1111
+ "bbox": [
1112
+ 174,
1113
+ 881,
1114
+ 823,
1115
+ 924
1116
+ ],
1117
+ "page_idx": 8
1118
+ },
1119
+ {
1120
+ "type": "text",
1121
+ "text": "Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and TieYan Liu. Lightgbm: A highly efficient gradient boosting decision tree. In Advances in Neural Information Processing Systems, pp. 3146–3154, 2017. ",
1122
+ "bbox": [
1123
+ 178,
1124
+ 103,
1125
+ 821,
1126
+ 146
1127
+ ],
1128
+ "page_idx": 9
1129
+ },
1130
+ {
1131
+ "type": "text",
1132
+ "text": "Guolin Ke, Jia Zhang, Zhenhui Xu, Jiang Bian, and Tie-Yan Liu. Tabnn: A universal neural network solution for tabular data. 2018. ",
1133
+ "bbox": [
1134
+ 173,
1135
+ 154,
1136
+ 823,
1137
+ 181
1138
+ ],
1139
+ "page_idx": 9
1140
+ },
1141
+ {
1142
+ "type": "text",
1143
+ "text": "Ron Kohavi. Bottom-up induction of oblivious read-once decision graphs: strengths and limitations. In AAAI, 1994. ",
1144
+ "bbox": [
1145
+ 176,
1146
+ 189,
1147
+ 821,
1148
+ 218
1149
+ ],
1150
+ "page_idx": 9
1151
+ },
1152
+ {
1153
+ "type": "text",
1154
+ "text": "Peter Kontschieder, Madalina Fiterau, Antonio Criminisi, and Samuel Rota Bulo. Deep neural decision forests. In Proceedings of the IEEE international conference on computer vision, 2015. ",
1155
+ "bbox": [
1156
+ 174,
1157
+ 224,
1158
+ 823,
1159
+ 253
1160
+ ],
1161
+ "page_idx": 9
1162
+ },
1163
+ {
1164
+ "type": "text",
1165
+ "text": "Nathan Lay, Adam P Harrison, Sharon Schreiber, Gitesh Dawer, and Adrian Barbu. Random hinge forest for differentiable learning. arXiv preprint arXiv:1802.03882, 2018. ",
1166
+ "bbox": [
1167
+ 174,
1168
+ 261,
1169
+ 823,
1170
+ 290
1171
+ ],
1172
+ "page_idx": 9
1173
+ },
1174
+ {
1175
+ "type": "text",
1176
+ "text": "Tianyi Lin, Zhiyue Hu, and Xin Guo. Sparsemax and relaxed wasserstein for topic sparsity. In Proceedings of the Twelfth ACM International Conference on Web Search and Data Mining, 2019. ",
1177
+ "bbox": [
1178
+ 176,
1179
+ 296,
1180
+ 823,
1181
+ 325
1182
+ ],
1183
+ "page_idx": 9
1184
+ },
1185
+ {
1186
+ "type": "text",
1187
+ "text": "Yin Lou and Mikhail Obukhov. Bdt: Gradient boosted decision tables for high accuracy and scoring efficiency. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2017. ",
1188
+ "bbox": [
1189
+ 176,
1190
+ 332,
1191
+ 823,
1192
+ 376
1193
+ ],
1194
+ "page_idx": 9
1195
+ },
1196
+ {
1197
+ "type": "text",
1198
+ "text": "Jerry Ma and Denis Yarats. Quasi-hyperbolic momentum and adam for deep learning. arXiv preprint arXiv:1810.06801, 2018. ",
1199
+ "bbox": [
1200
+ 173,
1201
+ 382,
1202
+ 821,
1203
+ 411
1204
+ ],
1205
+ "page_idx": 9
1206
+ },
1207
+ {
1208
+ "type": "text",
1209
+ "text": "Andre Martins and Ramon Astudillo. From softmax to sparsemax: A sparse model of attention and multi-label classification. In International Conference on Machine Learning, 2016. ",
1210
+ "bbox": [
1211
+ 171,
1212
+ 417,
1213
+ 823,
1214
+ 448
1215
+ ],
1216
+ "page_idx": 9
1217
+ },
1218
+ {
1219
+ "type": "text",
1220
+ "text": "Kevin Miller, Chris Hettinger, Jeffrey Humpherys, Tyler Jarvis, and David Kartchner. Forward thinking: building deep random forests. arXiv preprint arXiv:1705.07366, 2017. ",
1221
+ "bbox": [
1222
+ 173,
1223
+ 454,
1224
+ 823,
1225
+ 483
1226
+ ],
1227
+ "page_idx": 9
1228
+ },
1229
+ {
1230
+ "type": "text",
1231
+ "text": "Dmytro Mishkin and Jiri Matas. All you need is a good init. In 4th International Conference on Learning Representations, ICLR 2016, San Juan, Puerto Rico, May 2-4, 2016, Conference Track Proceedings, 2016. ",
1232
+ "bbox": [
1233
+ 176,
1234
+ 489,
1235
+ 823,
1236
+ 534
1237
+ ],
1238
+ "page_idx": 9
1239
+ },
1240
+ {
1241
+ "type": "text",
1242
+ "text": "Vinod Nair and Geoffrey E Hinton. Rectified linear units improve restricted boltzmann machines. In Proceedings of the 27th international conference on machine learning (ICML-10), 2010. ",
1243
+ "bbox": [
1244
+ 173,
1245
+ 540,
1246
+ 823,
1247
+ 569
1248
+ ],
1249
+ "page_idx": 9
1250
+ },
1251
+ {
1252
+ "type": "text",
1253
+ "text": "Vlad Niculae and Mathieu Blondel. A regularized framework for sparse and structured neural attention. In Advances in Neural Information Processing Systems, 2017. ",
1254
+ "bbox": [
1255
+ 176,
1256
+ 575,
1257
+ 820,
1258
+ 604
1259
+ ],
1260
+ "page_idx": 9
1261
+ },
1262
+ {
1263
+ "type": "text",
1264
+ "text": "Vlad Niculae, Andre FT Martins, Mathieu Blondel, and Claire Cardie. Sparsemap: Differentiable ´ sparse structured inference. arXiv preprint arXiv:1802.04223, 2018. ",
1265
+ "bbox": [
1266
+ 176,
1267
+ 611,
1268
+ 823,
1269
+ 641
1270
+ ],
1271
+ "page_idx": 9
1272
+ },
1273
+ {
1274
+ "type": "text",
1275
+ "text": "Ben Peters, Vlad Niculae, and Andre F. T. Martins. Sparse sequence-to-sequence models. In ´ ACL, 2019, pp. 1504–1519, 2019. ",
1276
+ "bbox": [
1277
+ 173,
1278
+ 647,
1279
+ 823,
1280
+ 676
1281
+ ],
1282
+ "page_idx": 9
1283
+ },
1284
+ {
1285
+ "type": "text",
1286
+ "text": "Liudmila Prokhorenkova, Gleb Gusev, Aleksandr Vorobev, Anna Veronika Dorogush, and Andrey Gulin. Catboost: unbiased boosting with categorical features. In Advances in Neural Information Processing Systems, pp. 6638–6648, 2018. ",
1287
+ "bbox": [
1288
+ 176,
1289
+ 683,
1290
+ 823,
1291
+ 727
1292
+ ],
1293
+ "page_idx": 9
1294
+ },
1295
+ {
1296
+ "type": "text",
1297
+ "text": "David E Rumelhart, Geoffrey E Hinton, and Ronald J Williams. Learning internal representations by error propagation. Technical report, California Univ San Diego La Jolla Inst for Cognitive Science, 1985. ",
1298
+ "bbox": [
1299
+ 174,
1300
+ 733,
1301
+ 823,
1302
+ 776
1303
+ ],
1304
+ "page_idx": 9
1305
+ },
1306
+ {
1307
+ "type": "text",
1308
+ "text": "Ira Shavitt and Eran Segal. Regularization learning networks: Deep learning for tabular datasets. In Advances in Neural Information Processing Systems, pp. 1379–1389, 2018. ",
1309
+ "bbox": [
1310
+ 173,
1311
+ 784,
1312
+ 821,
1313
+ 813
1314
+ ],
1315
+ "page_idx": 9
1316
+ },
1317
+ {
1318
+ "type": "text",
1319
+ "text": "Ronald J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 8:229–256, 1992. ",
1320
+ "bbox": [
1321
+ 173,
1322
+ 819,
1323
+ 820,
1324
+ 848
1325
+ ],
1326
+ "page_idx": 9
1327
+ },
1328
+ {
1329
+ "type": "text",
1330
+ "text": "Yongxin Yang, Irene Garcia Morillo, and Timothy M Hospedales. Deep neural decision trees. arXiv preprint arXiv:1806.06988, 2018. ",
1331
+ "bbox": [
1332
+ 173,
1333
+ 854,
1334
+ 823,
1335
+ 883
1336
+ ],
1337
+ "page_idx": 9
1338
+ },
1339
+ {
1340
+ "type": "text",
1341
+ "text": "Zhi-Hua Zhou and Ji Feng. Deep forest: Towards an alternative to deep neural networks. In Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, IJCAI, 2017. ",
1342
+ "bbox": [
1343
+ 169,
1344
+ 891,
1345
+ 823,
1346
+ 920
1347
+ ],
1348
+ "page_idx": 9
1349
+ },
1350
+ {
1351
+ "type": "table",
1352
+ "img_path": "images/01dab69b1c567e8fab0b629d4f1103ae25a74974d7f39718611b6173397b041c.jpg",
1353
+ "table_caption": [
1354
+ "Table 5: The datasets used in our experiments. "
1355
+ ],
1356
+ "table_footnote": [],
1357
+ "table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Train</td><td rowspan=1 colspan=1>Test</td><td rowspan=1 colspan=1>Features</td><td rowspan=1 colspan=1>Task</td><td rowspan=1 colspan=1>Metric</td><td rowspan=1 colspan=1>Description</td></tr><tr><td rowspan=1 colspan=1>Epsilon5</td><td rowspan=1 colspan=1>400K</td><td rowspan=1 colspan=1>100K</td><td rowspan=1 colspan=1>2000</td><td rowspan=1 colspan=1>Classification</td><td rowspan=1 colspan=1>Error</td><td rowspan=1 colspan=1>PASCAL Challenge 2008</td></tr><tr><td rowspan=1 colspan=1>YearPrediction6</td><td rowspan=1 colspan=1>463K</td><td rowspan=1 colspan=1>51.6K</td><td rowspan=1 colspan=1>90</td><td rowspan=1 colspan=1>Regression</td><td rowspan=1 colspan=1>MSE</td><td rowspan=1 colspan=1>Million Song Dataset</td></tr><tr><td rowspan=1 colspan=1>Higgs7</td><td rowspan=1 colspan=1>10.5M</td><td rowspan=1 colspan=1>500K</td><td rowspan=1 colspan=1>28</td><td rowspan=1 colspan=1>Classification</td><td rowspan=1 colspan=1>Error</td><td rowspan=1 colspan=1>UCIML Higgs</td></tr><tr><td rowspan=1 colspan=1>Microsoft8</td><td rowspan=1 colspan=1>723K</td><td rowspan=1 colspan=1>241K</td><td rowspan=1 colspan=1>136</td><td rowspan=1 colspan=1>Regression</td><td rowspan=1 colspan=1>MSE</td><td rowspan=1 colspan=1>MSLR-WEB10K</td></tr><tr><td rowspan=1 colspan=1>Yahoo9</td><td rowspan=1 colspan=1>544K</td><td rowspan=1 colspan=1>165K</td><td rowspan=1 colspan=1>699</td><td rowspan=1 colspan=1>Regression</td><td rowspan=1 colspan=1>MSE</td><td rowspan=1 colspan=1>Yahoo LETOR dataset</td></tr><tr><td rowspan=1 colspan=1>Click10</td><td rowspan=1 colspan=1>800K</td><td rowspan=1 colspan=1>200K</td><td rowspan=1 colspan=1>11</td><td rowspan=1 colspan=1>Classification</td><td rowspan=1 colspan=1>Error</td><td rowspan=1 colspan=1>2012 KDD Cup</td></tr></table>",
1358
+ "bbox": [
1359
+ 173,
1360
+ 101,
1361
+ 856,
1362
+ 223
1363
+ ],
1364
+ "page_idx": 10
1365
+ },
1366
+ {
1367
+ "type": "text",
1368
+ "text": "A APPENDIX ",
1369
+ "text_level": 1,
1370
+ "bbox": [
1371
+ 176,
1372
+ 276,
1373
+ 299,
1374
+ 292
1375
+ ],
1376
+ "page_idx": 10
1377
+ },
1378
+ {
1379
+ "type": "text",
1380
+ "text": "A.1 DESCRIPTION OF THE DATASETS ",
1381
+ "text_level": 1,
1382
+ "bbox": [
1383
+ 176,
1384
+ 310,
1385
+ 441,
1386
+ 324
1387
+ ],
1388
+ "page_idx": 10
1389
+ },
1390
+ {
1391
+ "type": "text",
1392
+ "text": "In our experiments, we used six tabular datasets, described in Table 5. (1) Epsilon is high dimensional dataset from the PASCAL Large Scale Learning Challenge 2008. The problem is a binary classification. (2) YearPrediction is a subset of Million Song Dataset. It is regression dataset, and the task is to predict the release year of the song by using the audio features. It contains tracks from 1922 to 2011. (3) Higgs is a dataset from the UCI ML Repository. The problem is to predict whether the given event produces Higgs bosons or not. (4) Microsoft is a Learning to Rank Dataset. It consists of 136-dimensional feature vectors extracted from query-url pairs. Each pair has relevance judgment labels, which take values from 0 (irrelevant) to 4 (perfectly relevant) (5) Yahoo is very similar ranking dataset with query-url pairs labeled from 0 to 4. We treat both ranking problems as regression (which corresponds to the pointwise approach to learning-to-rank) (6) Click is a subset of data from the 2012 KDD Cup. For the subset construction, we randomly sample 500.000 objects of a positive class and 500.000 objects of a negative class. The categorical features were converted to numerical ones via Leave-One-Out encoder from category encoders package of the scikit-learn library. ",
1393
+ "bbox": [
1394
+ 174,
1395
+ 338,
1396
+ 825,
1397
+ 532
1398
+ ],
1399
+ "page_idx": 10
1400
+ },
1401
+ {
1402
+ "type": "text",
1403
+ "text": "A.2 OPTIMIZATION OF HYPERPARAMETERS ",
1404
+ "text_level": 1,
1405
+ "bbox": [
1406
+ 176,
1407
+ 554,
1408
+ 488,
1409
+ 568
1410
+ ],
1411
+ "page_idx": 10
1412
+ },
1413
+ {
1414
+ "type": "text",
1415
+ "text": "In order to tune the hyperparameters, we performed a random stratified split of full training data into train set $( 8 0 \\% )$ and validation set $( 2 0 \\% )$ for the Epsilon, YearPrediction, Higgs, Microsoft, and Click datasets. For Yahoo, we use train/val/test split provided by the dataset authors. We use the Hyperopt4 library to optimize Catboost, XGBoost, and FCNN hyperparameters. For each method, we perform 50 steps of Tree-structured Parzen Estimator (TPE) optimization algorithm. As a final configuration, we choose the set of hyperparameters, corresponding to the smallest loss on the validation set. ",
1416
+ "bbox": [
1417
+ 174,
1418
+ 582,
1419
+ 825,
1420
+ 665
1421
+ ],
1422
+ "page_idx": 10
1423
+ },
1424
+ {
1425
+ "type": "text",
1426
+ "text": "A.2.1 CATBOOST AND XGBOOST ",
1427
+ "text_level": 1,
1428
+ "bbox": [
1429
+ 176,
1430
+ 684,
1431
+ 419,
1432
+ 699
1433
+ ],
1434
+ "page_idx": 10
1435
+ },
1436
+ {
1437
+ "type": "text",
1438
+ "text": "On each iteration of Hyperopt, the number of trees was set based on the validation set, with maximal trees count set to 2048. Below is the list of hyperparameters and their search spaces for Catboost. ",
1439
+ "bbox": [
1440
+ 174,
1441
+ 710,
1442
+ 825,
1443
+ 739
1444
+ ],
1445
+ "page_idx": 10
1446
+ },
1447
+ {
1448
+ "type": "text",
1449
+ "text": "• learning rate: Log-Uniform distribution $[ e ^ { - 5 } , 1 ]$ • random strength: Discrete uniform distribution [1, 20] • one hot max size: Discrete uniform distribution [0, 25] • l2 leaf reg: Log-Uniform distribution [1, 10] • bagging temperature: Uniform distribution [0, 1] • leaf estimation iterations: Discrete uniform distribution [1, 10] ",
1450
+ "bbox": [
1451
+ 215,
1452
+ 753,
1453
+ 647,
1454
+ 885
1455
+ ],
1456
+ "page_idx": 10
1457
+ },
1458
+ {
1459
+ "type": "text",
1460
+ "text": "XGBoost tuned parameters and their search spaces: ",
1461
+ "bbox": [
1462
+ 176,
1463
+ 103,
1464
+ 511,
1465
+ 118
1466
+ ],
1467
+ "page_idx": 11
1468
+ },
1469
+ {
1470
+ "type": "text",
1471
+ "text": "• eta: Log-Uniform distribution $[ e ^ { - 7 } , 1 ]$ \n• max depth: Discrete uniform distribution [2, 10] \n• subsample: Uniform distribution [0.5, 1] \n• colsample bytree: Uniform distribution [0.5, 1] \n• colsample bylevel: Uniform distribution [0.5, 1] \n• min child weight: Log-Uniform distribution $[ e ^ { - 1 6 } , e ^ { 5 } ]$ \n• alpha: Uniform choice $\\{ 0 \\}$ , Log-Uniform distribution $[ e ^ { - 1 6 } , e ^ { 2 } ] \\}$ \n• lambda: Uniform choice $\\{ 0 \\}$ , Log-Uniform distribution $[ e ^ { - 1 6 } , e ^ { 2 } ] \\}$ \n• gamma: Uniform choice $\\{ 0$ , Log-Uniform distribution $[ e ^ { - 1 6 } , e ^ { 2 } ] \\}$ ",
1472
+ "bbox": [
1473
+ 215,
1474
+ 128,
1475
+ 666,
1476
+ 276
1477
+ ],
1478
+ "page_idx": 11
1479
+ },
1480
+ {
1481
+ "type": "text",
1482
+ "text": "A.2.2 FCNN ",
1483
+ "text_level": 1,
1484
+ "bbox": [
1485
+ 176,
1486
+ 290,
1487
+ 281,
1488
+ 305
1489
+ ],
1490
+ "page_idx": 11
1491
+ },
1492
+ {
1493
+ "type": "text",
1494
+ "text": "Fully connected neural networks were tuned using Hyperas 11 library, which is a Keras wrapper for Hyperopt. We consider FCNN constructed from the following blocks: Dense-ReLU-Dropout. The number of units in each layer is independent of each other, and dropout value is the same for the whole network. The networks are trained with the Adam optimizer with averaging the model parameters over $c { = } 5$ consecutive checkpoints (Izmailov et al., 2018) and early stopping on validation. Batch size is fixed to 1024 for all datasets. Below is the list of tuned hyperparameters. ",
1495
+ "bbox": [
1496
+ 173,
1497
+ 314,
1498
+ 825,
1499
+ 398
1500
+ ],
1501
+ "page_idx": 11
1502
+ },
1503
+ {
1504
+ "type": "text",
1505
+ "text": "• Architecture: either Sequential (each layer is receives previous layer activations) or DenseNet (each layer receives activations from all previous layers \n• Number of layers: Discrete uniform distribution [2, 7] \n• Number of units: Dicrete uniform distribution over a set $\\{ 1 2 8 , 2 5 6 , 5 1 2 , 1 0 2 4 \\}$ \n• Learning rate: Uniform distribution $[ 1 e - 4 , 1 e - 2 ]$ \n• Dropout: Uniform distribution [0, 0.5] ",
1506
+ "bbox": [
1507
+ 215,
1508
+ 411,
1509
+ 825,
1510
+ 507
1511
+ ],
1512
+ "page_idx": 11
1513
+ },
1514
+ {
1515
+ "type": "text",
1516
+ "text": "A.2.3 NODE ",
1517
+ "text_level": 1,
1518
+ "bbox": [
1519
+ 176,
1520
+ 520,
1521
+ 282,
1522
+ 535
1523
+ ],
1524
+ "page_idx": 11
1525
+ },
1526
+ {
1527
+ "type": "text",
1528
+ "text": "Neural Oblivious Decision Ensembles were tuned by grid search over the following hyperparameter values. In the multi-layer NODE, we use the same architecture for all layers, i.e., the same number of trees of the same depth. total tree count here denotes the total number of trees on all layers. For each dataset, we use the maximal batch size, which fits in the GPU memory. We always use learning rate $1 0 ^ { - 3 }$ . ",
1529
+ "bbox": [
1530
+ 173,
1531
+ 545,
1532
+ 825,
1533
+ 614
1534
+ ],
1535
+ "page_idx": 11
1536
+ },
1537
+ {
1538
+ "type": "text",
1539
+ "text": "• num layers: {2, 4, 8} • total tree count: {1024, 2048} • tree depth: $\\{ 6 , 8 \\}$ • tree output dim: $\\{ 2 , 3 \\}$ ",
1540
+ "bbox": [
1541
+ 215,
1542
+ 627,
1543
+ 436,
1544
+ 693
1545
+ ],
1546
+ "page_idx": 11
1547
+ }
1548
+ ]
parse/train/r1eiu2VtwH/r1eiu2VtwH_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/r1eiu2VtwH/r1eiu2VtwH_model.json ADDED
The diff for this file is too large to render. See raw diff