Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/-bdp_8Itjwp/-bdp_8Itjwp.md +549 -0
- parse/train/-bdp_8Itjwp/-bdp_8Itjwp_content_list.json +0 -0
- parse/train/-bdp_8Itjwp/-bdp_8Itjwp_middle.json +0 -0
- parse/train/-bdp_8Itjwp/-bdp_8Itjwp_model.json +0 -0
- parse/train/HJz05o0qK7/HJz05o0qK7.md +404 -0
- parse/train/HJz05o0qK7/HJz05o0qK7_content_list.json +2074 -0
- parse/train/HJz05o0qK7/HJz05o0qK7_middle.json +0 -0
- parse/train/HJz05o0qK7/HJz05o0qK7_model.json +0 -0
- parse/train/HyUmbjsiz/HyUmbjsiz.md +185 -0
- parse/train/HyUmbjsiz/HyUmbjsiz_content_list.json +911 -0
- parse/train/HyUmbjsiz/HyUmbjsiz_middle.json +0 -0
- parse/train/HyUmbjsiz/HyUmbjsiz_model.json +0 -0
- parse/train/XN1M27T6uux/XN1M27T6uux.md +282 -0
- parse/train/XN1M27T6uux/XN1M27T6uux_content_list.json +1315 -0
- parse/train/XN1M27T6uux/XN1M27T6uux_middle.json +0 -0
- parse/train/XN1M27T6uux/XN1M27T6uux_model.json +0 -0
- parse/train/rygqqsA9KX/rygqqsA9KX.md +0 -0
- parse/train/rygqqsA9KX/rygqqsA9KX_content_list.json +0 -0
- parse/train/rygqqsA9KX/rygqqsA9KX_middle.json +0 -0
- parse/train/rygqqsA9KX/rygqqsA9KX_model.json +0 -0
parse/train/-bdp_8Itjwp/-bdp_8Itjwp.md
ADDED
|
@@ -0,0 +1,549 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
| 1 |
+
# SELF-SUPERVISED LEARNING FROM A MULTI-VIEW PERSPECTIVE
|
| 2 |
+
|
| 3 |
+
Yao-Hung Hubert Tsai, Yue Wu, Ruslan Salakhutdinov, Louis-Philippe Morency Machine Learning Department, Carnegie Mellon University
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
As a subset of unsupervised representation learning, self-supervised representation learning adopts self-defined signals as supervision and uses the learned representation for downstream tasks, such as object detection and image captioning. Many proposed approaches for self-supervised learning follow naturally a multi-view perspective, where the input (e.g., original images) and the self-supervised signals (e.g., augmented images) can be seen as two redundant views of the data. Building from this multi-view perspective, this paper provides an information-theoretical framework to better understand the properties that encourage successful self-supervised learning. Specifically, we demonstrate that self-supervised learned representations can extract task-relevant information and discard task-irrelevant information. Our theoretical framework paves the way to a larger space of self-supervised learning objective design. In particular, we propose a composite objective that bridges the gap between prior contrastive and predictive learning objectives, and introduce an additional objective term to discard task-irrelevant information. To verify our analysis, we conduct controlled experiments to evaluate the impact of the composite objectives. We also explore our framework’s empirical generalization beyond the multi-view perspective, where the cross-view redundancy may not be clearly observed.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Self-supervised learning (SSL) (Zhang et al., 2016; Devlin et al., 2018; Oord et al., 2018; Tian et al., 2019) learns representations using a proxy objective (i.e., SSL objective) between inputs and self-defined signals. Empirical evidence suggests that the learned representations can generalize well to a wide range of downstream tasks, even when the SSL objective has not utilize any downstream supervision during training. For example, SimCLR (Chen et al., 2020) defines a contrastive loss (i.e., an SSL objective) between images with different augmentations (i.e., one as the input and the other as the self-supervised signal). Then, one can take SimCLR as features extractor and adopt the features to various computer vision applications, spanning image classification, object detection, instance segmentation, and pose estimation (He et al., 2019). Despite success in practice, only a few work (Arora et al., 2019; Lee et al., 2020; Tosh et al., 2020) provide theoretical insights into the learning efficacy of SSL. Our work shares a similar goal to explain the success of SSL, from the perspectives of Information Theory (Cover & Thomas, 2012) and multi-view representation1.
|
| 12 |
+
|
| 13 |
+
To understand (a subset2 of) SSL, we start by the following multi-view assumption. First, we regard the input and the self-supervised signals as two corresponding views of the data. Using our running example, in SimCLR (Chen et al., 2020), the augmented images (i.e., the input and the self-supervised signal) are an image with different views. Second, we adopt a common assumption in multi-view learning: either view alone is (approximately) sufficient for the downstream tasks (see Assumption 1 in prior work (Sridharan & Kakade, 2008)). The assumption suggests that the image augmentations (e.g., changing the style of an image) should not affect the labels of images, or analogously, the selfsupervised signal contains most (if not all) of the information that the input has about the downstream tasks. With this assumption, our first contribution is to formally show that the self-supervised learned representations can 1) extract all the task-relevant information (from the input) with a potential loss; and 2) discard all the task-irrelevant information (from the input) with a fixed gap. Then, using classification task as an example, we are able the quantify the smallest generalization error (Bayes error rate) given the discussed task-relevant and task-irrelevant information.
|
| 14 |
+
|
| 15 |
+

|
| 16 |
+
Figure 1: High-level takeaways for our main results using information diagrams. (a) We present to learn minimal and sufficient self-supervision: minimize $H ( Z _ { X } | \dot { S } )$ for discarding task-irrelevant information and maximize $I ( Z _ { X } ; S )$ for extracting task-relevant information. (b) The resulting learned representation $Z _ { X } { ^ * }$ contains all task relevant information from the input with a potential loss $\epsilon _ { \mathrm { i n f o } }$ and discards task-irrelevant information with a fixed gap $I ( X ; S | T )$ . (c) Our core assumption: the self-supervised signal is approximately redundant to the input for the task-relevant information.
|
| 17 |
+
|
| 18 |
+
As the second contribution, our analysis 1) connects prior arts for SSL on contrastive (Oord et al., 2018; Bachman et al., 2019; Chen et al., 2020; Tian et al., 2019) and predictive learning (Zhang et al., 2016; Vondrick et al., 2016; Tulyakov et al., 2018; Devlin et al., 2018) approaches; and 2) paves the way to a larger space of composing SSL objectives to extract task-relevant and discard task-irrelevant information simultaneously. For instance, the combination between the contrastive and predictive learning approaches achieves better performance than contrastive- or predictive-alone objective and enjoys less over-fitting problem. We also present a new objective to discard task-irrelevant information. The objective can be easily incorporated with prior self-supervised learning objectives.
|
| 19 |
+
|
| 20 |
+
We conduct controlled experiments on visual (the first set) and visual-textual (the second set) selfsupervised representation learning. The first set of experiments are performed when the multi-view assumption is likely to hold. The goal is to compare different compositions of SSL objectives on extracting task-relevant and discarding task-irrelevant information. The second set of experiments are performed when the input and the self-supervised signal lie in very different modalities. Under this cross-modality setting, the task-relevant information may not mostly lie in the shared information between the input and the self-supervised signal. The goal is to examine SSL objectives’ generalization, where the multi-view assumption is likely to fail.
|
| 21 |
+
|
| 22 |
+
# 2 A MULTI-VIEW INFORMATION-THEORETICAL FRAMEWORK
|
| 23 |
+
|
| 24 |
+
Notations. For the input, we denote its random variable as $X$ , sample space as $\mathcal { X }$ , and outcome as $x$ . We learn a representation $( Z _ { X } / \mathcal { Z } / z _ { x } )$ from the input through a deterministic mapping $F _ { X }$ : $Z _ { X } = F _ { X } ( X )$ . For the self-supervised signal, we denote its random variable/ sample space/ outcome as $S / \ S / \ s$ . Two sample spaces can be different between the input and the self-supervised signal: $\mathcal { X } \neq \mathcal { S }$ . The information required for downstream tasks is referred to as “task-relevant information”: $T / \tau / t$ . Note that SSL has no access to the task-relevant information. Lastly, we use $I ( A ; B )$ to represent mutual information, $I ( A ; B | C )$ to represent conditional mutual information, $H ( A )$ to represent the entropy, and $H ( A | B )$ to represent conditional entropy for random variables $A / B / C$ . We provide high-level takeaways for our main results in Figure 1. We defer all proofs to Supplementary.
|
| 25 |
+
|
| 26 |
+
# 2.1 MULTI-VIEW ASSUMPTION
|
| 27 |
+
|
| 28 |
+
In our paper, we regard the input $( X )$ and the self-supervised signals $( S )$ as two views of the data. Here, we provide a table showing different $X / S$ in various SSL frameworks:
|
| 29 |
+
|
| 30 |
+
<table><tr><td>Framework</td><td>BERT(Devlin et al.,2018)</td><td>Look & Listen (Arandjelovic & Zisserman, 2017)</td><td>SimCLR (Chen et al., 2020)</td><td>Colorization (Zhang et al.,2016)</td></tr><tr><td>Inputs (X)</td><td>Non-masked Words</td><td>Image</td><td>Image</td><td>Image Lightness</td></tr><tr><td>Self-supervised Signals (S)</td><td>Masked Words</td><td>Audio Stream</td><td>Same Image with Augmentation</td><td>Image Color</td></tr></table>
|
| 31 |
+
|
| 32 |
+
We note that not all SSL frameworks realize the inputs and the self-supervised signals as corresponding views. For instance, Jigsaw puzzle (Noroozi & Favaro, 2016) considers (shuffled) image patches as the input and the positions of the patches as the self-supervised signals. Another example is Learning by Predicting Rotations (Gidaris et al., 2018), which considers an image (rotating with a specific angle) as the input and the rotation angle of the image as the self-supervised signal. We point out that the frameworks that regard $X / S$ as two corresponding views (Chen et al.; 2020; He et al., 2019) have a much better empirical downstream performance than the frameworks that do not (Noroozi & Favaro, 2016; Gidaris et al., 2018). Our paper hence focuses on the multi-view setting between $X / S$ .
|
| 33 |
+
|
| 34 |
+
Next, we adopt the common assumption (i.e., multi-view assumption (Sridharan & Kakade, 2008; Xu et al., 2013)) in the multi-view learning between the input and the self-supervised signal:
|
| 35 |
+
|
| 36 |
+
Assumption 1 (Multi-view, restating Assumption 1 in prior work (Sridharan & Kakade, 2008)). The self-supervised signal is approximately redundant to the input for the task-relevant information. In other words, there exist an $\epsilon _ { \mathrm { i n f o } } > 0$ such that $I ( X ; T | S ) \le \epsilon _ { \mathrm { i n f o } }$ .
|
| 37 |
+
|
| 38 |
+
Assumption 1 states that, when $\epsilon _ { \mathrm { i n f o } }$ is small, the task-relevant information lies mostly in the shared information between the input and the self-supervised signals. We argue this assumption is mild with the following example. For self-supervised visual contrastive learning (Hjelm et al., 2018; Chen et al., 2020), the input and the self-supervised signal are the same image with different augmentations. Using image augmentations can be seen as changing the style of an image while not affecting the content. And we argue that the information required for downstream tasks should only be retained in the content but not the style. Next, we point out the failure cases of the assumption (or have large $\epsilon _ { \mathrm { i n f o . } }$ ): the input and the self-supervised signal contain very different task-relevant information. For instance, a drastic image augmentation (e.g., adding large noise) may change the content of the image (e.g., the noise completely occludes the objects). Another example is BERT (Devlin et al., 2018), with too much masking, downstream information may exist differently in the masked (i.e., the self-supervised signals) and the non-masked (i.e., the input) words. Analogously, too much masking makes the non-masked words have insufficient context to predict the masked words.
|
| 39 |
+
|
| 40 |
+
# 2.2 LEARNING MINIMAL AND SUFFICIENT REPRESENTATIONS FOR SELF-SUPERVISION
|
| 41 |
+
|
| 42 |
+
We start by discussing the supervised representation learning. The Information Bottleneck (IB) method (Tishby et al., 2000; Achille & Soatto, 2018) generalizes minimal sufficient statistics to the representations that are minimal (i.e., less complexity) and sufficient (i.e., better fidelity). To learn such representations for downstream supervision, we consider the following objectives:
|
| 43 |
+
|
| 44 |
+
Definition 1 (Minimal and Sufficient Representations for Downstream Supervision). Let sup $Z _ { X } ^ { \mathrm { s u p } }$ be the sufficient supervised representation and $Z _ { X } ^ { \mathrm { s u p } _ { \mathrm { m i n } } }$ X be the minimal and sufficient representation:
|
| 45 |
+
|
| 46 |
+
To reduce the complexity of the representation $Z _ { X }$ , the prior methods (Tishby et al., 2000; Achille & Soatto, 2018) presented to minimize $I ( Z _ { X } ; X )$ while ours presents to minimize $H ( Z _ { X } | T )$ . We provide a justification: minimizing $H ( Z _ { X } | T )$ reduces the randomness from $T$ to $Z _ { X }$ , and the randomness is regarded as a form of incompressibility (Calude, 2013). Hence, minimizing $H ( Z _ { X } | T )$ leads to a more compressed representation (discarding redundant information)3. Note that we do not constrain the downstream task $T$ as classification, regression, or clustering.
|
| 47 |
+
|
| 48 |
+
Then, we present SSL objectives to learn sufficient (and minimal) representations for self-supervision: Definition 2 (Minimal and Sufficient Representations for Self-supervision). Let $Z _ { X } ^ { \mathrm { s s l } }$ be the sufficient self-supervised representation and $Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } }$ be the minimal and sufficient representation:
|
| 49 |
+
|
| 50 |
+
$Z _ { X } ^ { \mathrm { s s l } } = \operatorname * { a r g m a x } _ { Z _ { X } } I ( Z _ { X } ; S )$ and $Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } = \underset { Z _ { X } } { \arg \operatorname* { m i n } } H ( Z _ { X } | S ) \mathrm { s . t . } I ( Z _ { X } ; S )$ is maximized.
|
| 51 |
+
|
| 52 |
+
Definition 2 defines our self-supervised representation learning strategy. Now, we are ready to associate the supervised and self-supervised learned representations:
|
| 53 |
+
|
| 54 |
+
Theorem 1 (Task-relevant information with a potential loss $\epsilon _ { \mathrm { i n f o } }$ ). The supervised learned representations (i.e., $Z _ { X } ^ { \mathrm { s u p } }$ and $Z _ { X } ^ { \mathrm { s u p } _ { \mathrm { m i n } } }$ info) contain all the task-relevant information in the input (i.e., $I ( X ; T ) )$ The self-supervised learned representations (i.e., $Z _ { X } ^ { \mathrm { s s l } }$ and $Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } }$ ) contain all the task-relevant information in the input with a potential loss $\epsilon _ { \mathrm { i n f o } }$ . Formally,
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
I ( X ; T ) = I ( Z _ { X } ^ { \mathrm { s u p } } ; T ) = I ( Z _ { X } ^ { \mathrm { s u p } } { \mathrm { m i n } } ; T ) \geq I ( Z _ { X } ^ { \mathrm { s s l } } ; T ) \geq I ( Z _ { X } ^ { \mathrm { s s l } } { \mathrm { m i n } } ; T ) \geq I ( X ; T ) - \epsilon _ { \mathrm { i n f o } } .
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
Figure 2: Remarks on contrastive and predictive learning objectives for self-supervised learning. Between the representation $Z _ { X }$ and the self-supervised signal $S$ , contrastive objective performs mutual information maximization and predictive objectives perform log conditional likelihood maximization. We show that the SSL objectives aim at extracting task-relevant and discarding task-irrelevant information. Last, we summarize the computational blocks for practical deployments for these objectives.
|
| 62 |
+
|
| 63 |
+
When $\epsilon _ { \mathrm { i n f o } }$ is small, Theorem 1 indicates that the self-supervised learned representations can extract almost as much task-relevant information as the supervised one. While when $\epsilon _ { \mathrm { i n f o } }$ is non-trivial, the learned representations may not always lead to good downstream performance. This result has also been observed in prior work (Tschannen et al., 2019) and InfoMin (Tian et al., 2020), which claim the representations with maximal mutual information may not have the best performance.
|
| 64 |
+
|
| 65 |
+
Theorem 2 (Task-irrelevant information with a fixed compression gap $I ( X ; S | T ) )$ . The sufficient self-supervised representation (i.e., $I ( Z _ { X } ^ { \mathrm { s s l } } ; T ) )$ contains more task-irrelevant information in the input than the sufficient and minimal self-supervised representation (i.e., $I ( Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ; T ) )$ . The latter contains an amount of the information, $I ( X ; S | T )$ , that cannot be discarded from the input. Formally,
|
| 66 |
+
|
| 67 |
+
$$
|
| 68 |
+
I ( Z _ { X } ^ { \mathrm { s s l } } ; X | T ) = I ( X ; S | T ) + I ( Z _ { X } ^ { \mathrm { s s l } } ; X | S , T ) \geq I ( Z _ { X } ^ { \mathrm { s s l } _ { \operatorname* { m i n } } } ; X | T ) = I ( X ; S | T ) \geq I ( Z _ { X } ^ { \mathrm { s u p } _ { \operatorname* { m i n } } } ; X | T ) = 0 .
|
| 69 |
+
$$
|
| 70 |
+
|
| 71 |
+
Theorem 2 indicates that a compression gap (i.e., $I ( X ; S | T ) )$ exists when we discard the taskirrelevant information from the input. To be specific, $I ( X ; S | T )$ is the amount of the shared information between the input and the self-supervised signal excluding the task-relevant information. Hence, $I ( X ; S | T )$ would be large if the downstream tasks requires only a portion of the shared information.
|
| 72 |
+
|
| 73 |
+
2.3 CONNECTIONS WITH CONTRASTIVE AND PREDICTIVE LEARNING OBJECTIVES
|
| 74 |
+
|
| 75 |
+
Theorem 1 and 2 state that our self-supervised learning strategies (i.e., min $H ( Z _ { X } | S )$ and max $I ( Z _ { X } ; S )$ defined in Definition 2) can extract task-relevant and discard task-irrelevant information. A question emerges:
|
| 76 |
+
|
| 77 |
+
“What are the practical aspects of the presented self-supervised learning strategies?”
|
| 78 |
+
|
| 79 |
+
To answer this question, we present 1) the connections with prior SSL objectives, especially for contrastive (Oord et al., 2018; Bachman et al., 2019; Chen et al., 2020; Tian et al., 2019; Hjelm et al., 2018; He et al., 2019) and predictive (Zhang et al., 2016; Pathak et al., 2016; Vondrick et al., 2016; Tulyakov et al., 2018; Peters et al., 2018; Devlin et al., 2018) learning objectives, showing that these objectives are extracting task-relevant information; and 2) a new inverse predictive learning objective to discard task-irrelevant information. We illustrate important remarks in Figure 2.
|
| 80 |
+
|
| 81 |
+
Contrastive Learning (is extracting task-relevant information). Contrastive learning objective (Oord et al., 2018) maximizes the dependency/contrastiveness between the learned representation $Z _ { X }$ and the self-supervised signal $S$ , which suggests maximizing the the mutual information $I ( Z _ { X } ; S )$ . Theorem 1 suggests that maximizing $I ( Z _ { X } ; S )$ results in $Z _ { X }$ containing (approximately) all the information required for the downstream tasks from the input $X$ . To deploy the contrastive learning objective, we suggest contrastive predictive coding (CPC) (Oord et al., $2 \dot { 0 } 1 8 )$ , which is a mutual information lower bound with low variance (Poole et al., 2019; Song & Ermon, 2019):
|
| 82 |
+
|
| 83 |
+
$$
|
| 84 |
+
\mathrm { L } _ { C L } : = \operatorname* { m a x } _ { z _ { S } = F _ { S } ( S ) , \atop { z _ { X } = F _ { X } ( X ) , G } } \mathbb { E } _ { ( z _ { s 1 } , z _ { X 1 } ) , \cdots , ( z _ { s n } , z _ { X n } ) \sim P ^ { n } ( Z _ { S } , Z _ { X } ) } \left[ \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \log \frac { e ^ { \langle G ( z _ { x 1 } ) , G ( z _ { s i } ) \rangle } } { \frac { 1 } { n } \sum _ { j = 1 } ^ { n } e ^ { \langle G ( z _ { x i } ) , G ( z _ { s j } ) \rangle } } \right] ,
|
| 85 |
+
$$
|
| 86 |
+
|
| 87 |
+
where $F _ { S } : S \mathcal { Z }$ is a deterministic mapping and $G$ is a project head that projects a representation in $\mathcal { Z }$ into a lower-dimensional vector. If the input and self-supervised signals share the same sample space, i.e., $\mathcal { X } = \mathcal { S }$ , we can impose $F _ { X } = F _ { S }$ (e.g., self-supervised visual representation learning (Chen et al., 2020)). The projection head, $G$ , can be an identity, a linear, or a non-linear mapping. Last, we note that modeling equation 1 often requires a large batch size (e.g., large $n$ in equation 1) to ensure a good downstream performance (He et al., 2019; Chen et al., 2020).
|
| 88 |
+
|
| 89 |
+
Forward Predictive Learning (is extracting task-relevant information). Forward predictive learning encourages the learned representation $Z _ { X }$ to reconstruct the self-supervised signal $S$ , which suggests maximizing the log conditional likelihood $\mathbb { E } _ { P _ { S , Z _ { X } } } [ \log P ( S | Z _ { X } ) ]$ . By the chain rule, $I ( Z _ { X } ; S ) = H ( S ) - H ( S | Z _ { X } )$ , where $H ( S )$ is irrelevant to $Z _ { X }$ . Hence, maximizing $I ( Z _ { X } ; S )$ is equivalent to maximizing $- H ( S | Z _ { X } ) = \mathbb { E } _ { P _ { S , Z _ { X } } } [ \log P ( S | Z _ { X } ) ]$ , which is the predictive learning objective. Together with Theorem 1, if $z _ { x }$ can perfectly reconstruct $s$ for any $( s , z _ { x } ) \sim P _ { S , Z _ { X } }$ , then $Z _ { X }$ contains (approximately) all the information required for the downstream tasks from the input $X$ . A common approach to avoid intractability in computing $\mathbb { E } _ { P _ { S , Z _ { X } } } [ \log P ( S | Z _ { X } ) ]$ is assuming a variational distribution $Q _ { \phi } ( S | Z _ { X } )$ with $\phi$ representing the parameters in $Q _ { \phi } ( \cdot | \cdot )$ . Specifically, we present to maximize $\mathbb { E } _ { P _ { S , Z _ { X } } } [ \log Q _ { \phi } ( S | Z _ { X } ) ]$ , which is a lower bound of $\mathbb { E } _ { P _ { S , Z _ { X } } } [ \log P ( S | Z _ { X } ) ] ^ { 5 }$ . $Q _ { \phi } ( \cdot | \cdot )$ can be any distribution such as Gaussian or Laplacian and $\phi$ can be a linear model, a kernel method, or a neural network. Note that the choice of the reconstruction type of loss depends on the distribution type of $Q _ { \phi } ( \cdot | \cdot )$ , and is not fixed. For instance, if we let $Q _ { \phi } ( S | Z _ { X } )$ be Gaussian $\mathcal { N } \Big ( S | R ( Z _ { X } ) , \sigma \mathbf { I } \Big )$ with $\sigma \mathbf { I }$ as a diagonal matrix6, the objective becomes:
|
| 90 |
+
|
| 91 |
+
$$
|
| 92 |
+
\mathrm { L } _ { F P } : = \operatorname* { m a x } _ { Z _ { X } = F _ { X } ( X ) , R } \mathbb { E } _ { s , z _ { x } \sim P _ { S } , z _ { X } } \Bigg [ - \left\| s - R ( z _ { x } ) \right\| _ { 2 } ^ { 2 } \Bigg ] ,
|
| 93 |
+
$$
|
| 94 |
+
|
| 95 |
+
where $R : \mathcal { Z } \to S$ is a deterministic mapping to reconstruct $S$ from $Z$ and we ignore the constants derived from the Gaussian distribution. Last, in most real-world applications, the self-supervised signal $S$ has a much higher dimension (e.g., a $2 2 4 \times 2 2 4 \times 3$ image) than the representation $Z _ { X }$ (e.g., a 64-dim. vector). Hence, modeling a conditional generative model $Q _ { \phi } ( S | Z _ { X } )$ will be challenging.
|
| 96 |
+
|
| 97 |
+
Inverse Predictive Learning (is discarding task-irrelevant information). Inverse predictive learning encourages the self-supervised signal $S$ to reconstruct the learned representation $Z _ { X }$ , which suggests maximizing the log conditional likelihood $\mathbb { E } _ { P _ { S } , z _ { X } } \left[ \log P ( Z _ { X } | S ) \right]$ . Given Theorem 2 together with $- H ( Z _ { X } | S ) = \mathbb { E } _ { P _ { S , Z _ { X } } } [ \log P ( Z _ { X } | S ) ]$ , we know if $s$ can perfectly reconstruct $z _ { x }$ for any $( s , z _ { x } ) \sim P _ { S , Z _ { X } }$ under the constraint that $I ( Z _ { X } ; S )$ is maximized, then $Z _ { X }$ discards the task-irrelevant information, excluding $I ( X ; S | T )$ . Similar to the forward predictive learning, we use $\mathbb { E } _ { P _ { S , Z _ { X } } } [ \log Q _ { \phi } ( Z _ { X } | S ) ]$ as a lower bound of $\mathbb { E } _ { P _ { S , Z _ { X } } } [ \log P ( Z _ { X } | S ) ]$ . In our deployment, we take the advantage of the design in equation 1 and let $Q _ { \phi } ( Z _ { X } | S )$ be Gaussian $\mathcal { N } \Big ( Z _ { X } | F _ { S } ( S ) , \sigma \mathbf { I } \Big )$ :
|
| 98 |
+
|
| 99 |
+
$$
|
| 100 |
+
\mathrm { L } _ { I P } : = \operatorname* { m a x } _ { Z _ { S } = F _ { S } ( S ) , Z _ { X } = F _ { X } ( X ) } \mathbb { E } _ { z _ { s } , z _ { x } \sim P _ { Z _ { S } } , z _ { X } } \left[ - \left. z _ { x } - z _ { s } \right. _ { 2 } ^ { 2 } \right] .
|
| 101 |
+
$$
|
| 102 |
+
|
| 103 |
+
Note that optimizing equation 3 alone results in a degenerated solution, e.g., learning $Z _ { X }$ and $Z _ { S }$ to be the same constant.
|
| 104 |
+
|
| 105 |
+
Composing SSL Objectives (to extract task-relevant and discard task-irrelevant information simultaneously). So far, we discussed how prior self-supervised learning approaches extract taskrelevant information via the contrastive or the forward predictive learning objectives. Our analysis also inspires a new loss, the inverse predictive learning objective, to discard task-irrelevant information. Now, We present a composite loss to combine them together:
|
| 106 |
+
|
| 107 |
+
$$
|
| 108 |
+
\mathrm { L } _ { S S L } = \lambda _ { C L } \mathrm { L } _ { C L } + \lambda _ { F P } \mathrm { L } _ { F P } + \lambda _ { I P } \mathrm { L } _ { I P } ,
|
| 109 |
+
$$
|
| 110 |
+
|
| 111 |
+
where $\lambda _ { C L }$ , $\lambda _ { F P }$ , and $\lambda _ { I P }$ are hyper-parameters. This composite loss enables us to extract taskrelevant and discard task-irrelevant information simultaneously.
|
| 112 |
+
|
| 113 |
+
In last subsection, we see the practical aspects of our designed SSL strategies. Now, we provide an theoretical analysis on the representations’ generalization error when $T$ is a categorical variable . We use Bayes error rate as an example, which stands for the irreducible error (smallest generalization error (Feder & Merhav, 1994)) when learning an arbitrary classifier from the representation to infer the labels. In specific, let $P _ { e }$ be the Bayes error rate of arbitrary learned representations $Z _ { X }$ and $\hat { T }$ as the estimation for $T$ from our classifier, $P _ { e } : = \mathbb { E } _ { z _ { x } \sim P _ { z _ { X } } } [ 1 - \operatorname* { m a x } _ { t \in T } P ( \hat { T } = t | z _ { x } ) ]$ .
|
| 114 |
+
|
| 115 |
+
estimation using empirical samples from distribution To begin with, we present a general form of sample complexity with mutual information $P _ { Z _ { X } , S }$ . Let $P _ { Z _ { X } , S } ^ { ( n ) }$ denote the (uniformly $( I ( Z _ { X } ; S ) )$ sampled) empirical distribution of $P _ { Z _ { X } , S }$ and $\hat { I } _ { \theta } ^ { ( n ) } ( Z _ { X } ; S ) : = \mathbb { E } _ { P _ { Z _ { X } ; S } ^ { ( n ) } } [ \hat { f } _ { \theta } ( z _ { x } , s ) ]$ with $\hat { f } _ { \theta }$ being the estimated log density ratio (i.e., $\log p ( s | z _ { x } ) / p ( s ) )$ .
|
| 116 |
+
|
| 117 |
+
Proposition 1 (Mutual Information Neural Estimation, restating Theorem 1 by Tsai et al. (2020)). et i $0 < \delta < 1$ . There so that $d \in \mathbb { N }$ and a family of neuh probability at least tworks over th $\mathcal { F } : = \{ \hat { f } _ { \boldsymbol { \theta } } : \boldsymbol { \theta } \in \boldsymbol { \Theta } \subseteq \mathbb { R } ^ { d } \}$ $\Theta$ $\exists \theta ^ { * } \in \Theta$ $1 - \delta$ $\{ z _ { x i } , s _ { i } \} _ { i = 1 } ^ { n } \sim P _ { Z _ { X } , S } ^ { \otimes n }$
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
\begin{array} { r } { \Big | \widehat { I } _ { \theta ^ { * } } ^ { ( n ) } ( Z _ { X } ; S ) - I ( Z _ { X } ; S ) \Big | \leq O \left( \sqrt { \frac { d + \log ( 1 / \delta ) } { n } } \right) . } \end{array}
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
This proposition shows that there exists a neural network √ $\theta ^ { * }$ , with high probability, $\widehat { I } _ { \theta ^ { * } } ^ { ( n ) } ( Z _ { X } ; S )$ can approximate $I ( Z _ { X } ; S )$ with $n$ samples at rate $O ( 1 / \sqrt { n } )$ . Under this network $\theta ^ { * }$ and the same parameters $d$ and $\delta$ , we are ready to present our main results on the Bayes error rate. Formally, let $| T |$ be $T$ ’s cardinalitiy and $\mathrm { T h } ( \boldsymbol { x } ) \stackrel { - } { = } \mathrm { m i n } \left\{ \mathrm { m a x } \{ \boldsymbol { x } , 0 \} , 1 - 1 / | T | \right\}$ as a thresholding function:
|
| 124 |
+
|
| 125 |
+
Theorem 3 (Bayes Error Rates for Arbitrary Learned Representations). For an arbitrary learned representations $Z _ { X }$ , $P _ { e } = \mathrm { T h } ( \bar { P } _ { e } )$ with
|
| 126 |
+
|
| 127 |
+
$$
|
| 128 |
+
\bar { P } _ { e } \overset { < } { \le } 1 - \exp \bigg ( - \Big ( H ( T ) + I ( X ; S | T ) + I ( Z ; X | S , T ) - \hat { I } _ { \theta ^ { * } } ^ { ( n ) } ( Z _ { X } ; S ) + O \big ( \sqrt { \frac { d + \log ( 1 / \delta ) } { n } } \big ) \Big ) \bigg ) .
|
| 129 |
+
$$
|
| 130 |
+
|
| 131 |
+
Given arbitrary learned representations $( Z _ { X } )$ , Theorem 3 suggests the corresponding Bayes error rate $( P _ { e } )$ is small when: 1) the estimated mutual information $\big ( \widehat { I } _ { \theta ^ { * } } ^ { ( n ) } ( Z _ { X } ; S ) \big )$ is large; 2) a larger number of samples $n$ are used for estimating the mutual information; and 3) the task-irrelevant information the compression gap $I ( X ; S | T )$ and the superfluous information $I ( Z ; X | S , T )$ , defined in Theorem 2 is small. The first and the second results supports the claim that maximizing $I ( Z _ { X } ; S )$ may learn the representations that are beneficial to downstream tasks. The third result implies the learned representations may perform better on the downstream task when the compression gap is small. Additionally, $Z ^ { \mathrm { s s l } _ { \mathrm { m i n } } }$ is preferable than $Z ^ { \mathrm { s s l } }$ since $I ( Z ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ; X | S , T ) = 0$ and $I ( Z ^ { \mathrm { s s l } } ; \bar { X } | \bar { S } , T ) \ge 0$ .
|
| 132 |
+
|
| 133 |
+
Theorem 4 (Bayes Error Rates for Self-supervised Learned Representations). Let $P _ { e } ^ { \mathrm { s u p } } / P _ { e } ^ { \mathrm { s s l } } / P _ { e } ^ { \mathrm { s s l } _ { \mathrm { m i n } } }$ be the Bayes error rate of the supervised or the self-supervised learned representations $Z _ { X } ^ { \mathrm { s u p } } / Z _ { X } ^ { \mathrm { s s l } } / Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } }$ . Then, $P _ { e } ^ { \mathrm { s s l } } = \mathrm { T h } ( \bar { P } _ { e } ^ { \mathrm { s s l } } )$ and $P _ { e } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } = \mathrm { T h } ( \bar { P } _ { e } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ) ~ w$ ith
|
| 134 |
+
|
| 135 |
+
$$
|
| 136 |
+
- \frac { \log \left( 1 - P _ { e } ^ { \mathrm { s u p } } \right) + \log 2 } { \log \left( \vert T \vert \right) } \le \{ \bar { P } _ { e } ^ { \mathrm { s s l } } , \bar { P } _ { e } ^ { \mathrm { s s l n i n } } \} \le 1 - \exp \Big ( - \left( \log 2 + P _ { e } ^ { \mathrm { s u p } } \cdot \log \vert T \vert + \epsilon _ { \mathrm { i n f o } } \right) \Big ) .
|
| 137 |
+
$$
|
| 138 |
+
|
| 139 |
+
Given our self-supervised learned representations $( Z _ { X } ^ { \mathrm { s s l } }$ and $Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } .$ ), Theorem 4 suggests a smaller upper bound of $P _ { e } ^ { \mathrm { s s l } }$ (or $P _ { e } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } .$ ) when the redundancy between the input and the self-supervised signal $\scriptstyle \cdot \epsilon _ { \mathrm { i n f o } }$ , defined in Assumption 1) is small. This result implies the self-supervised learned representations may perform better on the downstream task when the multi-view redundancy is small.
|
| 140 |
+
|
| 141 |
+
# 3 CONTROLLED EXPERIMENTS
|
| 142 |
+
|
| 143 |
+
This section aims at providing empirical supports for Theorems 1 and 2 and comparing different SSL objectives. In particular, we present information inequalities in Theorems 1 and 2 regarding the amount of the task-relevant and the task-irrelevant information that will be extracted and discarded when learning self-supervised representations. Nonetheless, quantifying the information is notoriously hard and often leads to inaccurate quantifications in practice (McAllester & Stratos, 2020; Song &
|
| 144 |
+
|
| 145 |
+

|
| 146 |
+
Figure 3: Comparisons for different compositions of SSL objectives on Omniglot and CIFAR10.
|
| 147 |
+
|
| 148 |
+
Ermon, 2019). Not to mention the information we aim to quantify is the conditional information, which is believed to be even more challenging than quantifying the unconditional one (Póczos & Schneider, 2012). To address this concern, we instead study the generalization error of the selfsupervised learned representations, theoretically (Bayes error rate discussed in Section 2.4) and empirically (test performance discussed in this section).
|
| 149 |
+
|
| 150 |
+
Another important aspect of the experimental design is examining equation 4, which can be viewed as a Lagrangian relaxation to learn representations that contain minimal and sufficient self-supervision (see Definition 2): a weighted combination between $I ( Z _ { X } ; S )$ and $- H ( Z _ { X } | S )$ . In particular, the contrastive loss $\operatorname { L } _ { C L }$ and the forward-predictive loss $\mathrm { L } _ { F P }$ represent different realizations of modeling $I ( Z _ { X } ; S )$ and the inverse-predictive loss $\mathrm { L } _ { F P }$ represents a realization of modeling $- H ( Z _ { X } | S )$ .
|
| 151 |
+
|
| 152 |
+
We design two sets of experiments: The first one is when the input and self-supervised signals lie in the same modality (visual) and are likely to satisfy the multi-view redundancy assumption (Assumption 1). The second one is when the input and self-supervised signals lie in very different modalities (visual and textual), thus challenging the SSL objective’s generalization ability.
|
| 153 |
+
|
| 154 |
+
Experiment I - Visual Representation Learning. We use Omniglot dataset (Lake et al., 2015) 7 in this experiment. The training set contains images from 964 characters, and the test set contains 659 characters. There are no characters overlap between the training and test set. Each character contains twenty examples drawn from twenty different people. We regard image as input $( X )$ and generate self-supervised signal $( S )$ by first sampling an image from the same character as the input image and then applying translation/ rotation to it. Furthermore, we represent task-relevant information $( T )$ by the labels of the image. Under this self-supervised signal construction, the exclusive information in $X$ or $S$ are drawing styles (i.e., by different people) and image augmentations, and only their shared information contribute to $T$ . To formally show the later, if $T$ representing the label for $X / S$ , then $P ( \boldsymbol { T } | \boldsymbol { X } )$ and $P ( \boldsymbol { T } | S )$ are Dirac. Hence, $T \perp \perp S | X$ and $T \perp \perp X | S$ , suggesting Assumption 1 holds.
|
| 155 |
+
|
| 156 |
+
We train the feature mapping $F _ { X } ( \cdot )$ with SSL objectives (see eq. equation 4), set $F _ { S } ( \cdot ) = F _ { X } ( \cdot )$ , let $R ( \cdot )$ be symmetrical to $F _ { X } ( \cdot )$ , and $G ( \cdot )$ be an identity mapping. On the test set, we fix the mapping and randomly select 5 examples per character as the labeled examples. Then, we classify the rest of the examples using the 1-nearest neighbor classifier based on feature (i.e., $Z _ { X } = F _ { X } ( X ) )$ cosine similarity. The random performance on this task stands at 1659 $\begin{array} { r } { \frac { 1 } { 6 5 9 } \approx 0 . 1 5 \% } \end{array}$ . One may refer to Supplementary for more details.
|
| 157 |
+
|
| 158 |
+
$\trianglerighteq$ Results & Discussions. In Figure 3, we evaluate the generalization ability on the test set for different SSL objectives. First, we examine how the introduced inverse predictive learning objective $\mathrm { L } _ { I P }$ can help improve the performance along with the contrastive learning objective $\operatorname { L } _ { C L }$ . We present the results in Figure 3 (a) and also provide experiments with SimCLR (Chen et al., 2020) on CIFAR10 (Krizhevsky et al., 2009) in Figure 3 (b), where $\lambda _ { I P } = 0$ refers to the exact same setup as in SimCLR (which considers only $\operatorname { L } _ { C L }$ ). We find that adding $\mathrm { L } _ { I P }$ in the objective can boost model performance, although being sensitive to the hyper-parameter $\lambda _ { I P }$ . According to Theorem 2, the improved performance suggests a more compressed representation results in better performance for the downstream tasks. Second, we add the discussions with the forward predictive learning objective $\mathrm { L } _ { F P }$ . We present the results in Figure 3 (c). Comparing to $\mathrm { L } _ { F P }$ , $\mathrm { L } _ { C L } \ : 1$ ) reaches better test accuracy; 2) requires shorter training epochs to reach the best performance; and 3) suffers from overfitting with long-epoch training. Combining both of them $( \mathrm { L } _ { C L } + 0 . 0 0 5 \mathrm { L } _ { F P } )$ brings their advantages together.
|
| 159 |
+
|
| 160 |
+
Experiment II - Visual-Textual Representation Learning. We provide experiments using MS COCO dataset (Lin et al., 2014) that contains $3 2 8 \mathrm { k }$ multi-labeled images with 2.5 million labeled instances from 91 objects. Each image has 5 annotated captions describing the relationships between objects in the scenes. We regard image as input $( X )$ and its textual descriptions as self-supervised signal $( S )$ . Since vision and text are two very different modalities, the multi-view redundancy may not be satisfied, which means $\epsilon _ { \mathrm { i n f o } }$ may be large in Assumption 1.
|
| 161 |
+
|
| 162 |
+

|
| 163 |
+
Figure 4: Comparisons for different settings on self-supervised visual-textual representation training. We report metrics on MS COCO validation set with mean and standard deviation from 5 random trials.
|
| 164 |
+
|
| 165 |
+
We adopt $\operatorname { L } _ { \operatorname { C L } }$ $( + \lambda _ { I P } \mathrm { L _ { I P } } )$ as our SSL objective. We use ResNet18 (He et al., 2016) image encoder for $F _ { X } ( \cdot )$ (trained from scratch or fine-tuned on ImageNet (Deng et al., 2009) pre-trained weights), BERTuncased (Devlin et al., 2018) text encoder for $F _ { S } ( \cdot )$ (trained from scratch or BookCorpus (Zhu et al., 2015)/Wikipedia pre-trained weights), and a linear layer for $G ( \cdot )$ . After performing self-supervised visual-textual representation learning, we consider the downstream multi-label classification over 91 categories. We evaluate learned visual representation $( Z _ { X } )$ using downstream linear evaluation protocol (Oord et al., 2018; Hénaff et al., 2019; Tian et al., 2019; Hjelm et al., 2018; Bachman et al., 2019; Tschannen et al., 2019). Specifically, a linear classifier is trained from the self-supervised learned (fixed) representation to the labels on the training set. Commonly used metrics for multi-label classification are reported on MS COCO validation set: Micro ROC-AUC and Subset Accuracy. One may refer to Supplementary for more details on these metrics.
|
| 166 |
+
|
| 167 |
+
. Results & Discussions. First, Figure 4 (a) suggests that the SSL strategy can still work when the input and self-supervised signals lie in different modalities. For example, pre-trained ResNet with BERT (either raw or the pre-trained one) outperforms pre-trained ResNet alone. We also see that the self-supervised learned representations benefit more if the ResNet is pre-trained but not the BERT. This result is in accord with the fact that object recognition requires more understanding in vision, and hence the pre-trained ResNet is preferrable than the pre-trained BERT. Next, Figure 4 (b) suggests that the self-supervised learned representations can be further improved by combining $\operatorname { L } _ { C L }$ and $\mathrm { L } _ { I P }$ , suggesting $\mathrm { L } _ { I P }$ may be a useful objective to discard task-irrelevant information.
|
| 168 |
+
|
| 169 |
+
Remarks on $\lambda _ { I P }$ and $\mathrm { L } _ { I P }$ . As observed in the experimental results, $\lambda _ { I P }$ is a sensitive hyperparameter to the performance. We provide an optimization perspective to address this concern. Note that one of the our goals is to examine the setting when learning the minimal and sufficient representations for self-supervision (see Definition 2): minimize $H ( Z _ { X } | S )$ under the constraint that $I ( Z _ { X } ; S )$ is maximized. However, this constrained optimization is not feasible when considering gradients methods in neural networks. Hence, our approach can be seen as its Lagrangian Relaxation by a weighted combination between $\operatorname { L } _ { C L }$ (or $\mathrm { L } _ { F P }$ , representing $I ( Z _ { X } ; S ) )$ and $\mathrm { L } _ { I P }$ (representing $\bar { H } ( Z _ { X } | \bar { S } ) )$ with the $\lambda _ { I P }$ being the Lagrangian coefficient.
|
| 170 |
+
|
| 171 |
+
The optimal $\lambda _ { I P }$ can be obtained by solving the Lagrangian dual, which depends on the parametrization of $\operatorname { L } _ { C L }$ (or $\operatorname { L } _ { F P } ,$ ) and $\mathrm { L } _ { I P }$ . Different parameterizations lead to different loss and gradient landscapes, and hence the optimal $\lambda _ { I P }$ differs across experiments. This conclusion is verified by the results presented in Figure 3 (a) and (b) and Figure 4 (b). Lastly, we point out that even not solving the Lagrangian dual, an empirical observation across experiments is that $\lambda _ { I P }$ which leads to the best performance is when the scale of $\mathrm { L } _ { I P }$ is one-tenth to the scale of $\operatorname { L } _ { C L }$ (or $\operatorname { L } _ { F P }$ ).
|
| 172 |
+
|
| 173 |
+
# 4 RELATED WORK
|
| 174 |
+
|
| 175 |
+
Prior work by Arora et al. (2019) and the recent concurrent work (Lee et al., 2020; Tosh et al., 2020) are landmarks for theoretically understanding the success of SSL. In particular, Arora et al. (2019); Lee et al. (2020) showed a decreased sample complexity for downstream supervised tasks when adopting contrastive learning objectives (Arora et al., 2019) or predicting the known information in the data (Lee et al., 2020). Tosh et al. (2020) showed that the linear functions of the learned representations are nearly optimal on downstream prediction tasks. By viewing the input and the self-supervised signal as two corresponding views of the data, we discuss the differences among these works and ours. On the one hand, the work by Arora et al. (2019); Lee et al. (2020) assume strong independence between the views conditioning on the downstream tasks , i.e., $I ( X ; S | T ) \approx 0$ .
|
| 176 |
+
|
| 177 |
+
On the other hand, the work by Tosh et al. (2020) and ours assume strong independence between the downstream task and one view conditioning on the other view, i.e., $I ( T ; X | S ) \approx 0$ . Prior work (Balcan et al., 2005; Du et al., 2010) have compared these two assumptions and pointed out the former one $I ( X ; S | T ) \approx 0 )$ is too strong and not likely to hold in practice. We note that all these related work and ours have shown that the self-supervised learning methods are learning to extract task-relevant information. Our work additionally presents to discard task-irrelevant information and quantifies the amount of information that cannot be discarded.
|
| 178 |
+
|
| 179 |
+
Our method also resembles the InfoMax principle (Linsker, 1988; Hjelm et al., 2018) and the Multiview Information Bottleneck method (Federici et al., 2020). The InfoMax principle aims at preserving the information of itself, while ours aims at extracting the information in the self-supervised signal. On the other hand, to reduce the redundant information across views, the Multi-view Information Bottleneck method proposed to minimize the conditional mutual information $I ( Z _ { X } ; X | S )$ , while ours propose to minimize the conditional entropy $H ( Z _ { X } | S )$ . The conditional entropy minimization problem can be easily optimized via our proposed inversed predictive learning objective.
|
| 180 |
+
|
| 181 |
+
Another related work is InfoMin (Tian et al., 2020), where both InfoMin and our method suggest to learn the representations that contain “not” too much information. In particular, InfoMin presents to augment the data (i.e., by constructing learnable data augmentations) such that the shared information between augmented variants is as minimal as possible, followed by the mutual information maximization between the learned features from the augmented variants. Our method instead considers standard augmentations (e.g., rotations and translations), followed by learning representations that contain no more than the shared information between the augmented variants of the data.
|
| 182 |
+
|
| 183 |
+
On the empirical side, we explain why contrastive (Oord et al., 2018; Bachman et al., 2019; Chen et al., 2020) and predictive learning (Zhang et al., 2016; Pathak et al., 2016; Vondrick et al., 2016; Chen et al.) approaches can unsupervised extract task-relevant information. Different from these work, we present an objective to discard task-irrelevant information and show its combination with existing contrastive or predictive objectives benefits the performance.
|
| 184 |
+
|
| 185 |
+
# 5 CONCLUSION
|
| 186 |
+
|
| 187 |
+
This work studies both theoretical and empirical perspectives on self-supervised learning. We show that the self-supervised learned representations could extract task-relevant information (with a potential loss) and discard task-irrelevant information (with a fixed gap), along with their practical deployments such as contrastive and predictive learning objectives. We believe this work sheds light on the advantages of self-supervised learning and may help better understand when and why self-supervised learning is likely to work. In the future, we plan to connect our framework and recent SSL methods that cannot be easily fit into our analysis: e.g., BYOL (Grill et al., 2020), SWAV (Caron et al., 2020), and Unifromality-Alignment (Wang & Isola, 2020).
|
| 188 |
+
|
| 189 |
+
# ACKNOWLEDGEMENT
|
| 190 |
+
|
| 191 |
+
This work was supported in part by the NSF IIS1763562, NSF Awards #1750439 #1722822, National Institutes of Health, IARPA D17PC00340, ONR Grant N000141812861, and Facebook PhD Fellowship. We would also like to acknowledge NVIDIA’s GPU support.
|
| 192 |
+
|
| 193 |
+
# REFERENCES
|
| 194 |
+
|
| 195 |
+
Alessandro Achille and Stefano Soatto. Emergence of invariance and disentanglement in deep representations. The Journal of Machine Learning Research, 19(1):1947–1980, 2018.
|
| 196 |
+
|
| 197 |
+
Relja Arandjelovic and Andrew Zisserman. Look, listen and learn. In Proceedings of the IEEE International Conference on Computer Vision, pp. 609–617, 2017.
|
| 198 |
+
|
| 199 |
+
Sanjeev Arora, Hrishikesh Khandeparkar, Mikhail Khodak, Orestis Plevrakis, and Nikunj Saunshi. A theoretical analysis of contrastive unsupervised representation learning. arXiv preprint arXiv:1902.09229, 2019.
|
| 200 |
+
|
| 201 |
+
Philip Bachman, R Devon Hjelm, and William Buchwalter. Learning representations by maximizing mutual information across views. In Advances in Neural Information Processing Systems, pp. 15509–15519, 2019.
|
| 202 |
+
|
| 203 |
+
Maria-Florina Balcan, Avrim Blum, and Ke Yang. Co-training and expansion: Towards bridging theory and practice. In Advances in neural information processing systems, pp. 89–96, 2005.
|
| 204 |
+
Peter L Bartlett. The sample complexity of pattern classification with neural networks: the size of the weights is more important than the size of the network. IEEE transactions on Information Theory, 44(2):525–536, 1998.
|
| 205 |
+
Mohamed Ishmael Belghazi, Aristide Baratin, Sai Rajeswar, Sherjil Ozair, Yoshua Bengio, Aaron Courville, and R Devon Hjelm. Mine: mutual information neural estimation. arXiv preprint arXiv:1801.04062, 2018.
|
| 206 |
+
Cristian S Calude. Information and randomness: an algorithmic perspective. Springer Science & Business Media, 2013.
|
| 207 |
+
Mathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal, Piotr Bojanowski, and Armand Joulin. Unsupervised learning of visual features by contrasting cluster assignments. arXiv preprint arXiv:2006.09882, 2020.
|
| 208 |
+
Mark Chen, Alec Radford, Rewon Child, Jeff Wu, and Heewoo Jun. Generative pretraining from pixels.
|
| 209 |
+
Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. arXiv preprint arXiv:2002.05709, 2020.
|
| 210 |
+
Thomas M Cover and Joy A Thomas. Elements of information theory. John Wiley & Sons, 2012.
|
| 211 |
+
Zihang Dai, Zhilin Yang, Yiming Yang, Jaime Carbonell, Quoc V Le, and Ruslan Salakhutdinov. Transformer-xl: Attentive language models beyond a fixed-length context. arXiv preprint arXiv:1901.02860, 2019.
|
| 212 |
+
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248–255. Ieee, 2009.
|
| 213 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018.
|
| 214 |
+
Jun Du, Charles X Ling, and Zhi-Hua Zhou. When does cotraining work in real data? IEEE Transactions on Knowledge and Data Engineering, 23(5):788–799, 2010.
|
| 215 |
+
Tom Fawcett. An introduction to roc analysis. Pattern recognition letters, 27(8):861–874, 2006.
|
| 216 |
+
Meir Feder and Neri Merhav. Relations between entropy and error probability. IEEE Transactions on Information Theory, 40(1):259–266, 1994.
|
| 217 |
+
M Federici, A Dutta, P Forré, N Kushmann, and Z Akata. Learning robust representations via multi-view information bottleneck. International Conference on Learning Representation, 2020.
|
| 218 |
+
Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. arXiv preprint arXiv:1803.07728, 2018.
|
| 219 |
+
Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre H Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Daniel Guo, Mohammad Gheshlaghi Azar, et al. Bootstrap your own latent: A new approach to self-supervised learning. arXiv preprint arXiv:2006.07733, 2020.
|
| 220 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016.
|
| 221 |
+
Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. arXiv preprint arXiv:1911.05722, 2019.
|
| 222 |
+
Olivier J Hénaff, Ali Razavi, Carl Doersch, SM Eslami, and Aaron van den Oord. Data-efficient image recognition with contrastive predictive coding. arXiv preprint arXiv:1905.09272, 2019.
|
| 223 |
+
R Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Phil Bachman, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. arXiv preprint arXiv:1808.06670, 2018.
|
| 224 |
+
Kurt Hornik, Maxwell Stinchcombe, Halbert White, et al. Multilayer feedforward networks are universal approximators.
|
| 225 |
+
Alex Krizhevsky et al. Learning multiple layers of features from tiny images. 2009.
|
| 226 |
+
Brenden M Lake, Ruslan Salakhutdinov, and Joshua B Tenenbaum. Human-level concept learning through probabilistic program induction. Science, 350(6266):1332–1338, 2015.
|
| 227 |
+
|
| 228 |
+
Jason D Lee, Qi Lei, Nikunj Saunshi, and Jiacheng Zhuo. Predicting what you already know helps: Provable self-supervised learning. arXiv preprint arXiv:2008.01064, 2020.
|
| 229 |
+
|
| 230 |
+
Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In European conference on computer vision, pp. 740–755. Springer, 2014.
|
| 231 |
+
|
| 232 |
+
Ralph Linsker. Self-organization in a perceptual network. Computer, 21(3):105–117, 1988.
|
| 233 |
+
|
| 234 |
+
Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3431–3440, 2015.
|
| 235 |
+
|
| 236 |
+
David McAllester and Karl Stratos. Formal limitations on the measurement of mutual information. In International Conference on Artificial Intelligence and Statistics, pp. 875–884, 2020.
|
| 237 |
+
|
| 238 |
+
Sudipto Mukherjee, Himanshu Asnani, and Sreeram Kannan. Ccmi: Classifier based conditional mutual information estimation. In Uncertainty in Artificial Intelligence, pp. 1083–1093. PMLR, 2020.
|
| 239 |
+
|
| 240 |
+
Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In European Conference on Computer Vision, pp. 69–84. Springer, 2016.
|
| 241 |
+
|
| 242 |
+
Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018.
|
| 243 |
+
|
| 244 |
+
Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A Efros. Context encoders: Feature learning by inpainting. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2536–2544, 2016.
|
| 245 |
+
|
| 246 |
+
Matthew E Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep contextualized word representations. arXiv preprint arXiv:1802.05365, 2018.
|
| 247 |
+
|
| 248 |
+
Barnabás Póczos and Jeff Schneider. Nonparametric estimation of conditional information and divergences. In Artificial Intelligence and Statistics, pp. 914–923. PMLR, 2012.
|
| 249 |
+
|
| 250 |
+
Ben Poole, Sherjil Ozair, Aaron van den Oord, Alexander A Alemi, and George Tucker. On variational bounds of mutual information. arXiv preprint arXiv:1905.06922, 2019.
|
| 251 |
+
|
| 252 |
+
Shai Shalev-Shwartz and Shai Ben-David. Understanding machine learning: From theory to algorithms. Cambridge university press, 2014.
|
| 253 |
+
|
| 254 |
+
Jiaming Song and Stefano Ermon. Understanding the limitations of variational mutual information estimators. arXiv preprint arXiv:1910.06222, 2019.
|
| 255 |
+
|
| 256 |
+
Mohammad S Sorower. A literature survey on algorithms for multi-label learning.
|
| 257 |
+
|
| 258 |
+
Karthik Sridharan and Sham M Kakade. An information theoretic framework for multi-view learning. 2008.
|
| 259 |
+
|
| 260 |
+
Yonglong Tian, Dilip Krishnan, and Phillip Isola. Contrastive multiview coding. arXiv preprint arXiv:1906.05849, 2019.
|
| 261 |
+
|
| 262 |
+
Yonglong Tian, Chen Sun, Ben Poole, Dilip Krishnan, Cordelia Schmid, and Phillip Isola. What makes for good views for contrastive learning. arXiv preprint arXiv:2005.10243, 2020.
|
| 263 |
+
|
| 264 |
+
Naftali Tishby, Fernando C Pereira, and William Bialek. The information bottleneck method. arXiv preprint physics/0004057, 2000.
|
| 265 |
+
|
| 266 |
+
Christopher Tosh, Akshay Krishnamurthy, and Daniel Hsu. Contrastive learning, multi-view redundancy, and linear models. arXiv preprint arXiv:2008.10150, 2020.
|
| 267 |
+
|
| 268 |
+
Yao-Hung Hubert Tsai, Han Zhao, Makoto Yamada, Louis-Philippe Morency, and Ruslan Salakhutdinov. Neural methods for point-wise dependency estimation. arXiv preprint arXiv:2006.05553, 2020.
|
| 269 |
+
|
| 270 |
+
Michael Tschannen, Josip Djolonga, Paul K Rubenstein, Sylvain Gelly, and Mario Lucic. On mutual information maximization for representation learning. arXiv preprint arXiv:1907.13625, 2019.
|
| 271 |
+
|
| 272 |
+
Sergey Tulyakov, Ming-Yu Liu, Xiaodong Yang, and Jan Kautz. Mocogan: Decomposing motion and content for video generation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1526–1535, 2018.
|
| 273 |
+
|
| 274 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in neural information processing systems, pp. 5998–6008, 2017.
|
| 275 |
+
Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Generating videos with scene dynamics. In Advances in neural information processing systems, pp. 613–621, 2016.
|
| 276 |
+
Tongzhou Wang and Phillip Isola. Understanding contrastive representation learning through alignment and uniformity on the hypersphere. arXiv preprint arXiv:2005.10242, 2020.
|
| 277 |
+
Chang Xu, Dacheng Tao, and Chao Xu. A survey on multi-view learning. arXiv preprint arXiv:1304.5634, 2013.
|
| 278 |
+
Richard Zhang, Phillip Isola, and Alexei A Efros. Colorful image colorization. In European conference on computer vision, pp. 649–666. Springer, 2016.
|
| 279 |
+
Yukun Zhu, Ryan Kiros, Rich Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In Proceedings of the IEEE international conference on computer vision, pp. 19–27, 2015.
|
| 280 |
+
|
| 281 |
+
# A REMARKS ON LEARNING MINIMAL AND SUFFICIENT REPRESENTATIONS
|
| 282 |
+
|
| 283 |
+
In the main text, we discussed the objectives to learn minimal and sufficient representations (Definition 1). Here, we discuss the similarities and differences between the prior methods (Tishby et al., 2000; Achille & Soatto, 2018) and ours. First, to obtain sufficient representations (for the downstream task $T$ ), all the methods presented to maximize $I ( Z _ { X } ; T )$ . Then, to maintain minimal amount of information in the representations, the prior methods (Tishby et al., 2000; Achille & Soatto, 2018) presented to minimize $I ( Z _ { X } ; X )$ and the ours presents to minimize $H ( Z _ { X } | T )$ . Our goal is to relate $I ( Z _ { X } ; X )$ minimization and $H ( Z _ { X } | T )$ minimization in our framework.
|
| 284 |
+
|
| 285 |
+
To begin with, under the constraint $I ( Z _ { X } ; T )$ is maximized, we see that minimizing $I ( Z _ { X } ; X )$ is equivalent to minimizing $I ( Z _ { X } ; X | T )$ . The reason is that $I ( Z _ { X } ; X ) = I ( Z _ { X } ; X | T ) \dot { + } I ( Z _ { X } ; X ; T )$ , where $I ( Z _ { X } ; X ; T ) = I ( Z _ { X } ; T )$ due to the determinism from $X$ to $Z _ { X }$ (our framework learns a deterministic function from $X$ to $Z _ { X }$ ) and $I ( Z _ { X } ; T )$ is maximized in our constraint. Then, $I ( Z _ { X } ; X | T ) = H ( Z _ { X } | T ) - H ( Z _ { X } | X , T ) .$ , where $H ( Z _ { X } | T )$ contains no randomness (no information) as $Z _ { X }$ being deterministic from $X$ . Hence, $I ( \vec { Z } _ { X } ; X | T )$ minimization and $H ( Z _ { X } | T )$ minimization are interchangeable.
|
| 286 |
+
|
| 287 |
+
The same claim can be made from the downstream task $T$ to the self-supervised signal $S$ . In specific, when $X$ to $Z _ { X }$ is deterministic, $I ( Z _ { X } ; X | S )$ minimization and ${ \bar { H ( Z _ { X } | S ) } }$ minimization are interchangeable. As discussed in the related work section, for reducing the amount of the redundant information, Federici et al. (2020) presented to use $I ( Z _ { X } ; X | S )$ minimization and ours presented to use $H ( Z _ { X } | T )$ minimization. We also note that directly minimizing the conditional mutual information (i.e., $I ( Z _ { X } ; X | S ) )$ requires a min-max optimization (Mukherjee et al., 2020), which may cause instability in practice. To overcome the issue, Federici et al. (2020) assumes a Gaussian encoder for $X Z _ { X }$ and presents an upper bound of the original objective.
|
| 288 |
+
|
| 289 |
+
# B PROOFS FOR THEOREM 1 AND 2
|
| 290 |
+
|
| 291 |
+
We start by presenting a useful lemma from the fact that $F _ { X } ( \cdot )$ is a deterministic function:
|
| 292 |
+
|
| 293 |
+
Lemma 1 (Determinism). If $P ( Z _ { X } | X )$ is Dirac, then the following conditional independence holds: $T$ ⊥⊥ $Z _ { X } | X$ and $S$ ⊥⊥ $Z _ { X } | X$ , inducing a Markov chain $S T X Z _ { X }$ .
|
| 294 |
+
|
| 295 |
+
Proof. When $Z _ { X }$ is a deterministic function of $X$ , for any $A$ in the sigma-algebra induced by $Z _ { X }$ we have $\mathbb { E } [ { \mathbf 1 } _ { [ Z _ { X } \in A ] } | X , \{ T , S \} ] = \mathbb { E } [ { \mathbf 1 } _ { [ Z _ { X } \in A ] } | X , S ] = \mathbb { E } [ { \mathbf 1 } _ { [ Z _ { X } \in A ] } | X ]$ , which implies $T$ ⊥⊥ $Z _ { X } | X$ and $S$ ⊥⊥ $Z _ { X } | X$ . □
|
| 296 |
+
|
| 297 |
+
Theorem 1 and 2 in the main text restated:
|
| 298 |
+
|
| 299 |
+
Theorem 5 (Task-relevant information with a potential loss $\epsilon _ { \mathrm { i n f o } }$ , restating Theorem 1 in the main text). The supervised learned representations (i.e., $I ( Z _ { X } ^ { \mathrm { s u p } } ; T )$ and $I ( Z _ { X } ^ { \mathrm { s u p } _ { \mathrm { m i n } } } ; T ) )$ contain all the task-relevant information in the input (i.e., $I ( X ; T ) ,$ ). The self-supervised learned representations (i.e., $I ( Z _ { X } ^ { \mathrm { s s l } } ; T )$ and Form $I ( Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ; T ) )$ contain all the task-relevant information in the input with a potential $\epsilon _ { \mathrm { i n f o } }$
|
| 300 |
+
|
| 301 |
+
$$
|
| 302 |
+
I ( X ; T ) = I ( Z _ { X } ^ { \mathrm { s u p } } ; T ) = I ( Z _ { X } ^ { \mathrm { s u p } _ { \mathrm { m i n } } } ; T ) \geq I ( Z _ { X } ^ { \mathrm { s s l } } ; T ) \geq I ( Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ; T ) \geq I ( X ; T ) - \epsilon _ { \mathrm { i n f o } } .
|
| 303 |
+
$$
|
| 304 |
+
|
| 305 |
+
Proof. The proofs contain two parts. The first one is showing the results for the supervised learned representations and the second one is for the self-supervised learned representations.
|
| 306 |
+
|
| 307 |
+
Supervised Learned Representations: Adopting Data Processing Inequality (DPI by Cover & Thomas (2012)) in the Markov chain ${ \overline { { S T } } } X \to Z _ { X }$ (Lemma 1), $I ( Z _ { X } ; T )$ is maximized at $I ( X ; T )$ . Since both supervised learned representations $( Z _ { X } ^ { \mathrm { s u p } }$ and $Z _ { X } ^ { \mathrm { s u p } _ { \mathrm { m i n } } }$ ) maximize $I ( Z _ { X } ; T )$ , we conclude $I ( Z _ { X } ^ { \mathrm { s u p } } ; T ) \stackrel { \cdot } { = } I ( Z _ { X } ^ { \mathrm { s u p } _ { \mathrm { m i n } } } ; T ) = \dot { I } ( X ; T ) .$ .
|
| 308 |
+
|
| 309 |
+
Self-supervised Learned Representations: First, we have
|
| 310 |
+
|
| 311 |
+
$$
|
| 312 |
+
I ( Z _ { X } ; S ) = I ( Z _ { X } ; T ) - I ( Z _ { X } ; T | S ) + I ( Z _ { X } ; S | T ) = I ( Z _ { X } ; T ; S ) + I ( Z _ { X } ; S | T )
|
| 313 |
+
$$
|
| 314 |
+
|
| 315 |
+
and
|
| 316 |
+
|
| 317 |
+
By DPI in the Markov chain $S T X Z _ { X }$ (Lemma 1), we know • $I ( Z _ { X } ; S )$ is maximized at $I ( X ; S )$ • $I ( Z _ { X } ; S ; T )$ is maximized at $I ( X ; S ; T )$ • $I ( Z _ { X } ; S | T )$ is maximized at $I ( X ; S | T )$
|
| 318 |
+
|
| 319 |
+
Since both self-supervised learned representations $( Z _ { X } ^ { \mathrm { s s l } }$ and $Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } }$ ) maximize $I ( Z _ { X } ; S )$ , we have $I ( Z _ { X } ^ { \mathrm { s s l } } ; S ) = I ( Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ; S ) = I ( X ; S )$ . Hence, $I ( Z _ { X } ^ { \mathrm { s s l } } ; S ; T ) = I ( Z _ { X } ^ { \mathrm { s s l _ { m i n } } } ; S ; T ) = I ( X ; S ; T )$ and $I ( Z _ { X } ^ { \mathrm { s s l } } ; S | T ) = I ( Z _ { X } ^ { \mathrm { s s l _ { m i n } } } ; S | T ) = I ( X ; S | T )$ . Using the result $I ( Z _ { X } ^ { \mathrm { s s l . } } ; S ; T ) = I ( Z _ { X } ^ { \mathrm { s s l . } } ; S ; T ) =$ $I ( X ; S ; T )$ , we get
|
| 320 |
+
|
| 321 |
+
$$
|
| 322 |
+
I ( Z _ { X } ^ { \mathrm { s s l } } ; T ) = I ( X ; T ) - I ( X ; T | S ) + I ( Z _ { X } ^ { \mathrm { s s l } } ; T | S )
|
| 323 |
+
$$
|
| 324 |
+
|
| 325 |
+
and
|
| 326 |
+
|
| 327 |
+
$$
|
| 328 |
+
I ( Z _ { X } ^ { \mathrm { s s l _ { m i n } } } ; T ) = I ( X ; T ) - I ( X ; T | S ) + I ( Z _ { X } ^ { \mathrm { s s l _ { m i n } } } ; T | S ) .
|
| 329 |
+
$$
|
| 330 |
+
|
| 331 |
+
Now, we are ready to present the inequalities:
|
| 332 |
+
|
| 333 |
+
1. $I ( X ; T ) \ge I ( Z _ { X } ^ { \mathrm { s s l } } ; T )$ due to $I ( X ; T | S ) \ge I ( Z _ { X } ^ { \mathrm { s s l . } } ; T | S )$ by DPI.
|
| 334 |
+
|
| 335 |
+
2. $I ( Z _ { X } ^ { \mathrm { s s l } } ; T ) \ge I ( Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ; T )$ due to $I ( Z _ { X } ^ { \mathrm { s s l } } ; T | S ) \ge I ( Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ; T | S ) = 0$ . Since $H ( Z _ { X } | S )$ is minimized at $Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } }$ , $I ( Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ; T | S ) = 0$ .
|
| 336 |
+
|
| 337 |
+
3. $I ( Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ; T ) \ge I ( X ; T ) - \epsilon _ { \mathrm { i n f o } }$ due to
|
| 338 |
+
|
| 339 |
+
$I ( X ; T ) - I ( X ; T | S ) + I ( Z _ { X } ^ { \smash { \mathrm { s l } _ { \mathrm { m i n } } } } ; T | S ) \geq I ( X ; T ) - I ( X ; T | S ) \geq I ( X ; T ) - \epsilon _ { \mathrm { i n f o } } ,$ where $I ( X ; T | S ) \le \epsilon _ { \mathrm { i n f o } }$ by the redundancy assumption.
|
| 340 |
+
|
| 341 |
+
Theorem 6 (Task-irrelevant information with a fixed compression gap $I ( X ; S | T )$ , restating Theorem 2 in the main text). The sufficient self-supervised representation (i.e., $I ( Z _ { X } ^ { \mathrm { s s l } } ; T ) )$ contains more taskirrelevant information in the input than then the sufficient and minimal self-supervised representation (i.e., $I ( Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ; T ) )$ . The later contains an amount of the information, $I ( X ; S | T )$ , that cannot be discarded from the input. Formally,
|
| 342 |
+
|
| 343 |
+
$$
|
| 344 |
+
\begin{array} { r } { \mathbf { \tilde { \rho } } ( Z _ { X } ^ { \mathrm { s x l } } ; X | T ) = I ( X ; S | T ) + I ( Z _ { X } ^ { \mathrm { s x l } } ; X | S , T ) \ge I ( Z _ { X } ^ { \mathrm { s s l n } _ { \mathrm { m i n } } } ; X | T ) = I ( X ; S | T ) \ge I ( Z _ { X } ^ { \mathrm { s u p } _ { \mathrm { m i n } } } ; X | T ) = \alpha _ { 1 } ( X ; X | T ) , } \end{array}
|
| 345 |
+
$$
|
| 346 |
+
|
| 347 |
+
Proof. First, we see that
|
| 348 |
+
|
| 349 |
+
$I ( Z _ { X } ; X | T ) = I ( Z _ { X } ; X ; S | T ) + I ( Z _ { X } ; X | S , T ) = I ( Z _ { X } ; S | T ) + I ( Z _ { X } ; X | S , T ) ,$ where $I ( Z _ { X } ; X ; S | T ) = I ( Z _ { X } ; S | T )$ by DPI in the Markov chain $S T X Z _ { X }$ .
|
| 350 |
+
|
| 351 |
+
We conclude the proof by combining the following:
|
| 352 |
+
|
| 353 |
+
• From the proof in Theorem 5, we showed $I ( Z _ { X } ^ { \mathrm { s s l . } } ; S | T ) = I ( Z _ { X } ^ { \mathrm { s s l . n i n } } ; S | T ) = I ( X ; S | T ) .$ • Since $H ( Z _ { X } | S )$ is minimized at $Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } }$ , $I ( Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ; X | S , T ) = 0$ . • Since $H ( Z _ { X } | T )$ is minimized at $Z _ { X } ^ { \mathrm { s u p } _ { \mathrm { m i n } } }$ , $I ( Z _ { X } ^ { \mathrm { s u p m i n } } ; X | T ) = 0$ .
|
| 354 |
+
|
| 355 |
+
# C PROOF FOR PROPOSITION 1
|
| 356 |
+
|
| 357 |
+
Proposition 2 (Mutual Information Neural Estimation, restating Proposition 1 in the main text). Let $0 < \delta < 1$ . Thereso that $d \in \mathbb { N }$ and a family of neuralth probability at least rks ove $\mathcal { F } : = \{ \hat { f } _ { \boldsymbol { \theta } } : \boldsymbol { \theta } \in \boldsymbol { \Theta } \subseteq \mathbb { R } ^ { d } \}$ $\Theta$ $\exists \theta ^ { * } \in \Theta$ $1 - \delta$ $\{ z _ { x i } , s _ { i } \} _ { i = 1 } ^ { n } \sim P _ { Z _ { X } , S } ^ { \otimes n }$
|
| 358 |
+
|
| 359 |
+
$$
|
| 360 |
+
\begin{array} { r } { \Big | \widehat { I } _ { \theta ^ { * } } ^ { ( n ) } ( Z _ { X } ; S ) - I ( Z _ { X } ; S ) \Big | \leq O \left( \sqrt { \frac { d + \log ( 1 / \delta ) } { n } } \right) . } \end{array}
|
| 361 |
+
$$
|
| 362 |
+
|
| 363 |
+
Sketch of Proof. The proof is a standard instance of uniform convergence bound. First, we assume the boundness and the Lipschitzness of $\hat { f } _ { \theta }$ . Then, we use the universal approximation lemma of neural networks (Hornik et al.). Last, combing all these two along with the uniform convergence in terms of the covering number (Bartlett, 1998), we complete the proof. □
|
| 364 |
+
|
| 365 |
+
We note that the complete proof can be found in the prior work (Tsai et al., 2020). An alternative but similar proof can be found in another prior work (Belghazi et al., 2018), which gives us $\begin{array} { r } { | \widehat { I } _ { \theta ^ { * } } ^ { ( n ) } ( Z _ { X } ; S ) - I ( Z _ { X } ; S ) | \leq O ( \sqrt { \frac { d \log d + \log ( 1 / \delta ) } { n } } ) } \end{array}$ . The subtle difference between them is that, given a neural network function space $\Theta \ \subseteq \ \mathbb { R } ^ { d }$ and its covering number $\mathcal { N } ( \Theta , \eta )$ , Tsai et al. (2020) has $\mathcal { N } ( \Theta , \eta ) ~ = ~ O \Big ( ( \eta ) ^ { - d } \Big )$ by Bartlett (1998) and Belghazi et al. (2018) has $\mathcal { N } ( \Theta , \eta ) = O \Big ( ( \eta / \sqrt { d } ) ^ { - d } \Big )$ by Shalev-Shwartz & Ben-David (2014). Both are valid and the one used by Tsai et al. (2020) is tighter.
|
| 366 |
+
|
| 367 |
+
# D PROOFS FOR THEOREM 3 AND 4
|
| 368 |
+
|
| 369 |
+
To begin with, we see that
|
| 370 |
+
|
| 371 |
+
$$
|
| 372 |
+
\begin{array} { r l } & { I ( Z _ { X } ; T ) = I ( Z _ { X } ; X ) - I ( Z _ { X } ; X | T ) + I ( Z _ { X } ; T | X ) = I ( Z _ { X } ; X ) - I ( Z _ { X } ; X | T ) } \\ & { \qquad = I ( Z _ { X } ; S ) - I ( Z _ { X } ; S | X ) + I ( Z _ { X } ; X | S ) - I ( Z _ { X } ; X | T ) } \\ & { \qquad = I ( Z _ { X } ; S ) + I ( Z _ { X } ; X | S ) - I ( Z _ { X } ; X | T ) } \\ & { \qquad \geq I ( Z _ { X } ; S ) - I ( Z _ { X } ; X | T ) , } \end{array}
|
| 373 |
+
$$
|
| 374 |
+
|
| 375 |
+
where $I ( Z _ { X } ; T | X ) = I ( Z _ { X } ; S | X ) = 0$ due to the determinism from $X$ to $Z _ { X }$ . Then, in the proof of Theorem 6, we have shown $I ( Z _ { X } ; X | T ) = I ( Z _ { X } ; S | T ) + I ( Z _ { X } ; X | S , T )$ . Hence,
|
| 376 |
+
|
| 377 |
+
$$
|
| 378 |
+
\begin{array} { r l r } & { } & { I ( Z _ { X } ; T ) \ge I ( Z _ { X } ; S ) - I ( Z _ { X } ; S | T ) - I ( Z _ { X } ; X | S , T ) } \\ & { } & { \ge I ( Z _ { X } ; S ) - I ( X ; S | T ) - I ( Z _ { X } ; X | S , T ) , } \end{array}
|
| 379 |
+
$$
|
| 380 |
+
|
| 381 |
+
where $I ( Z _ { X } ; S | T ) \le I ( X ; S | T )$ by DPI.
|
| 382 |
+
|
| 383 |
+
Theorem 3 and 4 in the main text restated:
|
| 384 |
+
|
| 385 |
+
Theorem 7 (Bayes Error Rates for Arbitrary Learned Representations, restating Theorem 3 in the main text). For an arbitrary learned representations $Z _ { X }$ , $\begin{array} { r } { P _ { e } = \mathrm { T h } ( \bar { P } _ { e } ) } \end{array}$ with
|
| 386 |
+
|
| 387 |
+
$$
|
| 388 |
+
\begin{array} { r } { \bar { P } _ { e } \overset { _ { \sim } } { \le } 1 - \exp ^ { - \left( H ( T ) + I ( X ; S | T ) + I ( Z ; X | S , T ) - \hat { I } _ { \theta ^ { * } } ^ { ( n ) } ( Z _ { X } ; S ) + O \left( \sqrt { \frac { d + \log ( 1 / \delta ) } { n } } \right) \right) } . } \end{array}
|
| 389 |
+
$$
|
| 390 |
+
|
| 391 |
+
Proof. We use the inequality between $P _ { e }$ and $H ( T | Z _ { X } )$ indicated by Feder & Merhav (1994):
|
| 392 |
+
|
| 393 |
+
$$
|
| 394 |
+
- \mathrm { l o g } ( 1 - P _ { e } ) \leq H ( T | Z _ { X } ) .
|
| 395 |
+
$$
|
| 396 |
+
|
| 397 |
+
Combining with $I ( Z _ { X } ; T ) = H ( T ) - H ( T | Z _ { X } )$ and $I ( Z _ { X } ; T ) \ge I ( Z _ { X } ; S ) - I ( X ; S | T ) -$ $I ( Z _ { X } ; X | S , T )$ , we have
|
| 398 |
+
|
| 399 |
+
$$
|
| 400 |
+
\begin{array} { r } { \log ( 1 - P _ { e } ) \geq - H ( T ) + I ( Z _ { X } ; S ) - I ( X ; S | T ) - I ( Z _ { X } ; X | S , T ) . } \end{array}
|
| 401 |
+
$$
|
| 402 |
+
|
| 403 |
+
Hence,
|
| 404 |
+
|
| 405 |
+
$$
|
| 406 |
+
P _ { e } \leq 1 - \exp ^ { - \bigg ( H ( T ) + I ( X ; S | T ) + I ( Z ; X | S , T ) - I ( Z _ { X } ; S ) \bigg ) } .
|
| 407 |
+
$$
|
| 408 |
+
|
| 409 |
+
Next, by definition of the Bayes error rate, we know $\begin{array} { r } { 0 \leq P _ { e } \leq 1 - \frac { 1 } { | T | } } \end{array}$ .
|
| 410 |
+
|
| 411 |
+
We conclude the proof by combining Proposition 2, Ib(n)θ∗ (ZX ; S) − I(ZX ; S) ≤ $O \left( \sqrt { \frac { d + \log ( 1 / \delta ) } { n } } \right) .$
|
| 412 |
+
|
| 413 |
+
Theorem 8 (Bayes Error Rates for Self-supervised Learned Representations, restating Theorem 4 in the main text). Let $P _ { e } ^ { \mathrm { s u p } } / P _ { e } ^ { \mathrm { s s l } } / P _ { e } ^ { \mathrm { s s l } _ { \mathrm { m i n } } }$ be the Bayes error rate of the supervised or the self-supervised learned representations $Z _ { X } ^ { \mathrm { s u p } } / Z _ { X } ^ { \mathrm { s s l } } / Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } }$ . Then, $P _ { e } ^ { \mathrm { s s l } } = \mathrm { T h } ( \bar { P } _ { e } ^ { \mathrm { s s l } } )$ and $P _ { e } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } = \mathrm { T h } ( \bar { P } _ { e } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } )$ with
|
| 414 |
+
|
| 415 |
+
$$
|
| 416 |
+
- \frac { \log \left( 1 - P _ { e } ^ { \mathrm { s u p } } \right) + \log 2 } { \log \left( | T | \right) } \leq \{ \bar { P } _ { e } ^ { \mathrm { s s l } } , \bar { P } _ { e } ^ { \mathrm { s s l _ { m i n } } } \} \leq 1 - \exp ^ { - ( \log 2 + P _ { e } ^ { \mathrm { s u p } } \cdot \log | T | + \epsilon _ { \mathrm { i n f o } } ) } .
|
| 417 |
+
$$
|
| 418 |
+
|
| 419 |
+
Proof. We use the two inequalities between $P _ { e }$ and $H ( T | Z _ { X } )$ by Feder & Merhav (1994) and Cover & Thomas (2012):
|
| 420 |
+
|
| 421 |
+
$$
|
| 422 |
+
- \mathrm { l o g } ( 1 - P _ { e } ) \leq H ( T | Z _ { X } )
|
| 423 |
+
$$
|
| 424 |
+
|
| 425 |
+
and
|
| 426 |
+
|
| 427 |
+
$$
|
| 428 |
+
H ( T | Z _ { X } ) \leq \log 2 + P _ { e } \mathrm { l o g } | T | .
|
| 429 |
+
$$
|
| 430 |
+
|
| 431 |
+
Combining the results from Theorem 5:
|
| 432 |
+
|
| 433 |
+
$$
|
| 434 |
+
I ( Z _ { X } ^ { \mathrm { s u p } } ; T ) \ge I ( Z _ { X } ^ { \mathrm { s s l } } ; T ) \ge I ( Z _ { X } ^ { \mathrm { s s l _ { m i n } } } ; T ) \ge I ( Z _ { X } ^ { \mathrm { s u p } } ; T ) - \epsilon _ { \mathrm { i n f o } } ,
|
| 435 |
+
$$
|
| 436 |
+
|
| 437 |
+
we have
|
| 438 |
+
|
| 439 |
+
• the upper bound of the self-supervised learned representations’ Bayes error rate:
|
| 440 |
+
|
| 441 |
+
$$
|
| 442 |
+
\begin{array} { r l } { \{ { - \log ( 1 - P _ { e } ^ { \mathrm { s s l } } ) } , { - \log ( 1 - P _ { e } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ) } \} \le \{ H ( T | Z _ { X } ^ { \mathrm { s s l } } ) , H ( T | Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ) \} } & { } \\ { \le H ( T | Z _ { X } ^ { \mathrm { s u p } } ) + \epsilon _ { \mathrm { i n f o } } } & { } \\ { \le \log 2 + P _ { e } ^ { \mathrm { s u p } } \mathrm { l o g } | T | + \epsilon _ { \mathrm { i n f o } } , } \end{array}
|
| 443 |
+
$$
|
| 444 |
+
|
| 445 |
+
which suggests $\{ P _ { e } ^ { \mathrm { s s l } } , P _ { e } ^ { \mathrm { s s l _ { m i n } } } \} \le 1 - \exp ^ { - ( \log 2 + P _ { e } ^ { \mathrm { s u p } } \cdot \log | T | + \epsilon _ { \mathrm { i n f o } } ) }$
|
| 446 |
+
|
| 447 |
+
• the lower bound of the self-supervised learned representations’ Bayes error rate:
|
| 448 |
+
|
| 449 |
+
$$
|
| 450 |
+
\begin{array} { r l } & { - \mathrm { l o g } ( 1 - P _ { e } ^ { \mathrm { s u p } } ) \leq H ( T | Z _ { X } ^ { \mathrm { s u p } } ) } \\ & { \qquad \leq \{ H ( T | Z _ { X } ^ { \mathrm { s s l } } ) , H ( T | Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } ) \} } \\ & { \qquad \leq \{ \log 2 + P _ { e } ^ { \mathrm { s s l } } \mathrm { l o g } | T | , \leq \{ \log 2 + P _ { e } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } \mathrm { l o g } | T | \} , } \\ & { \mathrm { g e s t s } - \frac { \log \left( 1 - P _ { e } ^ { \mathrm { s u p } } \right) + \log 2 } { \log \left( | T | \right) } \leq \{ P _ { e } ^ { \mathrm { s s l } } , P _ { e } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } \} . } \end{array}
|
| 451 |
+
$$
|
| 452 |
+
|
| 453 |
+
We conclude the proof by having $P _ { e }$ lie in the feasible range: $\begin{array} { r } { 0 \leq P _ { e } \leq 1 - \frac { 1 } { | T | } } \end{array}$ .
|
| 454 |
+
|
| 455 |
+
# E TIGHTER BOUNDS FOR THE BAYES ERROR RATES
|
| 456 |
+
|
| 457 |
+
We note that the bound used in Theorems 7 and 8: $- \mathrm { l o g } ( 1 - P _ { e } ) \le H ( T | Z _ { X } ) \le \mathrm { l o g } 2 + P _ { e } \mathrm { l o g } | T |$ is not tight. A tighter bound is $H ^ { - } ( P _ { e } ) \leq H ( T | Z _ { X } ) \leq H ^ { + } ( P _ { e } )$ with
|
| 458 |
+
|
| 459 |
+
$$
|
| 460 |
+
H ^ { - } ( P _ { e } ) : = H { \Big ( } k ( 1 - P _ { e } ) { \Big ) } + k ( 1 - P _ { e } ) \log k { \mathrm { ~ w h e n ~ } } { \frac { k - 1 } { k } } \leq P _ { e } \leq { \frac { k } { k + 1 } } , 1 \leq k \leq | T | - 1 ,
|
| 461 |
+
$$
|
| 462 |
+
|
| 463 |
+
$$
|
| 464 |
+
H ^ { + } ( P _ { e } ) : = H ( P _ { e } ) + P _ { e } { \log { ( | T | - 1 ) } } ,
|
| 465 |
+
$$
|
| 466 |
+
|
| 467 |
+
where $H ( x ) = - x \mathrm { l o g } ( x ) - ( 1 - x ) \mathrm { l o g } ( 1 - x )$
|
| 468 |
+
|
| 469 |
+
It is clear that $- \mathrm { l o g } ( 1 - P _ { e } ) \le H ^ { - } ( P _ { e } )$ and $H ^ { + } ( P _ { e } ) \leq \log 2 + P _ { e } \mathrm { l o g } ( | T | )$
|
| 470 |
+
|
| 471 |
+
Hence, Theorem 7 and 8 can be improved as follows:
|
| 472 |
+
|
| 473 |
+
Theorem 9 (Tighter Bayes Error Rates for Arbitrary Learned Representations). For an arbitrary learned representations $Z _ { X }$ , $P _ { e } = \mathrm { T h } ( \bar { P } _ { e } )$ with $\bar { P } _ { e } \overset { \cdot } { \leq } P _ { e \mathrm { u p p e r } }$ . $P _ { e \mathrm { u p p e r } }$ is derived from the program
|
| 474 |
+
|
| 475 |
+
$$
|
| 476 |
+
\displaystyle \operatorname* { r g m a x } _ { P _ { e } } H ^ { - } ( P _ { e } ) \leq H ( T ) - \hat { I } _ { \boldsymbol { \theta } } ^ { ( n ) } ( Z _ { X } ^ { \mathrm { s } \bot } ; S ) + I ( X ; S | T ) + I ( Z _ { X } ; X | S , T ) + O \big ( \sqrt { \frac { d + \log ( 1 / \delta ) } { n } } \big ) .
|
| 477 |
+
$$
|
| 478 |
+
|
| 479 |
+
Theorem 10 (Tighter Bayes Error Rates for Self-supervised Learned Representations). Let $P _ { e } ^ { \mathrm { s u p } } / P _ { e } ^ { \mathrm { s s l } } / P _ { e } ^ { \mathrm { s s l } _ { \mathrm { m i n } } }$ be the Bayes error rate of the supervised or the self-supervised learned representations $Z _ { X } ^ { \mathrm { s u p } } / Z _ { X } ^ { \mathrm { s s l } } / Z _ { X } ^ { \mathrm { s s l } _ { \mathrm { m i n } } }$ . Then, $P _ { e } ^ { \mathrm { s s l } } = \mathrm { T h } ( \bar { P } _ { e } ^ { \mathrm { s s l } } )$ and $P _ { e } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } = \mathrm { T h } ( \bar { P } _ { e } ^ { \mathrm { s s l } _ { \mathrm { m i n } } } )$ with
|
| 480 |
+
|
| 481 |
+
$$
|
| 482 |
+
P _ { e \mathrm { l o w e r } } ^ { \mathrm { \scriptsize ~ s s l } } \le \{ \bar { P } _ { e } ^ { \mathrm { s s l } } , \bar { P } _ { e } ^ { \mathrm { s s l _ { m i n } } } \} \le P _ { e \mathrm { u p p e r } } ^ { \mathrm { \scriptsize ~ s s l } } .
|
| 483 |
+
$$
|
| 484 |
+
|
| 485 |
+
$P _ { e \mathrm { l o w e r } } ^ { \mathrm { \ s s l } }$ is derived from the following program
|
| 486 |
+
|
| 487 |
+
$$
|
| 488 |
+
\arg \operatorname* { m i n } _ { P _ { e } ^ { \mathrm { s s l } } } H ^ { - } ( P _ { e } ^ { \mathrm { s u p } } ) \leq H ^ { + } ( P _ { e } ^ { \mathrm { s s l } } )
|
| 489 |
+
$$
|
| 490 |
+
|
| 491 |
+
$P _ { e \mathrm { u p p e r } } ^ { \mathrm { s s l } }$
|
| 492 |
+
|
| 493 |
+
$$
|
| 494 |
+
\underset { P _ { e } ^ { \mathrm { s s } 1 } } { \arg \operatorname* { m a x } } H ^ { - } ( P _ { e } ^ { \mathrm { s s l } } ) \leq H ^ { + } ( P _ { e } ^ { \mathrm { s u p } } ) + \epsilon _ { \mathrm { i n f o } } .
|
| 495 |
+
$$
|
| 496 |
+
|
| 497 |
+
# F MORE ON VISUAL REPRESENTATION LEARNING EXPERIMENTS
|
| 498 |
+
|
| 499 |
+
In the main text, we design controlled experiments on self-supervised visual representation learning to empirically support our theorem and examine different compositions of SSL objectives. In this section, we will discuss 1) the architecture design; 2) different deployments of contrastive/ forward predictive learning; and 3) different self-supervised signal construction strategy. We argue that these three additional set of experiments may be interesting future work.
|
| 500 |
+
|
| 501 |
+
# F.1 ARCHITECTURE DESIGN
|
| 502 |
+
|
| 503 |
+
The input image has size $1 0 5 \times 1 0 5$ . For image augmentations, we adopt 1) rotation with degrees from $- 1 0 ^ { \circ }$ to $+ 1 0 ^ { \circ }$ ; 2) translation from $- 1 5$ pixels to $+ 1 5$ pixels; 3) scaling both width and height from 0.85 to 1.0; 4) scaling width from 0.85 to 1.25 while fixing the height; and 5) resizing the image to $2 8 \times 2 8$ . Then, a deep network takes a $2 8 \times 2 8$ image and outputs a 1024−dim. feature vector. The deep network has the structure: Conv − BN − ReLU − Conv − BN − ReLU − MaxPool − Conv − BN − ReLU − MaxPool − Conv −BN − ReLU − MaxPool − Flatten − Linear − L2Norm. Conv has 3x3 kernel size with 128 output channels, $\mathsf { M a x P o o l }$ has $2 \mathbf { x } 2$ kernel size, and Linear is a 1152 to 1024 weight matrix. $R ( \cdot )$ is symmetric to $F _ { X } ( \cdot )$ , which has Linear − BN − ReLU − UnFlatten $- \mathsf { D e } \mathsf { C o n v } - \mathsf { B N } - \mathsf { R e } \mathsf { L U } - \mathsf { D e } \mathsf { C o n v } - \mathsf { B N } - \mathsf { R e } \mathsf { L U } - \mathsf { D e } \mathsf { C o n v }$ −BN − ReLU − DeConv. $R ( \cdot )$ has the exact same number of parameters as $F _ { X } ( \cdot )$ . Note that we use the same network designs in $I ( \cdot , \cdot )$ and $H ( \cdot | \cdot )$ estimations. To reproduce the results in our experimental section, please refer to our released code8.
|
| 504 |
+
|
| 505 |
+

|
| 506 |
+
Figure 5: Comparisons for different objectives/compositions of SSL objectives on self-supervised visual representation training. We report mean and its standard error from 5 random trials.
|
| 507 |
+
|
| 508 |
+
# F.2 DIFFERENT DEPLOYMENTS FOR CONTRASTIVE AND PREDICTIVE LEARNING OBJECTIVES
|
| 509 |
+
|
| 510 |
+
In the main text, for practical deployments, we suggest Contrastive Predictive Coding (CPC) Oord et al. (2018) for $\operatorname { L } _ { C L }$ and assume Gaussian distribution for the variational distributions in $\mathrm { L } _ { F P } / \mathrm { L } _ { I P }$ The practical deployments can be abundant by using different mutual information approximations for $\operatorname { L } _ { C L }$ and having different distribution assumptions for $\mathrm { L } _ { F P } / \mathrm { L } _ { I P }$ . In the following, we discuss a few examples.
|
| 511 |
+
|
| 512 |
+
Contrastive Learning. Other than CPC Oord et al. (2018), another popular contrastive learning objective is JS Bachman et al. (2019), which is the lower bound of Jensen-Shannon divergence between $P ( Z _ { S } , Z _ { X } )$ and $P ( Z _ { S } ) P ( Z _ { X } )$ (a variational bound of mutual information). Its objective can be written as
|
| 513 |
+
|
| 514 |
+
$$
|
| 515 |
+
\operatorname* { m a x } _ { \substack { \tau _ { S } = F _ { S } ( S ) , Z _ { X } = F _ { X } ( X ) , G } } \mathbb { E } _ { P ( Z _ { S } , Z _ { X } ) } [ - \mathrm { s o f t p l u s } ( - \langle G ( z _ { x } ) , G ( z _ { s } ) \rangle ) ] - \mathbb { E } _ { P ( Z _ { S } ) P ( Z _ { X } ) } [ \mathrm { s o f t p l u s } ( \langle G ( z _ { x } ) , G ( z _ { x } ) \rangle ) ] .
|
| 516 |
+
$$
|
| 517 |
+
|
| 518 |
+
where we use softplus to denote softplus $\left( x \right) = \log \left( 1 + \exp \left( x \right) \right)$ .
|
| 519 |
+
|
| 520 |
+
Predictive Learning. Gaussian distribution may be the simplest distribution form that we can imagine, which leads to Mean Square Error (MSE) reconstruction loss. Here, we use forward predictive learning as an example, and we discuss the case when $s$ lies in discrete $\{ 0 , 1 \}$ sample space. Specifically, we let $Q _ { \phi } ( S | Z _ { X } )$ be factorized multivariate Bernoulli:
|
| 521 |
+
|
| 522 |
+
$$
|
| 523 |
+
\operatorname* { m a x } _ { Z _ { X } = F _ { X } ( X ) , R } \mathbb { E } _ { P _ { S } , z _ { X } } \left[ \sum _ { i = 1 } ^ { p } s _ { i } \cdot \log \left[ R ( z _ { x } ) \right] _ { i } + ( 1 - s _ { i } ) \cdot \log \left[ 1 - R ( z _ { x } ) \right] _ { i } \right] .
|
| 524 |
+
$$
|
| 525 |
+
|
| 526 |
+
This objective leads to Binary Cross Entropy (BCE) reconstruction loss.
|
| 527 |
+
|
| 528 |
+
If we assume each reconstruction loss corresponds to a particular distribution form, then by ignoring which variatioinal distribution we choose, we are free to choose arbitrary reconstruction loss. For instance, by switching $s$ and $z$ in eq. equation 5, the objective can be regarded as Reverse Binary Cross Entropy Loss (RevBCE) reconstruction loss. In our experiments, we find RevBCE works the best among {MSE, BCE, and RevBCE}. Therefore, in the main text, we choose RevBCE as the example reconstruction loss as $\mathrm { L } _ { F P }$ .
|
| 529 |
+
|
| 530 |
+
More Experiments. We provide an additional set of experiments by having {CPC, JS} for $\operatorname { L } _ { C L }$ and {MSE, BCE, RevBCE} reconstruction loss for $\mathrm { L } _ { F P }$ in Figure 5. From the results, we find different formulation of objectives bring very different test generalization performance. We argue that, given a particular task, it is challenging but important to find the best deployments for contrastive and predictive learning objectives.
|
| 531 |
+
|
| 532 |
+
# F.3 DIFFERENT SELF-SUPERVISED SIGNAL CONSTRUCTION STRATEGY
|
| 533 |
+
|
| 534 |
+
In the main text, we design a self-supervised signal construction strategy that the input $( X )$ and the self-supervised signal $( S )$ differ in {drawing styles, image augmentations}. This self-supervised signal construction strategy is different from the one that is commonly adopted in most self-supervised visual representation learning work Tian et al. (2019); Bachman et al. (2019); Chen et al. (2020). Specifically, prior work consider the difference between input and the self-supervised signal only in image augmentations. We provide additional experiments in Fig. 6 to compare these two different self-supervised signal construction strategies.
|
| 535 |
+
|
| 536 |
+
We see that, comparing to the common self-supervised signal construction strategy Tian et al. (2019); Bachman et al. (2019); Chen et al. (2020), the strategy introduced in our controlled experiments has much better generalization ability to test set. It is worth noting that, although our construction strategy has access to the label information (i.e., we sample the self-supervised signal image from the same character with the input image), our SSL objectives do not train with the labels. Nonetheless, since we implicitly utilize the label information in our self-supervised construction strategy, it will be unfair to directly compare our strategy and prior one. An interesting future research direction is examining different self-supervised signal construction strategy and even combine full/part of label information into self-supervised learning.
|
| 537 |
+
|
| 538 |
+

|
| 539 |
+
Figure 6: Comparisons for different self-supervised signal construction strategies. The differences between the input and the self-supervised signals are {drawing styles, image augmentations} for our construction strategy and only {image augmentations} for SimCLR Chen et al. (2020)’s strategy. We choose $\operatorname { L } _ { C L }$ as our objective, reporting mean and its standard error from 5 random trials.
|
| 540 |
+
|
| 541 |
+
# G METRICS IN VISUAL-TEXTUAL REPRESENTATION LEARNING
|
| 542 |
+
|
| 543 |
+
• Subset Accuracy $( A )$ Sorower, also know as the Exact Match Ratio (MR), ignores all partially correct (consider them incorrect) outputs and extend accuracy from the single label case to the multi-label setting.
|
| 544 |
+
|
| 545 |
+
$$
|
| 546 |
+
M R = \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \mathbb { 1 } _ { [ Y _ { i } = H _ { i } ] }
|
| 547 |
+
$$
|
| 548 |
+
|
| 549 |
+
• Micro AUC ROC score Fawcett (2006) computes the AUC (Area under the curve) of a receiver operating characteristic (ROC) curve.
|
parse/train/-bdp_8Itjwp/-bdp_8Itjwp_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/-bdp_8Itjwp/-bdp_8Itjwp_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/-bdp_8Itjwp/-bdp_8Itjwp_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HJz05o0qK7/HJz05o0qK7.md
ADDED
|
@@ -0,0 +1,404 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MEASURING COMPOSITIONALITY IN REPRESENTATION LEARNING
|
| 2 |
+
|
| 3 |
+
Jacob Andreas Computer Science Division University of California, Berkeley jda@cs.berkeley.edu
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Many machine learning algorithms represent input data with vector embeddings or discrete codes. When inputs exhibit compositional structure (e.g. objects built from parts or procedures from subroutines), it is natural to ask whether this compositional structure is reflected in the the inputs’ learned representations. While the assessment of compositionality in languages has received significant attention in linguistics and adjacent fields, the machine learning literature lacks general-purpose tools for producing graded measurements of compositional structure in more general (e.g. vector-valued) representation spaces. We describe a procedure for evaluating compositionality by measuring how well the true representation-producing model can be approximated by a model that explicitly composes a collection of inferred representational primitives. We use the procedure to provide formal and empirical characterizations of compositional structure in a variety of settings, exploring the relationship between compositionality and learning dynamics, human judgments, representational similarity, and generalization.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
The success of modern representation learning techniques has been accompanied by an interest in understanding the structure of learned representations. One feature shared by many humandesigned representation systems is compositionality: the capacity to represent complex concepts (from objects to procedures to beliefs) by combining simple parts (Fodor & Lepore, 2002). While many machine learning approaches make use of human-designed compositional analyses for representation and prediction (Socher et al., 2013; Dong & Lapata, 2016), it is also natural to ask whether (and how) compositionality arises in learning problems where compositional structure has not been built in from the start. Consider the example in Figure 1, which shows a hypothetical character-based encoding scheme learned for a simple communication task (similar to the one studied by Lazaridou et al., 2016).
|
| 12 |
+
|
| 13 |
+

|
| 14 |
+
Figure 1: Representations arising from a communication game. In this game, an observation (b) is presented to a learned speaker model (c), which encodes it as a discrete character sequence (d) to be consumed by a listener model for some downstream task. The space of inputs has known compositional structure (a). We want to measure the extent to which this structure is reflected (perhaps imperfectly) in the structure of the learned codes.
|
| 15 |
+
|
| 16 |
+
Is this encoding scheme compositional? That is, to what extent can we analyze the agents’ messages as being built from smaller pieces (e.g. pieces xx meaning blue and bb meaning triangle)?
|
| 17 |
+
|
| 18 |
+
A large body of work, from early experiments on language evolution to recent deep learning models (Kirby, 1998; Lazaridou et al., 2017), aims to answer questions like this one. But existing solutions rely on manual (and often subjective) analysis of model outputs (Mordatch & Abbeel, 2017), or at best automated procedures tailored to the specifics of individual problem domains (Brighton & Kirby, 2006). They are difficult to compare and difficult to apply systematically.
|
| 19 |
+
|
| 20 |
+
We are left with a need for a standard, formal, automatable and quantitative technique for evaluating claims about compositional structure in learned representations. The present work aims at first steps toward meeting that need. We focus on an oracle setting where the compositional structure of model inputs is known, and where the only question is whether this structure is reflected in model outputs. This oracle evaluation paradigm covers most of the existing representation learning problems in which compositionality has been studied.
|
| 21 |
+
|
| 22 |
+
The first contribution of this paper is a simple formal framework for measuring how well a collection of representations (discrete- or continuous-valued) reflects an oracle compositional analysis of model inputs. We propose an evaluation metric called TRE, which provides graded judgments of compositionality for a given set of (input, representation) pairs. The core of our proposal is to treat a set of primitive meaning representations as hidden, and optimize over them to find an explicitly compositional model that approximates the true model as well as possible. For example, if the compositional structure that describes an object is a simple conjunction of attributes, we can search for a collection of “attribute vectors” that sum together to produce the observed object representations; if it is a sparse combination of (attribute, value) pairs we can additionally search for “value vectors” and parameters of a binding operation; and so on for more complex compositions.
|
| 23 |
+
|
| 24 |
+
Having developed a tool for assessing the compositionality of representations, the second contribution of this paper is a survey of applications. We present experiments and analyses aimed at answering four questions about the relationship between compositionality and learning:
|
| 25 |
+
|
| 26 |
+
• How does compositionality of representations evolve in relation to other measurable model properties over the course of the learning process? (Section 4)
|
| 27 |
+
• How well does compositionality of representations track human judgments about the compositionality of model inputs? (Section 5)
|
| 28 |
+
• How does compositionality constrain distances between representations, and how does TRE relate to other methods that analyze representations based on similarity? (Section 6)
|
| 29 |
+
• Are compositional representations necessary for generalization to out-of-distribution inputs? (Section 7)
|
| 30 |
+
|
| 31 |
+
We conclude with a discussion of possible applications and generalizations of TRE-based analysis.
|
| 32 |
+
|
| 33 |
+
# 2 RELATED WORK
|
| 34 |
+
|
| 35 |
+
Arguments about whether distributed (and other non-symbolic) representations could model compositional phenomena were a staple of 1980s-era connectionist–classicist debates. Smolensky (1991) provides an overview of this discussion and its relation to learnability, as well as a concrete implementation of a compositional encoding scheme with distributed representations. Since then, numerous other approaches for compositional representation learning have been proposed, with (Mitchell & Lapata, 2008; Socher et al., 2012) and without (Dircks & Stoness, 1999; Havrylov & Titov, 2017) the scaffolding of explicit composition operations built into the model.
|
| 36 |
+
|
| 37 |
+
The main experimental question is thus when and how compositionality arises “from scratch” in the latter class of models. In order to answer this question it is first necessary to determine whether compositional structure is present at all. Most existing proposals come from linguistics and and philosophy, and offer evaluations of compositionality targeted at analysis of formal and natural languages (Carnap, 1937; Lewis, 1976). Techniques from this literature are specialized to the details of linguistic representations—particularly the algebraic structure of grammars (Montague, 1970). It is not straightforward to apply these techniques in more general settings, particularly those featuring non-string-valued representation spaces. We are not aware of existing work that describes a procedure suitable for answering questions about compositionality in the general case.
|
| 38 |
+
|
| 39 |
+
Machine learning research has responded to this absence in several ways. One class of evaluations (Mordatch & Abbeel, 2017; Choi et al., 2018) derives judgments from ad-hoc manual analyses of representation spaces. These analyses provide insight into the organization of representations but are time-consuming and non-reproducible. Another class of evaluations (Brighton, 2002; Andreas & Klein, 2017; Bogin et al., 2018) exploits task-specific structure (e.g. the ability to elicit pairs of representations known to feature particular relationships) to give evidence of compositionality. Our work aims to provide a standard and scalable alternative to these model- and task-specific evaluations.
|
| 40 |
+
|
| 41 |
+
Other authors refrain from measuring compositionality directly, and instead base analysis on measurement of related phenomena, for which more standardized evaluations exist. Examples include correlation between representation similarity and similarity of oracle compositional analyses (Brighton & Kirby, 2006) and generalization to structurally novel inputs (Kottur et al., 2017). Our approach makes it possible to examine the circumstances under which these surrogate measures in fact track stricter notions of compositionality; similarity is discussed in Sec. 6 and generalization in Sec. 7.
|
| 42 |
+
|
| 43 |
+
A long line of work in natural language processing (Coecke et al., 2010; Baroni & Zamparelli, 2010; Clark, 2012; Fyshe et al., 2015) focuses on learning composition functions to produce distributed representations of phrases and sentences—that is, for purposes of modeling rather than evaluation. We use one experiment from this literature to validate our own approach (Section 5). On the whole, we view work on compositional representation learning in NLP as complementary to the framework presented here: our approach is agnostic to the particular choice of composition function, and the aforementioned references provide well-motivated choices suitable for evaluating data from language and other sources. Indeed, one view of the present work is simply as a demonstration that we can take existing NLP techniques for compositional representation learning, fit them to representations produced by other models (even in non-linguistic settings), and view the resulting training loss as a measure of the compositionality of the representation system in question.
|
| 44 |
+
|
| 45 |
+
# 3 EVALUATING COMPOSITIONALITY
|
| 46 |
+
|
| 47 |
+
Consider again the communication task depicted in Figure 1. Here, a speaker model observes a target object described by a feature vector. The speaker sends a message to a listener model, which uses the message to complete a downstream task—for example, identifying the referent from a collection of distractors based on the content of the message (Enquist & Arak, 1994; Lazaridou et al., 2017). Messages produced by the speaker model serve as representations of input objects; we want to know if these representations are compositional. Crucially, we may already know something about the structure of the inputs themselves. In this example, inputs can be identified via composition of categorical shape and color attributes. How might we determine whether this oracle analysis of input structure is reflected in the structure of representations? This section proposes an automated procedure for answering the question.
|
| 48 |
+
|
| 49 |
+
Representations A representation learning problem is defined by a dataset $\mathcal { X }$ of observations $x$ (Figure 1b); a space $\Theta$ of representations $\theta$ (Figure 1d); and a model $f : \mathcal { X } \Theta$ (Figure 1c). We assume that the representations produced by $f$ are used in a larger system to accomplish some concrete task, the details of which are not important for our analysis.
|
| 50 |
+
|
| 51 |
+
Derivations The technique we propose additionally assumes we have prior knowledge about the compositional structure of inputs. In particular, we assume that inputs can be labeled with treestructured derivations $d$ (Figure 1a), defined by a finite set $\mathcal { D } _ { 0 }$ of primitives and a binary bracketing operation $\langle \cdot , \cdot \rangle$ , such that if $d _ { i }$ and $d _ { j }$ are derivations, $\langle d _ { i } , d _ { j } \rangle$ is a derivation. Derivations are produced by a derivation oracle $D : \mathcal { X } \mathcal { D }$ .
|
| 52 |
+
|
| 53 |
+
Compositionality In intuitive terms, the representations computed by $f$ are compositional if each $f ( x )$ is determined by the structure of $D ( x )$ . Most discussions of compositionality, following Montague (1970), make this precise by defining a composition operation $\theta _ { a } * \theta _ { b } \mapsto \theta$ in the space of representations. Then the model $f$ is compositional if it is a homomorphism from inputs to representations: we require that for any $x$ with $D ( x ) = \langle D ( x _ { a } ) , D ( x _ { b } ) \rangle$ ,
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
f ( x ) = f ( x _ { a } ) * f ( x _ { b } ) .
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
In the linguistic contexts for which this definition was originally proposed, it is straightforward to apply. Inputs $x$ are natural language strings. Their associated derivations $D ( x )$ are syntax trees, and composition of derivations is syntactic composition. Representations $\theta$ are logical representations of meaning (for an overview see van Benthem $\&$ ter Meulen, 1996). To argue that a particular fragment of language is compositional, it is sufficient to exhibit a lexicon $\mathcal { D } _ { 0 }$ mapping words to their associated meaning representations, and a grammar for composing meanings where licensed by derivations. Algorithms for learning grammars and lexicons from data are a mainstay of semantic parsing approaches to language understanding problems like question answering and instruction following (Zettlemoyer & Collins, 2005; Chen, 2012; Artzi et al., 2014).
|
| 60 |
+
|
| 61 |
+
But for questions of compositionality involving more general representation spaces and more general analyses, the above definition presents two difficulties: (1) In the absence of a clearly-defined syntax of the kind available in natural language, how do we identify lexicon entries: the primitive parts from which representations are constructed? (2) What do we do with languages like the one in Figure 1d, which seem to exhibit some kind of regular structure, but for which the homomorphism condition given in Equation 1 cannot be made to hold exactly?
|
| 62 |
+
|
| 63 |
+
Consider again the example in Figure 1. The oracle derivations tell us to identify primitive representations for dark, blue, green, square, and triangle. The derivations then suggest a process for composing these primitives (e.g. via string concatenation) to produce full representations. The speaker model is compositional (in the sense of Equation 1) as long as there is some assignment of representations to primitives such that for each model input, composing primitive representations according to the oracle derivation reproduces the speaker’s prediction.
|
| 64 |
+
|
| 65 |
+
In Figure 1 there is no assignment of strings to primitives that reproduces model predictions exactly. But predictions can be reproduced approximately—by taking $\times \times$ to mean blue, aa to mean square, etc. The quality of the approximation serves as a measure of the compositionality of the true predictor: predictors that are mostly compositional but for a few exceptions, or compositional but for the addition of some noise, will be well-approximated on average, while arbitrary mappings from inputs to representations will not. This suggests that we should measure compositionality by searching for representations that allow an explicitly compositional model to approximate the true $f$ as closely as possible. We define our evaluation procedure as follows:
|
| 66 |
+
|
| 67 |
+
# Tree Reconstruction Error (TRE)
|
| 68 |
+
|
| 69 |
+
First choose :
|
| 70 |
+
|
| 71 |
+
• a distance function $\delta : \Theta \times \Theta \to [ 0 , \infty )$ satisfying $\delta ( \theta , \theta ^ { \prime } ) = 0 \Leftrightarrow \theta = \theta ^ { \prime }$ • a composition function $\ast : \Theta \times \Theta \to \Theta$
|
| 72 |
+
|
| 73 |
+
Define $\hat { f } _ { \eta } ( d )$ , a compositional approximation to $f$ with parameters $\eta$ , as:
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
\begin{array} { c } { { \hat { f } _ { \eta } ( d _ { i } ) = \eta _ { i } } } \\ { { \hat { f } _ { \eta } \big ( \langle d , d ^ { \prime } \rangle \big ) = \hat { f } _ { \eta } ( d ) * \hat { f } _ { \eta } ( d ^ { \prime } ) } } \end{array}
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
\begin{array} { l } { \mathrm { f o r } d _ { i } \in \mathcal { D } _ { 0 } } \\ { \mathrm { f o r } \mathrm { a l l } \mathrm { o t h e r } d } \end{array}
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
$\hat { f } _ { \eta }$ has one parameter vector $\eta _ { i }$ for every $d _ { i }$ in $\mathcal { D } _ { 0 }$ ; these vectors are members of the representation space $\Theta$ .
|
| 84 |
+
|
| 85 |
+
Given a dataset $\mathcal { X }$ of inputs $x _ { i }$ with derivations $d _ { i } = D ( x _ { i } )$ , compute:
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\eta ^ { * } = \arg \operatorname* { m i n } _ { \eta } \sum _ { i } \delta { \big ( } f ( x _ { i } ) , { \hat { f } } _ { \eta } ( d _ { i } ) { \big ) }
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
Then we can define datum- and dataset-level evaluation metrics:
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
\begin{array} { c } { { \mathrm { T R E } ( x ) = \displaystyle \delta \big ( f ( x ) , \hat { f } _ { \eta ^ { * } } ( d ) \big ) } } \\ { { \mathrm { T R E } ( \mathcal { X } ) = \displaystyle \frac { 1 } { n } \sum _ { i } \mathrm { T R E } ( x _ { i } ) } } \end{array}
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
TRE and compositionality How well does the evaluation metric $\mathrm { T R E } ( \mathcal { X } )$ capture the intuition behind Equation 1? The definition above uses parameters $\eta _ { i }$ to witness the constructability of representations from parts, in this case by explicitly optimizing over those parts rather than taking them to be given by $f$ . Each term in Equation 2 is analogous to an instance of Equation 1, measuring how well $\hat { f } _ { \eta ^ { * } } ( x _ { i } )$ , the best compositional prediction, matches the true model prediction $f ( x _ { i } )$ . In the case of models that are homomorphisms in the sense of Equation 1, TRE reduces to the familiar case:
|
| 98 |
+
|
| 99 |
+
Remark 1. $\mathrm { T R E } ( x ) = 0$ for all $x$ if and only if Equation 1 holds exactly (that is, $f ( x ) = f ( x _ { a } ) * f ( x _ { b } )$ for any $x , x _ { a } , x _ { b }$ with $D ( x ) = \langle D ( x _ { a } ) , D ( x _ { b } ) \rangle \rangle$ .
|
| 100 |
+
|
| 101 |
+
Proof. One direction follows immediately from defining ${ \hat { f } } _ { \eta ^ { * } } ( x ) = f ( x )$ . For the other, $f ( x ) =$ ${ \hat { f } } ( D ( x ) ) = { \hat { f } } ( \langle D ( x _ { a } ) , D ( x _ { b } ) \rangle ) = { \hat { f } } ( D ( x _ { a } ) ) * { \hat { f } } ( D ( x _ { b } ) ) = f ( x _ { a } ) * f ( x _ { b } ) .$
|
| 102 |
+
|
| 103 |
+
Learnable composition operators The definition of TRE leaves the choice of $\delta$ and $* \ \mathrm { u p }$ to the evaluator. Indeed, if the exact form of the composition function is not known a priori, it is natural to define $^ *$ with free parameters (as in e.g. Baroni & Zamparelli, 2010), treat these as another learned part of $\hat { f }$ , and optimize them jointly with the $\eta _ { i }$ . However, some care must be taken when choosing $^ *$ (especially when learning it) to avoid trivial solutions:
|
| 104 |
+
|
| 105 |
+
Remark 2. Suppose $D$ is injective; that is, every $x \in \mathcal { X }$ is assigned a unique derivation. Then there is always some $^ *$ that achieves $\mathrm { T R E } ( \mathcal { X } ) = 0$ : simply define $f ( x _ { a } ) * f ( x _ { b } ) = f ( x ) .$ for any $x , x _ { a } , x _ { b }$ as in the preceding definition, and set ${ \hat { f } } = f$ .
|
| 106 |
+
|
| 107 |
+
In other words, some pre-commitment to a restricted composition function is essentially inevitable: if we allow the evaluation procedure to select an arbitrary composition function, the result will be trivial. This paper features experiments with $^ *$ in both a fixed functional form and a learned parametric one.
|
| 108 |
+
|
| 109 |
+
Implementation details For models with continuous $\Theta$ and differentiable $\delta$ and $^ *$ , $\mathrm { T R E } ( \mathcal { X } )$ is also differentiable. Equation 2 can be solved using gradient descent. We use this strategy in Sections 4 and 5. For discrete $\Theta$ , it may be possible to find a continuous relaxation with respect to which $\delta ( \theta , \cdot )$ and $^ *$ are differentiable, and gradient descent again employed. We use this strategy in Section 7 (discussed further there). An implementation of an SGD-based TRE solver is provided in the accompanying software release. For other problems, task-specific optimizers (e.g. machine translation alignment models; Bogin et al., 2018) or general-purpose discrete optimization toolkits can be applied to Equation 2.
|
| 110 |
+
|
| 111 |
+
The remainder of the paper highlights ways of using TRE to answer questions about compositionality that arise in machine learning problems of various kinds.
|
| 112 |
+
|
| 113 |
+
# 4 COMPOSITIONALITY AND LEARNING DYNAMICS
|
| 114 |
+
|
| 115 |
+
We begin by studying the relationship between compositionality and learning dynamics, focusing on the information bottleneck theory of representation learning proposed by Tishby & Zaslavsky (2015). This framework proposes that learning in deep models consists of an error minimization phase followed by a compression phase, and that compression is characterized by a decrease in the mutual information between inputs and their computed representations. We investigate the hypothesis that the compression phase finds a compositional representation of the input distribution, isolating decision-relevant attributes and discarding irrelevant information.
|
| 116 |
+
|
| 117 |
+
Data comes from a few-shot classification task. Because our analysis focuses on compositional hypothesis classes, we use visual concepts from the Color MNIST dataset of Seo et al. (2017) (Figure 2). We predict classifiers in a meta-learning framework (Schmidhuber, 1987; Santoro et al., 2016): for each sub-task, the learner is presented with two images corresponding to some compositional visual concept (e.g. “digit 8 on a black background” or “green with heavy stroke”) and must determine whether a held-out image is an example of the same visual concept.
|
| 118 |
+
|
| 119 |
+

|
| 120 |
+
Figure 2: Meta-learning task: learners are presented with two example images depicting a visual concept (a), and must determine whether a third image (b) is an example of the same concept (c).
|
| 121 |
+
|
| 122 |
+

|
| 123 |
+
Figure 3: Relationship between reconstruction error TRE and mutual information $I ( \theta ; X )$ between inputs and representations. (a) Evolution of the two quantities over the course of a single run. Both initially increase, then decrease. The color bar shows the training epoch. (b) Values from ten training runs. (c) Values from the second half of each training run, taken to begin when $I ( \theta ; X )$ reaches a maximum. In (b) and (c), the observed correlation is significant: respectively $\mathrm { \Delta } r = 0 . 7 0$ , $p < 1 e { - } 1 0 )$ ) and $\mathrm { \Delta } r = 0 . 7 1$ , $p < 1 e { - 8 } )$ .
|
| 124 |
+
|
| 125 |
+
Given example images $x _ { 1 }$ and $x _ { 2 }$ , a test image $x ^ { * }$ , and label $y ^ { * }$ , the model computes:
|
| 126 |
+
|
| 127 |
+
$$
|
| 128 |
+
\begin{array} { r l } & { z _ { i } = { \mathtt { C N N } } ( x _ { i } ) \mathrm { ~ f o r ~ } i \in \{ 1 , 2 , * \} } \\ & { \theta = \operatorname { t a n h } ( W ( z _ { 1 } + z _ { 2 } ) ) } \\ & { \hat { y } = \theta ^ { \top } z _ { t } } \end{array}
|
| 129 |
+
$$
|
| 130 |
+
|
| 131 |
+
We use $\theta$ as the representation of a classifier for analysis. The model is trained to minimize the logistic loss between logits $\hat { y }$ and ground-truth labels $y ^ { * }$ . More details are given in Appendix A.
|
| 132 |
+
|
| 133 |
+
Compositional structure Visual concepts used in this task are all single attributes or conjunctions of attributes; i.e. their associated derivations are of the form attr or $\langle \arctan _ { \mathsf { 1 } } , \mathsf { a t t r } _ { \mathsf { 2 } } \rangle$ . Attributes include background color, digit color, digit identity and stroke type. The composition function $^ *$ is addition and the distance $\delta ( \theta , \theta ^ { \prime } )$ is cosine similarity $1 - \theta ^ { \top } \theta ^ { \prime } / ( \lVert \theta \rVert \lVert \theta ^ { \prime } \rVert )$ .
|
| 134 |
+
|
| 135 |
+
Evaluation The training dataset consists of 9000 image triplets, evenly balanced between positive and negative classes, with a validation set of 500 examples. At convergence, the model achieves validation accuracy of $7 5 . 2 \%$ on average over ten training runs. (Perfect accuracy is not possible because the true classifier is not fully determined by two training examples). We explore the relationship between the information bottleneck and compositionality by comparing $\mathrm { T R E } ( \mathcal { X } )$ to the mutual information $I ( \theta ; x )$ between representations and inputs over the course of training. Both quantities are computed on the validation set, calculating $\mathrm { T R E } ( \mathcal { X } )$ as described in Section 3 and $I ( \theta ; X )$ as described in Shwartz-Ziv & Tishby (2017). (For discussion of limitations of this approach to computing mutual information between inputs and representations, see Saxe et al., 2018.)
|
| 136 |
+
|
| 137 |
+
Figure 3 shows the relationship between $\mathrm { T R E } ( \mathcal { X } )$ and $I ( \theta ; X )$ . Recall that small TRE is indicative of a high degree of compositionality. It can be seen that both mutual information and reconstruction error are initially low (because representations initially encode little about distinctions between inputs). Both increase over the course of training, and decrease together after mutual information reaches a maximum (Figure 3a). This pattern holds if we plot values from multiple training runs at the same time (Figure 3b), or if we consider only the postulated compression phase (Figure 3c). These results are consistent with the hypothesis that compression in the information bottleneck framework is associated with the discovery of compositional representations.
|
| 138 |
+
|
| 139 |
+
# 5 COMPOSITIONALITY AND HUMAN JUDGMENTS
|
| 140 |
+
|
| 141 |
+
Next we investigate a more conventional representation learning task. High-dimensional embeddings of words and phrases are useful for many natural language processing applications (Turian et al., 2010), and many techniques exist to learn them from unlabeled text (Deerwester et al., 1990; Mikolov et al., 2013). The question we wish to explore is not whether phrase vectors are compositional in aggregate, but rather how compositional individual phrase representations are. Our hypothesis is that bigrams whose representations have low TRE are those whose meaning is essentially compositional, and well-explained by the constituent words, while bigrams with large reconstruction error will correspond to non-compositional multi-word expressions (Nattinger & DeCarrico, 1992).
|
| 142 |
+
|
| 143 |
+
This task is already well-studied in the natural language processing literature (Salehi et al., 2015), and the analysis we present differs only in the use of TRE to search for atomic representations rather than taking them to be given by pre-trained word representations. Our goal is to validate our approach in a language processing context, and show how existing work on compositionality (and representations of natural language in particular) fit into the more general framework proposed in the current paper.
|
| 144 |
+
|
| 145 |
+
We train embeddings for words and bigrams using the CBOW objective of Mikolov et al. (2013) using the implementation provided in FastText (Bojanowski et al., 2017) with 100-dimensional vectors and a context size of 5. Vectors are estimated from a 250M-word subset of the Gigaword dataset (Parker et al., 2011). More details are provided in Appendix A.
|
| 146 |
+
|
| 147 |
+
Compositional structure We want to know how close phrase embeddings are to the composition of their constituent word embeddings. We define derivations for words and phrases in the natural way: single words $w$ have primitive derivations $d = w$ ; bigrams $w _ { 1 } w _ { 2 }$ have derivations of the form $\langle w _ { 1 } , w _ { 2 } \rangle$ . The composition function is again vector addition and distance is cosine distance. (Future work might explore learned composition functions as in e.g. Grefenstette et al., 2013, for future work.) We compare bigram-level judgments of compositionality computed by TRE with a dataset of human judgments about noun–noun compounds (Reddy et al., 2011). In this dataset, humans rate bigrams as compositional on a scale from 0 to 5, with highly conventionalized phrases like gravy train assigned low scores and graduate student assigned high ones.
|
| 148 |
+
|
| 149 |
+
Results We reproduce the results of Salehi et al. (2015) within the tree reconstruction error framework: for a given $x$ , $\mathrm { T R E } ( x )$ is anticorrelated with human judgments of compositionality $\zeta = - 0 . 3 4$ , $p < 0 . 0 1 $ ). Collocations rated “most compositional” by our approach (i.e. with lowest TRE) are: application form, polo shirt, research project; words rated “least compositional” are fine line, lip service, and nest egg.
|
| 150 |
+
|
| 151 |
+
# 6 COMPOSITIONALITY AND SIMILARITY
|
| 152 |
+
|
| 153 |
+
The next section aims at providing a formal, rather than experimental, characterization of the relationship between TRE and another perspective on the analysis of representations with help from oracle derivations. Brighton & Kirby (2006) introduce a notion of topographic similarity, arguing that a learned representation captures relevant domain structure if distances between learned representations are correlated with distances between their associated derivations. This can be viewed as providing a weak form of evidence for compositionality—if the distance function rewards pairs of representations that share overlapping substructure (as might be the case with e.g. string edit distance), edit distance will be expected to correlate with some notion of derivational similarity (Lazaridou et al., 2018).
|
| 154 |
+
|
| 155 |
+
In this section we aim to clarify the relationship between the two evaluations. To do this we first need to equip the space of derivations described in Section 3 with a distance function. As the derivations considered in this paper are all tree-structured, it is natural to use a simple tree edit distance (Bille, 2005) for this purpose. We claim the following:
|
| 156 |
+
|
| 157 |
+
Proposition 1. Let $\hat { f } = \hat { f } _ { \eta ^ { * } }$ be an approximation to $f$ estimated as in Equation 2, with all $\mathrm { T R E } ( x ) \leq \epsilon$ for some . Let $\Delta$ be the tree edit distance (defined formally in Appendix B, Definition 2), and let δ be any distance on $\Theta$ satisfying the following properties:
|
| 158 |
+
|
| 159 |
+
$$
|
| 160 |
+
\delta ( \hat { f } ( d _ { i } ) , \hat { f } ( d _ { j } ) ) \leq 1 f o r d _ { i } , d _ { j } \in \mathcal { D } _ { 0 }
|
| 161 |
+
$$
|
| 162 |
+
|
| 163 |
+
2. $\delta ( { \hat { f } } ( d ) , 0 ) \leq 1$ for $d \in \mathcal { D } _ { 0 }$ , where 0 is the identity element for $^ *$
|
| 164 |
+
|
| 165 |
+
3. $\delta ( \theta _ { i } \ast \theta _ { j } , \theta _ { k } \ast \theta _ { \ell } ) \leq \delta ( \theta _ { i } , \theta _ { k } ) + \delta ( \theta _ { j } , \theta _ { \ell } ) .$ . (This condition is satisfied by any translation-invariant metric.)
|
| 166 |
+
|
| 167 |
+
Then $\Delta$ is an approximate upper bound on $\delta$ : for any $x$ , $x ^ { \prime }$ with $d = D ( x )$ , $d ^ { \prime } = D ( x ^ { \prime } )$
|
| 168 |
+
|
| 169 |
+
$$
|
| 170 |
+
\delta ( f ( x ) , f ( x ^ { \prime } ) ) \leq \Delta ( d , d ^ { \prime } ) + 2 \epsilon .
|
| 171 |
+
$$
|
| 172 |
+
|
| 173 |
+
In other words, representations cannot be much farther apart than the derivations that produce them.
|
| 174 |
+
Proof is provided in Appendix B.
|
| 175 |
+
|
| 176 |
+
We emphasize that small TRE is not a sufficient condition for topographic similarity as defined by Brighton & Kirby (2006): very different derivations might be associated with the same representation (e.g. when representing arithmetic expressions by their results). But this result does demonstrate that compositionality imposes some constraints on the inferences that can be drawn from similarity judgments between representations.
|
| 177 |
+
|
| 178 |
+
# 7 COMPOSITIONALITY AND GENERALIZATION
|
| 179 |
+
|
| 180 |
+
In our final set of experiments, we investigate the relationship between compositionality and generalization. Here we focus on communication games like the one depicted in Figure 1 and in more detail in Figure 4. As in the previous section, existing work argues for a relationship between compositionality and generalization, claiming that agents need compositional communication protocols to generalize to unseen referents (Kottur et al., 2017; Choi et al., 2018). Here we are able to evaluate this claim empirically by training a large number of agents from random initial conditions, measuring the compositional structure of the language that emerges, and seeing how this relates to their performance on both familiar and novel objects.
|
| 181 |
+
|
| 182 |
+
Our experiment focuses on a reference game (Gatt et al., 2007). Two policies are trained: a speaker and a listener. The speaker observes pair of target objects represented with a feature vector. The speaker then sends a message (coded as a discrete character sequence) to the listener model. The listener observes this message and attempts to reconstruct the target objects by predicting a sequence of attribute sets. If all objects are predicted correctly, both the speaker and the listener receive a reward of 1 (partial credit is awarded for partly-correct objects; Figure 4).
|
| 183 |
+
|
| 184 |
+
Because the communication protocol is discrete, policies are jointly trained using a policy gradient objective (Williams, 1992). The speaker and listener are implemented with RNNs; details are provided in Appendix A.
|
| 185 |
+
|
| 186 |
+
Compositional structure Every target referent consists of two objects; each object has two attributes. The derivation associated with each communicative task thus has the tree structure $\langle \langle \mathsf { a t t r } _ { 1 a } , \mathsf { a t t r } _ { 1 b } \rangle$ , $ \mathsf { a t t r } _ { 2 a } , \mathsf { a t t r } _ { 2 b } $ . We hold out a subset of these object pairs at training time to evaluate generalization: in each training run, 1/3 of possible reference candidates are never presented to the agent at training time.
|
| 187 |
+
|
| 188 |
+

|
| 189 |
+
Figure 4: The communication task: A speaker model observes a pair of target objects, and sends a description of the objects (as a discrete code) to a listener model. The listener attempts to reconstruct the targets, receiving fractional reward for partially-correct predictions.
|
| 190 |
+
|
| 191 |
+
Where the previous examples involved a representation space of real embeddings, here representations are fixed-length discrete codes. Moreover, the derivations themselves have a more complicated semantics than in Sections 4 and 5: order matters, and a commutative operation like addition cannot capture the distinction between hhgreen, squarei, $\left. \mathrm { b 1 u e } , \mathrm { t r i a n g 1 e } \right. \rangle$ and $\langle \langle { \mathsf { g r e e n } } , { \mathsf { t r i a n g l e } } \rangle$ , $\langle \mathtt { b l u e } , \mathtt { s q u a r e } \rangle \rangle$ . We thus need a different class of composition and distance operations. We represent each agent message as a sequence of one-hot vectors, and take the error function $\delta$ to be the $\ell _ { 1 }$ distance between vectors. The composition function has the form:
|
| 192 |
+
|
| 193 |
+
$$
|
| 194 |
+
\theta * \theta ^ { \prime } = A \theta + B \theta ^ { \prime }
|
| 195 |
+
$$
|
| 196 |
+
|
| 197 |
+
with free composition parameters $\eta _ { * } = \{ A , B \}$ in Equation 2. These matrices can redistribute the tokens in $\theta$ and $\theta ^ { \prime }$ across different positions of the input string, but cannot affect the choice of the tokens themselves; this makes it possible to model non-commutative aspects of string production. To compute TRE via gradient descent, we allow the elements of $\mathcal { D } _ { 0 }$ to be arbitrary vectors (intuitively assigning fractional token counts to string indices) rather than restricting them to one-hot indicators. With this change, both $\delta$ and $^ *$ have subgradients and can be optimized using the same procedure as in preceding sections.
|
| 198 |
+
|
| 199 |
+

|
| 200 |
+
Figure 5: Relationship between TRE and reward. (a) Compositional languages exhibit lower generalization error, measured as the difference between train and test reward $r = 0 . 5 0$ , $p < 1 e { - } 6 )$ . (b) However, compositional languages also exhibit lower absolute performance ${ \mathrm { ' } r = 0 . 5 7 }$ , $p < 1 e { - 9 } ,$ ). Both facts remain true even if we restrict analysis to “successful” training runs in which agents achieve a reward $> 0 . 5$ on held-out referents $r = 0 . 6$ , $p < 1 e { - 3 }$ and $r = 0 . 3 8$ , $p < 0 . 0 5$ respectively).
|
| 201 |
+
Figure 6: Fragment of languages resulting from two multiagent training runs. In the first section, the left column shows the target referent, while the remaining columns show the message generated by speaker in the given training run after observing the referent. The two languages have substantially different TRE, but induce similar listener performance (Train and Test reward).
|
| 202 |
+
|
| 203 |
+
<table><tr><td colspan="5">Language A</td></tr><tr><td>((red</td><td>circle)</td><td>(blue</td><td>triangle))</td><td>jjjj</td></tr><tr><td>((red</td><td>circle)</td><td>(blue</td><td>star))</td><td>jeoo oppp jjjj</td></tr><tr><td>((red</td><td>circle)</td><td>(blue</td><td>circle))</td><td>oopp jjjj</td></tr><tr><td>((red</td><td>circle)</td><td>(blue</td><td>square))</td><td>oopp jjjb</td></tr><tr><td>((red</td><td>square)</td><td>(blue</td><td>triangle))</td><td>jjjj jbjj</td></tr><tr><td>((red</td><td>square)</td><td>(blue</td><td>star))</td><td>o00o jbjj</td></tr><tr><td>((red</td><td>square)</td><td>(blue</td><td>circle))</td><td>oo0o jbbb</td></tr><tr><td>((red</td><td>square)</td><td>(blue</td><td>square))</td><td>o00o jbbb</td></tr><tr><td colspan="3">TRE</td><td>4.30</td><td>2.96</td></tr><tr><td colspan="3">Train reward</td><td>0.78</td><td>0.75</td></tr><tr><td colspan="3">Test reward</td><td>0.61</td><td>0.59</td></tr></table>
|
| 204 |
+
|
| 205 |
+
Results We train 100 speaker–listener pairs with random initial parameters and measure their performance on both training and test sets. Our results suggest a more nuanced view of the relationship between compositionality and generalization than has been argued in the existing literature. TRE is significantly correlated with generalization error (measured as the difference between training accuracies, Figure 5a). However, TRE is also significantly correlated with absolute model reward (Figure 5b)—“compositional” languages more often result from poor communication strategies than successful ones. This is largely a consequence of the fact that many languages with low TRE correspond to trivial strategies (for example, one in which the speaker sends the same message regardless of its observation) that result in poor overall performance.
|
| 206 |
+
|
| 207 |
+
Moreover, despite the correlation between TRE and generalization error, low TRE is by no means a necessary condition for good generalization. We can use our technique to automatically mine a collection of training runs for languages that achieve good generalization performance at both low and high levels of compositionality. Examples of such languages are shown in Figure 6.
|
| 208 |
+
|
| 209 |
+
# 8 CONCLUSIONS
|
| 210 |
+
|
| 211 |
+
We have introduced a new evaluation method called TRE for generating graded judgments about compositional structure in representation learning problems where the structure of the observations is understood. TRE infers a set of primitive meaning representations that, when composed, approximate the observed representations, then measures the quality of this approximation. We have applied TRE-based analysis to four different problems in representation learning, relating compositionality to learning dynamics, linguistic compositionality, similarity and generalization.
|
| 212 |
+
|
| 213 |
+
Many interesting questions regarding compositionality and representation learning remain open. The most immediate is how to generalize TRE to the setting where oracle derivations are not available; in this case Equation 2 must be solved jointly with an unsupervised grammar induction problem (Klein & Manning, 2004). Beyond this, it is our hope that this line of research opens up two different kinds of new work: better understanding of existing machine learning models, by providing a new set of tools for understanding their representational capacity; and better understanding of problems, by better understanding the kinds of data distributions and loss functions that give rise to compositionalor non-compositional representations of observations.
|
| 214 |
+
|
| 215 |
+
# REPRODUCIBILITY
|
| 216 |
+
|
| 217 |
+
Code and data for all experiments in this paper are provided at https://github.com/jacobandreas/tre.
|
| 218 |
+
|
| 219 |
+
# ACKNOWLEDGMENTS
|
| 220 |
+
|
| 221 |
+
Thanks to Daniel Fried and David Gaddy for feedback on an early draft of this paper. The author was supported by a Facebook Graduate Fellowship at the time of writing.
|
| 222 |
+
|
| 223 |
+
# REFERENCES
|
| 224 |
+
|
| 225 |
+
Jacob Andreas and Dan Klein. Analogs of linguistic structure in deep representations. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2017.
|
| 226 |
+
|
| 227 |
+
Yoav Artzi, Dipanjan Das, and Slav Petrov. Learning compact lexicons for CCG semantic parsing. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, pp. 1273–1283, Doha, Qatar, 2014. Association for Computational Linguistics. URL http://www. aclweb.org/anthology/D14-1134.
|
| 228 |
+
|
| 229 |
+
Marco Baroni and Roberto Zamparelli. Nouns are vectors, adjectives are matrices: Representing adjective-noun constructions in semantic space. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, pp. 1183–1193, Cambridge, MA, USA, 2010.
|
| 230 |
+
|
| 231 |
+
Philip Bille. A survey on tree edit distance and related problems. Theoretical computer science, 2005.
|
| 232 |
+
|
| 233 |
+
Ben Bogin, Mor Geva, and Jonathan Berant. Emergence of communication in an interactive world with consistent speakers, 2018.
|
| 234 |
+
|
| 235 |
+
Piotr Bojanowski, Edouard Grave, Armand Joulin, and Tomas Mikolov. Enriching word vectors with subword information. Transactions of the Association for Computational Linguistics, 2017.
|
| 236 |
+
|
| 237 |
+
Henry Brighton. Compositional syntax from cultural transmission. Artificial Life, 2002.
|
| 238 |
+
|
| 239 |
+
Henry Brighton and Simon Kirby. Understanding linguistic evolution by visualizing the emergence of topographic mappings. Artificial life, 2006.
|
| 240 |
+
|
| 241 |
+
Rudolf Carnap. Logical syntax of language. 1937.
|
| 242 |
+
|
| 243 |
+
David L Chen. Fast online lexicon learning for grounded language acquisition. In Proceedings of the Annual Meeting of the Association for Computational Linguistics, pp. 430–439, 2012.
|
| 244 |
+
|
| 245 |
+
Kyunghyun Cho, Bart van Merriënboer, Dzmitry Bahdanau, and Yoshua Bengio. On the properties of neural machine translation: Encoder-decoder approaches. In Proceedings of the Workshop on Syntax, Semantics and Structure in Statistical Translation, 2014.
|
| 246 |
+
|
| 247 |
+
Edward Choi, Angeliki Lazaridou, and Nando de Freitas. Compositional obverter communication learning from raw visual input. In Proceedings of the International Conference on Learning Representations, 2018.
|
| 248 |
+
|
| 249 |
+
Stephen Clark. Vector space models of lexical meaning, 2012.
|
| 250 |
+
|
| 251 |
+
Bob Coecke, Mehrnoosh Sadrzadeh, and Stephen Clark. Mathematical foundations for a compositional distributional model of meaning. arXiv preprint arXiv:1003.4394, 2010.
|
| 252 |
+
|
| 253 |
+
Scott C. Deerwester, Susan T Dumais, Thomas K. Landauer, George W. Furnas, and Richard A. Harshman. Indexing by latent semantic analysis. Journal of the American Society for Information Science, 41(6):391–407, 1990.
|
| 254 |
+
|
| 255 |
+
Christopher Dircks and Scott Stoness. Effective lexicon change in the absence of population flux. Advances in Artificial Life, pp. 720–724, 1999.
|
| 256 |
+
|
| 257 |
+
Li Dong and Mirella Lapata. Language to logical form with neural attention. In Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2016.
|
| 258 |
+
|
| 259 |
+
Magnus Enquist and Anthony Arak. Symmetry, beauty and evolution. Nature, 1994.
|
| 260 |
+
|
| 261 |
+
Jerry A Fodor and Ernest Lepore. The compositionality papers. Oxford University Press, 2002.
|
| 262 |
+
|
| 263 |
+
Alona Fyshe, Leila Wehbe, Partha P Talukdar, Brian Murphy, and Tom M Mitchell. A compositional and interpretable semantic space. In Proceedings of the Annual Meeting of the North American Chapter of the Association for Computational Linguistics, pp. 32–41, 2015.
|
| 264 |
+
|
| 265 |
+
Albert Gatt, Ielka Van Der Sluis, and Kees Van Deemter. Evaluating algorithms for the generation of referring expressions using a balanced corpus. In Proceedings of the Eleventh European Workshop on Natural Language Generation, pp. 49–56. Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2007.
|
| 266 |
+
|
| 267 |
+
Edward Grefenstette, Georgiana Dinu, Yao-Zhong Zhang, Mehrnoosh Sadrzadeh, and Marco Baroni. Multi-step regression learning for compositional distributional semantics. Proceedings of the International Conference on Computational Semantics, 2013.
|
| 268 |
+
|
| 269 |
+
Serhii Havrylov and Ivan Titov. Emergence of language with multi-agent games: learning to communicate with sequences of symbols. In Advances in Neural Information Processing Systems, 2017.
|
| 270 |
+
|
| 271 |
+
Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In Proceedings of the International Conference on Learning Representations, 2014.
|
| 272 |
+
|
| 273 |
+
Simon Kirby. Learning, bottlenecks and the evolution of recursive syntax. In Linguistic Evolution through Language Acquisition: Formal and Computational Models. Cambridge University Press, 1998.
|
| 274 |
+
|
| 275 |
+
Dan Klein and Christopher D Manning. Corpus-based induction of syntactic structure: Models of dependency and constituency. In Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2004.
|
| 276 |
+
|
| 277 |
+
Satwik Kottur, José MF Moura, Stefan Lee, and Dhruv Batra. Natural language does not emerge’naturally’in multi-agent dialog. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2017.
|
| 278 |
+
|
| 279 |
+
Angeliki Lazaridou, Nghia The Pham, and Marco Baroni. Towards multi-agent communication-based language learning. arXiv preprint arXiv:1605.07133, 2016.
|
| 280 |
+
|
| 281 |
+
Angeliki Lazaridou, Alexander Peysakhovich, and Marco Baroni. Multi-agent cooperation and the emergence of (natural) language. In Proceedings of the International Conference on Learning Representations, 2017.
|
| 282 |
+
|
| 283 |
+
Angeliki Lazaridou, Karl Moritz Hermann, Karl Tuyls, and Stephen Clark. Emergence of linguistic communication from referential games with symbolic and pixel input. In Proceedings of the International Conference on Learning Representations, 2018.
|
| 284 |
+
|
| 285 |
+
David Lewis. General semantics. In Montague grammar. 1976.
|
| 286 |
+
|
| 287 |
+
Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S. Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. In Advances in Neural Information Processing Systems, pp. 3111–3119, 2013.
|
| 288 |
+
|
| 289 |
+
Jeff Mitchell and Mirella Lapata. Vector-based models of semantic composition. Proceedings of the Human Language Technology Conference of the Association for Computational Linguistics, pp. 236–244, 2008.
|
| 290 |
+
|
| 291 |
+
Richard Montague. Universal grammar. 1970.
|
| 292 |
+
|
| 293 |
+
Igor Mordatch and Pieter Abbeel. Emergence of grounded compositional language in multi-agent populations. arXiv preprint arXiv:1703.04908, 2017.
|
| 294 |
+
|
| 295 |
+
James R Nattinger and Jeanette S DeCarrico. Lexical phrases and language teaching. 1992.
|
| 296 |
+
|
| 297 |
+
Robert Parker, David Graff, Junbo Kong, Ke Chen, and Kazuaki Maeda. English gigaword fifth edition. Technical report, Linguistic Data Consortium, 2011.
|
| 298 |
+
|
| 299 |
+
Siva Reddy, Diana McCarthy, and Suresh Manandhar. An empirical study on compositionality in compound nouns. In Proceedings of the International Joint Conference on Natural Language Processing, 2011.
|
| 300 |
+
|
| 301 |
+
Bahar Salehi, Paul Cook, and Timothy Baldwin. A word embedding approach to predicting the compositionality of multiword expressions. In Proceedings of the Human Language Technology Conference of the North American Chapter of the Association for Computational Linguistics, 2015.
|
| 302 |
+
|
| 303 |
+
Adam Santoro, Sergey Bartunov, Matthew Botvinick, Daan Wierstra, and Timothy Lillicrap. Metalearning with memory-augmented neural networks. In Proceedings of the International Conference on Machine Learning, 2016.
|
| 304 |
+
|
| 305 |
+
AM Saxe, Y Bansal, J Dapello, M Advani, A Kolchinsky, BD Tracey, and DD Cox. On the information bottleneck theory of deep learning. In Proceedings of the International Conference on Learning Representations, 2018.
|
| 306 |
+
|
| 307 |
+
Jürgen Schmidhuber. Evolutionary principles in self-referential learning. Diplom Thesis, Institut für Informatik, Technische Universität München, 1987.
|
| 308 |
+
|
| 309 |
+
Paul Hongsuck Seo, Andreas Lehrmann, Bohyung Han, and Leonid Sigal. Visual reference resolution using attention memory for visual dialog. In Advances in Neural Information Processing Systems, 2017.
|
| 310 |
+
|
| 311 |
+
Ravid Shwartz-Ziv and Naftali Tishby. Opening the black box of deep neural networks via information. arXiv preprint arXiv:1703.00810, 2017.
|
| 312 |
+
|
| 313 |
+
Paul Smolensky. Connectionism, constituency, and the language of thought. In Meaning in Mind: Fodor and His Critics. Blackwell, 1991.
|
| 314 |
+
|
| 315 |
+
Richard Socher, Brody Huval, Christopher Manning, and Andrew Ng. Semantic compositionality through recursive matrix-vector spaces. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2012.
|
| 316 |
+
|
| 317 |
+
Richard Socher, John Bauer, Christopher D. Manning, and Andrew Y. Ng. Parsing with compositional vector grammars. In Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2013.
|
| 318 |
+
|
| 319 |
+
Naftali Tishby and Noga Zaslavsky. Deep learning and the information bottleneck principle. In Information Theory Workshop, 2015.
|
| 320 |
+
|
| 321 |
+
Joseph Turian, Lev Ratinov, and Yoshua Bengio. Word representations: a simple and general method for semi-supervised learning. In Proceedings of the 48th Annual Meeting of the Association for Computational Linguistics, pp. 384–394. Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2010.
|
| 322 |
+
|
| 323 |
+
JFAK van Benthem and Alice ter Meulen. Handbook of logic and language. 1996.
|
| 324 |
+
|
| 325 |
+
Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 1992.
|
| 326 |
+
|
| 327 |
+
Luke S. Zettlemoyer and Michael Collins. Learning to map sentences to logical form: Structured classification with probabilistic categorial grammars. In Proceedings of the Conference on Uncertainty in Artificial Intelligence, pp. 658–666, 2005.
|
| 328 |
+
|
| 329 |
+
# A MODELING DETAILS
|
| 330 |
+
|
| 331 |
+
Few-shot classification The CNN has the following form:
|
| 332 |
+
|
| 333 |
+
Conv(out $= 6$ , kernel $= 5$ )
|
| 334 |
+
ReLU
|
| 335 |
+
MaxPool(kernel $^ { = 2 }$ )
|
| 336 |
+
Conv(out $= 1 6$ , kernel $= 5$ )
|
| 337 |
+
ReLU
|
| 338 |
+
MaxPool(kernel $^ { = 2 }$ )
|
| 339 |
+
Linear(out $= 1 2 8$ )
|
| 340 |
+
ReLU
|
| 341 |
+
Linear(out $= 6 4$ )
|
| 342 |
+
ReLU
|
| 343 |
+
|
| 344 |
+
The model is trained using ADAM (Kingma & Ba, 2014) with a learning rate of .001 and a batch size of 128. Training is ended when the model stops improving on a held-out set.
|
| 345 |
+
|
| 346 |
+
Word embeddings We train FastText (Bojanowski et al., 2017) on the first 250 million words of the NYT section of Gigaword (Parker et al., 2011). To acquire bigram representations, we pre-process this dataset so that each occurrence of a bigram from the Reddy et al. (2011) dataset is treated as a single word for purposes of estimating word vectors.
|
| 347 |
+
|
| 348 |
+
Communication The encoder and decoder RNNs both use gated recurrent units (Cho et al., 2014) with embeddings and hidden states of size 256. The size of the discrete vocabulary is set to 16 and the maximum message length to 4. Training uses a policy gradient objective with a scalar baseline set to the running average reward; this is optimized using ADAM (Kingma & Ba, 2014) with a learning rate of .001 and a batch size of 256. Each model is trained for 500 steps. Models are trained by sampling from the decoder’s output distribution, but greedy decoding is used to evaluate performance and produce Figure 6.
|
| 349 |
+
|
| 350 |
+
# B PROPOSITION 1
|
| 351 |
+
|
| 352 |
+
First, some definitions:
|
| 353 |
+
|
| 354 |
+
Definition 1. The size of a derivation is given by:
|
| 355 |
+
|
| 356 |
+
$$
|
| 357 |
+
\begin{array} { r l r } { | d | = 1 } & { { } } & { i f d \in \mathcal { D } _ { 0 } } \\ { | \langle d _ { a } , d _ { b } \rangle | = | d _ { a } | + | d _ { b } | } & { { } } & { o t h e r w i s e } \end{array}
|
| 358 |
+
$$
|
| 359 |
+
|
| 360 |
+
Definition 2. The tree edit distance between derivations is defined by:
|
| 361 |
+
|
| 362 |
+
$$
|
| 363 |
+
\Delta ( d _ { i } , d _ { j } ) = \mathbb { I } [ i = j ] \quad i f d _ { i } \in \mathcal { D } _ { 0 } a n d d _ { j } \in \mathcal { D } _ { 0 }
|
| 364 |
+
$$
|
| 365 |
+
|
| 366 |
+
$$
|
| 367 |
+
\Delta ( d _ { i } , \langle d _ { j } , d _ { k } \rangle ) = \operatorname* { m i n } \left\{ \begin{array} { l l } { \Delta ( d _ { i } , d _ { j } ) + | d _ { k } | } \\ { \Delta ( d _ { i } , d _ { k } ) + | d _ { j } | } \end{array} \right\} \quad i f d _ { i } \in \mathcal { D } _ { 0 }
|
| 368 |
+
$$
|
| 369 |
+
|
| 370 |
+
$$
|
| 371 |
+
\Delta ( \langle d _ { i } , d _ { j } \rangle , \langle d _ { k } , d _ { \ell } \rangle ) = \operatorname* { m i n } \left\{ \begin{array} { l l } { \Delta ( d _ { i } , d _ { k } ) + \Delta ( d _ { j } , d _ { \ell } ) } \\ { \Delta ( \langle d _ { i } , d _ { j } \rangle , d _ { k } ) + | d _ { \ell } | } & { \Delta ( \langle d _ { i } , d _ { j } \rangle , d _ { \ell } ) + | d _ { k } | } \\ { \Delta ( \langle d _ { k } , d _ { \ell } \rangle , d _ { i } ) + | d _ { j } | } & { \Delta ( \langle d _ { k } , d _ { \ell } \rangle , d _ { j } ) + | d _ { i } | } \end{array} \right\}
|
| 372 |
+
$$
|
| 373 |
+
|
| 374 |
+
Now, suppose we have $x$ and $x ^ { \prime }$ with derivations $d = D ( x )$ , $d ^ { \prime } = D ( x ^ { \prime } )$ and representations $\theta = f ( x )$ , $\theta ^ { \prime } = f ( x ^ { \prime } )$ . Proposition 1 claims that $\delta ( \theta , \theta ^ { \prime } ) \leq \Delta ( d , d ^ { \prime } ) + 2 \epsilon$ .
|
| 375 |
+
|
| 376 |
+
Lemma 1. $\delta ( { \hat { f } } ( d ) , 0 ) \leq | d |$
|
| 377 |
+
|
| 378 |
+
Proof. For $d \in \mathcal { D } _ { 0 }$ this follows immediately from Condition 2 in the proposition. For composed derivations it follows from Condition 3 taking ${ \theta _ { k } } = { \theta _ { \ell } } = 0$ and induction on $| d |$ . □
|
| 379 |
+
|
| 380 |
+
Lemma 2. $\delta ( { \hat { f } } ( d ) , { \hat { f } } ( d ^ { \prime } ) ) \leq \Delta ( d , d ^ { \prime } )$
|
| 381 |
+
|
| 382 |
+
Proof. By induction on the structure of $d$ and $d ^ { \prime }$ :
|
| 383 |
+
|
| 384 |
+
Base case Both $d , d ^ { \prime } \in \mathcal { D } _ { 0 }$ .
|
| 385 |
+
|
| 386 |
+
If $= d ^ { \prime } , \delta ( \hat { f } ( d ) , \hat { f } ( d ^ { \prime } ) ) = \delta ( \hat { f } ( d ) , \hat { f } ( d ) ) = 0 = \Delta ( d , d ^ { \prime } ) .$ If $d \neq d ^ { \prime }$ $d ^ { \prime } , \delta ( \hat { f } ( d ) , \hat { f } ( d ^ { \prime } ) ) \leq 1 = \Delta ( d , d ^ { \prime } )$ from Condition 1.
|
| 387 |
+
|
| 388 |
+
Inductive case Consider the arrangement of derivations that minimizes Equation 8 for derivation $d$ and $d ^ { \prime }$ . There are two possibilities:
|
| 389 |
+
|
| 390 |
+
Case 1: $\Delta ( d , d ^ { \prime } )$ has the form $\Delta ( d _ { i } , d _ { k } ) + \Delta ( d _ { j } , d _ { \ell } )$ for some $d _ { i , j , k , \ell }$ . W.l.o.g. let $d = \langle d _ { i } , d _ { j } \rangle$ and $d ^ { \prime } = \langle d _ { k } , d _ { \ell } \rangle$ . Then,
|
| 391 |
+
|
| 392 |
+
$$
|
| 393 |
+
\begin{array} { r l } & { \delta ( \hat { f } ( d ) , \hat { f } ( d ^ { \prime } ) ) = \delta ( \hat { f } ( d _ { i } ) * \hat { f } ( d _ { j } ) , \hat { f } ( d _ { k } ) * \hat { f } d _ { \ell } ) } \\ & { \hphantom { \delta ( \hat { f } ( d ) , \hat { f } ( d _ { k } ) ) = } \leq \delta ( \hat { f } ( d _ { i } ) , \hat { f } ( d _ { k } ) ) + \delta ( \hat { f } ( d _ { j } ) , \hat { f } d _ { \ell } ) } \\ & { \hphantom { \delta ( \hat { f } ( d ) , \hat { f } ( d _ { k } ) ) = } \leq \Delta ( d _ { i } , d _ { k } ) + \Delta ( d _ { j } , d _ { \ell } ) } \\ & { \hphantom { \delta ( \hat { f } ( d ) , \hat { f } ( d ) ) = } = \Delta ( d , d ^ { \prime } ) } \end{array}
|
| 394 |
+
$$
|
| 395 |
+
|
| 396 |
+
Case 2: $\Delta ( d , d ^ { \prime } )$ has the form $\Delta ( d _ { i } , d _ { k } ) + | d _ { j } |$ for some $d _ { i , j , k }$ . W.l.o.g. let $d = \langle d _ { i } , d _ { j } \rangle$ and $d ^ { \prime } = d _ { k }$ . Abusing notation slightly, let us define $\Delta ( \bar { d } , 0 ) = { \left| { d } \right| }$ . If we let $d _ { \ell } = 0$ this case reduces to the previous one. □
|
| 397 |
+
|
| 398 |
+
Finally,
|
| 399 |
+
|
| 400 |
+
Proof of Proposition $^ { l }$ .
|
| 401 |
+
|
| 402 |
+
$$
|
| 403 |
+
\begin{array} { c } { { \delta ( \theta , \theta ^ { \prime } ) \leq \delta ( \hat { f } ( d ) , \hat { f } ( d ^ { \prime } ) ) + 2 \epsilon } } \\ { { \leq \Delta ( d , d ^ { \prime } ) + 2 \epsilon } } \end{array}
|
| 404 |
+
$$
|
parse/train/HJz05o0qK7/HJz05o0qK7_content_list.json
ADDED
|
@@ -0,0 +1,2074 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "MEASURING COMPOSITIONALITY IN REPRESENTATION LEARNING ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
99,
|
| 9 |
+
612,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Jacob Andreas Computer Science Division University of California, Berkeley jda@cs.berkeley.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
170,
|
| 20 |
+
408,
|
| 21 |
+
226
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
262,
|
| 32 |
+
544,
|
| 33 |
+
277
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Many machine learning algorithms represent input data with vector embeddings or discrete codes. When inputs exhibit compositional structure (e.g. objects built from parts or procedures from subroutines), it is natural to ask whether this compositional structure is reflected in the the inputs’ learned representations. While the assessment of compositionality in languages has received significant attention in linguistics and adjacent fields, the machine learning literature lacks general-purpose tools for producing graded measurements of compositional structure in more general (e.g. vector-valued) representation spaces. We describe a procedure for evaluating compositionality by measuring how well the true representation-producing model can be approximated by a model that explicitly composes a collection of inferred representational primitives. We use the procedure to provide formal and empirical characterizations of compositional structure in a variety of settings, exploring the relationship between compositionality and learning dynamics, human judgments, representational similarity, and generalization. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
296,
|
| 43 |
+
766,
|
| 44 |
+
489
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
522,
|
| 55 |
+
336,
|
| 56 |
+
537
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "The success of modern representation learning techniques has been accompanied by an interest in understanding the structure of learned representations. One feature shared by many humandesigned representation systems is compositionality: the capacity to represent complex concepts (from objects to procedures to beliefs) by combining simple parts (Fodor & Lepore, 2002). While many machine learning approaches make use of human-designed compositional analyses for representation and prediction (Socher et al., 2013; Dong & Lapata, 2016), it is also natural to ask whether (and how) compositionality arises in learning problems where compositional structure has not been built in from the start. Consider the example in Figure 1, which shows a hypothetical character-based encoding scheme learned for a simple communication task (similar to the one studied by Lazaridou et al., 2016). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
556,
|
| 66 |
+
485,
|
| 67 |
+
818
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "image",
|
| 73 |
+
"img_path": "images/30fd3900a44f2bd0b90a20e9472129db34cffa7608df1209a8d0634c96c73047.jpg",
|
| 74 |
+
"image_caption": [
|
| 75 |
+
"Figure 1: Representations arising from a communication game. In this game, an observation (b) is presented to a learned speaker model (c), which encodes it as a discrete character sequence (d) to be consumed by a listener model for some downstream task. The space of inputs has known compositional structure (a). We want to measure the extent to which this structure is reflected (perhaps imperfectly) in the structure of the learned codes. "
|
| 76 |
+
],
|
| 77 |
+
"image_footnote": [],
|
| 78 |
+
"bbox": [
|
| 79 |
+
506,
|
| 80 |
+
559,
|
| 81 |
+
812,
|
| 82 |
+
671
|
| 83 |
+
],
|
| 84 |
+
"page_idx": 0
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"type": "text",
|
| 88 |
+
"text": "Is this encoding scheme compositional? That is, to what extent can we analyze the agents’ messages as being built from smaller pieces (e.g. pieces xx meaning blue and bb meaning triangle)? ",
|
| 89 |
+
"bbox": [
|
| 90 |
+
174,
|
| 91 |
+
819,
|
| 92 |
+
821,
|
| 93 |
+
847
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 0
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "text",
|
| 99 |
+
"text": "A large body of work, from early experiments on language evolution to recent deep learning models (Kirby, 1998; Lazaridou et al., 2017), aims to answer questions like this one. But existing solutions rely on manual (and often subjective) analysis of model outputs (Mordatch & Abbeel, 2017), or at best automated procedures tailored to the specifics of individual problem domains (Brighton & Kirby, 2006). They are difficult to compare and difficult to apply systematically. ",
|
| 100 |
+
"bbox": [
|
| 101 |
+
174,
|
| 102 |
+
854,
|
| 103 |
+
825,
|
| 104 |
+
924
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 0
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "We are left with a need for a standard, formal, automatable and quantitative technique for evaluating claims about compositional structure in learned representations. The present work aims at first steps toward meeting that need. We focus on an oracle setting where the compositional structure of model inputs is known, and where the only question is whether this structure is reflected in model outputs. This oracle evaluation paradigm covers most of the existing representation learning problems in which compositionality has been studied. ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
103,
|
| 114 |
+
825,
|
| 115 |
+
188
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "The first contribution of this paper is a simple formal framework for measuring how well a collection of representations (discrete- or continuous-valued) reflects an oracle compositional analysis of model inputs. We propose an evaluation metric called TRE, which provides graded judgments of compositionality for a given set of (input, representation) pairs. The core of our proposal is to treat a set of primitive meaning representations as hidden, and optimize over them to find an explicitly compositional model that approximates the true model as well as possible. For example, if the compositional structure that describes an object is a simple conjunction of attributes, we can search for a collection of “attribute vectors” that sum together to produce the observed object representations; if it is a sparse combination of (attribute, value) pairs we can additionally search for “value vectors” and parameters of a binding operation; and so on for more complex compositions. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
194,
|
| 125 |
+
825,
|
| 126 |
+
333
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "Having developed a tool for assessing the compositionality of representations, the second contribution of this paper is a survey of applications. We present experiments and analyses aimed at answering four questions about the relationship between compositionality and learning: ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
176,
|
| 135 |
+
340,
|
| 136 |
+
821,
|
| 137 |
+
382
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "• How does compositionality of representations evolve in relation to other measurable model properties over the course of the learning process? (Section 4) \n• How well does compositionality of representations track human judgments about the compositionality of model inputs? (Section 5) \n• How does compositionality constrain distances between representations, and how does TRE relate to other methods that analyze representations based on similarity? (Section 6) \n• Are compositional representations necessary for generalization to out-of-distribution inputs? (Section 7) ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
215,
|
| 146 |
+
392,
|
| 147 |
+
825,
|
| 148 |
+
516
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "We conclude with a discussion of possible applications and generalizations of TRE-based analysis. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
173,
|
| 157 |
+
525,
|
| 158 |
+
815,
|
| 159 |
+
540
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "2 RELATED WORK ",
|
| 166 |
+
"text_level": 1,
|
| 167 |
+
"bbox": [
|
| 168 |
+
176,
|
| 169 |
+
559,
|
| 170 |
+
344,
|
| 171 |
+
575
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "Arguments about whether distributed (and other non-symbolic) representations could model compositional phenomena were a staple of 1980s-era connectionist–classicist debates. Smolensky (1991) provides an overview of this discussion and its relation to learnability, as well as a concrete implementation of a compositional encoding scheme with distributed representations. Since then, numerous other approaches for compositional representation learning have been proposed, with (Mitchell & Lapata, 2008; Socher et al., 2012) and without (Dircks & Stoness, 1999; Havrylov & Titov, 2017) the scaffolding of explicit composition operations built into the model. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
589,
|
| 181 |
+
825,
|
| 182 |
+
688
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "The main experimental question is thus when and how compositionality arises “from scratch” in the latter class of models. In order to answer this question it is first necessary to determine whether compositional structure is present at all. Most existing proposals come from linguistics and and philosophy, and offer evaluations of compositionality targeted at analysis of formal and natural languages (Carnap, 1937; Lewis, 1976). Techniques from this literature are specialized to the details of linguistic representations—particularly the algebraic structure of grammars (Montague, 1970). It is not straightforward to apply these techniques in more general settings, particularly those featuring non-string-valued representation spaces. We are not aware of existing work that describes a procedure suitable for answering questions about compositionality in the general case. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
694,
|
| 192 |
+
825,
|
| 193 |
+
819
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "Machine learning research has responded to this absence in several ways. One class of evaluations (Mordatch & Abbeel, 2017; Choi et al., 2018) derives judgments from ad-hoc manual analyses of representation spaces. These analyses provide insight into the organization of representations but are time-consuming and non-reproducible. Another class of evaluations (Brighton, 2002; Andreas & Klein, 2017; Bogin et al., 2018) exploits task-specific structure (e.g. the ability to elicit pairs of representations known to feature particular relationships) to give evidence of compositionality. Our work aims to provide a standard and scalable alternative to these model- and task-specific evaluations. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
827,
|
| 203 |
+
825,
|
| 204 |
+
924
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "Other authors refrain from measuring compositionality directly, and instead base analysis on measurement of related phenomena, for which more standardized evaluations exist. Examples include correlation between representation similarity and similarity of oracle compositional analyses (Brighton & Kirby, 2006) and generalization to structurally novel inputs (Kottur et al., 2017). Our approach makes it possible to examine the circumstances under which these surrogate measures in fact track stricter notions of compositionality; similarity is discussed in Sec. 6 and generalization in Sec. 7. ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
174,
|
| 213 |
+
103,
|
| 214 |
+
825,
|
| 215 |
+
188
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 2
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "A long line of work in natural language processing (Coecke et al., 2010; Baroni & Zamparelli, 2010; Clark, 2012; Fyshe et al., 2015) focuses on learning composition functions to produce distributed representations of phrases and sentences—that is, for purposes of modeling rather than evaluation. We use one experiment from this literature to validate our own approach (Section 5). On the whole, we view work on compositional representation learning in NLP as complementary to the framework presented here: our approach is agnostic to the particular choice of composition function, and the aforementioned references provide well-motivated choices suitable for evaluating data from language and other sources. Indeed, one view of the present work is simply as a demonstration that we can take existing NLP techniques for compositional representation learning, fit them to representations produced by other models (even in non-linguistic settings), and view the resulting training loss as a measure of the compositionality of the representation system in question. ",
|
| 222 |
+
"bbox": [
|
| 223 |
+
174,
|
| 224 |
+
194,
|
| 225 |
+
826,
|
| 226 |
+
347
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 2
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "3 EVALUATING COMPOSITIONALITY ",
|
| 233 |
+
"text_level": 1,
|
| 234 |
+
"bbox": [
|
| 235 |
+
176,
|
| 236 |
+
368,
|
| 237 |
+
491,
|
| 238 |
+
385
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 2
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "Consider again the communication task depicted in Figure 1. Here, a speaker model observes a target object described by a feature vector. The speaker sends a message to a listener model, which uses the message to complete a downstream task—for example, identifying the referent from a collection of distractors based on the content of the message (Enquist & Arak, 1994; Lazaridou et al., 2017). Messages produced by the speaker model serve as representations of input objects; we want to know if these representations are compositional. Crucially, we may already know something about the structure of the inputs themselves. In this example, inputs can be identified via composition of categorical shape and color attributes. How might we determine whether this oracle analysis of input structure is reflected in the structure of representations? This section proposes an automated procedure for answering the question. ",
|
| 245 |
+
"bbox": [
|
| 246 |
+
174,
|
| 247 |
+
400,
|
| 248 |
+
825,
|
| 249 |
+
540
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 2
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "Representations A representation learning problem is defined by a dataset $\\mathcal { X }$ of observations $x$ (Figure 1b); a space $\\Theta$ of representations $\\theta$ (Figure 1d); and a model $f : \\mathcal { X } \\Theta$ (Figure 1c). We assume that the representations produced by $f$ are used in a larger system to accomplish some concrete task, the details of which are not important for our analysis. ",
|
| 256 |
+
"bbox": [
|
| 257 |
+
174,
|
| 258 |
+
556,
|
| 259 |
+
825,
|
| 260 |
+
612
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 2
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "text",
|
| 266 |
+
"text": "Derivations The technique we propose additionally assumes we have prior knowledge about the compositional structure of inputs. In particular, we assume that inputs can be labeled with treestructured derivations $d$ (Figure 1a), defined by a finite set $\\mathcal { D } _ { 0 }$ of primitives and a binary bracketing operation $\\langle \\cdot , \\cdot \\rangle$ , such that if $d _ { i }$ and $d _ { j }$ are derivations, $\\langle d _ { i } , d _ { j } \\rangle$ is a derivation. Derivations are produced by a derivation oracle $D : \\mathcal { X } \\mathcal { D }$ . ",
|
| 267 |
+
"bbox": [
|
| 268 |
+
174,
|
| 269 |
+
628,
|
| 270 |
+
825,
|
| 271 |
+
699
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 2
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "text",
|
| 277 |
+
"text": "Compositionality In intuitive terms, the representations computed by $f$ are compositional if each $f ( x )$ is determined by the structure of $D ( x )$ . Most discussions of compositionality, following Montague (1970), make this precise by defining a composition operation $\\theta _ { a } * \\theta _ { b } \\mapsto \\theta$ in the space of representations. Then the model $f$ is compositional if it is a homomorphism from inputs to representations: we require that for any $x$ with $D ( x ) = \\langle D ( x _ { a } ) , D ( x _ { b } ) \\rangle$ , ",
|
| 278 |
+
"bbox": [
|
| 279 |
+
174,
|
| 280 |
+
715,
|
| 281 |
+
825,
|
| 282 |
+
786
|
| 283 |
+
],
|
| 284 |
+
"page_idx": 2
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"type": "equation",
|
| 288 |
+
"img_path": "images/903406126230284da900b80bdc9856dd27cd46a748e672d286285205eaccd050.jpg",
|
| 289 |
+
"text": "$$\nf ( x ) = f ( x _ { a } ) * f ( x _ { b } ) .\n$$",
|
| 290 |
+
"text_format": "latex",
|
| 291 |
+
"bbox": [
|
| 292 |
+
419,
|
| 293 |
+
792,
|
| 294 |
+
578,
|
| 295 |
+
811
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 2
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "In the linguistic contexts for which this definition was originally proposed, it is straightforward to apply. Inputs $x$ are natural language strings. Their associated derivations $D ( x )$ are syntax trees, and composition of derivations is syntactic composition. Representations $\\theta$ are logical representations of meaning (for an overview see van Benthem $\\&$ ter Meulen, 1996). To argue that a particular fragment of language is compositional, it is sufficient to exhibit a lexicon $\\mathcal { D } _ { 0 }$ mapping words to their associated meaning representations, and a grammar for composing meanings where licensed by derivations. Algorithms for learning grammars and lexicons from data are a mainstay of semantic parsing approaches to language understanding problems like question answering and instruction following (Zettlemoyer & Collins, 2005; Chen, 2012; Artzi et al., 2014). ",
|
| 302 |
+
"bbox": [
|
| 303 |
+
173,
|
| 304 |
+
825,
|
| 305 |
+
825,
|
| 306 |
+
924
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 2
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "text",
|
| 312 |
+
"text": "",
|
| 313 |
+
"bbox": [
|
| 314 |
+
171,
|
| 315 |
+
103,
|
| 316 |
+
823,
|
| 317 |
+
132
|
| 318 |
+
],
|
| 319 |
+
"page_idx": 3
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"type": "text",
|
| 323 |
+
"text": "But for questions of compositionality involving more general representation spaces and more general analyses, the above definition presents two difficulties: (1) In the absence of a clearly-defined syntax of the kind available in natural language, how do we identify lexicon entries: the primitive parts from which representations are constructed? (2) What do we do with languages like the one in Figure 1d, which seem to exhibit some kind of regular structure, but for which the homomorphism condition given in Equation 1 cannot be made to hold exactly? ",
|
| 324 |
+
"bbox": [
|
| 325 |
+
174,
|
| 326 |
+
138,
|
| 327 |
+
825,
|
| 328 |
+
223
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 3
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "Consider again the example in Figure 1. The oracle derivations tell us to identify primitive representations for dark, blue, green, square, and triangle. The derivations then suggest a process for composing these primitives (e.g. via string concatenation) to produce full representations. The speaker model is compositional (in the sense of Equation 1) as long as there is some assignment of representations to primitives such that for each model input, composing primitive representations according to the oracle derivation reproduces the speaker’s prediction. ",
|
| 335 |
+
"bbox": [
|
| 336 |
+
174,
|
| 337 |
+
229,
|
| 338 |
+
825,
|
| 339 |
+
314
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 3
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "text",
|
| 345 |
+
"text": "In Figure 1 there is no assignment of strings to primitives that reproduces model predictions exactly. But predictions can be reproduced approximately—by taking $\\times \\times$ to mean blue, aa to mean square, etc. The quality of the approximation serves as a measure of the compositionality of the true predictor: predictors that are mostly compositional but for a few exceptions, or compositional but for the addition of some noise, will be well-approximated on average, while arbitrary mappings from inputs to representations will not. This suggests that we should measure compositionality by searching for representations that allow an explicitly compositional model to approximate the true $f$ as closely as possible. We define our evaluation procedure as follows: ",
|
| 346 |
+
"bbox": [
|
| 347 |
+
174,
|
| 348 |
+
319,
|
| 349 |
+
826,
|
| 350 |
+
431
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 3
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "text",
|
| 356 |
+
"text": "Tree Reconstruction Error (TRE) ",
|
| 357 |
+
"text_level": 1,
|
| 358 |
+
"bbox": [
|
| 359 |
+
196,
|
| 360 |
+
465,
|
| 361 |
+
429,
|
| 362 |
+
481
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 3
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "text",
|
| 368 |
+
"text": "First choose : ",
|
| 369 |
+
"bbox": [
|
| 370 |
+
196,
|
| 371 |
+
493,
|
| 372 |
+
287,
|
| 373 |
+
507
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 3
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "text",
|
| 379 |
+
"text": "• a distance function $\\delta : \\Theta \\times \\Theta \\to [ 0 , \\infty )$ satisfying $\\delta ( \\theta , \\theta ^ { \\prime } ) = 0 \\Leftrightarrow \\theta = \\theta ^ { \\prime }$ • a composition function $\\ast : \\Theta \\times \\Theta \\to \\Theta$ ",
|
| 380 |
+
"bbox": [
|
| 381 |
+
238,
|
| 382 |
+
511,
|
| 383 |
+
736,
|
| 384 |
+
546
|
| 385 |
+
],
|
| 386 |
+
"page_idx": 3
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"type": "text",
|
| 390 |
+
"text": "Define $\\hat { f } _ { \\eta } ( d )$ , a compositional approximation to $f$ with parameters $\\eta$ , as: ",
|
| 391 |
+
"bbox": [
|
| 392 |
+
194,
|
| 393 |
+
551,
|
| 394 |
+
674,
|
| 395 |
+
568
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 3
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "equation",
|
| 401 |
+
"img_path": "images/5d7ca556a4c4a888d2e60700ffb115f0174746be7b47c3bd678dafb07bc5eb0e.jpg",
|
| 402 |
+
"text": "$$\n\\begin{array} { c } { { \\hat { f } _ { \\eta } ( d _ { i } ) = \\eta _ { i } } } \\\\ { { \\hat { f } _ { \\eta } \\big ( \\langle d , d ^ { \\prime } \\rangle \\big ) = \\hat { f } _ { \\eta } ( d ) * \\hat { f } _ { \\eta } ( d ^ { \\prime } ) } } \\end{array}\n$$",
|
| 403 |
+
"text_format": "latex",
|
| 404 |
+
"bbox": [
|
| 405 |
+
303,
|
| 406 |
+
573,
|
| 407 |
+
496,
|
| 408 |
+
617
|
| 409 |
+
],
|
| 410 |
+
"page_idx": 3
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "equation",
|
| 414 |
+
"img_path": "images/d77873fe6619cee7f541a805a0e45be60f467422f7019df823e7927e50d0d075.jpg",
|
| 415 |
+
"text": "$$\n\\begin{array} { l } { \\mathrm { f o r } d _ { i } \\in \\mathcal { D } _ { 0 } } \\\\ { \\mathrm { f o r } \\mathrm { a l l } \\mathrm { o t h e r } d } \\end{array}\n$$",
|
| 416 |
+
"text_format": "latex",
|
| 417 |
+
"bbox": [
|
| 418 |
+
598,
|
| 419 |
+
575,
|
| 420 |
+
692,
|
| 421 |
+
616
|
| 422 |
+
],
|
| 423 |
+
"page_idx": 3
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"text": "$\\hat { f } _ { \\eta }$ has one parameter vector $\\eta _ { i }$ for every $d _ { i }$ in $\\mathcal { D } _ { 0 }$ ; these vectors are members of the representation space $\\Theta$ . ",
|
| 428 |
+
"bbox": [
|
| 429 |
+
196,
|
| 430 |
+
625,
|
| 431 |
+
800,
|
| 432 |
+
654
|
| 433 |
+
],
|
| 434 |
+
"page_idx": 3
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"text": "Given a dataset $\\mathcal { X }$ of inputs $x _ { i }$ with derivations $d _ { i } = D ( x _ { i } )$ , compute: ",
|
| 439 |
+
"bbox": [
|
| 440 |
+
197,
|
| 441 |
+
666,
|
| 442 |
+
656,
|
| 443 |
+
681
|
| 444 |
+
],
|
| 445 |
+
"page_idx": 3
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "equation",
|
| 449 |
+
"img_path": "images/e6afa6beac2ff92b0d9d84c58036f43b6afcc8344eab384c642578c73bb77466.jpg",
|
| 450 |
+
"text": "$$\n\\eta ^ { * } = \\arg \\operatorname* { m i n } _ { \\eta } \\sum _ { i } \\delta { \\big ( } f ( x _ { i } ) , { \\hat { f } } _ { \\eta } ( d _ { i } ) { \\big ) }\n$$",
|
| 451 |
+
"text_format": "latex",
|
| 452 |
+
"bbox": [
|
| 453 |
+
397,
|
| 454 |
+
688,
|
| 455 |
+
635,
|
| 456 |
+
722
|
| 457 |
+
],
|
| 458 |
+
"page_idx": 3
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "text",
|
| 462 |
+
"text": "Then we can define datum- and dataset-level evaluation metrics: ",
|
| 463 |
+
"bbox": [
|
| 464 |
+
194,
|
| 465 |
+
732,
|
| 466 |
+
617,
|
| 467 |
+
747
|
| 468 |
+
],
|
| 469 |
+
"page_idx": 3
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "equation",
|
| 473 |
+
"img_path": "images/dc414b522036ba0ee3549612d79095c6d695422a1235122d051cb0ec63c67fa3.jpg",
|
| 474 |
+
"text": "$$\n\\begin{array} { c } { { \\mathrm { T R E } ( x ) = \\displaystyle \\delta \\big ( f ( x ) , \\hat { f } _ { \\eta ^ { * } } ( d ) \\big ) } } \\\\ { { \\mathrm { T R E } ( \\mathcal { X } ) = \\displaystyle \\frac { 1 } { n } \\sum _ { i } \\mathrm { T R E } ( x _ { i } ) } } \\end{array}\n$$",
|
| 475 |
+
"text_format": "latex",
|
| 476 |
+
"bbox": [
|
| 477 |
+
361,
|
| 478 |
+
753,
|
| 479 |
+
545,
|
| 480 |
+
814
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 3
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "text",
|
| 486 |
+
"text": "TRE and compositionality How well does the evaluation metric $\\mathrm { T R E } ( \\mathcal { X } )$ capture the intuition behind Equation 1? The definition above uses parameters $\\eta _ { i }$ to witness the constructability of representations from parts, in this case by explicitly optimizing over those parts rather than taking them to be given by $f$ . Each term in Equation 2 is analogous to an instance of Equation 1, measuring how well $\\hat { f } _ { \\eta ^ { * } } ( x _ { i } )$ , the best compositional prediction, matches the true model prediction $f ( x _ { i } )$ . In the case of models that are homomorphisms in the sense of Equation 1, TRE reduces to the familiar case: ",
|
| 487 |
+
"bbox": [
|
| 488 |
+
173,
|
| 489 |
+
837,
|
| 490 |
+
825,
|
| 491 |
+
924
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 3
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "text",
|
| 497 |
+
"text": "Remark 1. $\\mathrm { T R E } ( x ) = 0$ for all $x$ if and only if Equation 1 holds exactly (that is, $f ( x ) = f ( x _ { a } ) * f ( x _ { b } )$ for any $x , x _ { a } , x _ { b }$ with $D ( x ) = \\langle D ( x _ { a } ) , D ( x _ { b } ) \\rangle \\rangle$ . ",
|
| 498 |
+
"bbox": [
|
| 499 |
+
169,
|
| 500 |
+
103,
|
| 501 |
+
825,
|
| 502 |
+
133
|
| 503 |
+
],
|
| 504 |
+
"page_idx": 4
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"type": "text",
|
| 508 |
+
"text": "Proof. One direction follows immediately from defining ${ \\hat { f } } _ { \\eta ^ { * } } ( x ) = f ( x )$ . For the other, $f ( x ) =$ ${ \\hat { f } } ( D ( x ) ) = { \\hat { f } } ( \\langle D ( x _ { a } ) , D ( x _ { b } ) \\rangle ) = { \\hat { f } } ( D ( x _ { a } ) ) * { \\hat { f } } ( D ( x _ { b } ) ) = f ( x _ { a } ) * f ( x _ { b } ) .$ ",
|
| 509 |
+
"bbox": [
|
| 510 |
+
173,
|
| 511 |
+
147,
|
| 512 |
+
825,
|
| 513 |
+
183
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 4
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"text": "Learnable composition operators The definition of TRE leaves the choice of $\\delta$ and $* \\ \\mathrm { u p }$ to the evaluator. Indeed, if the exact form of the composition function is not known a priori, it is natural to define $^ *$ with free parameters (as in e.g. Baroni & Zamparelli, 2010), treat these as another learned part of $\\hat { f }$ , and optimize them jointly with the $\\eta _ { i }$ . However, some care must be taken when choosing $^ *$ (especially when learning it) to avoid trivial solutions: ",
|
| 520 |
+
"bbox": [
|
| 521 |
+
173,
|
| 522 |
+
200,
|
| 523 |
+
825,
|
| 524 |
+
272
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 4
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "Remark 2. Suppose $D$ is injective; that is, every $x \\in \\mathcal { X }$ is assigned a unique derivation. Then there is always some $^ *$ that achieves $\\mathrm { T R E } ( \\mathcal { X } ) = 0$ : simply define $f ( x _ { a } ) * f ( x _ { b } ) = f ( x ) .$ for any $x , x _ { a } , x _ { b }$ as in the preceding definition, and set ${ \\hat { f } } = f$ . ",
|
| 531 |
+
"bbox": [
|
| 532 |
+
174,
|
| 533 |
+
285,
|
| 534 |
+
825,
|
| 535 |
+
332
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 4
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "In other words, some pre-commitment to a restricted composition function is essentially inevitable: if we allow the evaluation procedure to select an arbitrary composition function, the result will be trivial. This paper features experiments with $^ *$ in both a fixed functional form and a learned parametric one. ",
|
| 542 |
+
"bbox": [
|
| 543 |
+
174,
|
| 544 |
+
343,
|
| 545 |
+
826,
|
| 546 |
+
386
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 4
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "Implementation details For models with continuous $\\Theta$ and differentiable $\\delta$ and $^ *$ , $\\mathrm { T R E } ( \\mathcal { X } )$ is also differentiable. Equation 2 can be solved using gradient descent. We use this strategy in Sections 4 and 5. For discrete $\\Theta$ , it may be possible to find a continuous relaxation with respect to which $\\delta ( \\theta , \\cdot )$ and $^ *$ are differentiable, and gradient descent again employed. We use this strategy in Section 7 (discussed further there). An implementation of an SGD-based TRE solver is provided in the accompanying software release. For other problems, task-specific optimizers (e.g. machine translation alignment models; Bogin et al., 2018) or general-purpose discrete optimization toolkits can be applied to Equation 2. ",
|
| 553 |
+
"bbox": [
|
| 554 |
+
173,
|
| 555 |
+
401,
|
| 556 |
+
825,
|
| 557 |
+
513
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 4
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "The remainder of the paper highlights ways of using TRE to answer questions about compositionality that arise in machine learning problems of various kinds. ",
|
| 564 |
+
"bbox": [
|
| 565 |
+
173,
|
| 566 |
+
527,
|
| 567 |
+
823,
|
| 568 |
+
556
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 4
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "4 COMPOSITIONALITY AND LEARNING DYNAMICS ",
|
| 575 |
+
"text_level": 1,
|
| 576 |
+
"bbox": [
|
| 577 |
+
173,
|
| 578 |
+
578,
|
| 579 |
+
611,
|
| 580 |
+
594
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 4
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "We begin by studying the relationship between compositionality and learning dynamics, focusing on the information bottleneck theory of representation learning proposed by Tishby & Zaslavsky (2015). This framework proposes that learning in deep models consists of an error minimization phase followed by a compression phase, and that compression is characterized by a decrease in the mutual information between inputs and their computed representations. We investigate the hypothesis that the compression phase finds a compositional representation of the input distribution, isolating decision-relevant attributes and discarding irrelevant information. ",
|
| 587 |
+
"bbox": [
|
| 588 |
+
173,
|
| 589 |
+
611,
|
| 590 |
+
825,
|
| 591 |
+
708
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 4
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "Data comes from a few-shot classification task. Because our analysis focuses on compositional hypothesis classes, we use visual concepts from the Color MNIST dataset of Seo et al. (2017) (Figure 2). We predict classifiers in a meta-learning framework (Schmidhuber, 1987; Santoro et al., 2016): for each sub-task, the learner is presented with two images corresponding to some compositional visual concept (e.g. “digit 8 on a black background” or “green with heavy stroke”) and must determine whether a held-out image is an example of the same visual concept. ",
|
| 598 |
+
"bbox": [
|
| 599 |
+
173,
|
| 600 |
+
715,
|
| 601 |
+
433,
|
| 602 |
+
924
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 4
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "image",
|
| 608 |
+
"img_path": "images/e2079b0cfcc80dba025b391c6de4d28344306c749460b8f6d19f3d68b71209f6.jpg",
|
| 609 |
+
"image_caption": [
|
| 610 |
+
"Figure 2: Meta-learning task: learners are presented with two example images depicting a visual concept (a), and must determine whether a third image (b) is an example of the same concept (c). "
|
| 611 |
+
],
|
| 612 |
+
"image_footnote": [],
|
| 613 |
+
"bbox": [
|
| 614 |
+
452,
|
| 615 |
+
722,
|
| 616 |
+
812,
|
| 617 |
+
843
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 4
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "image",
|
| 623 |
+
"img_path": "images/22d41ccd6dcfd0a29fab0ebd9d505f674866a7361329c81645c87376dd97c62e.jpg",
|
| 624 |
+
"image_caption": [
|
| 625 |
+
"Figure 3: Relationship between reconstruction error TRE and mutual information $I ( \\theta ; X )$ between inputs and representations. (a) Evolution of the two quantities over the course of a single run. Both initially increase, then decrease. The color bar shows the training epoch. (b) Values from ten training runs. (c) Values from the second half of each training run, taken to begin when $I ( \\theta ; X )$ reaches a maximum. In (b) and (c), the observed correlation is significant: respectively $\\mathrm { \\Delta } r = 0 . 7 0$ , $p < 1 e { - } 1 0 )$ ) and $\\mathrm { \\Delta } r = 0 . 7 1$ , $p < 1 e { - 8 } )$ . "
|
| 626 |
+
],
|
| 627 |
+
"image_footnote": [],
|
| 628 |
+
"bbox": [
|
| 629 |
+
176,
|
| 630 |
+
108,
|
| 631 |
+
782,
|
| 632 |
+
272
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 5
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"text": "Given example images $x _ { 1 }$ and $x _ { 2 }$ , a test image $x ^ { * }$ , and label $y ^ { * }$ , the model computes: ",
|
| 639 |
+
"bbox": [
|
| 640 |
+
173,
|
| 641 |
+
375,
|
| 642 |
+
730,
|
| 643 |
+
390
|
| 644 |
+
],
|
| 645 |
+
"page_idx": 5
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "equation",
|
| 649 |
+
"img_path": "images/f3ffa76c1fe8e1a28daf391cb72c2059dc0b6ccdfab37df2c05db94068e71bcf.jpg",
|
| 650 |
+
"text": "$$\n\\begin{array} { r l } & { z _ { i } = { \\mathtt { C N N } } ( x _ { i } ) \\mathrm { ~ f o r ~ } i \\in \\{ 1 , 2 , * \\} } \\\\ & { \\theta = \\operatorname { t a n h } ( W ( z _ { 1 } + z _ { 2 } ) ) } \\\\ & { \\hat { y } = \\theta ^ { \\top } z _ { t } } \\end{array}\n$$",
|
| 651 |
+
"text_format": "latex",
|
| 652 |
+
"bbox": [
|
| 653 |
+
400,
|
| 654 |
+
395,
|
| 655 |
+
599,
|
| 656 |
+
453
|
| 657 |
+
],
|
| 658 |
+
"page_idx": 5
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"text": "We use $\\theta$ as the representation of a classifier for analysis. The model is trained to minimize the logistic loss between logits $\\hat { y }$ and ground-truth labels $y ^ { * }$ . More details are given in Appendix A. ",
|
| 663 |
+
"bbox": [
|
| 664 |
+
173,
|
| 665 |
+
457,
|
| 666 |
+
821,
|
| 667 |
+
486
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 5
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"text": "Compositional structure Visual concepts used in this task are all single attributes or conjunctions of attributes; i.e. their associated derivations are of the form attr or $\\langle \\arctan _ { \\mathsf { 1 } } , \\mathsf { a t t r } _ { \\mathsf { 2 } } \\rangle$ . Attributes include background color, digit color, digit identity and stroke type. The composition function $^ *$ is addition and the distance $\\delta ( \\theta , \\theta ^ { \\prime } )$ is cosine similarity $1 - \\theta ^ { \\top } \\theta ^ { \\prime } / ( \\lVert \\theta \\rVert \\lVert \\theta ^ { \\prime } \\rVert )$ . ",
|
| 674 |
+
"bbox": [
|
| 675 |
+
174,
|
| 676 |
+
501,
|
| 677 |
+
825,
|
| 678 |
+
558
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 5
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "Evaluation The training dataset consists of 9000 image triplets, evenly balanced between positive and negative classes, with a validation set of 500 examples. At convergence, the model achieves validation accuracy of $7 5 . 2 \\%$ on average over ten training runs. (Perfect accuracy is not possible because the true classifier is not fully determined by two training examples). We explore the relationship between the information bottleneck and compositionality by comparing $\\mathrm { T R E } ( \\mathcal { X } )$ to the mutual information $I ( \\theta ; x )$ between representations and inputs over the course of training. Both quantities are computed on the validation set, calculating $\\mathrm { T R E } ( \\mathcal { X } )$ as described in Section 3 and $I ( \\theta ; X )$ as described in Shwartz-Ziv & Tishby (2017). (For discussion of limitations of this approach to computing mutual information between inputs and representations, see Saxe et al., 2018.) ",
|
| 685 |
+
"bbox": [
|
| 686 |
+
174,
|
| 687 |
+
571,
|
| 688 |
+
825,
|
| 689 |
+
698
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 5
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "Figure 3 shows the relationship between $\\mathrm { T R E } ( \\mathcal { X } )$ and $I ( \\theta ; X )$ . Recall that small TRE is indicative of a high degree of compositionality. It can be seen that both mutual information and reconstruction error are initially low (because representations initially encode little about distinctions between inputs). Both increase over the course of training, and decrease together after mutual information reaches a maximum (Figure 3a). This pattern holds if we plot values from multiple training runs at the same time (Figure 3b), or if we consider only the postulated compression phase (Figure 3c). These results are consistent with the hypothesis that compression in the information bottleneck framework is associated with the discovery of compositional representations. ",
|
| 696 |
+
"bbox": [
|
| 697 |
+
173,
|
| 698 |
+
704,
|
| 699 |
+
825,
|
| 700 |
+
816
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 5
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "5 COMPOSITIONALITY AND HUMAN JUDGMENTS ",
|
| 707 |
+
"text_level": 1,
|
| 708 |
+
"bbox": [
|
| 709 |
+
174,
|
| 710 |
+
837,
|
| 711 |
+
599,
|
| 712 |
+
853
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 5
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "text",
|
| 718 |
+
"text": "Next we investigate a more conventional representation learning task. High-dimensional embeddings of words and phrases are useful for many natural language processing applications (Turian et al., 2010), and many techniques exist to learn them from unlabeled text (Deerwester et al., 1990; Mikolov et al., 2013). The question we wish to explore is not whether phrase vectors are compositional in aggregate, but rather how compositional individual phrase representations are. Our hypothesis is that bigrams whose representations have low TRE are those whose meaning is essentially compositional, and well-explained by the constituent words, while bigrams with large reconstruction error will correspond to non-compositional multi-word expressions (Nattinger & DeCarrico, 1992). ",
|
| 719 |
+
"bbox": [
|
| 720 |
+
174,
|
| 721 |
+
867,
|
| 722 |
+
825,
|
| 723 |
+
924
|
| 724 |
+
],
|
| 725 |
+
"page_idx": 5
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"type": "text",
|
| 729 |
+
"text": "",
|
| 730 |
+
"bbox": [
|
| 731 |
+
174,
|
| 732 |
+
103,
|
| 733 |
+
825,
|
| 734 |
+
159
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 6
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "text",
|
| 740 |
+
"text": "This task is already well-studied in the natural language processing literature (Salehi et al., 2015), and the analysis we present differs only in the use of TRE to search for atomic representations rather than taking them to be given by pre-trained word representations. Our goal is to validate our approach in a language processing context, and show how existing work on compositionality (and representations of natural language in particular) fit into the more general framework proposed in the current paper. ",
|
| 741 |
+
"bbox": [
|
| 742 |
+
174,
|
| 743 |
+
166,
|
| 744 |
+
825,
|
| 745 |
+
236
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 6
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "text",
|
| 751 |
+
"text": "We train embeddings for words and bigrams using the CBOW objective of Mikolov et al. (2013) using the implementation provided in FastText (Bojanowski et al., 2017) with 100-dimensional vectors and a context size of 5. Vectors are estimated from a 250M-word subset of the Gigaword dataset (Parker et al., 2011). More details are provided in Appendix A. ",
|
| 752 |
+
"bbox": [
|
| 753 |
+
174,
|
| 754 |
+
242,
|
| 755 |
+
825,
|
| 756 |
+
299
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 6
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "text",
|
| 762 |
+
"text": "Compositional structure We want to know how close phrase embeddings are to the composition of their constituent word embeddings. We define derivations for words and phrases in the natural way: single words $w$ have primitive derivations $d = w$ ; bigrams $w _ { 1 } w _ { 2 }$ have derivations of the form $\\langle w _ { 1 } , w _ { 2 } \\rangle$ . The composition function is again vector addition and distance is cosine distance. (Future work might explore learned composition functions as in e.g. Grefenstette et al., 2013, for future work.) We compare bigram-level judgments of compositionality computed by TRE with a dataset of human judgments about noun–noun compounds (Reddy et al., 2011). In this dataset, humans rate bigrams as compositional on a scale from 0 to 5, with highly conventionalized phrases like gravy train assigned low scores and graduate student assigned high ones. ",
|
| 763 |
+
"bbox": [
|
| 764 |
+
173,
|
| 765 |
+
318,
|
| 766 |
+
825,
|
| 767 |
+
443
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 6
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "Results We reproduce the results of Salehi et al. (2015) within the tree reconstruction error framework: for a given $x$ , $\\mathrm { T R E } ( x )$ is anticorrelated with human judgments of compositionality $\\zeta = - 0 . 3 4$ , $p < 0 . 0 1 $ ). Collocations rated “most compositional” by our approach (i.e. with lowest TRE) are: application form, polo shirt, research project; words rated “least compositional” are fine line, lip service, and nest egg. ",
|
| 774 |
+
"bbox": [
|
| 775 |
+
174,
|
| 776 |
+
460,
|
| 777 |
+
825,
|
| 778 |
+
531
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 6
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "6 COMPOSITIONALITY AND SIMILARITY ",
|
| 785 |
+
"text_level": 1,
|
| 786 |
+
"bbox": [
|
| 787 |
+
174,
|
| 788 |
+
554,
|
| 789 |
+
526,
|
| 790 |
+
570
|
| 791 |
+
],
|
| 792 |
+
"page_idx": 6
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "text",
|
| 796 |
+
"text": "The next section aims at providing a formal, rather than experimental, characterization of the relationship between TRE and another perspective on the analysis of representations with help from oracle derivations. Brighton & Kirby (2006) introduce a notion of topographic similarity, arguing that a learned representation captures relevant domain structure if distances between learned representations are correlated with distances between their associated derivations. This can be viewed as providing a weak form of evidence for compositionality—if the distance function rewards pairs of representations that share overlapping substructure (as might be the case with e.g. string edit distance), edit distance will be expected to correlate with some notion of derivational similarity (Lazaridou et al., 2018). ",
|
| 797 |
+
"bbox": [
|
| 798 |
+
174,
|
| 799 |
+
588,
|
| 800 |
+
825,
|
| 801 |
+
713
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 6
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"text": "In this section we aim to clarify the relationship between the two evaluations. To do this we first need to equip the space of derivations described in Section 3 with a distance function. As the derivations considered in this paper are all tree-structured, it is natural to use a simple tree edit distance (Bille, 2005) for this purpose. We claim the following: ",
|
| 808 |
+
"bbox": [
|
| 809 |
+
174,
|
| 810 |
+
720,
|
| 811 |
+
825,
|
| 812 |
+
776
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 6
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "Proposition 1. Let $\\hat { f } = \\hat { f } _ { \\eta ^ { * } }$ be an approximation to $f$ estimated as in Equation 2, with all $\\mathrm { T R E } ( x ) \\leq \\epsilon$ for some \u000f. Let $\\Delta$ be the tree edit distance (defined formally in Appendix B, Definition 2), and let δ be any distance on $\\Theta$ satisfying the following properties: ",
|
| 819 |
+
"bbox": [
|
| 820 |
+
173,
|
| 821 |
+
782,
|
| 822 |
+
823,
|
| 823 |
+
827
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 6
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "equation",
|
| 829 |
+
"img_path": "images/82d1d1bcab656faccb00f7638d2592ebfd889be8174e4442b9e7a78c57353504.jpg",
|
| 830 |
+
"text": "$$\n\\delta ( \\hat { f } ( d _ { i } ) , \\hat { f } ( d _ { j } ) ) \\leq 1 f o r d _ { i } , d _ { j } \\in \\mathcal { D } _ { 0 }\n$$",
|
| 831 |
+
"text_format": "latex",
|
| 832 |
+
"bbox": [
|
| 833 |
+
225,
|
| 834 |
+
838,
|
| 835 |
+
470,
|
| 836 |
+
858
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 6
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "text",
|
| 842 |
+
"text": "2. $\\delta ( { \\hat { f } } ( d ) , 0 ) \\leq 1$ for $d \\in \\mathcal { D } _ { 0 }$ , where 0 is the identity element for $^ *$ ",
|
| 843 |
+
"bbox": [
|
| 844 |
+
210,
|
| 845 |
+
868,
|
| 846 |
+
651,
|
| 847 |
+
886
|
| 848 |
+
],
|
| 849 |
+
"page_idx": 6
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "text",
|
| 853 |
+
"text": "3. $\\delta ( \\theta _ { i } \\ast \\theta _ { j } , \\theta _ { k } \\ast \\theta _ { \\ell } ) \\leq \\delta ( \\theta _ { i } , \\theta _ { k } ) + \\delta ( \\theta _ { j } , \\theta _ { \\ell } ) .$ . (This condition is satisfied by any translation-invariant metric.) ",
|
| 854 |
+
"bbox": [
|
| 855 |
+
210,
|
| 856 |
+
893,
|
| 857 |
+
647,
|
| 858 |
+
924
|
| 859 |
+
],
|
| 860 |
+
"page_idx": 6
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"type": "text",
|
| 864 |
+
"text": "Then $\\Delta$ is an approximate upper bound on $\\delta$ : for any $x$ , $x ^ { \\prime }$ with $d = D ( x )$ , $d ^ { \\prime } = D ( x ^ { \\prime } )$ ",
|
| 865 |
+
"bbox": [
|
| 866 |
+
168,
|
| 867 |
+
102,
|
| 868 |
+
746,
|
| 869 |
+
118
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 7
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "equation",
|
| 875 |
+
"img_path": "images/5c893b007f4194b7e3f9dc829efb9682c363152ef9ce2db77037093904020f99.jpg",
|
| 876 |
+
"text": "$$\n\\delta ( f ( x ) , f ( x ^ { \\prime } ) ) \\leq \\Delta ( d , d ^ { \\prime } ) + 2 \\epsilon .\n$$",
|
| 877 |
+
"text_format": "latex",
|
| 878 |
+
"bbox": [
|
| 879 |
+
388,
|
| 880 |
+
125,
|
| 881 |
+
607,
|
| 882 |
+
142
|
| 883 |
+
],
|
| 884 |
+
"page_idx": 7
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"type": "text",
|
| 888 |
+
"text": "In other words, representations cannot be much farther apart than the derivations that produce them. \nProof is provided in Appendix B. ",
|
| 889 |
+
"bbox": [
|
| 890 |
+
171,
|
| 891 |
+
156,
|
| 892 |
+
825,
|
| 893 |
+
185
|
| 894 |
+
],
|
| 895 |
+
"page_idx": 7
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"type": "text",
|
| 899 |
+
"text": "We emphasize that small TRE is not a sufficient condition for topographic similarity as defined by Brighton & Kirby (2006): very different derivations might be associated with the same representation (e.g. when representing arithmetic expressions by their results). But this result does demonstrate that compositionality imposes some constraints on the inferences that can be drawn from similarity judgments between representations. ",
|
| 900 |
+
"bbox": [
|
| 901 |
+
173,
|
| 902 |
+
191,
|
| 903 |
+
825,
|
| 904 |
+
261
|
| 905 |
+
],
|
| 906 |
+
"page_idx": 7
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"type": "text",
|
| 910 |
+
"text": "7 COMPOSITIONALITY AND GENERALIZATION ",
|
| 911 |
+
"text_level": 1,
|
| 912 |
+
"bbox": [
|
| 913 |
+
174,
|
| 914 |
+
281,
|
| 915 |
+
575,
|
| 916 |
+
297
|
| 917 |
+
],
|
| 918 |
+
"page_idx": 7
|
| 919 |
+
},
|
| 920 |
+
{
|
| 921 |
+
"type": "text",
|
| 922 |
+
"text": "In our final set of experiments, we investigate the relationship between compositionality and generalization. Here we focus on communication games like the one depicted in Figure 1 and in more detail in Figure 4. As in the previous section, existing work argues for a relationship between compositionality and generalization, claiming that agents need compositional communication protocols to generalize to unseen referents (Kottur et al., 2017; Choi et al., 2018). Here we are able to evaluate this claim empirically by training a large number of agents from random initial conditions, measuring the compositional structure of the language that emerges, and seeing how this relates to their performance on both familiar and novel objects. ",
|
| 923 |
+
"bbox": [
|
| 924 |
+
173,
|
| 925 |
+
313,
|
| 926 |
+
826,
|
| 927 |
+
425
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 7
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "text",
|
| 933 |
+
"text": "Our experiment focuses on a reference game (Gatt et al., 2007). Two policies are trained: a speaker and a listener. The speaker observes pair of target objects represented with a feature vector. The speaker then sends a message (coded as a discrete character sequence) to the listener model. The listener observes this message and attempts to reconstruct the target objects by predicting a sequence of attribute sets. If all objects are predicted correctly, both the speaker and the listener receive a reward of 1 (partial credit is awarded for partly-correct objects; Figure 4). ",
|
| 934 |
+
"bbox": [
|
| 935 |
+
174,
|
| 936 |
+
431,
|
| 937 |
+
583,
|
| 938 |
+
558
|
| 939 |
+
],
|
| 940 |
+
"page_idx": 7
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"type": "text",
|
| 944 |
+
"text": "Because the communication protocol is discrete, policies are jointly trained using a policy gradient objective (Williams, 1992). The speaker and listener are implemented with RNNs; details are provided in Appendix A. ",
|
| 945 |
+
"bbox": [
|
| 946 |
+
173,
|
| 947 |
+
564,
|
| 948 |
+
581,
|
| 949 |
+
619
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 7
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "text",
|
| 955 |
+
"text": "Compositional structure Every target referent consists of two objects; each object has two attributes. The derivation associated with each communicative task thus has the tree structure $\\langle \\langle \\mathsf { a t t r } _ { 1 a } , \\mathsf { a t t r } _ { 1 b } \\rangle$ , $ \\mathsf { a t t r } _ { 2 a } , \\mathsf { a t t r } _ { 2 b } $ . We hold out a subset of these object pairs at training time to evaluate generalization: in each training run, 1/3 of possible reference candidates are never presented to the agent at training time. ",
|
| 956 |
+
"bbox": [
|
| 957 |
+
174,
|
| 958 |
+
635,
|
| 959 |
+
581,
|
| 960 |
+
733
|
| 961 |
+
],
|
| 962 |
+
"page_idx": 7
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"type": "image",
|
| 966 |
+
"img_path": "images/d78ad82d3d03a6516b645718844166c74e09fb61482aa4d425065d389bdcf188.jpg",
|
| 967 |
+
"image_caption": [
|
| 968 |
+
"Figure 4: The communication task: A speaker model observes a pair of target objects, and sends a description of the objects (as a discrete code) to a listener model. The listener attempts to reconstruct the targets, receiving fractional reward for partially-correct predictions. "
|
| 969 |
+
],
|
| 970 |
+
"image_footnote": [],
|
| 971 |
+
"bbox": [
|
| 972 |
+
611,
|
| 973 |
+
431,
|
| 974 |
+
800,
|
| 975 |
+
650
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 7
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "Where the previous examples involved a representation space of real embeddings, here representations are fixed-length discrete codes. Moreover, the derivations themselves have a more complicated semantics than in Sections 4 and 5: order matters, and a commutative operation like addition cannot capture the distinction between hhgreen, squarei, $\\left. \\mathrm { b 1 u e } , \\mathrm { t r i a n g 1 e } \\right. \\rangle$ and $\\langle \\langle { \\mathsf { g r e e n } } , { \\mathsf { t r i a n g l e } } \\rangle$ , $\\langle \\mathtt { b l u e } , \\mathtt { s q u a r e } \\rangle \\rangle$ . We thus need a different class of composition and distance operations. We represent each agent message as a sequence of one-hot vectors, and take the error function $\\delta$ to be the $\\ell _ { 1 }$ distance between vectors. The composition function has the form: ",
|
| 982 |
+
"bbox": [
|
| 983 |
+
174,
|
| 984 |
+
739,
|
| 985 |
+
581,
|
| 986 |
+
781
|
| 987 |
+
],
|
| 988 |
+
"page_idx": 7
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "text",
|
| 992 |
+
"text": "",
|
| 993 |
+
"bbox": [
|
| 994 |
+
174,
|
| 995 |
+
781,
|
| 996 |
+
825,
|
| 997 |
+
851
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 7
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "equation",
|
| 1003 |
+
"img_path": "images/5f2f07a46340a68c1ceced863b6032c2fca63d86eca5b768eb4b4fe6ab1bf0c2.jpg",
|
| 1004 |
+
"text": "$$\n\\theta * \\theta ^ { \\prime } = A \\theta + B \\theta ^ { \\prime }\n$$",
|
| 1005 |
+
"text_format": "latex",
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
436,
|
| 1008 |
+
857,
|
| 1009 |
+
562,
|
| 1010 |
+
873
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 7
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "text",
|
| 1016 |
+
"text": "with free composition parameters $\\eta _ { * } = \\{ A , B \\}$ in Equation 2. These matrices can redistribute the tokens in $\\theta$ and $\\theta ^ { \\prime }$ across different positions of the input string, but cannot affect the choice of the tokens themselves; this makes it possible to model non-commutative aspects of string production. To compute TRE via gradient descent, we allow the elements of $\\mathcal { D } _ { 0 }$ to be arbitrary vectors (intuitively assigning fractional token counts to string indices) rather than restricting them to one-hot indicators. With this change, both $\\delta$ and $^ *$ have subgradients and can be optimized using the same procedure as in preceding sections. ",
|
| 1017 |
+
"bbox": [
|
| 1018 |
+
176,
|
| 1019 |
+
881,
|
| 1020 |
+
825,
|
| 1021 |
+
924
|
| 1022 |
+
],
|
| 1023 |
+
"page_idx": 7
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "image",
|
| 1027 |
+
"img_path": "images/a583b3354405f8fca05ffef241f58682de4171ec038521fdb8bcc174710c75bb.jpg",
|
| 1028 |
+
"image_caption": [
|
| 1029 |
+
"Figure 5: Relationship between TRE and reward. (a) Compositional languages exhibit lower generalization error, measured as the difference between train and test reward $r = 0 . 5 0$ , $p < 1 e { - } 6 )$ . (b) However, compositional languages also exhibit lower absolute performance ${ \\mathrm { ' } r = 0 . 5 7 }$ , $p < 1 e { - 9 } ,$ ). Both facts remain true even if we restrict analysis to “successful” training runs in which agents achieve a reward $> 0 . 5$ on held-out referents $r = 0 . 6$ , $p < 1 e { - 3 }$ and $r = 0 . 3 8$ , $p < 0 . 0 5$ respectively). ",
|
| 1030 |
+
"Figure 6: Fragment of languages resulting from two multiagent training runs. In the first section, the left column shows the target referent, while the remaining columns show the message generated by speaker in the given training run after observing the referent. The two languages have substantially different TRE, but induce similar listener performance (Train and Test reward). "
|
| 1031 |
+
],
|
| 1032 |
+
"image_footnote": [],
|
| 1033 |
+
"bbox": [
|
| 1034 |
+
259,
|
| 1035 |
+
109,
|
| 1036 |
+
732,
|
| 1037 |
+
272
|
| 1038 |
+
],
|
| 1039 |
+
"page_idx": 8
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"type": "table",
|
| 1043 |
+
"img_path": "images/a5eca68a8c3adb6bcdfbcfe43ee5fa28d4b6272f493b95b9f2d03af663543bff.jpg",
|
| 1044 |
+
"table_caption": [],
|
| 1045 |
+
"table_footnote": [],
|
| 1046 |
+
"table_body": "<table><tr><td colspan=\"5\">Language A</td></tr><tr><td>((red</td><td>circle)</td><td>(blue</td><td>triangle))</td><td>jjjj</td></tr><tr><td>((red</td><td>circle)</td><td>(blue</td><td>star))</td><td>jeoo oppp jjjj</td></tr><tr><td>((red</td><td>circle)</td><td>(blue</td><td>circle))</td><td>oopp jjjj</td></tr><tr><td>((red</td><td>circle)</td><td>(blue</td><td>square))</td><td>oopp jjjb</td></tr><tr><td>((red</td><td>square)</td><td>(blue</td><td>triangle))</td><td>jjjj jbjj</td></tr><tr><td>((red</td><td>square)</td><td>(blue</td><td>star))</td><td>o00o jbjj</td></tr><tr><td>((red</td><td>square)</td><td>(blue</td><td>circle))</td><td>oo0o jbbb</td></tr><tr><td>((red</td><td>square)</td><td>(blue</td><td>square))</td><td>o00o jbbb</td></tr><tr><td colspan=\"3\">TRE</td><td>4.30</td><td>2.96</td></tr><tr><td colspan=\"3\">Train reward</td><td>0.78</td><td>0.75</td></tr><tr><td colspan=\"3\">Test reward</td><td>0.61</td><td>0.59</td></tr></table>",
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
258,
|
| 1049 |
+
378,
|
| 1050 |
+
728,
|
| 1051 |
+
545
|
| 1052 |
+
],
|
| 1053 |
+
"page_idx": 8
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"type": "text",
|
| 1057 |
+
"text": "",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
174,
|
| 1060 |
+
650,
|
| 1061 |
+
825,
|
| 1062 |
+
707
|
| 1063 |
+
],
|
| 1064 |
+
"page_idx": 8
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"type": "text",
|
| 1068 |
+
"text": "Results We train 100 speaker–listener pairs with random initial parameters and measure their performance on both training and test sets. Our results suggest a more nuanced view of the relationship between compositionality and generalization than has been argued in the existing literature. TRE is significantly correlated with generalization error (measured as the difference between training accuracies, Figure 5a). However, TRE is also significantly correlated with absolute model reward (Figure 5b)—“compositional” languages more often result from poor communication strategies than successful ones. This is largely a consequence of the fact that many languages with low TRE correspond to trivial strategies (for example, one in which the speaker sends the same message regardless of its observation) that result in poor overall performance. ",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
174,
|
| 1071 |
+
734,
|
| 1072 |
+
825,
|
| 1073 |
+
861
|
| 1074 |
+
],
|
| 1075 |
+
"page_idx": 8
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"type": "text",
|
| 1079 |
+
"text": "Moreover, despite the correlation between TRE and generalization error, low TRE is by no means a necessary condition for good generalization. We can use our technique to automatically mine a collection of training runs for languages that achieve good generalization performance at both low and high levels of compositionality. Examples of such languages are shown in Figure 6. ",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
174,
|
| 1082 |
+
868,
|
| 1083 |
+
823,
|
| 1084 |
+
924
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 8
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"type": "text",
|
| 1090 |
+
"text": "8 CONCLUSIONS ",
|
| 1091 |
+
"text_level": 1,
|
| 1092 |
+
"bbox": [
|
| 1093 |
+
176,
|
| 1094 |
+
102,
|
| 1095 |
+
328,
|
| 1096 |
+
117
|
| 1097 |
+
],
|
| 1098 |
+
"page_idx": 9
|
| 1099 |
+
},
|
| 1100 |
+
{
|
| 1101 |
+
"type": "text",
|
| 1102 |
+
"text": "We have introduced a new evaluation method called TRE for generating graded judgments about compositional structure in representation learning problems where the structure of the observations is understood. TRE infers a set of primitive meaning representations that, when composed, approximate the observed representations, then measures the quality of this approximation. We have applied TRE-based analysis to four different problems in representation learning, relating compositionality to learning dynamics, linguistic compositionality, similarity and generalization. ",
|
| 1103 |
+
"bbox": [
|
| 1104 |
+
174,
|
| 1105 |
+
135,
|
| 1106 |
+
825,
|
| 1107 |
+
218
|
| 1108 |
+
],
|
| 1109 |
+
"page_idx": 9
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"type": "text",
|
| 1113 |
+
"text": "Many interesting questions regarding compositionality and representation learning remain open. The most immediate is how to generalize TRE to the setting where oracle derivations are not available; in this case Equation 2 must be solved jointly with an unsupervised grammar induction problem (Klein & Manning, 2004). Beyond this, it is our hope that this line of research opens up two different kinds of new work: better understanding of existing machine learning models, by providing a new set of tools for understanding their representational capacity; and better understanding of problems, by better understanding the kinds of data distributions and loss functions that give rise to compositionalor non-compositional representations of observations. ",
|
| 1114 |
+
"bbox": [
|
| 1115 |
+
174,
|
| 1116 |
+
224,
|
| 1117 |
+
825,
|
| 1118 |
+
335
|
| 1119 |
+
],
|
| 1120 |
+
"page_idx": 9
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"type": "text",
|
| 1124 |
+
"text": "REPRODUCIBILITY ",
|
| 1125 |
+
"text_level": 1,
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
174,
|
| 1128 |
+
354,
|
| 1129 |
+
305,
|
| 1130 |
+
369
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 9
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "Code and data for all experiments in this paper are provided at https://github.com/jacobandreas/tre. ",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
174,
|
| 1139 |
+
382,
|
| 1140 |
+
583,
|
| 1141 |
+
410
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 9
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 1148 |
+
"text_level": 1,
|
| 1149 |
+
"bbox": [
|
| 1150 |
+
176,
|
| 1151 |
+
429,
|
| 1152 |
+
326,
|
| 1153 |
+
443
|
| 1154 |
+
],
|
| 1155 |
+
"page_idx": 9
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "text",
|
| 1159 |
+
"text": "Thanks to Daniel Fried and David Gaddy for feedback on an early draft of this paper. The author was supported by a Facebook Graduate Fellowship at the time of writing. ",
|
| 1160 |
+
"bbox": [
|
| 1161 |
+
173,
|
| 1162 |
+
455,
|
| 1163 |
+
823,
|
| 1164 |
+
483
|
| 1165 |
+
],
|
| 1166 |
+
"page_idx": 9
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"text": "REFERENCES ",
|
| 1171 |
+
"text_level": 1,
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
176,
|
| 1174 |
+
506,
|
| 1175 |
+
285,
|
| 1176 |
+
521
|
| 1177 |
+
],
|
| 1178 |
+
"page_idx": 9
|
| 1179 |
+
},
|
| 1180 |
+
{
|
| 1181 |
+
"type": "text",
|
| 1182 |
+
"text": "Jacob Andreas and Dan Klein. Analogs of linguistic structure in deep representations. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2017. ",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
173,
|
| 1185 |
+
530,
|
| 1186 |
+
823,
|
| 1187 |
+
559
|
| 1188 |
+
],
|
| 1189 |
+
"page_idx": 9
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"type": "text",
|
| 1193 |
+
"text": "Yoav Artzi, Dipanjan Das, and Slav Petrov. Learning compact lexicons for CCG semantic parsing. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, pp. 1273–1283, Doha, Qatar, 2014. Association for Computational Linguistics. URL http://www. aclweb.org/anthology/D14-1134. ",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
174,
|
| 1196 |
+
570,
|
| 1197 |
+
826,
|
| 1198 |
+
627
|
| 1199 |
+
],
|
| 1200 |
+
"page_idx": 9
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"type": "text",
|
| 1204 |
+
"text": "Marco Baroni and Roberto Zamparelli. Nouns are vectors, adjectives are matrices: Representing adjective-noun constructions in semantic space. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, pp. 1183–1193, Cambridge, MA, USA, 2010. ",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
174,
|
| 1207 |
+
638,
|
| 1208 |
+
826,
|
| 1209 |
+
681
|
| 1210 |
+
],
|
| 1211 |
+
"page_idx": 9
|
| 1212 |
+
},
|
| 1213 |
+
{
|
| 1214 |
+
"type": "text",
|
| 1215 |
+
"text": "Philip Bille. A survey on tree edit distance and related problems. Theoretical computer science, 2005. ",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
173,
|
| 1218 |
+
693,
|
| 1219 |
+
825,
|
| 1220 |
+
708
|
| 1221 |
+
],
|
| 1222 |
+
"page_idx": 9
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"type": "text",
|
| 1226 |
+
"text": "Ben Bogin, Mor Geva, and Jonathan Berant. Emergence of communication in an interactive world with consistent speakers, 2018. ",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
174,
|
| 1229 |
+
719,
|
| 1230 |
+
823,
|
| 1231 |
+
748
|
| 1232 |
+
],
|
| 1233 |
+
"page_idx": 9
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"type": "text",
|
| 1237 |
+
"text": "Piotr Bojanowski, Edouard Grave, Armand Joulin, and Tomas Mikolov. Enriching word vectors with subword information. Transactions of the Association for Computational Linguistics, 2017. ",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
174,
|
| 1240 |
+
761,
|
| 1241 |
+
825,
|
| 1242 |
+
789
|
| 1243 |
+
],
|
| 1244 |
+
"page_idx": 9
|
| 1245 |
+
},
|
| 1246 |
+
{
|
| 1247 |
+
"type": "text",
|
| 1248 |
+
"text": "Henry Brighton. Compositional syntax from cultural transmission. Artificial Life, 2002. ",
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
174,
|
| 1251 |
+
801,
|
| 1252 |
+
748,
|
| 1253 |
+
815
|
| 1254 |
+
],
|
| 1255 |
+
"page_idx": 9
|
| 1256 |
+
},
|
| 1257 |
+
{
|
| 1258 |
+
"type": "text",
|
| 1259 |
+
"text": "Henry Brighton and Simon Kirby. Understanding linguistic evolution by visualizing the emergence of topographic mappings. Artificial life, 2006. ",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
171,
|
| 1262 |
+
828,
|
| 1263 |
+
825,
|
| 1264 |
+
857
|
| 1265 |
+
],
|
| 1266 |
+
"page_idx": 9
|
| 1267 |
+
},
|
| 1268 |
+
{
|
| 1269 |
+
"type": "text",
|
| 1270 |
+
"text": "Rudolf Carnap. Logical syntax of language. 1937. ",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
173,
|
| 1273 |
+
868,
|
| 1274 |
+
506,
|
| 1275 |
+
883
|
| 1276 |
+
],
|
| 1277 |
+
"page_idx": 9
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"type": "text",
|
| 1281 |
+
"text": "David L Chen. Fast online lexicon learning for grounded language acquisition. In Proceedings of the Annual Meeting of the Association for Computational Linguistics, pp. 430–439, 2012. ",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
174,
|
| 1284 |
+
895,
|
| 1285 |
+
825,
|
| 1286 |
+
924
|
| 1287 |
+
],
|
| 1288 |
+
"page_idx": 9
|
| 1289 |
+
},
|
| 1290 |
+
{
|
| 1291 |
+
"type": "text",
|
| 1292 |
+
"text": "Kyunghyun Cho, Bart van Merriënboer, Dzmitry Bahdanau, and Yoshua Bengio. On the properties of neural machine translation: Encoder-decoder approaches. In Proceedings of the Workshop on Syntax, Semantics and Structure in Statistical Translation, 2014. ",
|
| 1293 |
+
"bbox": [
|
| 1294 |
+
176,
|
| 1295 |
+
103,
|
| 1296 |
+
823,
|
| 1297 |
+
146
|
| 1298 |
+
],
|
| 1299 |
+
"page_idx": 10
|
| 1300 |
+
},
|
| 1301 |
+
{
|
| 1302 |
+
"type": "text",
|
| 1303 |
+
"text": "Edward Choi, Angeliki Lazaridou, and Nando de Freitas. Compositional obverter communication learning from raw visual input. In Proceedings of the International Conference on Learning Representations, 2018. ",
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
174,
|
| 1306 |
+
154,
|
| 1307 |
+
823,
|
| 1308 |
+
196
|
| 1309 |
+
],
|
| 1310 |
+
"page_idx": 10
|
| 1311 |
+
},
|
| 1312 |
+
{
|
| 1313 |
+
"type": "text",
|
| 1314 |
+
"text": "Stephen Clark. Vector space models of lexical meaning, 2012. ",
|
| 1315 |
+
"bbox": [
|
| 1316 |
+
173,
|
| 1317 |
+
205,
|
| 1318 |
+
583,
|
| 1319 |
+
220
|
| 1320 |
+
],
|
| 1321 |
+
"page_idx": 10
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"type": "text",
|
| 1325 |
+
"text": "Bob Coecke, Mehrnoosh Sadrzadeh, and Stephen Clark. Mathematical foundations for a compositional distributional model of meaning. arXiv preprint arXiv:1003.4394, 2010. ",
|
| 1326 |
+
"bbox": [
|
| 1327 |
+
171,
|
| 1328 |
+
228,
|
| 1329 |
+
825,
|
| 1330 |
+
257
|
| 1331 |
+
],
|
| 1332 |
+
"page_idx": 10
|
| 1333 |
+
},
|
| 1334 |
+
{
|
| 1335 |
+
"type": "text",
|
| 1336 |
+
"text": "Scott C. Deerwester, Susan T Dumais, Thomas K. Landauer, George W. Furnas, and Richard A. Harshman. Indexing by latent semantic analysis. Journal of the American Society for Information Science, 41(6):391–407, 1990. ",
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
176,
|
| 1339 |
+
265,
|
| 1340 |
+
825,
|
| 1341 |
+
308
|
| 1342 |
+
],
|
| 1343 |
+
"page_idx": 10
|
| 1344 |
+
},
|
| 1345 |
+
{
|
| 1346 |
+
"type": "text",
|
| 1347 |
+
"text": "Christopher Dircks and Scott Stoness. Effective lexicon change in the absence of population flux. Advances in Artificial Life, pp. 720–724, 1999. ",
|
| 1348 |
+
"bbox": [
|
| 1349 |
+
169,
|
| 1350 |
+
315,
|
| 1351 |
+
825,
|
| 1352 |
+
345
|
| 1353 |
+
],
|
| 1354 |
+
"page_idx": 10
|
| 1355 |
+
},
|
| 1356 |
+
{
|
| 1357 |
+
"type": "text",
|
| 1358 |
+
"text": "Li Dong and Mirella Lapata. Language to logical form with neural attention. In Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2016. ",
|
| 1359 |
+
"bbox": [
|
| 1360 |
+
171,
|
| 1361 |
+
353,
|
| 1362 |
+
823,
|
| 1363 |
+
382
|
| 1364 |
+
],
|
| 1365 |
+
"page_idx": 10
|
| 1366 |
+
},
|
| 1367 |
+
{
|
| 1368 |
+
"type": "text",
|
| 1369 |
+
"text": "Magnus Enquist and Anthony Arak. Symmetry, beauty and evolution. Nature, 1994. ",
|
| 1370 |
+
"bbox": [
|
| 1371 |
+
176,
|
| 1372 |
+
390,
|
| 1373 |
+
732,
|
| 1374 |
+
406
|
| 1375 |
+
],
|
| 1376 |
+
"page_idx": 10
|
| 1377 |
+
},
|
| 1378 |
+
{
|
| 1379 |
+
"type": "text",
|
| 1380 |
+
"text": "Jerry A Fodor and Ernest Lepore. The compositionality papers. Oxford University Press, 2002. ",
|
| 1381 |
+
"bbox": [
|
| 1382 |
+
169,
|
| 1383 |
+
412,
|
| 1384 |
+
797,
|
| 1385 |
+
429
|
| 1386 |
+
],
|
| 1387 |
+
"page_idx": 10
|
| 1388 |
+
},
|
| 1389 |
+
{
|
| 1390 |
+
"type": "text",
|
| 1391 |
+
"text": "Alona Fyshe, Leila Wehbe, Partha P Talukdar, Brian Murphy, and Tom M Mitchell. A compositional and interpretable semantic space. In Proceedings of the Annual Meeting of the North American Chapter of the Association for Computational Linguistics, pp. 32–41, 2015. ",
|
| 1392 |
+
"bbox": [
|
| 1393 |
+
174,
|
| 1394 |
+
436,
|
| 1395 |
+
821,
|
| 1396 |
+
479
|
| 1397 |
+
],
|
| 1398 |
+
"page_idx": 10
|
| 1399 |
+
},
|
| 1400 |
+
{
|
| 1401 |
+
"type": "text",
|
| 1402 |
+
"text": "Albert Gatt, Ielka Van Der Sluis, and Kees Van Deemter. Evaluating algorithms for the generation of referring expressions using a balanced corpus. In Proceedings of the Eleventh European Workshop on Natural Language Generation, pp. 49–56. Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2007. ",
|
| 1403 |
+
"bbox": [
|
| 1404 |
+
174,
|
| 1405 |
+
487,
|
| 1406 |
+
825,
|
| 1407 |
+
544
|
| 1408 |
+
],
|
| 1409 |
+
"page_idx": 10
|
| 1410 |
+
},
|
| 1411 |
+
{
|
| 1412 |
+
"type": "text",
|
| 1413 |
+
"text": "Edward Grefenstette, Georgiana Dinu, Yao-Zhong Zhang, Mehrnoosh Sadrzadeh, and Marco Baroni. Multi-step regression learning for compositional distributional semantics. Proceedings of the International Conference on Computational Semantics, 2013. ",
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
176,
|
| 1416 |
+
551,
|
| 1417 |
+
823,
|
| 1418 |
+
595
|
| 1419 |
+
],
|
| 1420 |
+
"page_idx": 10
|
| 1421 |
+
},
|
| 1422 |
+
{
|
| 1423 |
+
"type": "text",
|
| 1424 |
+
"text": "Serhii Havrylov and Ivan Titov. Emergence of language with multi-agent games: learning to communicate with sequences of symbols. In Advances in Neural Information Processing Systems, 2017. ",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
176,
|
| 1427 |
+
603,
|
| 1428 |
+
823,
|
| 1429 |
+
646
|
| 1430 |
+
],
|
| 1431 |
+
"page_idx": 10
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"type": "text",
|
| 1435 |
+
"text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In Proceedings of the International Conference on Learning Representations, 2014. ",
|
| 1436 |
+
"bbox": [
|
| 1437 |
+
169,
|
| 1438 |
+
654,
|
| 1439 |
+
825,
|
| 1440 |
+
684
|
| 1441 |
+
],
|
| 1442 |
+
"page_idx": 10
|
| 1443 |
+
},
|
| 1444 |
+
{
|
| 1445 |
+
"type": "text",
|
| 1446 |
+
"text": "Simon Kirby. Learning, bottlenecks and the evolution of recursive syntax. In Linguistic Evolution through Language Acquisition: Formal and Computational Models. Cambridge University Press, 1998. ",
|
| 1447 |
+
"bbox": [
|
| 1448 |
+
174,
|
| 1449 |
+
690,
|
| 1450 |
+
825,
|
| 1451 |
+
734
|
| 1452 |
+
],
|
| 1453 |
+
"page_idx": 10
|
| 1454 |
+
},
|
| 1455 |
+
{
|
| 1456 |
+
"type": "text",
|
| 1457 |
+
"text": "Dan Klein and Christopher D Manning. Corpus-based induction of syntactic structure: Models of dependency and constituency. In Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2004. ",
|
| 1458 |
+
"bbox": [
|
| 1459 |
+
174,
|
| 1460 |
+
742,
|
| 1461 |
+
825,
|
| 1462 |
+
785
|
| 1463 |
+
],
|
| 1464 |
+
"page_idx": 10
|
| 1465 |
+
},
|
| 1466 |
+
{
|
| 1467 |
+
"type": "text",
|
| 1468 |
+
"text": "Satwik Kottur, José MF Moura, Stefan Lee, and Dhruv Batra. Natural language does not emerge’naturally’in multi-agent dialog. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2017. ",
|
| 1469 |
+
"bbox": [
|
| 1470 |
+
174,
|
| 1471 |
+
792,
|
| 1472 |
+
825,
|
| 1473 |
+
837
|
| 1474 |
+
],
|
| 1475 |
+
"page_idx": 10
|
| 1476 |
+
},
|
| 1477 |
+
{
|
| 1478 |
+
"type": "text",
|
| 1479 |
+
"text": "Angeliki Lazaridou, Nghia The Pham, and Marco Baroni. Towards multi-agent communication-based language learning. arXiv preprint arXiv:1605.07133, 2016. ",
|
| 1480 |
+
"bbox": [
|
| 1481 |
+
171,
|
| 1482 |
+
844,
|
| 1483 |
+
823,
|
| 1484 |
+
873
|
| 1485 |
+
],
|
| 1486 |
+
"page_idx": 10
|
| 1487 |
+
},
|
| 1488 |
+
{
|
| 1489 |
+
"type": "text",
|
| 1490 |
+
"text": "Angeliki Lazaridou, Alexander Peysakhovich, and Marco Baroni. Multi-agent cooperation and the emergence of (natural) language. In Proceedings of the International Conference on Learning Representations, 2017. ",
|
| 1491 |
+
"bbox": [
|
| 1492 |
+
176,
|
| 1493 |
+
881,
|
| 1494 |
+
823,
|
| 1495 |
+
924
|
| 1496 |
+
],
|
| 1497 |
+
"page_idx": 10
|
| 1498 |
+
},
|
| 1499 |
+
{
|
| 1500 |
+
"type": "text",
|
| 1501 |
+
"text": "Angeliki Lazaridou, Karl Moritz Hermann, Karl Tuyls, and Stephen Clark. Emergence of linguistic communication from referential games with symbolic and pixel input. In Proceedings of the International Conference on Learning Representations, 2018. ",
|
| 1502 |
+
"bbox": [
|
| 1503 |
+
174,
|
| 1504 |
+
103,
|
| 1505 |
+
823,
|
| 1506 |
+
146
|
| 1507 |
+
],
|
| 1508 |
+
"page_idx": 11
|
| 1509 |
+
},
|
| 1510 |
+
{
|
| 1511 |
+
"type": "text",
|
| 1512 |
+
"text": "David Lewis. General semantics. In Montague grammar. 1976. ",
|
| 1513 |
+
"bbox": [
|
| 1514 |
+
173,
|
| 1515 |
+
155,
|
| 1516 |
+
591,
|
| 1517 |
+
171
|
| 1518 |
+
],
|
| 1519 |
+
"page_idx": 11
|
| 1520 |
+
},
|
| 1521 |
+
{
|
| 1522 |
+
"type": "text",
|
| 1523 |
+
"text": "Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S. Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. In Advances in Neural Information Processing Systems, pp. 3111–3119, 2013. ",
|
| 1524 |
+
"bbox": [
|
| 1525 |
+
176,
|
| 1526 |
+
180,
|
| 1527 |
+
823,
|
| 1528 |
+
223
|
| 1529 |
+
],
|
| 1530 |
+
"page_idx": 11
|
| 1531 |
+
},
|
| 1532 |
+
{
|
| 1533 |
+
"type": "text",
|
| 1534 |
+
"text": "Jeff Mitchell and Mirella Lapata. Vector-based models of semantic composition. Proceedings of the Human Language Technology Conference of the Association for Computational Linguistics, pp. 236–244, 2008. ",
|
| 1535 |
+
"bbox": [
|
| 1536 |
+
173,
|
| 1537 |
+
233,
|
| 1538 |
+
826,
|
| 1539 |
+
275
|
| 1540 |
+
],
|
| 1541 |
+
"page_idx": 11
|
| 1542 |
+
},
|
| 1543 |
+
{
|
| 1544 |
+
"type": "text",
|
| 1545 |
+
"text": "Richard Montague. Universal grammar. 1970. ",
|
| 1546 |
+
"bbox": [
|
| 1547 |
+
174,
|
| 1548 |
+
285,
|
| 1549 |
+
478,
|
| 1550 |
+
301
|
| 1551 |
+
],
|
| 1552 |
+
"page_idx": 11
|
| 1553 |
+
},
|
| 1554 |
+
{
|
| 1555 |
+
"type": "text",
|
| 1556 |
+
"text": "Igor Mordatch and Pieter Abbeel. Emergence of grounded compositional language in multi-agent populations. arXiv preprint arXiv:1703.04908, 2017. ",
|
| 1557 |
+
"bbox": [
|
| 1558 |
+
173,
|
| 1559 |
+
310,
|
| 1560 |
+
823,
|
| 1561 |
+
339
|
| 1562 |
+
],
|
| 1563 |
+
"page_idx": 11
|
| 1564 |
+
},
|
| 1565 |
+
{
|
| 1566 |
+
"type": "text",
|
| 1567 |
+
"text": "James R Nattinger and Jeanette S DeCarrico. Lexical phrases and language teaching. 1992. ",
|
| 1568 |
+
"bbox": [
|
| 1569 |
+
168,
|
| 1570 |
+
348,
|
| 1571 |
+
777,
|
| 1572 |
+
364
|
| 1573 |
+
],
|
| 1574 |
+
"page_idx": 11
|
| 1575 |
+
},
|
| 1576 |
+
{
|
| 1577 |
+
"type": "text",
|
| 1578 |
+
"text": "Robert Parker, David Graff, Junbo Kong, Ke Chen, and Kazuaki Maeda. English gigaword fifth edition. Technical report, Linguistic Data Consortium, 2011. ",
|
| 1579 |
+
"bbox": [
|
| 1580 |
+
173,
|
| 1581 |
+
373,
|
| 1582 |
+
825,
|
| 1583 |
+
402
|
| 1584 |
+
],
|
| 1585 |
+
"page_idx": 11
|
| 1586 |
+
},
|
| 1587 |
+
{
|
| 1588 |
+
"type": "text",
|
| 1589 |
+
"text": "Siva Reddy, Diana McCarthy, and Suresh Manandhar. An empirical study on compositionality in compound nouns. In Proceedings of the International Joint Conference on Natural Language Processing, 2011. ",
|
| 1590 |
+
"bbox": [
|
| 1591 |
+
173,
|
| 1592 |
+
411,
|
| 1593 |
+
825,
|
| 1594 |
+
455
|
| 1595 |
+
],
|
| 1596 |
+
"page_idx": 11
|
| 1597 |
+
},
|
| 1598 |
+
{
|
| 1599 |
+
"type": "text",
|
| 1600 |
+
"text": "Bahar Salehi, Paul Cook, and Timothy Baldwin. A word embedding approach to predicting the compositionality of multiword expressions. In Proceedings of the Human Language Technology Conference of the North American Chapter of the Association for Computational Linguistics, 2015. ",
|
| 1601 |
+
"bbox": [
|
| 1602 |
+
174,
|
| 1603 |
+
464,
|
| 1604 |
+
825,
|
| 1605 |
+
507
|
| 1606 |
+
],
|
| 1607 |
+
"page_idx": 11
|
| 1608 |
+
},
|
| 1609 |
+
{
|
| 1610 |
+
"type": "text",
|
| 1611 |
+
"text": "Adam Santoro, Sergey Bartunov, Matthew Botvinick, Daan Wierstra, and Timothy Lillicrap. Metalearning with memory-augmented neural networks. In Proceedings of the International Conference on Machine Learning, 2016. ",
|
| 1612 |
+
"bbox": [
|
| 1613 |
+
173,
|
| 1614 |
+
516,
|
| 1615 |
+
825,
|
| 1616 |
+
560
|
| 1617 |
+
],
|
| 1618 |
+
"page_idx": 11
|
| 1619 |
+
},
|
| 1620 |
+
{
|
| 1621 |
+
"type": "text",
|
| 1622 |
+
"text": "AM Saxe, Y Bansal, J Dapello, M Advani, A Kolchinsky, BD Tracey, and DD Cox. On the information bottleneck theory of deep learning. In Proceedings of the International Conference on Learning Representations, 2018. ",
|
| 1623 |
+
"bbox": [
|
| 1624 |
+
174,
|
| 1625 |
+
569,
|
| 1626 |
+
825,
|
| 1627 |
+
612
|
| 1628 |
+
],
|
| 1629 |
+
"page_idx": 11
|
| 1630 |
+
},
|
| 1631 |
+
{
|
| 1632 |
+
"type": "text",
|
| 1633 |
+
"text": "Jürgen Schmidhuber. Evolutionary principles in self-referential learning. Diplom Thesis, Institut für Informatik, Technische Universität München, 1987. ",
|
| 1634 |
+
"bbox": [
|
| 1635 |
+
174,
|
| 1636 |
+
622,
|
| 1637 |
+
823,
|
| 1638 |
+
651
|
| 1639 |
+
],
|
| 1640 |
+
"page_idx": 11
|
| 1641 |
+
},
|
| 1642 |
+
{
|
| 1643 |
+
"type": "text",
|
| 1644 |
+
"text": "Paul Hongsuck Seo, Andreas Lehrmann, Bohyung Han, and Leonid Sigal. Visual reference resolution using attention memory for visual dialog. In Advances in Neural Information Processing Systems, 2017. ",
|
| 1645 |
+
"bbox": [
|
| 1646 |
+
173,
|
| 1647 |
+
660,
|
| 1648 |
+
826,
|
| 1649 |
+
703
|
| 1650 |
+
],
|
| 1651 |
+
"page_idx": 11
|
| 1652 |
+
},
|
| 1653 |
+
{
|
| 1654 |
+
"type": "text",
|
| 1655 |
+
"text": "Ravid Shwartz-Ziv and Naftali Tishby. Opening the black box of deep neural networks via information. arXiv preprint arXiv:1703.00810, 2017. ",
|
| 1656 |
+
"bbox": [
|
| 1657 |
+
173,
|
| 1658 |
+
712,
|
| 1659 |
+
825,
|
| 1660 |
+
742
|
| 1661 |
+
],
|
| 1662 |
+
"page_idx": 11
|
| 1663 |
+
},
|
| 1664 |
+
{
|
| 1665 |
+
"type": "text",
|
| 1666 |
+
"text": "Paul Smolensky. Connectionism, constituency, and the language of thought. In Meaning in Mind: Fodor and His Critics. Blackwell, 1991. ",
|
| 1667 |
+
"bbox": [
|
| 1668 |
+
168,
|
| 1669 |
+
751,
|
| 1670 |
+
825,
|
| 1671 |
+
781
|
| 1672 |
+
],
|
| 1673 |
+
"page_idx": 11
|
| 1674 |
+
},
|
| 1675 |
+
{
|
| 1676 |
+
"type": "text",
|
| 1677 |
+
"text": "Richard Socher, Brody Huval, Christopher Manning, and Andrew Ng. Semantic compositionality through recursive matrix-vector spaces. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2012. ",
|
| 1678 |
+
"bbox": [
|
| 1679 |
+
173,
|
| 1680 |
+
790,
|
| 1681 |
+
825,
|
| 1682 |
+
833
|
| 1683 |
+
],
|
| 1684 |
+
"page_idx": 11
|
| 1685 |
+
},
|
| 1686 |
+
{
|
| 1687 |
+
"type": "text",
|
| 1688 |
+
"text": "Richard Socher, John Bauer, Christopher D. Manning, and Andrew Y. Ng. Parsing with compositional vector grammars. In Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2013. ",
|
| 1689 |
+
"bbox": [
|
| 1690 |
+
171,
|
| 1691 |
+
843,
|
| 1692 |
+
825,
|
| 1693 |
+
885
|
| 1694 |
+
],
|
| 1695 |
+
"page_idx": 11
|
| 1696 |
+
},
|
| 1697 |
+
{
|
| 1698 |
+
"type": "text",
|
| 1699 |
+
"text": "Naftali Tishby and Noga Zaslavsky. Deep learning and the information bottleneck principle. In Information Theory Workshop, 2015. ",
|
| 1700 |
+
"bbox": [
|
| 1701 |
+
173,
|
| 1702 |
+
895,
|
| 1703 |
+
823,
|
| 1704 |
+
924
|
| 1705 |
+
],
|
| 1706 |
+
"page_idx": 11
|
| 1707 |
+
},
|
| 1708 |
+
{
|
| 1709 |
+
"type": "text",
|
| 1710 |
+
"text": "Joseph Turian, Lev Ratinov, and Yoshua Bengio. Word representations: a simple and general method for semi-supervised learning. In Proceedings of the 48th Annual Meeting of the Association for Computational Linguistics, pp. 384–394. Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2010. ",
|
| 1711 |
+
"bbox": [
|
| 1712 |
+
174,
|
| 1713 |
+
103,
|
| 1714 |
+
825,
|
| 1715 |
+
160
|
| 1716 |
+
],
|
| 1717 |
+
"page_idx": 12
|
| 1718 |
+
},
|
| 1719 |
+
{
|
| 1720 |
+
"type": "text",
|
| 1721 |
+
"text": "JFAK van Benthem and Alice ter Meulen. Handbook of logic and language. 1996. ",
|
| 1722 |
+
"bbox": [
|
| 1723 |
+
174,
|
| 1724 |
+
169,
|
| 1725 |
+
715,
|
| 1726 |
+
184
|
| 1727 |
+
],
|
| 1728 |
+
"page_idx": 12
|
| 1729 |
+
},
|
| 1730 |
+
{
|
| 1731 |
+
"type": "text",
|
| 1732 |
+
"text": "Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 1992. ",
|
| 1733 |
+
"bbox": [
|
| 1734 |
+
169,
|
| 1735 |
+
193,
|
| 1736 |
+
821,
|
| 1737 |
+
220
|
| 1738 |
+
],
|
| 1739 |
+
"page_idx": 12
|
| 1740 |
+
},
|
| 1741 |
+
{
|
| 1742 |
+
"type": "text",
|
| 1743 |
+
"text": "Luke S. Zettlemoyer and Michael Collins. Learning to map sentences to logical form: Structured classification with probabilistic categorial grammars. In Proceedings of the Conference on Uncertainty in Artificial Intelligence, pp. 658–666, 2005. ",
|
| 1744 |
+
"bbox": [
|
| 1745 |
+
174,
|
| 1746 |
+
231,
|
| 1747 |
+
825,
|
| 1748 |
+
272
|
| 1749 |
+
],
|
| 1750 |
+
"page_idx": 12
|
| 1751 |
+
},
|
| 1752 |
+
{
|
| 1753 |
+
"type": "text",
|
| 1754 |
+
"text": "A MODELING DETAILS ",
|
| 1755 |
+
"text_level": 1,
|
| 1756 |
+
"bbox": [
|
| 1757 |
+
176,
|
| 1758 |
+
102,
|
| 1759 |
+
383,
|
| 1760 |
+
118
|
| 1761 |
+
],
|
| 1762 |
+
"page_idx": 13
|
| 1763 |
+
},
|
| 1764 |
+
{
|
| 1765 |
+
"type": "text",
|
| 1766 |
+
"text": "Few-shot classification The CNN has the following form: ",
|
| 1767 |
+
"bbox": [
|
| 1768 |
+
173,
|
| 1769 |
+
132,
|
| 1770 |
+
568,
|
| 1771 |
+
148
|
| 1772 |
+
],
|
| 1773 |
+
"page_idx": 13
|
| 1774 |
+
},
|
| 1775 |
+
{
|
| 1776 |
+
"type": "text",
|
| 1777 |
+
"text": "Conv(out $= 6$ , kernel $= 5$ ) \nReLU \nMaxPool(kernel $^ { = 2 }$ ) \nConv(out $= 1 6$ , kernel $= 5$ ) \nReLU \nMaxPool(kernel $^ { = 2 }$ ) \nLinear(out $= 1 2 8$ ) \nReLU \nLinear(out $= 6 4$ ) \nReLU ",
|
| 1778 |
+
"bbox": [
|
| 1779 |
+
173,
|
| 1780 |
+
160,
|
| 1781 |
+
387,
|
| 1782 |
+
297
|
| 1783 |
+
],
|
| 1784 |
+
"page_idx": 13
|
| 1785 |
+
},
|
| 1786 |
+
{
|
| 1787 |
+
"type": "text",
|
| 1788 |
+
"text": "The model is trained using ADAM (Kingma & Ba, 2014) with a learning rate of .001 and a batch size of 128. Training is ended when the model stops improving on a held-out set. ",
|
| 1789 |
+
"bbox": [
|
| 1790 |
+
174,
|
| 1791 |
+
310,
|
| 1792 |
+
823,
|
| 1793 |
+
338
|
| 1794 |
+
],
|
| 1795 |
+
"page_idx": 13
|
| 1796 |
+
},
|
| 1797 |
+
{
|
| 1798 |
+
"type": "text",
|
| 1799 |
+
"text": "Word embeddings We train FastText (Bojanowski et al., 2017) on the first 250 million words of the NYT section of Gigaword (Parker et al., 2011). To acquire bigram representations, we pre-process this dataset so that each occurrence of a bigram from the Reddy et al. (2011) dataset is treated as a single word for purposes of estimating word vectors. ",
|
| 1800 |
+
"bbox": [
|
| 1801 |
+
174,
|
| 1802 |
+
353,
|
| 1803 |
+
825,
|
| 1804 |
+
410
|
| 1805 |
+
],
|
| 1806 |
+
"page_idx": 13
|
| 1807 |
+
},
|
| 1808 |
+
{
|
| 1809 |
+
"type": "text",
|
| 1810 |
+
"text": "Communication The encoder and decoder RNNs both use gated recurrent units (Cho et al., 2014) with embeddings and hidden states of size 256. The size of the discrete vocabulary is set to 16 and the maximum message length to 4. Training uses a policy gradient objective with a scalar baseline set to the running average reward; this is optimized using ADAM (Kingma & Ba, 2014) with a learning rate of .001 and a batch size of 256. Each model is trained for 500 steps. Models are trained by sampling from the decoder’s output distribution, but greedy decoding is used to evaluate performance and produce Figure 6. ",
|
| 1811 |
+
"bbox": [
|
| 1812 |
+
173,
|
| 1813 |
+
424,
|
| 1814 |
+
825,
|
| 1815 |
+
522
|
| 1816 |
+
],
|
| 1817 |
+
"page_idx": 13
|
| 1818 |
+
},
|
| 1819 |
+
{
|
| 1820 |
+
"type": "text",
|
| 1821 |
+
"text": "B PROPOSITION 1 ",
|
| 1822 |
+
"text_level": 1,
|
| 1823 |
+
"bbox": [
|
| 1824 |
+
176,
|
| 1825 |
+
541,
|
| 1826 |
+
338,
|
| 1827 |
+
558
|
| 1828 |
+
],
|
| 1829 |
+
"page_idx": 13
|
| 1830 |
+
},
|
| 1831 |
+
{
|
| 1832 |
+
"type": "text",
|
| 1833 |
+
"text": "First, some definitions: ",
|
| 1834 |
+
"bbox": [
|
| 1835 |
+
174,
|
| 1836 |
+
574,
|
| 1837 |
+
325,
|
| 1838 |
+
588
|
| 1839 |
+
],
|
| 1840 |
+
"page_idx": 13
|
| 1841 |
+
},
|
| 1842 |
+
{
|
| 1843 |
+
"type": "text",
|
| 1844 |
+
"text": "Definition 1. The size of a derivation is given by: ",
|
| 1845 |
+
"bbox": [
|
| 1846 |
+
173,
|
| 1847 |
+
606,
|
| 1848 |
+
501,
|
| 1849 |
+
621
|
| 1850 |
+
],
|
| 1851 |
+
"page_idx": 13
|
| 1852 |
+
},
|
| 1853 |
+
{
|
| 1854 |
+
"type": "equation",
|
| 1855 |
+
"img_path": "images/0ec8e02b652e70b0ac1c11cd7eb57d83294bb24b16c67a13c33cf1e386096c41.jpg",
|
| 1856 |
+
"text": "$$\n\\begin{array} { r l r } { | d | = 1 } & { { } } & { i f d \\in \\mathcal { D } _ { 0 } } \\\\ { | \\langle d _ { a } , d _ { b } \\rangle | = | d _ { a } | + | d _ { b } | } & { { } } & { o t h e r w i s e } \\end{array}\n$$",
|
| 1857 |
+
"text_format": "latex",
|
| 1858 |
+
"bbox": [
|
| 1859 |
+
370,
|
| 1860 |
+
626,
|
| 1861 |
+
629,
|
| 1862 |
+
662
|
| 1863 |
+
],
|
| 1864 |
+
"page_idx": 13
|
| 1865 |
+
},
|
| 1866 |
+
{
|
| 1867 |
+
"type": "text",
|
| 1868 |
+
"text": "Definition 2. The tree edit distance between derivations is defined by: ",
|
| 1869 |
+
"bbox": [
|
| 1870 |
+
169,
|
| 1871 |
+
667,
|
| 1872 |
+
637,
|
| 1873 |
+
683
|
| 1874 |
+
],
|
| 1875 |
+
"page_idx": 13
|
| 1876 |
+
},
|
| 1877 |
+
{
|
| 1878 |
+
"type": "equation",
|
| 1879 |
+
"img_path": "images/39d315d1c6c6f195a793ea77a6f2a95d7bfa8f23dae68b5ada3ec0dbfb825d5a.jpg",
|
| 1880 |
+
"text": "$$\n\\Delta ( d _ { i } , d _ { j } ) = \\mathbb { I } [ i = j ] \\quad i f d _ { i } \\in \\mathcal { D } _ { 0 } a n d d _ { j } \\in \\mathcal { D } _ { 0 }\n$$",
|
| 1881 |
+
"text_format": "latex",
|
| 1882 |
+
"bbox": [
|
| 1883 |
+
297,
|
| 1884 |
+
688,
|
| 1885 |
+
609,
|
| 1886 |
+
705
|
| 1887 |
+
],
|
| 1888 |
+
"page_idx": 13
|
| 1889 |
+
},
|
| 1890 |
+
{
|
| 1891 |
+
"type": "equation",
|
| 1892 |
+
"img_path": "images/61ccbb42c8e4fca79b227c2a73fb5521b49579a701fc13c66358b174ac044a17.jpg",
|
| 1893 |
+
"text": "$$\n\\Delta ( d _ { i } , \\langle d _ { j } , d _ { k } \\rangle ) = \\operatorname* { m i n } \\left\\{ \\begin{array} { l l } { \\Delta ( d _ { i } , d _ { j } ) + | d _ { k } | } \\\\ { \\Delta ( d _ { i } , d _ { k } ) + | d _ { j } | } \\end{array} \\right\\} \\quad i f d _ { i } \\in \\mathcal { D } _ { 0 }\n$$",
|
| 1894 |
+
"text_format": "latex",
|
| 1895 |
+
"bbox": [
|
| 1896 |
+
263,
|
| 1897 |
+
710,
|
| 1898 |
+
656,
|
| 1899 |
+
752
|
| 1900 |
+
],
|
| 1901 |
+
"page_idx": 13
|
| 1902 |
+
},
|
| 1903 |
+
{
|
| 1904 |
+
"type": "equation",
|
| 1905 |
+
"img_path": "images/b6fd615050dbe9761495f2e85bfca290115b0ad5755433ab5cf05f2c36aace98.jpg",
|
| 1906 |
+
"text": "$$\n\\Delta ( \\langle d _ { i } , d _ { j } \\rangle , \\langle d _ { k } , d _ { \\ell } \\rangle ) = \\operatorname* { m i n } \\left\\{ \\begin{array} { l l } { \\Delta ( d _ { i } , d _ { k } ) + \\Delta ( d _ { j } , d _ { \\ell } ) } \\\\ { \\Delta ( \\langle d _ { i } , d _ { j } \\rangle , d _ { k } ) + | d _ { \\ell } | } & { \\Delta ( \\langle d _ { i } , d _ { j } \\rangle , d _ { \\ell } ) + | d _ { k } | } \\\\ { \\Delta ( \\langle d _ { k } , d _ { \\ell } \\rangle , d _ { i } ) + | d _ { j } | } & { \\Delta ( \\langle d _ { k } , d _ { \\ell } \\rangle , d _ { j } ) + | d _ { i } | } \\end{array} \\right\\}\n$$",
|
| 1907 |
+
"text_format": "latex",
|
| 1908 |
+
"bbox": [
|
| 1909 |
+
227,
|
| 1910 |
+
756,
|
| 1911 |
+
767,
|
| 1912 |
+
814
|
| 1913 |
+
],
|
| 1914 |
+
"page_idx": 13
|
| 1915 |
+
},
|
| 1916 |
+
{
|
| 1917 |
+
"type": "text",
|
| 1918 |
+
"text": "Now, suppose we have $x$ and $x ^ { \\prime }$ with derivations $d = D ( x )$ , $d ^ { \\prime } = D ( x ^ { \\prime } )$ and representations $\\theta = f ( x )$ , $\\theta ^ { \\prime } = f ( x ^ { \\prime } )$ . Proposition 1 claims that $\\delta ( \\theta , \\theta ^ { \\prime } ) \\leq \\Delta ( d , d ^ { \\prime } ) + 2 \\epsilon$ . ",
|
| 1919 |
+
"bbox": [
|
| 1920 |
+
173,
|
| 1921 |
+
827,
|
| 1922 |
+
825,
|
| 1923 |
+
856
|
| 1924 |
+
],
|
| 1925 |
+
"page_idx": 13
|
| 1926 |
+
},
|
| 1927 |
+
{
|
| 1928 |
+
"type": "text",
|
| 1929 |
+
"text": "Lemma 1. $\\delta ( { \\hat { f } } ( d ) , 0 ) \\leq | d |$ ",
|
| 1930 |
+
"bbox": [
|
| 1931 |
+
174,
|
| 1932 |
+
861,
|
| 1933 |
+
362,
|
| 1934 |
+
878
|
| 1935 |
+
],
|
| 1936 |
+
"page_idx": 13
|
| 1937 |
+
},
|
| 1938 |
+
{
|
| 1939 |
+
"type": "text",
|
| 1940 |
+
"text": "Proof. For $d \\in \\mathcal { D } _ { 0 }$ this follows immediately from Condition 2 in the proposition. For composed derivations it follows from Condition 3 taking ${ \\theta _ { k } } = { \\theta _ { \\ell } } = 0$ and induction on $| d |$ . □ ",
|
| 1941 |
+
"bbox": [
|
| 1942 |
+
171,
|
| 1943 |
+
892,
|
| 1944 |
+
823,
|
| 1945 |
+
921
|
| 1946 |
+
],
|
| 1947 |
+
"page_idx": 13
|
| 1948 |
+
},
|
| 1949 |
+
{
|
| 1950 |
+
"type": "text",
|
| 1951 |
+
"text": "Lemma 2. $\\delta ( { \\hat { f } } ( d ) , { \\hat { f } } ( d ^ { \\prime } ) ) \\leq \\Delta ( d , d ^ { \\prime } )$ ",
|
| 1952 |
+
"bbox": [
|
| 1953 |
+
173,
|
| 1954 |
+
102,
|
| 1955 |
+
426,
|
| 1956 |
+
119
|
| 1957 |
+
],
|
| 1958 |
+
"page_idx": 14
|
| 1959 |
+
},
|
| 1960 |
+
{
|
| 1961 |
+
"type": "text",
|
| 1962 |
+
"text": "Proof. By induction on the structure of $d$ and $d ^ { \\prime }$ : ",
|
| 1963 |
+
"bbox": [
|
| 1964 |
+
173,
|
| 1965 |
+
133,
|
| 1966 |
+
495,
|
| 1967 |
+
148
|
| 1968 |
+
],
|
| 1969 |
+
"page_idx": 14
|
| 1970 |
+
},
|
| 1971 |
+
{
|
| 1972 |
+
"type": "text",
|
| 1973 |
+
"text": "Base case Both $d , d ^ { \\prime } \\in \\mathcal { D } _ { 0 }$ . ",
|
| 1974 |
+
"bbox": [
|
| 1975 |
+
174,
|
| 1976 |
+
162,
|
| 1977 |
+
366,
|
| 1978 |
+
178
|
| 1979 |
+
],
|
| 1980 |
+
"page_idx": 14
|
| 1981 |
+
},
|
| 1982 |
+
{
|
| 1983 |
+
"type": "text",
|
| 1984 |
+
"text": "If $= d ^ { \\prime } , \\delta ( \\hat { f } ( d ) , \\hat { f } ( d ^ { \\prime } ) ) = \\delta ( \\hat { f } ( d ) , \\hat { f } ( d ) ) = 0 = \\Delta ( d , d ^ { \\prime } ) .$ If $d \\neq d ^ { \\prime }$ $d ^ { \\prime } , \\delta ( \\hat { f } ( d ) , \\hat { f } ( d ^ { \\prime } ) ) \\leq 1 = \\Delta ( d , d ^ { \\prime } )$ from Condition 1. ",
|
| 1985 |
+
"bbox": [
|
| 1986 |
+
173,
|
| 1987 |
+
167,
|
| 1988 |
+
563,
|
| 1989 |
+
228
|
| 1990 |
+
],
|
| 1991 |
+
"page_idx": 14
|
| 1992 |
+
},
|
| 1993 |
+
{
|
| 1994 |
+
"type": "text",
|
| 1995 |
+
"text": "Inductive case Consider the arrangement of derivations that minimizes Equation 8 for derivation $d$ and $d ^ { \\prime }$ . There are two possibilities: ",
|
| 1996 |
+
"bbox": [
|
| 1997 |
+
171,
|
| 1998 |
+
239,
|
| 1999 |
+
825,
|
| 2000 |
+
270
|
| 2001 |
+
],
|
| 2002 |
+
"page_idx": 14
|
| 2003 |
+
},
|
| 2004 |
+
{
|
| 2005 |
+
"type": "text",
|
| 2006 |
+
"text": "Case 1: $\\Delta ( d , d ^ { \\prime } )$ has the form $\\Delta ( d _ { i } , d _ { k } ) + \\Delta ( d _ { j } , d _ { \\ell } )$ for some $d _ { i , j , k , \\ell }$ . W.l.o.g. let $d = \\langle d _ { i } , d _ { j } \\rangle$ and $d ^ { \\prime } = \\langle d _ { k } , d _ { \\ell } \\rangle$ . Then, ",
|
| 2007 |
+
"bbox": [
|
| 2008 |
+
173,
|
| 2009 |
+
275,
|
| 2010 |
+
825,
|
| 2011 |
+
305
|
| 2012 |
+
],
|
| 2013 |
+
"page_idx": 14
|
| 2014 |
+
},
|
| 2015 |
+
{
|
| 2016 |
+
"type": "equation",
|
| 2017 |
+
"img_path": "images/0339ffbdc9f7b7361cd2ee1807c1550fe0271181c4cd69305e3021dc9cfd3a95.jpg",
|
| 2018 |
+
"text": "$$\n\\begin{array} { r l } & { \\delta ( \\hat { f } ( d ) , \\hat { f } ( d ^ { \\prime } ) ) = \\delta ( \\hat { f } ( d _ { i } ) * \\hat { f } ( d _ { j } ) , \\hat { f } ( d _ { k } ) * \\hat { f } d _ { \\ell } ) } \\\\ & { \\hphantom { \\delta ( \\hat { f } ( d ) , \\hat { f } ( d _ { k } ) ) = } \\leq \\delta ( \\hat { f } ( d _ { i } ) , \\hat { f } ( d _ { k } ) ) + \\delta ( \\hat { f } ( d _ { j } ) , \\hat { f } d _ { \\ell } ) } \\\\ & { \\hphantom { \\delta ( \\hat { f } ( d ) , \\hat { f } ( d _ { k } ) ) = } \\leq \\Delta ( d _ { i } , d _ { k } ) + \\Delta ( d _ { j } , d _ { \\ell } ) } \\\\ & { \\hphantom { \\delta ( \\hat { f } ( d ) , \\hat { f } ( d ) ) = } = \\Delta ( d , d ^ { \\prime } ) } \\end{array}\n$$",
|
| 2019 |
+
"text_format": "latex",
|
| 2020 |
+
"bbox": [
|
| 2021 |
+
330,
|
| 2022 |
+
310,
|
| 2023 |
+
666,
|
| 2024 |
+
392
|
| 2025 |
+
],
|
| 2026 |
+
"page_idx": 14
|
| 2027 |
+
},
|
| 2028 |
+
{
|
| 2029 |
+
"type": "text",
|
| 2030 |
+
"text": "Case 2: $\\Delta ( d , d ^ { \\prime } )$ has the form $\\Delta ( d _ { i } , d _ { k } ) + | d _ { j } |$ for some $d _ { i , j , k }$ . W.l.o.g. let $d = \\langle d _ { i } , d _ { j } \\rangle$ and $d ^ { \\prime } = d _ { k }$ . Abusing notation slightly, let us define $\\Delta ( \\bar { d } , 0 ) = { \\left| { d } \\right| }$ . If we let $d _ { \\ell } = 0$ this case reduces to the previous one. □ ",
|
| 2031 |
+
"bbox": [
|
| 2032 |
+
173,
|
| 2033 |
+
402,
|
| 2034 |
+
828,
|
| 2035 |
+
446
|
| 2036 |
+
],
|
| 2037 |
+
"page_idx": 14
|
| 2038 |
+
},
|
| 2039 |
+
{
|
| 2040 |
+
"type": "text",
|
| 2041 |
+
"text": "Finally, ",
|
| 2042 |
+
"bbox": [
|
| 2043 |
+
173,
|
| 2044 |
+
462,
|
| 2045 |
+
225,
|
| 2046 |
+
476
|
| 2047 |
+
],
|
| 2048 |
+
"page_idx": 14
|
| 2049 |
+
},
|
| 2050 |
+
{
|
| 2051 |
+
"type": "text",
|
| 2052 |
+
"text": "Proof of Proposition $^ { l }$ . ",
|
| 2053 |
+
"bbox": [
|
| 2054 |
+
174,
|
| 2055 |
+
491,
|
| 2056 |
+
325,
|
| 2057 |
+
507
|
| 2058 |
+
],
|
| 2059 |
+
"page_idx": 14
|
| 2060 |
+
},
|
| 2061 |
+
{
|
| 2062 |
+
"type": "equation",
|
| 2063 |
+
"img_path": "images/ea042366a763be71fcd0c23b34aa46976d566fe2a3885e116a32d3bb4697dfc5.jpg",
|
| 2064 |
+
"text": "$$\n\\begin{array} { c } { { \\delta ( \\theta , \\theta ^ { \\prime } ) \\leq \\delta ( \\hat { f } ( d ) , \\hat { f } ( d ^ { \\prime } ) ) + 2 \\epsilon } } \\\\ { { \\leq \\Delta ( d , d ^ { \\prime } ) + 2 \\epsilon } } \\end{array}\n$$",
|
| 2065 |
+
"text_format": "latex",
|
| 2066 |
+
"bbox": [
|
| 2067 |
+
397,
|
| 2068 |
+
512,
|
| 2069 |
+
602,
|
| 2070 |
+
553
|
| 2071 |
+
],
|
| 2072 |
+
"page_idx": 14
|
| 2073 |
+
}
|
| 2074 |
+
]
|
parse/train/HJz05o0qK7/HJz05o0qK7_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HJz05o0qK7/HJz05o0qK7_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HyUmbjsiz/HyUmbjsiz.md
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Mitral Valve Leaflets Segmentation in Echocardiography using Convolutional Neural Networks
|
| 2 |
+
|
| 3 |
+
Eva Costa Neadvance, Machine Vision, SA Braga, Portugal ecosta@neadvance.com
|
| 4 |
+
|
| 5 |
+
Nelson Martins Neadvance, Machine Vision, SA Braga, Portugal nmartins@neadvance.com
|
| 6 |
+
|
| 7 |
+
Malik Saad Sultan
|
| 8 |
+
Instituto de Telecomunicações FCUP∗, Porto, Portugal
|
| 9 |
+
engr.saadsultan@gmail.com
|
| 10 |
+
|
| 11 |
+
Diana Veiga Neadvance, Machine Vision, SA Braga, Portugal dveiga@neadvance.com
|
| 12 |
+
|
| 13 |
+
Manuel Ferreira
|
| 14 |
+
Neadvance, Machine Vision, SA Braga, Portugal
|
| 15 |
+
mferreira@neadvance.com
|
| 16 |
+
Sandra Mattos
|
| 17 |
+
UCMF †
|
| 18 |
+
Recife PE, Brazil
|
| 19 |
+
ssmattos@gmail.com Miguel Coimbra
|
| 20 |
+
Instituto de Telecomunicações FCUP∗, Porto, Portugal
|
| 21 |
+
mcoimbra@dcc.fc.up.pt
|
| 22 |
+
|
| 23 |
+
# Abstract
|
| 24 |
+
|
| 25 |
+
Rheumatic heart disease remains a major burden in the developing countries. The World Heart Federation proposed guidelines for the echocardiographic detection of the disease, in which the mitral leaflets’ morphology assessment is a key indicator. The drawback is that these guidelines are dependent on the clinician experience. To overcome this limitation, we propose an automatic segmentation of the mitral leaflets using a new method based on convolutional neural network, specifically the UNet architecture. The results indicate a median DICE coefficient of 0.74 in $P L A X$ and 0.79 in $A 4 C$ for the anterior mitral leaflet segmentation, while median DICE of 0.60 in $P L A X$ and $0 . 6 9 \ A 4 C$ are met for the posterior leaflet. A visual evaluation of this segmentation approach by two cardiologists is in line with the numerical results. The false detection due to overestimation and artifacts remains an issue to be addressed in the future.
|
| 26 |
+
|
| 27 |
+
# 1 Introduction
|
| 28 |
+
|
| 29 |
+
# 1.1 Motivation
|
| 30 |
+
|
| 31 |
+
Rheumatic heart disease (RHD) is a preventable chronic sequel of acute rheumatic fever (ARF), an autoimmune response to group A streptococcal infection. Although being almost eradicated in high-income countries, it remains a major burden in the developing countries, where it causes most of the cardiovascular mortality and morbidity in the young [1]. RHD can be definite (clinically diagnosed) or borderline/sub-clinical (detected only by echocardiography). In a recent prevalence study, the RHD was followed globally over a period of 25-years, [2], and it was estimated that in
|
| 32 |
+
|
| 33 |
+

|
| 34 |
+
Figure 1: Brightness mode echocardiography. (a) parasternal long-axis view. (b) apical four-chamber view.
|
| 35 |
+
|
| 36 |
+
2015 alone, there were 33.4 million cases of RHD, 10.5 million disability-adjusted life-years related to RHD and 319400 RHD-related deaths. However, the estimations may fall short due to missing data in some regions of the globe, misidentification in the causes of death and due to sub-clinical RHD not being included in the prevalence study. This last aspect should not be disregarded since screening studies [3] point that for each case of clinical RHD, 3 to 10 cases of sub-clinical disease exist. It is important to note that even though sub-clinical cases may not develop into definite RHD, it is at this stage that the treatment is most effective with milder health repercussions.
|
| 37 |
+
|
| 38 |
+
With the advent of portable echocardiography and the increasing detection rates of sub-clinical RHD, an evidence-based set of guidelines was defined by the World Heart Federation (WHF) for the echocardiographic assessment of RHD [4]. RHD mostly affects heart valves, especially the mitral valve and, therefore, the WHF echocardiographic criteria are generally based on the morphology and functionality of this valve. The mitral leaflets’ morphology and mobility is assessed through brightness mode echocardiography, usually in the parasternal long-axis view $( P L A X )$ , and in some cases using the apical four-chamber view $( A 4 C )$ . These echo views are shown in Fig. 1, with the anterior mitral valve leaflet depicted as AMVL and the posterior mitral valve leaflet as PMVL. Morphological assessment is usually done for AMVL instead of PMVL, solely because higher inter-observer agreement is met [4]. Clinical observation suggests the tip of the leaflet is the most commonly part to be affected [5]. Echocardiography assessment requires highly experienced operators, which is a scarce resource in developing countries. The use of image processing tools has the potential to reduce the operator dependency in screening settings, reduce the subjectivity and, in this way, improve the diagnosis.
|
| 39 |
+
|
| 40 |
+
# 1.2 State of the art
|
| 41 |
+
|
| 42 |
+
Ultrasound images are affected by several acquisition artifacts such as attenuation, speckle, shadows and signal dropout. Apart from that, the quality of the acquisition is strongly dependent on the human operator and the machine settings. The intensity and texture differences between structures and the contrast between structures and blood pool are low. These conditions raise several problems for classic image processing methods [6]. In [7], the authors proposed a combination of active contours and optical flow for the AMVL segmentation. The algorithm is semi-automatic and fails when the leaflet’s displacement between frames is large and irregular. Another semi-automatic approach for the AMVL segmentation was proposed in [8]. Two connected active contours identify the cardiac muscle and the leaflet. The manual initialization and the parameters selection highly affect the method’s performance. In [9], the authors propose a semi-automatic segmentation strategy, with a single point input from the user. The input point defines a set of scanning lines for a virtual motionmode (M-mode) reconstruction. The posterior aorta wall’s motion pattern is obtained by applying open-ended active contours to the virtual M-mode, using prior knowledge to establish constraints. The pattern provides a seed for each frame to segment the AMVL with localizing region-based active contours. Although it delivers the middle part of the leaflet, it sometimes fails to segment its tip, which is the most relevant part of the structure diagnosis-wise. An approach based on outlier detection in low-rank matrix was proposed in [10]. The authors aim to overcome the shortfalls of the previous methods, with a fully automatic unsupervised method. However, this solution still requires an extensive parameter fine-tuning and cropping of the images around the region of interest. Also, the method does not discriminate between AMVL and PMVL. In [11] the authors claim to prevent tracking drifts caused by motion ambiguities by constraining the outlier pursuit, and refining the segmentation with region-scalable active contours. Significant parameter fine-tuning remains as a drawback.
|
| 43 |
+
|
| 44 |
+
Most of the literature approaches are highly sensitive to initialization, image quality and acquisition parameters. None of them segments both leaflets consistently. The complexity of the problem calls for supervised learning methods such as Convolutional Neural Networks (CNN). CNNs have become the state of the art solution for image recognition problems, even outperforming human operators in some tasks. This approach will shift the burden of manual input from the final user to the training phase, and also will not rely on hand-crafted image features, making segmentation a fully automatic and robust process. To our knowledge there are no works in the literature on semantic segmentation of the mitral leaflets using $C N N s$ . In [12], a partial segmentation of the mitral leaflets was needed to segment the left ventricle. The authors propose a network for patches’ classification and then a second network for segmentation of the ventricle. However, they were not able to detect the contours of fast moving structures such as the mitral leaflets. The amount of data, and the respective manual annotations required for training a $C N N$ is a major point to take into account. The UNet architecture, proposed in [13], claims to produce accurate results, with a small number of observations. This trait of the U N et makes it an interesting contender for application in the present work, since the available dataset is also limited. The architecture allows for a multi-scale representation, with coarser information being collected in the bottom layers and finer information at the top ones. The architecture is composed by two paths: one of contraction, with convolutional layers and another of expansion with deconvolution layers. The paths are connected by skip layers before each max-pooling operation. This ensures that both local and global information is captured.
|
| 45 |
+
|
| 46 |
+
# 2 Proposed Work
|
| 47 |
+
|
| 48 |
+
In this work the U N et will be used for the mitral leaflets’ segmentation in the $A 4 C$ and $P L A X$ views. Each view produces distinct representations of the heart structures, thus, the model’s development will be adapted for each one separately.
|
| 49 |
+
|
| 50 |
+
# 2.1 The UNet model
|
| 51 |
+
|
| 52 |
+
The most favourable aspects of the U N et architecture are that it does not require a large training set, and that only the image is needed as input. The least favourable trait of the U N et is transversal to all $C N N$ architectures: the parameterization of the network requires a training phase. Depending on the complexity of the network, the training phase may require high computational power and time.
|
| 53 |
+
|
| 54 |
+
# 2.1.1 Model implementation
|
| 55 |
+
|
| 56 |
+
The UNet architecture was recursively implemented in TensorFlow’s [14] front-end TFlearn [15] (Python), allowing expansion of the depth $D$ of the architecture (number of steps on the paths). In Fig. 2, the implemented $U N e t$ architecture is shown.
|
| 57 |
+
|
| 58 |
+
Taking into account the specificity of the problem, some simplifications and changes were made to the UNet model proposed in [13].
|
| 59 |
+
|
| 60 |
+
The first architectural change is the use of zero padding in the convolutions instead of the valid values. The authors of [13] proposed the use of the valid values with a mirror padding pre-processing, so the final outputs have the same spatial dimensions as the original input image. They argue that this accelerates the training, however this was not observed during preliminary tests and therefore, it was decided to use zero padding in all convolutions.
|
| 61 |
+
|
| 62 |
+
The second change is the use of batch normalization layers before the concatenation steps. This adds a regularization effect by ensuring that the concatenated feature maps have the same order of magnitude.
|
| 63 |
+
|
| 64 |
+
Since the present work is focused on the evaluation of the potential of $D N N$ architectures in segmenting the mitral leaflets’, no extensive studies were made for the hyper-parameter optimization.
|
| 65 |
+
|
| 66 |
+

|
| 67 |
+
Figure 2: Proposed UNet model, adapted from [13]. Normalizing layers were added before every $m a x - p o o l$ operation; same padding in all Conv layers, instead of valid. $N _ { x }$ stands for the number of filters, $D$ for depth and $S$ for the spatial size of the feature map.
|
| 68 |
+
|
| 69 |
+
Most of the parameters were empirically chosen and maintained unchanged throughout the training stages: the learning rate was set to 0.001, the optimization algorithm was the Adam, a batch size of 4 was set, as loss function the mean square difference was selected, and as activation function the Sigmoid was used with threshold of 0.5.
|
| 70 |
+
|
| 71 |
+
The samples were randomly shuffled and divided into a training and validation set ( $7 5 \%$ for training and $2 5 \%$ for validation). Due to memory management and taking into account the down-sampling process, samples’ dimensions were set to a 416 pixel height and 512 pixel width.
|
| 72 |
+
|
| 73 |
+
To achieve more accurate results, the architecture’s depth $D$ and the number of incoming neurons $N _ { 0 }$ were subject to a greed search optimization. Preliminary tests have shown that lower depths result in less accurate results.
|
| 74 |
+
|
| 75 |
+
# 3 Materials and Methods
|
| 76 |
+
|
| 77 |
+
The datasets used for this work contain videos from different patients, as described in Table 1.
|
| 78 |
+
|
| 79 |
+
Table 1: Distribution of the datasets for Training and Validation, Test and Application phases.
|
| 80 |
+
|
| 81 |
+
<table><tr><td>Echo view</td><td>Train and Validation</td><td>Test</td><td>Application</td></tr><tr><td>PLAX</td><td>21 videos (2163 frames)6 videos (520 frames)</td><td></td><td>23 videos</td></tr><tr><td>A4C</td><td>22 videos (2400 frames)</td><td>)6 videos (526 frames)</td><td>23 videos</td></tr></table>
|
| 82 |
+
|
| 83 |
+
At the application phase, the tested U N et models were applied to the dataset for clinical assessment. Two cardiologists were asked to evaluate the segmentation quality based on 6 parameters for the two views: overall detection of the each leaflet’ tip pixels, overall estimate of each leaflet’ thickness, amount of false positives and repeatability of the segmentation quality along the video. Each case was graded with scores of 0, 1 and 2 (0 connotes failure and 2 success).
|
| 84 |
+
|
| 85 |
+
The echocardiography sequences were acquired during the Heart Caravan of 2016, a health care provision initiative which took place in the State of Paraíba, Brazil. All images were acquired using a Vivid I, by GE and/or a CX-50, by Philips and from children with ages between 4 and 16 years old. The sets used for training, validation and test were manually annotated in each frame as depicted in Fig. 3.These annotations of the mitral leaflets (AMVL and PMVL) were made by an experienced user and validated by two pediatric cardiologists.
|
| 86 |
+
|
| 87 |
+
For the models’ performance assessment during parameterization, the dice similarity coefficient $( D I C E )$ was used. This metric measures the similarity between the model’s prediction and the manual annotation. For the evaluation of the UNet’s segmentation results, the $D I C E$ , precision and recall were used. For the assessment of inter-rater agreement on the evaluation of the results in clinical context, the Bennett’s Sscore [16] was applied. The Sscore estimates the agreement assuming that the likelihood of random agreement (both rater agree, when both select a category randomly) is solely dependent on the number of categories. For $q$ categories, $r$ raters and $n$ rated items, the Sscore is defined as:
|
| 88 |
+
|
| 89 |
+

|
| 90 |
+
Figure 3: Manual annotations of the AMVL, PMVL and CT. (a) parasternal long-axis view. (b) apical four-chamber view.
|
| 91 |
+
|
| 92 |
+
$$
|
| 93 |
+
S s c o r e = \frac { p _ { o } - p _ { c } } { 1 - p _ { c } } , w i t h :
|
| 94 |
+
$$
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
p _ { c } = \frac { 1 } { q ^ { 2 } } \sum _ { k , l } w _ { k l } , \qquad p _ { o } = \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \sum _ { k = 1 } ^ { q } \frac { r _ { i k } ( r _ { i k } ^ { * } - 1 ) } { r _ { i } ( r _ { i } - 1 ) } , \qquad r _ { i k } ^ { * } \sum _ { l = 1 } ^ { q } w _ { k l } r _ { i l }
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
where, $r _ { i l }$ and $r _ { i k }$ are the number of raters assigning item $i$ to category $l$ or $k$ , respectively. Since in our case the categorization is a grading process, ordinal weighting was applied, thus when the two raters agree total credit is given $w _ { k l } = 1 ,$ ), when raters disagree by choosing immediate neighbor categories partial credit is given ${ w _ { k l } = 0 . 3 3 } $ ), and when raters disagree by choosing non-neighbor categories no credit is given $\mathbf { \boldsymbol { w } } _ { k l } = 0$ ).
|
| 101 |
+
|
| 102 |
+
The UNet models were trained in a Desktop PC with Intel Core i7 Processor $( 3 . 4 0 \mathrm { G H z }$ ), 16 GB RAM, and NVIDIA GeForce GTX 970 GPU with 4 GB RAM.
|
| 103 |
+
|
| 104 |
+
# 4 Results and Discussion
|
| 105 |
+
|
| 106 |
+
In this section we elaborate on the results gathered in this work, and on their evaluation. The following subsection covers the results of the $D$ and $N _ { 0 }$ parameters grid search, the results on the test dataset and the results of the clinical evaluation of the proposed method.
|
| 107 |
+
|
| 108 |
+
# 4.1 Parameterization
|
| 109 |
+
|
| 110 |
+
The parameterization of the architecture’s depth $D$ and number of incoming neurons $N _ { 0 }$ was made for each echo view by evaluating the $D I C E$ in the validation stage. The training stages were all stopped at 30 epochs and the model with higher $D I C E$ in validation was saved. The highest result was always found before the $3 0 ^ { t h }$ epoch. Depths higher than 5 resulted in GPU memory overflow and, because of that, only depths of 4 and 5 were tested. The number of incoming neurons $N _ { 0 }$ was studied in the range from 4 to 32 with base 2 steps.
|
| 111 |
+
|
| 112 |
+
# 4.1.1 Parasternal long-axis
|
| 113 |
+
|
| 114 |
+
The results obtained in the validation stage are summarized in Table 2.
|
| 115 |
+
|
| 116 |
+
The highest $D I C E$ was obtained for $D = 5$ and $N _ { 0 } = 8$ . Even though the model lies in the border of $D$ , further exploration was not made due to GPU overflow for depths higher than 5.
|
| 117 |
+
|
| 118 |
+
Table 2: Mean DICE Coefficient results in the validation set. In bold is the highest DICE.
|
| 119 |
+
|
| 120 |
+
<table><tr><td>D</td><td>No 4</td><td>8</td><td>16</td></tr><tr><td>4</td><td><0.710</td><td>0.762</td><td>0.770</td></tr><tr><td>5</td><td><0.710</td><td>0.791</td><td>0.786</td></tr></table>
|
| 121 |
+
|
| 122 |
+
# 4.1.2 Apical four-chamber
|
| 123 |
+
|
| 124 |
+
The results obtained in the validation stage are summarized in Table 3.
|
| 125 |
+
|
| 126 |
+
Table 3: Mean DICE Coefficient results in the validation set. In bold is the highest $D I C E$
|
| 127 |
+
|
| 128 |
+
<table><tr><td></td><td>No</td><td rowspan="2">4</td><td rowspan="2">8</td><td rowspan="2">16</td><td rowspan="2">32</td></tr><tr><td>D</td><td></td></tr><tr><td colspan="2">4</td><td><0.710</td><td>0.757</td><td>0.757</td><td>0.760</td></tr><tr><td colspan="2">5</td><td><0.710</td><td>0.756</td><td>0.762</td><td>0.771</td></tr></table>
|
| 129 |
+
|
| 130 |
+
Concerning $N _ { 0 }$ , contrary to what happened with the PLAX view, it was verified the results improved with higher values. Thus, the search was expanded. It was not possible to test $N _ { 0 } = 6 4$ due to hardware resource exhaustion. The model with highest $D I C E$ has $D = 5$ and $N _ { 0 } = 3 2$ .
|
| 131 |
+
|
| 132 |
+
# 4.2 Results on test dataset
|
| 133 |
+
|
| 134 |
+
In this section the U N et segmentation quality is evaluated in the test set. From the $5 2 6 A 4 C$ frames, 3 were excluded due to motion artifacts or probe mispositioning, which impeded the user from annotating the structures. The same happened with 12 of the $5 2 0 ~ P L A X$ frames.
|
| 135 |
+
|
| 136 |
+
In Fig. 4 the evaluation metrics’ distributions are shown. An immediate assertion to be made is that the results are better in the AMVL than in the PMVL segmentation, in both views. This is in line with what happens with human observers, who have higher inter-observer agreement for the AMVL. Concerning the AMVL segmentation, the $D I C E$ values are above 0.5 in $\bar { P } L A X$ and above 0.6 in $A 4 C$ , with a median of 0.742 in $P L A X$ and 0.795 in $A 4 C$ . High recall values (0.903 median in $P L A X$ and 0.927 in $A 4 C$ ) indicate that most of the leaflets’ pixels were correctly detected as such, so false rejection is not a significant issue. On the other hand, precision presents lower scores (0.688 in $P L A X$ and 0.710 in $A 4 C$ ), which might indicate that some false detection is happening. Post processing techniques may have a positive effect removing false positives. In what concerns PMVL segmentation, the same trends obtained in the AMVL are observed, yet the metrics present wider distributions. This denotes for higher variability in the results, with more false rejection and false detection. In $P L A X$ , median values are $D I C E$ of 0.600, recall of 0.787 and precision of 0.512. In $A 4 C$ , median values are $D I C E$ of 0.690, recall of 0.817 and precision of 0.615. Examples of the obtained segmentation results are shown in Fig. 5. The best $( a , d )$ and worst $( b , e )$ results are displayed for PLAX and A4C. This selection takes into account the average $D I C E$ of the two classes (AMVL and PMVL). The best average result for PLAX is 0.848 and the worst is 0.354. The best average result for A4C is 0.869 and the worst is 0.260. Two examples of false detection errors are also shown: $( c )$ demonstrates overestimation of the structures’ borders and $( f )$ demonstrates the presence of false positives due to reflection artifacts on the US response. In some cases, overestimation may not be a significant error, since some limits of the leaflets (AMVL - posterior wall of the Aorta boundary and PMVL - left atrium wall boundary) are almost arbitrarily chosen when manually annotating. These frames present high recall values, while precision is low.
|
| 137 |
+
|
| 138 |
+
# 4.3 Results on application dataset
|
| 139 |
+
|
| 140 |
+
The clinical evaluation results of the application dataset are summarized in Table 4.
|
| 141 |
+
|
| 142 |
+
The confusion matrices in Table 4 show that both raters assigned score 2 more often than 1, and 1 more often than 0. The pooled Sscore is 0.781, which means a substantial agreement between raters, which reinforces the assigned scores. From all the evaluated parameters, the amount of false positives
|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
Figure 4: Boxplot of the evaluation metrics (DICE, recall and precision) obtained from the test images using the $U N e t$ method. The $\times$ are the outliers. (a) AMVL segmentation in A4C view. (b) PMVL segmentation in A4C view. (c) AMVL segmentation in PLAX view. (d) PMVL segmentation in PLAX view.
|
| 146 |
+
|
| 147 |
+
Table 4: Results of the clinical evaluation of the segmentations’ quality by two raters $R 1$ and $R 2$ ). P1: AMVL tip detection; P2: AMVL thickness; P3: PMVL tip detection; P4: PMVL thickness; P5: amount of false positives; P6: repeatability along the video. S2, S1 and S0 stands for the grading scores.
|
| 148 |
+
|
| 149 |
+
<table><tr><td></td><td>P1</td><td colspan="2">P2</td><td colspan="2"></td><td colspan="2">P4</td><td colspan="2">P5</td><td colspan="2"></td><td colspan="2">P6</td></tr><tr><td>R2</td><td></td><td>S2 S1 S0</td><td>S2 S1 S0</td><td></td><td> S2 S1 S0</td><td></td><td> S2 S1 S0</td><td></td><td></td><td> S2 S1 S0</td><td></td><td> S2 S1 S0</td></tr><tr><td>R1 S2</td><td>20</td><td>1 0</td><td>19 3</td><td>0</td><td>21 0</td><td>0</td><td>19 1</td><td>0</td><td>6</td><td>3</td><td>1 18</td><td>2 0</td></tr><tr><td>S1</td><td>1</td><td>1 0</td><td>0 0</td><td>1</td><td>0 1</td><td>1</td><td>1 1</td><td>1</td><td>4</td><td>7</td><td>0 2</td><td>0 0</td></tr><tr><td>S0</td><td>0</td><td>0 0</td><td>0 0</td><td>0</td><td>0 0</td><td>0</td><td>0 0</td><td>0</td><td>0</td><td>1</td><td>1 0</td><td>0 1</td></tr><tr><td>IR Agreement</td><td>0.888</td><td></td><td>0.776</td><td></td><td>0.944</td><td></td><td>0.832</td><td></td><td></td><td>0.469</td><td></td><td>0.776</td></tr></table>
|
| 150 |
+
|
| 151 |
+
(P5) is the one with lower scores assigned, which is in line with the numerical results that were discussed in the previous section. While most of the parameters met substantial or almost perfect inter-rater agreement, the amount of false positives only met moderate agreement.
|
| 152 |
+
|
| 153 |
+
# 5 Conclusion
|
| 154 |
+
|
| 155 |
+
A new method based on the U N et architecture was proposed for the segmentation of the mitral valve leaflets. The architecture was parameterized and trained for each one of the target echocardiographic views, resulting in two models. Results show that both models perform in a similar way, with slight superior performance in the $A 4 C$ model. Moreover, they indicate a median DICE coefficient of 0.74 in $P L A X$ and 0.79 in $A 4 C$ for the anterior mitral leaflet segmentation, while median DICE of 0.60 in $P L A X$ and 0.69 $A 4 C$ are met for the posterior leaflet. By analyzing the recall and precision scores it is possible to understand that the most significant source of error is the false detection. Visual inspection of the results allows to identify two kinds of false detection: overestimation of the structures’ borders and false structures detection caused by imaging artifacts. Future developments should include application of post-processing techniques, which may have a significant impact on the false positives elimination.
|
| 156 |
+
|
| 157 |
+

|
| 158 |
+
Figure 5: Example of segmentation results. White contours correspond to manual annotations and red-green to AMVL and PMVL automatic segmentations respectively. $1 ^ { s t }$ row: best (a) and worst (b) results for PLAX view; (c) is an example of error by overestimation. $2 ^ { n d }$ row: best (d) and worst (e) results for A4C view; (f) is an example of false detection.
|
| 159 |
+
|
| 160 |
+
The clinical evaluation of the segmentation results is in agreement with the quantitative results. The parameter with the lowest scores is the amount of false positives, although the agreement is only moderate enforcing the challenge of this task.
|
| 161 |
+
|
| 162 |
+
In the future, further model optimization should be tested, as well as include data augmentation to simulate different acquisition settings. The database should also be expanded with representative examples. The clinical evaluation of the results should be continued with more cases to assess real world applicability of the proposed method.
|
| 163 |
+
|
| 164 |
+
# Acknowledgments
|
| 165 |
+
|
| 166 |
+
This article is a result of the project (NORTE-01-0247-FEDER-003507-RHDecho), co-funded by Norte Portugal Regional Operational Program (NORTE 2020), under the PORTUGAL 2020 Partnership Agreement, through the European Regional Development Fund (ERDF). This work also had the collaboration of the Fundação para a Ciência a e Tecnologia (FCT) grant no: PD/BD/105761/2014 and has contributions from the project NanoSTIMA, NORTE-01-0145-FEDER-000016, supported by Norte Portugal Regional Operational Program (NORTE 2020), through Portugal 2020 and the European Regional Development Fund (ERDF). GE and PHILLIPS for providing the equipment. Health professionals from Círculo do Coração for their volunteer work and data collection. The Health Secretary of Paraíba for their support to the actualization of the Heart Caravan.
|
| 167 |
+
|
| 168 |
+
# References
|
| 169 |
+
|
| 170 |
+
[1] E. Marijon, M. Mirabel, D. S. Celermajer, and X. Jouven, “Rheumatic heart disease,” The Lancet, vol. 379, no. 9819, pp. 953–964, 2012.
|
| 171 |
+
[2] D. A. Watkins, C. O. Johnson, S. M. Colquhoun, G. Karthikeyan, A. Beaton, G. Bukhman, M. H. Forouzanfar, C. T. Longenecker, B. M. Mayosi, G. A. Mensah et al., “Global, regional, and national burden of rheumatic heart disease, 1990–2015,” New England Journal of Medicine, vol. 377, no. 8, pp. 713–722, 2017.
|
| 172 |
+
[3] E. Marijon, D. S. Celermajer, and X. Jouven, “Rheumatic heart disease—an iceberg in tropical waters,” 2017.
|
| 173 |
+
[4] B. Reményi, N. Wilson, A. Steer, B. Ferreira, J. Kado, K. Kumar, J. Lawrenson, G. Maguire, E. Marijon, M. Mirabel et al., “World heart federation criteria for echocardiographic diagnosis of rheumatic heart disease—an evidence-based guideline,” Nature Reviews Cardiology, vol. 9, no. 5, p. 297, 2012.
|
| 174 |
+
[5] R. Cervera, “Recent advances in antiphospholipid antibody-related valvulopathies,” Journal of autoimmunity, vol. 15, no. 2, pp. 123–125, 2000.
|
| 175 |
+
[6] J. A. Noble and D. Boukerroui, “Ultrasound image segmentation: a survey,” IEEE Transactions on medical imaging, vol. 25, no. 8, pp. 987–1010, 2006.
|
| 176 |
+
[7] I. Mikic, S. Krucinski, and J. D. Thomas, “Segmentation and tracking in echocardiographic sequences: Active contours guided by optical flow estimates,” IEEE transactions on medical imaging, vol. 17, no. 2, pp. 274–284, 1998.
|
| 177 |
+
[8] S. Martin, V. Daanen, O. Chavanon, and J. Troccaz, “Fast segmentation of the mitral valve leaflet in echocardiography,” in International Workshop on Computer Vision Approaches to Medical Image Analysis. Springer, 2006, pp. 225–235.
|
| 178 |
+
[9] M. S. Sultan, N. C. Martins, E. Costa, D. Veiga, M. J. Ferreira, S. Mattos, and M. T. Coimbra, “Virtual m-mode for echocardiography: A new approach for the segmentation of the anterior mitral leaflet,” IEEE Journal of Biomedical and Health Informatics, 2018.
|
| 179 |
+
[10] X. Zhou, C. Yang, and W. Yu, “Automatic mitral leaflet tracking in echocardiography by outlier detection in the low-rank representation,” in Computer Vision and Pattern Recognition (CVPR), 2012 IEEE Conference on. IEEE, 2012, pp. 972–979.
|
| 180 |
+
[11] X. Liu, Y.-m. Cheung, S.-J. Peng, and Q. Peng, “Automatic mitral valve leaflet tracking in echocardiography via constrained outlier pursuit and region-scalable active contours,” Neurocomputing, vol. 144, pp. 47–57, 2014.
|
| 181 |
+
[12] G. Carneiro, J. C. Nascimento, and A. Freitas, “The segmentation of the left ventricle of the heart from ultrasound data using deep learning architectures and derivative-based search methods,” IEEE Transactions on Image Processing, vol. 21, no. 3, pp. 968–982, March 2012.
|
| 182 |
+
[13] O. Ronneberger, P. Fischer, and T. Brox, “U-net: Convolutional networks for biomedical image segmentation,” in International Conference on Medical image computing and computer-assisted intervention. Springer, 2015, pp. 234–241.
|
| 183 |
+
[14] M. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. Chen, C. Citro, G. S. Corrado, A. Davis, J. Dean, M. Devin, S. Ghemawat, I. Goodfellow, A. Harp, G. Irving, M. Isard, Y. Jia, R. Jozefowicz, L. Kaiser, M. Kudlur, J. Levenberg, D. Mané, R. Monga, S. Moore, D. Murray, C. Olah, M. Schuster, J. Shlens, B. Steiner, I. Sutskever, K. Talwar, P. Tucker, V. Vanhoucke, V. Vasudevan, F. Viégas, O. Vinyals, P. Warden, M. Wattenberg, M. Wicke, Y. Yu, and X. Zheng, “TensorFlow: Large-scale machine learning on heterogeneous systems,” 2015, software available from tensorflow.org. [Online]. Available: https://www.tensorflow.org/
|
| 184 |
+
[15] A. Damien et al., “Tflearn,” https://github.com/tflearn/tflearn, 2016.
|
| 185 |
+
[16] E. M. Bennett, R. Alpert, and A. Goldstein, “Communications through limited-response questioning,” Public Opinion Quarterly, vol. 18, no. 3, pp. 303–308, 1954.
|
parse/train/HyUmbjsiz/HyUmbjsiz_content_list.json
ADDED
|
@@ -0,0 +1,911 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Mitral Valve Leaflets Segmentation in Echocardiography using Convolutional Neural Networks ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
217,
|
| 8 |
+
122,
|
| 9 |
+
781,
|
| 10 |
+
196
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Eva Costa Neadvance, Machine Vision, SA Braga, Portugal ecosta@neadvance.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
243,
|
| 19 |
+
247,
|
| 20 |
+
460,
|
| 21 |
+
303
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Nelson Martins Neadvance, Machine Vision, SA Braga, Portugal nmartins@neadvance.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
535,
|
| 30 |
+
247,
|
| 31 |
+
753,
|
| 32 |
+
303
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Malik Saad Sultan \nInstituto de Telecomunicações FCUP∗, Porto, Portugal \nengr.saadsultan@gmail.com ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
243,
|
| 41 |
+
324,
|
| 42 |
+
462,
|
| 43 |
+
381
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Diana Veiga Neadvance, Machine Vision, SA Braga, Portugal dveiga@neadvance.com ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
537,
|
| 52 |
+
324,
|
| 53 |
+
753,
|
| 54 |
+
381
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Manuel Ferreira \nNeadvance, Machine Vision, SA Braga, Portugal \nmferreira@neadvance.com \nSandra Mattos \nUCMF † \nRecife PE, Brazil \nssmattos@gmail.com Miguel Coimbra \nInstituto de Telecomunicações FCUP∗, Porto, Portugal \nmcoimbra@dcc.fc.up.pt ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
189,
|
| 63 |
+
401,
|
| 64 |
+
405,
|
| 65 |
+
457
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "",
|
| 72 |
+
"bbox": [
|
| 73 |
+
428,
|
| 74 |
+
401,
|
| 75 |
+
584,
|
| 76 |
+
458
|
| 77 |
+
],
|
| 78 |
+
"page_idx": 0
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"text": "",
|
| 83 |
+
"bbox": [
|
| 84 |
+
606,
|
| 85 |
+
401,
|
| 86 |
+
808,
|
| 87 |
+
457
|
| 88 |
+
],
|
| 89 |
+
"page_idx": 0
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"text": "Abstract ",
|
| 94 |
+
"text_level": 1,
|
| 95 |
+
"bbox": [
|
| 96 |
+
462,
|
| 97 |
+
493,
|
| 98 |
+
535,
|
| 99 |
+
508
|
| 100 |
+
],
|
| 101 |
+
"page_idx": 0
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"type": "text",
|
| 105 |
+
"text": "Rheumatic heart disease remains a major burden in the developing countries. The World Heart Federation proposed guidelines for the echocardiographic detection of the disease, in which the mitral leaflets’ morphology assessment is a key indicator. The drawback is that these guidelines are dependent on the clinician experience. To overcome this limitation, we propose an automatic segmentation of the mitral leaflets using a new method based on convolutional neural network, specifically the UNet architecture. The results indicate a median DICE coefficient of 0.74 in $P L A X$ and 0.79 in $A 4 C$ for the anterior mitral leaflet segmentation, while median DICE of 0.60 in $P L A X$ and $0 . 6 9 \\ A 4 C$ are met for the posterior leaflet. A visual evaluation of this segmentation approach by two cardiologists is in line with the numerical results. The false detection due to overestimation and artifacts remains an issue to be addressed in the future. ",
|
| 106 |
+
"bbox": [
|
| 107 |
+
233,
|
| 108 |
+
526,
|
| 109 |
+
766,
|
| 110 |
+
690
|
| 111 |
+
],
|
| 112 |
+
"page_idx": 0
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"type": "text",
|
| 116 |
+
"text": "1 Introduction ",
|
| 117 |
+
"text_level": 1,
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
718,
|
| 121 |
+
310,
|
| 122 |
+
736
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "1.1 Motivation ",
|
| 129 |
+
"text_level": 1,
|
| 130 |
+
"bbox": [
|
| 131 |
+
174,
|
| 132 |
+
751,
|
| 133 |
+
289,
|
| 134 |
+
766
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 0
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "Rheumatic heart disease (RHD) is a preventable chronic sequel of acute rheumatic fever (ARF), an autoimmune response to group A streptococcal infection. Although being almost eradicated in high-income countries, it remains a major burden in the developing countries, where it causes most of the cardiovascular mortality and morbidity in the young [1]. RHD can be definite (clinically diagnosed) or borderline/sub-clinical (detected only by echocardiography). In a recent prevalence study, the RHD was followed globally over a period of 25-years, [2], and it was estimated that in ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
776,
|
| 144 |
+
825,
|
| 145 |
+
861
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 0
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "image",
|
| 151 |
+
"img_path": "images/2fbbfe8e29929f2179b71c705a03092b92570cbc85d73c2ea87c5d591b6d5785.jpg",
|
| 152 |
+
"image_caption": [
|
| 153 |
+
"Figure 1: Brightness mode echocardiography. (a) parasternal long-axis view. (b) apical four-chamber view. "
|
| 154 |
+
],
|
| 155 |
+
"image_footnote": [],
|
| 156 |
+
"bbox": [
|
| 157 |
+
217,
|
| 158 |
+
101,
|
| 159 |
+
776,
|
| 160 |
+
262
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "2015 alone, there were 33.4 million cases of RHD, 10.5 million disability-adjusted life-years related to RHD and 319400 RHD-related deaths. However, the estimations may fall short due to missing data in some regions of the globe, misidentification in the causes of death and due to sub-clinical RHD not being included in the prevalence study. This last aspect should not be disregarded since screening studies [3] point that for each case of clinical RHD, 3 to 10 cases of sub-clinical disease exist. It is important to note that even though sub-clinical cases may not develop into definite RHD, it is at this stage that the treatment is most effective with milder health repercussions. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
330,
|
| 170 |
+
825,
|
| 171 |
+
428
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "With the advent of portable echocardiography and the increasing detection rates of sub-clinical RHD, an evidence-based set of guidelines was defined by the World Heart Federation (WHF) for the echocardiographic assessment of RHD [4]. RHD mostly affects heart valves, especially the mitral valve and, therefore, the WHF echocardiographic criteria are generally based on the morphology and functionality of this valve. The mitral leaflets’ morphology and mobility is assessed through brightness mode echocardiography, usually in the parasternal long-axis view $( P L A X )$ , and in some cases using the apical four-chamber view $( A 4 C )$ . These echo views are shown in Fig. 1, with the anterior mitral valve leaflet depicted as AMVL and the posterior mitral valve leaflet as PMVL. Morphological assessment is usually done for AMVL instead of PMVL, solely because higher inter-observer agreement is met [4]. Clinical observation suggests the tip of the leaflet is the most commonly part to be affected [5]. Echocardiography assessment requires highly experienced operators, which is a scarce resource in developing countries. The use of image processing tools has the potential to reduce the operator dependency in screening settings, reduce the subjectivity and, in this way, improve the diagnosis. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
434,
|
| 181 |
+
825,
|
| 182 |
+
627
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "1.2 State of the art ",
|
| 189 |
+
"text_level": 1,
|
| 190 |
+
"bbox": [
|
| 191 |
+
176,
|
| 192 |
+
648,
|
| 193 |
+
316,
|
| 194 |
+
664
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 1
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "Ultrasound images are affected by several acquisition artifacts such as attenuation, speckle, shadows and signal dropout. Apart from that, the quality of the acquisition is strongly dependent on the human operator and the machine settings. The intensity and texture differences between structures and the contrast between structures and blood pool are low. These conditions raise several problems for classic image processing methods [6]. In [7], the authors proposed a combination of active contours and optical flow for the AMVL segmentation. The algorithm is semi-automatic and fails when the leaflet’s displacement between frames is large and irregular. Another semi-automatic approach for the AMVL segmentation was proposed in [8]. Two connected active contours identify the cardiac muscle and the leaflet. The manual initialization and the parameters selection highly affect the method’s performance. In [9], the authors propose a semi-automatic segmentation strategy, with a single point input from the user. The input point defines a set of scanning lines for a virtual motionmode (M-mode) reconstruction. The posterior aorta wall’s motion pattern is obtained by applying open-ended active contours to the virtual M-mode, using prior knowledge to establish constraints. The pattern provides a seed for each frame to segment the AMVL with localizing region-based active contours. Although it delivers the middle part of the leaflet, it sometimes fails to segment its tip, which is the most relevant part of the structure diagnosis-wise. An approach based on outlier detection in low-rank matrix was proposed in [10]. The authors aim to overcome the shortfalls of the previous methods, with a fully automatic unsupervised method. However, this solution still requires an extensive parameter fine-tuning and cropping of the images around the region of interest. Also, the method does not discriminate between AMVL and PMVL. In [11] the authors claim to prevent tracking drifts caused by motion ambiguities by constraining the outlier pursuit, and refining the segmentation with region-scalable active contours. Significant parameter fine-tuning remains as a drawback. ",
|
| 201 |
+
"bbox": [
|
| 202 |
+
174,
|
| 203 |
+
676,
|
| 204 |
+
825,
|
| 205 |
+
911
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 1
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "",
|
| 212 |
+
"bbox": [
|
| 213 |
+
174,
|
| 214 |
+
90,
|
| 215 |
+
825,
|
| 216 |
+
174
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "Most of the literature approaches are highly sensitive to initialization, image quality and acquisition parameters. None of them segments both leaflets consistently. The complexity of the problem calls for supervised learning methods such as Convolutional Neural Networks (CNN). CNNs have become the state of the art solution for image recognition problems, even outperforming human operators in some tasks. This approach will shift the burden of manual input from the final user to the training phase, and also will not rely on hand-crafted image features, making segmentation a fully automatic and robust process. To our knowledge there are no works in the literature on semantic segmentation of the mitral leaflets using $C N N s$ . In [12], a partial segmentation of the mitral leaflets was needed to segment the left ventricle. The authors propose a network for patches’ classification and then a second network for segmentation of the ventricle. However, they were not able to detect the contours of fast moving structures such as the mitral leaflets. The amount of data, and the respective manual annotations required for training a $C N N$ is a major point to take into account. The UNet architecture, proposed in [13], claims to produce accurate results, with a small number of observations. This trait of the U N et makes it an interesting contender for application in the present work, since the available dataset is also limited. The architecture allows for a multi-scale representation, with coarser information being collected in the bottom layers and finer information at the top ones. The architecture is composed by two paths: one of contraction, with convolutional layers and another of expansion with deconvolution layers. The paths are connected by skip layers before each max-pooling operation. This ensures that both local and global information is captured. ",
|
| 223 |
+
"bbox": [
|
| 224 |
+
174,
|
| 225 |
+
180,
|
| 226 |
+
825,
|
| 227 |
+
443
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "2 Proposed Work ",
|
| 234 |
+
"text_level": 1,
|
| 235 |
+
"bbox": [
|
| 236 |
+
174,
|
| 237 |
+
463,
|
| 238 |
+
334,
|
| 239 |
+
481
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 2
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "text",
|
| 245 |
+
"text": "In this work the U N et will be used for the mitral leaflets’ segmentation in the $A 4 C$ and $P L A X$ views. Each view produces distinct representations of the heart structures, thus, the model’s development will be adapted for each one separately. ",
|
| 246 |
+
"bbox": [
|
| 247 |
+
176,
|
| 248 |
+
496,
|
| 249 |
+
825,
|
| 250 |
+
537
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "2.1 The UNet model ",
|
| 257 |
+
"text_level": 1,
|
| 258 |
+
"bbox": [
|
| 259 |
+
174,
|
| 260 |
+
554,
|
| 261 |
+
333,
|
| 262 |
+
569
|
| 263 |
+
],
|
| 264 |
+
"page_idx": 2
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"type": "text",
|
| 268 |
+
"text": "The most favourable aspects of the U N et architecture are that it does not require a large training set, and that only the image is needed as input. The least favourable trait of the U N et is transversal to all $C N N$ architectures: the parameterization of the network requires a training phase. Depending on the complexity of the network, the training phase may require high computational power and time. ",
|
| 269 |
+
"bbox": [
|
| 270 |
+
174,
|
| 271 |
+
580,
|
| 272 |
+
825,
|
| 273 |
+
637
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 2
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "2.1.1 Model implementation ",
|
| 280 |
+
"text_level": 1,
|
| 281 |
+
"bbox": [
|
| 282 |
+
174,
|
| 283 |
+
651,
|
| 284 |
+
383,
|
| 285 |
+
666
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 2
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "text",
|
| 291 |
+
"text": "The UNet architecture was recursively implemented in TensorFlow’s [14] front-end TFlearn [15] (Python), allowing expansion of the depth $D$ of the architecture (number of steps on the paths). In Fig. 2, the implemented $U N e t$ architecture is shown. ",
|
| 292 |
+
"bbox": [
|
| 293 |
+
174,
|
| 294 |
+
676,
|
| 295 |
+
825,
|
| 296 |
+
718
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 2
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"text": "Taking into account the specificity of the problem, some simplifications and changes were made to the UNet model proposed in [13]. ",
|
| 303 |
+
"bbox": [
|
| 304 |
+
174,
|
| 305 |
+
724,
|
| 306 |
+
823,
|
| 307 |
+
752
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 2
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "text",
|
| 313 |
+
"text": "The first architectural change is the use of zero padding in the convolutions instead of the valid values. The authors of [13] proposed the use of the valid values with a mirror padding pre-processing, so the final outputs have the same spatial dimensions as the original input image. They argue that this accelerates the training, however this was not observed during preliminary tests and therefore, it was decided to use zero padding in all convolutions. ",
|
| 314 |
+
"bbox": [
|
| 315 |
+
174,
|
| 316 |
+
758,
|
| 317 |
+
825,
|
| 318 |
+
829
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 2
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "text",
|
| 324 |
+
"text": "The second change is the use of batch normalization layers before the concatenation steps. This adds a regularization effect by ensuring that the concatenated feature maps have the same order of magnitude. ",
|
| 325 |
+
"bbox": [
|
| 326 |
+
176,
|
| 327 |
+
835,
|
| 328 |
+
825,
|
| 329 |
+
876
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 2
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "Since the present work is focused on the evaluation of the potential of $D N N$ architectures in segmenting the mitral leaflets’, no extensive studies were made for the hyper-parameter optimization. ",
|
| 336 |
+
"bbox": [
|
| 337 |
+
176,
|
| 338 |
+
883,
|
| 339 |
+
823,
|
| 340 |
+
911
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 2
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "image",
|
| 346 |
+
"img_path": "images/6ac81e3becae434a1ead79036966743a48ac0a6f6f3248e2850fe4936a5fb35a.jpg",
|
| 347 |
+
"image_caption": [
|
| 348 |
+
"Figure 2: Proposed UNet model, adapted from [13]. Normalizing layers were added before every $m a x - p o o l$ operation; same padding in all Conv layers, instead of valid. $N _ { x }$ stands for the number of filters, $D$ for depth and $S$ for the spatial size of the feature map. "
|
| 349 |
+
],
|
| 350 |
+
"image_footnote": [],
|
| 351 |
+
"bbox": [
|
| 352 |
+
218,
|
| 353 |
+
88,
|
| 354 |
+
777,
|
| 355 |
+
304
|
| 356 |
+
],
|
| 357 |
+
"page_idx": 3
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"text": "Most of the parameters were empirically chosen and maintained unchanged throughout the training stages: the learning rate was set to 0.001, the optimization algorithm was the Adam, a batch size of 4 was set, as loss function the mean square difference was selected, and as activation function the Sigmoid was used with threshold of 0.5. ",
|
| 362 |
+
"bbox": [
|
| 363 |
+
174,
|
| 364 |
+
380,
|
| 365 |
+
825,
|
| 366 |
+
435
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 3
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "The samples were randomly shuffled and divided into a training and validation set ( $7 5 \\%$ for training and $2 5 \\%$ for validation). Due to memory management and taking into account the down-sampling process, samples’ dimensions were set to a 416 pixel height and 512 pixel width. ",
|
| 373 |
+
"bbox": [
|
| 374 |
+
176,
|
| 375 |
+
441,
|
| 376 |
+
821,
|
| 377 |
+
484
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 3
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "To achieve more accurate results, the architecture’s depth $D$ and the number of incoming neurons $N _ { 0 }$ were subject to a greed search optimization. Preliminary tests have shown that lower depths result in less accurate results. ",
|
| 384 |
+
"bbox": [
|
| 385 |
+
174,
|
| 386 |
+
489,
|
| 387 |
+
823,
|
| 388 |
+
532
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 3
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"text": "3 Materials and Methods ",
|
| 395 |
+
"text_level": 1,
|
| 396 |
+
"bbox": [
|
| 397 |
+
174,
|
| 398 |
+
551,
|
| 399 |
+
400,
|
| 400 |
+
569
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 3
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "The datasets used for this work contain videos from different patients, as described in Table 1. ",
|
| 407 |
+
"bbox": [
|
| 408 |
+
174,
|
| 409 |
+
582,
|
| 410 |
+
787,
|
| 411 |
+
598
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 3
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "table",
|
| 417 |
+
"img_path": "images/1864cc2452b488408fbc19dea51618bd209a90f77f25b3592ff191a829b0e8f7.jpg",
|
| 418 |
+
"table_caption": [
|
| 419 |
+
"Table 1: Distribution of the datasets for Training and Validation, Test and Application phases. "
|
| 420 |
+
],
|
| 421 |
+
"table_footnote": [],
|
| 422 |
+
"table_body": "<table><tr><td>Echo view</td><td>Train and Validation</td><td>Test</td><td>Application</td></tr><tr><td>PLAX</td><td>21 videos (2163 frames)6 videos (520 frames)</td><td></td><td>23 videos</td></tr><tr><td>A4C</td><td>22 videos (2400 frames)</td><td>)6 videos (526 frames)</td><td>23 videos</td></tr></table>",
|
| 423 |
+
"bbox": [
|
| 424 |
+
228,
|
| 425 |
+
633,
|
| 426 |
+
767,
|
| 427 |
+
690
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 3
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "text",
|
| 433 |
+
"text": "At the application phase, the tested U N et models were applied to the dataset for clinical assessment. Two cardiologists were asked to evaluate the segmentation quality based on 6 parameters for the two views: overall detection of the each leaflet’ tip pixels, overall estimate of each leaflet’ thickness, amount of false positives and repeatability of the segmentation quality along the video. Each case was graded with scores of 0, 1 and 2 (0 connotes failure and 2 success). ",
|
| 434 |
+
"bbox": [
|
| 435 |
+
173,
|
| 436 |
+
704,
|
| 437 |
+
825,
|
| 438 |
+
773
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 3
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "The echocardiography sequences were acquired during the Heart Caravan of 2016, a health care provision initiative which took place in the State of Paraíba, Brazil. All images were acquired using a Vivid I, by GE and/or a CX-50, by Philips and from children with ages between 4 and 16 years old. The sets used for training, validation and test were manually annotated in each frame as depicted in Fig. 3.These annotations of the mitral leaflets (AMVL and PMVL) were made by an experienced user and validated by two pediatric cardiologists. ",
|
| 445 |
+
"bbox": [
|
| 446 |
+
174,
|
| 447 |
+
779,
|
| 448 |
+
825,
|
| 449 |
+
863
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 3
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "For the models’ performance assessment during parameterization, the dice similarity coefficient $( D I C E )$ was used. This metric measures the similarity between the model’s prediction and the manual annotation. For the evaluation of the UNet’s segmentation results, the $D I C E$ , precision and recall were used. For the assessment of inter-rater agreement on the evaluation of the results in clinical context, the Bennett’s Sscore [16] was applied. The Sscore estimates the agreement assuming that the likelihood of random agreement (both rater agree, when both select a category randomly) is solely dependent on the number of categories. For $q$ categories, $r$ raters and $n$ rated items, the Sscore is defined as: ",
|
| 456 |
+
"bbox": [
|
| 457 |
+
174,
|
| 458 |
+
869,
|
| 459 |
+
825,
|
| 460 |
+
911
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 3
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "image",
|
| 466 |
+
"img_path": "images/7ede108114bd8d896cc2d4c7553ad6b5a4715192c40840765f5f9b03cbfeedc9.jpg",
|
| 467 |
+
"image_caption": [
|
| 468 |
+
"Figure 3: Manual annotations of the AMVL, PMVL and CT. (a) parasternal long-axis view. (b) apical four-chamber view. "
|
| 469 |
+
],
|
| 470 |
+
"image_footnote": [],
|
| 471 |
+
"bbox": [
|
| 472 |
+
267,
|
| 473 |
+
101,
|
| 474 |
+
725,
|
| 475 |
+
244
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 4
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "text",
|
| 481 |
+
"text": "",
|
| 482 |
+
"bbox": [
|
| 483 |
+
174,
|
| 484 |
+
309,
|
| 485 |
+
825,
|
| 486 |
+
380
|
| 487 |
+
],
|
| 488 |
+
"page_idx": 4
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"type": "equation",
|
| 492 |
+
"img_path": "images/0caaa68569e44e5cb9d52b023356f5161667972eaeffa41371c2a7714f4e496a.jpg",
|
| 493 |
+
"text": "$$\nS s c o r e = \\frac { p _ { o } - p _ { c } } { 1 - p _ { c } } , w i t h :\n$$",
|
| 494 |
+
"text_format": "latex",
|
| 495 |
+
"bbox": [
|
| 496 |
+
410,
|
| 497 |
+
397,
|
| 498 |
+
588,
|
| 499 |
+
429
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 4
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "equation",
|
| 505 |
+
"img_path": "images/8a5dd196af075e8c7f4ddc6029c507b2e6467df46d7bf508c24cb088ac73e14a.jpg",
|
| 506 |
+
"text": "$$\np _ { c } = \\frac { 1 } { q ^ { 2 } } \\sum _ { k , l } w _ { k l } , \\qquad p _ { o } = \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\sum _ { k = 1 } ^ { q } \\frac { r _ { i k } ( r _ { i k } ^ { * } - 1 ) } { r _ { i } ( r _ { i } - 1 ) } , \\qquad r _ { i k } ^ { * } \\sum _ { l = 1 } ^ { q } w _ { k l } r _ { i l }\n$$",
|
| 507 |
+
"text_format": "latex",
|
| 508 |
+
"bbox": [
|
| 509 |
+
261,
|
| 510 |
+
438,
|
| 511 |
+
736,
|
| 512 |
+
482
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 4
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "text",
|
| 518 |
+
"text": "where, $r _ { i l }$ and $r _ { i k }$ are the number of raters assigning item $i$ to category $l$ or $k$ , respectively. Since in our case the categorization is a grading process, ordinal weighting was applied, thus when the two raters agree total credit is given $w _ { k l } = 1 ,$ ), when raters disagree by choosing immediate neighbor categories partial credit is given ${ w _ { k l } = 0 . 3 3 } $ ), and when raters disagree by choosing non-neighbor categories no credit is given $\\mathbf { \\boldsymbol { w } } _ { k l } = 0$ ). ",
|
| 519 |
+
"bbox": [
|
| 520 |
+
174,
|
| 521 |
+
493,
|
| 522 |
+
825,
|
| 523 |
+
564
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 4
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "The UNet models were trained in a Desktop PC with Intel Core i7 Processor $( 3 . 4 0 \\mathrm { G H z }$ ), 16 GB RAM, and NVIDIA GeForce GTX 970 GPU with 4 GB RAM. ",
|
| 530 |
+
"bbox": [
|
| 531 |
+
174,
|
| 532 |
+
569,
|
| 533 |
+
821,
|
| 534 |
+
598
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 4
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "4 Results and Discussion ",
|
| 541 |
+
"text_level": 1,
|
| 542 |
+
"bbox": [
|
| 543 |
+
174,
|
| 544 |
+
618,
|
| 545 |
+
397,
|
| 546 |
+
636
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 4
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "In this section we elaborate on the results gathered in this work, and on their evaluation. The following subsection covers the results of the $D$ and $N _ { 0 }$ parameters grid search, the results on the test dataset and the results of the clinical evaluation of the proposed method. ",
|
| 553 |
+
"bbox": [
|
| 554 |
+
174,
|
| 555 |
+
651,
|
| 556 |
+
825,
|
| 557 |
+
694
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 4
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "4.1 Parameterization ",
|
| 564 |
+
"text_level": 1,
|
| 565 |
+
"bbox": [
|
| 566 |
+
174,
|
| 567 |
+
712,
|
| 568 |
+
333,
|
| 569 |
+
727
|
| 570 |
+
],
|
| 571 |
+
"page_idx": 4
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"type": "text",
|
| 575 |
+
"text": "The parameterization of the architecture’s depth $D$ and number of incoming neurons $N _ { 0 }$ was made for each echo view by evaluating the $D I C E$ in the validation stage. The training stages were all stopped at 30 epochs and the model with higher $D I C E$ in validation was saved. The highest result was always found before the $3 0 ^ { t h }$ epoch. Depths higher than 5 resulted in GPU memory overflow and, because of that, only depths of 4 and 5 were tested. The number of incoming neurons $N _ { 0 }$ was studied in the range from 4 to 32 with base 2 steps. ",
|
| 576 |
+
"bbox": [
|
| 577 |
+
173,
|
| 578 |
+
738,
|
| 579 |
+
825,
|
| 580 |
+
821
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 4
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "4.1.1 Parasternal long-axis ",
|
| 587 |
+
"text_level": 1,
|
| 588 |
+
"bbox": [
|
| 589 |
+
174,
|
| 590 |
+
838,
|
| 591 |
+
372,
|
| 592 |
+
853
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 4
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "The results obtained in the validation stage are summarized in Table 2. ",
|
| 599 |
+
"bbox": [
|
| 600 |
+
174,
|
| 601 |
+
862,
|
| 602 |
+
633,
|
| 603 |
+
877
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 4
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "The highest $D I C E$ was obtained for $D = 5$ and $N _ { 0 } = 8$ . Even though the model lies in the border of $D$ , further exploration was not made due to GPU overflow for depths higher than 5. ",
|
| 610 |
+
"bbox": [
|
| 611 |
+
171,
|
| 612 |
+
882,
|
| 613 |
+
826,
|
| 614 |
+
911
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 4
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "table",
|
| 620 |
+
"img_path": "images/19d17c1d8c23536bab9ecd051815c640cc0aa21fb6b200d7bde71a38e521ef5b.jpg",
|
| 621 |
+
"table_caption": [
|
| 622 |
+
"Table 2: Mean DICE Coefficient results in the validation set. In bold is the highest DICE. "
|
| 623 |
+
],
|
| 624 |
+
"table_footnote": [],
|
| 625 |
+
"table_body": "<table><tr><td>D</td><td>No 4</td><td>8</td><td>16</td></tr><tr><td>4</td><td><0.710</td><td>0.762</td><td>0.770</td></tr><tr><td>5</td><td><0.710</td><td>0.791</td><td>0.786</td></tr></table>",
|
| 626 |
+
"bbox": [
|
| 627 |
+
356,
|
| 628 |
+
113,
|
| 629 |
+
633,
|
| 630 |
+
183
|
| 631 |
+
],
|
| 632 |
+
"page_idx": 5
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "text",
|
| 636 |
+
"text": "4.1.2 Apical four-chamber ",
|
| 637 |
+
"text_level": 1,
|
| 638 |
+
"bbox": [
|
| 639 |
+
174,
|
| 640 |
+
208,
|
| 641 |
+
370,
|
| 642 |
+
223
|
| 643 |
+
],
|
| 644 |
+
"page_idx": 5
|
| 645 |
+
},
|
| 646 |
+
{
|
| 647 |
+
"type": "text",
|
| 648 |
+
"text": "The results obtained in the validation stage are summarized in Table 3. ",
|
| 649 |
+
"bbox": [
|
| 650 |
+
174,
|
| 651 |
+
232,
|
| 652 |
+
633,
|
| 653 |
+
247
|
| 654 |
+
],
|
| 655 |
+
"page_idx": 5
|
| 656 |
+
},
|
| 657 |
+
{
|
| 658 |
+
"type": "table",
|
| 659 |
+
"img_path": "images/3404de11fa4f9e9b82984cf047508822ab72727f99124dc39fc5ac00ef87334a.jpg",
|
| 660 |
+
"table_caption": [
|
| 661 |
+
"Table 3: Mean DICE Coefficient results in the validation set. In bold is the highest $D I C E$ "
|
| 662 |
+
],
|
| 663 |
+
"table_footnote": [],
|
| 664 |
+
"table_body": "<table><tr><td></td><td>No</td><td rowspan=\"2\">4</td><td rowspan=\"2\">8</td><td rowspan=\"2\">16</td><td rowspan=\"2\">32</td></tr><tr><td>D</td><td></td></tr><tr><td colspan=\"2\">4</td><td><0.710</td><td>0.757</td><td>0.757</td><td>0.760</td></tr><tr><td colspan=\"2\">5</td><td><0.710</td><td>0.756</td><td>0.762</td><td>0.771</td></tr></table>",
|
| 665 |
+
"bbox": [
|
| 666 |
+
333,
|
| 667 |
+
285,
|
| 668 |
+
658,
|
| 669 |
+
354
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 5
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "Concerning $N _ { 0 }$ , contrary to what happened with the PLAX view, it was verified the results improved with higher values. Thus, the search was expanded. It was not possible to test $N _ { 0 } = 6 4$ due to hardware resource exhaustion. The model with highest $D I C E$ has $D = 5$ and $N _ { 0 } = 3 2$ . ",
|
| 676 |
+
"bbox": [
|
| 677 |
+
174,
|
| 678 |
+
369,
|
| 679 |
+
825,
|
| 680 |
+
411
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 5
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "text",
|
| 686 |
+
"text": "4.2 Results on test dataset ",
|
| 687 |
+
"text_level": 1,
|
| 688 |
+
"bbox": [
|
| 689 |
+
176,
|
| 690 |
+
429,
|
| 691 |
+
367,
|
| 692 |
+
443
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 5
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "text",
|
| 698 |
+
"text": "In this section the U N et segmentation quality is evaluated in the test set. From the $5 2 6 A 4 C$ frames, 3 were excluded due to motion artifacts or probe mispositioning, which impeded the user from annotating the structures. The same happened with 12 of the $5 2 0 ~ P L A X$ frames. ",
|
| 699 |
+
"bbox": [
|
| 700 |
+
176,
|
| 701 |
+
454,
|
| 702 |
+
823,
|
| 703 |
+
496
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 5
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "In Fig. 4 the evaluation metrics’ distributions are shown. An immediate assertion to be made is that the results are better in the AMVL than in the PMVL segmentation, in both views. This is in line with what happens with human observers, who have higher inter-observer agreement for the AMVL. Concerning the AMVL segmentation, the $D I C E$ values are above 0.5 in $\\bar { P } L A X$ and above 0.6 in $A 4 C$ , with a median of 0.742 in $P L A X$ and 0.795 in $A 4 C$ . High recall values (0.903 median in $P L A X$ and 0.927 in $A 4 C$ ) indicate that most of the leaflets’ pixels were correctly detected as such, so false rejection is not a significant issue. On the other hand, precision presents lower scores (0.688 in $P L A X$ and 0.710 in $A 4 C$ ), which might indicate that some false detection is happening. Post processing techniques may have a positive effect removing false positives. In what concerns PMVL segmentation, the same trends obtained in the AMVL are observed, yet the metrics present wider distributions. This denotes for higher variability in the results, with more false rejection and false detection. In $P L A X$ , median values are $D I C E$ of 0.600, recall of 0.787 and precision of 0.512. In $A 4 C$ , median values are $D I C E$ of 0.690, recall of 0.817 and precision of 0.615. Examples of the obtained segmentation results are shown in Fig. 5. The best $( a , d )$ and worst $( b , e )$ results are displayed for PLAX and A4C. This selection takes into account the average $D I C E$ of the two classes (AMVL and PMVL). The best average result for PLAX is 0.848 and the worst is 0.354. The best average result for A4C is 0.869 and the worst is 0.260. Two examples of false detection errors are also shown: $( c )$ demonstrates overestimation of the structures’ borders and $( f )$ demonstrates the presence of false positives due to reflection artifacts on the US response. In some cases, overestimation may not be a significant error, since some limits of the leaflets (AMVL - posterior wall of the Aorta boundary and PMVL - left atrium wall boundary) are almost arbitrarily chosen when manually annotating. These frames present high recall values, while precision is low. ",
|
| 710 |
+
"bbox": [
|
| 711 |
+
173,
|
| 712 |
+
502,
|
| 713 |
+
825,
|
| 714 |
+
806
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 5
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "4.3 Results on application dataset ",
|
| 721 |
+
"text_level": 1,
|
| 722 |
+
"bbox": [
|
| 723 |
+
176,
|
| 724 |
+
823,
|
| 725 |
+
419,
|
| 726 |
+
838
|
| 727 |
+
],
|
| 728 |
+
"page_idx": 5
|
| 729 |
+
},
|
| 730 |
+
{
|
| 731 |
+
"type": "text",
|
| 732 |
+
"text": "The clinical evaluation results of the application dataset are summarized in Table 4. ",
|
| 733 |
+
"bbox": [
|
| 734 |
+
174,
|
| 735 |
+
848,
|
| 736 |
+
717,
|
| 737 |
+
863
|
| 738 |
+
],
|
| 739 |
+
"page_idx": 5
|
| 740 |
+
},
|
| 741 |
+
{
|
| 742 |
+
"type": "text",
|
| 743 |
+
"text": "The confusion matrices in Table 4 show that both raters assigned score 2 more often than 1, and 1 more often than 0. The pooled Sscore is 0.781, which means a substantial agreement between raters, which reinforces the assigned scores. From all the evaluated parameters, the amount of false positives ",
|
| 744 |
+
"bbox": [
|
| 745 |
+
176,
|
| 746 |
+
869,
|
| 747 |
+
825,
|
| 748 |
+
911
|
| 749 |
+
],
|
| 750 |
+
"page_idx": 5
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"type": "image",
|
| 754 |
+
"img_path": "images/43c4256566d40417560ee57d06f74e9028b12d5ffd4898690b7a43b8b863a0c5.jpg",
|
| 755 |
+
"image_caption": [
|
| 756 |
+
"Figure 4: Boxplot of the evaluation metrics (DICE, recall and precision) obtained from the test images using the $U N e t$ method. The $\\times$ are the outliers. (a) AMVL segmentation in A4C view. (b) PMVL segmentation in A4C view. (c) AMVL segmentation in PLAX view. (d) PMVL segmentation in PLAX view. "
|
| 757 |
+
],
|
| 758 |
+
"image_footnote": [],
|
| 759 |
+
"bbox": [
|
| 760 |
+
245,
|
| 761 |
+
125,
|
| 762 |
+
751,
|
| 763 |
+
497
|
| 764 |
+
],
|
| 765 |
+
"page_idx": 6
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"type": "table",
|
| 769 |
+
"img_path": "images/72f7a3484b913091865b73defa8127a833a447eb9021c4e70c08de97c00ee1aa.jpg",
|
| 770 |
+
"table_caption": [
|
| 771 |
+
"Table 4: Results of the clinical evaluation of the segmentations’ quality by two raters $R 1$ and $R 2$ ). P1: AMVL tip detection; P2: AMVL thickness; P3: PMVL tip detection; P4: PMVL thickness; P5: amount of false positives; P6: repeatability along the video. S2, S1 and S0 stands for the grading scores. "
|
| 772 |
+
],
|
| 773 |
+
"table_footnote": [],
|
| 774 |
+
"table_body": "<table><tr><td></td><td>P1</td><td colspan=\"2\">P2</td><td colspan=\"2\"></td><td colspan=\"2\">P4</td><td colspan=\"2\">P5</td><td colspan=\"2\"></td><td colspan=\"2\">P6</td></tr><tr><td>R2</td><td></td><td>S2 S1 S0</td><td>S2 S1 S0</td><td></td><td> S2 S1 S0</td><td></td><td> S2 S1 S0</td><td></td><td></td><td> S2 S1 S0</td><td></td><td> S2 S1 S0</td></tr><tr><td>R1 S2</td><td>20</td><td>1 0</td><td>19 3</td><td>0</td><td>21 0</td><td>0</td><td>19 1</td><td>0</td><td>6</td><td>3</td><td>1 18</td><td>2 0</td></tr><tr><td>S1</td><td>1</td><td>1 0</td><td>0 0</td><td>1</td><td>0 1</td><td>1</td><td>1 1</td><td>1</td><td>4</td><td>7</td><td>0 2</td><td>0 0</td></tr><tr><td>S0</td><td>0</td><td>0 0</td><td>0 0</td><td>0</td><td>0 0</td><td>0</td><td>0 0</td><td>0</td><td>0</td><td>1</td><td>1 0</td><td>0 1</td></tr><tr><td>IR Agreement</td><td>0.888</td><td></td><td>0.776</td><td></td><td>0.944</td><td></td><td>0.832</td><td></td><td></td><td>0.469</td><td></td><td>0.776</td></tr></table>",
|
| 775 |
+
"bbox": [
|
| 776 |
+
189,
|
| 777 |
+
642,
|
| 778 |
+
808,
|
| 779 |
+
761
|
| 780 |
+
],
|
| 781 |
+
"page_idx": 6
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "text",
|
| 785 |
+
"text": "(P5) is the one with lower scores assigned, which is in line with the numerical results that were discussed in the previous section. While most of the parameters met substantial or almost perfect inter-rater agreement, the amount of false positives only met moderate agreement. ",
|
| 786 |
+
"bbox": [
|
| 787 |
+
174,
|
| 788 |
+
787,
|
| 789 |
+
825,
|
| 790 |
+
830
|
| 791 |
+
],
|
| 792 |
+
"page_idx": 6
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "text",
|
| 796 |
+
"text": "5 Conclusion ",
|
| 797 |
+
"text_level": 1,
|
| 798 |
+
"bbox": [
|
| 799 |
+
173,
|
| 800 |
+
851,
|
| 801 |
+
299,
|
| 802 |
+
867
|
| 803 |
+
],
|
| 804 |
+
"page_idx": 6
|
| 805 |
+
},
|
| 806 |
+
{
|
| 807 |
+
"type": "text",
|
| 808 |
+
"text": "A new method based on the U N et architecture was proposed for the segmentation of the mitral valve leaflets. The architecture was parameterized and trained for each one of the target echocardiographic views, resulting in two models. Results show that both models perform in a similar way, with slight superior performance in the $A 4 C$ model. Moreover, they indicate a median DICE coefficient of 0.74 in $P L A X$ and 0.79 in $A 4 C$ for the anterior mitral leaflet segmentation, while median DICE of 0.60 in $P L A X$ and 0.69 $A 4 C$ are met for the posterior leaflet. By analyzing the recall and precision scores it is possible to understand that the most significant source of error is the false detection. Visual inspection of the results allows to identify two kinds of false detection: overestimation of the structures’ borders and false structures detection caused by imaging artifacts. Future developments should include application of post-processing techniques, which may have a significant impact on the false positives elimination. ",
|
| 809 |
+
"bbox": [
|
| 810 |
+
173,
|
| 811 |
+
882,
|
| 812 |
+
823,
|
| 813 |
+
911
|
| 814 |
+
],
|
| 815 |
+
"page_idx": 6
|
| 816 |
+
},
|
| 817 |
+
{
|
| 818 |
+
"type": "image",
|
| 819 |
+
"img_path": "images/01f9352e7b3c299114d79cdf6dbe13b735c7861757e367ec03c9a4c8d9041bc5.jpg",
|
| 820 |
+
"image_caption": [
|
| 821 |
+
"Figure 5: Example of segmentation results. White contours correspond to manual annotations and red-green to AMVL and PMVL automatic segmentations respectively. $1 ^ { s t }$ row: best (a) and worst (b) results for PLAX view; (c) is an example of error by overestimation. $2 ^ { n d }$ row: best (d) and worst (e) results for A4C view; (f) is an example of false detection. "
|
| 822 |
+
],
|
| 823 |
+
"image_footnote": [],
|
| 824 |
+
"bbox": [
|
| 825 |
+
212,
|
| 826 |
+
102,
|
| 827 |
+
787,
|
| 828 |
+
390
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 7
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "",
|
| 835 |
+
"bbox": [
|
| 836 |
+
174,
|
| 837 |
+
493,
|
| 838 |
+
825,
|
| 839 |
+
617
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 7
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "text",
|
| 845 |
+
"text": "The clinical evaluation of the segmentation results is in agreement with the quantitative results. The parameter with the lowest scores is the amount of false positives, although the agreement is only moderate enforcing the challenge of this task. ",
|
| 846 |
+
"bbox": [
|
| 847 |
+
174,
|
| 848 |
+
626,
|
| 849 |
+
825,
|
| 850 |
+
666
|
| 851 |
+
],
|
| 852 |
+
"page_idx": 7
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"type": "text",
|
| 856 |
+
"text": "In the future, further model optimization should be tested, as well as include data augmentation to simulate different acquisition settings. The database should also be expanded with representative examples. The clinical evaluation of the results should be continued with more cases to assess real world applicability of the proposed method. ",
|
| 857 |
+
"bbox": [
|
| 858 |
+
174,
|
| 859 |
+
672,
|
| 860 |
+
825,
|
| 861 |
+
729
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 7
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "text",
|
| 867 |
+
"text": "Acknowledgments ",
|
| 868 |
+
"text_level": 1,
|
| 869 |
+
"bbox": [
|
| 870 |
+
176,
|
| 871 |
+
757,
|
| 872 |
+
302,
|
| 873 |
+
772
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 7
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "text",
|
| 879 |
+
"text": "This article is a result of the project (NORTE-01-0247-FEDER-003507-RHDecho), co-funded by Norte Portugal Regional Operational Program (NORTE 2020), under the PORTUGAL 2020 Partnership Agreement, through the European Regional Development Fund (ERDF). This work also had the collaboration of the Fundação para a Ciência a e Tecnologia (FCT) grant no: PD/BD/105761/2014 and has contributions from the project NanoSTIMA, NORTE-01-0145-FEDER-000016, supported by Norte Portugal Regional Operational Program (NORTE 2020), through Portugal 2020 and the European Regional Development Fund (ERDF). GE and PHILLIPS for providing the equipment. Health professionals from Círculo do Coração for their volunteer work and data collection. The Health Secretary of Paraíba for their support to the actualization of the Heart Caravan. ",
|
| 880 |
+
"bbox": [
|
| 881 |
+
174,
|
| 882 |
+
786,
|
| 883 |
+
825,
|
| 884 |
+
911
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 7
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "References ",
|
| 891 |
+
"text_level": 1,
|
| 892 |
+
"bbox": [
|
| 893 |
+
174,
|
| 894 |
+
89,
|
| 895 |
+
267,
|
| 896 |
+
106
|
| 897 |
+
],
|
| 898 |
+
"page_idx": 8
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "text",
|
| 902 |
+
"text": "[1] E. Marijon, M. Mirabel, D. S. Celermajer, and X. Jouven, “Rheumatic heart disease,” The Lancet, vol. 379, no. 9819, pp. 953–964, 2012. \n[2] D. A. Watkins, C. O. Johnson, S. M. Colquhoun, G. Karthikeyan, A. Beaton, G. Bukhman, M. H. Forouzanfar, C. T. Longenecker, B. M. Mayosi, G. A. Mensah et al., “Global, regional, and national burden of rheumatic heart disease, 1990–2015,” New England Journal of Medicine, vol. 377, no. 8, pp. 713–722, 2017. \n[3] E. Marijon, D. S. Celermajer, and X. Jouven, “Rheumatic heart disease—an iceberg in tropical waters,” 2017. \n[4] B. Reményi, N. Wilson, A. Steer, B. Ferreira, J. Kado, K. Kumar, J. Lawrenson, G. Maguire, E. Marijon, M. Mirabel et al., “World heart federation criteria for echocardiographic diagnosis of rheumatic heart disease—an evidence-based guideline,” Nature Reviews Cardiology, vol. 9, no. 5, p. 297, 2012. \n[5] R. Cervera, “Recent advances in antiphospholipid antibody-related valvulopathies,” Journal of autoimmunity, vol. 15, no. 2, pp. 123–125, 2000. \n[6] J. A. Noble and D. Boukerroui, “Ultrasound image segmentation: a survey,” IEEE Transactions on medical imaging, vol. 25, no. 8, pp. 987–1010, 2006. \n[7] I. Mikic, S. Krucinski, and J. D. Thomas, “Segmentation and tracking in echocardiographic sequences: Active contours guided by optical flow estimates,” IEEE transactions on medical imaging, vol. 17, no. 2, pp. 274–284, 1998. \n[8] S. Martin, V. Daanen, O. Chavanon, and J. Troccaz, “Fast segmentation of the mitral valve leaflet in echocardiography,” in International Workshop on Computer Vision Approaches to Medical Image Analysis. Springer, 2006, pp. 225–235. \n[9] M. S. Sultan, N. C. Martins, E. Costa, D. Veiga, M. J. Ferreira, S. Mattos, and M. T. Coimbra, “Virtual m-mode for echocardiography: A new approach for the segmentation of the anterior mitral leaflet,” IEEE Journal of Biomedical and Health Informatics, 2018. \n[10] X. Zhou, C. Yang, and W. Yu, “Automatic mitral leaflet tracking in echocardiography by outlier detection in the low-rank representation,” in Computer Vision and Pattern Recognition (CVPR), 2012 IEEE Conference on. IEEE, 2012, pp. 972–979. \n[11] X. Liu, Y.-m. Cheung, S.-J. Peng, and Q. Peng, “Automatic mitral valve leaflet tracking in echocardiography via constrained outlier pursuit and region-scalable active contours,” Neurocomputing, vol. 144, pp. 47–57, 2014. \n[12] G. Carneiro, J. C. Nascimento, and A. Freitas, “The segmentation of the left ventricle of the heart from ultrasound data using deep learning architectures and derivative-based search methods,” IEEE Transactions on Image Processing, vol. 21, no. 3, pp. 968–982, March 2012. \n[13] O. Ronneberger, P. Fischer, and T. Brox, “U-net: Convolutional networks for biomedical image segmentation,” in International Conference on Medical image computing and computer-assisted intervention. Springer, 2015, pp. 234–241. \n[14] M. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. Chen, C. Citro, G. S. Corrado, A. Davis, J. Dean, M. Devin, S. Ghemawat, I. Goodfellow, A. Harp, G. Irving, M. Isard, Y. Jia, R. Jozefowicz, L. Kaiser, M. Kudlur, J. Levenberg, D. Mané, R. Monga, S. Moore, D. Murray, C. Olah, M. Schuster, J. Shlens, B. Steiner, I. Sutskever, K. Talwar, P. Tucker, V. Vanhoucke, V. Vasudevan, F. Viégas, O. Vinyals, P. Warden, M. Wattenberg, M. Wicke, Y. Yu, and X. Zheng, “TensorFlow: Large-scale machine learning on heterogeneous systems,” 2015, software available from tensorflow.org. [Online]. Available: https://www.tensorflow.org/ \n[15] A. Damien et al., “Tflearn,” https://github.com/tflearn/tflearn, 2016. \n[16] E. M. Bennett, R. Alpert, and A. Goldstein, “Communications through limited-response questioning,” Public Opinion Quarterly, vol. 18, no. 3, pp. 303–308, 1954. ",
|
| 903 |
+
"bbox": [
|
| 904 |
+
173,
|
| 905 |
+
104,
|
| 906 |
+
828,
|
| 907 |
+
848
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 8
|
| 910 |
+
}
|
| 911 |
+
]
|
parse/train/HyUmbjsiz/HyUmbjsiz_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HyUmbjsiz/HyUmbjsiz_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/XN1M27T6uux/XN1M27T6uux.md
ADDED
|
@@ -0,0 +1,282 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DECAF: Generating Fair Synthetic Data Using Causally-Aware Generative Networks
|
| 2 |
+
|
| 3 |
+
Boris van Breugel∗ University of Cambridge bv292@cam.ac.uk
|
| 4 |
+
|
| 5 |
+
Trent Kyono∗ University of California, Los Angeles tmkyono@ucla.edu
|
| 6 |
+
|
| 7 |
+
Jeroen Berrevoets University of Cambridge jb2384@cam.ac.uk
|
| 8 |
+
|
| 9 |
+
Mihaela van der Schaar University of Cambridge University of California, Los Angeles The Alan Turing Institute mv472@cam.ac.uk
|
| 10 |
+
|
| 11 |
+
# Abstract
|
| 12 |
+
|
| 13 |
+
Machine learning models have been criticized for reflecting unfair biases in the training data. Instead of solving for this by introducing fair learning algorithms directly, we focus on generating fair synthetic data, such that any downstream learner is fair. Generating fair synthetic data from unfair data— while remaining truthful to the underlying data-generating process $( D G P )$ —is non-trivial. In this paper, we introduce DECAF: a GAN-based fair synthetic data generator for tabular data. With DECAF we embed the DGP explicitly as a structural causal model in the input layers of the generator, allowing each variable to be reconstructed conditioned on its causal parents. This procedure enables inference-time debiasing, where biased edges can be strategically removed for satisfying user-defined fairness requirements. The DECAF framework is versatile and compatible with several popular definitions of fairness. In our experiments, we show that DECAF successfully removes undesired bias and— in contrast to existing methods —is capable of generating high-quality synthetic data. Furthermore, we provide theoretical guarantees on the generator’s convergence and the fairness of downstream models.
|
| 14 |
+
|
| 15 |
+
# 1 Introduction
|
| 16 |
+
|
| 17 |
+
Generative models are optimized to approximate the original data distribution as closely as possible. Most research focuses on three objectives [1]: fidelity, diversity, and privacy. The first and second are concerned with how closely synthetic samples resemble real data and how much of the real data’s distribution is covered by the new distribution, respectively. The third objective aims to avoid simply reproducing samples from the original data, which is important if the data contains privacy-sensitive information [2, 3]. We explore a much-less studied concept: synthetic data fairness.
|
| 18 |
+
|
| 19 |
+
Motivation. Deployed machine learning models have been shown to reflect the bias of the data on which they are trained [4, 5, 6, 7, 8]. This has not only unfairly damaged the discriminated individuals but also society’s trust in machine learning as a whole. A large body of work has explored ways of detecting bias and creating fair predictors [9, 10, 11, 12, 13, 14, 15], while other authors propose debiasing the data itself [9, 10, 11, 16]. This work’s aim is related to the work of [17]: to generate fair synthetic data based on unfair data. Being able to generate fair data is important because end-users creating models based on publicly available data might be unaware they are inadvertently including bias or insufficiently knowledgeable to remove it from their model. Furthermore, by debiasing the data prior to public release, one can guarantee any downstream model satisfies desired fairness requirements by assigning the responsibility of debiasing to the data generating entities.
|
| 20 |
+
|
| 21 |
+
Table 1: Overview of related work for synthetic data. We organize related work according to our key areas of interest: (1) Allows post-hoc distribution changes, (2) provides fairness, (3) supports causal notion of fairness, (4) allows inference-time fairness, (5) requires minimal assumptions. We highlight the key contribution, and identify non-neural approaches with “†”.
|
| 22 |
+
|
| 23 |
+
<table><tr><td>Model</td><td>Reference</td><td>(1)(2)(3)(4)(5)Goal</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td colspan="8">Standard synthetic data generation</td></tr><tr><td>VAE</td><td>[19]</td><td>X</td><td>X</td><td>X</td><td>X</td><td></td><td>Realistic synth. data.</td></tr><tr><td>GANs</td><td>[2, 3, 20, 21]</td><td>X</td><td>X</td><td>X</td><td>X</td><td></td><td>Realistic synth. data.</td></tr><tr><td colspan="8"> Methods that detect and/or remove bias</td></tr><tr><td>PSE-DD/DR†</td><td>[11]</td><td>√</td><td>√</td><td>√</td><td>×</td><td>X</td><td>Discover/Remove bias.</td></tr><tr><td>OPPDP†</td><td>[16]</td><td>X</td><td>√</td><td>xxxx></td><td>xxx</td><td>X</td><td>Remove bias.</td></tr><tr><td>DI</td><td>[10]</td><td>X</td><td>√</td><td></td><td></td><td>X</td><td>Discover/Remove bias.</td></tr><tr><td>LFR</td><td>[22]</td><td>×</td><td>一</td><td></td><td></td><td>√</td><td>Learn fair representation.</td></tr><tr><td>FairGAN</td><td>[17]</td><td>X</td><td>√</td><td></td><td>X</td><td>√</td><td>Realistic and fair synth. data.</td></tr><tr><td>CFGAN</td><td>[23]</td><td>X</td><td>√</td><td></td><td>×</td><td>√</td><td>Realistic and fair synth. data.</td></tr><tr><td>DECAF</td><td>(ours)</td><td>√</td><td>√</td><td><</td><td>√</td><td>√</td><td>Realistic and fair synth. data.</td></tr></table>
|
| 24 |
+
|
| 25 |
+
Goal. From a biased dataset $\mathcal { X }$ , we are interested in learning a model $G$ , that is able to generate an equivalent synthetic unbiased dataset $\mathcal { X } ^ { \prime }$ with minimal loss of data utility. Furthermore, a downstream model trained on the synthetic data needs to make not only unbiased predictions on the synthetic data, but also on real-life datasets (as formalized in Section 4.2).
|
| 26 |
+
|
| 27 |
+
Solution. We approach fairness from a causal standpoint because it provides an intuitive perspective on different definitions of fairness and discrimination [11, 13, 14, 15, 18]. We introduce DEbiasing CAusal Fairness (DECAF), a generative adversarial network (GAN) that leverages causal structure for synthesizing data. Specifically, DECAF is comprised of $d$ generators (one for each variable) that learn the causal conditionals observed in the data. At inference-time, variables are synthesized topologically starting from the root nodes in the causal graph then synthesized sequentially, terminating at the leave nodes. Because of this, DECAF can remove bias at inference-time through targeted (biased) edge removal. As a result, various datasets can be created for desired (or evolving) definitions of fairness.
|
| 28 |
+
|
| 29 |
+
Contributions. We propose a framework of using causal knowledge for fair synthetic data generation. We make three main contributions: i) DECAF, a causal GAN-based model for generating synthetic data, ii) a flexible causal approach for modifying this model such that it can generate fair data, and iii) guarantees that downstream models trained on the synthetic data will also give fair predictions in other settings. Experimentally, we show how DECAF is compatible with several fairness/discrimination definitions used in literature while still maintaining high downstream utility of generated data.
|
| 30 |
+
|
| 31 |
+
# 2 Related Works
|
| 32 |
+
|
| 33 |
+
Here we focus on the related work concerned with data generation, in contrast to fairness definitions for which we provide a detailed overview in Section 4 and Appendix C. As an overview of how data generation methods relate to one another, we refer to Table 1 which presents all relevant related methods.
|
| 34 |
+
|
| 35 |
+
Non-parametric generative modeling. The standard models for synthetic data generation are either based on VAEs [19] or GANs [2, 3, 20, 21]. While these models are well known for their highly realistic synthetic data, they are unable to alter the synthetic data distribution to encourage fairness (except for [17, 23], discussed below). Furthermore, these methods have no causal notion, which prohibits targeted interventions for synthesizing fair data (Section 4). We explicitly leave out CausalGAN [24] and CausalVAE [25], which appear similar by incorporating causality-derived ideas but are different in both method and aim (i.e., image generation).
|
| 36 |
+
|
| 37 |
+
Fair data generation. In the bottom section of Table 1, we present methods that, in some way, alter the training data of classifiers to adhere to a notion of fairness [10, 11, 16, 17, 22, 23]. While these methods have proven successful, they lack some important features. For example, none of the related methods allow for post-hoc changes of the synthetic data distribution. This is an important feature, as each situation requires a different perspective on fairness and thus requires a flexible framework for selecting protected variables. Additionally, only [11, 23] allow a causal perspective on fairness, despite causal notions underlying multiple interpretations of what should be considered fair [13]. Furthermore, only [17, 22, 23] offer a flexible framework, while the others are limited to binary [10, 11] or discrete [16] settings. Xu et al. [23] also use a causal architecture for the generator, however their method is not as flexible—e.g. it does not easily extend to multiple protected attributes. Finally, in contrast to other methods DECAF is directly concerned with fairness of the downstream model—which is dependent on the setting in which the downstream model is employed (Section 4.2). In essence, from Table 1 we learn that DECAF is the only method that combines all key areas of interest. At last, we would like to mention [26], who aim to generate data that resembles a small unbiased reference dataset, by leveraging a large but biased dataset. This is very different to our aim, as we are interested in the downstream model’s fairness and explicit notions of fairness.
|
| 38 |
+
|
| 39 |
+
# 3 Preliminaries
|
| 40 |
+
|
| 41 |
+
Let $X \in \mathcal { X } \subseteq \mathbb { R } ^ { d }$ denote a random variable with distribution $P _ { X } ( X )$ , with protected attributes $A \in { \mathcal { A } } \subset { \mathcal { X } }$ and target variable $Y \in \mathcal { y } \subset \mathcal { x }$ , let $\hat { Y }$ denote a prediction of $Y$ . Let the data be given by $\mathcal { D } = \{ \mathbf { x } ^ { ( k ) } \} _ { k = 1 } ^ { N }$ , where each $\mathbf { x } ^ { ( k ) } \in \mathcal { D }$ is a realization of $X$ . We assume the data generating process can be represented by a directed acyclic graph (DAG)—such that the generation of features can be written as a structural equation model (SEM) [27]—and that this DAG is causally sufficient. Let $X _ { i }$ denote the $i ^ { \mathrm { { t h } } }$ feature in $X$ with causal parents $\operatorname { P a } ( X _ { i } ) \subset \{ X _ { j } : j \neq i \}$ , the SEM is given by:
|
| 42 |
+
|
| 43 |
+
$$
|
| 44 |
+
X _ { i } = f _ { i } ( \operatorname { P a } ( X _ { i } ) , Z _ { i } ) , \forall i
|
| 45 |
+
$$
|
| 46 |
+
|
| 47 |
+
where $\{ Z _ { i } \} _ { i = 1 } ^ { d }$ are independent random noise variables, that is $\mathrm { P a } ( Z _ { i } ) = \emptyset$ , ∀i. Note that each $f _ { i }$ is a deterministic function that places all randomness of the conditional $P ( X _ { i } | \operatorname* { P a } ( X _ { i } ) )$ in the respective noise variable, $Z _ { i }$ .
|
| 48 |
+
|
| 49 |
+
# 4 Fairness of Synthetic Data
|
| 50 |
+
|
| 51 |
+
Algorithmic fairness is a popular topic (e.g., see [13, 28]), but fair synthetic data has been much less explored. This section highlights how the underlying graphs of the synthetic and downstream data determine whether a model trained on the synthetic data will be fair in practice. We start with the two most popular definitions of fairness, relating to the legal concepts of direct and indirect discrimination. We also explore conditional fairness [29], which is a generalization of the two. In Appendix C we discuss how the ideas in this section transfer to other independence-based definitions [30]. Throughout this section, we separate $Y$ from $X$ by defining ${ \bar { X } } { \stackrel { \cdot } { = } } X \backslash Y$ , and we will write $X { \bar { X } }$ for ease of notation.
|
| 52 |
+
|
| 53 |
+
# 4.1 Algorithmic fairness
|
| 54 |
+
|
| 55 |
+
The first definition is called Fairness Through Unawareness (e.g. [31]).
|
| 56 |
+
|
| 57 |
+
Definition 1. (Fairness Through Unawareness (FTU): algorithm). A predictor $f : X \mapsto { \hat { Y } }$ is fair iff protected attributes $A$ are not explicitly used by $f$ to predict $\hat { Y }$ .
|
| 58 |
+
|
| 59 |
+
This definition prohibits disparate treatment [28, 32], and is related to the legal concept of direct discrimination, i.e., two equally qualified people deserve the same job opportunity independent of their race, gender, beliefs, among others.
|
| 60 |
+
|
| 61 |
+
Though FTU fairness is commonly used, it might result in indirect discrimination: covariates that influence the prediction $\hat { Y }$ might not be identically distributed across different groups $a , a ^ { \prime }$ , which means an algorithm might have disparate impact on a protected group [10]. The second definition of fairness, demographic parity [32], does not allow this:
|
| 62 |
+
|
| 63 |
+
Definition 2. (Demographic Parity $( D P )$ : algorithm) $A$ predictor $\hat { Y }$ is fair iff $A \perp \perp { \hat { Y } }$ , i.e. $\forall a , a ^ { \prime }$
|
| 64 |
+
$P ( \hat { Y } | A = a ) = P ( \hat { Y } | A = a ^ { \prime } )$ .
|
| 65 |
+
|
| 66 |
+
Evidently, DP puts stringent constraints on the algorithm, whereas FTU might be too lenient. The third definition we include is based on the work of [29], related to unresolved discrimination [14]. The idea is that we do not allow indirect discrimination unless it runs through explanatory factors $R \subset X$ . For example, in Simpson’s paradox [33] there seems to be a bias between gender and college admissions, but this is only due to women applying to more competitive courses. In this case, one would want to regard fairness conditioned on the choice of study [14]. Let us define this as conditional fairness:
|
| 67 |
+
|
| 68 |
+
Definition 3. (Conditional Fairness $( C F )$ : algorithm) $A$ predictor $\hat { Y }$ is fair iff $A \perp \perp { \hat { Y } } | R ,$ , i.e.
|
| 69 |
+
$\forall r , a , a ^ { \prime } : P ( \hat { Y } | R = r , A = a ) = P ( \hat { Y } | R = r , A = a ^ { \prime } )$ .
|
| 70 |
+
|
| 71 |
+
CF generalizes FTU and DP Note that conditional fairness is a generalization of FTU and DP, by setting $R = X \backslash A$ and $R = \emptyset$ , respectively. In Appendix $\textrm { C }$ we elaborate on the connection between these, and more, definitions.
|
| 72 |
+
|
| 73 |
+
# 4.2 Synthetic data fairness
|
| 74 |
+
|
| 75 |
+
Algorithmic definitions can be extended to distributional fairness for synthetic data. Let $P ( X ) , P ^ { \prime } ( X )$ be probability distributions with protected attributes $A \subset X$ and labels $Y \subset X$ . Let ${ \mathcal { T } } ( A , Y )$ be a definition of algorithmic fairness (e.g., FTU). Note, that under CF, ${ \mathcal { T } } ( A , Y )$ is a function of $R$ as well. We propose $( { \mathcal { T } } ( A , Y ) , P )$ -fairness of distribution $P ^ { \prime } ( X )$ :
|
| 76 |
+
|
| 77 |
+
Definition 4. (Distributional fairness) $A$ probability distribution $P ^ { \prime } ( X )$ is $( { \mathcal { T } } ( A , Y ) , P )$ -fair, iff the optimal predictor $\hat { Y } = f ^ { * } ( X )$ of $Y$ trained on $P ^ { \prime } ( X )$ satisfies ${ \mathcal { T } } ( A , Y )$ when evaluated on $P ( X )$ .
|
| 78 |
+
|
| 79 |
+
In other words, when we train a predictor on $( { \mathcal { T } } ( A , Y ) , P )$ -fair distribution $P ^ { \prime } ( X )$ , we can only reach maximum performance if our model is fair. Note the explicit reference to $P ( X )$ , the distribution on which fairness is evaluated, which does not need to coincide with $P ^ { \prime } ( X )$ . This is a small but relevant detail. For example, when training a model on data ${ \mathcal { D } } ^ { \prime } \sim P ^ { \prime } ( X )$ it could seem like the model is fair when we evaluate it on a hold-out set of the data (e.g., if we simply remove the protected attribute from the data). However, when we use the model for real-world predictions of data ${ \mathcal { D } } \sim P ( X )$ , disparate impact is possibly observed due to a distributional shift.
|
| 80 |
+
|
| 81 |
+
By extension, we define synthetic data as $( { \mathcal { T } } ( A , Y ) , P )$ -fair, iff it is sampled from an $( { \mathcal { T } } ( A , Y ) , P )$ - fair distribution. Defining synthetic data as fair w.r.t. an optimal predictor is especially useful when we want to publish a dataset and do not trust end-users to consider anything but performance.2
|
| 82 |
+
|
| 83 |
+
Choosing $\mathbf { P } ( \mathbf { X } )$ . The setting $P ( X ) = P ^ { \prime } ( X )$ corresponds to data being fair with respect to itself. For synthetic data generation, this setting is uninteresting as any dataset can be made fair by randomly sampling or removing $A$ ; if $A$ is random, the prediction should not directly or indirectly depend on it. This ignores, however, that a downstream user might use the trained model on a real-world dataset in which other variables $B$ are correlated with $A$ , and thus their model (which is trained to use $B$ for predicting $Y$ ) will be biased. Of specific interest is the setting where $P ( X )$ corresponds to the original data distribution $P _ { X } ( X )$ that contains unfairness. In this scenario, we construct $P ^ { \prime } ( X )$ by learning $P _ { X } ( X )$ and removing the unfair characteristics. The data from $P ^ { \prime } ( X )$ can be published online, and models trained on this data can be deployed fairly in real-life scenarios where data follows $P _ { X } ( X )$ . Unless otherwise stated, henceforth, we assume ${ \dot { P } } ( X ) = P _ { X } ( X )$ .
|
| 84 |
+
|
| 85 |
+
# 4.3 Graphical perspective
|
| 86 |
+
|
| 87 |
+
As reflected in the widely accepted terms direct versus indirect discrimination, it is natural to define distributional fairness from a causal standpoint. Let $\mathcal { G } ^ { \prime }$ and $\mathcal { G }$ respectively denote the graphs underlying $P ^ { \prime } ( X )$ (the synthetic data distribution which we can control) and $P ( X )$ (the evaluation distribution that we cannot control). Let $\partial _ { \mathcal { G } } Y$ denote the Markov boundary of $Y$ in graph $\mathcal { G }$ . We focus on the conditional fairness definition because it subsumes the definition of DP and FTU (Section 4.1). Let $R \subset X$ be the set of explanatory features.
|
| 88 |
+
|
| 89 |
+
Proposition 1. ( $C F .$ : graphical condition) If for all $B \in \partial _ { \mathcal { G } ^ { \prime } } Y , A \bot \bot _ { \mathcal { G } } B | R , ^ { 3 }$ then distribution $P ^ { \prime } ( X )$ is $C F$ fair w.r.t $P ( X )$ given explanatory factors $R$ .
|
| 90 |
+
|
| 91 |
+
Proof. Without loss of generality, let us assume the label is binary.4 The optimal predictor $f ^ { * } ( X ) =$ $P ( Y | X ) = P ( Y | \partial _ { \mathcal { G } ^ { \prime } } Y )$ . Thus, if $\partial _ { \mathscr { G } ^ { \prime } } Y$ is ${ \mathrm { d } }$ -separated from $A$ in $\mathcal { G }$ given $R$ , prediction $\hat { Y } = f ^ { * } ( X )$ is independent of $A$ given $R$ and CF holds. □
|
| 92 |
+
|
| 93 |
+
Corollary 1. (CF debiasing) Any distribution $P ^ { \prime } ( X )$ with graph $\mathcal { G } ^ { \prime }$ can be made CF fair w.r.t. $P ( X )$ and explanatory features $R$ by removing from $\mathcal { G } ^ { \prime }$ edges $\tilde { E } = \{ ( B \to Y )$ and $( Y \to B ) : \forall B \in \partial _ { \mathcal { G } ^ { \prime } } Y$ with $B$ 6⊥⊥ $_ { \cdot g } \ A | R \}$ .
|
| 94 |
+
|
| 95 |
+
Proof. First note $\tilde { E }$ is the necessary and sufficient set of edges to remove for $\forall B \in \partial _ { \mathcal { G } ^ { \prime } } Y$ , $A$ ⊥⊥ $\mathcal { G }$ $| B | R )$ to be true, subsequently the result follows from Proposition 1. □
|
| 96 |
+
|
| 97 |
+
For FTU (i.e. $R = X \backslash A )$ and DP (i.e. $R = \emptyset$ ), this corollary simplifies to:
|
| 98 |
+
|
| 99 |
+
Corollary 2. (FTU debiasing) Any distribution $P ^ { \prime } ( X )$ with graph $\mathcal { G } ^ { \prime }$ can be made FTU fair w.r.t. any distribution $P ( X )$ by removing, if present, i) the edge between $A$ and $Y$ and $i i$ ) the edge $A C$ or $Y C$ for all shared children $C$ .
|
| 100 |
+
|
| 101 |
+
Corollary 3. (DP debiasing) Any distribution $P ^ { \prime } ( X )$ with graph $\mathcal { G } ^ { \prime }$ can be made $D P$ fair w.r.t. $P ( X )$ by removing, if present, the edge between $B$ and $Y$ for any $B \in \partial _ { \mathcal { G } ^ { \prime } } Y$ with $B$ 6⊥⊥ $_ { \textit { g A } }$ .
|
| 102 |
+
|
| 103 |
+

|
| 104 |
+
Figure 1: Edge removal for fairness. FTU: $\pmb { \chi }$ ; DP: ✗✗✗; CF when $R = C$ : $\boldsymbol { x }$ ; CF when $B \in R$ : $\boldsymbol { \chi }$
|
| 105 |
+
|
| 106 |
+
Figure 1 shows how the different fairness definitions lead to different sets of edges to be removed.
|
| 107 |
+
|
| 108 |
+
Faithfulness. Usually one assumes distributions are faithful w.r.t. their respective graphs, in which case the if-statement in Proposition 1 become equivalence statements: fairness is only possible when the graphical conditions hold.
|
| 109 |
+
|
| 110 |
+
Theorem 1. If $P ( X )$ and $P ^ { \prime } ( X )$ are faithful with respect to their respective graphs $\mathcal { G }$ and $\mathcal { G } ^ { \prime }$ , then Proposition $\boldsymbol { l }$ becomes an equivalence statement and Corollaries 1, 2 and 3 describe the necessary and sufficient sets of edges to remove for achieving CF, FTU and DP fairness, respectively.
|
| 111 |
+
|
| 112 |
+
Proof. Faithfulness implies $A$ ⊥⊥ $P ( X ) ~ B | R \implies A$ ⊥⊥ $_ { \cdot \mathcal { G } } \ B | R$ , e.g. [34]. Thus, if $\exists B \in \partial _ { \mathcal { G } ^ { \prime } } Y$ for which $A$ 6⊥⊥ $_ { \textit { g B } | R }$ , then $A$ 6⊥⊥ $| B | R$ . Because $B \in \partial _ { \mathcal { G } ^ { \prime } } Y$ and $P ^ { \prime } ( X )$ is faithful to $\mathcal { G } ^ { \prime }$ , $\hat { Y } = f ^ { * } ( X )$ depends on $B$ , and thus $\hat { Y }$ 6⊥⊥ $A | R$ : CF does not hold. □
|
| 113 |
+
|
| 114 |
+
Other definitions. Some authors define similar fairness measures in terms of directed paths (cf.
|
| 115 |
+
d-separation) [11, 14, 18], which is a milder requirement as it allows correlation via non-causal paths.
|
| 116 |
+
In Appendix C we highlight the graphical conditions for these definitions.
|
| 117 |
+
|
| 118 |
+
# 5 Method: DECAF
|
| 119 |
+
|
| 120 |
+
The primary design goal of DECAF is to generate fair synthetic data from unfair data. We separate DECAF into two stages. The training stage learns the causal conditionals that are observed in the data through a causally-informed GAN. At the generation (inference) stage, we intervene on the learned conditionals via Corollaries 1-3, in such a way that the generator creates fair data. We assume the underlying DGP’s graph $\mathcal { G }$ is known; otherwise, $\mathcal { G }$ needs to be approximated first using any causal discovery method, see Section 6.
|
| 121 |
+
|
| 122 |
+
# 5.1 Training
|
| 123 |
+
|
| 124 |
+
Overview. This stage strives to learn the causal mechanisms $\{ f _ { i } ( \mathrm { P a } ( X _ { i } ) , Z _ { i } ) \}$ . Each structural equation $f _ { i }$ (Eq. 1) is modelled by a separate generator $G _ { i } : \mathbb { R } ^ { | P a ( X _ { i } ) | + 1 } \mathbb { R }$ . We achieve this by employing a conditional GAN framework with a causal generator. This process is illustrated in Figure 2 and detailed below.
|
| 125 |
+
|
| 126 |
+

|
| 127 |
+
Figure 2: Architecture. Training phase— Each component in $\hat { \bf X }$ is generated sequentially as a function (where the function is that component’s generator $G _ { i }$ ) of the component’s parents. Parental knowledge is provided by the DAG governing the data. Inference phase— As the component-wise generation of the generator network is independent of the DAG governing the data, we can easily replace (or intervene on) the DAG governing parental information. The resulting synthetic data (right) will be governed by the intervened DAG. FTU is achieved by removing: ✗; $D P$ : ✗✗✗; e.g. CF when $R = C$ : $x x$ .
|
| 128 |
+
|
| 129 |
+
Features are generated sequentially following the topological ordering of the underlying causal DAG: first root nodes are generated, then their children (from generated causal parents), etc. Variable ${ \hat { X } } _ { i }$ is modelled by the associated generator $G _ { i }$ :
|
| 130 |
+
|
| 131 |
+
$$
|
| 132 |
+
\hat { X _ { i } } = G _ { i } ( \hat { \mathrm { P a } } ( X _ { i } ) , Z _ { i } ) \quad \forall i ,
|
| 133 |
+
$$
|
| 134 |
+
|
| 135 |
+
where $\hat { \operatorname { P a } } ( X _ { i } )$ denotes the generated causal parents of $X _ { i }$ (for root nodes the empty set), and each $Z _ { i }$ is independently sampled from $P ( Z )$ (e.g. standard Gaussian). We denote the full sequential generator by $G ( Z ) = [ G _ { 1 } ( Z _ { 1 } ) , . . . , G _ { d } ( \cdot , Z _ { d } ) ]$ .
|
| 136 |
+
|
| 137 |
+
Subsequently, the synthetic sample $\hat { \bf x }$ is passed to a discriminator $D : \mathbb { R } ^ { d } \mathbb { R }$ , which is trained to distinguish the generated samples from original samples. A typical minimax objective is employed for creating generated samples that confuse the discriminator most:
|
| 138 |
+
|
| 139 |
+
$$
|
| 140 |
+
\operatorname* { m a x } _ { \{ G _ { i } \} _ { i = 1 } ^ { d } } \operatorname* { m i n } _ { D } \mathbb { E } [ \log D ( G ( Z ) ) + \log ( 1 - D ( X ) ] ,
|
| 141 |
+
$$
|
| 142 |
+
|
| 143 |
+
with $X$ sampled from the original data. We optimize the discriminator and generator iteratively and add a regularization loss to both networks. Network parameters are updated using gradient descent.
|
| 144 |
+
|
| 145 |
+
If we assume $P _ { X } ( X )$ is compatible with graph $\mathcal { G }$ , we can show that the sequential generator has the same theoretical convergence guarantees as standard GANs [20]:
|
| 146 |
+
|
| 147 |
+
Theorem 2. (Convergence guarantee) Assuming the following three conditions hold:
|
| 148 |
+
|
| 149 |
+
(i) data generating distribution $P _ { X }$ is Markov compatible with a known DAG $\mathcal { G }$ ;
|
| 150 |
+
|
| 151 |
+
(ii) generator $G$ and discriminator $D$ have enough capacity; and (iii) in every training step the discriminator is trained to optimality given fixed $G$ , and $G$ is subsequently updated as to maximize the discriminator loss (Eq. 3);
|
| 152 |
+
|
| 153 |
+
then generator distribution $P _ { G }$ converges to true data distribution $P _ { X }$
|
| 154 |
+
|
| 155 |
+
Proof. See Appendix B
|
| 156 |
+
|
| 157 |
+
Condition (i), compatibility with $\mathcal { G }$ , is a weaker assumption than assuming perfect causal knowledge. For example, suppose the Markov equivalence class of the true underlying DAG has been determined through causal discovery. In that case, any graph $\mathcal { G }$ in the equivalence class is compatible with the data and can thus be used for synthetic data generation. However, we note that debiasing can require the correct directionality for some definitions of fairness, see Discussion.
|
| 158 |
+
|
| 159 |
+
Remark. The causal GAN we propose, DECAF, is simple and extendable to other generative methods, e.g., VAEs. Furthermore, from the post-processing theorem [35] it follows that DECAF can be directly used for generating private synthetic data by replacing the standard discriminator by a differentially private discriminator [2, 36].
|
| 160 |
+
|
| 161 |
+
# 5.2 Inference-time Debiasing
|
| 162 |
+
|
| 163 |
+
The training phase yields conditional generators $\{ G _ { i } \} _ { i = 1 } ^ { d }$ , which can be sequentially applied to generate data with the same output distribution as the original data (proof in Appendix B). The causal model allows us to go one step further: when the original data has characteristics that we do not want to propagate to the synthetic data (e.g., gender bias), individual generators can be modified to remove these characteristics. Given the generator’s graph $\mathcal { G } = ( \boldsymbol { X } , \mathbf { \bar { E } } )$ , fairness is achieved by removing edges such that the fairness criteria are met, see Section 4. Let $\tilde { E } \in E$ be the set of edges to remove for satisfying the required fairness definition. For CF, FTU and DP,5 the sets $\tilde { E }$ are given by Corollaries 1, 2 and 3, respectively.
|
| 164 |
+
|
| 165 |
+
Removing an edge constitutes to what we call a “surrogate” $d o$ -operation [27] on the conditional distribution. For example, suppose we only want to remove $( i j )$ ). For a given sample, $X _ { i }$ is generated normally (Eq. 2), but $X _ { j }$ is generated using the modified:
|
| 166 |
+
|
| 167 |
+
$$
|
| 168 |
+
\hat { X } _ { j } ^ { d o ( X _ { i } ) = \tilde { x } _ { i j } } = G _ { j } ( . . . , X _ { i } = \tilde { x } _ { i j } ) ,
|
| 169 |
+
$$
|
| 170 |
+
|
| 171 |
+
where $X _ { i } ~ = ~ \tilde { x } _ { i j }$ is the surrogate parent assignment. Value ${ \hat { X } } _ { j } ^ { d o ( X _ { i } ) }$ can be interpreted as the counterfactual value of $\hat { X _ { j } }$ , had $X _ { i }$ been equal to $\tilde { x } _ { i j }$ (see also [15]).
|
| 172 |
+
|
| 173 |
+
Choosing the value of surrogate variable $\tilde { x } _ { i j }$ requires background knowledge of the task and bias at hand. For example, surrogate variable $\tilde { x } _ { i j }$ can be sampled independently from a distribution for each synthetic sample (e.g., the marginal $P ( { \bar { X } } _ { i } ) )$ , be set to a fixed value for all samples in the synthetic data (e.g., if $X _ { i }$ : gender, always set $\tilde { x } _ { i j } = m a l e$ when generating feature $X _ { j }$ : job opportunity) or be chosen as to maximize/minimize some feature (e.g. $\begin{array} { r } { \tilde { x } _ { i j } = \arg \operatorname* { m a x } _ { x } \hat { X } _ { j } ^ { d o ( X _ { i } ) = x } ) } \end{array}$ . We emphasize that we do not set $X _ { i } = \tilde { x } _ { i j }$ in the synthetic sample; $X _ { i } = \tilde { x } _ { i j }$ is only used for substitution of the removed dependence. We provide more details in Appendix E.
|
| 174 |
+
|
| 175 |
+
More generally, we create surrogate variables for all edges we remove, $\{ \tilde { x } _ { i j } : ( i j ) \in \tilde { E } \}$ . Each sample is sequentially generated by Eq. 4, with a surrogate variable for each removed incoming edge.
|
| 176 |
+
|
| 177 |
+
Remark. Multiple datasets can be created based on different definitions of fairness and/or different downstream prediction targets. Because debiasing happens at inference-time, this does not require retraining the model.
|
| 178 |
+
|
| 179 |
+
# 6 Experiments
|
| 180 |
+
|
| 181 |
+
In this section, we validate the performance of DECAF for synthesizing bias-free data based on two datasets: i) real data with existing bias and ii) real data with synthetically injected bias. The aim of the former is to show that we can remove real, existing bias. The latter experiment provides a ground-truth unbiased target distribution, which means we can evaluate the quality of the synthetic dataset with respect to this ground truth. For example, when historically biased data is first debiased, a model trained on the synthetic data will likely create better predictions in contemporary, unbiased/less-biased settings than benchmarks that do not debias first.
|
| 182 |
+
|
| 183 |
+
In both experiments, the ground-truth DAG is unknown. We use causal discovery to uncover the underlying DAG and show empirically that the performance is still good.
|
| 184 |
+
|
| 185 |
+
Benchmarks. We compare DECAF against the following benchmark generative methods: a GAN, a Wasserstein GAN with gradient penalty (WGAN-GP) [21] and FairGAN [17]. FairGAN is the only benchmark designed to generate synthetic fair data,6 whereas GAN and WGAN-GP only aim to match the original data’s distribution, regardless of inherent underlying bias. For these benchmarks, fair data can be generated by naively removing the protected variable – we refer to these methods with the PR (protected removal) suffix and provide more experimental results and insight into PR in Appendix A. We benchmark DECAF debiasing in four ways: i) with no inference-time debiasing (DECAF-ND), ii) under FTU (DECAF-FTU), iii) under CF (DECAF-CF) and iv) under DP fairness (DECAF-DP). We provide $\mathrm { D E C A F ^ { 7 } }$ implementation details in Appendix D.1.
|
| 186 |
+
|
| 187 |
+
Table 2: Bias removal experiment on the Adult dataset [40]. The full table with protected attribute removal can be found in Appendix A.
|
| 188 |
+
|
| 189 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">Data Quality</td><td colspan="2">Fairness</td></tr><tr><td>Precision↑</td><td>Recall↑</td><td>AUROC↑</td><td>FTU↓</td><td>DP↓</td></tr><tr><td>Original data D</td><td>0.920±0.006</td><td>0.936 ±0.008</td><td>0.807 ± 0.004</td><td>0.116 ± 0.028</td><td>0.180 ± 0.010</td></tr><tr><td>GAN</td><td>0.607 ± 0.080</td><td>0.439±0.037</td><td>0.567 ± 0.132</td><td>0.023 ± 0.010</td><td>0.089 ± 0.008</td></tr><tr><td>WGAN-GP</td><td>0.683 ± 0.015</td><td>0.914 ± 0.005</td><td>0.798 ± 0.009</td><td>0.120 ± 0.014</td><td>0.189 ±0.024</td></tr><tr><td>FairGAN</td><td>0.681 ± 0.023</td><td>0.814 ± 0.079</td><td>0.766 ± 0.029</td><td>0.009±0.002</td><td>0.097 ± 0.018</td></tr><tr><td>DECAF-ND</td><td>0.780 ±0.023</td><td>0.920 ± 0.045</td><td>0.781 ± 0.007</td><td>0.152 ± 0.013</td><td>0.198 ± 0.013</td></tr><tr><td>DECAF-FTU</td><td>0.763 ± 0.033</td><td>0.925 ± 0.040</td><td>0.765 ± 0.010</td><td>0.004±0.004</td><td>0.054±0.005</td></tr><tr><td>DECAF-CF</td><td>0.743 ± 0.022</td><td>0.875 ± 0.038</td><td>0.769 ± 0.004</td><td>0.003 ±0.006</td><td>0.039 ± 0.011</td></tr><tr><td>DECAF-DP</td><td>0.781± 0.018</td><td>0.881±0.050</td><td>0.672 ± 0.014</td><td>0.001± 0.002</td><td>0.001 ± 0.001</td></tr></table>
|
| 190 |
+
|
| 191 |
+
Evaluation criteria. We evaluate DECAF using the following metrics:
|
| 192 |
+
|
| 193 |
+
• Data quality is assessed using metrics of precision and recall [37, 38, 39]. Additionally, we evaluate all methods in terms of AUROC of predicting the target variable using a downstream classifier (MLP in these experiments) trained on synthetic data.
|
| 194 |
+
• FTU is measured by calculating the difference between the predictions of a downstream classifier for setting $A$ to 1 and 0, respectively, such that $| \bar { P } _ { A = 0 } ( \hat { Y } | X ) - P _ { A = 1 } ( \hat { Y } | X ) |$ , while keeping all other features the same. This difference measures the direct influence of $A$ on the prediction.
|
| 195 |
+
• DP is measured in terms of the Total Variation [15]: the difference between the predictions of a downstream classifier in terms of positive to negative ratio between the different classes of protected variable $A$ , i.e., $| P ( \hat { Y } | A = 0 ) - P ( \hat { Y } | A = 1 ) |$ .
|
| 196 |
+
|
| 197 |
+
# 6.1 Debiasing Census Data
|
| 198 |
+
|
| 199 |
+
In this experiment, we are given a biased dataset ${ \mathcal { D } } \sim P ( X )$ and wish to create a synthetic (and debiased) dataset $\mathcal { D } ^ { \prime }$ , with which a downstream classifier can be trained and subsequently be rolled out in a setting with distribution $P ( X )$ . We experiment on the Adult dataset [40], with known bias between gender and income [10, 11]. The Adult dataset contains over 65,000 samples and has 11 attributes, such as age, education, gender, income, among others. Following [11], we treat gender as the protected variable and use income as the binary target variable representing whether a person earns over $\$ 50 K$ or not. For DAG $\mathcal { G }$ , we use the graph discovered and presented by Zhang et al. [11]. In Appendix D.2, we specify edge removals for DECAF-DP, DECAF-CF, and DECAF-FTU.
|
| 200 |
+
|
| 201 |
+
Synthetic data is generated using each benchmark method, after which a separate MLP is trained on each dataset for computing the metrics; see Appendix D.2 for details. We repeat this experiment 10 times for each benchmark method and report the average in Table 2. As shown, DECAF-ND (no debiasing) performs amongst the best methods in terms of data utility. Because the data utility in this experiment is measured with respect to the original (biased) dataset, we see that the methods DECAF-FTU, DECAF-CF, and DECAF-DP score lower than DECAF-ND because these methods distort the distribution – with DECAF-DP distorting the label’s conditional distribution most and thus scoring worst in terms of AUROC. Note also that a downstream user who is only focused on performance would choose the synthetic data from WGAN-GP or DECAF-ND, which are also the most biased methods. Thus, we see that there is a trade-off between fairness and data utility when the evaluation distribution $P ( X )$ is the original biased data.
|
| 202 |
+
|
| 203 |
+
# 6.2 Fair Credit Approval
|
| 204 |
+
|
| 205 |
+
In this experiment, direct bias, which was not previously present, is synthetically injected into a dataset $\mathcal { D }$ resulting in a biased dataset $\tilde { \mathcal { D } }$ . We show how DECAF can remove the injected bias, resulting in dataset $\mathcal { D } ^ { \prime }$ that can be used to train a downstream classifier. This is a relevant scenario if the training data $\tilde { D }$ does not follow real-world distribution $P ( X )$ , but instead a biased distribution ${ \tilde { P } } ( X )$ (due to, e.g., historical bias). In this case, we want downstream models trained on synthetic data $\mathcal { D } ^ { \prime }$ to perform well on the real-world data $\mathcal { D }$ instead of $\tilde { \mathcal { D } }$ . We show that DECAF is successful at removing the bias and how this results in higher data utility than benchmarks methods trained on $\tilde { D }$ .
|
| 206 |
+
|
| 207 |
+

|
| 208 |
+
Figure 3: Plot of precision (a), recall (b), AUROC (c), FTU (d), and DP (e) over bias strength $\beta$ . FairGAN performs similarly in terms of DP and FTU, but DECAF-FTU and DECAF-DP have significantly better data quality as well as down stream prediction capability (AUROC).
|
| 209 |
+
|
| 210 |
+
We use the Credit Approval dataset from [40], with graph $\mathcal { G }$ as discovered by the causal discovery algorithm FGES [41] using Tetrad [42] (details in Appendix D.3). We inject direct bias by decreasing the probability that a sample will have their credit approved based on the chosen $A$ .8 The credit_approval for this population was synthetically denied (set to 0) with some bias probability $\beta$ , adding a directed edge between label and protected attribute.
|
| 211 |
+
|
| 212 |
+
In Figure 3, we show the results of running our experiment 10 times over various bias probabilities $\beta$ We benchmark against FairGAN, as it is the only benchmark designed for synthetic debiased data. Note that in this case, the causal DAG has only one indirect biased edge between the protected variable (see Appendix D), and thus DECAF-DP and DECAF-CF remove the same edges and are the same for this experiment. The plots show that DECAF-FTU and DECAF-DP have similar performance to FairGAN in terms of debiasing; however, all of the DECAF-\* methods have significantly better data quality metrics: precision, recall, and AUROC. DECAF-DP is one of the best performers across all 5 of the evaluation metrics and has better DP performance under higher bias. As expected, DECAF-ND (no debiasing) has the same data quality performance in terms of precision and recall as DECAF-FTU and DECAF-DP and has diminishing performance in terms of downstream AUROC, FTU, and DP as bias strength increases. See Appendix D for other benchmarks, and the same experiment under hidden confounding in Appendix G.
|
| 213 |
+
|
| 214 |
+
# 7 Discussion
|
| 215 |
+
|
| 216 |
+
We have proposed DECAF, a causally-aware GAN that generates fair synthetic data. DECAF’s sequential generation provides a natural way of removing these edges, with the advantage that the conditional generation of other features is left unaltered. We demonstrated on real datasets that the DECAF framework is both versatile and compatible with several popular definitions of fairness. Lastly, we provided theoretical guarantees on the generator’s convergence and fairness of downstream models. We next discuss limitations as well as applications and opportunities for future work.
|
| 217 |
+
|
| 218 |
+
Definitions. DECAF achieves fairness by removing edges between features, as we have shown for the popular FTU and DP definitions. Other independence-based [30] fairness definitions can be achieved by DECAF too, as we show in Appendix C. Just like related debiasing works [10, 11, 16, 17], DECAF is not compatible with fairness definitions based on separation or sufficiency [30], as these definitions depend on the downstream model more explicitly (e.g. Equality of Opportunity [12]). More on this in Appendix C.
|
| 219 |
+
|
| 220 |
+
Incorrect DAG specification. Our method relies on the provision of causal structure in the form of a DAG for i) deciding the sequential order of feature generation and ii) deciding which edges to remove to achieve fairness. This graph need not be known a priori and can be discovered instead. If discovered, the DAG needs not equal the true DAG for many definitions of fairness, including FTU and DP, but only some (in)dependence statements are required to be correct (see Proposition 1). This is shown in the Experiments, where the DAG was discovered with the PC algorithm [47] and TETRAD [42]. Furthermore, in Appendix B we prove that the causal generator converges to the right distribution for any graph that is Markov compatible with the data. We reiterate, however, that knowing (part of) the true graph is still helpful because i) it often leads to simpler functions $\{ f _ { i } \} _ { i = 1 } ^ { d }$ to approximate,9 and ii) some causal fairness definitions do require correct directionality—see Appendix
|
| 221 |
+
|
| 222 |
+
C. In Appendix F, we include an ablation study on how errors in the DAG specification affect data quality and downstream fairness.
|
| 223 |
+
|
| 224 |
+
Causal sufficiency. We have focused on just one type of graph: causally-sufficient directed graphs. Extending this to undirected or mixed graphs is possible as long as the generation order reflects a valid factorization of the observed distribution. This includes settings with hidden confounders. We note that for some definitions of bias, e.g., counterfactual bias, directionality is essential and hidden confounders would need to be corrected for (which is not generally possible).
|
| 225 |
+
|
| 226 |
+
Time-series. We have focused on the tabular domain. The method can be extended to other domains with causal interaction between features, e.g., time-series. Application to image data is non-trivial, partly because, in this instance, the protected attribute (e.g., skin color) does not correspond to a single observed feature. DECAF might be extended to this setting in the future by first constructing a graph in a disentangled latent space (e.g., [24, 25]).
|
| 227 |
+
|
| 228 |
+
Social implications. Fairness is task and context-dependent, requiring careful public debate. With that being said, DECAF empowers data issuers to take responsibility for downstream model fairness. We hope that this progresses the ubiquity of fairness in machine learning.
|
| 229 |
+
|
| 230 |
+
# Acknowledgements
|
| 231 |
+
|
| 232 |
+
We would like to thank the reviewers for their time and valuable feedback. This research was funded by the Office of Naval Research and the WD Armstrong Trust.
|
| 233 |
+
|
| 234 |
+
# References
|
| 235 |
+
|
| 236 |
+
[1] Ahmed M Alaa, Boris van Breugel, Evgeny Saveliev, and Mihaela van der Schaar. How faithful is your synthetic data? sample-level metrics for evaluating and auditing generative models. arXiv preprint arXiv:2102.08921, 2021.
|
| 237 |
+
[2] Liyang Xie, Kaixiang Lin, Shu Wang, Fei Wang, and Jiayu Zhou. Differentially private generative adversarial network. CoRR, abs/1802.06739, 2018. URL http://arxiv.org/ abs/1802.06739.
|
| 238 |
+
[3] Jinsung Yoon, L. Drumright, and M. van der Schaar. Anonymization through data synthesis using generative adversarial networks (ads-gan). IEEE Journal of Biomedical and Health Informatics, 24:2378–2388, 2020.
|
| 239 |
+
[4] Jason Tashea. Courts are using ai to sentence criminals. that must stop now. WIRED, Apr 2017. URL https://www.wired.com/2017/04/ courts-using-ai-sentence-criminals-must-stop-now/.
|
| 240 |
+
[5] Jeffrey Dastin. Amazon scraps secret AI recruiting tool that showed bias against women. Reuters, 2018.
|
| 241 |
+
[6] Kaiji Lu, Piotr Mardziel, Fangjing Wu, Preetam Amancharla, and Anupam Datta. Gender bias in neural natural language processing. CoRR, abs/1807.11714, 2018. URL http://arxiv. org/abs/1807.11714. [7] Daniel de Vassimon Manela, David Errington, Thomas Fisher, Boris van Breugel, and Pasquale Minervini. Stereotype and skew: Quantifying gender bias in pre-trained and fine-tuned language models. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 2232–2242, Online, April 2021. Association for Computational Linguistics. URL https://www.aclweb.org/anthology/2021. eacl-main.190.
|
| 242 |
+
[8] Achuta Kadambi. Achieving fairness in medical devices. Science, 372(6537):30–31, 2021.
|
| 243 |
+
[9] Faisal Kamiran and Toon Calders. Classifying without discriminating. In 2009 2nd International Conference on Computer, Control and Communication, pages 1–6. IEEE, 2009.
|
| 244 |
+
[10] Michael Feldman, Sorelle A Friedler, John Moeller, Carlos Scheidegger, and Suresh Venkatasubramanian. Certifying and removing disparate impact. In proceedings of the 21th ACM SIGKDD international conference on knowledge discovery and data mining, pages 259–268, 2015.
|
| 245 |
+
[11] Lu Zhang, Yongkai Wu, and Xintao Wu. A causal framework for discovering and removing direct and indirect discrimination. In Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, IJCAI-17, pages 3929–3935, 2017. doi: 10.24963/ijcai. 2017/549. URL https://doi.org/10.24963/ijcai.2017/549.
|
| 246 |
+
[12] Moritz Hardt, Eric Price, and Nathan Srebro. Equality of opportunity in supervised learning. In Proceedings of the 30th International Conference on Neural Information Processing Systems, NIPS’16, page 3323–3331, Red Hook, NY, USA, 2016. Curran Associates Inc. ISBN 9781510838819.
|
| 247 |
+
[13] Matt J Kusner, Joshua Loftus, Chris Russell, and Ricardo Silva. Counterfactual fairness. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips.cc/paper/2017/file/ a486cd07e4ac3d270571622f4f316ec5-Paper.pdf.
|
| 248 |
+
[14] Niki Kilbertus, Mateo Rojas Carulla, Giambattista Parascandolo, Moritz Hardt, Dominik Janzing, and Bernhard Schölkopf. Avoiding discrimination through causal reasoning. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips.cc/paper/2017/file/ f5f8590cd58a54e94377e6ae2eded4d9-Paper.pdf.
|
| 249 |
+
[15] Junzhe Zhang and Elias Bareinboim. Fairness in decision-making—the causal explanation formula. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32, 2018.
|
| 250 |
+
[16] Flavio P. Calmon, Dennis Wei, Karthikeyan Natesan Ramamurthy, and Kush R. Varshney. Optimized data pre-processing for discrimination prevention, 2017.
|
| 251 |
+
[17] Depeng Xu, Shuhan Yuan, Lu Zhang, and Xintao Wu. Fairgan: Fairness-aware generative adversarial networks. In 2018 IEEE International Conference on Big Data (Big Data), pages 570–575. IEEE, 2018.
|
| 252 |
+
[18] Razieh Nabi and Ilya Shpitser. Fair inference on outcomes. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32, 2018.
|
| 253 |
+
[19] Diederik P. Kingma and M. Welling. Auto-encoding variational bayes. ICLR, abs/1312.6114, 2014.
|
| 254 |
+
[20] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Y. Bengio. Generative adversarial networks. Advances in Neural Information Processing Systems, 3, 06 2014. doi: 10.1145/3422622.
|
| 255 |
+
[21] Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron C Courville. Improved training of wasserstein gans. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips. cc/paper/2017/file/892c3b1c6dccd52936e27cbd0ff683d6-Paper.pdf.
|
| 256 |
+
[22] Rich Zemel, Yu Wu, Kevin Swersky, Toni Pitassi, and Cynthia Dwork. Learning fair representations. In International conference on machine learning, pages 325–333. PMLR, 2013.
|
| 257 |
+
[23] Depeng Xu, Yongkai Wu, Shuhan Yuan, Lu Zhang, and Xintao Wu. Achieving causal fairness through generative adversarial networks. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, 2019.
|
| 258 |
+
[24] Murat Kocaoglu, Christopher Snyder, Alexandros G Dimakis, and Sriram Vishwanath. Causalgan: Learning causal implicit generative models with adversarial training. arXiv preprint arXiv:1709.02023, 2017.
|
| 259 |
+
[25] Mengyue Yang, Furui Liu, Zhitang Chen, Xinwei Shen, Jianye Hao, and Jun Wang. Causalvae: Disentangled representation learning via neural structural causal models, 2021.
|
| 260 |
+
[26] Kristy Choi, Aditya Grover, Trisha Singh, Rui Shu, and Stefano Ermon. Fair generative modeling via weak supervision. In International Conference on Machine Learning, pages 1887–1898. PMLR, 2020.
|
| 261 |
+
[27] Judea Pearl. Causality. Cambridge university press, 2009.
|
| 262 |
+
[28] Solon Barocas and Andrew D Selbst. Big data’s disparate impact. Calif. L. Rev., 104:671, 2016.
|
| 263 |
+
[29] Faisal Kamiran, Indre Žliobait ˙ e, and Toon Calders. Quantifying explainable discrimination and ˙ removing illegal discrimination in automated decision making. Knowledge and Information Systems, 1:in press, 06 2012. doi: 10.1007/s10115-012-0584-8.
|
| 264 |
+
[30] Solon Barocas, Moritz Hardt, and Arvind Narayanan. Fairness in machine learning. Nips tutorial, 1:2, 2017.
|
| 265 |
+
[31] Nina Grgic-Hlaca, Muhammad Bilal Zafar, Krishna P Gummadi, and Adrian Weller. The case for process fairness in learning: Feature selection for fair decision making. In NIPS Symposium on Machine Learning and the Law, volume 1, page 2, 2016.
|
| 266 |
+
[32] Muhammad Bilal Zafar, Isabel Valera, Manuel Gomez Rogriguez, and Krishna P Gummadi. Fairness constraints: Mechanisms for fair classification. In Artificial Intelligence and Statistics, pages 962–970. PMLR, 2017.
|
| 267 |
+
[33] Edward H Simpson. The interpretation of interaction in contingency tables. Journal of the Royal Statistical Society: Series B (Methodological), 13(2):238–241, 1951.
|
| 268 |
+
[34] Jonas Peters, Dominik Janzing, and Bernhard Schölkopf. Elements of causal inference: foundations and learning algorithms. The MIT Press, 2017.
|
| 269 |
+
[35] Cynthia Dwork, Aaron Roth, et al. The algorithmic foundations of differential privacy. Foundations and Trends in Theoretical Computer Science, 9(3-4):211–407, 2014.
|
| 270 |
+
[36] James Jordon, Jinsung Yoon, and M. Schaar. Pate-gan: Generating synthetic data with differential privacy guarantees. In ICLR, 2019.
|
| 271 |
+
[37] Mehdi S. M. Sajjadi, Olivier Bachem, Mario Lucic, Olivier Bousquet, and Sylvain Gelly. Assessing generative models via precision and recall. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018.
|
| 272 |
+
[38] Tuomas Kynkäänniemi, Tero Karras, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Improved precision and recall metric for assessing generative models. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019.
|
| 273 |
+
[39] Peter Flach and Meelis Kull. Precision-recall-gain curves: Pr analysis done right. In C. Cortes, N. Lawrence, D. Lee, M. Sugiyama, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 28. Curran Associates, Inc., 2015.
|
| 274 |
+
[40] Dheeru Dua and Casey Graff. UCI machine learning repository, 2020. URL http://archive. ics.uci.edu/ml.
|
| 275 |
+
[41] Joseph Ramsey, Madelyn Glymour, Ruben Sanchez-Romero, and Clark Glymour. A million variables and more: the fast greedy equivalence search algorithm for learning high-dimensional graphical causal models, with an application to functional magnetic resonance images. International Journal of Data Science and Analytics, 3(2):121–129, Mar 2017. ISSN 2364-4168. doi: 10.1007/s41060-016-0032-z.
|
| 276 |
+
[42] Clark Glymour, Richard Scheines, Peter Spirtes, and Joseph Ramsey. Tetrad, 2019. URL http://www.phil.cmu.edu/tetrad/index.html.
|
| 277 |
+
[43] Robert B. Avery, Kenneth P. Brevoort, and Glenn Canner. Credit scoring and its effects on the availability and affordability of credit. Journal of Consumer Affairs, 43(3):516–537, 2009. doi: https://doi.org/10.1111/j.1745-6606.2009.01151.x.
|
| 278 |
+
[44] Robert B. Avery, Kenneth P. Brevoort, and Glenn Canner. Does credit scoring produce a disparate impact? Real Estate Economics, 40(s1):S65–S114, 2012. doi: https://doi.org/10.1111/ j.1540-6229.2012.00348.x.
|
| 279 |
+
[45] Will Dobbie, Andres Liberman, Daniel Paravisini, and Vikram Pathania. Measuring bias in consumer lending. Working Paper 24953, National Bureau of Economic Research, August 2018. URL http://www.nber.org/papers/w24953.
|
| 280 |
+
[46] P. K. Lohia, K. Natesan Ramamurthy, M. Bhide, D. Saha, K. R. Varshney, and R. Puri. Bias mitigation post-processing for individual and group fairness. In ICASSP 2019 - 2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 2847– 2851, 2019. doi: 10.1109/ICASSP.2019.8682620.
|
| 281 |
+
[47] Peter Spirtes, Clark N Glymour, Richard Scheines, and David Heckerman. Causation, prediction, and search. MIT press, 2000.
|
| 282 |
+
[48] Anita M Alessandra. When doctrines collide: Disparate treatment, disparate impact, and watson v. fort worth bank & trust. U.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
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Boris van Breugel∗ University of Cambridge bv292@cam.ac.uk ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
187,
|
| 19 |
+
226,
|
| 20 |
+
354,
|
| 21 |
+
267
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Trent Kyono∗ University of California, Los Angeles tmkyono@ucla.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
374,
|
| 30 |
+
226,
|
| 31 |
+
624,
|
| 32 |
+
268
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Jeroen Berrevoets University of Cambridge jb2384@cam.ac.uk ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
643,
|
| 41 |
+
226,
|
| 42 |
+
810,
|
| 43 |
+
268
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Mihaela van der Schaar University of Cambridge University of California, Los Angeles The Alan Turing Institute mv472@cam.ac.uk ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
374,
|
| 52 |
+
289,
|
| 53 |
+
622,
|
| 54 |
+
358
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Abstract ",
|
| 61 |
+
"text_level": 1,
|
| 62 |
+
"bbox": [
|
| 63 |
+
462,
|
| 64 |
+
395,
|
| 65 |
+
535,
|
| 66 |
+
411
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "Machine learning models have been criticized for reflecting unfair biases in the training data. Instead of solving for this by introducing fair learning algorithms directly, we focus on generating fair synthetic data, such that any downstream learner is fair. Generating fair synthetic data from unfair data— while remaining truthful to the underlying data-generating process $( D G P )$ —is non-trivial. In this paper, we introduce DECAF: a GAN-based fair synthetic data generator for tabular data. With DECAF we embed the DGP explicitly as a structural causal model in the input layers of the generator, allowing each variable to be reconstructed conditioned on its causal parents. This procedure enables inference-time debiasing, where biased edges can be strategically removed for satisfying user-defined fairness requirements. The DECAF framework is versatile and compatible with several popular definitions of fairness. In our experiments, we show that DECAF successfully removes undesired bias and— in contrast to existing methods —is capable of generating high-quality synthetic data. Furthermore, we provide theoretical guarantees on the generator’s convergence and the fairness of downstream models. ",
|
| 73 |
+
"bbox": [
|
| 74 |
+
233,
|
| 75 |
+
426,
|
| 76 |
+
766,
|
| 77 |
+
633
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "1 Introduction ",
|
| 84 |
+
"text_level": 1,
|
| 85 |
+
"bbox": [
|
| 86 |
+
176,
|
| 87 |
+
659,
|
| 88 |
+
310,
|
| 89 |
+
676
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Generative models are optimized to approximate the original data distribution as closely as possible. Most research focuses on three objectives [1]: fidelity, diversity, and privacy. The first and second are concerned with how closely synthetic samples resemble real data and how much of the real data’s distribution is covered by the new distribution, respectively. The third objective aims to avoid simply reproducing samples from the original data, which is important if the data contains privacy-sensitive information [2, 3]. We explore a much-less studied concept: synthetic data fairness. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
690,
|
| 99 |
+
825,
|
| 100 |
+
773
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Motivation. Deployed machine learning models have been shown to reflect the bias of the data on which they are trained [4, 5, 6, 7, 8]. This has not only unfairly damaged the discriminated individuals but also society’s trust in machine learning as a whole. A large body of work has explored ways of detecting bias and creating fair predictors [9, 10, 11, 12, 13, 14, 15], while other authors propose debiasing the data itself [9, 10, 11, 16]. This work’s aim is related to the work of [17]: to generate fair synthetic data based on unfair data. Being able to generate fair data is important because end-users creating models based on publicly available data might be unaware they are inadvertently including bias or insufficiently knowledgeable to remove it from their model. Furthermore, by debiasing the data prior to public release, one can guarantee any downstream model satisfies desired fairness requirements by assigning the responsibility of debiasing to the data generating entities. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
780,
|
| 110 |
+
825,
|
| 111 |
+
877
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "table",
|
| 117 |
+
"img_path": "images/f3e4d28130cd25bfedbfba98d68f5e99d565dc19887e24b32bd6d855f158d177.jpg",
|
| 118 |
+
"table_caption": [
|
| 119 |
+
"Table 1: Overview of related work for synthetic data. We organize related work according to our key areas of interest: (1) Allows post-hoc distribution changes, (2) provides fairness, (3) supports causal notion of fairness, (4) allows inference-time fairness, (5) requires minimal assumptions. We highlight the key contribution, and identify non-neural approaches with “†”. "
|
| 120 |
+
],
|
| 121 |
+
"table_footnote": [],
|
| 122 |
+
"table_body": "<table><tr><td>Model</td><td>Reference</td><td>(1)(2)(3)(4)(5)Goal</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td colspan=\"8\">Standard synthetic data generation</td></tr><tr><td>VAE</td><td>[19]</td><td>X</td><td>X</td><td>X</td><td>X</td><td></td><td>Realistic synth. data.</td></tr><tr><td>GANs</td><td>[2, 3, 20, 21]</td><td>X</td><td>X</td><td>X</td><td>X</td><td></td><td>Realistic synth. data.</td></tr><tr><td colspan=\"8\"> Methods that detect and/or remove bias</td></tr><tr><td>PSE-DD/DR†</td><td>[11]</td><td>√</td><td>√</td><td>√</td><td>×</td><td>X</td><td>Discover/Remove bias.</td></tr><tr><td>OPPDP†</td><td>[16]</td><td>X</td><td>√</td><td>xxxx></td><td>xxx</td><td>X</td><td>Remove bias.</td></tr><tr><td>DI</td><td>[10]</td><td>X</td><td>√</td><td></td><td></td><td>X</td><td>Discover/Remove bias.</td></tr><tr><td>LFR</td><td>[22]</td><td>×</td><td>一</td><td></td><td></td><td>√</td><td>Learn fair representation.</td></tr><tr><td>FairGAN</td><td>[17]</td><td>X</td><td>√</td><td></td><td>X</td><td>√</td><td>Realistic and fair synth. data.</td></tr><tr><td>CFGAN</td><td>[23]</td><td>X</td><td>√</td><td></td><td>×</td><td>√</td><td>Realistic and fair synth. data.</td></tr><tr><td>DECAF</td><td>(ours)</td><td>√</td><td>√</td><td><</td><td>√</td><td>√</td><td>Realistic and fair synth. data.</td></tr></table>",
|
| 123 |
+
"bbox": [
|
| 124 |
+
173,
|
| 125 |
+
154,
|
| 126 |
+
825,
|
| 127 |
+
344
|
| 128 |
+
],
|
| 129 |
+
"page_idx": 1
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"type": "text",
|
| 133 |
+
"text": "",
|
| 134 |
+
"bbox": [
|
| 135 |
+
176,
|
| 136 |
+
354,
|
| 137 |
+
821,
|
| 138 |
+
396
|
| 139 |
+
],
|
| 140 |
+
"page_idx": 1
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"type": "text",
|
| 144 |
+
"text": "Goal. From a biased dataset $\\mathcal { X }$ , we are interested in learning a model $G$ , that is able to generate an equivalent synthetic unbiased dataset $\\mathcal { X } ^ { \\prime }$ with minimal loss of data utility. Furthermore, a downstream model trained on the synthetic data needs to make not only unbiased predictions on the synthetic data, but also on real-life datasets (as formalized in Section 4.2). ",
|
| 145 |
+
"bbox": [
|
| 146 |
+
174,
|
| 147 |
+
402,
|
| 148 |
+
825,
|
| 149 |
+
458
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "Solution. We approach fairness from a causal standpoint because it provides an intuitive perspective on different definitions of fairness and discrimination [11, 13, 14, 15, 18]. We introduce DEbiasing CAusal Fairness (DECAF), a generative adversarial network (GAN) that leverages causal structure for synthesizing data. Specifically, DECAF is comprised of $d$ generators (one for each variable) that learn the causal conditionals observed in the data. At inference-time, variables are synthesized topologically starting from the root nodes in the causal graph then synthesized sequentially, terminating at the leave nodes. Because of this, DECAF can remove bias at inference-time through targeted (biased) edge removal. As a result, various datasets can be created for desired (or evolving) definitions of fairness. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
464,
|
| 159 |
+
825,
|
| 160 |
+
575
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "Contributions. We propose a framework of using causal knowledge for fair synthetic data generation. We make three main contributions: i) DECAF, a causal GAN-based model for generating synthetic data, ii) a flexible causal approach for modifying this model such that it can generate fair data, and iii) guarantees that downstream models trained on the synthetic data will also give fair predictions in other settings. Experimentally, we show how DECAF is compatible with several fairness/discrimination definitions used in literature while still maintaining high downstream utility of generated data. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
582,
|
| 170 |
+
825,
|
| 171 |
+
665
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "2 Related Works ",
|
| 178 |
+
"text_level": 1,
|
| 179 |
+
"bbox": [
|
| 180 |
+
176,
|
| 181 |
+
685,
|
| 182 |
+
328,
|
| 183 |
+
702
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 1
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "text",
|
| 189 |
+
"text": "Here we focus on the related work concerned with data generation, in contrast to fairness definitions for which we provide a detailed overview in Section 4 and Appendix C. As an overview of how data generation methods relate to one another, we refer to Table 1 which presents all relevant related methods. ",
|
| 190 |
+
"bbox": [
|
| 191 |
+
174,
|
| 192 |
+
718,
|
| 193 |
+
825,
|
| 194 |
+
773
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 1
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "Non-parametric generative modeling. The standard models for synthetic data generation are either based on VAEs [19] or GANs [2, 3, 20, 21]. While these models are well known for their highly realistic synthetic data, they are unable to alter the synthetic data distribution to encourage fairness (except for [17, 23], discussed below). Furthermore, these methods have no causal notion, which prohibits targeted interventions for synthesizing fair data (Section 4). We explicitly leave out CausalGAN [24] and CausalVAE [25], which appear similar by incorporating causality-derived ideas but are different in both method and aim (i.e., image generation). ",
|
| 201 |
+
"bbox": [
|
| 202 |
+
173,
|
| 203 |
+
779,
|
| 204 |
+
825,
|
| 205 |
+
877
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 1
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "Fair data generation. In the bottom section of Table 1, we present methods that, in some way, alter the training data of classifiers to adhere to a notion of fairness [10, 11, 16, 17, 22, 23]. While these methods have proven successful, they lack some important features. For example, none of the related methods allow for post-hoc changes of the synthetic data distribution. This is an important feature, as each situation requires a different perspective on fairness and thus requires a flexible framework for selecting protected variables. Additionally, only [11, 23] allow a causal perspective on fairness, despite causal notions underlying multiple interpretations of what should be considered fair [13]. Furthermore, only [17, 22, 23] offer a flexible framework, while the others are limited to binary [10, 11] or discrete [16] settings. Xu et al. [23] also use a causal architecture for the generator, however their method is not as flexible—e.g. it does not easily extend to multiple protected attributes. Finally, in contrast to other methods DECAF is directly concerned with fairness of the downstream model—which is dependent on the setting in which the downstream model is employed (Section 4.2). In essence, from Table 1 we learn that DECAF is the only method that combines all key areas of interest. At last, we would like to mention [26], who aim to generate data that resembles a small unbiased reference dataset, by leveraging a large but biased dataset. This is very different to our aim, as we are interested in the downstream model’s fairness and explicit notions of fairness. ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
173,
|
| 214 |
+
883,
|
| 215 |
+
821,
|
| 216 |
+
911
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 1
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "",
|
| 223 |
+
"bbox": [
|
| 224 |
+
173,
|
| 225 |
+
90,
|
| 226 |
+
826,
|
| 227 |
+
285
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "3 Preliminaries ",
|
| 234 |
+
"text_level": 1,
|
| 235 |
+
"bbox": [
|
| 236 |
+
174,
|
| 237 |
+
304,
|
| 238 |
+
318,
|
| 239 |
+
321
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 2
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "text",
|
| 245 |
+
"text": "Let $X \\in \\mathcal { X } \\subseteq \\mathbb { R } ^ { d }$ denote a random variable with distribution $P _ { X } ( X )$ , with protected attributes $A \\in { \\mathcal { A } } \\subset { \\mathcal { X } }$ and target variable $Y \\in \\mathcal { y } \\subset \\mathcal { x }$ , let $\\hat { Y }$ denote a prediction of $Y$ . Let the data be given by $\\mathcal { D } = \\{ \\mathbf { x } ^ { ( k ) } \\} _ { k = 1 } ^ { N }$ , where each $\\mathbf { x } ^ { ( k ) } \\in \\mathcal { D }$ is a realization of $X$ . We assume the data generating process can be represented by a directed acyclic graph (DAG)—such that the generation of features can be written as a structural equation model (SEM) [27]—and that this DAG is causally sufficient. Let $X _ { i }$ denote the $i ^ { \\mathrm { { t h } } }$ feature in $X$ with causal parents $\\operatorname { P a } ( X _ { i } ) \\subset \\{ X _ { j } : j \\neq i \\}$ , the SEM is given by: ",
|
| 246 |
+
"bbox": [
|
| 247 |
+
173,
|
| 248 |
+
335,
|
| 249 |
+
825,
|
| 250 |
+
425
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "equation",
|
| 256 |
+
"img_path": "images/ff3f1556eb1912b2b291837f9bb2d5445137282ee3b3d60727202dc34087352a.jpg",
|
| 257 |
+
"text": "$$\nX _ { i } = f _ { i } ( \\operatorname { P a } ( X _ { i } ) , Z _ { i } ) , \\forall i\n$$",
|
| 258 |
+
"text_format": "latex",
|
| 259 |
+
"bbox": [
|
| 260 |
+
415,
|
| 261 |
+
431,
|
| 262 |
+
583,
|
| 263 |
+
449
|
| 264 |
+
],
|
| 265 |
+
"page_idx": 2
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "text",
|
| 269 |
+
"text": "where $\\{ Z _ { i } \\} _ { i = 1 } ^ { d }$ are independent random noise variables, that is $\\mathrm { P a } ( Z _ { i } ) = \\emptyset$ , ∀i. Note that each $f _ { i }$ is a deterministic function that places all randomness of the conditional $P ( X _ { i } | \\operatorname* { P a } ( X _ { i } ) )$ in the respective noise variable, $Z _ { i }$ . ",
|
| 270 |
+
"bbox": [
|
| 271 |
+
174,
|
| 272 |
+
457,
|
| 273 |
+
825,
|
| 274 |
+
500
|
| 275 |
+
],
|
| 276 |
+
"page_idx": 2
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"type": "text",
|
| 280 |
+
"text": "4 Fairness of Synthetic Data ",
|
| 281 |
+
"text_level": 1,
|
| 282 |
+
"bbox": [
|
| 283 |
+
176,
|
| 284 |
+
518,
|
| 285 |
+
424,
|
| 286 |
+
536
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 2
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "text",
|
| 292 |
+
"text": "Algorithmic fairness is a popular topic (e.g., see [13, 28]), but fair synthetic data has been much less explored. This section highlights how the underlying graphs of the synthetic and downstream data determine whether a model trained on the synthetic data will be fair in practice. We start with the two most popular definitions of fairness, relating to the legal concepts of direct and indirect discrimination. We also explore conditional fairness [29], which is a generalization of the two. In Appendix C we discuss how the ideas in this section transfer to other independence-based definitions [30]. Throughout this section, we separate $Y$ from $X$ by defining ${ \\bar { X } } { \\stackrel { \\cdot } { = } } X \\backslash Y$ , and we will write $X { \\bar { X } }$ for ease of notation. ",
|
| 293 |
+
"bbox": [
|
| 294 |
+
173,
|
| 295 |
+
551,
|
| 296 |
+
825,
|
| 297 |
+
662
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 2
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "text",
|
| 303 |
+
"text": "4.1 Algorithmic fairness ",
|
| 304 |
+
"text_level": 1,
|
| 305 |
+
"bbox": [
|
| 306 |
+
174,
|
| 307 |
+
679,
|
| 308 |
+
354,
|
| 309 |
+
694
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 2
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"text": "The first definition is called Fairness Through Unawareness (e.g. [31]). ",
|
| 316 |
+
"bbox": [
|
| 317 |
+
174,
|
| 318 |
+
704,
|
| 319 |
+
640,
|
| 320 |
+
719
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 2
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"text": "Definition 1. (Fairness Through Unawareness (FTU): algorithm). A predictor $f : X \\mapsto { \\hat { Y } }$ is fair iff protected attributes $A$ are not explicitly used by $f$ to predict $\\hat { Y }$ . ",
|
| 327 |
+
"bbox": [
|
| 328 |
+
173,
|
| 329 |
+
726,
|
| 330 |
+
825,
|
| 331 |
+
757
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 2
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "This definition prohibits disparate treatment [28, 32], and is related to the legal concept of direct discrimination, i.e., two equally qualified people deserve the same job opportunity independent of their race, gender, beliefs, among others. ",
|
| 338 |
+
"bbox": [
|
| 339 |
+
174,
|
| 340 |
+
767,
|
| 341 |
+
825,
|
| 342 |
+
810
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 2
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"text": "Though FTU fairness is commonly used, it might result in indirect discrimination: covariates that influence the prediction $\\hat { Y }$ might not be identically distributed across different groups $a , a ^ { \\prime }$ , which means an algorithm might have disparate impact on a protected group [10]. The second definition of fairness, demographic parity [32], does not allow this: ",
|
| 349 |
+
"bbox": [
|
| 350 |
+
174,
|
| 351 |
+
815,
|
| 352 |
+
825,
|
| 353 |
+
875
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 2
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"text": "Definition 2. (Demographic Parity $( D P )$ : algorithm) $A$ predictor $\\hat { Y }$ is fair iff $A \\perp \\perp { \\hat { Y } }$ , i.e. $\\forall a , a ^ { \\prime }$ \n$P ( \\hat { Y } | A = a ) = P ( \\hat { Y } | A = a ^ { \\prime } )$ . ",
|
| 360 |
+
"bbox": [
|
| 361 |
+
173,
|
| 362 |
+
880,
|
| 363 |
+
823,
|
| 364 |
+
912
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 2
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "text",
|
| 370 |
+
"text": "Evidently, DP puts stringent constraints on the algorithm, whereas FTU might be too lenient. The third definition we include is based on the work of [29], related to unresolved discrimination [14]. The idea is that we do not allow indirect discrimination unless it runs through explanatory factors $R \\subset X$ . For example, in Simpson’s paradox [33] there seems to be a bias between gender and college admissions, but this is only due to women applying to more competitive courses. In this case, one would want to regard fairness conditioned on the choice of study [14]. Let us define this as conditional fairness: ",
|
| 371 |
+
"bbox": [
|
| 372 |
+
173,
|
| 373 |
+
90,
|
| 374 |
+
825,
|
| 375 |
+
189
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 3
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "text",
|
| 381 |
+
"text": "Definition 3. (Conditional Fairness $( C F )$ : algorithm) $A$ predictor $\\hat { Y }$ is fair iff $A \\perp \\perp { \\hat { Y } } | R ,$ , i.e. \n$\\forall r , a , a ^ { \\prime } : P ( \\hat { Y } | R = r , A = a ) = P ( \\hat { Y } | R = r , A = a ^ { \\prime } )$ . ",
|
| 382 |
+
"bbox": [
|
| 383 |
+
173,
|
| 384 |
+
193,
|
| 385 |
+
823,
|
| 386 |
+
226
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 3
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"text": "CF generalizes FTU and DP Note that conditional fairness is a generalization of FTU and DP, by setting $R = X \\backslash A$ and $R = \\emptyset$ , respectively. In Appendix $\\textrm { C }$ we elaborate on the connection between these, and more, definitions. ",
|
| 393 |
+
"bbox": [
|
| 394 |
+
174,
|
| 395 |
+
234,
|
| 396 |
+
825,
|
| 397 |
+
277
|
| 398 |
+
],
|
| 399 |
+
"page_idx": 3
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "text",
|
| 403 |
+
"text": "4.2 Synthetic data fairness ",
|
| 404 |
+
"text_level": 1,
|
| 405 |
+
"bbox": [
|
| 406 |
+
174,
|
| 407 |
+
294,
|
| 408 |
+
370,
|
| 409 |
+
309
|
| 410 |
+
],
|
| 411 |
+
"page_idx": 3
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"type": "text",
|
| 415 |
+
"text": "Algorithmic definitions can be extended to distributional fairness for synthetic data. Let $P ( X ) , P ^ { \\prime } ( X )$ be probability distributions with protected attributes $A \\subset X$ and labels $Y \\subset X$ . Let ${ \\mathcal { T } } ( A , Y )$ be a definition of algorithmic fairness (e.g., FTU). Note, that under CF, ${ \\mathcal { T } } ( A , Y )$ is a function of $R$ as well. We propose $( { \\mathcal { T } } ( A , Y ) , P )$ -fairness of distribution $P ^ { \\prime } ( X )$ : ",
|
| 416 |
+
"bbox": [
|
| 417 |
+
173,
|
| 418 |
+
319,
|
| 419 |
+
826,
|
| 420 |
+
376
|
| 421 |
+
],
|
| 422 |
+
"page_idx": 3
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"type": "text",
|
| 426 |
+
"text": "Definition 4. (Distributional fairness) $A$ probability distribution $P ^ { \\prime } ( X )$ is $( { \\mathcal { T } } ( A , Y ) , P )$ -fair, iff the optimal predictor $\\hat { Y } = f ^ { * } ( X )$ of $Y$ trained on $P ^ { \\prime } ( X )$ satisfies ${ \\mathcal { T } } ( A , Y )$ when evaluated on $P ( X )$ . ",
|
| 427 |
+
"bbox": [
|
| 428 |
+
173,
|
| 429 |
+
377,
|
| 430 |
+
823,
|
| 431 |
+
410
|
| 432 |
+
],
|
| 433 |
+
"page_idx": 3
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"type": "text",
|
| 437 |
+
"text": "In other words, when we train a predictor on $( { \\mathcal { T } } ( A , Y ) , P )$ -fair distribution $P ^ { \\prime } ( X )$ , we can only reach maximum performance if our model is fair. Note the explicit reference to $P ( X )$ , the distribution on which fairness is evaluated, which does not need to coincide with $P ^ { \\prime } ( X )$ . This is a small but relevant detail. For example, when training a model on data ${ \\mathcal { D } } ^ { \\prime } \\sim P ^ { \\prime } ( X )$ it could seem like the model is fair when we evaluate it on a hold-out set of the data (e.g., if we simply remove the protected attribute from the data). However, when we use the model for real-world predictions of data ${ \\mathcal { D } } \\sim P ( X )$ , disparate impact is possibly observed due to a distributional shift. ",
|
| 438 |
+
"bbox": [
|
| 439 |
+
173,
|
| 440 |
+
420,
|
| 441 |
+
825,
|
| 442 |
+
518
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 3
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "By extension, we define synthetic data as $( { \\mathcal { T } } ( A , Y ) , P )$ -fair, iff it is sampled from an $( { \\mathcal { T } } ( A , Y ) , P )$ - fair distribution. Defining synthetic data as fair w.r.t. an optimal predictor is especially useful when we want to publish a dataset and do not trust end-users to consider anything but performance.2 ",
|
| 449 |
+
"bbox": [
|
| 450 |
+
174,
|
| 451 |
+
523,
|
| 452 |
+
826,
|
| 453 |
+
565
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 3
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "Choosing $\\mathbf { P } ( \\mathbf { X } )$ . The setting $P ( X ) = P ^ { \\prime } ( X )$ corresponds to data being fair with respect to itself. For synthetic data generation, this setting is uninteresting as any dataset can be made fair by randomly sampling or removing $A$ ; if $A$ is random, the prediction should not directly or indirectly depend on it. This ignores, however, that a downstream user might use the trained model on a real-world dataset in which other variables $B$ are correlated with $A$ , and thus their model (which is trained to use $B$ for predicting $Y$ ) will be biased. Of specific interest is the setting where $P ( X )$ corresponds to the original data distribution $P _ { X } ( X )$ that contains unfairness. In this scenario, we construct $P ^ { \\prime } ( X )$ by learning $P _ { X } ( X )$ and removing the unfair characteristics. The data from $P ^ { \\prime } ( X )$ can be published online, and models trained on this data can be deployed fairly in real-life scenarios where data follows $P _ { X } ( X )$ . Unless otherwise stated, henceforth, we assume ${ \\dot { P } } ( X ) = P _ { X } ( X )$ . ",
|
| 460 |
+
"bbox": [
|
| 461 |
+
173,
|
| 462 |
+
570,
|
| 463 |
+
825,
|
| 464 |
+
712
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 3
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "4.3 Graphical perspective ",
|
| 471 |
+
"text_level": 1,
|
| 472 |
+
"bbox": [
|
| 473 |
+
174,
|
| 474 |
+
727,
|
| 475 |
+
366,
|
| 476 |
+
742
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 3
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "As reflected in the widely accepted terms direct versus indirect discrimination, it is natural to define distributional fairness from a causal standpoint. Let $\\mathcal { G } ^ { \\prime }$ and $\\mathcal { G }$ respectively denote the graphs underlying $P ^ { \\prime } ( X )$ (the synthetic data distribution which we can control) and $P ( X )$ (the evaluation distribution that we cannot control). Let $\\partial _ { \\mathcal { G } } Y$ denote the Markov boundary of $Y$ in graph $\\mathcal { G }$ . We focus on the conditional fairness definition because it subsumes the definition of DP and FTU (Section 4.1). Let $R \\subset X$ be the set of explanatory features. ",
|
| 483 |
+
"bbox": [
|
| 484 |
+
173,
|
| 485 |
+
751,
|
| 486 |
+
825,
|
| 487 |
+
835
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 3
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"text": "Proposition 1. ( $C F .$ : graphical condition) If for all $B \\in \\partial _ { \\mathcal { G } ^ { \\prime } } Y , A \\bot \\bot _ { \\mathcal { G } } B | R , ^ { 3 }$ then distribution $P ^ { \\prime } ( X )$ is $C F$ fair w.r.t $P ( X )$ given explanatory factors $R$ . ",
|
| 494 |
+
"bbox": [
|
| 495 |
+
169,
|
| 496 |
+
838,
|
| 497 |
+
825,
|
| 498 |
+
867
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 3
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"text": "Proof. Without loss of generality, let us assume the label is binary.4 The optimal predictor $f ^ { * } ( X ) =$ $P ( Y | X ) = P ( Y | \\partial _ { \\mathcal { G } ^ { \\prime } } Y )$ . Thus, if $\\partial _ { \\mathscr { G } ^ { \\prime } } Y$ is ${ \\mathrm { d } }$ -separated from $A$ in $\\mathcal { G }$ given $R$ , prediction $\\hat { Y } = f ^ { * } ( X )$ is independent of $A$ given $R$ and CF holds. □ ",
|
| 505 |
+
"bbox": [
|
| 506 |
+
174,
|
| 507 |
+
90,
|
| 508 |
+
825,
|
| 509 |
+
136
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 4
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "Corollary 1. (CF debiasing) Any distribution $P ^ { \\prime } ( X )$ with graph $\\mathcal { G } ^ { \\prime }$ can be made CF fair w.r.t. $P ( X )$ and explanatory features $R$ by removing from $\\mathcal { G } ^ { \\prime }$ edges $\\tilde { E } = \\{ ( B \\to Y )$ and $( Y \\to B ) : \\forall B \\in \\partial _ { \\mathcal { G } ^ { \\prime } } Y$ with $B$ 6⊥⊥ $_ { \\cdot g } \\ A | R \\}$ . ",
|
| 516 |
+
"bbox": [
|
| 517 |
+
174,
|
| 518 |
+
147,
|
| 519 |
+
826,
|
| 520 |
+
193
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 4
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"text": "Proof. First note $\\tilde { E }$ is the necessary and sufficient set of edges to remove for $\\forall B \\in \\partial _ { \\mathcal { G } ^ { \\prime } } Y$ , $A$ ⊥⊥ $\\mathcal { G }$ $| B | R )$ to be true, subsequently the result follows from Proposition 1. □ ",
|
| 527 |
+
"bbox": [
|
| 528 |
+
174,
|
| 529 |
+
207,
|
| 530 |
+
820,
|
| 531 |
+
237
|
| 532 |
+
],
|
| 533 |
+
"page_idx": 4
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"text": "For FTU (i.e. $R = X \\backslash A )$ and DP (i.e. $R = \\emptyset$ ), this corollary simplifies to: ",
|
| 538 |
+
"bbox": [
|
| 539 |
+
174,
|
| 540 |
+
253,
|
| 541 |
+
663,
|
| 542 |
+
270
|
| 543 |
+
],
|
| 544 |
+
"page_idx": 4
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "text",
|
| 548 |
+
"text": "Corollary 2. (FTU debiasing) Any distribution $P ^ { \\prime } ( X )$ with graph $\\mathcal { G } ^ { \\prime }$ can be made FTU fair w.r.t. any distribution $P ( X )$ by removing, if present, i) the edge between $A$ and $Y$ and $i i$ ) the edge $A C$ or $Y C$ for all shared children $C$ . ",
|
| 549 |
+
"bbox": [
|
| 550 |
+
174,
|
| 551 |
+
273,
|
| 552 |
+
665,
|
| 553 |
+
329
|
| 554 |
+
],
|
| 555 |
+
"page_idx": 4
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"text": "Corollary 3. (DP debiasing) Any distribution $P ^ { \\prime } ( X )$ with graph $\\mathcal { G } ^ { \\prime }$ can be made $D P$ fair w.r.t. $P ( X )$ by removing, if present, the edge between $B$ and $Y$ for any $B \\in \\partial _ { \\mathcal { G } ^ { \\prime } } Y$ with $B$ 6⊥⊥ $_ { \\textit { g A } }$ . ",
|
| 560 |
+
"bbox": [
|
| 561 |
+
173,
|
| 562 |
+
334,
|
| 563 |
+
665,
|
| 564 |
+
378
|
| 565 |
+
],
|
| 566 |
+
"page_idx": 4
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "image",
|
| 570 |
+
"img_path": "images/0a9fed1a05f973016276c4a64c25853270bbd1a127ff235596605576723c23e8.jpg",
|
| 571 |
+
"image_caption": [
|
| 572 |
+
"Figure 1: Edge removal for fairness. FTU: $\\pmb { \\chi }$ ; DP: ✗✗✗; CF when $R = C$ : $\\boldsymbol { x }$ ; CF when $B \\in R$ : $\\boldsymbol { \\chi }$ "
|
| 573 |
+
],
|
| 574 |
+
"image_footnote": [],
|
| 575 |
+
"bbox": [
|
| 576 |
+
692,
|
| 577 |
+
256,
|
| 578 |
+
803,
|
| 579 |
+
333
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 4
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "Figure 1 shows how the different fairness definitions lead to different sets of edges to be removed. ",
|
| 586 |
+
"bbox": [
|
| 587 |
+
174,
|
| 588 |
+
388,
|
| 589 |
+
663,
|
| 590 |
+
416
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 4
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "Faithfulness. Usually one assumes distributions are faithful w.r.t. their respective graphs, in which case the if-statement in Proposition 1 become equivalence statements: fairness is only possible when the graphical conditions hold. ",
|
| 597 |
+
"bbox": [
|
| 598 |
+
173,
|
| 599 |
+
422,
|
| 600 |
+
823,
|
| 601 |
+
465
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 4
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"text": "Theorem 1. If $P ( X )$ and $P ^ { \\prime } ( X )$ are faithful with respect to their respective graphs $\\mathcal { G }$ and $\\mathcal { G } ^ { \\prime }$ , then Proposition $\\boldsymbol { l }$ becomes an equivalence statement and Corollaries 1, 2 and 3 describe the necessary and sufficient sets of edges to remove for achieving CF, FTU and DP fairness, respectively. ",
|
| 608 |
+
"bbox": [
|
| 609 |
+
174,
|
| 610 |
+
469,
|
| 611 |
+
825,
|
| 612 |
+
512
|
| 613 |
+
],
|
| 614 |
+
"page_idx": 4
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "text",
|
| 618 |
+
"text": "Proof. Faithfulness implies $A$ ⊥⊥ $P ( X ) ~ B | R \\implies A$ ⊥⊥ $_ { \\cdot \\mathcal { G } } \\ B | R$ , e.g. [34]. Thus, if $\\exists B \\in \\partial _ { \\mathcal { G } ^ { \\prime } } Y$ for which $A$ 6⊥⊥ $_ { \\textit { g B } | R }$ , then $A$ 6⊥⊥ $| B | R$ . Because $B \\in \\partial _ { \\mathcal { G } ^ { \\prime } } Y$ and $P ^ { \\prime } ( X )$ is faithful to $\\mathcal { G } ^ { \\prime }$ , $\\hat { Y } = f ^ { * } ( X )$ depends on $B$ , and thus $\\hat { Y }$ 6⊥⊥ $A | R$ : CF does not hold. □ ",
|
| 619 |
+
"bbox": [
|
| 620 |
+
173,
|
| 621 |
+
525,
|
| 622 |
+
825,
|
| 623 |
+
575
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 4
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "Other definitions. Some authors define similar fairness measures in terms of directed paths (cf. \nd-separation) [11, 14, 18], which is a milder requirement as it allows correlation via non-causal paths. \nIn Appendix C we highlight the graphical conditions for these definitions. ",
|
| 630 |
+
"bbox": [
|
| 631 |
+
174,
|
| 632 |
+
593,
|
| 633 |
+
826,
|
| 634 |
+
636
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 4
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "5 Method: DECAF ",
|
| 641 |
+
"text_level": 1,
|
| 642 |
+
"bbox": [
|
| 643 |
+
174,
|
| 644 |
+
655,
|
| 645 |
+
349,
|
| 646 |
+
672
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 4
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "The primary design goal of DECAF is to generate fair synthetic data from unfair data. We separate DECAF into two stages. The training stage learns the causal conditionals that are observed in the data through a causally-informed GAN. At the generation (inference) stage, we intervene on the learned conditionals via Corollaries 1-3, in such a way that the generator creates fair data. We assume the underlying DGP’s graph $\\mathcal { G }$ is known; otherwise, $\\mathcal { G }$ needs to be approximated first using any causal discovery method, see Section 6. ",
|
| 653 |
+
"bbox": [
|
| 654 |
+
173,
|
| 655 |
+
688,
|
| 656 |
+
825,
|
| 657 |
+
771
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 4
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "5.1 Training ",
|
| 664 |
+
"text_level": 1,
|
| 665 |
+
"bbox": [
|
| 666 |
+
174,
|
| 667 |
+
789,
|
| 668 |
+
274,
|
| 669 |
+
804
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 4
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "Overview. This stage strives to learn the causal mechanisms $\\{ f _ { i } ( \\mathrm { P a } ( X _ { i } ) , Z _ { i } ) \\}$ . Each structural equation $f _ { i }$ (Eq. 1) is modelled by a separate generator $G _ { i } : \\mathbb { R } ^ { | P a ( X _ { i } ) | + 1 } \\mathbb { R }$ . We achieve this by employing a conditional GAN framework with a causal generator. This process is illustrated in Figure 2 and detailed below. ",
|
| 676 |
+
"bbox": [
|
| 677 |
+
174,
|
| 678 |
+
814,
|
| 679 |
+
825,
|
| 680 |
+
872
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 4
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "image",
|
| 686 |
+
"img_path": "images/e8cf5f2fe4f5bbb028f6684371bbe8787025750f394e14eba734addfcaece58e.jpg",
|
| 687 |
+
"image_caption": [
|
| 688 |
+
"Figure 2: Architecture. Training phase— Each component in $\\hat { \\bf X }$ is generated sequentially as a function (where the function is that component’s generator $G _ { i }$ ) of the component’s parents. Parental knowledge is provided by the DAG governing the data. Inference phase— As the component-wise generation of the generator network is independent of the DAG governing the data, we can easily replace (or intervene on) the DAG governing parental information. The resulting synthetic data (right) will be governed by the intervened DAG. FTU is achieved by removing: ✗; $D P$ : ✗✗✗; e.g. CF when $R = C$ : $x x$ . "
|
| 689 |
+
],
|
| 690 |
+
"image_footnote": [],
|
| 691 |
+
"bbox": [
|
| 692 |
+
176,
|
| 693 |
+
89,
|
| 694 |
+
825,
|
| 695 |
+
232
|
| 696 |
+
],
|
| 697 |
+
"page_idx": 5
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"type": "text",
|
| 701 |
+
"text": "Features are generated sequentially following the topological ordering of the underlying causal DAG: first root nodes are generated, then their children (from generated causal parents), etc. Variable ${ \\hat { X } } _ { i }$ is modelled by the associated generator $G _ { i }$ : ",
|
| 702 |
+
"bbox": [
|
| 703 |
+
174,
|
| 704 |
+
347,
|
| 705 |
+
825,
|
| 706 |
+
390
|
| 707 |
+
],
|
| 708 |
+
"page_idx": 5
|
| 709 |
+
},
|
| 710 |
+
{
|
| 711 |
+
"type": "equation",
|
| 712 |
+
"img_path": "images/a7d579cb3294d96251f8eea5990c8e9b1e9cc982efad27abefbc8041ffd7d7ff.jpg",
|
| 713 |
+
"text": "$$\n\\hat { X _ { i } } = G _ { i } ( \\hat { \\mathrm { P a } } ( X _ { i } ) , Z _ { i } ) \\quad \\forall i ,\n$$",
|
| 714 |
+
"text_format": "latex",
|
| 715 |
+
"bbox": [
|
| 716 |
+
405,
|
| 717 |
+
395,
|
| 718 |
+
591,
|
| 719 |
+
414
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 5
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "where $\\hat { \\operatorname { P a } } ( X _ { i } )$ denotes the generated causal parents of $X _ { i }$ (for root nodes the empty set), and each $Z _ { i }$ is independently sampled from $P ( Z )$ (e.g. standard Gaussian). We denote the full sequential generator by $G ( Z ) = [ G _ { 1 } ( Z _ { 1 } ) , . . . , G _ { d } ( \\cdot , Z _ { d } ) ]$ . ",
|
| 726 |
+
"bbox": [
|
| 727 |
+
174,
|
| 728 |
+
420,
|
| 729 |
+
825,
|
| 730 |
+
464
|
| 731 |
+
],
|
| 732 |
+
"page_idx": 5
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"type": "text",
|
| 736 |
+
"text": "Subsequently, the synthetic sample $\\hat { \\bf x }$ is passed to a discriminator $D : \\mathbb { R } ^ { d } \\mathbb { R }$ , which is trained to distinguish the generated samples from original samples. A typical minimax objective is employed for creating generated samples that confuse the discriminator most: ",
|
| 737 |
+
"bbox": [
|
| 738 |
+
174,
|
| 739 |
+
469,
|
| 740 |
+
825,
|
| 741 |
+
512
|
| 742 |
+
],
|
| 743 |
+
"page_idx": 5
|
| 744 |
+
},
|
| 745 |
+
{
|
| 746 |
+
"type": "equation",
|
| 747 |
+
"img_path": "images/825a23bbfd260af7c371b7e802b484341d08d7b21c9e24f008361b3f59fd48ca.jpg",
|
| 748 |
+
"text": "$$\n\\operatorname* { m a x } _ { \\{ G _ { i } \\} _ { i = 1 } ^ { d } } \\operatorname* { m i n } _ { D } \\mathbb { E } [ \\log D ( G ( Z ) ) + \\log ( 1 - D ( X ) ] ,\n$$",
|
| 749 |
+
"text_format": "latex",
|
| 750 |
+
"bbox": [
|
| 751 |
+
343,
|
| 752 |
+
516,
|
| 753 |
+
655,
|
| 754 |
+
542
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 5
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "text",
|
| 760 |
+
"text": "with $X$ sampled from the original data. We optimize the discriminator and generator iteratively and add a regularization loss to both networks. Network parameters are updated using gradient descent. ",
|
| 761 |
+
"bbox": [
|
| 762 |
+
176,
|
| 763 |
+
546,
|
| 764 |
+
825,
|
| 765 |
+
575
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 5
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "text",
|
| 771 |
+
"text": "If we assume $P _ { X } ( X )$ is compatible with graph $\\mathcal { G }$ , we can show that the sequential generator has the same theoretical convergence guarantees as standard GANs [20]: ",
|
| 772 |
+
"bbox": [
|
| 773 |
+
173,
|
| 774 |
+
580,
|
| 775 |
+
821,
|
| 776 |
+
609
|
| 777 |
+
],
|
| 778 |
+
"page_idx": 5
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"type": "text",
|
| 782 |
+
"text": "Theorem 2. (Convergence guarantee) Assuming the following three conditions hold: ",
|
| 783 |
+
"bbox": [
|
| 784 |
+
179,
|
| 785 |
+
613,
|
| 786 |
+
736,
|
| 787 |
+
627
|
| 788 |
+
],
|
| 789 |
+
"page_idx": 5
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"type": "text",
|
| 793 |
+
"text": "(i) data generating distribution $P _ { X }$ is Markov compatible with a known DAG $\\mathcal { G }$ ; ",
|
| 794 |
+
"bbox": [
|
| 795 |
+
181,
|
| 796 |
+
636,
|
| 797 |
+
714,
|
| 798 |
+
652
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 5
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "text",
|
| 804 |
+
"text": "(ii) generator $G$ and discriminator $D$ have enough capacity; and (iii) in every training step the discriminator is trained to optimality given fixed $G$ , and $G$ is subsequently updated as to maximize the discriminator loss (Eq. 3); ",
|
| 805 |
+
"bbox": [
|
| 806 |
+
179,
|
| 807 |
+
659,
|
| 808 |
+
614,
|
| 809 |
+
675
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 5
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "text",
|
| 815 |
+
"text": "",
|
| 816 |
+
"bbox": [
|
| 817 |
+
178,
|
| 818 |
+
683,
|
| 819 |
+
820,
|
| 820 |
+
712
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 5
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "text",
|
| 826 |
+
"text": "then generator distribution $P _ { G }$ converges to true data distribution $P _ { X }$ ",
|
| 827 |
+
"bbox": [
|
| 828 |
+
174,
|
| 829 |
+
720,
|
| 830 |
+
632,
|
| 831 |
+
736
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 5
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "text",
|
| 837 |
+
"text": "Proof. See Appendix B ",
|
| 838 |
+
"bbox": [
|
| 839 |
+
176,
|
| 840 |
+
750,
|
| 841 |
+
331,
|
| 842 |
+
765
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 5
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "text",
|
| 848 |
+
"text": "Condition (i), compatibility with $\\mathcal { G }$ , is a weaker assumption than assuming perfect causal knowledge. For example, suppose the Markov equivalence class of the true underlying DAG has been determined through causal discovery. In that case, any graph $\\mathcal { G }$ in the equivalence class is compatible with the data and can thus be used for synthetic data generation. However, we note that debiasing can require the correct directionality for some definitions of fairness, see Discussion. ",
|
| 849 |
+
"bbox": [
|
| 850 |
+
174,
|
| 851 |
+
779,
|
| 852 |
+
825,
|
| 853 |
+
849
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 5
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "text",
|
| 859 |
+
"text": "Remark. The causal GAN we propose, DECAF, is simple and extendable to other generative methods, e.g., VAEs. Furthermore, from the post-processing theorem [35] it follows that DECAF can be directly used for generating private synthetic data by replacing the standard discriminator by a differentially private discriminator [2, 36]. ",
|
| 860 |
+
"bbox": [
|
| 861 |
+
174,
|
| 862 |
+
854,
|
| 863 |
+
823,
|
| 864 |
+
911
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 5
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "text",
|
| 870 |
+
"text": "5.2 Inference-time Debiasing ",
|
| 871 |
+
"text_level": 1,
|
| 872 |
+
"bbox": [
|
| 873 |
+
174,
|
| 874 |
+
90,
|
| 875 |
+
388,
|
| 876 |
+
106
|
| 877 |
+
],
|
| 878 |
+
"page_idx": 6
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "text",
|
| 882 |
+
"text": "The training phase yields conditional generators $\\{ G _ { i } \\} _ { i = 1 } ^ { d }$ , which can be sequentially applied to generate data with the same output distribution as the original data (proof in Appendix B). The causal model allows us to go one step further: when the original data has characteristics that we do not want to propagate to the synthetic data (e.g., gender bias), individual generators can be modified to remove these characteristics. Given the generator’s graph $\\mathcal { G } = ( \\boldsymbol { X } , \\mathbf { \\bar { E } } )$ , fairness is achieved by removing edges such that the fairness criteria are met, see Section 4. Let $\\tilde { E } \\in E$ be the set of edges to remove for satisfying the required fairness definition. For CF, FTU and DP,5 the sets $\\tilde { E }$ are given by Corollaries 1, 2 and 3, respectively. ",
|
| 883 |
+
"bbox": [
|
| 884 |
+
173,
|
| 885 |
+
116,
|
| 886 |
+
825,
|
| 887 |
+
233
|
| 888 |
+
],
|
| 889 |
+
"page_idx": 6
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"text": "Removing an edge constitutes to what we call a “surrogate” $d o$ -operation [27] on the conditional distribution. For example, suppose we only want to remove $( i j )$ ). For a given sample, $X _ { i }$ is generated normally (Eq. 2), but $X _ { j }$ is generated using the modified: ",
|
| 894 |
+
"bbox": [
|
| 895 |
+
174,
|
| 896 |
+
238,
|
| 897 |
+
825,
|
| 898 |
+
281
|
| 899 |
+
],
|
| 900 |
+
"page_idx": 6
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "equation",
|
| 904 |
+
"img_path": "images/e3f5357434282a405e1f82b2f6890bda1e04d7b383ea3fc6c696850c25376598.jpg",
|
| 905 |
+
"text": "$$\n\\hat { X } _ { j } ^ { d o ( X _ { i } ) = \\tilde { x } _ { i j } } = G _ { j } ( . . . , X _ { i } = \\tilde { x } _ { i j } ) ,\n$$",
|
| 906 |
+
"text_format": "latex",
|
| 907 |
+
"bbox": [
|
| 908 |
+
383,
|
| 909 |
+
290,
|
| 910 |
+
611,
|
| 911 |
+
314
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 6
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"text": "where $X _ { i } ~ = ~ \\tilde { x } _ { i j }$ is the surrogate parent assignment. Value ${ \\hat { X } } _ { j } ^ { d o ( X _ { i } ) }$ can be interpreted as the counterfactual value of $\\hat { X _ { j } }$ , had $X _ { i }$ been equal to $\\tilde { x } _ { i j }$ (see also [15]). ",
|
| 918 |
+
"bbox": [
|
| 919 |
+
174,
|
| 920 |
+
324,
|
| 921 |
+
825,
|
| 922 |
+
361
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 6
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"text": "Choosing the value of surrogate variable $\\tilde { x } _ { i j }$ requires background knowledge of the task and bias at hand. For example, surrogate variable $\\tilde { x } _ { i j }$ can be sampled independently from a distribution for each synthetic sample (e.g., the marginal $P ( { \\bar { X } } _ { i } ) )$ , be set to a fixed value for all samples in the synthetic data (e.g., if $X _ { i }$ : gender, always set $\\tilde { x } _ { i j } = m a l e$ when generating feature $X _ { j }$ : job opportunity) or be chosen as to maximize/minimize some feature (e.g. $\\begin{array} { r } { \\tilde { x } _ { i j } = \\arg \\operatorname* { m a x } _ { x } \\hat { X } _ { j } ^ { d o ( X _ { i } ) = x } ) } \\end{array}$ . We emphasize that we do not set $X _ { i } = \\tilde { x } _ { i j }$ in the synthetic sample; $X _ { i } = \\tilde { x } _ { i j }$ is only used for substitution of the removed dependence. We provide more details in Appendix E. ",
|
| 929 |
+
"bbox": [
|
| 930 |
+
173,
|
| 931 |
+
366,
|
| 932 |
+
825,
|
| 933 |
+
469
|
| 934 |
+
],
|
| 935 |
+
"page_idx": 6
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "text",
|
| 939 |
+
"text": "More generally, we create surrogate variables for all edges we remove, $\\{ \\tilde { x } _ { i j } : ( i j ) \\in \\tilde { E } \\}$ . Each sample is sequentially generated by Eq. 4, with a surrogate variable for each removed incoming edge. ",
|
| 940 |
+
"bbox": [
|
| 941 |
+
173,
|
| 942 |
+
476,
|
| 943 |
+
823,
|
| 944 |
+
506
|
| 945 |
+
],
|
| 946 |
+
"page_idx": 6
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "text",
|
| 950 |
+
"text": "Remark. Multiple datasets can be created based on different definitions of fairness and/or different downstream prediction targets. Because debiasing happens at inference-time, this does not require retraining the model. ",
|
| 951 |
+
"bbox": [
|
| 952 |
+
174,
|
| 953 |
+
511,
|
| 954 |
+
825,
|
| 955 |
+
554
|
| 956 |
+
],
|
| 957 |
+
"page_idx": 6
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"type": "text",
|
| 961 |
+
"text": "6 Experiments ",
|
| 962 |
+
"text_level": 1,
|
| 963 |
+
"bbox": [
|
| 964 |
+
174,
|
| 965 |
+
575,
|
| 966 |
+
312,
|
| 967 |
+
592
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 6
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "text",
|
| 973 |
+
"text": "In this section, we validate the performance of DECAF for synthesizing bias-free data based on two datasets: i) real data with existing bias and ii) real data with synthetically injected bias. The aim of the former is to show that we can remove real, existing bias. The latter experiment provides a ground-truth unbiased target distribution, which means we can evaluate the quality of the synthetic dataset with respect to this ground truth. For example, when historically biased data is first debiased, a model trained on the synthetic data will likely create better predictions in contemporary, unbiased/less-biased settings than benchmarks that do not debias first. ",
|
| 974 |
+
"bbox": [
|
| 975 |
+
174,
|
| 976 |
+
607,
|
| 977 |
+
825,
|
| 978 |
+
705
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 6
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "In both experiments, the ground-truth DAG is unknown. We use causal discovery to uncover the underlying DAG and show empirically that the performance is still good. ",
|
| 985 |
+
"bbox": [
|
| 986 |
+
176,
|
| 987 |
+
712,
|
| 988 |
+
821,
|
| 989 |
+
739
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 6
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "text",
|
| 995 |
+
"text": "Benchmarks. We compare DECAF against the following benchmark generative methods: a GAN, a Wasserstein GAN with gradient penalty (WGAN-GP) [21] and FairGAN [17]. FairGAN is the only benchmark designed to generate synthetic fair data,6 whereas GAN and WGAN-GP only aim to match the original data’s distribution, regardless of inherent underlying bias. For these benchmarks, fair data can be generated by naively removing the protected variable – we refer to these methods with the PR (protected removal) suffix and provide more experimental results and insight into PR in Appendix A. We benchmark DECAF debiasing in four ways: i) with no inference-time debiasing (DECAF-ND), ii) under FTU (DECAF-FTU), iii) under CF (DECAF-CF) and iv) under DP fairness (DECAF-DP). We provide $\\mathrm { D E C A F ^ { 7 } }$ implementation details in Appendix D.1. ",
|
| 996 |
+
"bbox": [
|
| 997 |
+
173,
|
| 998 |
+
746,
|
| 999 |
+
826,
|
| 1000 |
+
843
|
| 1001 |
+
],
|
| 1002 |
+
"page_idx": 6
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"type": "table",
|
| 1006 |
+
"img_path": "images/20b9b11b3d53e42e118f688c0e61082e6a5fe008fbf05e81794bec0354efcc07.jpg",
|
| 1007 |
+
"table_caption": [
|
| 1008 |
+
"Table 2: Bias removal experiment on the Adult dataset [40]. The full table with protected attribute removal can be found in Appendix A. "
|
| 1009 |
+
],
|
| 1010 |
+
"table_footnote": [],
|
| 1011 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"3\">Data Quality</td><td colspan=\"2\">Fairness</td></tr><tr><td>Precision↑</td><td>Recall↑</td><td>AUROC↑</td><td>FTU↓</td><td>DP↓</td></tr><tr><td>Original data D</td><td>0.920±0.006</td><td>0.936 ±0.008</td><td>0.807 ± 0.004</td><td>0.116 ± 0.028</td><td>0.180 ± 0.010</td></tr><tr><td>GAN</td><td>0.607 ± 0.080</td><td>0.439±0.037</td><td>0.567 ± 0.132</td><td>0.023 ± 0.010</td><td>0.089 ± 0.008</td></tr><tr><td>WGAN-GP</td><td>0.683 ± 0.015</td><td>0.914 ± 0.005</td><td>0.798 ± 0.009</td><td>0.120 ± 0.014</td><td>0.189 ±0.024</td></tr><tr><td>FairGAN</td><td>0.681 ± 0.023</td><td>0.814 ± 0.079</td><td>0.766 ± 0.029</td><td>0.009±0.002</td><td>0.097 ± 0.018</td></tr><tr><td>DECAF-ND</td><td>0.780 ±0.023</td><td>0.920 ± 0.045</td><td>0.781 ± 0.007</td><td>0.152 ± 0.013</td><td>0.198 ± 0.013</td></tr><tr><td>DECAF-FTU</td><td>0.763 ± 0.033</td><td>0.925 ± 0.040</td><td>0.765 ± 0.010</td><td>0.004±0.004</td><td>0.054±0.005</td></tr><tr><td>DECAF-CF</td><td>0.743 ± 0.022</td><td>0.875 ± 0.038</td><td>0.769 ± 0.004</td><td>0.003 ±0.006</td><td>0.039 ± 0.011</td></tr><tr><td>DECAF-DP</td><td>0.781± 0.018</td><td>0.881±0.050</td><td>0.672 ± 0.014</td><td>0.001± 0.002</td><td>0.001 ± 0.001</td></tr></table>",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
205,
|
| 1014 |
+
128,
|
| 1015 |
+
787,
|
| 1016 |
+
262
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 7
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
173,
|
| 1025 |
+
271,
|
| 1026 |
+
823,
|
| 1027 |
+
300
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 7
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "Evaluation criteria. We evaluate DECAF using the following metrics: ",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
176,
|
| 1036 |
+
305,
|
| 1037 |
+
643,
|
| 1038 |
+
320
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 7
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "• Data quality is assessed using metrics of precision and recall [37, 38, 39]. Additionally, we evaluate all methods in terms of AUROC of predicting the target variable using a downstream classifier (MLP in these experiments) trained on synthetic data. \n• FTU is measured by calculating the difference between the predictions of a downstream classifier for setting $A$ to 1 and 0, respectively, such that $| \\bar { P } _ { A = 0 } ( \\hat { Y } | X ) - P _ { A = 1 } ( \\hat { Y } | X ) |$ , while keeping all other features the same. This difference measures the direct influence of $A$ on the prediction. \n• DP is measured in terms of the Total Variation [15]: the difference between the predictions of a downstream classifier in terms of positive to negative ratio between the different classes of protected variable $A$ , i.e., $| P ( \\hat { Y } | A = 0 ) - P ( \\hat { Y } | A = 1 ) |$ . ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
217,
|
| 1047 |
+
319,
|
| 1048 |
+
825,
|
| 1049 |
+
460
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 7
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "6.1 Debiasing Census Data ",
|
| 1056 |
+
"text_level": 1,
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
174,
|
| 1059 |
+
468,
|
| 1060 |
+
374,
|
| 1061 |
+
483
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 7
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "In this experiment, we are given a biased dataset ${ \\mathcal { D } } \\sim P ( X )$ and wish to create a synthetic (and debiased) dataset $\\mathcal { D } ^ { \\prime }$ , with which a downstream classifier can be trained and subsequently be rolled out in a setting with distribution $P ( X )$ . We experiment on the Adult dataset [40], with known bias between gender and income [10, 11]. The Adult dataset contains over 65,000 samples and has 11 attributes, such as age, education, gender, income, among others. Following [11], we treat gender as the protected variable and use income as the binary target variable representing whether a person earns over $\\$ 50 K$ or not. For DAG $\\mathcal { G }$ , we use the graph discovered and presented by Zhang et al. [11]. In Appendix D.2, we specify edge removals for DECAF-DP, DECAF-CF, and DECAF-FTU. ",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
173,
|
| 1070 |
+
486,
|
| 1071 |
+
825,
|
| 1072 |
+
598
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 7
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "Synthetic data is generated using each benchmark method, after which a separate MLP is trained on each dataset for computing the metrics; see Appendix D.2 for details. We repeat this experiment 10 times for each benchmark method and report the average in Table 2. As shown, DECAF-ND (no debiasing) performs amongst the best methods in terms of data utility. Because the data utility in this experiment is measured with respect to the original (biased) dataset, we see that the methods DECAF-FTU, DECAF-CF, and DECAF-DP score lower than DECAF-ND because these methods distort the distribution – with DECAF-DP distorting the label’s conditional distribution most and thus scoring worst in terms of AUROC. Note also that a downstream user who is only focused on performance would choose the synthetic data from WGAN-GP or DECAF-ND, which are also the most biased methods. Thus, we see that there is a trade-off between fairness and data utility when the evaluation distribution $P ( X )$ is the original biased data. ",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
173,
|
| 1081 |
+
603,
|
| 1082 |
+
825,
|
| 1083 |
+
756
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 7
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "6.2 Fair Credit Approval ",
|
| 1090 |
+
"text_level": 1,
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
173,
|
| 1093 |
+
763,
|
| 1094 |
+
361,
|
| 1095 |
+
779
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 7
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "In this experiment, direct bias, which was not previously present, is synthetically injected into a dataset $\\mathcal { D }$ resulting in a biased dataset $\\tilde { \\mathcal { D } }$ . We show how DECAF can remove the injected bias, resulting in dataset $\\mathcal { D } ^ { \\prime }$ that can be used to train a downstream classifier. This is a relevant scenario if the training data $\\tilde { D }$ does not follow real-world distribution $P ( X )$ , but instead a biased distribution ${ \\tilde { P } } ( X )$ (due to, e.g., historical bias). In this case, we want downstream models trained on synthetic data $\\mathcal { D } ^ { \\prime }$ to perform well on the real-world data $\\mathcal { D }$ instead of $\\tilde { \\mathcal { D } }$ . We show that DECAF is successful at removing the bias and how this results in higher data utility than benchmarks methods trained on $\\tilde { D }$ . ",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
173,
|
| 1104 |
+
782,
|
| 1105 |
+
826,
|
| 1106 |
+
890
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 7
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "image",
|
| 1112 |
+
"img_path": "images/aa7dbcb8f119395980d64c4616f848b718969e0bbe2f5d3e309f94758656594d.jpg",
|
| 1113 |
+
"image_caption": [
|
| 1114 |
+
"Figure 3: Plot of precision (a), recall (b), AUROC (c), FTU (d), and DP (e) over bias strength $\\beta$ . FairGAN performs similarly in terms of DP and FTU, but DECAF-FTU and DECAF-DP have significantly better data quality as well as down stream prediction capability (AUROC). "
|
| 1115 |
+
],
|
| 1116 |
+
"image_footnote": [],
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
179,
|
| 1119 |
+
83,
|
| 1120 |
+
818,
|
| 1121 |
+
188
|
| 1122 |
+
],
|
| 1123 |
+
"page_idx": 8
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"type": "text",
|
| 1127 |
+
"text": "We use the Credit Approval dataset from [40], with graph $\\mathcal { G }$ as discovered by the causal discovery algorithm FGES [41] using Tetrad [42] (details in Appendix D.3). We inject direct bias by decreasing the probability that a sample will have their credit approved based on the chosen $A$ .8 The credit_approval for this population was synthetically denied (set to 0) with some bias probability $\\beta$ , adding a directed edge between label and protected attribute. ",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
174,
|
| 1130 |
+
242,
|
| 1131 |
+
825,
|
| 1132 |
+
313
|
| 1133 |
+
],
|
| 1134 |
+
"page_idx": 8
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"type": "text",
|
| 1138 |
+
"text": "In Figure 3, we show the results of running our experiment 10 times over various bias probabilities $\\beta$ We benchmark against FairGAN, as it is the only benchmark designed for synthetic debiased data. Note that in this case, the causal DAG has only one indirect biased edge between the protected variable (see Appendix D), and thus DECAF-DP and DECAF-CF remove the same edges and are the same for this experiment. The plots show that DECAF-FTU and DECAF-DP have similar performance to FairGAN in terms of debiasing; however, all of the DECAF-\\* methods have significantly better data quality metrics: precision, recall, and AUROC. DECAF-DP is one of the best performers across all 5 of the evaluation metrics and has better DP performance under higher bias. As expected, DECAF-ND (no debiasing) has the same data quality performance in terms of precision and recall as DECAF-FTU and DECAF-DP and has diminishing performance in terms of downstream AUROC, FTU, and DP as bias strength increases. See Appendix D for other benchmarks, and the same experiment under hidden confounding in Appendix G. ",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
173,
|
| 1141 |
+
319,
|
| 1142 |
+
825,
|
| 1143 |
+
484
|
| 1144 |
+
],
|
| 1145 |
+
"page_idx": 8
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"type": "text",
|
| 1149 |
+
"text": "7 Discussion ",
|
| 1150 |
+
"text_level": 1,
|
| 1151 |
+
"bbox": [
|
| 1152 |
+
174,
|
| 1153 |
+
500,
|
| 1154 |
+
294,
|
| 1155 |
+
516
|
| 1156 |
+
],
|
| 1157 |
+
"page_idx": 8
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "text",
|
| 1161 |
+
"text": "We have proposed DECAF, a causally-aware GAN that generates fair synthetic data. DECAF’s sequential generation provides a natural way of removing these edges, with the advantage that the conditional generation of other features is left unaltered. We demonstrated on real datasets that the DECAF framework is both versatile and compatible with several popular definitions of fairness. Lastly, we provided theoretical guarantees on the generator’s convergence and fairness of downstream models. We next discuss limitations as well as applications and opportunities for future work. ",
|
| 1162 |
+
"bbox": [
|
| 1163 |
+
173,
|
| 1164 |
+
525,
|
| 1165 |
+
825,
|
| 1166 |
+
608
|
| 1167 |
+
],
|
| 1168 |
+
"page_idx": 8
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "text",
|
| 1172 |
+
"text": "Definitions. DECAF achieves fairness by removing edges between features, as we have shown for the popular FTU and DP definitions. Other independence-based [30] fairness definitions can be achieved by DECAF too, as we show in Appendix C. Just like related debiasing works [10, 11, 16, 17], DECAF is not compatible with fairness definitions based on separation or sufficiency [30], as these definitions depend on the downstream model more explicitly (e.g. Equality of Opportunity [12]). More on this in Appendix C. ",
|
| 1173 |
+
"bbox": [
|
| 1174 |
+
174,
|
| 1175 |
+
614,
|
| 1176 |
+
825,
|
| 1177 |
+
698
|
| 1178 |
+
],
|
| 1179 |
+
"page_idx": 8
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "text",
|
| 1183 |
+
"text": "Incorrect DAG specification. Our method relies on the provision of causal structure in the form of a DAG for i) deciding the sequential order of feature generation and ii) deciding which edges to remove to achieve fairness. This graph need not be known a priori and can be discovered instead. If discovered, the DAG needs not equal the true DAG for many definitions of fairness, including FTU and DP, but only some (in)dependence statements are required to be correct (see Proposition 1). This is shown in the Experiments, where the DAG was discovered with the PC algorithm [47] and TETRAD [42]. Furthermore, in Appendix B we prove that the causal generator converges to the right distribution for any graph that is Markov compatible with the data. We reiterate, however, that knowing (part of) the true graph is still helpful because i) it often leads to simpler functions $\\{ f _ { i } \\} _ { i = 1 } ^ { d }$ to approximate,9 and ii) some causal fairness definitions do require correct directionality—see Appendix ",
|
| 1184 |
+
"bbox": [
|
| 1185 |
+
173,
|
| 1186 |
+
704,
|
| 1187 |
+
825,
|
| 1188 |
+
844
|
| 1189 |
+
],
|
| 1190 |
+
"page_idx": 8
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "text",
|
| 1194 |
+
"text": "C. In Appendix F, we include an ablation study on how errors in the DAG specification affect data quality and downstream fairness. ",
|
| 1195 |
+
"bbox": [
|
| 1196 |
+
173,
|
| 1197 |
+
92,
|
| 1198 |
+
823,
|
| 1199 |
+
119
|
| 1200 |
+
],
|
| 1201 |
+
"page_idx": 9
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"type": "text",
|
| 1205 |
+
"text": "Causal sufficiency. We have focused on just one type of graph: causally-sufficient directed graphs. Extending this to undirected or mixed graphs is possible as long as the generation order reflects a valid factorization of the observed distribution. This includes settings with hidden confounders. We note that for some definitions of bias, e.g., counterfactual bias, directionality is essential and hidden confounders would need to be corrected for (which is not generally possible). ",
|
| 1206 |
+
"bbox": [
|
| 1207 |
+
174,
|
| 1208 |
+
126,
|
| 1209 |
+
825,
|
| 1210 |
+
195
|
| 1211 |
+
],
|
| 1212 |
+
"page_idx": 9
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "text",
|
| 1216 |
+
"text": "Time-series. We have focused on the tabular domain. The method can be extended to other domains with causal interaction between features, e.g., time-series. Application to image data is non-trivial, partly because, in this instance, the protected attribute (e.g., skin color) does not correspond to a single observed feature. DECAF might be extended to this setting in the future by first constructing a graph in a disentangled latent space (e.g., [24, 25]). ",
|
| 1217 |
+
"bbox": [
|
| 1218 |
+
174,
|
| 1219 |
+
202,
|
| 1220 |
+
825,
|
| 1221 |
+
271
|
| 1222 |
+
],
|
| 1223 |
+
"page_idx": 9
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "text",
|
| 1227 |
+
"text": "Social implications. Fairness is task and context-dependent, requiring careful public debate. With that being said, DECAF empowers data issuers to take responsibility for downstream model fairness. We hope that this progresses the ubiquity of fairness in machine learning. ",
|
| 1228 |
+
"bbox": [
|
| 1229 |
+
173,
|
| 1230 |
+
277,
|
| 1231 |
+
825,
|
| 1232 |
+
320
|
| 1233 |
+
],
|
| 1234 |
+
"page_idx": 9
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "text",
|
| 1238 |
+
"text": "Acknowledgements ",
|
| 1239 |
+
"text_level": 1,
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
176,
|
| 1242 |
+
339,
|
| 1243 |
+
338,
|
| 1244 |
+
356
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 9
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "We would like to thank the reviewers for their time and valuable feedback. This research was funded by the Office of Naval Research and the WD Armstrong Trust. ",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
174,
|
| 1253 |
+
371,
|
| 1254 |
+
823,
|
| 1255 |
+
400
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 9
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "References ",
|
| 1262 |
+
"text_level": 1,
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
174,
|
| 1265 |
+
420,
|
| 1266 |
+
266,
|
| 1267 |
+
436
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 9
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "text",
|
| 1273 |
+
"text": "[1] Ahmed M Alaa, Boris van Breugel, Evgeny Saveliev, and Mihaela van der Schaar. How faithful is your synthetic data? sample-level metrics for evaluating and auditing generative models. arXiv preprint arXiv:2102.08921, 2021. \n[2] Liyang Xie, Kaixiang Lin, Shu Wang, Fei Wang, and Jiayu Zhou. Differentially private generative adversarial network. CoRR, abs/1802.06739, 2018. URL http://arxiv.org/ abs/1802.06739. \n[3] Jinsung Yoon, L. Drumright, and M. van der Schaar. Anonymization through data synthesis using generative adversarial networks (ads-gan). IEEE Journal of Biomedical and Health Informatics, 24:2378–2388, 2020. \n[4] Jason Tashea. Courts are using ai to sentence criminals. that must stop now. WIRED, Apr 2017. URL https://www.wired.com/2017/04/ courts-using-ai-sentence-criminals-must-stop-now/. \n[5] Jeffrey Dastin. Amazon scraps secret AI recruiting tool that showed bias against women. Reuters, 2018. \n[6] Kaiji Lu, Piotr Mardziel, Fangjing Wu, Preetam Amancharla, and Anupam Datta. Gender bias in neural natural language processing. CoRR, abs/1807.11714, 2018. URL http://arxiv. org/abs/1807.11714. [7] Daniel de Vassimon Manela, David Errington, Thomas Fisher, Boris van Breugel, and Pasquale Minervini. Stereotype and skew: Quantifying gender bias in pre-trained and fine-tuned language models. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 2232–2242, Online, April 2021. Association for Computational Linguistics. URL https://www.aclweb.org/anthology/2021. eacl-main.190. \n[8] Achuta Kadambi. Achieving fairness in medical devices. Science, 372(6537):30–31, 2021. \n[9] Faisal Kamiran and Toon Calders. Classifying without discriminating. In 2009 2nd International Conference on Computer, Control and Communication, pages 1–6. IEEE, 2009. \n[10] Michael Feldman, Sorelle A Friedler, John Moeller, Carlos Scheidegger, and Suresh Venkatasubramanian. Certifying and removing disparate impact. In proceedings of the 21th ACM SIGKDD international conference on knowledge discovery and data mining, pages 259–268, 2015. \n[11] Lu Zhang, Yongkai Wu, and Xintao Wu. A causal framework for discovering and removing direct and indirect discrimination. In Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, IJCAI-17, pages 3929–3935, 2017. doi: 10.24963/ijcai. 2017/549. URL https://doi.org/10.24963/ijcai.2017/549. \n[12] Moritz Hardt, Eric Price, and Nathan Srebro. Equality of opportunity in supervised learning. In Proceedings of the 30th International Conference on Neural Information Processing Systems, NIPS’16, page 3323–3331, Red Hook, NY, USA, 2016. Curran Associates Inc. ISBN 9781510838819. \n[13] Matt J Kusner, Joshua Loftus, Chris Russell, and Ricardo Silva. Counterfactual fairness. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips.cc/paper/2017/file/ a486cd07e4ac3d270571622f4f316ec5-Paper.pdf. \n[14] Niki Kilbertus, Mateo Rojas Carulla, Giambattista Parascandolo, Moritz Hardt, Dominik Janzing, and Bernhard Schölkopf. Avoiding discrimination through causal reasoning. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips.cc/paper/2017/file/ f5f8590cd58a54e94377e6ae2eded4d9-Paper.pdf. \n[15] Junzhe Zhang and Elias Bareinboim. Fairness in decision-making—the causal explanation formula. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32, 2018. \n[16] Flavio P. Calmon, Dennis Wei, Karthikeyan Natesan Ramamurthy, and Kush R. Varshney. Optimized data pre-processing for discrimination prevention, 2017. \n[17] Depeng Xu, Shuhan Yuan, Lu Zhang, and Xintao Wu. Fairgan: Fairness-aware generative adversarial networks. In 2018 IEEE International Conference on Big Data (Big Data), pages 570–575. IEEE, 2018. \n[18] Razieh Nabi and Ilya Shpitser. Fair inference on outcomes. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32, 2018. \n[19] Diederik P. Kingma and M. Welling. Auto-encoding variational bayes. ICLR, abs/1312.6114, 2014. \n[20] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Y. Bengio. Generative adversarial networks. Advances in Neural Information Processing Systems, 3, 06 2014. doi: 10.1145/3422622. \n[21] Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron C Courville. Improved training of wasserstein gans. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips. cc/paper/2017/file/892c3b1c6dccd52936e27cbd0ff683d6-Paper.pdf. \n[22] Rich Zemel, Yu Wu, Kevin Swersky, Toni Pitassi, and Cynthia Dwork. Learning fair representations. In International conference on machine learning, pages 325–333. PMLR, 2013. \n[23] Depeng Xu, Yongkai Wu, Shuhan Yuan, Lu Zhang, and Xintao Wu. Achieving causal fairness through generative adversarial networks. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, 2019. \n[24] Murat Kocaoglu, Christopher Snyder, Alexandros G Dimakis, and Sriram Vishwanath. Causalgan: Learning causal implicit generative models with adversarial training. arXiv preprint arXiv:1709.02023, 2017. \n[25] Mengyue Yang, Furui Liu, Zhitang Chen, Xinwei Shen, Jianye Hao, and Jun Wang. Causalvae: Disentangled representation learning via neural structural causal models, 2021. \n[26] Kristy Choi, Aditya Grover, Trisha Singh, Rui Shu, and Stefano Ermon. Fair generative modeling via weak supervision. In International Conference on Machine Learning, pages 1887–1898. PMLR, 2020. \n[27] Judea Pearl. Causality. Cambridge university press, 2009. \n[28] Solon Barocas and Andrew D Selbst. Big data’s disparate impact. Calif. L. Rev., 104:671, 2016. \n[29] Faisal Kamiran, Indre Žliobait ˙ e, and Toon Calders. Quantifying explainable discrimination and ˙ removing illegal discrimination in automated decision making. Knowledge and Information Systems, 1:in press, 06 2012. doi: 10.1007/s10115-012-0584-8. \n[30] Solon Barocas, Moritz Hardt, and Arvind Narayanan. Fairness in machine learning. Nips tutorial, 1:2, 2017. \n[31] Nina Grgic-Hlaca, Muhammad Bilal Zafar, Krishna P Gummadi, and Adrian Weller. The case for process fairness in learning: Feature selection for fair decision making. In NIPS Symposium on Machine Learning and the Law, volume 1, page 2, 2016. \n[32] Muhammad Bilal Zafar, Isabel Valera, Manuel Gomez Rogriguez, and Krishna P Gummadi. Fairness constraints: Mechanisms for fair classification. In Artificial Intelligence and Statistics, pages 962–970. PMLR, 2017. \n[33] Edward H Simpson. The interpretation of interaction in contingency tables. Journal of the Royal Statistical Society: Series B (Methodological), 13(2):238–241, 1951. \n[34] Jonas Peters, Dominik Janzing, and Bernhard Schölkopf. Elements of causal inference: foundations and learning algorithms. The MIT Press, 2017. \n[35] Cynthia Dwork, Aaron Roth, et al. The algorithmic foundations of differential privacy. Foundations and Trends in Theoretical Computer Science, 9(3-4):211–407, 2014. \n[36] James Jordon, Jinsung Yoon, and M. Schaar. Pate-gan: Generating synthetic data with differential privacy guarantees. In ICLR, 2019. \n[37] Mehdi S. M. Sajjadi, Olivier Bachem, Mario Lucic, Olivier Bousquet, and Sylvain Gelly. Assessing generative models via precision and recall. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018. \n[38] Tuomas Kynkäänniemi, Tero Karras, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Improved precision and recall metric for assessing generative models. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019. \n[39] Peter Flach and Meelis Kull. Precision-recall-gain curves: Pr analysis done right. In C. Cortes, N. Lawrence, D. Lee, M. Sugiyama, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 28. Curran Associates, Inc., 2015. \n[40] Dheeru Dua and Casey Graff. UCI machine learning repository, 2020. URL http://archive. ics.uci.edu/ml. \n[41] Joseph Ramsey, Madelyn Glymour, Ruben Sanchez-Romero, and Clark Glymour. A million variables and more: the fast greedy equivalence search algorithm for learning high-dimensional graphical causal models, with an application to functional magnetic resonance images. International Journal of Data Science and Analytics, 3(2):121–129, Mar 2017. ISSN 2364-4168. doi: 10.1007/s41060-016-0032-z. \n[42] Clark Glymour, Richard Scheines, Peter Spirtes, and Joseph Ramsey. Tetrad, 2019. URL http://www.phil.cmu.edu/tetrad/index.html. \n[43] Robert B. Avery, Kenneth P. Brevoort, and Glenn Canner. Credit scoring and its effects on the availability and affordability of credit. Journal of Consumer Affairs, 43(3):516–537, 2009. doi: https://doi.org/10.1111/j.1745-6606.2009.01151.x. \n[44] Robert B. Avery, Kenneth P. Brevoort, and Glenn Canner. Does credit scoring produce a disparate impact? Real Estate Economics, 40(s1):S65–S114, 2012. doi: https://doi.org/10.1111/ j.1540-6229.2012.00348.x. \n[45] Will Dobbie, Andres Liberman, Daniel Paravisini, and Vikram Pathania. Measuring bias in consumer lending. Working Paper 24953, National Bureau of Economic Research, August 2018. URL http://www.nber.org/papers/w24953. \n[46] P. K. Lohia, K. Natesan Ramamurthy, M. Bhide, D. Saha, K. R. Varshney, and R. Puri. Bias mitigation post-processing for individual and group fairness. In ICASSP 2019 - 2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 2847– 2851, 2019. doi: 10.1109/ICASSP.2019.8682620. \n[47] Peter Spirtes, Clark N Glymour, Richard Scheines, and David Heckerman. Causation, prediction, and search. MIT press, 2000. \n[48] Anita M Alessandra. When doctrines collide: Disparate treatment, disparate impact, and watson v. fort worth bank & trust. U. Pa. L. Rev., 137:1755, 1988. ",
|
| 1274 |
+
"bbox": [
|
| 1275 |
+
171,
|
| 1276 |
+
441,
|
| 1277 |
+
828,
|
| 1278 |
+
911
|
| 1279 |
+
],
|
| 1280 |
+
"page_idx": 9
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "text",
|
| 1284 |
+
"text": "",
|
| 1285 |
+
"bbox": [
|
| 1286 |
+
171,
|
| 1287 |
+
66,
|
| 1288 |
+
828,
|
| 1289 |
+
916
|
| 1290 |
+
],
|
| 1291 |
+
"page_idx": 10
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "text",
|
| 1295 |
+
"text": "",
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
169,
|
| 1298 |
+
63,
|
| 1299 |
+
828,
|
| 1300 |
+
914
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 11
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "",
|
| 1307 |
+
"bbox": [
|
| 1308 |
+
171,
|
| 1309 |
+
90,
|
| 1310 |
+
826,
|
| 1311 |
+
152
|
| 1312 |
+
],
|
| 1313 |
+
"page_idx": 12
|
| 1314 |
+
}
|
| 1315 |
+
]
|
parse/train/XN1M27T6uux/XN1M27T6uux_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/XN1M27T6uux/XN1M27T6uux_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rygqqsA9KX/rygqqsA9KX.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rygqqsA9KX/rygqqsA9KX_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rygqqsA9KX/rygqqsA9KX_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rygqqsA9KX/rygqqsA9KX_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|