Datasets:
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- parse/train/-TwO99rbVRu/-TwO99rbVRu.md +331 -0
- parse/train/-TwO99rbVRu/-TwO99rbVRu_content_list.json +1615 -0
- parse/train/-TwO99rbVRu/-TwO99rbVRu_middle.json +0 -0
- parse/train/-TwO99rbVRu/-TwO99rbVRu_model.json +0 -0
- parse/train/E4PK0rg2eP/E4PK0rg2eP.md +328 -0
- parse/train/E4PK0rg2eP/E4PK0rg2eP_content_list.json +1651 -0
- parse/train/E4PK0rg2eP/E4PK0rg2eP_middle.json +0 -0
- parse/train/E4PK0rg2eP/E4PK0rg2eP_model.json +0 -0
- parse/train/OItvP2-i9j/OItvP2-i9j.md +487 -0
- parse/train/OItvP2-i9j/OItvP2-i9j_model.json +0 -0
- parse/train/PQlC91XxqK5/PQlC91XxqK5.md +331 -0
- parse/train/PQlC91XxqK5/PQlC91XxqK5_content_list.json +1705 -0
- parse/train/PQlC91XxqK5/PQlC91XxqK5_middle.json +0 -0
- parse/train/PQlC91XxqK5/PQlC91XxqK5_model.json +0 -0
- parse/train/SkmiegW0b/SkmiegW0b.md +250 -0
- parse/train/SkmiegW0b/SkmiegW0b_content_list.json +1155 -0
- parse/train/SkmiegW0b/SkmiegW0b_middle.json +0 -0
- parse/train/SkmiegW0b/SkmiegW0b_model.json +0 -0
- parse/train/rklEj2EFvB/rklEj2EFvB_content_list.json +0 -0
- parse/train/rklEj2EFvB/rklEj2EFvB_middle.json +0 -0
- vlm/train/3-GCM92yaB3/0.png +3 -0
- vlm/train/3-GCM92yaB3/1.png +3 -0
- vlm/train/3-GCM92yaB3/10.png +3 -0
- vlm/train/3-GCM92yaB3/11.png +3 -0
- vlm/train/3-GCM92yaB3/12.png +3 -0
- vlm/train/3-GCM92yaB3/13.png +3 -0
- vlm/train/3-GCM92yaB3/2.png +3 -0
- vlm/train/3-GCM92yaB3/3.png +3 -0
- vlm/train/3-GCM92yaB3/4.png +3 -0
- vlm/train/3-GCM92yaB3/5.png +3 -0
- vlm/train/3-GCM92yaB3/6.png +3 -0
- vlm/train/3-GCM92yaB3/7.png +3 -0
- vlm/train/3-GCM92yaB3/8.png +3 -0
- vlm/train/3-GCM92yaB3/9.png +3 -0
- vlm/train/4AWko4A35ss/0.png +3 -0
- vlm/train/4AWko4A35ss/1.png +3 -0
- vlm/train/4AWko4A35ss/10.png +3 -0
- vlm/train/4AWko4A35ss/11.png +3 -0
- vlm/train/4AWko4A35ss/12.png +3 -0
- vlm/train/4AWko4A35ss/13.png +3 -0
- vlm/train/4AWko4A35ss/14.png +3 -0
- vlm/train/4AWko4A35ss/15.png +3 -0
- vlm/train/4AWko4A35ss/2.png +3 -0
- vlm/train/4AWko4A35ss/3.png +3 -0
- vlm/train/4AWko4A35ss/4.png +3 -0
- vlm/train/4AWko4A35ss/5.png +3 -0
- vlm/train/4AWko4A35ss/6.png +3 -0
- vlm/train/4AWko4A35ss/7.png +3 -0
- vlm/train/4AWko4A35ss/8.png +3 -0
- vlm/train/4AWko4A35ss/9.png +3 -0
parse/train/-TwO99rbVRu/-TwO99rbVRu.md
ADDED
|
@@ -0,0 +1,331 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PSEUDOSEG: DESIGNING PSEUDO LABELS FOR SEMANTIC SEGMENTATION
|
| 2 |
+
|
| 3 |
+
Yuliang $\mathbf { Z o u } ^ { 1 * }$ Zizhao Zhang2 Han Zhang3 Chun-Liang Li2 Xiao Bian2 Jia-Bin Huang1 Tomas Pfister2 1Virginia Tech 2Google Cloud AI 3Google Brain
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Recent advances in semi-supervised learning (SSL) demonstrate that a combination of consistency regularization and pseudo-labeling can effectively improve image classification accuracy in the low-data regime. Compared to classification, semantic segmentation tasks require much more intensive labeling costs. Thus, these tasks greatly benefit from data-efficient training methods. However, structured outputs in segmentation render particular difficulties (e.g., designing pseudo-labeling and augmentation) to apply existing SSL strategies. To address this problem, we present a simple and novel re-design of pseudo-labeling to generate well-calibrated structured pseudo labels for training with unlabeled or weaklylabeled data. Our proposed pseudo-labeling strategy is network structure agnostic to apply in a one-stage consistency training framework. We demonstrate the effectiveness of the proposed pseudo-labeling strategy in both low-data and highdata regimes. Extensive experiments have validated that pseudo labels generated from wisely fusing diverse sources and strong data augmentation are crucial to consistency training for semantic segmentation. The source code is available at https://github.com/googleinterns/wss.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Image semantic segmentation is a core computer vision task that has been studied for decades. Compared with other vision tasks, such as image classification and object detection, human annotation of pixel-accurate segmentation is dramatically more expensive. Given sufficient pixellevel labeled training data (i.e., high-data regime), the current state-of-the-art segmentation models (e.g., DeepLabv $^ { 3 + }$ (Chen et al., 2018)) produce satisfactory segmentation prediction for common practical usage. Recent exploration demonstrates improvement over high-data regime settings with large-scale data, including self-training (Chen et al., 2020a; Zoph et al., 2020) and backbone pretraining (Zhang et al., 2020a).
|
| 12 |
+
|
| 13 |
+
In contrast to the high-data regime, the performance of segmentation models drop significantly, given very limited pixel-labeled data (i.e., low-data regime). Such ineffectiveness at the low-data regime hinders the applicability of segmentation models. Therefore, instead of improving high-data regime segmentation, our work focuses on data-efficient segmentation training that only relies on few pixellabeled data and leverages the availability of extra unlabeled or weakly annotated (e.g., image-level) data to improve performance, with the aim of narrowing the gap to the supervised models trained with fully pixel-labeled data.
|
| 14 |
+
|
| 15 |
+
Our work is inspired by the recent success in semi-supervised learning (SSL) for image classification, demonstrating promising performance given very limited labeled data and a sufficient amount of unlabeled data. Successful examples include MeanTeacher (Tarvainen & Valpola, 2017), UDA (Xie et al., 2019), MixMatch (Berthelot et al., 2019b), FeatMatch (Kuo et al., 2020), and FixMatch (Sohn et al., 2020a). One outstanding idea in this type of SSL is consistency training: making predictions consistent among multiple augmented images. FixMatch (Sohn et al., 2020a) shows that using high-confidence one-hot pseudo labels obtained from weakly-augmented unlabeled data to train strongly-augmented counterpart is the key to the success of SSL in image classification.
|
| 16 |
+
|
| 17 |
+
However, effective pseudo labels and well-designed data augmentation are non-trivial to satisfy for semantic segmentation. Although we observe that many related works explore the second condition (i.e., augmentation) for image segmentation to enable consistency training framework (French et al., 2020; Ouali et al., 2020), we show that a wise design of pseudo labels for segmentation has great veiled potentials.
|
| 18 |
+
|
| 19 |
+
In this paper, we propose PseudoSeg, a one-stage training framework to improve image semantic segmentation by leveraging additional data either with image-level labels (weakly-labeled data) or without any labels. PseudoSeg presents a novel design of pseudo-labeling to infer effective structured pseudo labels of additional data. It then optimizes the prediction of strongly-augmented data to match its corresponding pseudo labels. In summary, we make the following contributions:
|
| 20 |
+
|
| 21 |
+
• We propose a simple one-stage framework to improve semantic segmentation by using a limited amount of pixel-labeled data and sufficient unlabeled data or image-level labeled data. Our framework is simple to apply and therefore network architecture agnostic. Directly applying consistency training approaches validated in image classification renders particular challenges in segmentation. We first demonstrate how well-calibrated soft pseudo labels obtained through wise fusion of predictions from diverse sources can greatly improve consistency training for segmentation. We conduct extensive experimental studies on the PASCAL VOC 2012 and COCO datasets. Comprehensive analyses are conducted to validate the effectiveness of this method at not only the low-data regime but also the high-data regime. Our experiments study multiple important open questions about transferring SSL advances to segmentation tasks.
|
| 22 |
+
|
| 23 |
+
# 2 RELATED WORK
|
| 24 |
+
|
| 25 |
+
Semi-supervised classification. Semi-supervised learning (SSL) aims to improve model performance by incorporating a large amount of unlabeled data during training. Consistency regularization and entropy minimization are two common strategies for SSL. The intuition behind consistencybased approaches (Laine & Aila, 2016; Sajjadi et al., 2016; Miyato et al., 2018; Tarvainen & Valpola, 2017) is that, the model output should remain unchanged when the input is perturbed. On the other hand, the entropy minimization strategy (Grandvalet & Bengio, 2005) argues that the unlabeled data can be used to ensured classes are well-separated, which can be achieved by encouraging the model to output low-entropy predictions. Pseudo-labeling (Lee, 2013) is one of the methods for implicit entropy minimization. Recently, holistic approaches (Berthelot et al., 2019b;a; Sohn et al., 2020a) combining both strategies have been proposed and achieved significant improvement. By redesigning the pseudo label, we propose an efficient one-stage semi-supervised learning framework of semantic segmentation for consistency training.
|
| 26 |
+
|
| 27 |
+
Semi-supervised semantic segmentation. Collecting pixel-level annotations for semantic segmentation is costly and prone to error. Hence, leveraging unlabeled data in semantic segmentation is a natural fit. Early methods utilize a GAN-based model either to generate additional training data (Souly et al., 2017) or to learn a discriminator between the prediction and the ground truth mask (Hung et al., 2018; Mittal et al., 2019). Consistency regularization based approaches have also been proposed recently, by enforcing the predictions to be consistent, either from augmented input images (French et al., 2020; Kim et al., 2020), perturbed feature embeddings (Ouali et al., 2020), or different networks (Ke et al., 2020). Recently, Luo & Yang (2020) proposes a dual-branch training network to jointly learn from pixel-accurate and coarse labeled data, achieving good segmentation performance. To push the performance of state of the arts, iterative self-training approaches (Chen et al., 2020a; Zoph et al., 2020; Zhu et al., 2020) have been proposed. These methods usually assume the available labeled data is enough to train a good teacher model, which will be used to generate pseudo labels for the student model. However, this condition might not satisfy in the low-data regime. Our proposed method, on the other hand, realizing the ideas of both consistency regularization and pseudo-labeling in segmentation, consistently improves the supervised baseline in both low-data and high-data regimes.
|
| 28 |
+
|
| 29 |
+
Weakly-supervised semantic segmentation. Instead of supervising network training with accurate pixel-level labels, many prior works exploit weaker forms of annotations (e.g., bounding boxes (Dai et al., 2015), scribbles (Lin et al., 2016), image-level labels). Most recent approaches use imagelevel labels as the supervisory signal, which exploits the idea of class activation map (CAM) (Zhou et al., 2016). Since the vanilla CAM only focus on the most discriminative region of objects, different ways to refine CAM have been proposed, including partial image/feature erasing (Hou et al., 2018; Wei et al., 2017; Li et al., 2018), using an additional saliency estimation model (Oh et al., 2017; Huang et al., 2018; Wei et al., 2018), utilizing pixel similarity to propagate the initial score map (Ahn & Kwak, 2018; Wang et al., 2020), or mining and co-segment the same category of objects across images (Sun et al., 2020; Zhang et al., 2020b). While achieving promising results using the approaches mentioned above, most of them require a multi-stage training strategy. The refined score maps are optimized again using a dense-CRF model (Krahenb ¨ uhl & Koltun ¨ , 2011), and then used as the target to train a separate segmentation network. On the other hand, we assume there exists a small number of fully-annotated data, which allows us to learn stronger segmentation models than general methods without needing pixel-labeled data.
|
| 30 |
+
|
| 31 |
+

|
| 32 |
+
Figure 1: Overview of unlabeled data training branch. Given an image, the weakly augmented version is fed into the network to get the decoder prediction and Self-attention Grad-CAM (SGC). The two sources are then combined via a calibrated fusion strategy to form the pseudo label. The network is trained to make its decoder prediction from strongly augmented image to match the pseudo label by a per-pixel cross-entropy loss.
|
| 33 |
+
|
| 34 |
+
# 3 THE PROPOSED METHOD
|
| 35 |
+
|
| 36 |
+
In analogous to SSL for classification, our training objective in PseudoSeg consists of a supervised loss $\mathcal { L } _ { \mathrm { s } }$ applied to pixel-level labeled data $\mathcal { D } _ { l }$ , and a consistency constraint $\mathcal { L } _ { \mathrm { u } }$ applied to unlabeled data $\mathcal { D } _ { u }$ 1. Specifically, the supervised loss $\mathcal { L } _ { \mathrm { s } }$ is the standard pixel-wise cross-entropy loss on the weakly augmented pixel-level labeled examples:
|
| 37 |
+
|
| 38 |
+
$$
|
| 39 |
+
\mathcal { L } _ { \mathrm { s } } = \frac { 1 } { N \times | \mathcal { D } _ { l } | } \sum _ { x \in \mathcal { D } _ { l } } \sum _ { i = 0 } ^ { N - 1 } \mathrm { C r o s s E n t r o p y } \left( y _ { i } , f _ { \theta } ( \omega ( x _ { i } ) ) \right) ,
|
| 40 |
+
$$
|
| 41 |
+
|
| 42 |
+
where $\theta$ represents the learnable parameters of the network function $f$ and $N$ denotes the number of valid labeled pixels in an image $\boldsymbol { x } \in \mathbb { R } ^ { H \times W \times 3 }$ . $y _ { i } \in \mathbb { R } ^ { C }$ is the ground truth label of a pixel $i$ in $H \times W$ dimensions, and $f _ { \theta } ( \omega ( x _ { i } ) ) \in \mathbb { R } ^ { C }$ is the predicted probability of pixel $i$ , where $C$ is the number of classes to predict and $\omega ( \cdot )$ denotes the weak (common) data augmentation operations used by Chen et al. (2018).
|
| 43 |
+
|
| 44 |
+
During training, the proposed PseudoSeg estimates a pseudo label $\widetilde { y } \in \mathbb { R } ^ { H \times W \times C }$ for each stronglyaugmented unlabeled data $x$ in $\mathcal { D } _ { u }$ e, which is then used for computing the cross-entropy loss. The unsupervised objective can then be written as:
|
| 45 |
+
|
| 46 |
+
$$
|
| 47 |
+
\mathcal { L } _ { \sf u } = \frac { 1 } { N \times | \mathcal { D } _ { u } | } \sum _ { x \in \mathcal { D } _ { u } } \sum _ { i = 0 } ^ { N - 1 } \mathrm { C r o s s E n t r o p y } \left( \widetilde { y } _ { i } , f _ { \theta } ( \beta \circ \omega ( x _ { i } ) ) \right) ,
|
| 48 |
+
$$
|
| 49 |
+
|
| 50 |
+
where $\beta ( \cdot )$ denotes a stronger data augmentation operation, which will be described in Section 3.2.
|
| 51 |
+
We illustrate the unlabeled data training branch in Figure 1.
|
| 52 |
+
|
| 53 |
+
# 3.1 THE DESIGN OF STRUCTURED PSEUDO LABELS
|
| 54 |
+
|
| 55 |
+
The next important question is how to generate the desirable pseudo label $\widetilde { y }$ . A straightforward soluetion is directly using the decoder output of a trained segmentation model after confidence thresholding, as suggested by Sohn et al. (2020a); Zoph et al. (2020); Xie et al. (2020); Sohn et al. (2020b). However, as we demonstrate later in the experiments, the generated pseudo hard/soft labels as well as other post-processing of outputs are barely satisfactory in the low-data regime, and thus yield inferior final results. To address this issue, our design of pseudo-labeling has two key insights. First, we seek for a distinct yet efficient decision mechanisms to compensate for the potential errors of decoder outputs. Second, wisely fusing multiple sources of predictions to generate an ensemble and better-calibrated version of pseudo labels.
|
| 56 |
+
|
| 57 |
+
Starting with localization. Compared with precise segmentation, learning localization is a simpler task as it only needs to provide coarser-grained outputs than pixel level of objects in images. Based on this motivation, we improve decoder predictions from the localization perspective. Class activation map (CAM) (Zhou et al., 2016) is a popular approach to provide localization for class-specific regions. CAM-based methods (Hou et al., 2018; Wei et al., 2017; Ahn & Kwak, 2018) have been successfully adopted to tackle a different weakly supervised semantic segmentation task from us, where they assume only image-level labels are available. In practice, we adopt a variant of class activation map, Grad-CAM (Selvaraju et al., 2017) in PseudoSeg.
|
| 58 |
+
|
| 59 |
+
From localization to segmentation. CAM estimates the strength of classifier responses on local feature maps. Thus, an inherent limitation of CAM-based approaches is that it is prone to attending only to the most discriminative regions. Although many weakly-supervised segmentation approaches (Ahn & Kwak, 2018; Ahn et al., 2019; Sun et al., 2020) aim at refining CAM localization maps to segmentation masks, most of them have complicated post-processing steps, such as dense CRF (Krahenb ¨ uhl & Koltun ¨ , 2011), which increases the model complexity when used for consistency training. Here we present a computationally efficient yet effective refinement alternative, which is learnable using available pixel-labeled data.
|
| 60 |
+
|
| 61 |
+
Although CAM only localizes partial regions of interests, if we know the pairwise similarities between regions, we can propagate the CAM scores from the discriminative regions to the rest unattended regions. Actually, it has been shown in many works that the learned high-level deep features are usually good at similarity measurements of visual objects. In this paper, we find hypercolumn (Hariharan et al., 2015) with a learnable similarity measure function works fairly effective.
|
| 62 |
+
|
| 63 |
+
Given the vanilla Grad-CAM output for all $C$ classes, which can be viewed as a spatially-flatten 2-D vector of weight $m \in \mathbb { R } ^ { L \times C }$ , where each row $m _ { i }$ is the response weight per class for one region $i$ . Using a kernel function $\mathcal { K } ( \cdot , \cdot ) : \mathbb { R } ^ { H } \times \mathbb { R } ^ { H } \mathbb { R }$ that measures element-wise similarity given feature $h \in { \bar { \mathbb { R } } } ^ { H }$ of two regions, the propagated score $\hat { m } _ { i } \in \mathbb { R } ^ { C }$ can be computed as follows
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
\hat { m } _ { i } = \left( m _ { i } + \sum _ { j = 0 } ^ { L - 1 } \frac { e ^ { K ( W _ { k } h _ { i } , W _ { v } h _ { j } ) } } { \sum _ { k = 0 } ^ { L - 1 } e ^ { K ( W _ { k } h _ { i } , W _ { v } h _ { k } ) } } m _ { j } \right) \cdot W _ { c } .
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
The goal of this function is to train $\Theta = \{ W _ { k } , W _ { v } \in \mathbb { R } ^ { H \times H } , W _ { c } \in \mathbb { R } ^ { C \times C } \}$ in order to propagate the high value in $m$ to all adjacent elements in the feature space $\mathbb { R } ^ { H }$ (i.e., hypercolumn features) to region $i$ . Adding $m _ { i }$ in equation 3 indicates the skip-connection. To compute propagated score for all regions, the operations in equation 3 can be efficiently implemented with self-attention dotproduct (Vaswani et al., 2017). For brevity, we denote this efficient refinement process output as selfattention Grad-CAM (SGC) maps in $\mathbb { R } ^ { H \times H \times C }$ . Figure 6 in Appendix A specifies the architecture.
|
| 70 |
+
|
| 71 |
+
Calibrated prediction fusion. SGC maps are obtained from low-resolution feature maps. It is then resized to the desired output resolution, and thus not sufficient at delineating crisp boundaries. However, compared to the segmentation decoder, SGC is capable of generating more locally-consistent masks. Thus, we propose a novel calibrated fusion strategy to take advantage of both decoder and SCG predictions for better pseudo labels.
|
| 72 |
+
|
| 73 |
+
Specifically, given a batch of decoder outputs (pre-softmax logits) $\hat { p } = f _ { \theta } ( \omega ( x ) )$ and SGC maps $\hat { m }$ computed from weakly-augmented data $\omega ( x )$ , we generate the pseudo labels $\widetilde { y }$ by
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
\mathcal { F } ( \hat { p } , \hat { m } ) = \mathrm { S h a r p e n } \left( \gamma \operatorname { S o f t m a x } \left( \frac { \hat { p } } { \operatorname { N o r m } ( \hat { p } , \hat { m } ) } \right) + ( 1 - \gamma ) \operatorname { S o f t m a x } \left( \frac { \hat { m } } { \operatorname { N o r m } ( \hat { p } , \hat { m } ) } \right) , T \right) .
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
Two critical procedures are proposed to use here to make the fusion process successful. First, $\hat { p }$ and $\hat { m }$ are from different decision mechanisms and they could have very different degrees of overconfidence. Therefore, we introduce the operation $\begin{array} { r } { \mathrm { N o r m } ( a , b ) = \sqrt { \sum _ { i } ^ { | a | } ( a _ { i } ^ { 2 } + b _ { i } ^ { 2 } ) } } \end{array}$ as a normalization factor. It alleviates the over-confident probability after softmax, which could unfavorably dominate the resulted $\gamma$ -averaged probability. Second, the distribution sharpening operation Sharpen $\begin{array} { r } { ( a , T ) _ { i } ~ = ~ a _ { i } ^ { 1 / T } / \sum _ { j } ^ { C } a _ { j } ^ { 1 / T } } \end{array}$ adjusts the temperature scalar $T$ of categorical distribution (Berthelot et al., 2019b; Chen et al., 2020b). Figure 2 illustrates the predictions from different sources. More importantly, we investigate the pseudo-labeling from a calibration perspective (Section 4.3), demonstrating that the proposed soft pseudo label $\widetilde { y }$ leads to a better calibration metric comparing to other possible fusion alternatives, and justifying why it benefits the final segmentation performance.
|
| 80 |
+
|
| 81 |
+

|
| 82 |
+
Figure 2: Visualization of pseudo labels and other predictions. The generated pseudo label by fusing the predictions from the decoder and SGC map is used to supervise the decoder (strong) predictions of the strongly-augmented counterpart.
|
| 83 |
+
|
| 84 |
+
Training. Our final training objective contains two extra losses: a classification loss $\mathcal { L } _ { x }$ , and a segmentation loss $\mathcal { L } _ { s a }$ . First, to compute Grad-CAM, we add a one-layer classification head after the segmentation backbone and a multi-label classification loss $\mathcal { L } _ { x }$ . Second, as specified in Appendix A (Figure 6), SGC maps are scaled as pixel-wise probabilities using one-layer convolution followed by softmax in equation 3. Learning $\Theta$ to predict SGC maps needs pixel-labeled data $D _ { l }$ . It is achieved by an extra segmentation loss $\mathcal { L } _ { s a }$ between SGC maps of pixel-labeled data and corresponding ground truth. All the loss terms are jointly optimized (i.e., $\mathcal { L } _ { u } + \mathcal { L } _ { s } + \mathcal { L } _ { x } + \mathcal { L } _ { s a } )$ , while $\mathcal { L } _ { s a }$ only optimizes $\Theta$ (achieved by stopping gradient). See Figure 7 in the appendix for further details.
|
| 85 |
+
|
| 86 |
+
# 3.2 INCORPORATING IMAGE-LEVEL LABELS AND AUGMENTATION
|
| 87 |
+
|
| 88 |
+
The proposed PseudoSeg can easily incorporate image-level label information (if available) into our one-stage training framework, which also leads to consistent improvement as we demonstrate in experiments. We utilize the image-level data with two following steps. First, we directly use ground truth image-level labels to generate Grad-CAMs instead of using classifier outputs. Second, they are used to increase classification supervision beyond pixel-level labels for the classifier head.
|
| 89 |
+
|
| 90 |
+
For strong data augmentation, we simply follow color jittering operations from SimCLR (Chen et al., 2020b) and remove all geometric transformations. The overall strength of augmentation can be controlled by a scalar (studied in experiments). We also apply once random CutOut (DeVries & Taylor, 2017) with a region of $5 0 \times 5 0$ pixels since we find it gives consistent though minor improvement (pixels inside CutOut regions are ignored in computing losses).
|
| 91 |
+
|
| 92 |
+
# 4 EXPERIMENTAL RESULTS
|
| 93 |
+
|
| 94 |
+
We start by specifying the experimental details. Then, we evaluate the method in the settings of using pixel-level labeled data and unlabeled data, as well as using pixel-level labeled data and image-level labeled data, respectively. Next, we conduct various ablation studies to justify our design choices. Lastly, we conduct more comparative experiments in specific settings.
|
| 95 |
+
|
| 96 |
+
To evaluate the proposed method, we conduct the main experiments and ablation studies on the PASCAL VOC 2012 dataset (VOC12) (Everingham et al., 2015), which contains 21 classes including background. The standard VOC12 dataset has 1,449 images as the training set and 1,456 images as the validation set. We randomly subsample 1/2, 1/4, 1/8, and 1/16 of images in the standard training set to construct the pixel-level labeled data. The remaining images in the standard training set, together with the images in the augmented set (Hariharan et al., 2011) (around $9 \mathrm { k }$ images), are used as unlabeled or image-level labeled data. To further verify the effectiveness of the proposed method, we also conduct experiments on the COCO dataset (Lin et al., 2014). The COCO dataset has 118,287 images as the training set, and 5,000 images as the validation set. We evaluate on the 80 foreground classes and the background, as in the object detection task. As the COCO dataset is larger than VOC12, we randomly subsample smaller ratios, 1/32, 1/64, 1/128, 1/256, 1/512, of images from the training set to construct the pixel-level labeled data. The remaining images in the training set are used as unlabeled data or image-level labeled data. We evaluate the performance using the standard mean intersection-over-union (mIoU) metric. Implementation details can be found in Appendix B.
|
| 97 |
+
|
| 98 |
+

|
| 99 |
+
Figure 3: Improvement over the strong supervised baseline, in a semi-supervised setting (w/ unlabeled data) on VOC12 val (left) and COCO val (right).
|
| 100 |
+
|
| 101 |
+
# 4.1 EXPERIMENTS USING PIXEL-LEVEL LABELED DATA AND UNLABELED DATA
|
| 102 |
+
|
| 103 |
+
Improvement over a strong baseline. We first demonstrate the effectiveness of the proposed method by comparing it with the DeepLabv $^ { 3 + }$ model trained with only the pixel-level labeled data. As shown in Figure 3 (a), the proposed method consistently outperforms the supervised training baseline on VOC12, by utilizing the pixel-level labeled data and the unlabeled data. The proposed method not only achieves a large performance boost in the low-data regime (when only $6 . 2 5 \%$ pixellevel labels available), but also improves the performance when the entire training set (1.4k images) is available. In Figure 3 (b), we again observe consistent improvement on the COCO dataset.
|
| 104 |
+
|
| 105 |
+
Comparisons with the others. Next, we compare the proposed method with recent state of the arts on both the public $1 . 4 \mathrm { k } / 9 \mathrm { k }$ split (in Table 1) and the created low-data splits (in Table 2), on VOC12. Our method compares favorably with the others.
|
| 106 |
+
|
| 107 |
+
Table 1: Comparison with state of the arts on VOC12 val set (w/ pixel-level labeled data and unlabeled data). We use the official training set (1.4k) as labeled data, and the augmented set (9k) as unlabeled data.
|
| 108 |
+
|
| 109 |
+
<table><tr><td>Method</td><td>Network</td><td>mIoU (%)</td></tr><tr><td>GANSeg (Souly et al., 2017)</td><td>VGG16</td><td>64.10</td></tr><tr><td>AdvSemSeg (Hung et al., 2018)</td><td>ResNet-101</td><td>68.40</td></tr><tr><td>CCT (Ouali et al., 2020)</td><td>ResNet-50</td><td>69.40</td></tr><tr><td>PseudoSeg (Ours)</td><td>ResNet-50</td><td>71.00</td></tr><tr><td>PseudoSeg (Ours)</td><td>ResNet-101</td><td>73.23</td></tr></table>
|
| 110 |
+
|
| 111 |
+
Table 2: Comparison with state of the arts on VOC12 val set (w/ pixel-level labeled data and unlabeled data) using low-data splits. The exact numbers of pixel-labeled images are shown in brackets. All the methods use ResNet-101 as backbone except CCT (Ouali et al., 2020), which uses ResNet-50. \* indicates implementation from Ke et al. (2020), \*\* indicates implementation from French et al. (2020).
|
| 112 |
+
|
| 113 |
+
<table><tr><td>Method</td><td>1/2 (732)</td><td>1/4 (366)</td><td>1/8 (183)</td><td>1/16 (92)</td></tr><tr><td>AdvSemSeg (Hung et al., 2018)</td><td>65.27</td><td>59.97</td><td>47.58</td><td>39.69</td></tr><tr><td>CCT (Ouali et al., 2020)</td><td>62.10</td><td>58.80</td><td>47.60</td><td>33.10</td></tr><tr><td>*MT (Tarvainen & Valpola, 2017)</td><td>69.16</td><td>63.01</td><td>55.81</td><td>48.70</td></tr><tr><td>GCT (Ke et al., 2020)</td><td>70.67</td><td>64.71</td><td>54.98</td><td>46.04</td></tr><tr><td> **VAT (Miyato et al., 2018)</td><td>63.34</td><td>56.88</td><td>49.35</td><td>36.92</td></tr><tr><td>CutMix (French et al., 2020)</td><td>69.84</td><td>68.36</td><td>63.20</td><td>55.58</td></tr><tr><td>PseudoSeg (Ours)</td><td>72.41</td><td>69.14</td><td>65.50</td><td>57.60</td></tr></table>
|
| 114 |
+
|
| 115 |
+

|
| 116 |
+
Figure 4: Improvement over the strong supervised baseline, in a semi-supervised setting (w/ image-level labeled data) on VOC12 val (left) and COCO val (right).
|
| 117 |
+
|
| 118 |
+
Table 3: Comparison with state of the arts on VOC12 val set (w/ pixel-level labeled data and image-level labeled data). We use the official training set (1.4k) as labeled data, and the augmented set (9k) as image-level labeled data.
|
| 119 |
+
|
| 120 |
+
<table><tr><td>Method</td><td>Model</td><td>Network</td><td>mIoU (%)</td></tr><tr><td>WSSN (Papandreou et al., 2015)</td><td>DeepLab-CRF</td><td>VGG16</td><td>64.60</td></tr><tr><td>GAIN (Li et al., 2018)</td><td>DeepLab-CRF-LFOV</td><td>VGG16</td><td>60.50</td></tr><tr><td>MDC (Wei et al.,2018)</td><td>DeepLab-CRF-LFOV</td><td>VGG16</td><td>65.70</td></tr><tr><td>DSRG (Huang et al.,2018)</td><td>DeepLabv2</td><td>VGG16</td><td>64.30</td></tr><tr><td>GANSeg (Souly et al.,2017)</td><td>FCN</td><td>VGG16</td><td>65.80</td></tr><tr><td>FickleNet (Lee et al.,2019)</td><td>DeepLabv2</td><td>ResNet-101</td><td>65.80</td></tr><tr><td>CCT (Ouali et al., 2020)</td><td>PSP-Net</td><td>ResNet-50</td><td>73.20</td></tr><tr><td>PseudoSeg (Ours)</td><td>DeepLabv3+</td><td>ResNet-50</td><td>73.80</td></tr></table>
|
| 121 |
+
|
| 122 |
+
Table 4: Comparison with state of the arts on VOC12 val set with pixel-level labeled data and image-level labeled data. Four ratios of pixel-level labeled examples are tested. Both CCT (Ouali et al., 2020) and our method use ResNet-50 as backbone.
|
| 123 |
+
|
| 124 |
+
<table><tr><td>Split</td><td>CCT</td><td>PseudoSeg</td></tr><tr><td>1/2</td><td>66.80</td><td>73.51</td></tr><tr><td>1/4</td><td>67.60</td><td>71.79</td></tr><tr><td>1/8</td><td>62.50</td><td>69.15</td></tr><tr><td>1/16</td><td>51.80</td><td>65.44</td></tr></table>
|
| 125 |
+
|
| 126 |
+
Similar to semi-supervised learning using pixel-level labeled data and unlabeled data, we first demonstrate the efficacy of our method by comparing it with a strong supervised baseline. As shown in Figure 4, the proposed method consistently improves the strong baseline on both datasets. In Table 3, we evaluate on the public $1 . 4 \mathrm { k } / 9 \mathrm { k }$ split. The proposed method compares favorably with the other methods. Moreover, we further compare to best compared CCT on the created low-data splits (in Table 4). Both experiments show that the proposed PseudoSeg is more robust than the compared method given less data. On all splits on both datasets, using pixel-level labeled data and image-labeled data shows higher mIoU than the setting using pixel-level labeled data and unlabeled data.
|
| 127 |
+
|
| 128 |
+
# 4.3 ABLATION STUDY
|
| 129 |
+
|
| 130 |
+
In this section, we conduct extensive ablation experiments on VOC12 to validate our design choices.
|
| 131 |
+
|
| 132 |
+
How to construct pseudo label? We investigate the effectiveness of the proposed pseudo labeling. Table 5 demonstrates quantitative results, indicating that using either decoder output or SGC alone gives an inferior performance. Naively using decoder output as pseudo labels can hardly work well. The proposed fusion consistently performs better, either with or without additional image-level labels. To further answer why our pseudo labels are effective, we study from the model calibration perspective. We measure the expected calibration error (ECE) (Guo et al., 2017) scores of all the intermediate steps and other fusion variants. As shown in Figure 5 (a), the proposed fusion strategy (denoted as G in the figure) achieves the lowest ECE scores, indicating that the significance of jointly using normalization with sharpening (see equation 4) compared with other fusion alternatives. We hypothesize using well-calibrated soft labels makes model training less affected by label noises. The comprehensive calibration study is left as a future exploration direction.
|
| 133 |
+
|
| 134 |
+
Using hypercolumn feature or not? In Figure 5 (b), we study the effectiveness of using hypercolumn features instead of the last feature maps in equation 3. We conduct the experiments on the 1/16 split of VOC12. As we can see, hypercolumn features substantially improve performance.
|
| 135 |
+
|
| 136 |
+
Soft or hard pseudo label? How to utilize predictions as pseudo labels remains an active question in SSL. Next, we study whether we should use soft or hard one-hot pseudo labels. We conduct the experiments in the setting where pixel-level labeled data and image-level labeled data are available. As shown in Figure 5 (c), using all predictions as soft pseudo label yields better performance than selecting confident predictions. This suggests that well-calibrated soft pseudo labels might be important in segmentation than over-simplified confidence thresholding.
|
| 137 |
+
|
| 138 |
+
Table 5: Comparison to alternative pseudo labeling strategies. We conduct experiments using 1/4, 1/8, 1/16 of the pixel-level labeled data, the exact numbers of images are shown in the brackets.
|
| 139 |
+
|
| 140 |
+
<table><tr><td>Source</td><td>Using image-level labels</td><td>1/4 (366)</td><td>1/8 (183)</td><td>1/16 (92)</td></tr><tr><td>Decoder only</td><td></td><td>70.22</td><td>69.35</td><td>53.20</td></tr><tr><td>SGC only</td><td></td><td>67.07</td><td>62.61</td><td>53.42</td></tr><tr><td>Calibrated fusion</td><td></td><td>73.79</td><td>73.13</td><td>67.06</td></tr><tr><td>Decoder only</td><td></td><td>73.95</td><td>73.05</td><td>67.54</td></tr><tr><td>SGC only</td><td></td><td>71.73</td><td>67.57</td><td>64.26</td></tr><tr><td>Calibrated fusion</td><td></td><td>75.29</td><td>74.70</td><td>71.22</td></tr></table>
|
| 141 |
+
|
| 142 |
+

|
| 143 |
+
Figure 5: Ablation studies on different factors. See Section 4.3 for complete details.
|
| 144 |
+
|
| 145 |
+
Temperature sharpening or not? We study the effect of temperature sharpening in equation 4. We conduct the experiments in the setting where pixel-level labeled data and image-level labeled data are available. As shown in Figure 5 (d), temperature sharpening shows consistent and clear improvements.
|
| 146 |
+
|
| 147 |
+
Strong augmentation strength. In Figure 5 (e), we study the effects of color jittering in the strong augmentation. The magnitude of jittering strength is controlled by a scalar (Chen et al., 2020b). We conduct the experiments in the setting where pixel-level labeled data and unlabeled data are available. If the magnitude is too small, performance drops significantly, suggesting the importance of strong augmentation.
|
| 148 |
+
|
| 149 |
+
Impact of different feature backbones. In Figure 5 (f), we compare the performance of using ResNet-50, ResNet-101, and Xception-65 as backbone architectures, respectively. We conduct the experiments in the setting where pixel-level labeled data and unlabeled data are available. As we can see, the proposed method consistently improves the baseline by a substantial margin across different backbone architectures.
|
| 150 |
+
|
| 151 |
+
# 4.4 COMPARISON WITH SELF-TRAINING
|
| 152 |
+
|
| 153 |
+
Several recent approaches (Chen et al., 2020a; Zoph et al., 2020) exploit the Student-Teacher selftraining idea to improve the performance with additional unlabeled data. However, these methods only apply self-training in the high-data regime (i.e., sufficient pixel-labeled data to train teachers).
|
| 154 |
+
|
| 155 |
+
Table 6: Comparison with self-training. We use our supervised baseline as the teacher to generate one-hot pseudo labels, following Zoph et al. (2020).
|
| 156 |
+
|
| 157 |
+
<table><tr><td>Method</td><td>Using image-level labels</td><td>1/4 (366)</td><td>1/8 (183)</td><td>1/16 (92)</td></tr><tr><td>Supervised (Teacher)</td><td></td><td>70.20</td><td>64.00</td><td>56.03</td></tr><tr><td>Self-training (Student)</td><td>1</td><td>72.85</td><td>69.88</td><td>64.20</td></tr><tr><td>PseudoSeg (Ours)</td><td>-</td><td>73.79</td><td>73.13</td><td>67.06</td></tr><tr><td>PseudoSeg (Ours)</td><td>√</td><td>75.29</td><td>74.70</td><td>71.22</td></tr></table>
|
| 158 |
+
|
| 159 |
+
Here we compare these methods in the low-data regimes, where we focus on. To generate offline pseudo labels, we closely follow segmentation experiments in Zoph et al. (2020): pixels with a confidence score higher than 0.5 will be used as one-hot pseudo labels, while the remaining are treated as ignored regions. This step is considered important to suppress noisy labels. A student model is then trained using the combination of unlabeled data in VOC12 train and augmented sets with generated one-hot pseudo labels and all the available pixel-level labeled data. As shown in Table 6, although the self-training pretty well improves over the supervised baseline, it is inferior to the proposed method 2. We conjecture that the teacher model usually produces low confidence scores to pixels around boundaries, so pseudo labels of these pixels are filtered in student training. However, boundary pixels are important for improving the performance of segmentation (Kirillov et al., 2020). On the other hand, the design of our method (online soft pseudo labeling process) bypass this challenge. We will conduct more verification of this hypothesis in future work.
|
| 160 |
+
|
| 161 |
+
# 5 IMPROVING THE FULLY-SUPERVISED METHOD WITH ADDITIONAL DAT
|
| 162 |
+
|
| 163 |
+
We have validated the effectiveness of the proposed method in the low-data regime. In this section, we want to explore whether the proposed method can further improve supervised training in the full training set using additional data. We use the training set (1.4k) in VOC12 as the pixel-level labeled data. The additional data contains additional VOC 9k $( V _ { 9 k } )$ , COCO training set $( C _ { t r } )$ , and COCO unlabeled data $( C _ { u } )$ . More training details can be found in Appendix D. As shown in Table 7, the proposed PseudoSeg is able to improve upon the supervised baseline even in the high-data regime, using additional unlabeled or image-level labeled data.
|
| 164 |
+
|
| 165 |
+
Table 7: Improving fully supervised model with extra data. No test-time augmentation is used.
|
| 166 |
+
|
| 167 |
+
<table><tr><td>Method</td><td></td><td colspan="2">Baseline丨PseudoSeg (w/o image-level labels)丨PseudoSeg (w/image-level labels)</td><td colspan="2"></td></tr><tr><td>Extra data</td><td>1</td><td>Ctr+Cu</td><td>Ctr + Cu + V9k</td><td>Ctr</td><td>Ctr +Vgk</td></tr><tr><td>mIoU (%)</td><td>76.96</td><td>77.40 (+0.44)</td><td>78.20 (+1.24)</td><td>77.80 (+0.84)</td><td>79.28 (+2.32)</td></tr></table>
|
| 168 |
+
|
| 169 |
+
# 5 DISCUSSION AND CONCLUSION
|
| 170 |
+
|
| 171 |
+
The key to the good performance of our method in the low-data regime is the novel re-design of pseudo-labeling strategy, which pursues a different decision mechanism from weakly-supervised localization to “remedy” weak predictions from segmentation head. Then augmentation consistency training progressively improves segmentation head quality. For the first time, we demonstrate that, with well-calibrated soft pseudo labels, utilizing unlabeled or image-labeled data significantly improves segmentation at low-data regimes. Further exploration of fusing stronger and better-calibrated pseudo labels worth more study as future directions (e.g., multi-scaling). Although color jittering works within our method as strong data augmentation, we have extensively explored geometric augmentations (leveraging STN (Jaderberg et al., 2015) to align pixels in pseudo labels and strongly-augmented predictions) for segmentation but find it not helpful. We believe data augmentation needs re-thinking beyond current success in classification for segmentation usage.
|
| 172 |
+
|
| 173 |
+
# ACKNOWLEDGEMENT
|
| 174 |
+
|
| 175 |
+
We thank Liang-Chieh Chen and Barret Zoph for their valuable comments.
|
| 176 |
+
|
| 177 |
+
# REFERENCES
|
| 178 |
+
|
| 179 |
+
Jiwoon Ahn and Suha Kwak. Learning pixel-level semantic affinity with image-level supervision for weakly supervised semantic segmentation. In CVPR, 2018. 3, 4
|
| 180 |
+
|
| 181 |
+
Jiwoon Ahn, Sunghyun Cho, and Suha Kwak. Weakly supervised learning of instance segmentation with inter-pixel relations. In CVPR, 2019. 4, 14
|
| 182 |
+
|
| 183 |
+
David Berthelot, Nicholas Carlini, Ekin D Cubuk, Alex Kurakin, Kihyuk Sohn, Han Zhang, and Colin Raffel. Remixmatch: Semi-supervised learning with distribution matching and augmentation anchoring. In ICLR, 2019a. 2
|
| 184 |
+
|
| 185 |
+
David Berthelot, Nicholas Carlini, Ian Goodfellow, Nicolas Papernot, Avital Oliver, and Colin A Raffel. Mixmatch: A holistic approach to semi-supervised learning. In NeurIPS, 2019b. 1, 2, 5
|
| 186 |
+
|
| 187 |
+
Liang-Chieh Chen, Yukun Zhu, George Papandreou, Florian Schroff, and Hartwig Adam. Encoder-decoder with atrous separable convolution for semantic image segmentation. In ECCV, 2018. 1, 3, 15
|
| 188 |
+
|
| 189 |
+
Liang-Chieh Chen, Raphael Gontijo Lopes, Bowen Cheng, Maxwell D Collins, Ekin D Cubuk, Barret Zoph, Hartwig Adam, and Jonathon Shlens. Naive-student: Leveraging semi-supervised learning in video sequences for urban scene segmentation. In ECCV, 2020a. 1, 2, 8
|
| 190 |
+
|
| 191 |
+
Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In ICML, 2020b. 5, 8
|
| 192 |
+
|
| 193 |
+
Franc¸ois Chollet. Xception: Deep learning with depthwise separable convolutions. In CVPR, 2017. 13
|
| 194 |
+
|
| 195 |
+
Marius Cordts, Mohamed Omran, Sebastian Ramos, Timo Rehfeld, Markus Enzweiler, Rodrigo Benenson, Uwe Franke, Stefan Roth, and Bernt Schiele. The cityscapes dataset for semantic urban scene understanding. In CVPR, 2016. 15
|
| 196 |
+
|
| 197 |
+
Jifeng Dai, Kaiming He, and Jian Sun. Boxsup: Exploiting bounding boxes to supervise convolutional networks for semantic segmentation. In ICCV, 2015. 2
|
| 198 |
+
|
| 199 |
+
Terrance DeVries and Graham W Taylor. Improved regularization of convolutional neural networks with cutout. arXiv preprint arXiv:1708.04552, 2017. 5
|
| 200 |
+
|
| 201 |
+
Mark Everingham, SM Ali Eslami, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. The pascal visual object classes challenge: A retrospective. IJCV, 111(1):98–136, 2015. 5
|
| 202 |
+
|
| 203 |
+
Geoff French, Timo Aila, Samuli Laine, Michal Mackiewicz, and Graham Finlayson. Semi-supervised semantic segmentation needs strong, high-dimensional perturbations. In BMVC, 2020. 2, 6, 15
|
| 204 |
+
|
| 205 |
+
Yves Grandvalet and Yoshua Bengio. Semi-supervised learning by entropy minimization. In NeurIPS, 2005. 2
|
| 206 |
+
|
| 207 |
+
Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q Weinberger. On calibration of modern neural networks. ICML, 2017. 7
|
| 208 |
+
|
| 209 |
+
Bharath Hariharan, Pablo Arbelaez, Lubomir Bourdev, Subhransu Maji, and Jitendra Malik. Semantic contours ´ from inverse detectors. In ICCV, 2011. 5
|
| 210 |
+
|
| 211 |
+
Bharath Hariharan, Pablo Arbelaez, Ross Girshick, and Jitendra Malik. Hypercolumns for object segmentation ´ and fine-grained localization. In CVPR, 2015. 4
|
| 212 |
+
|
| 213 |
+
Qibin Hou, PengTao Jiang, Yunchao Wei, and Ming-Ming Cheng. Self-erasing network for integral object attention. In NeurIPS, 2018. 3, 4
|
| 214 |
+
|
| 215 |
+
Zilong Huang, Xinggang Wang, Jiasi Wang, Wenyu Liu, and Jingdong Wang. Weakly-supervised semantic segmentation network with deep seeded region growing. In CVPR, 2018. 3, 7
|
| 216 |
+
|
| 217 |
+
Wei-Chih Hung, Yi-Hsuan Tsai, Yan-Ting Liou, Yen-Yu Lin, and Ming-Hsuan Yang. Adversarial learning for semi-supervised semantic segmentation. In BMVC, 2018. 2, 6
|
| 218 |
+
|
| 219 |
+
Max Jaderberg, Karen Simonyan, Andrew Zisserman, et al. Spatial transformer networks. In NeurIPS, 2015. 9
|
| 220 |
+
|
| 221 |
+
Peng-Tao Jiang, Qibin Hou, Yang Cao, Ming-Ming Cheng, Yunchao Wei, and Hong-Kai Xiong. Integral object mining via online attention accumulation. In ICCV, 2019. 14
|
| 222 |
+
|
| 223 |
+
Zhanghan Ke, Di Qiu, Kaican Li, Qiong Yan, and Rynson WH Lau. Guided collaborative training for pixel-wise semi-supervised learning. In ECCV, 2020. 2, 6
|
| 224 |
+
|
| 225 |
+
Jongmok Kim, Jooyoung Jang, and Hyunwoo Park. Structured consistency loss for semi-supervised semantic segmentation. arXiv preprint arXiv:2001.04647, 2020. 2
|
| 226 |
+
Alexander Kirillov, Yuxin Wu, Kaiming He, and Ross Girshick. Pointrend: Image segmentation as rendering. In CVPR, 2020. 9
|
| 227 |
+
Philipp Krahenb ¨ uhl and Vladlen Koltun. Efficient inference in fully connected crfs with gaussian edge poten- ¨ tials. In NeurIPS, 2011. 3, 4
|
| 228 |
+
Chia-Wen Kuo, Chih-Yao Ma, Jia-Bin Huang, and Zsolt Kira. Featmatch: Feature-based augmentation for semi-supervised learning. In ECCV, 2020. 1
|
| 229 |
+
Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. In ICLR, 2016. 2
|
| 230 |
+
Dong-Hyun Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In ICML Workshop, 2013. 2
|
| 231 |
+
Jungbeom Lee, Eunji Kim, Sungmin Lee, Jangho Lee, and Sungroh Yoon. Ficklenet: Weakly and semisupervised semantic image segmentation using stochastic inference. In CVPR, 2019. 7, 14
|
| 232 |
+
Kunpeng Li, Ziyan Wu, Kuan-Chuan Peng, Jan Ernst, and Yun Fu. Tell me where to look: Guided attention inference network. In CVPR, 2018. 3, 7
|
| 233 |
+
Di Lin, Jifeng Dai, Jiaya Jia, Kaiming He, and Jian Sun. Scribblesup: Scribble-supervised convolutional networks for semantic segmentation. In CVPR, 2016. 2
|
| 234 |
+
Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollar, and ´ C Lawrence Zitnick. Microsoft coco: Common objects in context. In ECCV, 2014. 5
|
| 235 |
+
Wenfeng Luo and Meng Yang. Semi-supervised semantic segmentation via strong-weak dual-branch network. In ECCV, 2020. 2
|
| 236 |
+
Sudhanshu Mittal, Maxim Tatarchenko, and Thomas Brox. Semi-supervised semantic segmentation with highand low-level consistency. TPAMI, 2019. 2
|
| 237 |
+
Takeru Miyato, Shin-ichi Maeda, Masanori Koyama, and Shin Ishii. Virtual adversarial training: a regularization method for supervised and semi-supervised learning. TPAMI, 41(8):1979–1993, 2018. 2, 6
|
| 238 |
+
Seong Joon Oh, Rodrigo Benenson, Anna Khoreva, Zeynep Akata, Mario Fritz, and Bernt Schiele. Exploiting saliency for object segmentation from image level labels. In CVPR, 2017. 3
|
| 239 |
+
Yassine Ouali, Celine Hudelot, and Myriam Tami. Semi-supervised semantic segmentation with cross- ´ consistency training. In CVPR, 2020. 2, 6, 7
|
| 240 |
+
George Papandreou, Liang-Chieh Chen, Kevin P Murphy, and Alan L Yuille. Weakly-and semi-supervised learning of a deep convolutional network for semantic image segmentation. In ICCV, 2015. 7
|
| 241 |
+
Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. IJCV, 115(3):211–252, 2015. 13
|
| 242 |
+
Mehdi Sajjadi, Mehran Javanmardi, and Tolga Tasdizen. Regularization with stochastic transformations and perturbations for deep semi-supervised learning. In NeurIPS, 2016. 2
|
| 243 |
+
Ramprasaath R Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra. Grad-cam: Visual explanations from deep networks via gradient-based localization. In ICCV, 2017. 4
|
| 244 |
+
Kihyuk Sohn, David Berthelot, Chun-Liang Li, Zizhao Zhang, Nicholas Carlini, Ekin D Cubuk, Alex Kurakin, Han Zhang, and Colin Raffel. Fixmatch: Simplifying semi-supervised learning with consistency and confidence. In NeurIPS, 2020a. 1, 2, 4
|
| 245 |
+
Kihyuk Sohn, Zizhao Zhang, Chun-Liang Li, Han Zhang, Chen-Yu Lee, and Tomas Pfister. A simple semisupervised learning framework for object detection. arXiv preprint arXiv:2005.04757, 2020b. 4
|
| 246 |
+
Nasim Souly, Concetto Spampinato, and Mubarak Shah. Semi supervised semantic segmentation using generative adversarial network. In ICCV, 2017. 2, 6, 7
|
| 247 |
+
Guolei Sun, Wenguan Wang, Jifeng Dai, and Luc Van Gool. Mining cross-image semantics for weakly supervised semantic segmentation. In ECCV, 2020. 3, 4, 14
|
| 248 |
+
Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In NeurIPS, 2017. 1, 2, 6
|
| 249 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, 2017. 4
|
| 250 |
+
Yude Wang, Jie Zhang, Meina Kan, Shiguang Shan, and Xilin Chen. Self-supervised equivariant attention mechanism for weakly supervised semantic segmentation. In CVPR, 2020. 3, 14
|
| 251 |
+
Yunchao Wei, Jiashi Feng, Xiaodan Liang, Ming-Ming Cheng, Yao Zhao, and Shuicheng Yan. Object region mining with adversarial erasing: A simple classification to semantic segmentation approach. In CVPR, 2017. 3, 4
|
| 252 |
+
Yunchao Wei, Huaxin Xiao, Honghui Shi, Zequn Jie, Jiashi Feng, and Thomas S Huang. Revisiting dilated convolution: A simple approach for weakly-and semi-supervised semantic segmentation. In CVPR, 2018. 3, 7
|
| 253 |
+
Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V. Le. Unsupervised data augmentation for consistency training. arXiv preprint arXiv:1904.12848, 2019. 1
|
| 254 |
+
Qizhe Xie, Minh-Thang Luong, Eduard Hovy, and Quoc V Le. Self-training with noisy student improves imagenet classification. In CVPR, 2020. 4
|
| 255 |
+
Hang Zhang, Chongruo Wu, Zhongyue Zhang, Yi Zhu, Zhi Zhang, Haibin Lin, Yue Sun, Tong He, Jonas Muller, R. Manmatha, Mu Li, and Alexander Smola. Resnest: Split-attention networks. arXiv preprint arXiv:2004.08955, 2020a. 1
|
| 256 |
+
Xiaolin Zhang, Yunchao Wei, and Yi Yang. Inter-image communication for weakly supervised localization. In ECCV, 2020b. 3
|
| 257 |
+
Bolei Zhou, Aditya Khosla, Agata Lapedriza, Aude Oliva, and Antonio Torralba. Learning deep features for discriminative localization. In CVPR, 2016. 2, 4
|
| 258 |
+
Yi Zhu, Zhongyue Zhang, Chongruo Wu, Zhi Zhang, Tong He, Hang Zhang, R Manmatha, Mu Li, and Alexander Smola. Improving semantic segmentation via self-training. arXiv preprint arXiv:2004.14960, 2020. 2
|
| 259 |
+
Barret Zoph, Golnaz Ghiasi, Tsung-Yi Lin, Yin Cui, Hanxiao Liu, Ekin D Cubuk, and Quoc V Le. Rethinking pre-training and self-training. arXiv preprint arXiv:2006.06882, 2020. 1, 2, 4, 8, 9
|
| 260 |
+
|
| 261 |
+
# APPENDIX
|
| 262 |
+
|
| 263 |
+
# A SELF-ATTENTION GRAD-CAM
|
| 264 |
+
|
| 265 |
+
We elaborate the detailed pipeline of generating Self-attention Grad-CAM (SGC) maps (equation 3) in Figure 6. To construct the hypercolumn feature, we extract the feature maps from the last two convolutional stages of the backbone network and concatenate them together. We then project the hypercolumn feature to two separate low-dimension embedding spaces to construct “key” and “query”, using two $1 \times 1$ convolutional layers. An attention matrix can then be computed via matrix multiplication of “key” and “query”. To construct “value”, we compute Grad-CAM for each foreground class and then concatenate them together. This results in a $H \times W \times ( C - 1 )$ score map, where the maximum score of each category is normalized to one separately. We then use image-level labels (either from classifier prediction or ground truth annotation) to set the score maps of non-existing classes to be zero. For each pixel localization, we use one to subtract the maximum score to construct the background score map, which is then concatenated with the foreground score maps to form “value” $( H \times W \times C )$ . The attention score matrix can then be used to reweight and propagate the scores in “value”. The propagated score is added back to the “value” score map, and the pass through a $1 \times 1$ convolution (w/ batch normalization) to output the SGC map.
|
| 266 |
+
|
| 267 |
+

|
| 268 |
+
Figure 6: Diagram of Self-attention Grad-CAM (SGC) .
|
| 269 |
+
|
| 270 |
+
# B IMPLEMENTATION DETAILS
|
| 271 |
+
|
| 272 |
+
We implement our method on top of the publicly available official DeepLab codebase.3 Unless specified, we adopt the DeepLabv $^ { 3 + }$ model with Xception-65 (Chollet, 2017) as the feature backbone, which is pre-trained on the ImageNet dataset (Russakovsky et al., 2015). We train our model following the default hyper-parameters (e.g., an initial learning rate of 0.007 with a polynomial learning rate decay schedule, a crop size of $5 1 3 \times 5 1 3$ , and an encoder output stride of 16), using 16 GPUs 4. We use a batch size of 4 for each GPU for pixel-level labeled data, and 4 for unlabeled/image-level labeled data. For VOC12, we train the model for 30,000 iterations. For COCO, we train the model for 200,000 iterations. We set $\gamma = 0 . 5$ and $T = 0 . 5$ unless specified. We do not apply any test time augmentations.
|
| 273 |
+
|
| 274 |
+
# C LOW-DATA SAMPLING IN PASCAL VOC 2012
|
| 275 |
+
|
| 276 |
+
Unlike random sampling in image classification, it is difficult to sample uniformly in a low-data case for semantic segmentation due to the imbalance of rare classes. To avoid the missing classes at extremely low data regimes, we repeat the random sampling process for 1/16 three times (while ensuring each class has a certain amount) and report the results. We use Split 1 in the main manuscript. All splits will be released to encourage reproducibility. The results of all the three splits are shown as in Table 8.
|
| 277 |
+
|
| 278 |
+

|
| 279 |
+
Figure 7: Training. For each network component, we show the loss supervision and the corresponding data.
|
| 280 |
+
|
| 281 |
+
Table 8: Full results of 1/16 split in VOC12.
|
| 282 |
+
|
| 283 |
+
<table><tr><td>Method</td><td>Using image-level labels</td><td>Split 1</td><td>Split 2</td><td>Split 3</td></tr><tr><td>Supervised</td><td>■</td><td>56.03</td><td>56.87</td><td>55.92</td></tr><tr><td>PseudoSeg (Ours)</td><td>1</td><td>67.06</td><td>64.12</td><td>66.09</td></tr><tr><td>PseudoSeg (Ours)</td><td>√</td><td>71.22</td><td>68.11</td><td>69.72</td></tr></table>
|
| 284 |
+
|
| 285 |
+
# D HIGH-DATA EXPERIMENTAL SETTINGS
|
| 286 |
+
|
| 287 |
+
Here we provide more details about the experiments in Section 4.5. Since we have a lot more unlabeled/image-level labeled data, we adopt a longer training schedule (90,000 iterations) 5. We also adopt a slightly different fusion strategy in this setting by using $T = 0 . 7$ and $\gamma = 0 . 3$ .
|
| 288 |
+
|
| 289 |
+
# E COMPARISON WITH WEAKLY-SUPERVISED APPROACHES
|
| 290 |
+
|
| 291 |
+
In Table 9, we benchmark recent weakly supervised semantic segmentation performance on PASCAL VOC 2012 val set. Instead of enforcing the consistency between different augmented images as we do, these approaches tackle the semantic segmentation task from a different perspective, by exploiting the weaker annotations (image-level labels). As we can see, by exploiting the imagelevel labels with careful designs, weakly-supervised semantic segmentation methods could achieve reasonably well performance. We believe that both perspectives are feasible and promising for low-data regime semantic segmentation tasks, and complementary to each other. Therefore, these designs could be potentially integrated into our framework to generate better pseudo labels, which leads to improved performance.
|
| 292 |
+
|
| 293 |
+
Table 9: Benchmarking state-of-the-art weakly supervised semantic segmentation methods. All the methods use image-level labels from VOC12 training (1.4k) and augmented (9k) sets.
|
| 294 |
+
|
| 295 |
+
<table><tr><td>Method</td><td>Pixel-level labeled data</td><td>mIoU (%)</td></tr><tr><td>FickleNet (Lee et al., 2019)</td><td></td><td>64.9</td></tr><tr><td>IRNet (Ahn et al., 2019)</td><td></td><td>63.5</td></tr><tr><td>OAA+ (Jiang et al., 2019)</td><td></td><td>65.2</td></tr><tr><td>SEAM (Wang et al., 2020)</td><td></td><td>64.5</td></tr><tr><td>MCIS (Sun et al., 2020)</td><td></td><td>66.2</td></tr><tr><td>PseudoSeg (Ours)</td><td>1/16 (92)</td><td>71.22</td></tr></table>
|
| 296 |
+
|
| 297 |
+
# F PERFORMANCE ANALYSIS FOR TEMPERATURE SHARPENING
|
| 298 |
+
|
| 299 |
+
We conduct an additional performance analysis for temporal sharpening. We conduct experiments over T on the 1/16 split of VOC using pixel-level labeled data and image-level labeled data. As shown in Table 10, adopting a $T < 1$ for distribution sharpening generally leads to improved performance.
|
| 300 |
+
|
| 301 |
+
Table 10: Performance analysis over T.
|
| 302 |
+
|
| 303 |
+
<table><tr><td>Temperature (T)</td><td>mIoU (%)</td></tr><tr><td>0.1</td><td>71.11</td></tr><tr><td>0.3</td><td>70.11</td></tr><tr><td>0.5 (default)</td><td>71.22</td></tr><tr><td>0.7</td><td>72.37</td></tr><tr><td>1.0 (no sharpening)</td><td>68.15</td></tr></table>
|
| 304 |
+
|
| 305 |
+
# G EXPERIMENTS ON CITYSCAPES
|
| 306 |
+
|
| 307 |
+
In this section, we conduct additional experiments on the Cityscapes dataset (Cordts et al., 2016). The Cityscapes dataset contains 50 real-world driving sequences. Among these video sequences, 2,975 frames are selected as the training set, and 500 frames are selected as the validation set. Following previous common practice, we evaluate on 19 semantic classes.
|
| 308 |
+
|
| 309 |
+
Comparison with state of the art. We compare our method with the current state-of-the-art method (French et al., 2020), in the setting of using pixel-level labeled and unlabeled data. We randomly subsample 1/4, 1/8, and 1/30 of the training set to construct the pixel-level labeled data, using the first random seed provided by French et al. (2020). Both French et al. (2020) and our method use ResNet-101 as the feature backbone and DeepLabv $^ { 3 + }$ (Chen et al., 2018) as the segmentation model. As shown in Table 11, the proposed method achieves promising results on all the three label ratios.
|
| 310 |
+
|
| 311 |
+
Table 11: Experiments on Cityscapes (w/ pixel-level labeled data and unlabeled data).
|
| 312 |
+
|
| 313 |
+
<table><tr><td>Method</td><td>1/4 (744)</td><td>1/8 (372)</td><td>1/30 (100)</td></tr><tr><td>CutMix (French et al., 2020)</td><td>68.33</td><td>65.82</td><td>55.71</td></tr><tr><td>PseudoSeg (Ours)</td><td>72.36</td><td>69.81</td><td>60.96</td></tr></table>
|
| 314 |
+
|
| 315 |
+
Per-class performance analysis. Next, we provide per-class performance break down analysis. We compare our method with the supervised baseline on the 1/30 split, using pixel-level labeled data and unlabeled data. As shown in Table 12, the distribution of the labeled pixels is severely imbalanced. Although our method does not in particular address the data imbalance issue, our method improves upon the supervised baseline on most of the classes (except for “Wall” and “Pole”).
|
| 316 |
+
|
| 317 |
+
Table 12: Per-class performance analysis on Cityscapes (w/ pixel-level labeled data and unlabeled data).
|
| 318 |
+
|
| 319 |
+
<table><tr><td>Class Pixel ratio (%)</td><td>Road 36.36</td><td>Sidewalk 5.61</td><td>Building 20.99</td><td>Wall 0.53</td><td>Fence 0.98</td><td>Pole 1.19</td><td>Traffic light 0.14</td><td>Traffic sign 0.51</td><td>Vegetation 19.61</td><td>Terrain 1.29</td></tr><tr><td>Supervised PseudoSeg (Ours)</td><td>96.03</td><td>71.26</td><td>87.53</td><td>19.75</td><td>29.11</td><td>52.19</td><td>50.19</td><td>68.09</td><td>89.93</td><td>45.79</td></tr><tr><td></td><td>96.64</td><td>75.06</td><td>88.63</td><td>19.67</td><td>34.09</td><td>51.75</td><td>58.19</td><td>69.95</td><td>90.43</td><td>50.48</td></tr><tr><td>Class</td><td>Sky</td><td>Person</td><td>Rider</td><td>Car</td><td>Truck</td><td>Bus</td><td>Train</td><td>Motorcycle</td><td>Bicycle</td><td></td></tr><tr><td>Pixel ratio (%)</td><td>3.70</td><td>1.10</td><td>0.16</td><td>6.49</td><td>0.38</td><td>0.13</td><td>0.23</td><td>0.06</td><td>0.54</td><td></td></tr><tr><td>Supervised</td><td>91.01</td><td>74.12</td><td>43.91</td><td>89.91</td><td>7.68</td><td>14.19</td><td>17.78</td><td>25.86</td><td>69.88</td><td></td></tr><tr><td>PseudoSeg (Ours)</td><td>92.99</td><td>75.16</td><td>46.09</td><td>91.60</td><td>20.39</td><td>26.30</td><td>22.13</td><td>43.96</td><td>71.30</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>
|
| 320 |
+
|
| 321 |
+
Discussion. Although the scene layouts are quite similar for all the full images, it is still feasible to generate different image-level labels through a more aggressive geometric data augmentation (e.g., scaling, cropping, translation, etc.). In practice, standard segmentation preprocessing steps only crop a sub-region of the whole training images. It only contains partial images with a certain subset of image labels, making the training batches have diverse image-level labels (converted from pixellevel labels, in the fully-labeled+unlabeled setting). Moreover, in the fully-labeled+weakly-labeled setting, in practice, we can collect diverse Internet images and weakly label them, instead of weakly labeling images from Cityscapes.
|
| 322 |
+
|
| 323 |
+
# H QUALITATIVE RESULTS
|
| 324 |
+
|
| 325 |
+
We visualize several model prediction results for PASCAL VOC 2012 (Figure 8) and COCO (Figure 9). As we can see, the supervised baseline struggles to segment some of the categories and small objects, when trained in the low-data regime. On the other hand, PseudoSeg utilizes unlabeled or weakly-labeled data to generate more satisfying predictions.
|
| 326 |
+
|
| 327 |
+

|
| 328 |
+
Figure 8: Qualitative results of PASCAL VOC 2012. Models are trained with 1/16 pixel-level labeled data in the training set.
|
| 329 |
+
|
| 330 |
+

|
| 331 |
+
Figure 9: Qualitative results of COCO. Models are trained with 1/512 pixel-level labeled data in the training set. Note that white pixel in the ground truth indicates this pixel is not annotated for evaluation.
|
parse/train/-TwO99rbVRu/-TwO99rbVRu_content_list.json
ADDED
|
@@ -0,0 +1,1615 @@
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "PSEUDOSEG: DESIGNING PSEUDO LABELS FOR SEMANTIC SEGMENTATION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
745,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Yuliang $\\mathbf { Z o u } ^ { 1 * }$ Zizhao Zhang2 Han Zhang3 Chun-Liang Li2 Xiao Bian2 Jia-Bin Huang1 Tomas Pfister2 1Virginia Tech 2Google Cloud AI 3Google Brain ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
186,
|
| 19 |
+
169,
|
| 20 |
+
624,
|
| 21 |
+
213
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
250,
|
| 32 |
+
544,
|
| 33 |
+
265
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Recent advances in semi-supervised learning (SSL) demonstrate that a combination of consistency regularization and pseudo-labeling can effectively improve image classification accuracy in the low-data regime. Compared to classification, semantic segmentation tasks require much more intensive labeling costs. Thus, these tasks greatly benefit from data-efficient training methods. However, structured outputs in segmentation render particular difficulties (e.g., designing pseudo-labeling and augmentation) to apply existing SSL strategies. To address this problem, we present a simple and novel re-design of pseudo-labeling to generate well-calibrated structured pseudo labels for training with unlabeled or weaklylabeled data. Our proposed pseudo-labeling strategy is network structure agnostic to apply in a one-stage consistency training framework. We demonstrate the effectiveness of the proposed pseudo-labeling strategy in both low-data and highdata regimes. Extensive experiments have validated that pseudo labels generated from wisely fusing diverse sources and strong data augmentation are crucial to consistency training for semantic segmentation. The source code is available at https://github.com/googleinterns/wss. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
284,
|
| 43 |
+
764,
|
| 44 |
+
503
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
535,
|
| 55 |
+
336,
|
| 56 |
+
550
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Image semantic segmentation is a core computer vision task that has been studied for decades. Compared with other vision tasks, such as image classification and object detection, human annotation of pixel-accurate segmentation is dramatically more expensive. Given sufficient pixellevel labeled training data (i.e., high-data regime), the current state-of-the-art segmentation models (e.g., DeepLabv $^ { 3 + }$ (Chen et al., 2018)) produce satisfactory segmentation prediction for common practical usage. Recent exploration demonstrates improvement over high-data regime settings with large-scale data, including self-training (Chen et al., 2020a; Zoph et al., 2020) and backbone pretraining (Zhang et al., 2020a). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
564,
|
| 66 |
+
823,
|
| 67 |
+
675
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "In contrast to the high-data regime, the performance of segmentation models drop significantly, given very limited pixel-labeled data (i.e., low-data regime). Such ineffectiveness at the low-data regime hinders the applicability of segmentation models. Therefore, instead of improving high-data regime segmentation, our work focuses on data-efficient segmentation training that only relies on few pixellabeled data and leverages the availability of extra unlabeled or weakly annotated (e.g., image-level) data to improve performance, with the aim of narrowing the gap to the supervised models trained with fully pixel-labeled data. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
683,
|
| 77 |
+
825,
|
| 78 |
+
780
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Our work is inspired by the recent success in semi-supervised learning (SSL) for image classification, demonstrating promising performance given very limited labeled data and a sufficient amount of unlabeled data. Successful examples include MeanTeacher (Tarvainen & Valpola, 2017), UDA (Xie et al., 2019), MixMatch (Berthelot et al., 2019b), FeatMatch (Kuo et al., 2020), and FixMatch (Sohn et al., 2020a). One outstanding idea in this type of SSL is consistency training: making predictions consistent among multiple augmented images. FixMatch (Sohn et al., 2020a) shows that using high-confidence one-hot pseudo labels obtained from weakly-augmented unlabeled data to train strongly-augmented counterpart is the key to the success of SSL in image classification. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
786,
|
| 88 |
+
825,
|
| 89 |
+
898
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "However, effective pseudo labels and well-designed data augmentation are non-trivial to satisfy for semantic segmentation. Although we observe that many related works explore the second condition (i.e., augmentation) for image segmentation to enable consistency training framework (French et al., 2020; Ouali et al., 2020), we show that a wise design of pseudo labels for segmentation has great veiled potentials. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
103,
|
| 99 |
+
825,
|
| 100 |
+
174
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "In this paper, we propose PseudoSeg, a one-stage training framework to improve image semantic segmentation by leveraging additional data either with image-level labels (weakly-labeled data) or without any labels. PseudoSeg presents a novel design of pseudo-labeling to infer effective structured pseudo labels of additional data. It then optimizes the prediction of strongly-augmented data to match its corresponding pseudo labels. In summary, we make the following contributions: ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
176,
|
| 109 |
+
180,
|
| 110 |
+
825,
|
| 111 |
+
251
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "• We propose a simple one-stage framework to improve semantic segmentation by using a limited amount of pixel-labeled data and sufficient unlabeled data or image-level labeled data. Our framework is simple to apply and therefore network architecture agnostic. Directly applying consistency training approaches validated in image classification renders particular challenges in segmentation. We first demonstrate how well-calibrated soft pseudo labels obtained through wise fusion of predictions from diverse sources can greatly improve consistency training for segmentation. We conduct extensive experimental studies on the PASCAL VOC 2012 and COCO datasets. Comprehensive analyses are conducted to validate the effectiveness of this method at not only the low-data regime but also the high-data regime. Our experiments study multiple important open questions about transferring SSL advances to segmentation tasks. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
215,
|
| 120 |
+
255,
|
| 121 |
+
825,
|
| 122 |
+
410
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "2 RELATED WORK ",
|
| 129 |
+
"text_level": 1,
|
| 130 |
+
"bbox": [
|
| 131 |
+
176,
|
| 132 |
+
429,
|
| 133 |
+
344,
|
| 134 |
+
446
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "Semi-supervised classification. Semi-supervised learning (SSL) aims to improve model performance by incorporating a large amount of unlabeled data during training. Consistency regularization and entropy minimization are two common strategies for SSL. The intuition behind consistencybased approaches (Laine & Aila, 2016; Sajjadi et al., 2016; Miyato et al., 2018; Tarvainen & Valpola, 2017) is that, the model output should remain unchanged when the input is perturbed. On the other hand, the entropy minimization strategy (Grandvalet & Bengio, 2005) argues that the unlabeled data can be used to ensured classes are well-separated, which can be achieved by encouraging the model to output low-entropy predictions. Pseudo-labeling (Lee, 2013) is one of the methods for implicit entropy minimization. Recently, holistic approaches (Berthelot et al., 2019b;a; Sohn et al., 2020a) combining both strategies have been proposed and achieved significant improvement. By redesigning the pseudo label, we propose an efficient one-stage semi-supervised learning framework of semantic segmentation for consistency training. ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
173,
|
| 143 |
+
457,
|
| 144 |
+
825,
|
| 145 |
+
623
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "Semi-supervised semantic segmentation. Collecting pixel-level annotations for semantic segmentation is costly and prone to error. Hence, leveraging unlabeled data in semantic segmentation is a natural fit. Early methods utilize a GAN-based model either to generate additional training data (Souly et al., 2017) or to learn a discriminator between the prediction and the ground truth mask (Hung et al., 2018; Mittal et al., 2019). Consistency regularization based approaches have also been proposed recently, by enforcing the predictions to be consistent, either from augmented input images (French et al., 2020; Kim et al., 2020), perturbed feature embeddings (Ouali et al., 2020), or different networks (Ke et al., 2020). Recently, Luo & Yang (2020) proposes a dual-branch training network to jointly learn from pixel-accurate and coarse labeled data, achieving good segmentation performance. To push the performance of state of the arts, iterative self-training approaches (Chen et al., 2020a; Zoph et al., 2020; Zhu et al., 2020) have been proposed. These methods usually assume the available labeled data is enough to train a good teacher model, which will be used to generate pseudo labels for the student model. However, this condition might not satisfy in the low-data regime. Our proposed method, on the other hand, realizing the ideas of both consistency regularization and pseudo-labeling in segmentation, consistently improves the supervised baseline in both low-data and high-data regimes. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
628,
|
| 155 |
+
825,
|
| 156 |
+
849
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "Weakly-supervised semantic segmentation. Instead of supervising network training with accurate pixel-level labels, many prior works exploit weaker forms of annotations (e.g., bounding boxes (Dai et al., 2015), scribbles (Lin et al., 2016), image-level labels). Most recent approaches use imagelevel labels as the supervisory signal, which exploits the idea of class activation map (CAM) (Zhou et al., 2016). Since the vanilla CAM only focus on the most discriminative region of objects, different ways to refine CAM have been proposed, including partial image/feature erasing (Hou et al., 2018; Wei et al., 2017; Li et al., 2018), using an additional saliency estimation model (Oh et al., 2017; Huang et al., 2018; Wei et al., 2018), utilizing pixel similarity to propagate the initial score map (Ahn & Kwak, 2018; Wang et al., 2020), or mining and co-segment the same category of objects across images (Sun et al., 2020; Zhang et al., 2020b). While achieving promising results using the approaches mentioned above, most of them require a multi-stage training strategy. The refined score maps are optimized again using a dense-CRF model (Krahenb ¨ uhl & Koltun ¨ , 2011), and then used as the target to train a separate segmentation network. On the other hand, we assume there exists a small number of fully-annotated data, which allows us to learn stronger segmentation models than general methods without needing pixel-labeled data. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
854,
|
| 166 |
+
823,
|
| 167 |
+
924
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "image",
|
| 173 |
+
"img_path": "images/55439202eaf26b71f27a6328f988f0027a61cd98c089773b1b8032b98ac5ec58.jpg",
|
| 174 |
+
"image_caption": [
|
| 175 |
+
"Figure 1: Overview of unlabeled data training branch. Given an image, the weakly augmented version is fed into the network to get the decoder prediction and Self-attention Grad-CAM (SGC). The two sources are then combined via a calibrated fusion strategy to form the pseudo label. The network is trained to make its decoder prediction from strongly augmented image to match the pseudo label by a per-pixel cross-entropy loss. "
|
| 176 |
+
],
|
| 177 |
+
"image_footnote": [],
|
| 178 |
+
"bbox": [
|
| 179 |
+
176,
|
| 180 |
+
104,
|
| 181 |
+
820,
|
| 182 |
+
228
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "",
|
| 189 |
+
"bbox": [
|
| 190 |
+
173,
|
| 191 |
+
320,
|
| 192 |
+
825,
|
| 193 |
+
462
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "3 THE PROPOSED METHOD ",
|
| 200 |
+
"text_level": 1,
|
| 201 |
+
"bbox": [
|
| 202 |
+
176,
|
| 203 |
+
482,
|
| 204 |
+
411,
|
| 205 |
+
498
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "In analogous to SSL for classification, our training objective in PseudoSeg consists of a supervised loss $\\mathcal { L } _ { \\mathrm { s } }$ applied to pixel-level labeled data $\\mathcal { D } _ { l }$ , and a consistency constraint $\\mathcal { L } _ { \\mathrm { u } }$ applied to unlabeled data $\\mathcal { D } _ { u }$ 1. Specifically, the supervised loss $\\mathcal { L } _ { \\mathrm { s } }$ is the standard pixel-wise cross-entropy loss on the weakly augmented pixel-level labeled examples: ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
174,
|
| 214 |
+
511,
|
| 215 |
+
825,
|
| 216 |
+
568
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "equation",
|
| 222 |
+
"img_path": "images/c4e6ef258681327d5a51db4fbe3715327b16f29a336a86c4284b030629a615d4.jpg",
|
| 223 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { s } } = \\frac { 1 } { N \\times | \\mathcal { D } _ { l } | } \\sum _ { x \\in \\mathcal { D } _ { l } } \\sum _ { i = 0 } ^ { N - 1 } \\mathrm { C r o s s E n t r o p y } \\left( y _ { i } , f _ { \\theta } ( \\omega ( x _ { i } ) ) \\right) ,\n$$",
|
| 224 |
+
"text_format": "latex",
|
| 225 |
+
"bbox": [
|
| 226 |
+
312,
|
| 227 |
+
569,
|
| 228 |
+
684,
|
| 229 |
+
616
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 2
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "text",
|
| 235 |
+
"text": "where $\\theta$ represents the learnable parameters of the network function $f$ and $N$ denotes the number of valid labeled pixels in an image $\\boldsymbol { x } \\in \\mathbb { R } ^ { H \\times W \\times 3 }$ . $y _ { i } \\in \\mathbb { R } ^ { C }$ is the ground truth label of a pixel $i$ in $H \\times W$ dimensions, and $f _ { \\theta } ( \\omega ( x _ { i } ) ) \\in \\mathbb { R } ^ { C }$ is the predicted probability of pixel $i$ , where $C$ is the number of classes to predict and $\\omega ( \\cdot )$ denotes the weak (common) data augmentation operations used by Chen et al. (2018). ",
|
| 236 |
+
"bbox": [
|
| 237 |
+
174,
|
| 238 |
+
617,
|
| 239 |
+
825,
|
| 240 |
+
688
|
| 241 |
+
],
|
| 242 |
+
"page_idx": 2
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"type": "text",
|
| 246 |
+
"text": "During training, the proposed PseudoSeg estimates a pseudo label $\\widetilde { y } \\in \\mathbb { R } ^ { H \\times W \\times C }$ for each stronglyaugmented unlabeled data $x$ in $\\mathcal { D } _ { u }$ e, which is then used for computing the cross-entropy loss. The unsupervised objective can then be written as: ",
|
| 247 |
+
"bbox": [
|
| 248 |
+
174,
|
| 249 |
+
694,
|
| 250 |
+
825,
|
| 251 |
+
736
|
| 252 |
+
],
|
| 253 |
+
"page_idx": 2
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"type": "equation",
|
| 257 |
+
"img_path": "images/10f5c9adc85e295e82223bd240ae987ee529c2d193b4b7a1eec4a96192fbde37.jpg",
|
| 258 |
+
"text": "$$\n\\mathcal { L } _ { \\sf u } = \\frac { 1 } { N \\times | \\mathcal { D } _ { u } | } \\sum _ { x \\in \\mathcal { D } _ { u } } \\sum _ { i = 0 } ^ { N - 1 } \\mathrm { C r o s s E n t r o p y } \\left( \\widetilde { y } _ { i } , f _ { \\theta } ( \\beta \\circ \\omega ( x _ { i } ) ) \\right) ,\n$$",
|
| 259 |
+
"text_format": "latex",
|
| 260 |
+
"bbox": [
|
| 261 |
+
295,
|
| 262 |
+
738,
|
| 263 |
+
700,
|
| 264 |
+
785
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 2
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "text",
|
| 270 |
+
"text": "where $\\beta ( \\cdot )$ denotes a stronger data augmentation operation, which will be described in Section 3.2. \nWe illustrate the unlabeled data training branch in Figure 1. ",
|
| 271 |
+
"bbox": [
|
| 272 |
+
173,
|
| 273 |
+
787,
|
| 274 |
+
823,
|
| 275 |
+
816
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 2
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "3.1 THE DESIGN OF STRUCTURED PSEUDO LABELS ",
|
| 282 |
+
"text_level": 1,
|
| 283 |
+
"bbox": [
|
| 284 |
+
174,
|
| 285 |
+
833,
|
| 286 |
+
547,
|
| 287 |
+
848
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 2
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "The next important question is how to generate the desirable pseudo label $\\widetilde { y }$ . A straightforward soluetion is directly using the decoder output of a trained segmentation model after confidence thresholding, as suggested by Sohn et al. (2020a); Zoph et al. (2020); Xie et al. (2020); Sohn et al. (2020b). However, as we demonstrate later in the experiments, the generated pseudo hard/soft labels as well as other post-processing of outputs are barely satisfactory in the low-data regime, and thus yield inferior final results. To address this issue, our design of pseudo-labeling has two key insights. First, we seek for a distinct yet efficient decision mechanisms to compensate for the potential errors of decoder outputs. Second, wisely fusing multiple sources of predictions to generate an ensemble and better-calibrated version of pseudo labels. ",
|
| 294 |
+
"bbox": [
|
| 295 |
+
174,
|
| 296 |
+
857,
|
| 297 |
+
820,
|
| 298 |
+
887
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 2
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "",
|
| 305 |
+
"bbox": [
|
| 306 |
+
173,
|
| 307 |
+
103,
|
| 308 |
+
825,
|
| 309 |
+
202
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 3
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"text": "Starting with localization. Compared with precise segmentation, learning localization is a simpler task as it only needs to provide coarser-grained outputs than pixel level of objects in images. Based on this motivation, we improve decoder predictions from the localization perspective. Class activation map (CAM) (Zhou et al., 2016) is a popular approach to provide localization for class-specific regions. CAM-based methods (Hou et al., 2018; Wei et al., 2017; Ahn & Kwak, 2018) have been successfully adopted to tackle a different weakly supervised semantic segmentation task from us, where they assume only image-level labels are available. In practice, we adopt a variant of class activation map, Grad-CAM (Selvaraju et al., 2017) in PseudoSeg. ",
|
| 316 |
+
"bbox": [
|
| 317 |
+
173,
|
| 318 |
+
205,
|
| 319 |
+
825,
|
| 320 |
+
318
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 3
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"text": "From localization to segmentation. CAM estimates the strength of classifier responses on local feature maps. Thus, an inherent limitation of CAM-based approaches is that it is prone to attending only to the most discriminative regions. Although many weakly-supervised segmentation approaches (Ahn & Kwak, 2018; Ahn et al., 2019; Sun et al., 2020) aim at refining CAM localization maps to segmentation masks, most of them have complicated post-processing steps, such as dense CRF (Krahenb ¨ uhl & Koltun ¨ , 2011), which increases the model complexity when used for consistency training. Here we present a computationally efficient yet effective refinement alternative, which is learnable using available pixel-labeled data. ",
|
| 327 |
+
"bbox": [
|
| 328 |
+
173,
|
| 329 |
+
320,
|
| 330 |
+
825,
|
| 331 |
+
433
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 3
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "Although CAM only localizes partial regions of interests, if we know the pairwise similarities between regions, we can propagate the CAM scores from the discriminative regions to the rest unattended regions. Actually, it has been shown in many works that the learned high-level deep features are usually good at similarity measurements of visual objects. In this paper, we find hypercolumn (Hariharan et al., 2015) with a learnable similarity measure function works fairly effective. ",
|
| 338 |
+
"bbox": [
|
| 339 |
+
174,
|
| 340 |
+
439,
|
| 341 |
+
823,
|
| 342 |
+
510
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 3
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"text": "Given the vanilla Grad-CAM output for all $C$ classes, which can be viewed as a spatially-flatten 2-D vector of weight $m \\in \\mathbb { R } ^ { L \\times C }$ , where each row $m _ { i }$ is the response weight per class for one region $i$ . Using a kernel function $\\mathcal { K } ( \\cdot , \\cdot ) : \\mathbb { R } ^ { H } \\times \\mathbb { R } ^ { H } \\mathbb { R }$ that measures element-wise similarity given feature $h \\in { \\bar { \\mathbb { R } } } ^ { H }$ of two regions, the propagated score $\\hat { m } _ { i } \\in \\mathbb { R } ^ { C }$ can be computed as follows ",
|
| 349 |
+
"bbox": [
|
| 350 |
+
174,
|
| 351 |
+
515,
|
| 352 |
+
825,
|
| 353 |
+
573
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 3
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "equation",
|
| 359 |
+
"img_path": "images/315a83a19acb724a2334523b444d0778b85206c5895fe1814d98891b2b465de8.jpg",
|
| 360 |
+
"text": "$$\n\\hat { m } _ { i } = \\left( m _ { i } + \\sum _ { j = 0 } ^ { L - 1 } \\frac { e ^ { K ( W _ { k } h _ { i } , W _ { v } h _ { j } ) } } { \\sum _ { k = 0 } ^ { L - 1 } e ^ { K ( W _ { k } h _ { i } , W _ { v } h _ { k } ) } } m _ { j } \\right) \\cdot W _ { c } .\n$$",
|
| 361 |
+
"text_format": "latex",
|
| 362 |
+
"bbox": [
|
| 363 |
+
323,
|
| 364 |
+
575,
|
| 365 |
+
674,
|
| 366 |
+
625
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 3
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "The goal of this function is to train $\\Theta = \\{ W _ { k } , W _ { v } \\in \\mathbb { R } ^ { H \\times H } , W _ { c } \\in \\mathbb { R } ^ { C \\times C } \\}$ in order to propagate the high value in $m$ to all adjacent elements in the feature space $\\mathbb { R } ^ { H }$ (i.e., hypercolumn features) to region $i$ . Adding $m _ { i }$ in equation 3 indicates the skip-connection. To compute propagated score for all regions, the operations in equation 3 can be efficiently implemented with self-attention dotproduct (Vaswani et al., 2017). For brevity, we denote this efficient refinement process output as selfattention Grad-CAM (SGC) maps in $\\mathbb { R } ^ { H \\times H \\times C }$ . Figure 6 in Appendix A specifies the architecture. ",
|
| 373 |
+
"bbox": [
|
| 374 |
+
173,
|
| 375 |
+
627,
|
| 376 |
+
825,
|
| 377 |
+
713
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 3
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "Calibrated prediction fusion. SGC maps are obtained from low-resolution feature maps. It is then resized to the desired output resolution, and thus not sufficient at delineating crisp boundaries. However, compared to the segmentation decoder, SGC is capable of generating more locally-consistent masks. Thus, we propose a novel calibrated fusion strategy to take advantage of both decoder and SCG predictions for better pseudo labels. ",
|
| 384 |
+
"bbox": [
|
| 385 |
+
174,
|
| 386 |
+
717,
|
| 387 |
+
825,
|
| 388 |
+
787
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 3
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"text": "Specifically, given a batch of decoder outputs (pre-softmax logits) $\\hat { p } = f _ { \\theta } ( \\omega ( x ) )$ and SGC maps $\\hat { m }$ computed from weakly-augmented data $\\omega ( x )$ , we generate the pseudo labels $\\widetilde { y }$ by ",
|
| 395 |
+
"bbox": [
|
| 396 |
+
173,
|
| 397 |
+
792,
|
| 398 |
+
825,
|
| 399 |
+
823
|
| 400 |
+
],
|
| 401 |
+
"page_idx": 3
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "equation",
|
| 405 |
+
"img_path": "images/8a2cc9c7dadb07213de1f86511ba990a5e698739952cb66fb24d2207c967f266.jpg",
|
| 406 |
+
"text": "$$\n\\mathcal { F } ( \\hat { p } , \\hat { m } ) = \\mathrm { S h a r p e n } \\left( \\gamma \\operatorname { S o f t m a x } \\left( \\frac { \\hat { p } } { \\operatorname { N o r m } ( \\hat { p } , \\hat { m } ) } \\right) + ( 1 - \\gamma ) \\operatorname { S o f t m a x } \\left( \\frac { \\hat { m } } { \\operatorname { N o r m } ( \\hat { p } , \\hat { m } ) } \\right) , T \\right) .\n$$",
|
| 407 |
+
"text_format": "latex",
|
| 408 |
+
"bbox": [
|
| 409 |
+
186,
|
| 410 |
+
825,
|
| 411 |
+
790,
|
| 412 |
+
861
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 3
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "text",
|
| 418 |
+
"text": "Two critical procedures are proposed to use here to make the fusion process successful. First, $\\hat { p }$ and $\\hat { m }$ are from different decision mechanisms and they could have very different degrees of overconfidence. Therefore, we introduce the operation $\\begin{array} { r } { \\mathrm { N o r m } ( a , b ) = \\sqrt { \\sum _ { i } ^ { | a | } ( a _ { i } ^ { 2 } + b _ { i } ^ { 2 } ) } } \\end{array}$ as a normalization factor. It alleviates the over-confident probability after softmax, which could unfavorably dominate the resulted $\\gamma$ -averaged probability. Second, the distribution sharpening operation Sharpen $\\begin{array} { r } { ( a , T ) _ { i } ~ = ~ a _ { i } ^ { 1 / T } / \\sum _ { j } ^ { C } a _ { j } ^ { 1 / T } } \\end{array}$ adjusts the temperature scalar $T$ of categorical distribution (Berthelot et al., 2019b; Chen et al., 2020b). Figure 2 illustrates the predictions from different sources. More importantly, we investigate the pseudo-labeling from a calibration perspective (Section 4.3), demonstrating that the proposed soft pseudo label $\\widetilde { y }$ leads to a better calibration metric comparing to other possible fusion alternatives, and justifying why it benefits the final segmentation performance. ",
|
| 419 |
+
"bbox": [
|
| 420 |
+
173,
|
| 421 |
+
862,
|
| 422 |
+
825,
|
| 423 |
+
915
|
| 424 |
+
],
|
| 425 |
+
"page_idx": 3
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "image",
|
| 429 |
+
"img_path": "images/da24262064ec7dc7f8d685b2d6566bc0dcda547c410ce0f2f99758c6eebe8bf2.jpg",
|
| 430 |
+
"image_caption": [
|
| 431 |
+
"Figure 2: Visualization of pseudo labels and other predictions. The generated pseudo label by fusing the predictions from the decoder and SGC map is used to supervise the decoder (strong) predictions of the strongly-augmented counterpart. "
|
| 432 |
+
],
|
| 433 |
+
"image_footnote": [],
|
| 434 |
+
"bbox": [
|
| 435 |
+
174,
|
| 436 |
+
101,
|
| 437 |
+
816,
|
| 438 |
+
162
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 4
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "",
|
| 445 |
+
"bbox": [
|
| 446 |
+
174,
|
| 447 |
+
224,
|
| 448 |
+
825,
|
| 449 |
+
340
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 4
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "Training. Our final training objective contains two extra losses: a classification loss $\\mathcal { L } _ { x }$ , and a segmentation loss $\\mathcal { L } _ { s a }$ . First, to compute Grad-CAM, we add a one-layer classification head after the segmentation backbone and a multi-label classification loss $\\mathcal { L } _ { x }$ . Second, as specified in Appendix A (Figure 6), SGC maps are scaled as pixel-wise probabilities using one-layer convolution followed by softmax in equation 3. Learning $\\Theta$ to predict SGC maps needs pixel-labeled data $D _ { l }$ . It is achieved by an extra segmentation loss $\\mathcal { L } _ { s a }$ between SGC maps of pixel-labeled data and corresponding ground truth. All the loss terms are jointly optimized (i.e., $\\mathcal { L } _ { u } + \\mathcal { L } _ { s } + \\mathcal { L } _ { x } + \\mathcal { L } _ { s a } )$ , while $\\mathcal { L } _ { s a }$ only optimizes $\\Theta$ (achieved by stopping gradient). See Figure 7 in the appendix for further details. ",
|
| 456 |
+
"bbox": [
|
| 457 |
+
174,
|
| 458 |
+
344,
|
| 459 |
+
825,
|
| 460 |
+
457
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 4
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "text",
|
| 466 |
+
"text": "3.2 INCORPORATING IMAGE-LEVEL LABELS AND AUGMENTATION ",
|
| 467 |
+
"text_level": 1,
|
| 468 |
+
"bbox": [
|
| 469 |
+
176,
|
| 470 |
+
474,
|
| 471 |
+
642,
|
| 472 |
+
488
|
| 473 |
+
],
|
| 474 |
+
"page_idx": 4
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"type": "text",
|
| 478 |
+
"text": "The proposed PseudoSeg can easily incorporate image-level label information (if available) into our one-stage training framework, which also leads to consistent improvement as we demonstrate in experiments. We utilize the image-level data with two following steps. First, we directly use ground truth image-level labels to generate Grad-CAMs instead of using classifier outputs. Second, they are used to increase classification supervision beyond pixel-level labels for the classifier head. ",
|
| 479 |
+
"bbox": [
|
| 480 |
+
174,
|
| 481 |
+
497,
|
| 482 |
+
825,
|
| 483 |
+
566
|
| 484 |
+
],
|
| 485 |
+
"page_idx": 4
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"type": "text",
|
| 489 |
+
"text": "For strong data augmentation, we simply follow color jittering operations from SimCLR (Chen et al., 2020b) and remove all geometric transformations. The overall strength of augmentation can be controlled by a scalar (studied in experiments). We also apply once random CutOut (DeVries & Taylor, 2017) with a region of $5 0 \\times 5 0$ pixels since we find it gives consistent though minor improvement (pixels inside CutOut regions are ignored in computing losses). ",
|
| 490 |
+
"bbox": [
|
| 491 |
+
174,
|
| 492 |
+
574,
|
| 493 |
+
825,
|
| 494 |
+
643
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 4
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "4 EXPERIMENTAL RESULTS ",
|
| 501 |
+
"text_level": 1,
|
| 502 |
+
"bbox": [
|
| 503 |
+
176,
|
| 504 |
+
665,
|
| 505 |
+
419,
|
| 506 |
+
680
|
| 507 |
+
],
|
| 508 |
+
"page_idx": 4
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"type": "text",
|
| 512 |
+
"text": "We start by specifying the experimental details. Then, we evaluate the method in the settings of using pixel-level labeled data and unlabeled data, as well as using pixel-level labeled data and image-level labeled data, respectively. Next, we conduct various ablation studies to justify our design choices. Lastly, we conduct more comparative experiments in specific settings. ",
|
| 513 |
+
"bbox": [
|
| 514 |
+
174,
|
| 515 |
+
694,
|
| 516 |
+
825,
|
| 517 |
+
750
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 4
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "text",
|
| 523 |
+
"text": "To evaluate the proposed method, we conduct the main experiments and ablation studies on the PASCAL VOC 2012 dataset (VOC12) (Everingham et al., 2015), which contains 21 classes including background. The standard VOC12 dataset has 1,449 images as the training set and 1,456 images as the validation set. We randomly subsample 1/2, 1/4, 1/8, and 1/16 of images in the standard training set to construct the pixel-level labeled data. The remaining images in the standard training set, together with the images in the augmented set (Hariharan et al., 2011) (around $9 \\mathrm { k }$ images), are used as unlabeled or image-level labeled data. To further verify the effectiveness of the proposed method, we also conduct experiments on the COCO dataset (Lin et al., 2014). The COCO dataset has 118,287 images as the training set, and 5,000 images as the validation set. We evaluate on the 80 foreground classes and the background, as in the object detection task. As the COCO dataset is larger than VOC12, we randomly subsample smaller ratios, 1/32, 1/64, 1/128, 1/256, 1/512, of images from the training set to construct the pixel-level labeled data. The remaining images in the training set are used as unlabeled data or image-level labeled data. We evaluate the performance using the standard mean intersection-over-union (mIoU) metric. Implementation details can be found in Appendix B. ",
|
| 524 |
+
"bbox": [
|
| 525 |
+
174,
|
| 526 |
+
757,
|
| 527 |
+
825,
|
| 528 |
+
924
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 4
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "image",
|
| 534 |
+
"img_path": "images/97a7070768c40a2ee90f5b98acf7964c79ffade7edbbd0d82e10f3742a8ab33c.jpg",
|
| 535 |
+
"image_caption": [
|
| 536 |
+
"Figure 3: Improvement over the strong supervised baseline, in a semi-supervised setting (w/ unlabeled data) on VOC12 val (left) and COCO val (right). "
|
| 537 |
+
],
|
| 538 |
+
"image_footnote": [],
|
| 539 |
+
"bbox": [
|
| 540 |
+
204,
|
| 541 |
+
103,
|
| 542 |
+
800,
|
| 543 |
+
256
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 5
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "",
|
| 550 |
+
"bbox": [
|
| 551 |
+
174,
|
| 552 |
+
305,
|
| 553 |
+
825,
|
| 554 |
+
347
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 5
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "text",
|
| 560 |
+
"text": "4.1 EXPERIMENTS USING PIXEL-LEVEL LABELED DATA AND UNLABELED DATA ",
|
| 561 |
+
"text_level": 1,
|
| 562 |
+
"bbox": [
|
| 563 |
+
174,
|
| 564 |
+
369,
|
| 565 |
+
733,
|
| 566 |
+
382
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 5
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"text": "Improvement over a strong baseline. We first demonstrate the effectiveness of the proposed method by comparing it with the DeepLabv $^ { 3 + }$ model trained with only the pixel-level labeled data. As shown in Figure 3 (a), the proposed method consistently outperforms the supervised training baseline on VOC12, by utilizing the pixel-level labeled data and the unlabeled data. The proposed method not only achieves a large performance boost in the low-data regime (when only $6 . 2 5 \\%$ pixellevel labels available), but also improves the performance when the entire training set (1.4k images) is available. In Figure 3 (b), we again observe consistent improvement on the COCO dataset. ",
|
| 573 |
+
"bbox": [
|
| 574 |
+
174,
|
| 575 |
+
390,
|
| 576 |
+
825,
|
| 577 |
+
488
|
| 578 |
+
],
|
| 579 |
+
"page_idx": 5
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "text",
|
| 583 |
+
"text": "Comparisons with the others. Next, we compare the proposed method with recent state of the arts on both the public $1 . 4 \\mathrm { k } / 9 \\mathrm { k }$ split (in Table 1) and the created low-data splits (in Table 2), on VOC12. Our method compares favorably with the others. ",
|
| 584 |
+
"bbox": [
|
| 585 |
+
174,
|
| 586 |
+
492,
|
| 587 |
+
823,
|
| 588 |
+
535
|
| 589 |
+
],
|
| 590 |
+
"page_idx": 5
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "table",
|
| 594 |
+
"img_path": "images/7dc01ac8aa35a31e2e6ee4fc30ab2876ef40c10e92c233a07ab5670dfc41cdf0.jpg",
|
| 595 |
+
"table_caption": [
|
| 596 |
+
"Table 1: Comparison with state of the arts on VOC12 val set (w/ pixel-level labeled data and unlabeled data). We use the official training set (1.4k) as labeled data, and the augmented set (9k) as unlabeled data. "
|
| 597 |
+
],
|
| 598 |
+
"table_footnote": [],
|
| 599 |
+
"table_body": "<table><tr><td>Method</td><td>Network</td><td>mIoU (%)</td></tr><tr><td>GANSeg (Souly et al., 2017)</td><td>VGG16</td><td>64.10</td></tr><tr><td>AdvSemSeg (Hung et al., 2018)</td><td>ResNet-101</td><td>68.40</td></tr><tr><td>CCT (Ouali et al., 2020)</td><td>ResNet-50</td><td>69.40</td></tr><tr><td>PseudoSeg (Ours)</td><td>ResNet-50</td><td>71.00</td></tr><tr><td>PseudoSeg (Ours)</td><td>ResNet-101</td><td>73.23</td></tr></table>",
|
| 600 |
+
"bbox": [
|
| 601 |
+
290,
|
| 602 |
+
595,
|
| 603 |
+
707,
|
| 604 |
+
703
|
| 605 |
+
],
|
| 606 |
+
"page_idx": 5
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"type": "table",
|
| 610 |
+
"img_path": "images/9203a0f288452039135c22a7ed17100e16fb37d08c9e0dc9a4259bcec589a2f7.jpg",
|
| 611 |
+
"table_caption": [
|
| 612 |
+
"Table 2: Comparison with state of the arts on VOC12 val set (w/ pixel-level labeled data and unlabeled data) using low-data splits. The exact numbers of pixel-labeled images are shown in brackets. All the methods use ResNet-101 as backbone except CCT (Ouali et al., 2020), which uses ResNet-50. \\* indicates implementation from Ke et al. (2020), \\*\\* indicates implementation from French et al. (2020). "
|
| 613 |
+
],
|
| 614 |
+
"table_footnote": [],
|
| 615 |
+
"table_body": "<table><tr><td>Method</td><td>1/2 (732)</td><td>1/4 (366)</td><td>1/8 (183)</td><td>1/16 (92)</td></tr><tr><td>AdvSemSeg (Hung et al., 2018)</td><td>65.27</td><td>59.97</td><td>47.58</td><td>39.69</td></tr><tr><td>CCT (Ouali et al., 2020)</td><td>62.10</td><td>58.80</td><td>47.60</td><td>33.10</td></tr><tr><td>*MT (Tarvainen & Valpola, 2017)</td><td>69.16</td><td>63.01</td><td>55.81</td><td>48.70</td></tr><tr><td>GCT (Ke et al., 2020)</td><td>70.67</td><td>64.71</td><td>54.98</td><td>46.04</td></tr><tr><td> **VAT (Miyato et al., 2018)</td><td>63.34</td><td>56.88</td><td>49.35</td><td>36.92</td></tr><tr><td>CutMix (French et al., 2020)</td><td>69.84</td><td>68.36</td><td>63.20</td><td>55.58</td></tr><tr><td>PseudoSeg (Ours)</td><td>72.41</td><td>69.14</td><td>65.50</td><td>57.60</td></tr></table>",
|
| 616 |
+
"bbox": [
|
| 617 |
+
235,
|
| 618 |
+
797,
|
| 619 |
+
754,
|
| 620 |
+
921
|
| 621 |
+
],
|
| 622 |
+
"page_idx": 5
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"type": "image",
|
| 626 |
+
"img_path": "images/e591d5f2246b80ae34e3f3b7d110f34c16cf3c68f8df57d4c593602c1b0a3fc4.jpg",
|
| 627 |
+
"image_caption": [
|
| 628 |
+
"Figure 4: Improvement over the strong supervised baseline, in a semi-supervised setting (w/ image-level labeled data) on VOC12 val (left) and COCO val (right). "
|
| 629 |
+
],
|
| 630 |
+
"image_footnote": [],
|
| 631 |
+
"bbox": [
|
| 632 |
+
215,
|
| 633 |
+
103,
|
| 634 |
+
802,
|
| 635 |
+
250
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 6
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "table",
|
| 641 |
+
"img_path": "images/eb7b923cd88434032cfbcc8bcc469b576f879830405bd525e8c663d309aec896.jpg",
|
| 642 |
+
"table_caption": [
|
| 643 |
+
"Table 3: Comparison with state of the arts on VOC12 val set (w/ pixel-level labeled data and image-level labeled data). We use the official training set (1.4k) as labeled data, and the augmented set (9k) as image-level labeled data. "
|
| 644 |
+
],
|
| 645 |
+
"table_footnote": [],
|
| 646 |
+
"table_body": "<table><tr><td>Method</td><td>Model</td><td>Network</td><td>mIoU (%)</td></tr><tr><td>WSSN (Papandreou et al., 2015)</td><td>DeepLab-CRF</td><td>VGG16</td><td>64.60</td></tr><tr><td>GAIN (Li et al., 2018)</td><td>DeepLab-CRF-LFOV</td><td>VGG16</td><td>60.50</td></tr><tr><td>MDC (Wei et al.,2018)</td><td>DeepLab-CRF-LFOV</td><td>VGG16</td><td>65.70</td></tr><tr><td>DSRG (Huang et al.,2018)</td><td>DeepLabv2</td><td>VGG16</td><td>64.30</td></tr><tr><td>GANSeg (Souly et al.,2017)</td><td>FCN</td><td>VGG16</td><td>65.80</td></tr><tr><td>FickleNet (Lee et al.,2019)</td><td>DeepLabv2</td><td>ResNet-101</td><td>65.80</td></tr><tr><td>CCT (Ouali et al., 2020)</td><td>PSP-Net</td><td>ResNet-50</td><td>73.20</td></tr><tr><td>PseudoSeg (Ours)</td><td>DeepLabv3+</td><td>ResNet-50</td><td>73.80</td></tr></table>",
|
| 647 |
+
"bbox": [
|
| 648 |
+
176,
|
| 649 |
+
352,
|
| 650 |
+
550,
|
| 651 |
+
446
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 6
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "table",
|
| 657 |
+
"img_path": "images/bed5989fe8e0872d448e030d1d8d57de1db612740b64cbb18930fedff50be1c6.jpg",
|
| 658 |
+
"table_caption": [
|
| 659 |
+
"Table 4: Comparison with state of the arts on VOC12 val set with pixel-level labeled data and image-level labeled data. Four ratios of pixel-level labeled examples are tested. Both CCT (Ouali et al., 2020) and our method use ResNet-50 as backbone. "
|
| 660 |
+
],
|
| 661 |
+
"table_footnote": [],
|
| 662 |
+
"table_body": "<table><tr><td>Split</td><td>CCT</td><td>PseudoSeg</td></tr><tr><td>1/2</td><td>66.80</td><td>73.51</td></tr><tr><td>1/4</td><td>67.60</td><td>71.79</td></tr><tr><td>1/8</td><td>62.50</td><td>69.15</td></tr><tr><td>1/16</td><td>51.80</td><td>65.44</td></tr></table>",
|
| 663 |
+
"bbox": [
|
| 664 |
+
604,
|
| 665 |
+
385,
|
| 666 |
+
789,
|
| 667 |
+
463
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 6
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"text": "Similar to semi-supervised learning using pixel-level labeled data and unlabeled data, we first demonstrate the efficacy of our method by comparing it with a strong supervised baseline. As shown in Figure 4, the proposed method consistently improves the strong baseline on both datasets. In Table 3, we evaluate on the public $1 . 4 \\mathrm { k } / 9 \\mathrm { k }$ split. The proposed method compares favorably with the other methods. Moreover, we further compare to best compared CCT on the created low-data splits (in Table 4). Both experiments show that the proposed PseudoSeg is more robust than the compared method given less data. On all splits on both datasets, using pixel-level labeled data and image-labeled data shows higher mIoU than the setting using pixel-level labeled data and unlabeled data. ",
|
| 674 |
+
"bbox": [
|
| 675 |
+
173,
|
| 676 |
+
505,
|
| 677 |
+
825,
|
| 678 |
+
630
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 6
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "4.3 ABLATION STUDY ",
|
| 685 |
+
"text_level": 1,
|
| 686 |
+
"bbox": [
|
| 687 |
+
176,
|
| 688 |
+
648,
|
| 689 |
+
339,
|
| 690 |
+
662
|
| 691 |
+
],
|
| 692 |
+
"page_idx": 6
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"type": "text",
|
| 696 |
+
"text": "In this section, we conduct extensive ablation experiments on VOC12 to validate our design choices. ",
|
| 697 |
+
"bbox": [
|
| 698 |
+
173,
|
| 699 |
+
672,
|
| 700 |
+
821,
|
| 701 |
+
688
|
| 702 |
+
],
|
| 703 |
+
"page_idx": 6
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"type": "text",
|
| 707 |
+
"text": "How to construct pseudo label? We investigate the effectiveness of the proposed pseudo labeling. Table 5 demonstrates quantitative results, indicating that using either decoder output or SGC alone gives an inferior performance. Naively using decoder output as pseudo labels can hardly work well. The proposed fusion consistently performs better, either with or without additional image-level labels. To further answer why our pseudo labels are effective, we study from the model calibration perspective. We measure the expected calibration error (ECE) (Guo et al., 2017) scores of all the intermediate steps and other fusion variants. As shown in Figure 5 (a), the proposed fusion strategy (denoted as G in the figure) achieves the lowest ECE scores, indicating that the significance of jointly using normalization with sharpening (see equation 4) compared with other fusion alternatives. We hypothesize using well-calibrated soft labels makes model training less affected by label noises. The comprehensive calibration study is left as a future exploration direction. ",
|
| 708 |
+
"bbox": [
|
| 709 |
+
174,
|
| 710 |
+
691,
|
| 711 |
+
825,
|
| 712 |
+
844
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 6
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "text",
|
| 718 |
+
"text": "Using hypercolumn feature or not? In Figure 5 (b), we study the effectiveness of using hypercolumn features instead of the last feature maps in equation 3. We conduct the experiments on the 1/16 split of VOC12. As we can see, hypercolumn features substantially improve performance. ",
|
| 719 |
+
"bbox": [
|
| 720 |
+
174,
|
| 721 |
+
849,
|
| 722 |
+
825,
|
| 723 |
+
891
|
| 724 |
+
],
|
| 725 |
+
"page_idx": 6
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"type": "text",
|
| 729 |
+
"text": "Soft or hard pseudo label? How to utilize predictions as pseudo labels remains an active question in SSL. Next, we study whether we should use soft or hard one-hot pseudo labels. We conduct the experiments in the setting where pixel-level labeled data and image-level labeled data are available. As shown in Figure 5 (c), using all predictions as soft pseudo label yields better performance than selecting confident predictions. This suggests that well-calibrated soft pseudo labels might be important in segmentation than over-simplified confidence thresholding. ",
|
| 730 |
+
"bbox": [
|
| 731 |
+
173,
|
| 732 |
+
895,
|
| 733 |
+
823,
|
| 734 |
+
924
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 6
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "table",
|
| 740 |
+
"img_path": "images/1428232eb8af7478e83809145a4cde79932a04e250f1fcd9c83f6c06df1cca51.jpg",
|
| 741 |
+
"table_caption": [
|
| 742 |
+
"Table 5: Comparison to alternative pseudo labeling strategies. We conduct experiments using 1/4, 1/8, 1/16 of the pixel-level labeled data, the exact numbers of images are shown in the brackets. "
|
| 743 |
+
],
|
| 744 |
+
"table_footnote": [],
|
| 745 |
+
"table_body": "<table><tr><td>Source</td><td>Using image-level labels</td><td>1/4 (366)</td><td>1/8 (183)</td><td>1/16 (92)</td></tr><tr><td>Decoder only</td><td></td><td>70.22</td><td>69.35</td><td>53.20</td></tr><tr><td>SGC only</td><td></td><td>67.07</td><td>62.61</td><td>53.42</td></tr><tr><td>Calibrated fusion</td><td></td><td>73.79</td><td>73.13</td><td>67.06</td></tr><tr><td>Decoder only</td><td></td><td>73.95</td><td>73.05</td><td>67.54</td></tr><tr><td>SGC only</td><td></td><td>71.73</td><td>67.57</td><td>64.26</td></tr><tr><td>Calibrated fusion</td><td></td><td>75.29</td><td>74.70</td><td>71.22</td></tr></table>",
|
| 746 |
+
"bbox": [
|
| 747 |
+
235,
|
| 748 |
+
132,
|
| 749 |
+
756,
|
| 750 |
+
244
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 7
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "image",
|
| 756 |
+
"img_path": "images/22e308dca704e89de560810e1f3d6d1ababe29fdb06d4ffaa1dc2fe834ea9bc0.jpg",
|
| 757 |
+
"image_caption": [
|
| 758 |
+
"Figure 5: Ablation studies on different factors. See Section 4.3 for complete details. "
|
| 759 |
+
],
|
| 760 |
+
"image_footnote": [],
|
| 761 |
+
"bbox": [
|
| 762 |
+
174,
|
| 763 |
+
260,
|
| 764 |
+
823,
|
| 765 |
+
535
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 7
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "text",
|
| 771 |
+
"text": "",
|
| 772 |
+
"bbox": [
|
| 773 |
+
173,
|
| 774 |
+
571,
|
| 775 |
+
825,
|
| 776 |
+
628
|
| 777 |
+
],
|
| 778 |
+
"page_idx": 7
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"type": "text",
|
| 782 |
+
"text": "Temperature sharpening or not? We study the effect of temperature sharpening in equation 4. We conduct the experiments in the setting where pixel-level labeled data and image-level labeled data are available. As shown in Figure 5 (d), temperature sharpening shows consistent and clear improvements. ",
|
| 783 |
+
"bbox": [
|
| 784 |
+
174,
|
| 785 |
+
632,
|
| 786 |
+
823,
|
| 787 |
+
688
|
| 788 |
+
],
|
| 789 |
+
"page_idx": 7
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"type": "text",
|
| 793 |
+
"text": "Strong augmentation strength. In Figure 5 (e), we study the effects of color jittering in the strong augmentation. The magnitude of jittering strength is controlled by a scalar (Chen et al., 2020b). We conduct the experiments in the setting where pixel-level labeled data and unlabeled data are available. If the magnitude is too small, performance drops significantly, suggesting the importance of strong augmentation. ",
|
| 794 |
+
"bbox": [
|
| 795 |
+
174,
|
| 796 |
+
693,
|
| 797 |
+
825,
|
| 798 |
+
762
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 7
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "text",
|
| 804 |
+
"text": "Impact of different feature backbones. In Figure 5 (f), we compare the performance of using ResNet-50, ResNet-101, and Xception-65 as backbone architectures, respectively. We conduct the experiments in the setting where pixel-level labeled data and unlabeled data are available. As we can see, the proposed method consistently improves the baseline by a substantial margin across different backbone architectures. ",
|
| 805 |
+
"bbox": [
|
| 806 |
+
174,
|
| 807 |
+
767,
|
| 808 |
+
825,
|
| 809 |
+
837
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 7
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "text",
|
| 815 |
+
"text": "4.4 COMPARISON WITH SELF-TRAINING ",
|
| 816 |
+
"text_level": 1,
|
| 817 |
+
"bbox": [
|
| 818 |
+
176,
|
| 819 |
+
858,
|
| 820 |
+
462,
|
| 821 |
+
871
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 7
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"text": "Several recent approaches (Chen et al., 2020a; Zoph et al., 2020) exploit the Student-Teacher selftraining idea to improve the performance with additional unlabeled data. However, these methods only apply self-training in the high-data regime (i.e., sufficient pixel-labeled data to train teachers). ",
|
| 828 |
+
"bbox": [
|
| 829 |
+
176,
|
| 830 |
+
882,
|
| 831 |
+
823,
|
| 832 |
+
924
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 7
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "table",
|
| 838 |
+
"img_path": "images/2715b1a36b360cce6e5e8e954ddad46481951e5efe9bfac4ffd4e9083d94e9a5.jpg",
|
| 839 |
+
"table_caption": [
|
| 840 |
+
"Table 6: Comparison with self-training. We use our supervised baseline as the teacher to generate one-hot pseudo labels, following Zoph et al. (2020). "
|
| 841 |
+
],
|
| 842 |
+
"table_footnote": [],
|
| 843 |
+
"table_body": "<table><tr><td>Method</td><td>Using image-level labels</td><td>1/4 (366)</td><td>1/8 (183)</td><td>1/16 (92)</td></tr><tr><td>Supervised (Teacher)</td><td></td><td>70.20</td><td>64.00</td><td>56.03</td></tr><tr><td>Self-training (Student)</td><td>1</td><td>72.85</td><td>69.88</td><td>64.20</td></tr><tr><td>PseudoSeg (Ours)</td><td>-</td><td>73.79</td><td>73.13</td><td>67.06</td></tr><tr><td>PseudoSeg (Ours)</td><td>√</td><td>75.29</td><td>74.70</td><td>71.22</td></tr></table>",
|
| 844 |
+
"bbox": [
|
| 845 |
+
220,
|
| 846 |
+
132,
|
| 847 |
+
772,
|
| 848 |
+
218
|
| 849 |
+
],
|
| 850 |
+
"page_idx": 8
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"type": "text",
|
| 854 |
+
"text": "Here we compare these methods in the low-data regimes, where we focus on. To generate offline pseudo labels, we closely follow segmentation experiments in Zoph et al. (2020): pixels with a confidence score higher than 0.5 will be used as one-hot pseudo labels, while the remaining are treated as ignored regions. This step is considered important to suppress noisy labels. A student model is then trained using the combination of unlabeled data in VOC12 train and augmented sets with generated one-hot pseudo labels and all the available pixel-level labeled data. As shown in Table 6, although the self-training pretty well improves over the supervised baseline, it is inferior to the proposed method 2. We conjecture that the teacher model usually produces low confidence scores to pixels around boundaries, so pseudo labels of these pixels are filtered in student training. However, boundary pixels are important for improving the performance of segmentation (Kirillov et al., 2020). On the other hand, the design of our method (online soft pseudo labeling process) bypass this challenge. We will conduct more verification of this hypothesis in future work. ",
|
| 855 |
+
"bbox": [
|
| 856 |
+
173,
|
| 857 |
+
233,
|
| 858 |
+
825,
|
| 859 |
+
400
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 8
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "5 IMPROVING THE FULLY-SUPERVISED METHOD WITH ADDITIONAL DAT ",
|
| 866 |
+
"text_level": 1,
|
| 867 |
+
"bbox": [
|
| 868 |
+
194,
|
| 869 |
+
417,
|
| 870 |
+
691,
|
| 871 |
+
430
|
| 872 |
+
],
|
| 873 |
+
"page_idx": 8
|
| 874 |
+
},
|
| 875 |
+
{
|
| 876 |
+
"type": "text",
|
| 877 |
+
"text": "We have validated the effectiveness of the proposed method in the low-data regime. In this section, we want to explore whether the proposed method can further improve supervised training in the full training set using additional data. We use the training set (1.4k) in VOC12 as the pixel-level labeled data. The additional data contains additional VOC 9k $( V _ { 9 k } )$ , COCO training set $( C _ { t r } )$ , and COCO unlabeled data $( C _ { u } )$ . More training details can be found in Appendix D. As shown in Table 7, the proposed PseudoSeg is able to improve upon the supervised baseline even in the high-data regime, using additional unlabeled or image-level labeled data. ",
|
| 878 |
+
"bbox": [
|
| 879 |
+
174,
|
| 880 |
+
439,
|
| 881 |
+
825,
|
| 882 |
+
537
|
| 883 |
+
],
|
| 884 |
+
"page_idx": 8
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"type": "table",
|
| 888 |
+
"img_path": "images/ff061b56d6ee624a1ae28039431568030c3c487b3a4ade5abd9338e0c6c7e09f.jpg",
|
| 889 |
+
"table_caption": [
|
| 890 |
+
"Table 7: Improving fully supervised model with extra data. No test-time augmentation is used. "
|
| 891 |
+
],
|
| 892 |
+
"table_footnote": [],
|
| 893 |
+
"table_body": "<table><tr><td>Method</td><td></td><td colspan=\"2\">Baseline丨PseudoSeg (w/o image-level labels)丨PseudoSeg (w/image-level labels)</td><td colspan=\"2\"></td></tr><tr><td>Extra data</td><td>1</td><td>Ctr+Cu</td><td>Ctr + Cu + V9k</td><td>Ctr</td><td>Ctr +Vgk</td></tr><tr><td>mIoU (%)</td><td>76.96</td><td>77.40 (+0.44)</td><td>78.20 (+1.24)</td><td>77.80 (+0.84)</td><td>79.28 (+2.32)</td></tr></table>",
|
| 894 |
+
"bbox": [
|
| 895 |
+
187,
|
| 896 |
+
568,
|
| 897 |
+
803,
|
| 898 |
+
627
|
| 899 |
+
],
|
| 900 |
+
"page_idx": 8
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "text",
|
| 904 |
+
"text": "5 DISCUSSION AND CONCLUSION ",
|
| 905 |
+
"text_level": 1,
|
| 906 |
+
"bbox": [
|
| 907 |
+
176,
|
| 908 |
+
648,
|
| 909 |
+
470,
|
| 910 |
+
665
|
| 911 |
+
],
|
| 912 |
+
"page_idx": 8
|
| 913 |
+
},
|
| 914 |
+
{
|
| 915 |
+
"type": "text",
|
| 916 |
+
"text": "The key to the good performance of our method in the low-data regime is the novel re-design of pseudo-labeling strategy, which pursues a different decision mechanism from weakly-supervised localization to “remedy” weak predictions from segmentation head. Then augmentation consistency training progressively improves segmentation head quality. For the first time, we demonstrate that, with well-calibrated soft pseudo labels, utilizing unlabeled or image-labeled data significantly improves segmentation at low-data regimes. Further exploration of fusing stronger and better-calibrated pseudo labels worth more study as future directions (e.g., multi-scaling). Although color jittering works within our method as strong data augmentation, we have extensively explored geometric augmentations (leveraging STN (Jaderberg et al., 2015) to align pixels in pseudo labels and strongly-augmented predictions) for segmentation but find it not helpful. We believe data augmentation needs re-thinking beyond current success in classification for segmentation usage. ",
|
| 917 |
+
"bbox": [
|
| 918 |
+
173,
|
| 919 |
+
670,
|
| 920 |
+
825,
|
| 921 |
+
823
|
| 922 |
+
],
|
| 923 |
+
"page_idx": 8
|
| 924 |
+
},
|
| 925 |
+
{
|
| 926 |
+
"type": "text",
|
| 927 |
+
"text": "ACKNOWLEDGEMENT ",
|
| 928 |
+
"text_level": 1,
|
| 929 |
+
"bbox": [
|
| 930 |
+
176,
|
| 931 |
+
845,
|
| 932 |
+
357,
|
| 933 |
+
858
|
| 934 |
+
],
|
| 935 |
+
"page_idx": 8
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "text",
|
| 939 |
+
"text": "We thank Liang-Chieh Chen and Barret Zoph for their valuable comments. ",
|
| 940 |
+
"bbox": [
|
| 941 |
+
174,
|
| 942 |
+
875,
|
| 943 |
+
663,
|
| 944 |
+
888
|
| 945 |
+
],
|
| 946 |
+
"page_idx": 8
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "text",
|
| 950 |
+
"text": "REFERENCES ",
|
| 951 |
+
"text_level": 1,
|
| 952 |
+
"bbox": [
|
| 953 |
+
174,
|
| 954 |
+
103,
|
| 955 |
+
285,
|
| 956 |
+
117
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 9
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "Jiwoon Ahn and Suha Kwak. Learning pixel-level semantic affinity with image-level supervision for weakly supervised semantic segmentation. In CVPR, 2018. 3, 4 ",
|
| 963 |
+
"bbox": [
|
| 964 |
+
176,
|
| 965 |
+
125,
|
| 966 |
+
821,
|
| 967 |
+
151
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 9
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "text",
|
| 973 |
+
"text": "Jiwoon Ahn, Sunghyun Cho, and Suha Kwak. Weakly supervised learning of instance segmentation with inter-pixel relations. In CVPR, 2019. 4, 14 ",
|
| 974 |
+
"bbox": [
|
| 975 |
+
173,
|
| 976 |
+
159,
|
| 977 |
+
820,
|
| 978 |
+
185
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 9
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "David Berthelot, Nicholas Carlini, Ekin D Cubuk, Alex Kurakin, Kihyuk Sohn, Han Zhang, and Colin Raffel. Remixmatch: Semi-supervised learning with distribution matching and augmentation anchoring. In ICLR, 2019a. 2 ",
|
| 985 |
+
"bbox": [
|
| 986 |
+
171,
|
| 987 |
+
194,
|
| 988 |
+
821,
|
| 989 |
+
233
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 9
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "text",
|
| 995 |
+
"text": "David Berthelot, Nicholas Carlini, Ian Goodfellow, Nicolas Papernot, Avital Oliver, and Colin A Raffel. Mixmatch: A holistic approach to semi-supervised learning. In NeurIPS, 2019b. 1, 2, 5 ",
|
| 996 |
+
"bbox": [
|
| 997 |
+
173,
|
| 998 |
+
242,
|
| 999 |
+
821,
|
| 1000 |
+
270
|
| 1001 |
+
],
|
| 1002 |
+
"page_idx": 9
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"type": "text",
|
| 1006 |
+
"text": "Liang-Chieh Chen, Yukun Zhu, George Papandreou, Florian Schroff, and Hartwig Adam. Encoder-decoder with atrous separable convolution for semantic image segmentation. In ECCV, 2018. 1, 3, 15 ",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
171,
|
| 1009 |
+
277,
|
| 1010 |
+
823,
|
| 1011 |
+
304
|
| 1012 |
+
],
|
| 1013 |
+
"page_idx": 9
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"type": "text",
|
| 1017 |
+
"text": "Liang-Chieh Chen, Raphael Gontijo Lopes, Bowen Cheng, Maxwell D Collins, Ekin D Cubuk, Barret Zoph, Hartwig Adam, and Jonathon Shlens. Naive-student: Leveraging semi-supervised learning in video sequences for urban scene segmentation. In ECCV, 2020a. 1, 2, 8 ",
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
174,
|
| 1020 |
+
313,
|
| 1021 |
+
825,
|
| 1022 |
+
352
|
| 1023 |
+
],
|
| 1024 |
+
"page_idx": 9
|
| 1025 |
+
},
|
| 1026 |
+
{
|
| 1027 |
+
"type": "text",
|
| 1028 |
+
"text": "Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In ICML, 2020b. 5, 8 ",
|
| 1029 |
+
"bbox": [
|
| 1030 |
+
176,
|
| 1031 |
+
361,
|
| 1032 |
+
821,
|
| 1033 |
+
387
|
| 1034 |
+
],
|
| 1035 |
+
"page_idx": 9
|
| 1036 |
+
},
|
| 1037 |
+
{
|
| 1038 |
+
"type": "text",
|
| 1039 |
+
"text": "Franc¸ois Chollet. Xception: Deep learning with depthwise separable convolutions. In CVPR, 2017. 13 ",
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
171,
|
| 1042 |
+
395,
|
| 1043 |
+
781,
|
| 1044 |
+
410
|
| 1045 |
+
],
|
| 1046 |
+
"page_idx": 9
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"type": "text",
|
| 1050 |
+
"text": "Marius Cordts, Mohamed Omran, Sebastian Ramos, Timo Rehfeld, Markus Enzweiler, Rodrigo Benenson, Uwe Franke, Stefan Roth, and Bernt Schiele. The cityscapes dataset for semantic urban scene understanding. In CVPR, 2016. 15 ",
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
174,
|
| 1053 |
+
417,
|
| 1054 |
+
823,
|
| 1055 |
+
457
|
| 1056 |
+
],
|
| 1057 |
+
"page_idx": 9
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"type": "text",
|
| 1061 |
+
"text": "Jifeng Dai, Kaiming He, and Jian Sun. Boxsup: Exploiting bounding boxes to supervise convolutional networks for semantic segmentation. In ICCV, 2015. 2 ",
|
| 1062 |
+
"bbox": [
|
| 1063 |
+
173,
|
| 1064 |
+
465,
|
| 1065 |
+
823,
|
| 1066 |
+
492
|
| 1067 |
+
],
|
| 1068 |
+
"page_idx": 9
|
| 1069 |
+
},
|
| 1070 |
+
{
|
| 1071 |
+
"type": "text",
|
| 1072 |
+
"text": "Terrance DeVries and Graham W Taylor. Improved regularization of convolutional neural networks with cutout. arXiv preprint arXiv:1708.04552, 2017. 5 ",
|
| 1073 |
+
"bbox": [
|
| 1074 |
+
173,
|
| 1075 |
+
501,
|
| 1076 |
+
823,
|
| 1077 |
+
527
|
| 1078 |
+
],
|
| 1079 |
+
"page_idx": 9
|
| 1080 |
+
},
|
| 1081 |
+
{
|
| 1082 |
+
"type": "text",
|
| 1083 |
+
"text": "Mark Everingham, SM Ali Eslami, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. The pascal visual object classes challenge: A retrospective. IJCV, 111(1):98–136, 2015. 5 ",
|
| 1084 |
+
"bbox": [
|
| 1085 |
+
174,
|
| 1086 |
+
535,
|
| 1087 |
+
820,
|
| 1088 |
+
563
|
| 1089 |
+
],
|
| 1090 |
+
"page_idx": 9
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"type": "text",
|
| 1094 |
+
"text": "Geoff French, Timo Aila, Samuli Laine, Michal Mackiewicz, and Graham Finlayson. Semi-supervised semantic segmentation needs strong, high-dimensional perturbations. In BMVC, 2020. 2, 6, 15 ",
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
176,
|
| 1097 |
+
570,
|
| 1098 |
+
820,
|
| 1099 |
+
598
|
| 1100 |
+
],
|
| 1101 |
+
"page_idx": 9
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"type": "text",
|
| 1105 |
+
"text": "Yves Grandvalet and Yoshua Bengio. Semi-supervised learning by entropy minimization. In NeurIPS, 2005. 2 ",
|
| 1106 |
+
"bbox": [
|
| 1107 |
+
174,
|
| 1108 |
+
606,
|
| 1109 |
+
821,
|
| 1110 |
+
621
|
| 1111 |
+
],
|
| 1112 |
+
"page_idx": 9
|
| 1113 |
+
},
|
| 1114 |
+
{
|
| 1115 |
+
"type": "text",
|
| 1116 |
+
"text": "Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q Weinberger. On calibration of modern neural networks. ICML, 2017. 7 ",
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
174,
|
| 1119 |
+
628,
|
| 1120 |
+
823,
|
| 1121 |
+
656
|
| 1122 |
+
],
|
| 1123 |
+
"page_idx": 9
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"type": "text",
|
| 1127 |
+
"text": "Bharath Hariharan, Pablo Arbelaez, Lubomir Bourdev, Subhransu Maji, and Jitendra Malik. Semantic contours ´ from inverse detectors. In ICCV, 2011. 5 ",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
173,
|
| 1130 |
+
664,
|
| 1131 |
+
823,
|
| 1132 |
+
690
|
| 1133 |
+
],
|
| 1134 |
+
"page_idx": 9
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"type": "text",
|
| 1138 |
+
"text": "Bharath Hariharan, Pablo Arbelaez, Ross Girshick, and Jitendra Malik. Hypercolumns for object segmentation ´ and fine-grained localization. In CVPR, 2015. 4 ",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
176,
|
| 1141 |
+
699,
|
| 1142 |
+
823,
|
| 1143 |
+
726
|
| 1144 |
+
],
|
| 1145 |
+
"page_idx": 9
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"type": "text",
|
| 1149 |
+
"text": "Qibin Hou, PengTao Jiang, Yunchao Wei, and Ming-Ming Cheng. Self-erasing network for integral object attention. In NeurIPS, 2018. 3, 4 ",
|
| 1150 |
+
"bbox": [
|
| 1151 |
+
176,
|
| 1152 |
+
734,
|
| 1153 |
+
821,
|
| 1154 |
+
761
|
| 1155 |
+
],
|
| 1156 |
+
"page_idx": 9
|
| 1157 |
+
},
|
| 1158 |
+
{
|
| 1159 |
+
"type": "text",
|
| 1160 |
+
"text": "Zilong Huang, Xinggang Wang, Jiasi Wang, Wenyu Liu, and Jingdong Wang. Weakly-supervised semantic segmentation network with deep seeded region growing. In CVPR, 2018. 3, 7 ",
|
| 1161 |
+
"bbox": [
|
| 1162 |
+
173,
|
| 1163 |
+
768,
|
| 1164 |
+
823,
|
| 1165 |
+
796
|
| 1166 |
+
],
|
| 1167 |
+
"page_idx": 9
|
| 1168 |
+
},
|
| 1169 |
+
{
|
| 1170 |
+
"type": "text",
|
| 1171 |
+
"text": "Wei-Chih Hung, Yi-Hsuan Tsai, Yan-Ting Liou, Yen-Yu Lin, and Ming-Hsuan Yang. Adversarial learning for semi-supervised semantic segmentation. In BMVC, 2018. 2, 6 ",
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
173,
|
| 1174 |
+
804,
|
| 1175 |
+
821,
|
| 1176 |
+
832
|
| 1177 |
+
],
|
| 1178 |
+
"page_idx": 9
|
| 1179 |
+
},
|
| 1180 |
+
{
|
| 1181 |
+
"type": "text",
|
| 1182 |
+
"text": "Max Jaderberg, Karen Simonyan, Andrew Zisserman, et al. Spatial transformer networks. In NeurIPS, 2015. 9 ",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
174,
|
| 1185 |
+
840,
|
| 1186 |
+
823,
|
| 1187 |
+
854
|
| 1188 |
+
],
|
| 1189 |
+
"page_idx": 9
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"type": "text",
|
| 1193 |
+
"text": "Peng-Tao Jiang, Qibin Hou, Yang Cao, Ming-Ming Cheng, Yunchao Wei, and Hong-Kai Xiong. Integral object mining via online attention accumulation. In ICCV, 2019. 14 ",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
173,
|
| 1196 |
+
862,
|
| 1197 |
+
821,
|
| 1198 |
+
888
|
| 1199 |
+
],
|
| 1200 |
+
"page_idx": 9
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"type": "text",
|
| 1204 |
+
"text": "Zhanghan Ke, Di Qiu, Kaican Li, Qiong Yan, and Rynson WH Lau. Guided collaborative training for pixel-wise semi-supervised learning. In ECCV, 2020. 2, 6 ",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
171,
|
| 1207 |
+
897,
|
| 1208 |
+
825,
|
| 1209 |
+
924
|
| 1210 |
+
],
|
| 1211 |
+
"page_idx": 9
|
| 1212 |
+
},
|
| 1213 |
+
{
|
| 1214 |
+
"type": "text",
|
| 1215 |
+
"text": "Jongmok Kim, Jooyoung Jang, and Hyunwoo Park. Structured consistency loss for semi-supervised semantic segmentation. arXiv preprint arXiv:2001.04647, 2020. 2 \nAlexander Kirillov, Yuxin Wu, Kaiming He, and Ross Girshick. Pointrend: Image segmentation as rendering. In CVPR, 2020. 9 \nPhilipp Krahenb ¨ uhl and Vladlen Koltun. Efficient inference in fully connected crfs with gaussian edge poten- ¨ tials. In NeurIPS, 2011. 3, 4 \nChia-Wen Kuo, Chih-Yao Ma, Jia-Bin Huang, and Zsolt Kira. Featmatch: Feature-based augmentation for semi-supervised learning. In ECCV, 2020. 1 \nSamuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. In ICLR, 2016. 2 \nDong-Hyun Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In ICML Workshop, 2013. 2 \nJungbeom Lee, Eunji Kim, Sungmin Lee, Jangho Lee, and Sungroh Yoon. Ficklenet: Weakly and semisupervised semantic image segmentation using stochastic inference. In CVPR, 2019. 7, 14 \nKunpeng Li, Ziyan Wu, Kuan-Chuan Peng, Jan Ernst, and Yun Fu. Tell me where to look: Guided attention inference network. In CVPR, 2018. 3, 7 \nDi Lin, Jifeng Dai, Jiaya Jia, Kaiming He, and Jian Sun. Scribblesup: Scribble-supervised convolutional networks for semantic segmentation. In CVPR, 2016. 2 \nTsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollar, and ´ C Lawrence Zitnick. Microsoft coco: Common objects in context. In ECCV, 2014. 5 \nWenfeng Luo and Meng Yang. Semi-supervised semantic segmentation via strong-weak dual-branch network. In ECCV, 2020. 2 \nSudhanshu Mittal, Maxim Tatarchenko, and Thomas Brox. Semi-supervised semantic segmentation with highand low-level consistency. TPAMI, 2019. 2 \nTakeru Miyato, Shin-ichi Maeda, Masanori Koyama, and Shin Ishii. Virtual adversarial training: a regularization method for supervised and semi-supervised learning. TPAMI, 41(8):1979–1993, 2018. 2, 6 \nSeong Joon Oh, Rodrigo Benenson, Anna Khoreva, Zeynep Akata, Mario Fritz, and Bernt Schiele. Exploiting saliency for object segmentation from image level labels. In CVPR, 2017. 3 \nYassine Ouali, Celine Hudelot, and Myriam Tami. Semi-supervised semantic segmentation with cross- ´ consistency training. In CVPR, 2020. 2, 6, 7 \nGeorge Papandreou, Liang-Chieh Chen, Kevin P Murphy, and Alan L Yuille. Weakly-and semi-supervised learning of a deep convolutional network for semantic image segmentation. In ICCV, 2015. 7 \nOlga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. IJCV, 115(3):211–252, 2015. 13 \nMehdi Sajjadi, Mehran Javanmardi, and Tolga Tasdizen. Regularization with stochastic transformations and perturbations for deep semi-supervised learning. In NeurIPS, 2016. 2 \nRamprasaath R Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra. Grad-cam: Visual explanations from deep networks via gradient-based localization. In ICCV, 2017. 4 \nKihyuk Sohn, David Berthelot, Chun-Liang Li, Zizhao Zhang, Nicholas Carlini, Ekin D Cubuk, Alex Kurakin, Han Zhang, and Colin Raffel. Fixmatch: Simplifying semi-supervised learning with consistency and confidence. In NeurIPS, 2020a. 1, 2, 4 \nKihyuk Sohn, Zizhao Zhang, Chun-Liang Li, Han Zhang, Chen-Yu Lee, and Tomas Pfister. A simple semisupervised learning framework for object detection. arXiv preprint arXiv:2005.04757, 2020b. 4 \nNasim Souly, Concetto Spampinato, and Mubarak Shah. Semi supervised semantic segmentation using generative adversarial network. In ICCV, 2017. 2, 6, 7 \nGuolei Sun, Wenguan Wang, Jifeng Dai, and Luc Van Gool. Mining cross-image semantics for weakly supervised semantic segmentation. In ECCV, 2020. 3, 4, 14 \nAntti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In NeurIPS, 2017. 1, 2, 6 \nAshish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, 2017. 4 \nYude Wang, Jie Zhang, Meina Kan, Shiguang Shan, and Xilin Chen. Self-supervised equivariant attention mechanism for weakly supervised semantic segmentation. In CVPR, 2020. 3, 14 \nYunchao Wei, Jiashi Feng, Xiaodan Liang, Ming-Ming Cheng, Yao Zhao, and Shuicheng Yan. Object region mining with adversarial erasing: A simple classification to semantic segmentation approach. In CVPR, 2017. 3, 4 \nYunchao Wei, Huaxin Xiao, Honghui Shi, Zequn Jie, Jiashi Feng, and Thomas S Huang. Revisiting dilated convolution: A simple approach for weakly-and semi-supervised semantic segmentation. In CVPR, 2018. 3, 7 \nQizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V. Le. Unsupervised data augmentation for consistency training. arXiv preprint arXiv:1904.12848, 2019. 1 \nQizhe Xie, Minh-Thang Luong, Eduard Hovy, and Quoc V Le. Self-training with noisy student improves imagenet classification. In CVPR, 2020. 4 \nHang Zhang, Chongruo Wu, Zhongyue Zhang, Yi Zhu, Zhi Zhang, Haibin Lin, Yue Sun, Tong He, Jonas Muller, R. Manmatha, Mu Li, and Alexander Smola. Resnest: Split-attention networks. arXiv preprint arXiv:2004.08955, 2020a. 1 \nXiaolin Zhang, Yunchao Wei, and Yi Yang. Inter-image communication for weakly supervised localization. In ECCV, 2020b. 3 \nBolei Zhou, Aditya Khosla, Agata Lapedriza, Aude Oliva, and Antonio Torralba. Learning deep features for discriminative localization. In CVPR, 2016. 2, 4 \nYi Zhu, Zhongyue Zhang, Chongruo Wu, Zhi Zhang, Tong He, Hang Zhang, R Manmatha, Mu Li, and Alexander Smola. Improving semantic segmentation via self-training. arXiv preprint arXiv:2004.14960, 2020. 2 \nBarret Zoph, Golnaz Ghiasi, Tsung-Yi Lin, Yin Cui, Hanxiao Liu, Ekin D Cubuk, and Quoc V Le. Rethinking pre-training and self-training. arXiv preprint arXiv:2006.06882, 2020. 1, 2, 4, 8, 9 ",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
171,
|
| 1218 |
+
87,
|
| 1219 |
+
826,
|
| 1220 |
+
929
|
| 1221 |
+
],
|
| 1222 |
+
"page_idx": 10
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"type": "text",
|
| 1226 |
+
"text": "",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
171,
|
| 1229 |
+
93,
|
| 1230 |
+
826,
|
| 1231 |
+
574
|
| 1232 |
+
],
|
| 1233 |
+
"page_idx": 11
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"type": "text",
|
| 1237 |
+
"text": "APPENDIX ",
|
| 1238 |
+
"text_level": 1,
|
| 1239 |
+
"bbox": [
|
| 1240 |
+
176,
|
| 1241 |
+
103,
|
| 1242 |
+
263,
|
| 1243 |
+
117
|
| 1244 |
+
],
|
| 1245 |
+
"page_idx": 12
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"type": "text",
|
| 1249 |
+
"text": "A SELF-ATTENTION GRAD-CAM ",
|
| 1250 |
+
"text_level": 1,
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
178,
|
| 1253 |
+
137,
|
| 1254 |
+
418,
|
| 1255 |
+
151
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 12
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "We elaborate the detailed pipeline of generating Self-attention Grad-CAM (SGC) maps (equation 3) in Figure 6. To construct the hypercolumn feature, we extract the feature maps from the last two convolutional stages of the backbone network and concatenate them together. We then project the hypercolumn feature to two separate low-dimension embedding spaces to construct “key” and “query”, using two $1 \\times 1$ convolutional layers. An attention matrix can then be computed via matrix multiplication of “key” and “query”. To construct “value”, we compute Grad-CAM for each foreground class and then concatenate them together. This results in a $H \\times W \\times ( C - 1 )$ score map, where the maximum score of each category is normalized to one separately. We then use image-level labels (either from classifier prediction or ground truth annotation) to set the score maps of non-existing classes to be zero. For each pixel localization, we use one to subtract the maximum score to construct the background score map, which is then concatenated with the foreground score maps to form “value” $( H \\times W \\times C )$ . The attention score matrix can then be used to reweight and propagate the scores in “value”. The propagated score is added back to the “value” score map, and the pass through a $1 \\times 1$ convolution (w/ batch normalization) to output the SGC map. ",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
173,
|
| 1264 |
+
166,
|
| 1265 |
+
825,
|
| 1266 |
+
359
|
| 1267 |
+
],
|
| 1268 |
+
"page_idx": 12
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"type": "image",
|
| 1272 |
+
"img_path": "images/e601a68b369dd2bea5df204593cc86e5c58bb436da07925d9f96859b296a94ec.jpg",
|
| 1273 |
+
"image_caption": [
|
| 1274 |
+
"Figure 6: Diagram of Self-attention Grad-CAM (SGC) . "
|
| 1275 |
+
],
|
| 1276 |
+
"image_footnote": [],
|
| 1277 |
+
"bbox": [
|
| 1278 |
+
178,
|
| 1279 |
+
380,
|
| 1280 |
+
825,
|
| 1281 |
+
523
|
| 1282 |
+
],
|
| 1283 |
+
"page_idx": 12
|
| 1284 |
+
},
|
| 1285 |
+
{
|
| 1286 |
+
"type": "text",
|
| 1287 |
+
"text": "B IMPLEMENTATION DETAILS ",
|
| 1288 |
+
"text_level": 1,
|
| 1289 |
+
"bbox": [
|
| 1290 |
+
176,
|
| 1291 |
+
588,
|
| 1292 |
+
395,
|
| 1293 |
+
602
|
| 1294 |
+
],
|
| 1295 |
+
"page_idx": 12
|
| 1296 |
+
},
|
| 1297 |
+
{
|
| 1298 |
+
"type": "text",
|
| 1299 |
+
"text": "We implement our method on top of the publicly available official DeepLab codebase.3 Unless specified, we adopt the DeepLabv $^ { 3 + }$ model with Xception-65 (Chollet, 2017) as the feature backbone, which is pre-trained on the ImageNet dataset (Russakovsky et al., 2015). We train our model following the default hyper-parameters (e.g., an initial learning rate of 0.007 with a polynomial learning rate decay schedule, a crop size of $5 1 3 \\times 5 1 3$ , and an encoder output stride of 16), using 16 GPUs 4. We use a batch size of 4 for each GPU for pixel-level labeled data, and 4 for unlabeled/image-level labeled data. For VOC12, we train the model for 30,000 iterations. For COCO, we train the model for 200,000 iterations. We set $\\gamma = 0 . 5$ and $T = 0 . 5$ unless specified. We do not apply any test time augmentations. ",
|
| 1300 |
+
"bbox": [
|
| 1301 |
+
173,
|
| 1302 |
+
616,
|
| 1303 |
+
825,
|
| 1304 |
+
742
|
| 1305 |
+
],
|
| 1306 |
+
"page_idx": 12
|
| 1307 |
+
},
|
| 1308 |
+
{
|
| 1309 |
+
"type": "text",
|
| 1310 |
+
"text": "C LOW-DATA SAMPLING IN PASCAL VOC 2012 ",
|
| 1311 |
+
"text_level": 1,
|
| 1312 |
+
"bbox": [
|
| 1313 |
+
174,
|
| 1314 |
+
765,
|
| 1315 |
+
531,
|
| 1316 |
+
780
|
| 1317 |
+
],
|
| 1318 |
+
"page_idx": 12
|
| 1319 |
+
},
|
| 1320 |
+
{
|
| 1321 |
+
"type": "text",
|
| 1322 |
+
"text": "Unlike random sampling in image classification, it is difficult to sample uniformly in a low-data case for semantic segmentation due to the imbalance of rare classes. To avoid the missing classes at extremely low data regimes, we repeat the random sampling process for 1/16 three times (while ensuring each class has a certain amount) and report the results. We use Split 1 in the main manuscript. All splits will be released to encourage reproducibility. The results of all the three splits are shown as in Table 8. ",
|
| 1323 |
+
"bbox": [
|
| 1324 |
+
174,
|
| 1325 |
+
792,
|
| 1326 |
+
825,
|
| 1327 |
+
876
|
| 1328 |
+
],
|
| 1329 |
+
"page_idx": 12
|
| 1330 |
+
},
|
| 1331 |
+
{
|
| 1332 |
+
"type": "image",
|
| 1333 |
+
"img_path": "images/43b7ca0d025624a2b1b4a19d13c29bcfbb2a797f53df2327a7d1cf85d90a40e5.jpg",
|
| 1334 |
+
"image_caption": [
|
| 1335 |
+
"Figure 7: Training. For each network component, we show the loss supervision and the corresponding data. "
|
| 1336 |
+
],
|
| 1337 |
+
"image_footnote": [],
|
| 1338 |
+
"bbox": [
|
| 1339 |
+
238,
|
| 1340 |
+
111,
|
| 1341 |
+
754,
|
| 1342 |
+
296
|
| 1343 |
+
],
|
| 1344 |
+
"page_idx": 13
|
| 1345 |
+
},
|
| 1346 |
+
{
|
| 1347 |
+
"type": "table",
|
| 1348 |
+
"img_path": "images/e9b82779e99eaed63ad8c809cc6d6dc842d8807f08589ccf327db27ce8cbd91e.jpg",
|
| 1349 |
+
"table_caption": [
|
| 1350 |
+
"Table 8: Full results of 1/16 split in VOC12. "
|
| 1351 |
+
],
|
| 1352 |
+
"table_footnote": [],
|
| 1353 |
+
"table_body": "<table><tr><td>Method</td><td>Using image-level labels</td><td>Split 1</td><td>Split 2</td><td>Split 3</td></tr><tr><td>Supervised</td><td>■</td><td>56.03</td><td>56.87</td><td>55.92</td></tr><tr><td>PseudoSeg (Ours)</td><td>1</td><td>67.06</td><td>64.12</td><td>66.09</td></tr><tr><td>PseudoSeg (Ours)</td><td>√</td><td>71.22</td><td>68.11</td><td>69.72</td></tr></table>",
|
| 1354 |
+
"bbox": [
|
| 1355 |
+
243,
|
| 1356 |
+
373,
|
| 1357 |
+
754,
|
| 1358 |
+
445
|
| 1359 |
+
],
|
| 1360 |
+
"page_idx": 13
|
| 1361 |
+
},
|
| 1362 |
+
{
|
| 1363 |
+
"type": "text",
|
| 1364 |
+
"text": "D HIGH-DATA EXPERIMENTAL SETTINGS ",
|
| 1365 |
+
"text_level": 1,
|
| 1366 |
+
"bbox": [
|
| 1367 |
+
176,
|
| 1368 |
+
472,
|
| 1369 |
+
475,
|
| 1370 |
+
487
|
| 1371 |
+
],
|
| 1372 |
+
"page_idx": 13
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "text",
|
| 1376 |
+
"text": "Here we provide more details about the experiments in Section 4.5. Since we have a lot more unlabeled/image-level labeled data, we adopt a longer training schedule (90,000 iterations) 5. We also adopt a slightly different fusion strategy in this setting by using $T = 0 . 7$ and $\\gamma = 0 . 3$ . ",
|
| 1377 |
+
"bbox": [
|
| 1378 |
+
176,
|
| 1379 |
+
500,
|
| 1380 |
+
825,
|
| 1381 |
+
541
|
| 1382 |
+
],
|
| 1383 |
+
"page_idx": 13
|
| 1384 |
+
},
|
| 1385 |
+
{
|
| 1386 |
+
"type": "text",
|
| 1387 |
+
"text": "E COMPARISON WITH WEAKLY-SUPERVISED APPROACHES ",
|
| 1388 |
+
"text_level": 1,
|
| 1389 |
+
"bbox": [
|
| 1390 |
+
174,
|
| 1391 |
+
563,
|
| 1392 |
+
588,
|
| 1393 |
+
575
|
| 1394 |
+
],
|
| 1395 |
+
"page_idx": 13
|
| 1396 |
+
},
|
| 1397 |
+
{
|
| 1398 |
+
"type": "text",
|
| 1399 |
+
"text": "In Table 9, we benchmark recent weakly supervised semantic segmentation performance on PASCAL VOC 2012 val set. Instead of enforcing the consistency between different augmented images as we do, these approaches tackle the semantic segmentation task from a different perspective, by exploiting the weaker annotations (image-level labels). As we can see, by exploiting the imagelevel labels with careful designs, weakly-supervised semantic segmentation methods could achieve reasonably well performance. We believe that both perspectives are feasible and promising for low-data regime semantic segmentation tasks, and complementary to each other. Therefore, these designs could be potentially integrated into our framework to generate better pseudo labels, which leads to improved performance. ",
|
| 1400 |
+
"bbox": [
|
| 1401 |
+
173,
|
| 1402 |
+
587,
|
| 1403 |
+
825,
|
| 1404 |
+
713
|
| 1405 |
+
],
|
| 1406 |
+
"page_idx": 13
|
| 1407 |
+
},
|
| 1408 |
+
{
|
| 1409 |
+
"type": "table",
|
| 1410 |
+
"img_path": "images/4d0847f24656dd0475d73e7048e0a6968e21e34dda181eb6e7f0646acb151e5a.jpg",
|
| 1411 |
+
"table_caption": [
|
| 1412 |
+
"Table 9: Benchmarking state-of-the-art weakly supervised semantic segmentation methods. All the methods use image-level labels from VOC12 training (1.4k) and augmented (9k) sets. "
|
| 1413 |
+
],
|
| 1414 |
+
"table_footnote": [],
|
| 1415 |
+
"table_body": "<table><tr><td>Method</td><td>Pixel-level labeled data</td><td>mIoU (%)</td></tr><tr><td>FickleNet (Lee et al., 2019)</td><td></td><td>64.9</td></tr><tr><td>IRNet (Ahn et al., 2019)</td><td></td><td>63.5</td></tr><tr><td>OAA+ (Jiang et al., 2019)</td><td></td><td>65.2</td></tr><tr><td>SEAM (Wang et al., 2020)</td><td></td><td>64.5</td></tr><tr><td>MCIS (Sun et al., 2020)</td><td></td><td>66.2</td></tr><tr><td>PseudoSeg (Ours)</td><td>1/16 (92)</td><td>71.22</td></tr></table>",
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
266,
|
| 1418 |
+
758,
|
| 1419 |
+
730,
|
| 1420 |
+
880
|
| 1421 |
+
],
|
| 1422 |
+
"page_idx": 13
|
| 1423 |
+
},
|
| 1424 |
+
{
|
| 1425 |
+
"type": "text",
|
| 1426 |
+
"text": "F PERFORMANCE ANALYSIS FOR TEMPERATURE SHARPENING",
|
| 1427 |
+
"text_level": 1,
|
| 1428 |
+
"bbox": [
|
| 1429 |
+
181,
|
| 1430 |
+
104,
|
| 1431 |
+
614,
|
| 1432 |
+
117
|
| 1433 |
+
],
|
| 1434 |
+
"page_idx": 14
|
| 1435 |
+
},
|
| 1436 |
+
{
|
| 1437 |
+
"type": "text",
|
| 1438 |
+
"text": "We conduct an additional performance analysis for temporal sharpening. We conduct experiments over T on the 1/16 split of VOC using pixel-level labeled data and image-level labeled data. As shown in Table 10, adopting a $T < 1$ for distribution sharpening generally leads to improved performance. ",
|
| 1439 |
+
"bbox": [
|
| 1440 |
+
173,
|
| 1441 |
+
128,
|
| 1442 |
+
825,
|
| 1443 |
+
185
|
| 1444 |
+
],
|
| 1445 |
+
"page_idx": 14
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"type": "table",
|
| 1449 |
+
"img_path": "images/b8c478af059105baa12a29931140f43e29439d24d1c3e40c9ea022b42ed5c14a.jpg",
|
| 1450 |
+
"table_caption": [
|
| 1451 |
+
"Table 10: Performance analysis over T. "
|
| 1452 |
+
],
|
| 1453 |
+
"table_footnote": [],
|
| 1454 |
+
"table_body": "<table><tr><td>Temperature (T)</td><td>mIoU (%)</td></tr><tr><td>0.1</td><td>71.11</td></tr><tr><td>0.3</td><td>70.11</td></tr><tr><td>0.5 (default)</td><td>71.22</td></tr><tr><td>0.7</td><td>72.37</td></tr><tr><td>1.0 (no sharpening)</td><td>68.15</td></tr></table>",
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
377,
|
| 1457 |
+
213,
|
| 1458 |
+
616,
|
| 1459 |
+
313
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 14
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "text",
|
| 1465 |
+
"text": "G EXPERIMENTS ON CITYSCAPES ",
|
| 1466 |
+
"text_level": 1,
|
| 1467 |
+
"bbox": [
|
| 1468 |
+
176,
|
| 1469 |
+
327,
|
| 1470 |
+
423,
|
| 1471 |
+
342
|
| 1472 |
+
],
|
| 1473 |
+
"page_idx": 14
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"type": "text",
|
| 1477 |
+
"text": "In this section, we conduct additional experiments on the Cityscapes dataset (Cordts et al., 2016). The Cityscapes dataset contains 50 real-world driving sequences. Among these video sequences, 2,975 frames are selected as the training set, and 500 frames are selected as the validation set. Following previous common practice, we evaluate on 19 semantic classes. ",
|
| 1478 |
+
"bbox": [
|
| 1479 |
+
173,
|
| 1480 |
+
353,
|
| 1481 |
+
825,
|
| 1482 |
+
410
|
| 1483 |
+
],
|
| 1484 |
+
"page_idx": 14
|
| 1485 |
+
},
|
| 1486 |
+
{
|
| 1487 |
+
"type": "text",
|
| 1488 |
+
"text": "Comparison with state of the art. We compare our method with the current state-of-the-art method (French et al., 2020), in the setting of using pixel-level labeled and unlabeled data. We randomly subsample 1/4, 1/8, and 1/30 of the training set to construct the pixel-level labeled data, using the first random seed provided by French et al. (2020). Both French et al. (2020) and our method use ResNet-101 as the feature backbone and DeepLabv $^ { 3 + }$ (Chen et al., 2018) as the segmentation model. As shown in Table 11, the proposed method achieves promising results on all the three label ratios. ",
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
173,
|
| 1491 |
+
414,
|
| 1492 |
+
825,
|
| 1493 |
+
511
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 14
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "table",
|
| 1499 |
+
"img_path": "images/614e49f5ab8345f6334ef24d10e80e6811aa3249760ac77af38650c91eb5769a.jpg",
|
| 1500 |
+
"table_caption": [
|
| 1501 |
+
"Table 11: Experiments on Cityscapes (w/ pixel-level labeled data and unlabeled data). "
|
| 1502 |
+
],
|
| 1503 |
+
"table_footnote": [],
|
| 1504 |
+
"table_body": "<table><tr><td>Method</td><td>1/4 (744)</td><td>1/8 (372)</td><td>1/30 (100)</td></tr><tr><td>CutMix (French et al., 2020)</td><td>68.33</td><td>65.82</td><td>55.71</td></tr><tr><td>PseudoSeg (Ours)</td><td>72.36</td><td>69.81</td><td>60.96</td></tr></table>",
|
| 1505 |
+
"bbox": [
|
| 1506 |
+
263,
|
| 1507 |
+
539,
|
| 1508 |
+
728,
|
| 1509 |
+
597
|
| 1510 |
+
],
|
| 1511 |
+
"page_idx": 14
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "text",
|
| 1515 |
+
"text": "Per-class performance analysis. Next, we provide per-class performance break down analysis. We compare our method with the supervised baseline on the 1/30 split, using pixel-level labeled data and unlabeled data. As shown in Table 12, the distribution of the labeled pixels is severely imbalanced. Although our method does not in particular address the data imbalance issue, our method improves upon the supervised baseline on most of the classes (except for “Wall” and “Pole”). ",
|
| 1516 |
+
"bbox": [
|
| 1517 |
+
173,
|
| 1518 |
+
609,
|
| 1519 |
+
825,
|
| 1520 |
+
681
|
| 1521 |
+
],
|
| 1522 |
+
"page_idx": 14
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "table",
|
| 1526 |
+
"img_path": "images/d5a02c39eb789c1b3d3f8abc44df37bc5e9229a425f57e56447e631dfb53e845.jpg",
|
| 1527 |
+
"table_caption": [
|
| 1528 |
+
"Table 12: Per-class performance analysis on Cityscapes (w/ pixel-level labeled data and unlabeled data). "
|
| 1529 |
+
],
|
| 1530 |
+
"table_footnote": [],
|
| 1531 |
+
"table_body": "<table><tr><td>Class Pixel ratio (%)</td><td>Road 36.36</td><td>Sidewalk 5.61</td><td>Building 20.99</td><td>Wall 0.53</td><td>Fence 0.98</td><td>Pole 1.19</td><td>Traffic light 0.14</td><td>Traffic sign 0.51</td><td>Vegetation 19.61</td><td>Terrain 1.29</td></tr><tr><td>Supervised PseudoSeg (Ours)</td><td>96.03</td><td>71.26</td><td>87.53</td><td>19.75</td><td>29.11</td><td>52.19</td><td>50.19</td><td>68.09</td><td>89.93</td><td>45.79</td></tr><tr><td></td><td>96.64</td><td>75.06</td><td>88.63</td><td>19.67</td><td>34.09</td><td>51.75</td><td>58.19</td><td>69.95</td><td>90.43</td><td>50.48</td></tr><tr><td>Class</td><td>Sky</td><td>Person</td><td>Rider</td><td>Car</td><td>Truck</td><td>Bus</td><td>Train</td><td>Motorcycle</td><td>Bicycle</td><td></td></tr><tr><td>Pixel ratio (%)</td><td>3.70</td><td>1.10</td><td>0.16</td><td>6.49</td><td>0.38</td><td>0.13</td><td>0.23</td><td>0.06</td><td>0.54</td><td></td></tr><tr><td>Supervised</td><td>91.01</td><td>74.12</td><td>43.91</td><td>89.91</td><td>7.68</td><td>14.19</td><td>17.78</td><td>25.86</td><td>69.88</td><td></td></tr><tr><td>PseudoSeg (Ours)</td><td>92.99</td><td>75.16</td><td>46.09</td><td>91.60</td><td>20.39</td><td>26.30</td><td>22.13</td><td>43.96</td><td>71.30</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>",
|
| 1532 |
+
"bbox": [
|
| 1533 |
+
174,
|
| 1534 |
+
723,
|
| 1535 |
+
821,
|
| 1536 |
+
829
|
| 1537 |
+
],
|
| 1538 |
+
"page_idx": 14
|
| 1539 |
+
},
|
| 1540 |
+
{
|
| 1541 |
+
"type": "text",
|
| 1542 |
+
"text": "Discussion. Although the scene layouts are quite similar for all the full images, it is still feasible to generate different image-level labels through a more aggressive geometric data augmentation (e.g., scaling, cropping, translation, etc.). In practice, standard segmentation preprocessing steps only crop a sub-region of the whole training images. It only contains partial images with a certain subset of image labels, making the training batches have diverse image-level labels (converted from pixellevel labels, in the fully-labeled+unlabeled setting). Moreover, in the fully-labeled+weakly-labeled setting, in practice, we can collect diverse Internet images and weakly label them, instead of weakly labeling images from Cityscapes. ",
|
| 1543 |
+
"bbox": [
|
| 1544 |
+
173,
|
| 1545 |
+
840,
|
| 1546 |
+
825,
|
| 1547 |
+
924
|
| 1548 |
+
],
|
| 1549 |
+
"page_idx": 14
|
| 1550 |
+
},
|
| 1551 |
+
{
|
| 1552 |
+
"type": "text",
|
| 1553 |
+
"text": "",
|
| 1554 |
+
"bbox": [
|
| 1555 |
+
173,
|
| 1556 |
+
103,
|
| 1557 |
+
823,
|
| 1558 |
+
132
|
| 1559 |
+
],
|
| 1560 |
+
"page_idx": 15
|
| 1561 |
+
},
|
| 1562 |
+
{
|
| 1563 |
+
"type": "text",
|
| 1564 |
+
"text": "H QUALITATIVE RESULTS ",
|
| 1565 |
+
"text_level": 1,
|
| 1566 |
+
"bbox": [
|
| 1567 |
+
176,
|
| 1568 |
+
148,
|
| 1569 |
+
364,
|
| 1570 |
+
164
|
| 1571 |
+
],
|
| 1572 |
+
"page_idx": 15
|
| 1573 |
+
},
|
| 1574 |
+
{
|
| 1575 |
+
"type": "text",
|
| 1576 |
+
"text": "We visualize several model prediction results for PASCAL VOC 2012 (Figure 8) and COCO (Figure 9). As we can see, the supervised baseline struggles to segment some of the categories and small objects, when trained in the low-data regime. On the other hand, PseudoSeg utilizes unlabeled or weakly-labeled data to generate more satisfying predictions. ",
|
| 1577 |
+
"bbox": [
|
| 1578 |
+
174,
|
| 1579 |
+
174,
|
| 1580 |
+
825,
|
| 1581 |
+
231
|
| 1582 |
+
],
|
| 1583 |
+
"page_idx": 15
|
| 1584 |
+
},
|
| 1585 |
+
{
|
| 1586 |
+
"type": "image",
|
| 1587 |
+
"img_path": "images/135161c6e5516766b8441d8a505a601aedeabfbaf045d2d39d9f58370fe109db.jpg",
|
| 1588 |
+
"image_caption": [
|
| 1589 |
+
"Figure 8: Qualitative results of PASCAL VOC 2012. Models are trained with 1/16 pixel-level labeled data in the training set. "
|
| 1590 |
+
],
|
| 1591 |
+
"image_footnote": [],
|
| 1592 |
+
"bbox": [
|
| 1593 |
+
174,
|
| 1594 |
+
94,
|
| 1595 |
+
816,
|
| 1596 |
+
906
|
| 1597 |
+
],
|
| 1598 |
+
"page_idx": 16
|
| 1599 |
+
},
|
| 1600 |
+
{
|
| 1601 |
+
"type": "image",
|
| 1602 |
+
"img_path": "images/bb1c575e94a6e95b23b16542a8e7720bafb4f0dec7ccae56a226c86d7f8ac3c3.jpg",
|
| 1603 |
+
"image_caption": [
|
| 1604 |
+
"Figure 9: Qualitative results of COCO. Models are trained with 1/512 pixel-level labeled data in the training set. Note that white pixel in the ground truth indicates this pixel is not annotated for evaluation. "
|
| 1605 |
+
],
|
| 1606 |
+
"image_footnote": [],
|
| 1607 |
+
"bbox": [
|
| 1608 |
+
174,
|
| 1609 |
+
101,
|
| 1610 |
+
816,
|
| 1611 |
+
887
|
| 1612 |
+
],
|
| 1613 |
+
"page_idx": 17
|
| 1614 |
+
}
|
| 1615 |
+
]
|
parse/train/-TwO99rbVRu/-TwO99rbVRu_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/-TwO99rbVRu/-TwO99rbVRu_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/E4PK0rg2eP/E4PK0rg2eP.md
ADDED
|
@@ -0,0 +1,328 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PARAMETER-EFFICIENT TRANSFER LEARNING WITH DIFF PRUNING
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
While task-specific finetuning of deep networks pretrained with self-supervision has led to significant empirical advances in NLP, their large size makes the standard finetuning approach difficult to apply to multi-task, memory-constrained settings, as storing the full model parameters for each task become prohibitively expensive. We propose diff pruning as a simple approach to enable parameterefficient transfer learning within the pretrain-finetune framework. This approach views finetuning as learning a task-specific “diff” vector that is applied on top of the pretrained parameter vector, which remains fixed and is shared across different tasks. The diff vector is adaptively pruned during training with a differentiable approximation to the $L _ { 0 }$ -norm penalty to encourage sparsity. Diff pruning becomes parameter-efficient as the number of tasks increases, as it requires storing only the nonzero positions and weights of the diff vector for each task, while the cost of storing the shared pretrained model remains constant. We find that models finetuned with diff pruning can match the performance of fully finetuned baselines on the GLUE benchmark while only modifying $0 . 5 \%$ of the pretrained model’s parameters per task.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Task-specific finetuning of pretrained deep networks has become the dominant paradigm in contemporary NLP, achieving state-of-the-art results across a suite of natural language understanding tasks (Devlin et al., 2019; Liu et al., 2019c; Yang et al., 2019; Lan et al., 2020). While straightforward and empirically effective, this approach is difficult to scale to multi-task, memory-constrained settings (e.g. for on-device applications), as it requires shipping and storing a full set of model parameters for each task. Inasmuch as these models are learning generalizable, task-agnostic language representations through self-supervised pretraining, finetuning the entire model for each task is an especially inefficient use of model parameters.
|
| 12 |
+
|
| 13 |
+
A popular approach to parameter-efficiency is to learn sparse models for each task where a subset of the final model parameters are exactly zero (Gordon et al., 2020; Sajjad et al., 2020; Zhao et al., 2020; Sanh et al., 2020). Such approaches often face a steep sparsity/performance tradeoff, and a substantial portion of nonzero parameters (e.g. $10 \% { - } 3 0 \% )$ ) are still typically required to match the performance of the dense counterparts. An alternative is to use multi-task learning or feature-based transfer for more parameter-efficient transfer learning with pretrained models (Liu et al., 2019b; Clark et al., 2019; Stickland & Murray, 2019; Reimers & Gurevych, 2019; Feng et al., 2020). These methods learn only a small number of additional parameters (e.g. a linear layer) on top of a shared model. However, multi-task learning generally requires access to all tasks during training to prevent catastrophic forgetting (French, 1999), while feature-based transfer learning (e.g. based on taskagnostic sentence representations) is typically outperformed by full finetuning (Howard & Ruder, 2018).
|
| 14 |
+
|
| 15 |
+
Adapters (Rebuffi et al., 2018) have recently emerged as a promising approach to parameterefficient transfer learning within the pretrain-finetune paradigm (Houlsby et al., 2019; Pfeiffer et al., 2020a;b;c). Adapter layers are smaller, task-specific modules that are inserted between layers of a pretrained model, which remains fixed and is shared across tasks. These approaches do not require access to all tasks during training making them attractive in settings where one hopes to obtain and share performant models as new tasks arrive in stream. Houlsby et al. (2019) find that adapter layers trained on BERT can match the performance of fully finetuned BERT on the GLUE benchmark (Wang et al., 2019a) while only requiring $3 . 6 \%$ additional parameters (on average) per task.
|
| 16 |
+
|
| 17 |
+
In this work, we consider a similar setting as adapters but propose a new diff pruning approach with the goal of even more parameter-efficient transfer learning. Diff pruning views finetuning as learning a task-specific difference vector that is applied on top of the pretrained parameter vector, which remains fixed and is shared across different tasks. In order to learn this vector, we reparameterize the task-specific model parameters as $\theta _ { \mathrm { t a s k } } = \theta _ { \mathrm { p r e t r a i n e d } } + \delta _ { \mathrm { t a s k } }$ , where the pretrained parameter vector $\theta _ { \mathrm { p r e t r a i n e d } }$ is fixed and the task-specific diff vector $\delta _ { \mathrm { t a s k } }$ is finetuned. The diff vector is regularized with a differentiable approximation to the $L _ { 0 }$ -norm penalty (Louizos et al., 2018) to encourage sparsity. This approach can become parameter-efficient as the number of tasks increases as it only requires storing the nonzero positions and weights of the diff vector for each task. The cost of storing the shared pretrained model remains constant and is amortized across multiple tasks. On the GLUE benchmark (Wang et al., 2019a), diff pruning can match the performance of the fully finetuned BERT baselines while finetuning only $0 . 5 \%$ of the pretrained parameters per task, making it a potential alternative to adapters for parameter-efficient transfer learning.
|
| 18 |
+
|
| 19 |
+
# 2 BACKGROUND: TRANSFER LEARNING FOR NLP
|
| 20 |
+
|
| 21 |
+
The field of NLP has recently seen remarkable progress through transfer learning with a pretrainand-finetune paradigm, which initializes a subset of the model parameters for all tasks from a pretrained model and then finetunes on a task specific objective. Pretraining objectives include context prediction (Mikolov et al., 2013), autoencoding (Dai & Le, 2015), machine translation (McCann et al., 2017), and more recently, variants of language modeling (Peters et al., 2018; Radford et al., 2018; Devlin et al., 2019) objectives.
|
| 22 |
+
|
| 23 |
+
Here we consider applying transfer learning to multiple tasks. We consider a setting with a potentially unknown set of tasks, where each $\tau \in \mathcal { T }$ has an associated training set $\{ x _ { \tau } ^ { ( n ) } , y _ { \tau } ^ { ( n ) } \} _ { n = 1 } ^ { N }$ 1 For . all tasks, the goal is to produce (possibly tied) model parameters to minimize the empirical risk,
|
| 24 |
+
|
| 25 |
+
$$
|
| 26 |
+
\operatorname* { m i n } _ { \pmb { \theta } _ { \tau } } \ \frac { 1 } { N } \sum _ { n = 1 } ^ { N } \mathcal { L } \left( f ( x _ { \tau } ^ { ( n ) } ; \pmb { \theta } _ { \tau } ) , y _ { \tau } ^ { ( n ) } \right) + \lambda R ( \pmb { \theta } _ { \tau } )
|
| 27 |
+
$$
|
| 28 |
+
|
| 29 |
+
where $f ( \cdot ; \pmb \theta )$ is a parameterized function over the input (e.g. a neural network), $\mathcal L ( \cdot , \cdot )$ is a loss function (e.g. cross-entropy), and $R ( \cdot )$ is an optional regularizer with hyperparameter $\lambda$ .
|
| 30 |
+
|
| 31 |
+
This multi-task setting can use the pretrain-then-finetune approach by simply learning independent parameters for each task; however the large size of pretrained models makes this approach exceedingly parameter inefficient. For example, widely-adopted models such as BERTBASE and BERTLARGE have 110M and 340M parameters respectively, while their contemporaries such as T5 (Raffel et al., 2020), Megatron-LM (Shoeybi et al., 2019), and Turing-NLG (Rajbhandari et al., 2019) have parameter counts in the billions. Storing the fully finetuned models becomes difficult even for a moderate number of tasks.2 A classic approach to tackling this parameterinefficiency (Caruana, 1997) is to train a single shared model (along with a task-specific output layer) against multiple tasks through joint training. However, the usual formulation of multi-task learning requires the set of tasks $\tau$ to be known in advance in order to prevent catastrophic forgetting (French, 1999),3 making it unsuitable for applications in which the set of tasks is unknown (e.g. when tasks arrive in stream).
|
| 32 |
+
|
| 33 |
+
# 3 DIFF PRUNING
|
| 34 |
+
|
| 35 |
+
Diff pruning formulates task-specific finetuning as learning a diff vector $\delta _ { \tau }$ that is added to the pretrained model parameters $\theta _ { \mathrm { p r e t r a i n e d } }$ . We first reparameterize the task-specific model parameters,
|
| 36 |
+
|
| 37 |
+
$$
|
| 38 |
+
\begin{array} { r } { \pmb { \theta } _ { \tau } = \pmb { \theta } _ { \mathrm { p r e t r a i n e d } } + \delta _ { \tau } , } \end{array}
|
| 39 |
+
$$
|
| 40 |
+
|
| 41 |
+
which results in the following empirical risk minimization problem,
|
| 42 |
+
|
| 43 |
+
$$
|
| 44 |
+
\operatorname* { m i n } _ { \delta _ { \tau } } \ \frac { 1 } { N } \sum _ { n = 1 } ^ { N } \mathcal { L } \left( f ( x _ { \tau } ^ { ( n ) } ; \theta _ { \mathrm { p r e t r a i n e d } } + \delta _ { \tau } ) , y _ { \tau } ^ { ( n ) } \right) + \lambda R ( \theta _ { \mathrm { p r e t r a i n e d } } + \delta _ { \tau } ) .
|
| 45 |
+
$$
|
| 46 |
+
|
| 47 |
+
This trivial reparameterization is equivalent to the original formulation. Its benefit comes in the multi-task setting where the cost of storing the pretrained parameters $\theta _ { \mathrm { p r e t r a i n e d } }$ is amortized across tasks, and the only marginal cost for new tasks is the diff vector. If we can regularize $\delta _ { \tau }$ to be sparse such that $\lVert \delta _ { \tau } \rVert _ { 0 } \ll \lVert \bar { \pmb { \theta } } _ { \mathrm { p r e t r a i n e d } } \rVert _ { 0 }$ , then this approach can become more parameter-efficient as the number of tasks increases. We can specify this goal with an $L _ { 0 }$ -norm penalty on the diff vector,
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
R ( \theta _ { \mathrm { p r e t r a i n e d } } + \delta _ { \tau } ) = \| \pmb { \delta } _ { \tau } \| _ { 0 } = \sum _ { i = 1 } ^ { d } \mathbb { 1 } \{ \pmb { \delta } _ { \tau , i } \neq 0 \} .
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
# 3.1 DIFFERENTIABLE APPROXIMATION TO THE $L _ { 0 }$ -NORM
|
| 54 |
+
|
| 55 |
+
This regularizer is difficult to directly optimize as it is non-differentiable. In order to approximate this $L _ { 0 }$ objective, we follow the standard approach for gradient-based learning with $L _ { 0 }$ sparsity using a relaxed mask vector (Louizos et al., 2018). This approach involves relaxing a binary vector into continuous space, and then multiplying it with a dense weight vector to determine how much of the weight vector is applied during training. After training, the mask is deterministic and a large portion of the diff vector is true zero.
|
| 56 |
+
|
| 57 |
+
To apply this method we first decompose $\delta _ { \tau }$ into a binary mask vector multiplied with a dense vector,
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
\begin{array} { r } { \delta _ { \tau } = \mathbf { z } _ { \tau } \odot \mathbf { w } _ { \tau } , \qquad \mathbf { z } _ { \tau } \in \{ 0 , 1 \} ^ { d } , \mathbf { w } _ { \tau } \in \mathbb { R } ^ { d } } \end{array}
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
We can now instead optimize an expectation with respect to ${ \bf z } _ { \tau }$ , whose distribution $p ( \mathbf { z } _ { \tau } ; \pmb { \alpha } _ { \tau } )$ is initially Bernoulli with parameters $\pmb { \alpha } _ { \tau }$ ,
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
\operatorname* { m i n } _ { \alpha _ { \tau } , \mathbf { w } _ { \tau } } \mathbb { E } _ { \mathbf { z } _ { \tau } \sim p ( \mathbf { z } _ { \tau } ; \alpha _ { \tau } ) } \left[ \frac { 1 } { N } \sum _ { n = 1 } ^ { N } \mathcal { L } \left( f ( x _ { \tau } ^ { ( n ) } ; \boldsymbol { \theta } _ { \mathrm { p r e t r a i n e d } } + \mathbf { z } _ { \tau } \odot \mathbf { w } _ { \tau } , ) , y _ { \tau } ^ { ( n ) } \right) + \lambda \lVert \delta _ { \tau } \rVert _ { 0 } \right] .
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
This objective is still difficult in practice due to ${ \bf z } _ { \tau }$ ’s being discrete (which requires the score function gradient estimator), but the expectation provides some guidance for empirically effective relaxations. We follow prior work (Louizos et al., 2018; Wang et al., 2019b) and relax ${ \bf z } _ { \tau }$ into continuous space $[ 0 , 1 ] ^ { d }$ with a stretched Hard-Concrete distribution (Jang et al., 2017; Maddison et al., 2017), which allows for the use of pathwise gradient estimators. Specifically, ${ \bf z } _ { \tau }$ is now defined to be a deterministic and (sub)differentiable function of a sample $\mathbf { u }$ from a uniform distribution,
|
| 70 |
+
|
| 71 |
+
$$
|
| 72 |
+
\begin{array} { r } { \mathbf { u } \sim U ( \mathbf { 0 } , \mathbf { 1 } ) , \qquad \mathbf { s } _ { \tau } = \sigma \left( \log \mathbf { u } - \log ( 1 - \mathbf { u } ) + \alpha _ { \tau } \right) , } \\ { \bar { \mathbf { s } } _ { \tau } = \mathbf { s } _ { \tau } \times ( r - l ) + l , \qquad \mathbf { z } _ { \tau } = \operatorname* { m i n } ( \mathbf { 1 } , \operatorname* { m a x } ( \mathbf { 0 } , \bar { \mathbf { s } } _ { \tau } ) ) . } \end{array}
|
| 73 |
+
$$
|
| 74 |
+
|
| 75 |
+
Here $l < 0$ and $r > 1$ are two constants used to stretch ${ \bf s } _ { \tau }$ into the interval $( l , r ) ^ { d }$ before it is clamped to $[ 0 , 1 ] ^ { d }$ with the $\operatorname* { m i n } ( \mathbf { 1 } , \operatorname* { m a x } ( \mathbf { 0 } , \cdot ) )$ operation. In this case we have a differentiable closed-form expression for the expected $L _ { 0 }$ -norm,
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
\mathbb { E } \left[ \left. \pmb { \delta } _ { \tau } \right. _ { 0 } \right] = \sum _ { i = 1 } ^ { d } \mathbb { E } \left[ \mathbb { 1 } \left\{ \mathbf { z } _ { \tau , i } > 0 \right\} \right] = \sum _ { i = 1 } ^ { d } \sigma \left( \alpha _ { \tau , i } - \log \frac { - l } { r } \right) .
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
Thus the final optimization problem is given by,
|
| 82 |
+
|
| 83 |
+
$\operatorname* { m i n } _ { \tau _ { \tau } , \mathbf { w } _ { \tau } } \mathbb { E } _ { \mathbf { u } \sim U [ \mathbf { 0 } , 1 ] } \left[ \frac { 1 } { N } \sum _ { n = 1 } ^ { N } \mathcal { L } \left( f ( x _ { \tau } ^ { ( n ) } ; \boldsymbol { \theta } _ { \mathrm { p r e r a i n e d } } + \mathbf { z } _ { \tau } \odot \mathbf { w } _ { \tau } , ) , y _ { \tau } ^ { ( n ) } \right) \right] + \lambda \sum _ { i = 1 } ^ { d } \sigma \left( \alpha _ { \tau , i } - \log \frac { - l } { r } \right) ,$ and we can now utilize pathwise gradient estimators to optimize the first term with respect to $\pmb { \alpha } _ { \tau }$ since the expectation no longer depends on it.4 After training we obtain the final diff vector $\delta _ { \tau }$ by sampling $\mathbf { u }$ once to obtain ${ \bf z } _ { \tau }$ (which is not necessarily a binary vector but has a significant number of dimensions equal to exactly zero due to the clamping function), then setting $\pmb { \delta } _ { \tau } = \mathbf { z } _ { \tau } \odot \mathbf { w } _ { \tau }$ . 5
|
| 84 |
+
|
| 85 |
+
3.2 $L _ { 0 }$ -BALL PROJECTION WITH MAGNITUDE PRUNING FOR SPARSITY CONTROL
|
| 86 |
+
|
| 87 |
+
Differentiable $L _ { 0 }$ regularization provides a strong way to achieve high sparsity rate. However, it would be ideal to have more fine-grained control into the exact sparsity rate in the diff vector, especially considering applications which require specific parameter budgets. As $\lambda$ is just the Lagrangian multiplier for the constraint $\mathbb { E } \left[ \lVert \pmb { \delta } _ { \tau } \rVert _ { 0 } \right] < \eta$ for some $\eta$ , this could be achieved in principle by searching over different values of $\lambda$ . However we found it more efficient and empirically effective to achieve an exact sparsity rate by simply projecting onto the $L _ { 0 }$ -ball after training.
|
| 88 |
+
|
| 89 |
+
Specifically we use magnitude pruning on the diff vector $\delta _ { \tau }$ and target a sparsity rate $t \%$ by only keeping the top $t \% \times \bar { d }$ values in $\delta _ { \tau }$ .6 Note that unlike standard magnitude pruning, this is based on the magnitude of the diff vector values and not the model parameters. As is usual in magnitude pruning, we found it important to further finetune $\delta _ { \tau }$ with the nonzero masks fixed to maintain good performance (Han et al., 2016). Since this type of parameter-efficiency through projection onto the $L _ { 0 }$ -ball can be applied without adaptive diff pruning,7 such an approach will serve as one of our baselines in the empirical study.
|
| 90 |
+
|
| 91 |
+
# 3.3 STRUCTURED DIFF PRUNING
|
| 92 |
+
|
| 93 |
+
Diff pruning, as presented above, is architecture-agnostic and does not exploit the underlying model structure—each dimension of ${ \bf z } _ { \tau }$ is independent from one another. While this makes the approach potentially more flexible, we might expect to achieve better sparsity/performance tradeoff through a structured formulation which encourages active parameters to group together and other areas to be fully sparse. Motivated by this intuition, we first partition the parameter indices into $G$ groups $\{ g ( 1 ) , \ldots , g ( G ) \}$ where $g ( j )$ is a subset of parameter indices governed by group $g ( j )$ .8 We then introduce a scalar $\mathbf { z } _ { \tau } ^ { j }$ (with the associated parameter $\alpha _ { \tau } ^ { j }$ ) for each group $g ( j )$ , and decompose the task-specific parameter for index $i \in g ( j )$ as $\begin{array} { r } { \delta _ { \tau , i } ^ { j } = \mathbf { z } _ { \tau , i } \times \mathbf { z } _ { \tau } ^ { j } \times \mathbf { w } _ { \tau , i } . } \end{array}$ The expected $L _ { 0 }$ -norm is then given by,
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
\Sigma \left[ \left. \delta _ { \tau } \right. _ { 0 } \right] = \sum _ { j = 1 } ^ { G } \sum _ { i \in g ( j ) } \mathbb { E } \left[ \mathbb { I } \left\{ \mathbf { z } _ { \tau , i } \cdot \mathbf { z } _ { \tau } ^ { g } > 0 \right\} \right] = \sum _ { j = 1 } ^ { G } \sum _ { i \in g ( j ) } \sigma \left( \alpha _ { \tau , i } - \log { \frac { - l } { r } } \right) \times \sigma \left( \alpha _ { \tau } ^ { j } - \log { \frac { - l } { r } } \right) ,
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
and we can train with gradient-based optimization as before.
|
| 100 |
+
|
| 101 |
+
# 4 EXPERIMENTS
|
| 102 |
+
|
| 103 |
+
# 4.1 MODEL AND DATASETS
|
| 104 |
+
|
| 105 |
+
For evaluation we use the GLUE benchmark (Wang et al., 2019b), a popular finetuning dataset. Following adapters (Houlsby et al., 2019), we test our approach on the following subset of the GLUE tasks: Multi-Genre Natural Language Inference (MNLI), where the goal is two predict whether the relationship between two sentences is entailment, contradiction, or neutral (we test on both $\mathrm { M N L L } \mathrm { I } _ { m }$ and $\mathrm { M N L I } _ { m m }$ which respectively tests on matched/mismatched domains); Quora Question Pairs (QQP), a classification task to predict whether two question are semantically equivalent; Question Natural Language Inference (QNLI), which must predict whether a sentence is a correct answer to the question; Stanford Sentiment Treebank (SST-2), a sentence classification task to predict the sentiment of movie reviews; Corpus of Linguistic Acceptability (CoLA), where the goal is predict whether a sentence is linguistically acceptable or not; Semantic Textual Similarity Benchmark (STS$\mathbf { B }$ ), which must predict a similarity rating between two sentences; Microsoft Research Paraphrase Corpus (MRPC), where the goal is to predict whether two sentences are semantically equivalent; Recognizing Textual Entailment (RTE), which must predict whether a second sentence is entailed by the first. For evaluation, the benchmark uses Matthew’s correlation for CoLA, Spearman for STS-B, $\mathrm { F _ { 1 } }$ score for MRPC/QQC, and accuracy for MNLI/QNLI/SST-2/RTE.
|
| 106 |
+
|
| 107 |
+
<table><tr><td></td><td>Total params</td><td>New params per task</td><td>QNLI*</td><td>SST-2 MNLIm</td><td></td><td>MNLImm</td><td>CoLA MRPC STS-B RTE</td><td></td><td></td><td></td><td>QQP</td><td>Avg</td></tr><tr><td>Full finetuning</td><td>9.00×</td><td>100%</td><td>91.1</td><td>94.9</td><td>86.7</td><td>85.9</td><td>60.5</td><td>89.3</td><td>87.6</td><td>70.1</td><td>72.1</td><td>80.9</td></tr><tr><td>Adapters (8-256)</td><td>1.32×</td><td>3.6%</td><td>90.7</td><td>94.0</td><td>84.9</td><td>85.1</td><td>59.5</td><td>89.5</td><td>86.9</td><td>71.5</td><td>71.8</td><td>80.4</td></tr><tr><td>Adapters (64)</td><td>1.19×</td><td>2.1%</td><td>91.4</td><td>94.2</td><td>85.3</td><td>84.6</td><td>56.9</td><td>89.6</td><td>87.3</td><td>68.6</td><td>71.8</td><td>79.8</td></tr><tr><td>Full finetuning</td><td>9.00×</td><td>100%</td><td>93.4</td><td>94.1</td><td>86.7</td><td>86.0</td><td>59.6</td><td>88.9</td><td>86.6</td><td>71.2</td><td>71.7</td><td>80.6</td></tr><tr><td>Last layer</td><td>1.34×</td><td>3.8%</td><td>79.8</td><td>91.6</td><td>71.4</td><td>72.9</td><td>40.2</td><td>80.1</td><td>67.3</td><td>58.6</td><td>63.3</td><td>68.2</td></tr><tr><td>Non-adap. diff pruning</td><td>1.05×</td><td>0.5%</td><td>89.7</td><td>93.6</td><td>84.9</td><td>84.8</td><td>51.2</td><td>81.5</td><td>78.2</td><td>61.5</td><td>68.6</td><td>75.5</td></tr><tr><td>Diff pruning</td><td>1.05×</td><td>0.5%</td><td>92.9</td><td>93.8</td><td>85.7</td><td>85.6</td><td>60.5</td><td>87.0</td><td>83.5</td><td>68.1</td><td>70.6</td><td>79.4</td></tr><tr><td>Diff pruning (struct.)</td><td>1.05×</td><td>0.5%</td><td>93.3</td><td>94.1</td><td>86.4</td><td>86.0</td><td>61.1</td><td>89.7</td><td>86.0</td><td>70.6</td><td>71.1</td><td>80.6</td></tr></table>
|
| 108 |
+
|
| 109 |
+
Table 1: GLUE benchmark test server results with BERTLARGE models. (Top) Results with adapter bottleneck layers (brackets indicate the size of bottlenecks), taken from from Houlsby et al. (2019). (Bottom) Results from this work. ${ } ^ { * } \mathrm { Q N L I }$ results are not directly comparable across the two works as the GLUE benchmark has updated the test set since then. To make our results comparable the average column is calculated without QNLI.
|
| 110 |
+
|
| 111 |
+
For all experiments, we use the BERTLARGE model from Devlin et al. (2019), which has 24 layers, 1024 hidden size, 16 attention heads, and 340M parameters. We use the Huggingface Transformer library (Wolf et al., 2019) to conduct our experiments.
|
| 112 |
+
|
| 113 |
+
# 4.2 BASELINES
|
| 114 |
+
|
| 115 |
+
We compare both structured and non-structured variants of diff pruning against the following baselines: Full finetuning, which fully finetunes $\mathrm { B E R T _ { L } }$ ARGE as usual; Last layer finetuning, which only finetunes the penultimate layer (along with the final output layer)9; Adapters from Houlsby et al. (2019), which train task-specific bottleneck layers between between each layer of a pretrained model, where parameter-efficiency can be controlled by varying the size of the bottleneck layers; and Non-adaptive diff pruning, which performs diff pruning just based on magnitude pruning (i.e., we obtain $\pmb { \theta } _ { \tau }$ through usual finetuning, set $\delta _ { \tau } = \pmb { \theta } _ { \tau } - \pmb { \theta } _ { \mathrm { p r e t r a i n e d } }$ , and then apply magnitude pruning followed by additional finetuning on $\delta _ { \tau }$ ). For diff pruning we set our target sparsity rate to $0 . 5 \%$ and investigate the effect of different target sparsity rates in section 5.1.
|
| 116 |
+
|
| 117 |
+
# 4.3 IMPLEMENTATION DETAILS AND HYPERPARAMETERS
|
| 118 |
+
|
| 119 |
+
Diff pruning introduces additional hyperparameters $l , r$ (for stretching the Hard-Concrete distribution) and $\lambda$ (for weighting the approximate $L _ { 0 }$ -norm penalty). We found $l = - 1 . 5 , r = 1 . 5 , \lambda =$ $1 . 2 5 \times 1 0 ^ { - 7 }$ to work well across all tasks. We also initialize the weight vector ${ \bf w } _ { \tau }$ to 0, and $\pmb { \alpha } _ { \tau }$ to a positive vector (we use 5) to encourage ${ \bf z } _ { \tau }$ to be close to 1 at the start of training. While we mainly experiment with BERTLARGE to compare against prior work with adapters (Houlsby et al., 2019), in preliminary experiments we found these hyperparameters to work for finetuning RoBERTa (Liu et al., $2 0 1 9 \mathrm { c }$ ) and XLNet (Yang et al., 2019) models as well.
|
| 120 |
+
|
| 121 |
+
For all tasks we use a learning rate of $1 \times 1 0 ^ { - 5 }$ and perform a hyperparameter search over batch size $\in \{ 4 , 6 , 8 , 1 0 \}$ and the number of epochs $\in \{ 2 , 3 , 4 , 5 \}$ .10 However we found the default settings used for regular finetuning as suggested in the original BERT paper to work well for most tasks. Finetuning with the fixed mask after projecting onto the $L _ { 0 }$ -ball with magnitude pruning is done with a learning rate of $5 \times 1 0 ^ { - 5 }$ for 3 or 5 epochs (3 epochs for QNLI, SST-2, MNLI-m, MNLI-mm, CoLA, QQP, 5 epochs for MRPC, STS-B, RTE). Grouping for the structured version of diff pruning is based on the matrix/bias vectors (i.e. parameters that belong to the same matrix or bias vector are assumed to be in the same group), which results in 393 groups.1
|
| 122 |
+
|
| 123 |
+
# 5 RESULTS AND ANALYSIS
|
| 124 |
+
|
| 125 |
+
Our main results on the GLUE benchmark are shown in Table 1. Structured diff pruning can match the performance of a fully finetuned BERTLARGE model while only requiring $0 . 5 \%$ additional parameters per task. Diff pruning without structured sparsity also performs well, though slightly worse than the structured approach. Non-adaptive diff pruning, which magnitude prunes the diff vector without learning the binary mask $\mathbf { z } _ { \tau }$ , performs significantly worse, indicating the importance of learning the masking vector. Compared to adapters, diff pruning obtains similar performance while requiring fewer parameters per task, making it a potential alternative for parameter-efficient transfer learning.12 We now perform a series of analysis experiments on the validation set.
|
| 126 |
+
|
| 127 |
+
<table><tr><td rowspan="2">Non-structured</td><td colspan="2">Pruned Diff Groups</td><td colspan="2">Structured</td></tr><tr><td>#</td><td>%</td><td>#</td><td>%</td></tr><tr><td>MRPC</td><td>24</td><td>6.1</td><td>52</td><td>13.2</td></tr><tr><td>STS-B</td><td>25</td><td>6.4</td><td>48</td><td>12.2</td></tr><tr><td>RTE</td><td>28</td><td>7.1</td><td>50</td><td>12.7</td></tr><tr><td>Avg</td><td>25.7</td><td>6.5</td><td>50.0</td><td>12.7</td></tr></table>
|
| 128 |
+
|
| 129 |
+

|
| 130 |
+
Figure 1: (Left) Average performance on the GLUE validation set across different target sparsity rates for the different methods. (Right) Number of groups where all of the parameters in the group are fully zero for structured vs. non-structured diff pruning at $0 . 5 \%$ target sparsity. We group based on each matrix/bias vector, resulting in 393 groups in total.
|
| 131 |
+
|
| 132 |
+
<table><tr><td>Diff vector target sparsity</td><td>QNLI</td><td>SST-2</td><td>MNLIm</td><td>MNLImm</td><td>CoLA</td><td>MRPC</td><td>STS-B</td><td>RTE</td><td>QQP</td><td>Avg</td></tr><tr><td>0.10%</td><td>92.7</td><td>93.3</td><td>85.6</td><td>85.9</td><td>58.0</td><td>87.4</td><td>86.3</td><td>68.6</td><td>85.2</td><td>82.5</td></tr><tr><td>0.25%</td><td>93.2</td><td>94.2</td><td>86.2</td><td>86.5</td><td>63.3</td><td>90.9</td><td>88.4</td><td>71.5</td><td>86.1</td><td>84.5</td></tr><tr><td>0.50%</td><td>93.4</td><td>94.2</td><td>86.4</td><td>86.9</td><td>63.5</td><td>91.3</td><td>89.5</td><td>71.5</td><td>86.6</td><td>84.8</td></tr><tr><td>1.00%</td><td>93.3</td><td>94.2</td><td>86.4</td><td>87.0</td><td>66.3</td><td>91.4</td><td>89.9</td><td>71.1</td><td>86.6</td><td>85.1</td></tr><tr><td>100%</td><td>93.5</td><td>94.1</td><td>86.5</td><td>87.1</td><td>62.8</td><td>91.9</td><td>89.8</td><td>71.8</td><td>87.6</td><td>85.0</td></tr></table>
|
| 133 |
+
|
| 134 |
+
Table 2: Structured diff pruning results on the validation set with different target sparsity rates. Average performance includes all 9 tasks.
|
| 135 |
+
|
| 136 |
+
# 5.1 VARYING THE TARGET SPARSITY
|
| 137 |
+
|
| 138 |
+
In Figure 1 (left), we plot results on the GLUE validation set averaged across all tasks at target sparsity rates of $0 . 1 \%$ , $0 . 2 5 \%$ , $0 . 5 \%$ , $1 . 0 \%$ for the different baselines. Structured diff pruning consistently outperforms non-structured and and non-adaptive variants across different sparsity rates. The advantage of adaptive methods becomes more pronounced at extreme sparsity rates. In Table 2, we report the breakdown of accuracy of structured diff pruning across different tasks and sparsity rates, where we observe that different tasks have different sensitivity to target sparsity rates. This suggests that we can obtain even greater parameter-efficiency through targeting task-specific sparsity rates in the diff vector.
|
| 139 |
+
|
| 140 |
+
# 5.2 STRUCTURED VS. NON-STRUCTURED DIFF PRUNING
|
| 141 |
+
|
| 142 |
+
Structured diff pruning introduces an additional mask per group, which encourages pruning of entire groups. This is less restrictive than traditional group sparsity techniques that have been used with $L _ { 0 }$ -norm relaxations which force all parameters in a group to share the same mask (Louizos et al., 2018; Wang et al., 2019b). However we still expect entire groups to be pruned out more often in the structured case, which might bias the learning process towards either eliminating completely or clustering together nonzero diffs. In Figure 1 (right), we indeed find that structured diff pruning leads to finetuned models that are much more likely to leave entire groups unchanged from their pretrained values (zero diffs).
|
| 143 |
+
|
| 144 |
+
# 5.3 TASK-SPECIFIC SPARSITY
|
| 145 |
+
|
| 146 |
+
Different layers of pretrained models have argued to encode different information (Liu et al., 2019a; Tenney et al., 2019). Given that each task will likely recruit different kinds of language phenomena embedded in the hidden layers, we hypothesize that diff pruning will modify different parts of the pretrained model through task-specific finetuning. Figure 2 shows the percentage of nonzero diff parameters attributable to the different layers for each task. We find that different tasks indeed modify different parts of the network, although there are some qualitative similarities between some tasks, for example between QNLI & QQP (both must encode questions), and MRPC & STS-B (both must predict similarity between sentences). The embedding layer is very sparsely modified for all tasks. While some of the variations in the sparsity distributions is due to simple randomness, we do observe some level of consistency over multiple runs of the same task, as shown in Figure 3 of the appendix.
|
| 147 |
+
|
| 148 |
+

|
| 149 |
+
|
| 150 |
+
Figure 2: Percentage of modified parameters attributable to each layer for different tasks at $0 . 5 \%$ target sparsity. The layers are ordered from earlier to later (i.e. the embedding layer is shown at the top). The $\mathbf { X }$ -axis for each plot goes from $0 \%$ to $20 \%$ .
|
| 151 |
+
|
| 152 |
+
<table><tr><td></td><td>QNLI</td><td>SST-2</td><td>MNLIm</td><td>MNLImm</td><td>CoLA</td><td>MRPC</td><td>STS-B</td><td>RTE</td><td>QQP</td><td>Avg</td></tr><tr><td>Sparsity</td><td>1.5%</td><td>0.6%</td><td>0.8%</td><td>0.8%</td><td>1.6%</td><td>2.4%</td><td>3.3%</td><td>0.7%</td><td>0.6%</td><td>1.4%</td></tr><tr><td>Performance</td><td>93.8</td><td>94.0</td><td>86.2</td><td>86.8</td><td>63.1</td><td>91.9</td><td>89.7</td><td>71.8</td><td>86.5</td><td>84.9</td></tr><tr><td>With 0.5% sparsity</td><td>93.4</td><td>94.2</td><td>86.4</td><td>86.9</td><td>63.5</td><td>91.3</td><td>89.5</td><td>71.5</td><td>86.6</td><td>84.8</td></tr></table>
|
| 153 |
+
|
| 154 |
+
Table 3: (Top) Sparsity and performance before magnitude pruning on the validation set with structured diff pruning. (Bottom) Performance with $0 . 5 \%$ target sparsity.
|
| 155 |
+
|
| 156 |
+
The ability to modify different parts of the pretrained model for each task could explain the improved parameter-efficiency of our approach compared to Houlsby et al. (2019)’s adapter layers, which can only read/write to the pretrained model at certain points of the computational graph.13 This potentially suggests that adapter layers with more fine-grained access into model internals (e.g. adapters for key/value/query transformations) might result in even greater parameter-efficiency. While left as future work, we also note that diff pruning can be applied in conjunction with adapters, which might further improve results.
|
| 157 |
+
|
| 158 |
+
# 5.4 EFFECT OF $\mathrm { L } _ { 0 }$ -BALL PROJECTION VIA MAGNITUDE PRUNING
|
| 159 |
+
|
| 160 |
+
Applying magnitude pruning to project onto the $\mathrm { L } _ { 0 }$ -ball was crucial in achieving exact sparsity targets. As shown in Table 3, we observed little loss in performance through magnitude pruning. We re-iterate that it was crucial to finetune with the fixed mask in order to maintain good performance.14
|
| 161 |
+
|
| 162 |
+
# 5.5 SQUAD EXTRACTIVE QUESTION ANSWERING
|
| 163 |
+
|
| 164 |
+
To demonstrate the effectiveness of our approach beyond classification, we additionally experiment on the extractive question answering task SQuAD, which asks model to select the answer span to a question given a Wikipedia paragraph. To make direct comparisons with Houlsby et al. (2019), we run all experiments on SQuAD v1.1. For diff pruning, we use the same general hyper-parameters as our full finetuning baseline.15 Results are shown in Table 4. Diff pruning is able achieve comparable or better performance with only $1 \%$ additional parameters. Notably, we see that our method can improve the F1 score of full finetuning baseline by a significant margin (e.g. $9 0 . 8 \% \Rightarrow 9 3 . 2 \% )$ )
|
| 165 |
+
|
| 166 |
+
<table><tr><td></td><td>Sparsity</td><td>F1</td></tr><tr><td>Full finetuning Adapters</td><td>100% 2%</td><td>90.7% 90.4%</td></tr><tr><td>Full finetuning</td><td>100%</td><td>90.8%</td></tr><tr><td>Diff pruning</td><td>1%</td><td>92.1%</td></tr><tr><td>Diff pruning (struct.)</td><td>1%</td><td>93.2%</td></tr></table>
|
| 167 |
+
|
| 168 |
+
Table 4: SQuAD validation results with BERTLARGE model.
|
| 169 |
+
|
| 170 |
+
while modifying many fewer parameters (e.g., $1 0 0 \% \Rightarrow 1 \%$ ), which potentially implies that diff pruning can have a useful regularization effect.
|
| 171 |
+
|
| 172 |
+
# 6 DISCUSSION
|
| 173 |
+
|
| 174 |
+
# 6.1 MEMORY REQUIREMENTS
|
| 175 |
+
|
| 176 |
+
For training, our approach requires more memory than usual finetuning due to additionally optimizing $\pmb { \alpha } _ { \tau }$ and ${ \bf w } _ { \tau }$ . This did not present a significant challenge for pretrained models that we experimented with in this study, since majority of GPU memory was utilized by the minibatch’s activation layers. However, this could present an issue as model sizes get larger and larger. While training efficiency was not a primary concern of this work, diff pruning takes approxiamtely $1 . 5 \times$ to $2 \times$ more time per batch, which results in slower training.
|
| 177 |
+
|
| 178 |
+
After training, storing the task-specific diff vector requires storing a compressed version with both the nonzero positions and weights, which incurs additional storage requirements.
|
| 179 |
+
|
| 180 |
+
# 6.2 INFORMATION-EFFICIENT TRANSFER LEARNING
|
| 181 |
+
|
| 182 |
+
Efficiently representing pretrained models adapted to new tasks is becoming an increasingly important problem in contemporary NLP. This paper focuses on a rather narrow definition of efficiency— parameter-efficiency. An interesting direction might be to target generalizations of parameterefficiency, for example, information-efficiency, which aims to minimize the number of bits required to represent the task-specific model when given the pretrained model for free. This view can suggest other avenues for achieving information-efficient transfer learning: for example, “what is the minimum number of (potentially synthetic) datapoints that we can finetune BERT on to obtain a good task-specific model?”,16 or “what is the shortest prefix string that we can condition GPT3 on for it to become a good task-specific model”?
|
| 183 |
+
|
| 184 |
+
# 7 RELATED WORK
|
| 185 |
+
|
| 186 |
+
Multi-task learning Multi-task learning (Caruana, 1997), broadly construed, aims to learn models and representations that can be utilized across a diverse range of tasks, and offers a natural approach to training parameter-efficient deep models. Several works have shown that a single BERT model can obtain good performance across multiple tasks when jointly trained (Liu et al., 2019b; Clark et al., 2019; Stickland & Murray, 2019). Adapter layers, which are task-specific layers that read and write to layers of a shared model (Rebuffi et al., 2018), offer an alternative approach to multi-task learning that does not require access to all tasks during training, and have also been applied to obtain parameter-efficient BERT models (Houlsby et al., 2019; Pfeiffer et al., 2020a;b;c). A related line of work targets extreme parameter-efficiency through task-agnostic sentence representations that can be used without finetuning for downstream tasks (Le & Mikolov, 2014; Kiros et al., 2015; Wieting et al., 2016; Hill et al., 2016; Arora et al., 2017; Conneau et al., 2017; Cer et al., 2018; Zhang et al., 2018; Subramanian et al., 2018; Zhang et al., 2020). Reimers & Gurevych (2019), building on the earlier work of Conneau et al. (2017), show that BERT finetuned on natural language inference obtains sentence representations that perform well across multiple sentence-level tasks. These feature-based transfer learning methods are however generally outperformed by fully finetuned models (Howard & Ruder, 2018).
|
| 187 |
+
|
| 188 |
+
Model compression There has been much recent work on compressing pretrained trained with self-supervision (see Ganesh et al. (2020) for a recent survey). A particularly promising line of work focuses on obtaining smaller pretrained models (for subsequent finetuning) through weight pruning (Gordon et al., 2020; Sajjad et al., 2020; Chen et al., 2020) and/or knowledge distillation (Sanh et al., 2019; Sun et al., 2019; Turc et al., 2019; Jiao et al., 2019; Sun et al., 2020). It would be interesting to see whether our approach can be applied on top of these smaller pretrained models to for even greater parameter-efficiency.
|
| 189 |
+
|
| 190 |
+
Learning to prune Our work is closely related to the line of work on learning to prune pretrained models with differentiable relaxations of binary masks (Wang et al., 2019b; Zhao et al., 2020; Sanh et al., 2020; Radiya-Dixit & Wang, 2020). While these works also enable parameter-efficient transfer learning, they generally apply the masks directly on the pretrained parameters instead of on the difference vector as in the present work.
|
| 191 |
+
|
| 192 |
+
Regularization towards pretrained models Finally, diff pruning is also related to works which regularize the learning process towards pretrained models for continual learning (Kirkpatrick et al., 2017; Schwarz et al., 2018), domain adaptation (Wiese et al., 2017; Miceli Barone et al., 2017), and stable finetuning (Lee et al., 2020). These works typically do not utilize sparse regularizers and target a different goal than parameter-efficiency.
|
| 193 |
+
|
| 194 |
+
# 8 CONCLUSION
|
| 195 |
+
|
| 196 |
+
We propose diff pruning as a simple approach for parameter-efficient transfer learning with pretrained models. Experiments on standard NLP benchmarks and models show that diff pruning can match the performance of fully finetuned baselines while requiring only a few additional parameters per task. We also propose a structured variant of diff pruning which provides further improvements. Future work will consider (i) applying this approach to other architectures (e.g. ConvNets for vision applications), (ii) injecting parameter-efficiency objectives directly into the pretraining process (to pretrain models that are better suited towards sparse transfer learning), and (iii) combining diff pruning with other techniques (e.g. adapters) to achieve even greater parameter-efficiency.
|
| 197 |
+
|
| 198 |
+
# REFERENCES
|
| 199 |
+
|
| 200 |
+
Sanjeev Arora, Yingyu Liang, and Tengyu Ma. A Simple but Tough-to-Beat Baseline for Sentence Embeddings . In Proceedings of ICLR, 2017.
|
| 201 |
+
|
| 202 |
+
Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language Models are Few-Shot Learners. 2020.
|
| 203 |
+
|
| 204 |
+
Rich Caruana. Multitask Learning. Machine Learning, 1997.
|
| 205 |
+
|
| 206 |
+
Daniel Cer, Yinfei Yang, Sheng-yi Kong, Nan Hua, Nicole Limtiaco, Rhomni St. John, Noah Constant, Mario Guajardo-Cespedes, Steve Yuan, Chris Tar, Brian Strope, and Ray Kurzweil. Universal sentence encoder for English. In Proceedings of EMNLP: System Demonstrations, 2018.
|
| 207 |
+
|
| 208 |
+
Tianlong Chen, Jonathan Frankle, Shiyu Chang, Sijia Liu, Yang Zhang, Zhangyang Wang, and Michael Carbin. The Lottery Ticket Hypothesis for Pre-trained BERT Networks. arXiv:2007.12223, 2020.
|
| 209 |
+
|
| 210 |
+
Kevin Clark, Minh-Thang Luong, Urvashi Khandelwal, Christopher D. Manning, and Quoc V. Le. BAM! Born-Again Multi-Task Networks for Natural Language Understanding. In Proceedings of ACL, 2019.
|
| 211 |
+
|
| 212 |
+
Alexis Conneau, Douwe Kiela, Holger Schwenk, Loic Barrault, and Antoine Bordes. Supervised Learning of Universal Sentence Representations from Natural Language Inference Data. In Proceedings of EMNLP, 2017.
|
| 213 |
+
|
| 214 |
+
Andrew Dai and Quoc V. Le. Semi-Supervised Sequence Learning. In Proceedings of NIPS, 2015.
|
| 215 |
+
|
| 216 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In Proceedings of NAACL, 2019.
|
| 217 |
+
|
| 218 |
+
Fangxiaoyu Feng, Yinfei Yang, Daniel Cer, Naveen Arivazhagan, and Wei Wang. Languageagnostic BERT Sentence Embedding. arXiv:2007.01852, 2020.
|
| 219 |
+
|
| 220 |
+
Robert French. Catastrophic forgetting in connectionist networks. Trends in cognitive sciences, 3, 1999.
|
| 221 |
+
|
| 222 |
+
Prakhar Ganesh, Yao Chen, Xin Lou, Mohammad Ali Khan, Yin Yang, Deming Chen, Marianne Winslett, Hassan Sajjad, and Preslav Nakov. Compressing Large-Scale Transformer-Based Models: A Case Study on BERT. arXiv:2002.11985, 2020.
|
| 223 |
+
|
| 224 |
+
Mitchell A. Gordon, Kevin Duh, and Nicholas Andrews. Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learning. In Proceedings of Rep4NLP 2020 Workshop at ACL 2020, 2020.
|
| 225 |
+
|
| 226 |
+
Song Han, Huizi Mao, and William J. Dally. Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Coding. In Proceedings of ICLR, 2016.
|
| 227 |
+
|
| 228 |
+
Felix Hill, Kyunghyun Cho, and Anna Korhonen. Learning distributed representations of sentences from unlabelled data. In Proceedings of ACL, 2016.
|
| 229 |
+
|
| 230 |
+
Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin de Laroussilhe, Andrea Gesmundo, and Mona Attariyanand Sylvain Gelly. Parameter-efficient transfer learning for nlp. In Proceedings of ICML, 2019.
|
| 231 |
+
|
| 232 |
+
Jeremy Howard and Sebastian Ruder. Universal Language Model Fine-tuning for Text Classification. In Proceedings of ACL, 2018.
|
| 233 |
+
|
| 234 |
+
Eric Jang, Shixiang Gu, and Ben Poole. Categorical Reparameterization with Gumbel-Softmax. In Proceedings of ICLR, 2017.
|
| 235 |
+
|
| 236 |
+
Xiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang, Xiao Chen, Linlin Li, Fang Wang, and Qun Liu. TinyBERT: Distilling BERT for Natural Language Understanding. arXiv:1909.10351, 2019.
|
| 237 |
+
|
| 238 |
+
James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A. Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, Demis Hassabis, Claudia Clopath, Dharshan Kumaran, and Raia Hadsell. Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences, 14:3521–3526, 2017.
|
| 239 |
+
|
| 240 |
+
Ryan Kiros, Yukun Zhu, Ruslan Salakhutdinov, Richard S. Zemel, Antonio Torralba, Raquel Urta sun, and Sanja Fidler. Skip-Thought Vectors. In Proceedings of NeurIPS, 2015.
|
| 241 |
+
|
| 242 |
+
Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. ALBERT: A Lite BERT for Self-supervised Learning of Language Representations. In Proceedings of ICLR, 2020.
|
| 243 |
+
|
| 244 |
+
Quoc V. Le and Tomas Mikolov. Distributed Representations of Sentences and Documents. In Proceedings of ICML, 2014.
|
| 245 |
+
|
| 246 |
+
Cheolhyoung Lee, Kyunghyun Cho, and Wanmo Kang. Mixout: Effective Regularization to Finetune Large-scale Pretrained Language Models. In Proceedings of ICLR, 2020.
|
| 247 |
+
|
| 248 |
+
Sang-Woo Lee, Jin-Hwa Kim, Jaehyun Jun, Jung-Woo Ha, and Byoung-Tak Zhang. Overcoming catastrophic forgetting by incremental moment matching. In Advances in Neural Information Processing Systems. 2017.
|
| 249 |
+
|
| 250 |
+
Nelson F. Liu, Matt Gardner, Yonatan Belinkov, Matthew E. Peters, and Noah A. Smith. Linguistic Knowledge and Transferability of Contextual Representations. In Proceedings of ACL, 2019a.
|
| 251 |
+
|
| 252 |
+
Xiaodong Liu, Pengcheng He, Weizhu Chen, and Jianfeng Gao. Multi-Task Deep Neural Networks for Natural Language Understanding. In Proceedings of ACL, 2019b.
|
| 253 |
+
|
| 254 |
+
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. RoBERTa: A Robustly Optimized BERT Pretraining Approach. arXiv:1907.11692, 2019c.
|
| 255 |
+
David Lopez-Paz and Marc’Aurelio Ranzato. Gradient Episodic Memory for Continual Learning. In Proceedings of NeurIPS, 2017.
|
| 256 |
+
Christos Louizos, Max Welling, Diederik P, and Kingma. Learning Sparse Neural Networks through $L _ { 0 }$ Regularization. In Proceedings of ICLR, 2018.
|
| 257 |
+
Chris J. Maddison, Andriy Mnih, and Yee Whye Teh. The Concrete Distribution: A Continuous Relaxation of Discrete Random Variables. In Proceedings of ICLR, 2017.
|
| 258 |
+
Bryan McCann, James Bradbury, Caiming Xiong, and Richard Socher. Learned in translation: Contextualized word vectors. In Proceedings of NeurIPS. 2017.
|
| 259 |
+
Antonio Valerio Miceli Barone, Barry Haddow, Ulrich Germann, and Rico Sennrich. Regularization techniques for fine-tuning in neural machine translation. In Proceedings of EMNLP, 2017.
|
| 260 |
+
Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient Estimation of Word Representations in Vector Space. arXiv:1301.3781, 2013.
|
| 261 |
+
German I. Parisi, Ronald Kemker, Jose L. Part, Christopher Kanan, and Stefan Wermter. Continual Lifelong Learning with Neural Networks: A Review. arXiv:1802.07569, 2018.
|
| 262 |
+
Matthew Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep Contextualized Word Representations. In Proceedings of NAACL, 2018.
|
| 263 |
+
Jonas Pfeiffer, Aishwarya Kamath, Andreas Ruckle, and Kyunghyun Cho amd Iryna Gurevych. AdapterFusion: Non-Destructive Task Composition for Transfer Learning. arXiv:2005.00247, 2020a.
|
| 264 |
+
Jonas Pfeiffer, Andreas Ruckle, Clifton Poth, Aishwarya Kamath, Ivan Vulic, Sebastian Ruder, and Iryna Gurevych Kyunghyun Cho. AdapterHub: A Framework for Adapting Transformers. arXiv:2007.07779, 2020b.
|
| 265 |
+
Jonas Pfeiffer, Ivan Vulic, Iryna Gurevych, and Sebastian Ruder. MAD-X: An Adapter-based Framework for Multi-task Cross-lingual Transfer. arXiv:2005.00052, 2020c.
|
| 266 |
+
Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving language understanding by generative pre-training. 2018.
|
| 267 |
+
Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language Models are Unsupervised Multitask Learners. 2019.
|
| 268 |
+
Evani Radiya-Dixit and Xin Wang. How fine can fine-tuning be? Learning efficient language models. In Proceedings of AISTATS, 2020.
|
| 269 |
+
Colin Raffel, Noam Shazeer, Katherine Lee Adam Roberts, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. Exploring the Limits of Transfer Learning with a Unified Text-toText Transformer. Journal of Machine Learning Research, 21, 2020.
|
| 270 |
+
Samyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, and Yuxiong He. ZeRO: Memory Optimizations Toward Training Trillion Parameter Models. arXiv:1910.02054, 2019.
|
| 271 |
+
S. Rebuffi, A. Vedaldi, and H. Bilen. Efficient Parametrization of Multi-domain Deep Neural Networks. In Proceedings of CVPR, 2018.
|
| 272 |
+
Nils Reimers and Iryna Gurevych. Sentence-BERT: Sentence Embeddings using Siamese BERTNetworks. In Proceedings of EMNLP, 2019.
|
| 273 |
+
Hassan Sajjad, Fahim Dalvi, Nadir Durrani, and Preslav Nakov. Poor Man’s BERT: Smaller and Faster Transformer Models. arXiv:2004.03844, 2020.
|
| 274 |
+
|
| 275 |
+
Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter. In Proceedings of 5th Workshop on Energy Efficient Machine Learning and Cognitive Computing, 2019.
|
| 276 |
+
|
| 277 |
+
Victor Sanh, Thomas Wolf, and Alexander M. Rush. Movement Pruning: Adaptive Sparsity by Fine-Tuning. arXiv:2005.07683, 2020.
|
| 278 |
+
|
| 279 |
+
Timo Schick and Hinrich Schutze. It’s Not Just Size That Matters: Small Language Models Are Also Few-Shot Learners. arXiv:2009.07118, 2020.
|
| 280 |
+
|
| 281 |
+
Jonathan Schwarz, Jelena Luketina, Wojciech M. Czarnecki, Agnieszka Grabska-Barwinska, Yee Whye Teh, Razvan Pascanu, and Raia Hadsell. Progress & Compress: A scalable framework for continual learning. In Proceedings of ICML, 2018.
|
| 282 |
+
|
| 283 |
+
Hanul Shin, Jung Kwon Lee, Jaehong Kim, and Jiwon Kim. Continual Learning with Deep Generative Replay. In Proceedings of NeurIPS. 2017.
|
| 284 |
+
|
| 285 |
+
Mohammad Shoeybi, Mostofa Patwary, Raul Puri, Patrick LeGresley, Jared Casper, and Bryan Catanzaro. Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism. arXiv:1909.08053, 2019.
|
| 286 |
+
|
| 287 |
+
Asa Cooper Stickland and Iain Murray. BERT and PALs: Projected attention layers for efficient adaptation in multi-task learning. In Proceedings of ICML, 2019.
|
| 288 |
+
|
| 289 |
+
Sandeep Subramanian, Adam Trischler, Yoshua Bengio, and Christopher J. Pal. Learning General Purpose Distributed Sentence Representations via Large Scale Multi-task Learning. In Proceedings of ICLR, 2018.
|
| 290 |
+
|
| 291 |
+
Siqi Sun, Yu Cheng, Zhe Gan, and Jingjing Liu. Patient Knowledge Distillation for BERT Model Compression. In Proceedings of EMNLP, 2019.
|
| 292 |
+
|
| 293 |
+
Zhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu, Yiming Yang, and Denny Zhou. MobileBERT: a compact task-agnostic BERT for resource-limited devices. In Proceedings of ACL, July 2020.
|
| 294 |
+
|
| 295 |
+
Ian Tenney, Dipanjan Das, and Ellie Pavlick. BERT Rediscovers the Classical NLP Pipeline. In Proceedings of ACL, 2019.
|
| 296 |
+
|
| 297 |
+
Iulia Turc, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Well-Read Students Learn Better: On the Importance of Pre-training Compact Models. arXiv:1908.08962, 2019.
|
| 298 |
+
|
| 299 |
+
Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel Bowman. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In Proceedings of ICLR, 2019a.
|
| 300 |
+
|
| 301 |
+
Tongzhou Wang, Jun-Yan Zhu, Antonio Torralba, and Alexei A. Efros. Dataset Distillation. arXiv:1811.10959, 2018.
|
| 302 |
+
|
| 303 |
+
Ziheng Wang, Jeremy Wohlwend, and Tao Lei. Structured Pruning of Large Language Models. arXiv:1910.04732, 2019b.
|
| 304 |
+
|
| 305 |
+
Georg Wiese, Dirk Weissenborn, and Mariana Neves. Neural domain adaptation for biomedical question answering. In Proceedings of CoNLL, August 2017.
|
| 306 |
+
|
| 307 |
+
John Wieting, Mohit Bansal, Kevin Gimpel, and Karen Livescu. Towards Universal Paraphrastic Sentence Embeddings. In Proceedings of ICLR, 2016.
|
| 308 |
+
|
| 309 |
+
Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick ´ von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander M. Rush. Huggingface’s transformers: Stateof-the-art natural language processing. ArXiv, abs/1910.03771, 2019.
|
| 310 |
+
|
| 311 |
+
John M. Wu, Yonatan Belinkov, Hassan Sajjad, Nadir Durrani, Fahim Dalvi, and James Glass. Similarity Analysis of Contextual Word Representation Models. In Proceedings of ACL, 2020.
|
| 312 |
+
|
| 313 |
+

|
| 314 |
+
Figure 3: Percentage of modified parameters attributable to each layer for 5 different runs of SST-2 at $0 . 5 \%$ target sparsity. The layers are ordered from earlier to later (i.e. the embedding layer is shown at the top). The $\mathbf { X }$ -axis for each plot goes from $0 \%$ to $20 \%$ .
|
| 315 |
+
|
| 316 |
+
Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Russ R Salakhutdinov, and Quoc V Le. XLNet: Generalized Autoregressive Pretraining for Language Understanding. In Proceedings of NeurIPS, 2019.
|
| 317 |
+
|
| 318 |
+
Minghua Zhang, Yunfang Wu, Weikang Li, and Wei Li. Learning universal sentence representations with mean-max attention autoencoder. In Proceedings of EMNLP, 2018.
|
| 319 |
+
|
| 320 |
+
Yan Zhang, Ruidan He, Zuozhu Liu, Kwan Hui Lim, and Lidong Bing. An Unsupervised Sentence Embedding Method byMutual Information Maximization. In Proceedings of EMNLP, 2020.
|
| 321 |
+
|
| 322 |
+
Mengjie Zhao, Tao Lin, Martin Jaggi, and Hinrich Schutze. Masking as an Efficient Alternative to Finetuning for Pretrained Language Models. arXiv:2004.12406, 2020.
|
| 323 |
+
|
| 324 |
+
# A APPENDIX
|
| 325 |
+
|
| 326 |
+
# A.1 CONSISTENCY OF NONZERO PARAMETERS
|
| 327 |
+
|
| 328 |
+
Figure 3 shows the percentage of modified parameters attributable to each layer across 5 runs of SST2. We find that there is nonotrivial variation in sparsity across runs, but also a degree of consistency. For example, the first layer is modified considerably more than other layers across all runs.
|
parse/train/E4PK0rg2eP/E4PK0rg2eP_content_list.json
ADDED
|
@@ -0,0 +1,1651 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "PARAMETER-EFFICIENT TRANSFER LEARNING WITH DIFF PRUNING ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
145
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
170,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
250
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "While task-specific finetuning of deep networks pretrained with self-supervision has led to significant empirical advances in NLP, their large size makes the standard finetuning approach difficult to apply to multi-task, memory-constrained settings, as storing the full model parameters for each task become prohibitively expensive. We propose diff pruning as a simple approach to enable parameterefficient transfer learning within the pretrain-finetune framework. This approach views finetuning as learning a task-specific “diff” vector that is applied on top of the pretrained parameter vector, which remains fixed and is shared across different tasks. The diff vector is adaptively pruned during training with a differentiable approximation to the $L _ { 0 }$ -norm penalty to encourage sparsity. Diff pruning becomes parameter-efficient as the number of tasks increases, as it requires storing only the nonzero positions and weights of the diff vector for each task, while the cost of storing the shared pretrained model remains constant. We find that models finetuned with diff pruning can match the performance of fully finetuned baselines on the GLUE benchmark while only modifying $0 . 5 \\%$ of the pretrained model’s parameters per task. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
263,
|
| 43 |
+
764,
|
| 44 |
+
484
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
497,
|
| 55 |
+
336,
|
| 56 |
+
513
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Task-specific finetuning of pretrained deep networks has become the dominant paradigm in contemporary NLP, achieving state-of-the-art results across a suite of natural language understanding tasks (Devlin et al., 2019; Liu et al., 2019c; Yang et al., 2019; Lan et al., 2020). While straightforward and empirically effective, this approach is difficult to scale to multi-task, memory-constrained settings (e.g. for on-device applications), as it requires shipping and storing a full set of model parameters for each task. Inasmuch as these models are learning generalizable, task-agnostic language representations through self-supervised pretraining, finetuning the entire model for each task is an especially inefficient use of model parameters. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
520,
|
| 66 |
+
825,
|
| 67 |
+
631
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "A popular approach to parameter-efficiency is to learn sparse models for each task where a subset of the final model parameters are exactly zero (Gordon et al., 2020; Sajjad et al., 2020; Zhao et al., 2020; Sanh et al., 2020). Such approaches often face a steep sparsity/performance tradeoff, and a substantial portion of nonzero parameters (e.g. $10 \\% { - } 3 0 \\% )$ ) are still typically required to match the performance of the dense counterparts. An alternative is to use multi-task learning or feature-based transfer for more parameter-efficient transfer learning with pretrained models (Liu et al., 2019b; Clark et al., 2019; Stickland & Murray, 2019; Reimers & Gurevych, 2019; Feng et al., 2020). These methods learn only a small number of additional parameters (e.g. a linear layer) on top of a shared model. However, multi-task learning generally requires access to all tasks during training to prevent catastrophic forgetting (French, 1999), while feature-based transfer learning (e.g. based on taskagnostic sentence representations) is typically outperformed by full finetuning (Howard & Ruder, 2018). ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
638,
|
| 77 |
+
825,
|
| 78 |
+
805
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Adapters (Rebuffi et al., 2018) have recently emerged as a promising approach to parameterefficient transfer learning within the pretrain-finetune paradigm (Houlsby et al., 2019; Pfeiffer et al., 2020a;b;c). Adapter layers are smaller, task-specific modules that are inserted between layers of a pretrained model, which remains fixed and is shared across tasks. These approaches do not require access to all tasks during training making them attractive in settings where one hopes to obtain and share performant models as new tasks arrive in stream. Houlsby et al. (2019) find that adapter layers trained on BERT can match the performance of fully finetuned BERT on the GLUE benchmark (Wang et al., 2019a) while only requiring $3 . 6 \\%$ additional parameters (on average) per task. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
811,
|
| 88 |
+
825,
|
| 89 |
+
924
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "In this work, we consider a similar setting as adapters but propose a new diff pruning approach with the goal of even more parameter-efficient transfer learning. Diff pruning views finetuning as learning a task-specific difference vector that is applied on top of the pretrained parameter vector, which remains fixed and is shared across different tasks. In order to learn this vector, we reparameterize the task-specific model parameters as $\\theta _ { \\mathrm { t a s k } } = \\theta _ { \\mathrm { p r e t r a i n e d } } + \\delta _ { \\mathrm { t a s k } }$ , where the pretrained parameter vector $\\theta _ { \\mathrm { p r e t r a i n e d } }$ is fixed and the task-specific diff vector $\\delta _ { \\mathrm { t a s k } }$ is finetuned. The diff vector is regularized with a differentiable approximation to the $L _ { 0 }$ -norm penalty (Louizos et al., 2018) to encourage sparsity. This approach can become parameter-efficient as the number of tasks increases as it only requires storing the nonzero positions and weights of the diff vector for each task. The cost of storing the shared pretrained model remains constant and is amortized across multiple tasks. On the GLUE benchmark (Wang et al., 2019a), diff pruning can match the performance of the fully finetuned BERT baselines while finetuning only $0 . 5 \\%$ of the pretrained parameters per task, making it a potential alternative to adapters for parameter-efficient transfer learning. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
173,
|
| 98 |
+
103,
|
| 99 |
+
825,
|
| 100 |
+
284
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "2 BACKGROUND: TRANSFER LEARNING FOR NLP",
|
| 107 |
+
"text_level": 1,
|
| 108 |
+
"bbox": [
|
| 109 |
+
174,
|
| 110 |
+
297,
|
| 111 |
+
607,
|
| 112 |
+
314
|
| 113 |
+
],
|
| 114 |
+
"page_idx": 1
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"type": "text",
|
| 118 |
+
"text": "The field of NLP has recently seen remarkable progress through transfer learning with a pretrainand-finetune paradigm, which initializes a subset of the model parameters for all tasks from a pretrained model and then finetunes on a task specific objective. Pretraining objectives include context prediction (Mikolov et al., 2013), autoencoding (Dai & Le, 2015), machine translation (McCann et al., 2017), and more recently, variants of language modeling (Peters et al., 2018; Radford et al., 2018; Devlin et al., 2019) objectives. ",
|
| 119 |
+
"bbox": [
|
| 120 |
+
174,
|
| 121 |
+
321,
|
| 122 |
+
825,
|
| 123 |
+
406
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "Here we consider applying transfer learning to multiple tasks. We consider a setting with a potentially unknown set of tasks, where each $\\tau \\in \\mathcal { T }$ has an associated training set $\\{ x _ { \\tau } ^ { ( n ) } , y _ { \\tau } ^ { ( n ) } \\} _ { n = 1 } ^ { N }$ 1 For . all tasks, the goal is to produce (possibly tied) model parameters to minimize the empirical risk, ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
174,
|
| 132 |
+
412,
|
| 133 |
+
825,
|
| 134 |
+
459
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "equation",
|
| 140 |
+
"img_path": "images/209034c1e384d6fcc31ab4692e6f4c361c0f837f239fb577916b24303febed90.jpg",
|
| 141 |
+
"text": "$$\n\\operatorname* { m i n } _ { \\pmb { \\theta } _ { \\tau } } \\ \\frac { 1 } { N } \\sum _ { n = 1 } ^ { N } \\mathcal { L } \\left( f ( x _ { \\tau } ^ { ( n ) } ; \\pmb { \\theta } _ { \\tau } ) , y _ { \\tau } ^ { ( n ) } \\right) + \\lambda R ( \\pmb { \\theta } _ { \\tau } )\n$$",
|
| 142 |
+
"text_format": "latex",
|
| 143 |
+
"bbox": [
|
| 144 |
+
346,
|
| 145 |
+
465,
|
| 146 |
+
650,
|
| 147 |
+
508
|
| 148 |
+
],
|
| 149 |
+
"page_idx": 1
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"type": "text",
|
| 153 |
+
"text": "where $f ( \\cdot ; \\pmb \\theta )$ is a parameterized function over the input (e.g. a neural network), $\\mathcal L ( \\cdot , \\cdot )$ is a loss function (e.g. cross-entropy), and $R ( \\cdot )$ is an optional regularizer with hyperparameter $\\lambda$ . ",
|
| 154 |
+
"bbox": [
|
| 155 |
+
173,
|
| 156 |
+
515,
|
| 157 |
+
821,
|
| 158 |
+
545
|
| 159 |
+
],
|
| 160 |
+
"page_idx": 1
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"type": "text",
|
| 164 |
+
"text": "This multi-task setting can use the pretrain-then-finetune approach by simply learning independent parameters for each task; however the large size of pretrained models makes this approach exceedingly parameter inefficient. For example, widely-adopted models such as BERTBASE and BERTLARGE have 110M and 340M parameters respectively, while their contemporaries such as T5 (Raffel et al., 2020), Megatron-LM (Shoeybi et al., 2019), and Turing-NLG (Rajbhandari et al., 2019) have parameter counts in the billions. Storing the fully finetuned models becomes difficult even for a moderate number of tasks.2 A classic approach to tackling this parameterinefficiency (Caruana, 1997) is to train a single shared model (along with a task-specific output layer) against multiple tasks through joint training. However, the usual formulation of multi-task learning requires the set of tasks $\\tau$ to be known in advance in order to prevent catastrophic forgetting (French, 1999),3 making it unsuitable for applications in which the set of tasks is unknown (e.g. when tasks arrive in stream). ",
|
| 165 |
+
"bbox": [
|
| 166 |
+
173,
|
| 167 |
+
550,
|
| 168 |
+
825,
|
| 169 |
+
717
|
| 170 |
+
],
|
| 171 |
+
"page_idx": 1
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"type": "text",
|
| 175 |
+
"text": "3 DIFF PRUNING ",
|
| 176 |
+
"text_level": 1,
|
| 177 |
+
"bbox": [
|
| 178 |
+
176,
|
| 179 |
+
731,
|
| 180 |
+
328,
|
| 181 |
+
747
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "Diff pruning formulates task-specific finetuning as learning a diff vector $\\delta _ { \\tau }$ that is added to the pretrained model parameters $\\theta _ { \\mathrm { p r e t r a i n e d } }$ . We first reparameterize the task-specific model parameters, ",
|
| 188 |
+
"bbox": [
|
| 189 |
+
173,
|
| 190 |
+
756,
|
| 191 |
+
823,
|
| 192 |
+
785
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 1
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "equation",
|
| 198 |
+
"img_path": "images/641357162c8cf5fd67763b84ed9ce3a1b4889bb6c238750d670e7c517ca4be3b.jpg",
|
| 199 |
+
"text": "$$\n\\begin{array} { r } { \\pmb { \\theta } _ { \\tau } = \\pmb { \\theta } _ { \\mathrm { p r e t r a i n e d } } + \\delta _ { \\tau } , } \\end{array}\n$$",
|
| 200 |
+
"text_format": "latex",
|
| 201 |
+
"bbox": [
|
| 202 |
+
428,
|
| 203 |
+
791,
|
| 204 |
+
568,
|
| 205 |
+
809
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 1
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "which results in the following empirical risk minimization problem, ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
173,
|
| 214 |
+
103,
|
| 215 |
+
619,
|
| 216 |
+
118
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "equation",
|
| 222 |
+
"img_path": "images/67153bebf4dae0992cb925cc59d54228833fd661c3be6236e95797eb4ef05e58.jpg",
|
| 223 |
+
"text": "$$\n\\operatorname* { m i n } _ { \\delta _ { \\tau } } \\ \\frac { 1 } { N } \\sum _ { n = 1 } ^ { N } \\mathcal { L } \\left( f ( x _ { \\tau } ^ { ( n ) } ; \\theta _ { \\mathrm { p r e t r a i n e d } } + \\delta _ { \\tau } ) , y _ { \\tau } ^ { ( n ) } \\right) + \\lambda R ( \\theta _ { \\mathrm { p r e t r a i n e d } } + \\delta _ { \\tau } ) .\n$$",
|
| 224 |
+
"text_format": "latex",
|
| 225 |
+
"bbox": [
|
| 226 |
+
267,
|
| 227 |
+
121,
|
| 228 |
+
728,
|
| 229 |
+
164
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 2
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "text",
|
| 235 |
+
"text": "This trivial reparameterization is equivalent to the original formulation. Its benefit comes in the multi-task setting where the cost of storing the pretrained parameters $\\theta _ { \\mathrm { p r e t r a i n e d } }$ is amortized across tasks, and the only marginal cost for new tasks is the diff vector. If we can regularize $\\delta _ { \\tau }$ to be sparse such that $\\lVert \\delta _ { \\tau } \\rVert _ { 0 } \\ll \\lVert \\bar { \\pmb { \\theta } } _ { \\mathrm { p r e t r a i n e d } } \\rVert _ { 0 }$ , then this approach can become more parameter-efficient as the number of tasks increases. We can specify this goal with an $L _ { 0 }$ -norm penalty on the diff vector, ",
|
| 236 |
+
"bbox": [
|
| 237 |
+
173,
|
| 238 |
+
172,
|
| 239 |
+
826,
|
| 240 |
+
243
|
| 241 |
+
],
|
| 242 |
+
"page_idx": 2
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"type": "equation",
|
| 246 |
+
"img_path": "images/db87601c916bc51947dfd29fe65493f44e30dcb3ea1509908209393cfeaa86fe.jpg",
|
| 247 |
+
"text": "$$\nR ( \\theta _ { \\mathrm { p r e t r a i n e d } } + \\delta _ { \\tau } ) = \\| \\pmb { \\delta } _ { \\tau } \\| _ { 0 } = \\sum _ { i = 1 } ^ { d } \\mathbb { 1 } \\{ \\pmb { \\delta } _ { \\tau , i } \\neq 0 \\} .\n$$",
|
| 248 |
+
"text_format": "latex",
|
| 249 |
+
"bbox": [
|
| 250 |
+
339,
|
| 251 |
+
244,
|
| 252 |
+
656,
|
| 253 |
+
287
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 2
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "3.1 DIFFERENTIABLE APPROXIMATION TO THE $L _ { 0 }$ -NORM",
|
| 260 |
+
"text_level": 1,
|
| 261 |
+
"bbox": [
|
| 262 |
+
173,
|
| 263 |
+
308,
|
| 264 |
+
583,
|
| 265 |
+
323
|
| 266 |
+
],
|
| 267 |
+
"page_idx": 2
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"text": "This regularizer is difficult to directly optimize as it is non-differentiable. In order to approximate this $L _ { 0 }$ objective, we follow the standard approach for gradient-based learning with $L _ { 0 }$ sparsity using a relaxed mask vector (Louizos et al., 2018). This approach involves relaxing a binary vector into continuous space, and then multiplying it with a dense weight vector to determine how much of the weight vector is applied during training. After training, the mask is deterministic and a large portion of the diff vector is true zero. ",
|
| 272 |
+
"bbox": [
|
| 273 |
+
173,
|
| 274 |
+
329,
|
| 275 |
+
825,
|
| 276 |
+
415
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 2
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"text": "To apply this method we first decompose $\\delta _ { \\tau }$ into a binary mask vector multiplied with a dense vector, ",
|
| 283 |
+
"bbox": [
|
| 284 |
+
173,
|
| 285 |
+
420,
|
| 286 |
+
823,
|
| 287 |
+
449
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 2
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "equation",
|
| 293 |
+
"img_path": "images/50baad9ae5d43e25ead61a531e7ee5bd6f11e2d43dad20fb8b2093d5a5ab6bab.jpg",
|
| 294 |
+
"text": "$$\n\\begin{array} { r } { \\delta _ { \\tau } = \\mathbf { z } _ { \\tau } \\odot \\mathbf { w } _ { \\tau } , \\qquad \\mathbf { z } _ { \\tau } \\in \\{ 0 , 1 \\} ^ { d } , \\mathbf { w } _ { \\tau } \\in \\mathbb { R } ^ { d } } \\end{array}\n$$",
|
| 295 |
+
"text_format": "latex",
|
| 296 |
+
"bbox": [
|
| 297 |
+
303,
|
| 298 |
+
449,
|
| 299 |
+
694,
|
| 300 |
+
469
|
| 301 |
+
],
|
| 302 |
+
"page_idx": 2
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"text": "We can now instead optimize an expectation with respect to ${ \\bf z } _ { \\tau }$ , whose distribution $p ( \\mathbf { z } _ { \\tau } ; \\pmb { \\alpha } _ { \\tau } )$ is initially Bernoulli with parameters $\\pmb { \\alpha } _ { \\tau }$ , ",
|
| 307 |
+
"bbox": [
|
| 308 |
+
173,
|
| 309 |
+
472,
|
| 310 |
+
825,
|
| 311 |
+
500
|
| 312 |
+
],
|
| 313 |
+
"page_idx": 2
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "equation",
|
| 317 |
+
"img_path": "images/3f81f16930f14f81b0b5df85f8e68d18a457c5c95c09d04e34b40d88c3eccece.jpg",
|
| 318 |
+
"text": "$$\n\\operatorname* { m i n } _ { \\alpha _ { \\tau } , \\mathbf { w } _ { \\tau } } \\mathbb { E } _ { \\mathbf { z } _ { \\tau } \\sim p ( \\mathbf { z } _ { \\tau } ; \\alpha _ { \\tau } ) } \\left[ \\frac { 1 } { N } \\sum _ { n = 1 } ^ { N } \\mathcal { L } \\left( f ( x _ { \\tau } ^ { ( n ) } ; \\boldsymbol { \\theta } _ { \\mathrm { p r e t r a i n e d } } + \\mathbf { z } _ { \\tau } \\odot \\mathbf { w } _ { \\tau } , ) , y _ { \\tau } ^ { ( n ) } \\right) + \\lambda \\lVert \\delta _ { \\tau } \\rVert _ { 0 } \\right] .\n$$",
|
| 319 |
+
"text_format": "latex",
|
| 320 |
+
"bbox": [
|
| 321 |
+
222,
|
| 322 |
+
502,
|
| 323 |
+
776,
|
| 324 |
+
545
|
| 325 |
+
],
|
| 326 |
+
"page_idx": 2
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"type": "text",
|
| 330 |
+
"text": "This objective is still difficult in practice due to ${ \\bf z } _ { \\tau }$ ’s being discrete (which requires the score function gradient estimator), but the expectation provides some guidance for empirically effective relaxations. We follow prior work (Louizos et al., 2018; Wang et al., 2019b) and relax ${ \\bf z } _ { \\tau }$ into continuous space $[ 0 , 1 ] ^ { d }$ with a stretched Hard-Concrete distribution (Jang et al., 2017; Maddison et al., 2017), which allows for the use of pathwise gradient estimators. Specifically, ${ \\bf z } _ { \\tau }$ is now defined to be a deterministic and (sub)differentiable function of a sample $\\mathbf { u }$ from a uniform distribution, ",
|
| 331 |
+
"bbox": [
|
| 332 |
+
173,
|
| 333 |
+
546,
|
| 334 |
+
825,
|
| 335 |
+
631
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 2
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "equation",
|
| 341 |
+
"img_path": "images/2a6654c74a3353f08edc978223c41515541788a721f3d19b6042113955bb2af0.jpg",
|
| 342 |
+
"text": "$$\n\\begin{array} { r } { \\mathbf { u } \\sim U ( \\mathbf { 0 } , \\mathbf { 1 } ) , \\qquad \\mathbf { s } _ { \\tau } = \\sigma \\left( \\log \\mathbf { u } - \\log ( 1 - \\mathbf { u } ) + \\alpha _ { \\tau } \\right) , } \\\\ { \\bar { \\mathbf { s } } _ { \\tau } = \\mathbf { s } _ { \\tau } \\times ( r - l ) + l , \\qquad \\mathbf { z } _ { \\tau } = \\operatorname* { m i n } ( \\mathbf { 1 } , \\operatorname* { m a x } ( \\mathbf { 0 } , \\bar { \\mathbf { s } } _ { \\tau } ) ) . } \\end{array}\n$$",
|
| 343 |
+
"text_format": "latex",
|
| 344 |
+
"bbox": [
|
| 345 |
+
259,
|
| 346 |
+
632,
|
| 347 |
+
736,
|
| 348 |
+
670
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 2
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "Here $l < 0$ and $r > 1$ are two constants used to stretch ${ \\bf s } _ { \\tau }$ into the interval $( l , r ) ^ { d }$ before it is clamped to $[ 0 , 1 ] ^ { d }$ with the $\\operatorname* { m i n } ( \\mathbf { 1 } , \\operatorname* { m a x } ( \\mathbf { 0 } , \\cdot ) )$ operation. In this case we have a differentiable closed-form expression for the expected $L _ { 0 }$ -norm, ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
174,
|
| 357 |
+
671,
|
| 358 |
+
825,
|
| 359 |
+
714
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 2
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "equation",
|
| 365 |
+
"img_path": "images/edb3942bcbccde41788b4dc919f478a284c87096f975cee4e8d84e9352a91af3.jpg",
|
| 366 |
+
"text": "$$\n\\mathbb { E } \\left[ \\left. \\pmb { \\delta } _ { \\tau } \\right. _ { 0 } \\right] = \\sum _ { i = 1 } ^ { d } \\mathbb { E } \\left[ \\mathbb { 1 } \\left\\{ \\mathbf { z } _ { \\tau , i } > 0 \\right\\} \\right] = \\sum _ { i = 1 } ^ { d } \\sigma \\left( \\alpha _ { \\tau , i } - \\log \\frac { - l } { r } \\right) .\n$$",
|
| 367 |
+
"text_format": "latex",
|
| 368 |
+
"bbox": [
|
| 369 |
+
297,
|
| 370 |
+
715,
|
| 371 |
+
700,
|
| 372 |
+
760
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 2
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "text",
|
| 378 |
+
"text": "Thus the final optimization problem is given by, ",
|
| 379 |
+
"bbox": [
|
| 380 |
+
174,
|
| 381 |
+
761,
|
| 382 |
+
488,
|
| 383 |
+
776
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 2
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "text",
|
| 389 |
+
"text": "$\\operatorname* { m i n } _ { \\tau _ { \\tau } , \\mathbf { w } _ { \\tau } } \\mathbb { E } _ { \\mathbf { u } \\sim U [ \\mathbf { 0 } , 1 ] } \\left[ \\frac { 1 } { N } \\sum _ { n = 1 } ^ { N } \\mathcal { L } \\left( f ( x _ { \\tau } ^ { ( n ) } ; \\boldsymbol { \\theta } _ { \\mathrm { p r e r a i n e d } } + \\mathbf { z } _ { \\tau } \\odot \\mathbf { w } _ { \\tau } , ) , y _ { \\tau } ^ { ( n ) } \\right) \\right] + \\lambda \\sum _ { i = 1 } ^ { d } \\sigma \\left( \\alpha _ { \\tau , i } - \\log \\frac { - l } { r } \\right) ,$ and we can now utilize pathwise gradient estimators to optimize the first term with respect to $\\pmb { \\alpha } _ { \\tau }$ since the expectation no longer depends on it.4 After training we obtain the final diff vector $\\delta _ { \\tau }$ by sampling $\\mathbf { u }$ once to obtain ${ \\bf z } _ { \\tau }$ (which is not necessarily a binary vector but has a significant number of dimensions equal to exactly zero due to the clamping function), then setting $\\pmb { \\delta } _ { \\tau } = \\mathbf { z } _ { \\tau } \\odot \\mathbf { w } _ { \\tau }$ . 5 ",
|
| 390 |
+
"bbox": [
|
| 391 |
+
173,
|
| 392 |
+
777,
|
| 393 |
+
826,
|
| 394 |
+
880
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 2
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "text",
|
| 400 |
+
"text": "3.2 $L _ { 0 }$ -BALL PROJECTION WITH MAGNITUDE PRUNING FOR SPARSITY CONTROL ",
|
| 401 |
+
"bbox": [
|
| 402 |
+
176,
|
| 403 |
+
103,
|
| 404 |
+
746,
|
| 405 |
+
118
|
| 406 |
+
],
|
| 407 |
+
"page_idx": 3
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"type": "text",
|
| 411 |
+
"text": "Differentiable $L _ { 0 }$ regularization provides a strong way to achieve high sparsity rate. However, it would be ideal to have more fine-grained control into the exact sparsity rate in the diff vector, especially considering applications which require specific parameter budgets. As $\\lambda$ is just the Lagrangian multiplier for the constraint $\\mathbb { E } \\left[ \\lVert \\pmb { \\delta } _ { \\tau } \\rVert _ { 0 } \\right] < \\eta$ for some $\\eta$ , this could be achieved in principle by searching over different values of $\\lambda$ . However we found it more efficient and empirically effective to achieve an exact sparsity rate by simply projecting onto the $L _ { 0 }$ -ball after training. ",
|
| 412 |
+
"bbox": [
|
| 413 |
+
174,
|
| 414 |
+
126,
|
| 415 |
+
825,
|
| 416 |
+
210
|
| 417 |
+
],
|
| 418 |
+
"page_idx": 3
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"type": "text",
|
| 422 |
+
"text": "Specifically we use magnitude pruning on the diff vector $\\delta _ { \\tau }$ and target a sparsity rate $t \\%$ by only keeping the top $t \\% \\times \\bar { d }$ values in $\\delta _ { \\tau }$ .6 Note that unlike standard magnitude pruning, this is based on the magnitude of the diff vector values and not the model parameters. As is usual in magnitude pruning, we found it important to further finetune $\\delta _ { \\tau }$ with the nonzero masks fixed to maintain good performance (Han et al., 2016). Since this type of parameter-efficiency through projection onto the $L _ { 0 }$ -ball can be applied without adaptive diff pruning,7 such an approach will serve as one of our baselines in the empirical study. ",
|
| 423 |
+
"bbox": [
|
| 424 |
+
173,
|
| 425 |
+
217,
|
| 426 |
+
825,
|
| 427 |
+
314
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 3
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "text",
|
| 433 |
+
"text": "3.3 STRUCTURED DIFF PRUNING ",
|
| 434 |
+
"text_level": 1,
|
| 435 |
+
"bbox": [
|
| 436 |
+
176,
|
| 437 |
+
328,
|
| 438 |
+
416,
|
| 439 |
+
342
|
| 440 |
+
],
|
| 441 |
+
"page_idx": 3
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"type": "text",
|
| 445 |
+
"text": "Diff pruning, as presented above, is architecture-agnostic and does not exploit the underlying model structure—each dimension of ${ \\bf z } _ { \\tau }$ is independent from one another. While this makes the approach potentially more flexible, we might expect to achieve better sparsity/performance tradeoff through a structured formulation which encourages active parameters to group together and other areas to be fully sparse. Motivated by this intuition, we first partition the parameter indices into $G$ groups $\\{ g ( 1 ) , \\ldots , g ( G ) \\}$ where $g ( j )$ is a subset of parameter indices governed by group $g ( j )$ .8 We then introduce a scalar $\\mathbf { z } _ { \\tau } ^ { j }$ (with the associated parameter $\\alpha _ { \\tau } ^ { j }$ ) for each group $g ( j )$ , and decompose the task-specific parameter for index $i \\in g ( j )$ as $\\begin{array} { r } { \\delta _ { \\tau , i } ^ { j } = \\mathbf { z } _ { \\tau , i } \\times \\mathbf { z } _ { \\tau } ^ { j } \\times \\mathbf { w } _ { \\tau , i } . } \\end{array}$ The expected $L _ { 0 }$ -norm is then given by, ",
|
| 446 |
+
"bbox": [
|
| 447 |
+
173,
|
| 448 |
+
349,
|
| 449 |
+
825,
|
| 450 |
+
479
|
| 451 |
+
],
|
| 452 |
+
"page_idx": 3
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"type": "equation",
|
| 456 |
+
"img_path": "images/6dd9f1cd7a0ba610a4afd20bc615d654b40294d36a6f77a7d0098203f1f2eddd.jpg",
|
| 457 |
+
"text": "$$\n\\Sigma \\left[ \\left. \\delta _ { \\tau } \\right. _ { 0 } \\right] = \\sum _ { j = 1 } ^ { G } \\sum _ { i \\in g ( j ) } \\mathbb { E } \\left[ \\mathbb { I } \\left\\{ \\mathbf { z } _ { \\tau , i } \\cdot \\mathbf { z } _ { \\tau } ^ { g } > 0 \\right\\} \\right] = \\sum _ { j = 1 } ^ { G } \\sum _ { i \\in g ( j ) } \\sigma \\left( \\alpha _ { \\tau , i } - \\log { \\frac { - l } { r } } \\right) \\times \\sigma \\left( \\alpha _ { \\tau } ^ { j } - \\log { \\frac { - l } { r } } \\right) ,\n$$",
|
| 458 |
+
"text_format": "latex",
|
| 459 |
+
"bbox": [
|
| 460 |
+
181,
|
| 461 |
+
484,
|
| 462 |
+
825,
|
| 463 |
+
531
|
| 464 |
+
],
|
| 465 |
+
"page_idx": 3
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"type": "text",
|
| 469 |
+
"text": "and we can train with gradient-based optimization as before. ",
|
| 470 |
+
"bbox": [
|
| 471 |
+
173,
|
| 472 |
+
537,
|
| 473 |
+
570,
|
| 474 |
+
553
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 3
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "text",
|
| 480 |
+
"text": "4 EXPERIMENTS ",
|
| 481 |
+
"text_level": 1,
|
| 482 |
+
"bbox": [
|
| 483 |
+
176,
|
| 484 |
+
565,
|
| 485 |
+
328,
|
| 486 |
+
582
|
| 487 |
+
],
|
| 488 |
+
"page_idx": 3
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"type": "text",
|
| 492 |
+
"text": "4.1 MODEL AND DATASETS ",
|
| 493 |
+
"text_level": 1,
|
| 494 |
+
"bbox": [
|
| 495 |
+
174,
|
| 496 |
+
590,
|
| 497 |
+
380,
|
| 498 |
+
604
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 3
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"text": "For evaluation we use the GLUE benchmark (Wang et al., 2019b), a popular finetuning dataset. Following adapters (Houlsby et al., 2019), we test our approach on the following subset of the GLUE tasks: Multi-Genre Natural Language Inference (MNLI), where the goal is two predict whether the relationship between two sentences is entailment, contradiction, or neutral (we test on both $\\mathrm { M N L L } \\mathrm { I } _ { m }$ and $\\mathrm { M N L I } _ { m m }$ which respectively tests on matched/mismatched domains); Quora Question Pairs (QQP), a classification task to predict whether two question are semantically equivalent; Question Natural Language Inference (QNLI), which must predict whether a sentence is a correct answer to the question; Stanford Sentiment Treebank (SST-2), a sentence classification task to predict the sentiment of movie reviews; Corpus of Linguistic Acceptability (CoLA), where the goal is predict whether a sentence is linguistically acceptable or not; Semantic Textual Similarity Benchmark (STS$\\mathbf { B }$ ), which must predict a similarity rating between two sentences; Microsoft Research Paraphrase Corpus (MRPC), where the goal is to predict whether two sentences are semantically equivalent; Recognizing Textual Entailment (RTE), which must predict whether a second sentence is entailed by the first. For evaluation, the benchmark uses Matthew’s correlation for CoLA, Spearman for STS-B, $\\mathrm { F _ { 1 } }$ score for MRPC/QQC, and accuracy for MNLI/QNLI/SST-2/RTE. ",
|
| 505 |
+
"bbox": [
|
| 506 |
+
173,
|
| 507 |
+
613,
|
| 508 |
+
825,
|
| 509 |
+
820
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 3
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "table",
|
| 515 |
+
"img_path": "images/7e11a32275eb2c11b417cefece91c401cc0ca72c9474a3ea349c1c085c7a67e7.jpg",
|
| 516 |
+
"table_caption": [],
|
| 517 |
+
"table_footnote": [],
|
| 518 |
+
"table_body": "<table><tr><td></td><td>Total params</td><td>New params per task</td><td>QNLI*</td><td>SST-2 MNLIm</td><td></td><td>MNLImm</td><td>CoLA MRPC STS-B RTE</td><td></td><td></td><td></td><td>QQP</td><td>Avg</td></tr><tr><td>Full finetuning</td><td>9.00×</td><td>100%</td><td>91.1</td><td>94.9</td><td>86.7</td><td>85.9</td><td>60.5</td><td>89.3</td><td>87.6</td><td>70.1</td><td>72.1</td><td>80.9</td></tr><tr><td>Adapters (8-256)</td><td>1.32×</td><td>3.6%</td><td>90.7</td><td>94.0</td><td>84.9</td><td>85.1</td><td>59.5</td><td>89.5</td><td>86.9</td><td>71.5</td><td>71.8</td><td>80.4</td></tr><tr><td>Adapters (64)</td><td>1.19×</td><td>2.1%</td><td>91.4</td><td>94.2</td><td>85.3</td><td>84.6</td><td>56.9</td><td>89.6</td><td>87.3</td><td>68.6</td><td>71.8</td><td>79.8</td></tr><tr><td>Full finetuning</td><td>9.00×</td><td>100%</td><td>93.4</td><td>94.1</td><td>86.7</td><td>86.0</td><td>59.6</td><td>88.9</td><td>86.6</td><td>71.2</td><td>71.7</td><td>80.6</td></tr><tr><td>Last layer</td><td>1.34×</td><td>3.8%</td><td>79.8</td><td>91.6</td><td>71.4</td><td>72.9</td><td>40.2</td><td>80.1</td><td>67.3</td><td>58.6</td><td>63.3</td><td>68.2</td></tr><tr><td>Non-adap. diff pruning</td><td>1.05×</td><td>0.5%</td><td>89.7</td><td>93.6</td><td>84.9</td><td>84.8</td><td>51.2</td><td>81.5</td><td>78.2</td><td>61.5</td><td>68.6</td><td>75.5</td></tr><tr><td>Diff pruning</td><td>1.05×</td><td>0.5%</td><td>92.9</td><td>93.8</td><td>85.7</td><td>85.6</td><td>60.5</td><td>87.0</td><td>83.5</td><td>68.1</td><td>70.6</td><td>79.4</td></tr><tr><td>Diff pruning (struct.)</td><td>1.05×</td><td>0.5%</td><td>93.3</td><td>94.1</td><td>86.4</td><td>86.0</td><td>61.1</td><td>89.7</td><td>86.0</td><td>70.6</td><td>71.1</td><td>80.6</td></tr></table>",
|
| 519 |
+
"bbox": [
|
| 520 |
+
176,
|
| 521 |
+
101,
|
| 522 |
+
825,
|
| 523 |
+
222
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 4
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "Table 1: GLUE benchmark test server results with BERTLARGE models. (Top) Results with adapter bottleneck layers (brackets indicate the size of bottlenecks), taken from from Houlsby et al. (2019). (Bottom) Results from this work. ${ } ^ { * } \\mathrm { Q N L I }$ results are not directly comparable across the two works as the GLUE benchmark has updated the test set since then. To make our results comparable the average column is calculated without QNLI. ",
|
| 530 |
+
"bbox": [
|
| 531 |
+
174,
|
| 532 |
+
223,
|
| 533 |
+
825,
|
| 534 |
+
273
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 4
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "For all experiments, we use the BERTLARGE model from Devlin et al. (2019), which has 24 layers, 1024 hidden size, 16 attention heads, and 340M parameters. We use the Huggingface Transformer library (Wolf et al., 2019) to conduct our experiments. ",
|
| 541 |
+
"bbox": [
|
| 542 |
+
174,
|
| 543 |
+
284,
|
| 544 |
+
825,
|
| 545 |
+
325
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 4
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "text",
|
| 551 |
+
"text": "4.2 BASELINES",
|
| 552 |
+
"text_level": 1,
|
| 553 |
+
"bbox": [
|
| 554 |
+
174,
|
| 555 |
+
335,
|
| 556 |
+
294,
|
| 557 |
+
349
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 4
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "We compare both structured and non-structured variants of diff pruning against the following baselines: Full finetuning, which fully finetunes $\\mathrm { B E R T _ { L } }$ ARGE as usual; Last layer finetuning, which only finetunes the penultimate layer (along with the final output layer)9; Adapters from Houlsby et al. (2019), which train task-specific bottleneck layers between between each layer of a pretrained model, where parameter-efficiency can be controlled by varying the size of the bottleneck layers; and Non-adaptive diff pruning, which performs diff pruning just based on magnitude pruning (i.e., we obtain $\\pmb { \\theta } _ { \\tau }$ through usual finetuning, set $\\delta _ { \\tau } = \\pmb { \\theta } _ { \\tau } - \\pmb { \\theta } _ { \\mathrm { p r e t r a i n e d } }$ , and then apply magnitude pruning followed by additional finetuning on $\\delta _ { \\tau }$ ). For diff pruning we set our target sparsity rate to $0 . 5 \\%$ and investigate the effect of different target sparsity rates in section 5.1. ",
|
| 564 |
+
"bbox": [
|
| 565 |
+
174,
|
| 566 |
+
357,
|
| 567 |
+
825,
|
| 568 |
+
483
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 4
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "4.3 IMPLEMENTATION DETAILS AND HYPERPARAMETERS ",
|
| 575 |
+
"text_level": 1,
|
| 576 |
+
"bbox": [
|
| 577 |
+
173,
|
| 578 |
+
492,
|
| 579 |
+
588,
|
| 580 |
+
507
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 4
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "Diff pruning introduces additional hyperparameters $l , r$ (for stretching the Hard-Concrete distribution) and $\\lambda$ (for weighting the approximate $L _ { 0 }$ -norm penalty). We found $l = - 1 . 5 , r = 1 . 5 , \\lambda =$ $1 . 2 5 \\times 1 0 ^ { - 7 }$ to work well across all tasks. We also initialize the weight vector ${ \\bf w } _ { \\tau }$ to 0, and $\\pmb { \\alpha } _ { \\tau }$ to a positive vector (we use 5) to encourage ${ \\bf z } _ { \\tau }$ to be close to 1 at the start of training. While we mainly experiment with BERTLARGE to compare against prior work with adapters (Houlsby et al., 2019), in preliminary experiments we found these hyperparameters to work for finetuning RoBERTa (Liu et al., $2 0 1 9 \\mathrm { c }$ ) and XLNet (Yang et al., 2019) models as well. ",
|
| 587 |
+
"bbox": [
|
| 588 |
+
174,
|
| 589 |
+
511,
|
| 590 |
+
825,
|
| 591 |
+
609
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 4
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "For all tasks we use a learning rate of $1 \\times 1 0 ^ { - 5 }$ and perform a hyperparameter search over batch size $\\in \\{ 4 , 6 , 8 , 1 0 \\}$ and the number of epochs $\\in \\{ 2 , 3 , 4 , 5 \\}$ .10 However we found the default settings used for regular finetuning as suggested in the original BERT paper to work well for most tasks. Finetuning with the fixed mask after projecting onto the $L _ { 0 }$ -ball with magnitude pruning is done with a learning rate of $5 \\times 1 0 ^ { - 5 }$ for 3 or 5 epochs (3 epochs for QNLI, SST-2, MNLI-m, MNLI-mm, CoLA, QQP, 5 epochs for MRPC, STS-B, RTE). Grouping for the structured version of diff pruning is based on the matrix/bias vectors (i.e. parameters that belong to the same matrix or bias vector are assumed to be in the same group), which results in 393 groups.1 ",
|
| 598 |
+
"bbox": [
|
| 599 |
+
173,
|
| 600 |
+
616,
|
| 601 |
+
825,
|
| 602 |
+
728
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 4
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "5 RESULTS AND ANALYSIS ",
|
| 609 |
+
"text_level": 1,
|
| 610 |
+
"bbox": [
|
| 611 |
+
176,
|
| 612 |
+
741,
|
| 613 |
+
413,
|
| 614 |
+
757
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 4
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "Our main results on the GLUE benchmark are shown in Table 1. Structured diff pruning can match the performance of a fully finetuned BERTLARGE model while only requiring $0 . 5 \\%$ additional parameters per task. Diff pruning without structured sparsity also performs well, though slightly worse than the structured approach. Non-adaptive diff pruning, which magnitude prunes the diff vector without learning the binary mask $\\mathbf { z } _ { \\tau }$ , performs significantly worse, indicating the importance of learning the masking vector. Compared to adapters, diff pruning obtains similar performance while requiring fewer parameters per task, making it a potential alternative for parameter-efficient transfer learning.12 We now perform a series of analysis experiments on the validation set. ",
|
| 621 |
+
"bbox": [
|
| 622 |
+
174,
|
| 623 |
+
768,
|
| 624 |
+
823,
|
| 625 |
+
797
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 4
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "table",
|
| 631 |
+
"img_path": "images/51e4628c9fdcedc7b5148c6713e9133f068ca6743dacfae1df379a77b1f70a0f.jpg",
|
| 632 |
+
"table_caption": [],
|
| 633 |
+
"table_footnote": [],
|
| 634 |
+
"table_body": "<table><tr><td rowspan=\"2\">Non-structured</td><td colspan=\"2\">Pruned Diff Groups</td><td colspan=\"2\">Structured</td></tr><tr><td>#</td><td>%</td><td>#</td><td>%</td></tr><tr><td>MRPC</td><td>24</td><td>6.1</td><td>52</td><td>13.2</td></tr><tr><td>STS-B</td><td>25</td><td>6.4</td><td>48</td><td>12.2</td></tr><tr><td>RTE</td><td>28</td><td>7.1</td><td>50</td><td>12.7</td></tr><tr><td>Avg</td><td>25.7</td><td>6.5</td><td>50.0</td><td>12.7</td></tr></table>",
|
| 635 |
+
"bbox": [
|
| 636 |
+
531,
|
| 637 |
+
136,
|
| 638 |
+
789,
|
| 639 |
+
242
|
| 640 |
+
],
|
| 641 |
+
"page_idx": 5
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"type": "image",
|
| 645 |
+
"img_path": "images/595b6e69a0b27f0e5a01c20b6b20af16c35c98e03db9d2bd1a18a59ee3317e0f.jpg",
|
| 646 |
+
"image_caption": [
|
| 647 |
+
"Figure 1: (Left) Average performance on the GLUE validation set across different target sparsity rates for the different methods. (Right) Number of groups where all of the parameters in the group are fully zero for structured vs. non-structured diff pruning at $0 . 5 \\%$ target sparsity. We group based on each matrix/bias vector, resulting in 393 groups in total. "
|
| 648 |
+
],
|
| 649 |
+
"image_footnote": [],
|
| 650 |
+
"bbox": [
|
| 651 |
+
205,
|
| 652 |
+
116,
|
| 653 |
+
446,
|
| 654 |
+
262
|
| 655 |
+
],
|
| 656 |
+
"page_idx": 5
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "table",
|
| 660 |
+
"img_path": "images/cf93b9d4d94aac37759a017bb2787dcedf4a0259386fb92fc7fa433b7d3a4591.jpg",
|
| 661 |
+
"table_caption": [],
|
| 662 |
+
"table_footnote": [
|
| 663 |
+
"Table 2: Structured diff pruning results on the validation set with different target sparsity rates. Average performance includes all 9 tasks. "
|
| 664 |
+
],
|
| 665 |
+
"table_body": "<table><tr><td>Diff vector target sparsity</td><td>QNLI</td><td>SST-2</td><td>MNLIm</td><td>MNLImm</td><td>CoLA</td><td>MRPC</td><td>STS-B</td><td>RTE</td><td>QQP</td><td>Avg</td></tr><tr><td>0.10%</td><td>92.7</td><td>93.3</td><td>85.6</td><td>85.9</td><td>58.0</td><td>87.4</td><td>86.3</td><td>68.6</td><td>85.2</td><td>82.5</td></tr><tr><td>0.25%</td><td>93.2</td><td>94.2</td><td>86.2</td><td>86.5</td><td>63.3</td><td>90.9</td><td>88.4</td><td>71.5</td><td>86.1</td><td>84.5</td></tr><tr><td>0.50%</td><td>93.4</td><td>94.2</td><td>86.4</td><td>86.9</td><td>63.5</td><td>91.3</td><td>89.5</td><td>71.5</td><td>86.6</td><td>84.8</td></tr><tr><td>1.00%</td><td>93.3</td><td>94.2</td><td>86.4</td><td>87.0</td><td>66.3</td><td>91.4</td><td>89.9</td><td>71.1</td><td>86.6</td><td>85.1</td></tr><tr><td>100%</td><td>93.5</td><td>94.1</td><td>86.5</td><td>87.1</td><td>62.8</td><td>91.9</td><td>89.8</td><td>71.8</td><td>87.6</td><td>85.0</td></tr></table>",
|
| 666 |
+
"bbox": [
|
| 667 |
+
236,
|
| 668 |
+
325,
|
| 669 |
+
756,
|
| 670 |
+
407
|
| 671 |
+
],
|
| 672 |
+
"page_idx": 5
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"type": "text",
|
| 676 |
+
"text": "",
|
| 677 |
+
"bbox": [
|
| 678 |
+
174,
|
| 679 |
+
445,
|
| 680 |
+
825,
|
| 681 |
+
529
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 5
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "5.1 VARYING THE TARGET SPARSITY ",
|
| 688 |
+
"text_level": 1,
|
| 689 |
+
"bbox": [
|
| 690 |
+
174,
|
| 691 |
+
541,
|
| 692 |
+
444,
|
| 693 |
+
556
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 5
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "text",
|
| 699 |
+
"text": "In Figure 1 (left), we plot results on the GLUE validation set averaged across all tasks at target sparsity rates of $0 . 1 \\%$ , $0 . 2 5 \\%$ , $0 . 5 \\%$ , $1 . 0 \\%$ for the different baselines. Structured diff pruning consistently outperforms non-structured and and non-adaptive variants across different sparsity rates. The advantage of adaptive methods becomes more pronounced at extreme sparsity rates. In Table 2, we report the breakdown of accuracy of structured diff pruning across different tasks and sparsity rates, where we observe that different tasks have different sensitivity to target sparsity rates. This suggests that we can obtain even greater parameter-efficiency through targeting task-specific sparsity rates in the diff vector. ",
|
| 700 |
+
"bbox": [
|
| 701 |
+
174,
|
| 702 |
+
564,
|
| 703 |
+
825,
|
| 704 |
+
675
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 5
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "5.2 STRUCTURED VS. NON-STRUCTURED DIFF PRUNING ",
|
| 711 |
+
"text_level": 1,
|
| 712 |
+
"bbox": [
|
| 713 |
+
174,
|
| 714 |
+
689,
|
| 715 |
+
581,
|
| 716 |
+
702
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 5
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "text",
|
| 722 |
+
"text": "Structured diff pruning introduces an additional mask per group, which encourages pruning of entire groups. This is less restrictive than traditional group sparsity techniques that have been used with $L _ { 0 }$ -norm relaxations which force all parameters in a group to share the same mask (Louizos et al., 2018; Wang et al., 2019b). However we still expect entire groups to be pruned out more often in the structured case, which might bias the learning process towards either eliminating completely or clustering together nonzero diffs. In Figure 1 (right), we indeed find that structured diff pruning leads to finetuned models that are much more likely to leave entire groups unchanged from their pretrained values (zero diffs). ",
|
| 723 |
+
"bbox": [
|
| 724 |
+
174,
|
| 725 |
+
714,
|
| 726 |
+
825,
|
| 727 |
+
825
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 5
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "text",
|
| 733 |
+
"text": "5.3 TASK-SPECIFIC SPARSITY ",
|
| 734 |
+
"text_level": 1,
|
| 735 |
+
"bbox": [
|
| 736 |
+
174,
|
| 737 |
+
835,
|
| 738 |
+
393,
|
| 739 |
+
849
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 5
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "text",
|
| 745 |
+
"text": "Different layers of pretrained models have argued to encode different information (Liu et al., 2019a; Tenney et al., 2019). Given that each task will likely recruit different kinds of language phenomena embedded in the hidden layers, we hypothesize that diff pruning will modify different parts of the pretrained model through task-specific finetuning. Figure 2 shows the percentage of nonzero diff parameters attributable to the different layers for each task. We find that different tasks indeed modify different parts of the network, although there are some qualitative similarities between some tasks, for example between QNLI & QQP (both must encode questions), and MRPC & STS-B (both must predict similarity between sentences). The embedding layer is very sparsely modified for all tasks. While some of the variations in the sparsity distributions is due to simple randomness, we do observe some level of consistency over multiple runs of the same task, as shown in Figure 3 of the appendix. ",
|
| 746 |
+
"bbox": [
|
| 747 |
+
176,
|
| 748 |
+
858,
|
| 749 |
+
823,
|
| 750 |
+
901
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 5
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "image",
|
| 756 |
+
"img_path": "images/a2618320f9f0e0193cd71e3737c981cd5b834522d27110d75f63705a8284b8ae.jpg",
|
| 757 |
+
"image_caption": [],
|
| 758 |
+
"image_footnote": [],
|
| 759 |
+
"bbox": [
|
| 760 |
+
179,
|
| 761 |
+
103,
|
| 762 |
+
818,
|
| 763 |
+
251
|
| 764 |
+
],
|
| 765 |
+
"page_idx": 6
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"type": "table",
|
| 769 |
+
"img_path": "images/f1421724012c23f06006dcf661bb337cb0a8a1761b9ef97a21766239f94a5d77.jpg",
|
| 770 |
+
"table_caption": [
|
| 771 |
+
"Figure 2: Percentage of modified parameters attributable to each layer for different tasks at $0 . 5 \\%$ target sparsity. The layers are ordered from earlier to later (i.e. the embedding layer is shown at the top). The $\\mathbf { X }$ -axis for each plot goes from $0 \\%$ to $20 \\%$ . "
|
| 772 |
+
],
|
| 773 |
+
"table_footnote": [
|
| 774 |
+
"Table 3: (Top) Sparsity and performance before magnitude pruning on the validation set with structured diff pruning. (Bottom) Performance with $0 . 5 \\%$ target sparsity. "
|
| 775 |
+
],
|
| 776 |
+
"table_body": "<table><tr><td></td><td>QNLI</td><td>SST-2</td><td>MNLIm</td><td>MNLImm</td><td>CoLA</td><td>MRPC</td><td>STS-B</td><td>RTE</td><td>QQP</td><td>Avg</td></tr><tr><td>Sparsity</td><td>1.5%</td><td>0.6%</td><td>0.8%</td><td>0.8%</td><td>1.6%</td><td>2.4%</td><td>3.3%</td><td>0.7%</td><td>0.6%</td><td>1.4%</td></tr><tr><td>Performance</td><td>93.8</td><td>94.0</td><td>86.2</td><td>86.8</td><td>63.1</td><td>91.9</td><td>89.7</td><td>71.8</td><td>86.5</td><td>84.9</td></tr><tr><td>With 0.5% sparsity</td><td>93.4</td><td>94.2</td><td>86.4</td><td>86.9</td><td>63.5</td><td>91.3</td><td>89.5</td><td>71.5</td><td>86.6</td><td>84.8</td></tr></table>",
|
| 777 |
+
"bbox": [
|
| 778 |
+
186,
|
| 779 |
+
304,
|
| 780 |
+
805,
|
| 781 |
+
364
|
| 782 |
+
],
|
| 783 |
+
"page_idx": 6
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"type": "text",
|
| 787 |
+
"text": "",
|
| 788 |
+
"bbox": [
|
| 789 |
+
173,
|
| 790 |
+
414,
|
| 791 |
+
825,
|
| 792 |
+
525
|
| 793 |
+
],
|
| 794 |
+
"page_idx": 6
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"type": "text",
|
| 798 |
+
"text": "The ability to modify different parts of the pretrained model for each task could explain the improved parameter-efficiency of our approach compared to Houlsby et al. (2019)’s adapter layers, which can only read/write to the pretrained model at certain points of the computational graph.13 This potentially suggests that adapter layers with more fine-grained access into model internals (e.g. adapters for key/value/query transformations) might result in even greater parameter-efficiency. While left as future work, we also note that diff pruning can be applied in conjunction with adapters, which might further improve results. ",
|
| 799 |
+
"bbox": [
|
| 800 |
+
174,
|
| 801 |
+
532,
|
| 802 |
+
825,
|
| 803 |
+
628
|
| 804 |
+
],
|
| 805 |
+
"page_idx": 6
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"type": "text",
|
| 809 |
+
"text": "5.4 EFFECT OF $\\mathrm { L } _ { 0 }$ -BALL PROJECTION VIA MAGNITUDE PRUNING ",
|
| 810 |
+
"text_level": 1,
|
| 811 |
+
"bbox": [
|
| 812 |
+
174,
|
| 813 |
+
640,
|
| 814 |
+
637,
|
| 815 |
+
654
|
| 816 |
+
],
|
| 817 |
+
"page_idx": 6
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"type": "text",
|
| 821 |
+
"text": "Applying magnitude pruning to project onto the $\\mathrm { L } _ { 0 }$ -ball was crucial in achieving exact sparsity targets. As shown in Table 3, we observed little loss in performance through magnitude pruning. We re-iterate that it was crucial to finetune with the fixed mask in order to maintain good performance.14 ",
|
| 822 |
+
"bbox": [
|
| 823 |
+
176,
|
| 824 |
+
659,
|
| 825 |
+
825,
|
| 826 |
+
700
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 6
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "text",
|
| 832 |
+
"text": "5.5 SQUAD EXTRACTIVE QUESTION ANSWERING ",
|
| 833 |
+
"text_level": 1,
|
| 834 |
+
"bbox": [
|
| 835 |
+
174,
|
| 836 |
+
723,
|
| 837 |
+
537,
|
| 838 |
+
738
|
| 839 |
+
],
|
| 840 |
+
"page_idx": 6
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"type": "text",
|
| 844 |
+
"text": "To demonstrate the effectiveness of our approach beyond classification, we additionally experiment on the extractive question answering task SQuAD, which asks model to select the answer span to a question given a Wikipedia paragraph. To make direct comparisons with Houlsby et al. (2019), we run all experiments on SQuAD v1.1. For diff pruning, we use the same general hyper-parameters as our full finetuning baseline.15 Results are shown in Table 4. Diff pruning is able achieve comparable or better performance with only $1 \\%$ additional parameters. Notably, we see that our method can improve the F1 score of full finetuning baseline by a significant margin (e.g. $9 0 . 8 \\% \\Rightarrow 9 3 . 2 \\% )$ ) ",
|
| 845 |
+
"bbox": [
|
| 846 |
+
173,
|
| 847 |
+
750,
|
| 848 |
+
825,
|
| 849 |
+
847
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 6
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "table",
|
| 855 |
+
"img_path": "images/4f39fcc11bdeb82064d1bfc004bd6998c756639a075f86e91f7cfa4d23221bd5.jpg",
|
| 856 |
+
"table_caption": [],
|
| 857 |
+
"table_footnote": [
|
| 858 |
+
"Table 4: SQuAD validation results with BERTLARGE model. "
|
| 859 |
+
],
|
| 860 |
+
"table_body": "<table><tr><td></td><td>Sparsity</td><td>F1</td></tr><tr><td>Full finetuning Adapters</td><td>100% 2%</td><td>90.7% 90.4%</td></tr><tr><td>Full finetuning</td><td>100%</td><td>90.8%</td></tr><tr><td>Diff pruning</td><td>1%</td><td>92.1%</td></tr><tr><td>Diff pruning (struct.)</td><td>1%</td><td>93.2%</td></tr></table>",
|
| 861 |
+
"bbox": [
|
| 862 |
+
352,
|
| 863 |
+
101,
|
| 864 |
+
640,
|
| 865 |
+
207
|
| 866 |
+
],
|
| 867 |
+
"page_idx": 7
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "text",
|
| 871 |
+
"text": "while modifying many fewer parameters (e.g., $1 0 0 \\% \\Rightarrow 1 \\%$ ), which potentially implies that diff pruning can have a useful regularization effect. ",
|
| 872 |
+
"bbox": [
|
| 873 |
+
174,
|
| 874 |
+
252,
|
| 875 |
+
825,
|
| 876 |
+
280
|
| 877 |
+
],
|
| 878 |
+
"page_idx": 7
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "text",
|
| 882 |
+
"text": "6 DISCUSSION ",
|
| 883 |
+
"text_level": 1,
|
| 884 |
+
"bbox": [
|
| 885 |
+
174,
|
| 886 |
+
297,
|
| 887 |
+
310,
|
| 888 |
+
314
|
| 889 |
+
],
|
| 890 |
+
"page_idx": 7
|
| 891 |
+
},
|
| 892 |
+
{
|
| 893 |
+
"type": "text",
|
| 894 |
+
"text": "6.1 MEMORY REQUIREMENTS ",
|
| 895 |
+
"text_level": 1,
|
| 896 |
+
"bbox": [
|
| 897 |
+
174,
|
| 898 |
+
324,
|
| 899 |
+
397,
|
| 900 |
+
338
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 7
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"text": "For training, our approach requires more memory than usual finetuning due to additionally optimizing $\\pmb { \\alpha } _ { \\tau }$ and ${ \\bf w } _ { \\tau }$ . This did not present a significant challenge for pretrained models that we experimented with in this study, since majority of GPU memory was utilized by the minibatch’s activation layers. However, this could present an issue as model sizes get larger and larger. While training efficiency was not a primary concern of this work, diff pruning takes approxiamtely $1 . 5 \\times$ to $2 \\times$ more time per batch, which results in slower training. ",
|
| 907 |
+
"bbox": [
|
| 908 |
+
174,
|
| 909 |
+
344,
|
| 910 |
+
825,
|
| 911 |
+
428
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 7
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"text": "After training, storing the task-specific diff vector requires storing a compressed version with both the nonzero positions and weights, which incurs additional storage requirements. ",
|
| 918 |
+
"bbox": [
|
| 919 |
+
174,
|
| 920 |
+
434,
|
| 921 |
+
823,
|
| 922 |
+
463
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 7
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"text": "6.2 INFORMATION-EFFICIENT TRANSFER LEARNING",
|
| 929 |
+
"text_level": 1,
|
| 930 |
+
"bbox": [
|
| 931 |
+
174,
|
| 932 |
+
477,
|
| 933 |
+
550,
|
| 934 |
+
491
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 7
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "Efficiently representing pretrained models adapted to new tasks is becoming an increasingly important problem in contemporary NLP. This paper focuses on a rather narrow definition of efficiency— parameter-efficiency. An interesting direction might be to target generalizations of parameterefficiency, for example, information-efficiency, which aims to minimize the number of bits required to represent the task-specific model when given the pretrained model for free. This view can suggest other avenues for achieving information-efficient transfer learning: for example, “what is the minimum number of (potentially synthetic) datapoints that we can finetune BERT on to obtain a good task-specific model?”,16 or “what is the shortest prefix string that we can condition GPT3 on for it to become a good task-specific model”? ",
|
| 941 |
+
"bbox": [
|
| 942 |
+
173,
|
| 943 |
+
496,
|
| 944 |
+
825,
|
| 945 |
+
622
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 7
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "7 RELATED WORK ",
|
| 952 |
+
"text_level": 1,
|
| 953 |
+
"bbox": [
|
| 954 |
+
176,
|
| 955 |
+
645,
|
| 956 |
+
343,
|
| 957 |
+
661
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 7
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "text",
|
| 963 |
+
"text": "Multi-task learning Multi-task learning (Caruana, 1997), broadly construed, aims to learn models and representations that can be utilized across a diverse range of tasks, and offers a natural approach to training parameter-efficient deep models. Several works have shown that a single BERT model can obtain good performance across multiple tasks when jointly trained (Liu et al., 2019b; Clark et al., 2019; Stickland & Murray, 2019). Adapter layers, which are task-specific layers that read and write to layers of a shared model (Rebuffi et al., 2018), offer an alternative approach to multi-task learning that does not require access to all tasks during training, and have also been applied to obtain parameter-efficient BERT models (Houlsby et al., 2019; Pfeiffer et al., 2020a;b;c). A related line of work targets extreme parameter-efficiency through task-agnostic sentence representations that can be used without finetuning for downstream tasks (Le & Mikolov, 2014; Kiros et al., 2015; Wieting et al., 2016; Hill et al., 2016; Arora et al., 2017; Conneau et al., 2017; Cer et al., 2018; Zhang et al., 2018; Subramanian et al., 2018; Zhang et al., 2020). Reimers & Gurevych (2019), building on the earlier work of Conneau et al. (2017), show that BERT finetuned on natural language inference obtains sentence representations that perform well across multiple sentence-level tasks. These feature-based transfer learning methods are however generally outperformed by fully finetuned models (Howard & Ruder, 2018). ",
|
| 964 |
+
"bbox": [
|
| 965 |
+
173,
|
| 966 |
+
680,
|
| 967 |
+
825,
|
| 968 |
+
900
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 7
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "text",
|
| 974 |
+
"text": "Model compression There has been much recent work on compressing pretrained trained with self-supervision (see Ganesh et al. (2020) for a recent survey). A particularly promising line of work focuses on obtaining smaller pretrained models (for subsequent finetuning) through weight pruning (Gordon et al., 2020; Sajjad et al., 2020; Chen et al., 2020) and/or knowledge distillation (Sanh et al., 2019; Sun et al., 2019; Turc et al., 2019; Jiao et al., 2019; Sun et al., 2020). It would be interesting to see whether our approach can be applied on top of these smaller pretrained models to for even greater parameter-efficiency. ",
|
| 975 |
+
"bbox": [
|
| 976 |
+
174,
|
| 977 |
+
103,
|
| 978 |
+
825,
|
| 979 |
+
200
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 8
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"text": "Learning to prune Our work is closely related to the line of work on learning to prune pretrained models with differentiable relaxations of binary masks (Wang et al., 2019b; Zhao et al., 2020; Sanh et al., 2020; Radiya-Dixit & Wang, 2020). While these works also enable parameter-efficient transfer learning, they generally apply the masks directly on the pretrained parameters instead of on the difference vector as in the present work. ",
|
| 986 |
+
"bbox": [
|
| 987 |
+
174,
|
| 988 |
+
210,
|
| 989 |
+
825,
|
| 990 |
+
279
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 8
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "Regularization towards pretrained models Finally, diff pruning is also related to works which regularize the learning process towards pretrained models for continual learning (Kirkpatrick et al., 2017; Schwarz et al., 2018), domain adaptation (Wiese et al., 2017; Miceli Barone et al., 2017), and stable finetuning (Lee et al., 2020). These works typically do not utilize sparse regularizers and target a different goal than parameter-efficiency. ",
|
| 997 |
+
"bbox": [
|
| 998 |
+
174,
|
| 999 |
+
287,
|
| 1000 |
+
825,
|
| 1001 |
+
358
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 8
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "8 CONCLUSION ",
|
| 1008 |
+
"text_level": 1,
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
176,
|
| 1011 |
+
378,
|
| 1012 |
+
318,
|
| 1013 |
+
395
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 8
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "We propose diff pruning as a simple approach for parameter-efficient transfer learning with pretrained models. Experiments on standard NLP benchmarks and models show that diff pruning can match the performance of fully finetuned baselines while requiring only a few additional parameters per task. We also propose a structured variant of diff pruning which provides further improvements. Future work will consider (i) applying this approach to other architectures (e.g. ConvNets for vision applications), (ii) injecting parameter-efficiency objectives directly into the pretraining process (to pretrain models that are better suited towards sparse transfer learning), and (iii) combining diff pruning with other techniques (e.g. adapters) to achieve even greater parameter-efficiency. ",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
174,
|
| 1022 |
+
410,
|
| 1023 |
+
825,
|
| 1024 |
+
522
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 8
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "REFERENCES ",
|
| 1031 |
+
"text_level": 1,
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
176,
|
| 1034 |
+
544,
|
| 1035 |
+
285,
|
| 1036 |
+
559
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 8
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "text",
|
| 1042 |
+
"text": "Sanjeev Arora, Yingyu Liang, and Tengyu Ma. A Simple but Tough-to-Beat Baseline for Sentence Embeddings . In Proceedings of ICLR, 2017. ",
|
| 1043 |
+
"bbox": [
|
| 1044 |
+
174,
|
| 1045 |
+
568,
|
| 1046 |
+
823,
|
| 1047 |
+
595
|
| 1048 |
+
],
|
| 1049 |
+
"page_idx": 8
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "text",
|
| 1053 |
+
"text": "Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language Models are Few-Shot Learners. 2020. ",
|
| 1054 |
+
"bbox": [
|
| 1055 |
+
176,
|
| 1056 |
+
606,
|
| 1057 |
+
825,
|
| 1058 |
+
689
|
| 1059 |
+
],
|
| 1060 |
+
"page_idx": 8
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "text",
|
| 1064 |
+
"text": "Rich Caruana. Multitask Learning. Machine Learning, 1997. ",
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
173,
|
| 1067 |
+
699,
|
| 1068 |
+
575,
|
| 1069 |
+
713
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 8
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "Daniel Cer, Yinfei Yang, Sheng-yi Kong, Nan Hua, Nicole Limtiaco, Rhomni St. John, Noah Constant, Mario Guajardo-Cespedes, Steve Yuan, Chris Tar, Brian Strope, and Ray Kurzweil. Universal sentence encoder for English. In Proceedings of EMNLP: System Demonstrations, 2018. ",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
174,
|
| 1078 |
+
724,
|
| 1079 |
+
825,
|
| 1080 |
+
766
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 8
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "text",
|
| 1086 |
+
"text": "Tianlong Chen, Jonathan Frankle, Shiyu Chang, Sijia Liu, Yang Zhang, Zhangyang Wang, and Michael Carbin. The Lottery Ticket Hypothesis for Pre-trained BERT Networks. arXiv:2007.12223, 2020. ",
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
174,
|
| 1089 |
+
776,
|
| 1090 |
+
823,
|
| 1091 |
+
819
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 8
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "text",
|
| 1097 |
+
"text": "Kevin Clark, Minh-Thang Luong, Urvashi Khandelwal, Christopher D. Manning, and Quoc V. Le. BAM! Born-Again Multi-Task Networks for Natural Language Understanding. In Proceedings of ACL, 2019. ",
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
173,
|
| 1100 |
+
829,
|
| 1101 |
+
823,
|
| 1102 |
+
871
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 8
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "text",
|
| 1108 |
+
"text": "Alexis Conneau, Douwe Kiela, Holger Schwenk, Loic Barrault, and Antoine Bordes. Supervised Learning of Universal Sentence Representations from Natural Language Inference Data. In Proceedings of EMNLP, 2017. ",
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
176,
|
| 1111 |
+
882,
|
| 1112 |
+
823,
|
| 1113 |
+
922
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 8
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "text",
|
| 1119 |
+
"text": "Andrew Dai and Quoc V. Le. Semi-Supervised Sequence Learning. In Proceedings of NIPS, 2015. ",
|
| 1120 |
+
"bbox": [
|
| 1121 |
+
169,
|
| 1122 |
+
103,
|
| 1123 |
+
821,
|
| 1124 |
+
119
|
| 1125 |
+
],
|
| 1126 |
+
"page_idx": 9
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "text",
|
| 1130 |
+
"text": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In Proceedings of NAACL, 2019. ",
|
| 1131 |
+
"bbox": [
|
| 1132 |
+
173,
|
| 1133 |
+
127,
|
| 1134 |
+
820,
|
| 1135 |
+
156
|
| 1136 |
+
],
|
| 1137 |
+
"page_idx": 9
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "text",
|
| 1141 |
+
"text": "Fangxiaoyu Feng, Yinfei Yang, Daniel Cer, Naveen Arivazhagan, and Wei Wang. Languageagnostic BERT Sentence Embedding. arXiv:2007.01852, 2020. ",
|
| 1142 |
+
"bbox": [
|
| 1143 |
+
173,
|
| 1144 |
+
164,
|
| 1145 |
+
821,
|
| 1146 |
+
193
|
| 1147 |
+
],
|
| 1148 |
+
"page_idx": 9
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "text",
|
| 1152 |
+
"text": "Robert French. Catastrophic forgetting in connectionist networks. Trends in cognitive sciences, 3, 1999. ",
|
| 1153 |
+
"bbox": [
|
| 1154 |
+
173,
|
| 1155 |
+
200,
|
| 1156 |
+
823,
|
| 1157 |
+
231
|
| 1158 |
+
],
|
| 1159 |
+
"page_idx": 9
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "text",
|
| 1163 |
+
"text": "Prakhar Ganesh, Yao Chen, Xin Lou, Mohammad Ali Khan, Yin Yang, Deming Chen, Marianne Winslett, Hassan Sajjad, and Preslav Nakov. Compressing Large-Scale Transformer-Based Models: A Case Study on BERT. arXiv:2002.11985, 2020. ",
|
| 1164 |
+
"bbox": [
|
| 1165 |
+
173,
|
| 1166 |
+
238,
|
| 1167 |
+
823,
|
| 1168 |
+
281
|
| 1169 |
+
],
|
| 1170 |
+
"page_idx": 9
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "text",
|
| 1174 |
+
"text": "Mitchell A. Gordon, Kevin Duh, and Nicholas Andrews. Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learning. In Proceedings of Rep4NLP 2020 Workshop at ACL 2020, 2020. ",
|
| 1175 |
+
"bbox": [
|
| 1176 |
+
174,
|
| 1177 |
+
289,
|
| 1178 |
+
825,
|
| 1179 |
+
332
|
| 1180 |
+
],
|
| 1181 |
+
"page_idx": 9
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "text",
|
| 1185 |
+
"text": "Song Han, Huizi Mao, and William J. Dally. Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Coding. In Proceedings of ICLR, 2016. ",
|
| 1186 |
+
"bbox": [
|
| 1187 |
+
171,
|
| 1188 |
+
340,
|
| 1189 |
+
823,
|
| 1190 |
+
371
|
| 1191 |
+
],
|
| 1192 |
+
"page_idx": 9
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "text",
|
| 1196 |
+
"text": "Felix Hill, Kyunghyun Cho, and Anna Korhonen. Learning distributed representations of sentences from unlabelled data. In Proceedings of ACL, 2016. ",
|
| 1197 |
+
"bbox": [
|
| 1198 |
+
171,
|
| 1199 |
+
378,
|
| 1200 |
+
823,
|
| 1201 |
+
407
|
| 1202 |
+
],
|
| 1203 |
+
"page_idx": 9
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "text",
|
| 1207 |
+
"text": "Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin de Laroussilhe, Andrea Gesmundo, and Mona Attariyanand Sylvain Gelly. Parameter-efficient transfer learning for nlp. In Proceedings of ICML, 2019. ",
|
| 1208 |
+
"bbox": [
|
| 1209 |
+
173,
|
| 1210 |
+
415,
|
| 1211 |
+
823,
|
| 1212 |
+
458
|
| 1213 |
+
],
|
| 1214 |
+
"page_idx": 9
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "text",
|
| 1218 |
+
"text": "Jeremy Howard and Sebastian Ruder. Universal Language Model Fine-tuning for Text Classification. In Proceedings of ACL, 2018. ",
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
169,
|
| 1221 |
+
467,
|
| 1222 |
+
823,
|
| 1223 |
+
496
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 9
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "text",
|
| 1229 |
+
"text": "Eric Jang, Shixiang Gu, and Ben Poole. Categorical Reparameterization with Gumbel-Softmax. In Proceedings of ICLR, 2017. ",
|
| 1230 |
+
"bbox": [
|
| 1231 |
+
171,
|
| 1232 |
+
503,
|
| 1233 |
+
823,
|
| 1234 |
+
534
|
| 1235 |
+
],
|
| 1236 |
+
"page_idx": 9
|
| 1237 |
+
},
|
| 1238 |
+
{
|
| 1239 |
+
"type": "text",
|
| 1240 |
+
"text": "Xiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang, Xiao Chen, Linlin Li, Fang Wang, and Qun Liu. TinyBERT: Distilling BERT for Natural Language Understanding. arXiv:1909.10351, 2019. ",
|
| 1241 |
+
"bbox": [
|
| 1242 |
+
173,
|
| 1243 |
+
541,
|
| 1244 |
+
823,
|
| 1245 |
+
570
|
| 1246 |
+
],
|
| 1247 |
+
"page_idx": 9
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "text",
|
| 1251 |
+
"text": "James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A. Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, Demis Hassabis, Claudia Clopath, Dharshan Kumaran, and Raia Hadsell. Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences, 14:3521–3526, 2017. ",
|
| 1252 |
+
"bbox": [
|
| 1253 |
+
173,
|
| 1254 |
+
578,
|
| 1255 |
+
825,
|
| 1256 |
+
636
|
| 1257 |
+
],
|
| 1258 |
+
"page_idx": 9
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "text",
|
| 1262 |
+
"text": "Ryan Kiros, Yukun Zhu, Ruslan Salakhutdinov, Richard S. Zemel, Antonio Torralba, Raquel Urta sun, and Sanja Fidler. Skip-Thought Vectors. In Proceedings of NeurIPS, 2015. ",
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
173,
|
| 1265 |
+
643,
|
| 1266 |
+
820,
|
| 1267 |
+
672
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 9
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "text",
|
| 1273 |
+
"text": "Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. ALBERT: A Lite BERT for Self-supervised Learning of Language Representations. In Proceedings of ICLR, 2020. ",
|
| 1274 |
+
"bbox": [
|
| 1275 |
+
174,
|
| 1276 |
+
680,
|
| 1277 |
+
823,
|
| 1278 |
+
723
|
| 1279 |
+
],
|
| 1280 |
+
"page_idx": 9
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "text",
|
| 1284 |
+
"text": "Quoc V. Le and Tomas Mikolov. Distributed Representations of Sentences and Documents. In Proceedings of ICML, 2014. ",
|
| 1285 |
+
"bbox": [
|
| 1286 |
+
173,
|
| 1287 |
+
731,
|
| 1288 |
+
821,
|
| 1289 |
+
761
|
| 1290 |
+
],
|
| 1291 |
+
"page_idx": 9
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "text",
|
| 1295 |
+
"text": "Cheolhyoung Lee, Kyunghyun Cho, and Wanmo Kang. Mixout: Effective Regularization to Finetune Large-scale Pretrained Language Models. In Proceedings of ICLR, 2020. ",
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
173,
|
| 1298 |
+
768,
|
| 1299 |
+
820,
|
| 1300 |
+
799
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 9
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "Sang-Woo Lee, Jin-Hwa Kim, Jaehyun Jun, Jung-Woo Ha, and Byoung-Tak Zhang. Overcoming catastrophic forgetting by incremental moment matching. In Advances in Neural Information Processing Systems. 2017. ",
|
| 1307 |
+
"bbox": [
|
| 1308 |
+
174,
|
| 1309 |
+
806,
|
| 1310 |
+
823,
|
| 1311 |
+
849
|
| 1312 |
+
],
|
| 1313 |
+
"page_idx": 9
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"type": "text",
|
| 1317 |
+
"text": "Nelson F. Liu, Matt Gardner, Yonatan Belinkov, Matthew E. Peters, and Noah A. Smith. Linguistic Knowledge and Transferability of Contextual Representations. In Proceedings of ACL, 2019a. ",
|
| 1318 |
+
"bbox": [
|
| 1319 |
+
173,
|
| 1320 |
+
858,
|
| 1321 |
+
821,
|
| 1322 |
+
887
|
| 1323 |
+
],
|
| 1324 |
+
"page_idx": 9
|
| 1325 |
+
},
|
| 1326 |
+
{
|
| 1327 |
+
"type": "text",
|
| 1328 |
+
"text": "Xiaodong Liu, Pengcheng He, Weizhu Chen, and Jianfeng Gao. Multi-Task Deep Neural Networks for Natural Language Understanding. In Proceedings of ACL, 2019b. ",
|
| 1329 |
+
"bbox": [
|
| 1330 |
+
173,
|
| 1331 |
+
895,
|
| 1332 |
+
821,
|
| 1333 |
+
924
|
| 1334 |
+
],
|
| 1335 |
+
"page_idx": 9
|
| 1336 |
+
},
|
| 1337 |
+
{
|
| 1338 |
+
"type": "text",
|
| 1339 |
+
"text": "Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. RoBERTa: A Robustly Optimized BERT Pretraining Approach. arXiv:1907.11692, 2019c. \nDavid Lopez-Paz and Marc’Aurelio Ranzato. Gradient Episodic Memory for Continual Learning. In Proceedings of NeurIPS, 2017. \nChristos Louizos, Max Welling, Diederik P, and Kingma. Learning Sparse Neural Networks through $L _ { 0 }$ Regularization. In Proceedings of ICLR, 2018. \nChris J. Maddison, Andriy Mnih, and Yee Whye Teh. The Concrete Distribution: A Continuous Relaxation of Discrete Random Variables. In Proceedings of ICLR, 2017. \nBryan McCann, James Bradbury, Caiming Xiong, and Richard Socher. Learned in translation: Contextualized word vectors. In Proceedings of NeurIPS. 2017. \nAntonio Valerio Miceli Barone, Barry Haddow, Ulrich Germann, and Rico Sennrich. Regularization techniques for fine-tuning in neural machine translation. In Proceedings of EMNLP, 2017. \nTomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient Estimation of Word Representations in Vector Space. arXiv:1301.3781, 2013. \nGerman I. Parisi, Ronald Kemker, Jose L. Part, Christopher Kanan, and Stefan Wermter. Continual Lifelong Learning with Neural Networks: A Review. arXiv:1802.07569, 2018. \nMatthew Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep Contextualized Word Representations. In Proceedings of NAACL, 2018. \nJonas Pfeiffer, Aishwarya Kamath, Andreas Ruckle, and Kyunghyun Cho amd Iryna Gurevych. AdapterFusion: Non-Destructive Task Composition for Transfer Learning. arXiv:2005.00247, 2020a. \nJonas Pfeiffer, Andreas Ruckle, Clifton Poth, Aishwarya Kamath, Ivan Vulic, Sebastian Ruder, and Iryna Gurevych Kyunghyun Cho. AdapterHub: A Framework for Adapting Transformers. arXiv:2007.07779, 2020b. \nJonas Pfeiffer, Ivan Vulic, Iryna Gurevych, and Sebastian Ruder. MAD-X: An Adapter-based Framework for Multi-task Cross-lingual Transfer. arXiv:2005.00052, 2020c. \nAlec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving language understanding by generative pre-training. 2018. \nAlec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language Models are Unsupervised Multitask Learners. 2019. \nEvani Radiya-Dixit and Xin Wang. How fine can fine-tuning be? Learning efficient language models. In Proceedings of AISTATS, 2020. \nColin Raffel, Noam Shazeer, Katherine Lee Adam Roberts, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. Exploring the Limits of Transfer Learning with a Unified Text-toText Transformer. Journal of Machine Learning Research, 21, 2020. \nSamyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, and Yuxiong He. ZeRO: Memory Optimizations Toward Training Trillion Parameter Models. arXiv:1910.02054, 2019. \nS. Rebuffi, A. Vedaldi, and H. Bilen. Efficient Parametrization of Multi-domain Deep Neural Networks. In Proceedings of CVPR, 2018. \nNils Reimers and Iryna Gurevych. Sentence-BERT: Sentence Embeddings using Siamese BERTNetworks. In Proceedings of EMNLP, 2019. \nHassan Sajjad, Fahim Dalvi, Nadir Durrani, and Preslav Nakov. Poor Man’s BERT: Smaller and Faster Transformer Models. arXiv:2004.03844, 2020. ",
|
| 1340 |
+
"bbox": [
|
| 1341 |
+
171,
|
| 1342 |
+
82,
|
| 1343 |
+
826,
|
| 1344 |
+
925
|
| 1345 |
+
],
|
| 1346 |
+
"page_idx": 10
|
| 1347 |
+
},
|
| 1348 |
+
{
|
| 1349 |
+
"type": "text",
|
| 1350 |
+
"text": "Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter. In Proceedings of 5th Workshop on Energy Efficient Machine Learning and Cognitive Computing, 2019. ",
|
| 1351 |
+
"bbox": [
|
| 1352 |
+
178,
|
| 1353 |
+
103,
|
| 1354 |
+
823,
|
| 1355 |
+
146
|
| 1356 |
+
],
|
| 1357 |
+
"page_idx": 11
|
| 1358 |
+
},
|
| 1359 |
+
{
|
| 1360 |
+
"type": "text",
|
| 1361 |
+
"text": "Victor Sanh, Thomas Wolf, and Alexander M. Rush. Movement Pruning: Adaptive Sparsity by Fine-Tuning. arXiv:2005.07683, 2020. ",
|
| 1362 |
+
"bbox": [
|
| 1363 |
+
176,
|
| 1364 |
+
154,
|
| 1365 |
+
821,
|
| 1366 |
+
183
|
| 1367 |
+
],
|
| 1368 |
+
"page_idx": 11
|
| 1369 |
+
},
|
| 1370 |
+
{
|
| 1371 |
+
"type": "text",
|
| 1372 |
+
"text": "Timo Schick and Hinrich Schutze. It’s Not Just Size That Matters: Small Language Models Are Also Few-Shot Learners. arXiv:2009.07118, 2020. ",
|
| 1373 |
+
"bbox": [
|
| 1374 |
+
173,
|
| 1375 |
+
190,
|
| 1376 |
+
823,
|
| 1377 |
+
220
|
| 1378 |
+
],
|
| 1379 |
+
"page_idx": 11
|
| 1380 |
+
},
|
| 1381 |
+
{
|
| 1382 |
+
"type": "text",
|
| 1383 |
+
"text": "Jonathan Schwarz, Jelena Luketina, Wojciech M. Czarnecki, Agnieszka Grabska-Barwinska, Yee Whye Teh, Razvan Pascanu, and Raia Hadsell. Progress & Compress: A scalable framework for continual learning. In Proceedings of ICML, 2018. ",
|
| 1384 |
+
"bbox": [
|
| 1385 |
+
176,
|
| 1386 |
+
228,
|
| 1387 |
+
823,
|
| 1388 |
+
271
|
| 1389 |
+
],
|
| 1390 |
+
"page_idx": 11
|
| 1391 |
+
},
|
| 1392 |
+
{
|
| 1393 |
+
"type": "text",
|
| 1394 |
+
"text": "Hanul Shin, Jung Kwon Lee, Jaehong Kim, and Jiwon Kim. Continual Learning with Deep Generative Replay. In Proceedings of NeurIPS. 2017. ",
|
| 1395 |
+
"bbox": [
|
| 1396 |
+
169,
|
| 1397 |
+
279,
|
| 1398 |
+
823,
|
| 1399 |
+
309
|
| 1400 |
+
],
|
| 1401 |
+
"page_idx": 11
|
| 1402 |
+
},
|
| 1403 |
+
{
|
| 1404 |
+
"type": "text",
|
| 1405 |
+
"text": "Mohammad Shoeybi, Mostofa Patwary, Raul Puri, Patrick LeGresley, Jared Casper, and Bryan Catanzaro. Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism. arXiv:1909.08053, 2019. ",
|
| 1406 |
+
"bbox": [
|
| 1407 |
+
176,
|
| 1408 |
+
315,
|
| 1409 |
+
823,
|
| 1410 |
+
359
|
| 1411 |
+
],
|
| 1412 |
+
"page_idx": 11
|
| 1413 |
+
},
|
| 1414 |
+
{
|
| 1415 |
+
"type": "text",
|
| 1416 |
+
"text": "Asa Cooper Stickland and Iain Murray. BERT and PALs: Projected attention layers for efficient adaptation in multi-task learning. In Proceedings of ICML, 2019. ",
|
| 1417 |
+
"bbox": [
|
| 1418 |
+
171,
|
| 1419 |
+
367,
|
| 1420 |
+
823,
|
| 1421 |
+
396
|
| 1422 |
+
],
|
| 1423 |
+
"page_idx": 11
|
| 1424 |
+
},
|
| 1425 |
+
{
|
| 1426 |
+
"type": "text",
|
| 1427 |
+
"text": "Sandeep Subramanian, Adam Trischler, Yoshua Bengio, and Christopher J. Pal. Learning General Purpose Distributed Sentence Representations via Large Scale Multi-task Learning. In Proceedings of ICLR, 2018. ",
|
| 1428 |
+
"bbox": [
|
| 1429 |
+
176,
|
| 1430 |
+
404,
|
| 1431 |
+
821,
|
| 1432 |
+
446
|
| 1433 |
+
],
|
| 1434 |
+
"page_idx": 11
|
| 1435 |
+
},
|
| 1436 |
+
{
|
| 1437 |
+
"type": "text",
|
| 1438 |
+
"text": "Siqi Sun, Yu Cheng, Zhe Gan, and Jingjing Liu. Patient Knowledge Distillation for BERT Model Compression. In Proceedings of EMNLP, 2019. ",
|
| 1439 |
+
"bbox": [
|
| 1440 |
+
171,
|
| 1441 |
+
454,
|
| 1442 |
+
823,
|
| 1443 |
+
484
|
| 1444 |
+
],
|
| 1445 |
+
"page_idx": 11
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"type": "text",
|
| 1449 |
+
"text": "Zhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu, Yiming Yang, and Denny Zhou. MobileBERT: a compact task-agnostic BERT for resource-limited devices. In Proceedings of ACL, July 2020. ",
|
| 1450 |
+
"bbox": [
|
| 1451 |
+
174,
|
| 1452 |
+
492,
|
| 1453 |
+
823,
|
| 1454 |
+
535
|
| 1455 |
+
],
|
| 1456 |
+
"page_idx": 11
|
| 1457 |
+
},
|
| 1458 |
+
{
|
| 1459 |
+
"type": "text",
|
| 1460 |
+
"text": "Ian Tenney, Dipanjan Das, and Ellie Pavlick. BERT Rediscovers the Classical NLP Pipeline. In Proceedings of ACL, 2019. ",
|
| 1461 |
+
"bbox": [
|
| 1462 |
+
173,
|
| 1463 |
+
542,
|
| 1464 |
+
823,
|
| 1465 |
+
571
|
| 1466 |
+
],
|
| 1467 |
+
"page_idx": 11
|
| 1468 |
+
},
|
| 1469 |
+
{
|
| 1470 |
+
"type": "text",
|
| 1471 |
+
"text": "Iulia Turc, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Well-Read Students Learn Better: On the Importance of Pre-training Compact Models. arXiv:1908.08962, 2019. ",
|
| 1472 |
+
"bbox": [
|
| 1473 |
+
173,
|
| 1474 |
+
579,
|
| 1475 |
+
821,
|
| 1476 |
+
609
|
| 1477 |
+
],
|
| 1478 |
+
"page_idx": 11
|
| 1479 |
+
},
|
| 1480 |
+
{
|
| 1481 |
+
"type": "text",
|
| 1482 |
+
"text": "Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel Bowman. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In Proceedings of ICLR, 2019a. ",
|
| 1483 |
+
"bbox": [
|
| 1484 |
+
176,
|
| 1485 |
+
617,
|
| 1486 |
+
823,
|
| 1487 |
+
660
|
| 1488 |
+
],
|
| 1489 |
+
"page_idx": 11
|
| 1490 |
+
},
|
| 1491 |
+
{
|
| 1492 |
+
"type": "text",
|
| 1493 |
+
"text": "Tongzhou Wang, Jun-Yan Zhu, Antonio Torralba, and Alexei A. Efros. Dataset Distillation. arXiv:1811.10959, 2018. ",
|
| 1494 |
+
"bbox": [
|
| 1495 |
+
173,
|
| 1496 |
+
667,
|
| 1497 |
+
823,
|
| 1498 |
+
696
|
| 1499 |
+
],
|
| 1500 |
+
"page_idx": 11
|
| 1501 |
+
},
|
| 1502 |
+
{
|
| 1503 |
+
"type": "text",
|
| 1504 |
+
"text": "Ziheng Wang, Jeremy Wohlwend, and Tao Lei. Structured Pruning of Large Language Models. arXiv:1910.04732, 2019b. ",
|
| 1505 |
+
"bbox": [
|
| 1506 |
+
173,
|
| 1507 |
+
704,
|
| 1508 |
+
821,
|
| 1509 |
+
734
|
| 1510 |
+
],
|
| 1511 |
+
"page_idx": 11
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "text",
|
| 1515 |
+
"text": "Georg Wiese, Dirk Weissenborn, and Mariana Neves. Neural domain adaptation for biomedical question answering. In Proceedings of CoNLL, August 2017. ",
|
| 1516 |
+
"bbox": [
|
| 1517 |
+
171,
|
| 1518 |
+
742,
|
| 1519 |
+
823,
|
| 1520 |
+
771
|
| 1521 |
+
],
|
| 1522 |
+
"page_idx": 11
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "text",
|
| 1526 |
+
"text": "John Wieting, Mohit Bansal, Kevin Gimpel, and Karen Livescu. Towards Universal Paraphrastic Sentence Embeddings. In Proceedings of ICLR, 2016. ",
|
| 1527 |
+
"bbox": [
|
| 1528 |
+
173,
|
| 1529 |
+
779,
|
| 1530 |
+
823,
|
| 1531 |
+
809
|
| 1532 |
+
],
|
| 1533 |
+
"page_idx": 11
|
| 1534 |
+
},
|
| 1535 |
+
{
|
| 1536 |
+
"type": "text",
|
| 1537 |
+
"text": "Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick ´ von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander M. Rush. Huggingface’s transformers: Stateof-the-art natural language processing. ArXiv, abs/1910.03771, 2019. ",
|
| 1538 |
+
"bbox": [
|
| 1539 |
+
181,
|
| 1540 |
+
816,
|
| 1541 |
+
823,
|
| 1542 |
+
887
|
| 1543 |
+
],
|
| 1544 |
+
"page_idx": 11
|
| 1545 |
+
},
|
| 1546 |
+
{
|
| 1547 |
+
"type": "text",
|
| 1548 |
+
"text": "John M. Wu, Yonatan Belinkov, Hassan Sajjad, Nadir Durrani, Fahim Dalvi, and James Glass. Similarity Analysis of Contextual Word Representation Models. In Proceedings of ACL, 2020. ",
|
| 1549 |
+
"bbox": [
|
| 1550 |
+
176,
|
| 1551 |
+
895,
|
| 1552 |
+
818,
|
| 1553 |
+
924
|
| 1554 |
+
],
|
| 1555 |
+
"page_idx": 11
|
| 1556 |
+
},
|
| 1557 |
+
{
|
| 1558 |
+
"type": "image",
|
| 1559 |
+
"img_path": "images/8c95c374d96e969461975571abc9c78de78634e6f294904982d24204df94d38e.jpg",
|
| 1560 |
+
"image_caption": [
|
| 1561 |
+
"Figure 3: Percentage of modified parameters attributable to each layer for 5 different runs of SST-2 at $0 . 5 \\%$ target sparsity. The layers are ordered from earlier to later (i.e. the embedding layer is shown at the top). The $\\mathbf { X }$ -axis for each plot goes from $0 \\%$ to $20 \\%$ . "
|
| 1562 |
+
],
|
| 1563 |
+
"image_footnote": [],
|
| 1564 |
+
"bbox": [
|
| 1565 |
+
197,
|
| 1566 |
+
104,
|
| 1567 |
+
799,
|
| 1568 |
+
301
|
| 1569 |
+
],
|
| 1570 |
+
"page_idx": 12
|
| 1571 |
+
},
|
| 1572 |
+
{
|
| 1573 |
+
"type": "text",
|
| 1574 |
+
"text": "Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Russ R Salakhutdinov, and Quoc V Le. XLNet: Generalized Autoregressive Pretraining for Language Understanding. In Proceedings of NeurIPS, 2019. ",
|
| 1575 |
+
"bbox": [
|
| 1576 |
+
174,
|
| 1577 |
+
382,
|
| 1578 |
+
826,
|
| 1579 |
+
424
|
| 1580 |
+
],
|
| 1581 |
+
"page_idx": 12
|
| 1582 |
+
},
|
| 1583 |
+
{
|
| 1584 |
+
"type": "text",
|
| 1585 |
+
"text": "Minghua Zhang, Yunfang Wu, Weikang Li, and Wei Li. Learning universal sentence representations with mean-max attention autoencoder. In Proceedings of EMNLP, 2018. ",
|
| 1586 |
+
"bbox": [
|
| 1587 |
+
174,
|
| 1588 |
+
433,
|
| 1589 |
+
823,
|
| 1590 |
+
463
|
| 1591 |
+
],
|
| 1592 |
+
"page_idx": 12
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"type": "text",
|
| 1596 |
+
"text": "Yan Zhang, Ruidan He, Zuozhu Liu, Kwan Hui Lim, and Lidong Bing. An Unsupervised Sentence Embedding Method byMutual Information Maximization. In Proceedings of EMNLP, 2020. ",
|
| 1597 |
+
"bbox": [
|
| 1598 |
+
176,
|
| 1599 |
+
470,
|
| 1600 |
+
823,
|
| 1601 |
+
501
|
| 1602 |
+
],
|
| 1603 |
+
"page_idx": 12
|
| 1604 |
+
},
|
| 1605 |
+
{
|
| 1606 |
+
"type": "text",
|
| 1607 |
+
"text": "Mengjie Zhao, Tao Lin, Martin Jaggi, and Hinrich Schutze. Masking as an Efficient Alternative to Finetuning for Pretrained Language Models. arXiv:2004.12406, 2020. ",
|
| 1608 |
+
"bbox": [
|
| 1609 |
+
178,
|
| 1610 |
+
508,
|
| 1611 |
+
825,
|
| 1612 |
+
537
|
| 1613 |
+
],
|
| 1614 |
+
"page_idx": 12
|
| 1615 |
+
},
|
| 1616 |
+
{
|
| 1617 |
+
"type": "text",
|
| 1618 |
+
"text": "A APPENDIX ",
|
| 1619 |
+
"text_level": 1,
|
| 1620 |
+
"bbox": [
|
| 1621 |
+
176,
|
| 1622 |
+
565,
|
| 1623 |
+
299,
|
| 1624 |
+
580
|
| 1625 |
+
],
|
| 1626 |
+
"page_idx": 12
|
| 1627 |
+
},
|
| 1628 |
+
{
|
| 1629 |
+
"type": "text",
|
| 1630 |
+
"text": "A.1 CONSISTENCY OF NONZERO PARAMETERS ",
|
| 1631 |
+
"text_level": 1,
|
| 1632 |
+
"bbox": [
|
| 1633 |
+
174,
|
| 1634 |
+
595,
|
| 1635 |
+
514,
|
| 1636 |
+
611
|
| 1637 |
+
],
|
| 1638 |
+
"page_idx": 12
|
| 1639 |
+
},
|
| 1640 |
+
{
|
| 1641 |
+
"type": "text",
|
| 1642 |
+
"text": "Figure 3 shows the percentage of modified parameters attributable to each layer across 5 runs of SST2. We find that there is nonotrivial variation in sparsity across runs, but also a degree of consistency. For example, the first layer is modified considerably more than other layers across all runs. ",
|
| 1643 |
+
"bbox": [
|
| 1644 |
+
173,
|
| 1645 |
+
622,
|
| 1646 |
+
825,
|
| 1647 |
+
664
|
| 1648 |
+
],
|
| 1649 |
+
"page_idx": 12
|
| 1650 |
+
}
|
| 1651 |
+
]
|
parse/train/E4PK0rg2eP/E4PK0rg2eP_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/E4PK0rg2eP/E4PK0rg2eP_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/OItvP2-i9j/OItvP2-i9j.md
ADDED
|
@@ -0,0 +1,487 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Closing the Gap: Tighter Analysis of Alternating Stochastic Gradient Methods for Bilevel Problems
|
| 2 |
+
|
| 3 |
+
Tianyi Chen Rensselaer Polytechnic Institute chentianyi $1 9 @$ gmail.com
|
| 4 |
+
|
| 5 |
+
Yuejiao Sun
|
| 6 |
+
UCLA
|
| 7 |
+
sunyj@math.ucla.edu
|
| 8 |
+
|
| 9 |
+
Wotao Yin UCLA wotaoyin@math.ucla.edu
|
| 10 |
+
|
| 11 |
+
# Abstract
|
| 12 |
+
|
| 13 |
+
Stochastic nested optimization, including stochastic bilevel, min-max, and compositional optimization, is gaining popularity in many machine learning applications. While the three problems share a nested structure, existing works often treat them separately, thus developing problem-specific algorithms and analyses. Among various exciting developments, simple SGD-type updates (potentially on multiple variables) are still prevalent in solving this class of nested problems, but they are believed to have a slower convergence rate than non-nested problems. This paper unifies several SGD-type updates for stochastic nested problems into a single SGD approach that we term ALternating Stochastic gradient dEscenT (ALSET) method. By leveraging the hidden smoothness of the problem, this paper presents a tighter analysis of ALSET for stochastic nested problems. Under the new analysis, to achieve an $\epsilon$ -stationary point of the nested problem, it requires $\mathcal { O } ( \epsilon ^ { - 2 } )$ samples in total. Under certain regularity conditions, applying our results to stochastic compositional, min-max, and reinforcement learning problems either improves or matches the best-known sample complexity in the respective cases. Our results explain why simple SGD-type algorithms in stochastic nested problems all work very well in practice without the need for further modifications.
|
| 14 |
+
|
| 15 |
+
# 1 Introduction
|
| 16 |
+
|
| 17 |
+
Stochastic gradient descent (SGD) methods [1] are prevalent in solving large-scale machine learning problems. Often, SGD is applied to solve stochastic problems with a relatively simple structure. Specifically, applying SGD to minimize the function $\mathbb { E } _ { \xi } ^ { - } \left[ f ( x ; \xi ) \right]$ over the variable $x \in \mathbb { R } ^ { d }$ , we have the iterative update $\boldsymbol { x } ^ { k + 1 } = \boldsymbol { x } ^ { k } - \alpha \nabla f ( x ^ { k } ; \xi ^ { k } )$ , where $\alpha > 0$ is the stepsize and $\nabla f ( x ^ { k } ; \xi ^ { k } )$ is the stochastic gradient at the iterate $x ^ { k }$ and the sample $\xi ^ { k }$ . However, many problems in machine learning today, such as meta learning, deep learning, hyper-parameter optimization, and reinforcement learning, go beyond the above simple minimization structure (termed the non-nested problem thereafter). For example, the objective function may be the compositions of multiple functions, where each composition may introduce an additional expectation [2]; and, the objective function may depend on the solution of another optimization problem [3]. In these problems, how to apply SGD and the efficiency of running SGD are not fully understood.
|
| 18 |
+
|
| 19 |
+
To answer these questions, in this paper, we consider the following form of stochastic nested optimization problems, which is a generalization of the non-nested problems, given by
|
| 20 |
+
|
| 21 |
+
$$
|
| 22 |
+
\begin{array} { r l } { \underset { x \in \mathbb { R } ^ { d } } { \operatorname* { m i n } } } & { F ( x ) : = \mathbb { E } _ { \xi } \left[ f \left( x , y ^ { * } ( x ) ; \xi \right) \right] } \\ { \mathrm { s . t . ~ } } & { y ^ { * } ( x ) = \underset { y \in \mathbb { R } ^ { d ^ { \prime } } } { \operatorname { a r g m i n } } \ \mathbb { E } _ { \phi } [ g ( x , y ; \phi ) ] } \end{array}
|
| 23 |
+
$$
|
| 24 |
+
|
| 25 |
+
where $f$ and $g$ are differentiable functions; and, $\xi$ and $\phi$ are random variables. In the optimization literature [4–6], the problem (1) is referred to as the stochastic bilevel problem, where the upper-level optimization problem depends on the solution of the lower-level optimization over $y \in \mathbb { R } ^ { d ^ { \prime } }$ , denoted as $y ^ { \ast } ( x )$ , which depends on the value of upper-level variable $\boldsymbol { x } \in \mathbb { R } ^ { d }$ .
|
| 26 |
+
|
| 27 |
+
The stochastic bilevel nested problem (1) encompasses two popular formulations with the nested structure: stochastic min-max problems and stochastic compositional problems. Therefore, results on the general nested problem (1) will also imply the results in the special cases. For example, if the lower-level objective $g$ is the negative of the upper-level objective $f$ , i.e., $g ( x , y ; \phi ) : = - \bar { f } ( x , y ; \xi )$ , the stochastic bilevel problem (1) reduces to the stochastic min-max problem
|
| 28 |
+
|
| 29 |
+
$$
|
| 30 |
+
\operatorname { I f } g ( x , y ; \phi ) : = - f ( x , y ; \xi ) \quad \Rightarrow \quad \operatorname* { m i n } _ { x \in \mathbb { R } ^ { d } } F ( x ) : = \operatorname* { m a x } _ { y \in \mathbb { R } ^ { d ^ { \prime } } } \mathbb { E } _ { \xi } \left[ f ( x , y ; \xi ) \right] .
|
| 31 |
+
$$
|
| 32 |
+
|
| 33 |
+
Motivated by applications in zero-sum games, adversarial learning and training GANs, significant efforts have been recently made for solving the stochastic min-max problem; see e.g., [7–11].
|
| 34 |
+
|
| 35 |
+
For example, if the upper-level objective $f$ is only a function of $y$ , i.e., $f ( x , y ; \xi ) : = f ( y ; \xi )$ , and the lower-level objective $g$ is a quadratic function of $y$ , i.e., $g ( x , y ; \phi ) : = \| y - h ( x ; \phi ) \| ^ { 2 }$ with a smooth function $h$ of $x$ , then the variable $y ^ { * } ( x )$ admits a closed-form solution, and thus the stochastic bilevel problem (1) reduces to the stochastic compositional problem [12–14]
|
| 36 |
+
|
| 37 |
+
$$
|
| 38 |
+
\mathrm { I f } \ g ( x , y ; \phi ) : = \| y - h ( x ; \phi ) \| ^ { 2 } \quad \Rightarrow \quad \operatorname* { m i n } _ { x \in \mathbb { R } ^ { d } } \ F ( x ) : = \mathbb { E } _ { \xi } \left[ f \big ( \mathbb { E } _ { \phi } [ h ( x ; \phi ) ] ; \xi \big ) \right] .
|
| 39 |
+
$$
|
| 40 |
+
|
| 41 |
+
Stochastic compositional problems in the form of (3) have been studied in the applications in model-agnostic meta learning and policy evaluation in reinforcement learning; see e.g., [2, 15].
|
| 42 |
+
|
| 43 |
+
To solve the nested problem (1) by SGD, one natural solution is to apply alternating SGD updates on $x$ and $y$ based on their stochastic gradients
|
| 44 |
+
|
| 45 |
+
$$
|
| 46 |
+
y ^ { k + 1 } = y ^ { k } - \beta _ { k } h _ { g } ^ { k } ~ \mathrm { a n d } ~ x ^ { k + 1 } = x ^ { k } - \alpha _ { k } h _ { f } ^ { k }
|
| 47 |
+
$$
|
| 48 |
+
|
| 49 |
+
where $h _ { g } ^ { k }$ is the unbiased stochastic gradient of $\mathbb { E } _ { \phi } [ g ( x ^ { k } , y ^ { k } ; \phi ) ]$ and $h _ { f } ^ { k }$ is the (possibly biased) stochastic gradient of $F ( x ^ { k } )$ ; and, $\beta _ { k }$ and $\alpha _ { k }$ are the stepsizes. A key challenge of running (4) for the nested problem is that (stochastic) gradient of the upper-level variable $x$ is prohibitively expensive to compute. As we will show later, computing an unbiased stochastic gradient of $F ( x )$ requires solving the lower-level problem exactly to obtain $y ^ { * } ( x )$ .
|
| 50 |
+
|
| 51 |
+
An accurate stochastic gradient $h _ { f } ^ { k }$ can be obtained in roughly three ways. One way is to run SGD updates on $y ^ { k }$ multiple times before updating $x ^ { k }$ , which yields a double-loop algorithm. To guarantee convergence, it typically requires either the increasing number of lower-level $y$ -update or the growing number of batch size to estimate $h _ { g } ^ { k }$ ; see e.g., [16, 17]. The second way is to update $y ^ { k }$ in a timescale faster than that of $x ^ { k }$ so that $x ^ { k }$ is relatively static with respect to $y ^ { k }$ ; i.e., $\scriptstyle \operatorname* { l i m } _ { k \to \infty } \alpha _ { k } / \beta _ { k } = 0$ ; see e.g., [18]. The third way is to modify the direction $h _ { g } ^ { k }$ of $y ^ { k }$ by incorporating additional correction term, which adds extra computation burden; see e.g., [19]. At a high level, these modifications either deviate from the lightweight implementation of SGD or sacrifice the sample complexity of SGD.
|
| 52 |
+
|
| 53 |
+
To this end, the main goal of this paper is to study the efficiency of running the vanilla alternating SGD (4) for the nested problem (1) and its implications on the special problem classes (2)-(3).
|
| 54 |
+
|
| 55 |
+
# 1.1 Main results
|
| 56 |
+
|
| 57 |
+
This paper analyzes a unifying algorithm for the stochastic bilevel problems that runs SGD on each variable alternatingly. We provide sample complexity that matches the complexity of SGD for single-level stochastic problems. Our results explain why SGD-type algorithms in stochastic bilevel, min-max, and compositional problems work very well in practice without modifications, including correction, increasing batch size, and two-timescale stepsizes.
|
| 58 |
+
|
| 59 |
+
In the context of existing methods, our contributions can be summarized as follows.
|
| 60 |
+
|
| 61 |
+
C1) We connect three different classes of stochastic nested optimization problems (stochastic compositional, min-max, and bilevel optimization), and unify three popular SGD-type updates for the respective problems into a single SGD-type method. We call it the ALternating Stochastic gradient dEscenT (ALSET) method.
|
| 62 |
+
|
| 63 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>ALSET</td><td rowspan=1 colspan=1>BSA</td><td rowspan=1 colspan=1>TTSA</td><td rowspan=1 colspan=1>stocBiO</td><td rowspan=1 colspan=1>STABLE</td><td rowspan=1 colspan=1>SUSTAIN/RSVRB</td></tr><tr><td rowspan=1 colspan=1>batch size</td><td rowspan=1 colspan=1>0(1)</td><td rowspan=1 colspan=1>0(1)</td><td rowspan=1 colspan=1>0(1)</td><td rowspan=1 colspan=1>0(c-1)</td><td rowspan=1 colspan=1>0(1)</td><td rowspan=1 colspan=1>0(1)</td></tr><tr><td rowspan=1 colspan=1>y-update</td><td rowspan=1 colspan=1>SGD</td><td rowspan=1 colspan=1>O(c-))SGD steps</td><td rowspan=1 colspan=1>SGD</td><td rowspan=1 colspan=1>SGD</td><td rowspan=1 colspan=1>correction</td><td rowspan=1 colspan=1>momentum</td></tr><tr><td rowspan=1 colspan=1> samples in gsamples in</td><td rowspan=1 colspan=1>(5∈-2)(-2)</td><td rowspan=1 colspan=1>(k-2)(-3)</td><td rowspan=1 colspan=1>O(KPe-(P-</td><td rowspan=1 colspan=1>(5∈-2)(-2)</td><td rowspan=1 colspan=1>O(KPe-2)O(KPe-2)</td><td rowspan=1 colspan=1>O(KP-2)(P</td></tr></table>
|
| 64 |
+
|
| 65 |
+
Table 1: Sample complexity of stochastic bilevel algorithms (BSA in [16], TTSA in [18], stocBiO in [17], STABLE in [19], SUSTAIN in [25], RSVRB in [26]) to achieve an $\epsilon$ -stationary point of $F ( x )$ ; the notation $\widetilde { \mathcal { O } } ( \cdot )$ hides the terms of $\log \epsilon ^ { - 1 }$ ; the notation $\kappa ^ { p }$ denotes a polynomial function of $\kappa$ since the dependence on $\kappa$ is not explicit in [18, 19, 25, 26].
|
| 66 |
+
|
| 67 |
+
C2) Under the same assumptions made in most of the previous work, we discover that the solution of the lower-level problem is smooth – a property that is overlooked by the previous analyses. By leveraging the hidden smoothness, we present a tighter analysis of ALSET for the stochastic bilevel problems. Under the new analysis, to achieve an $\epsilon$ -stationary point of the nested problem, ALSET requires $\mathcal { O } ( \epsilon ^ { - 2 } )$ samples in total, rather than the $\mathcal { O } \dot { ( \epsilon ^ { - 5 / 2 } ) }$ sample complexity in the existing literature.
|
| 68 |
+
C3) We further customize the analysis to the two special cases – the compositional and min-max problems, and establish the improved sample complexity relative to that in the literature. We apply a new analysis to the celebrated actor-critic method for reinforcement learning problems. Under some regularity conditions, we show that, to achieve an $\epsilon$ -stationary point, the single-loop actor-critic method requires $\mathcal { O } ( \epsilon ^ { - 2 } )$ samples with i.i.d. sampling, which improves the best-known result of $\mathcal { O } ( \epsilon ^ { - 5 / 2 } )$ in the literature.
|
| 69 |
+
|
| 70 |
+
# 1.2 Other related works
|
| 71 |
+
|
| 72 |
+
To put our work in context, we review prior art that we group in the following three categories.
|
| 73 |
+
|
| 74 |
+
Stochastic bilevel optimization. We can trace the study of bilevel optimization to the 1950s [20]. Many recent efforts have been made to solve the bilevel problems. One successful approach is to reformulate the bilevel problem as a single-level problem by replacing the lower-level problem by its optimality conditions [4, 5]. Recently, gradient-based methods for bilevel optimization have gained popularity. They iteratively approximate the (stochastic) gradient of the upper-level problem either in a forward or backward manner [21, 3, 22, 23]. Recent work has also studied the case where the lower-level problem does not have a unique solution [24].
|
| 75 |
+
|
| 76 |
+
The non-asymptotic analysis of bilevel optimization algorithms has been recently studied in some pioneering works, e.g., [16, 18, 17], just to name a few. In both [16, 17], bilevel stochastic optimization algorithms have been developed that run in a double-loop manner. To achieve an $\epsilon$ -stationary point, they only need the sample complexities $\mathcal { O } ( \epsilon ^ { - 3 } )$ and $\mathcal { O } ( \epsilon ^ { - 2 } )$ , respectively, comparable to that of SGD for the single-level case. Recently, a single-loop two-timescale stochastic approximation algorithm has been developed in [18] for the bilevel problem (1). Due to the nature of the two-timescale update, it incurs the sub-optimal sample complexity $\mathcal { O } ( \epsilon ^ { - 5 / 2 } )$ . A single-loop single-timescale stochastic bilevel optimization method has been recently developed in [19]. While the method can achieve the sample complexity $\mathcal { O } ( \epsilon ^ { - 2 } )$ , the resultant update on $y$ needs extra matrix projection, which can be costly. Very recently, the momentum-based acceleration has been incorporated into both the $x$ - and $y$ -updates in [25, 26] and also in [27] after our submission to the conference, where the new algorithms therein enjoy an improved sample complexity $\mathcal { O } ( \epsilon ^ { - 3 / 2 } )$ . However, these results cannot imply the $\mathcal { O } ( \epsilon ^ { - 2 } )$ sample complexity of the alternating SGD update (4), and are orthogonal to our results. A comparison of our results with prior work can be found in Table 1.
|
| 77 |
+
|
| 78 |
+
Stochastic min-max optimization. In the context of min-max problems, the alternating version of the stochastic gradient descent ascent (GDA) method can be viewed as the alternating SGD updates (4) for the special nested problem (2). To mitigate the cycling behavior of GDA for convex-concave min-max problems, several variants have been developed by incorporating the idea of optimism; see e.g., [7, 8, 11, 29]. The analysis of stochastic GDA in the nonconvex-strongly concave setting is closely related to this paper; e.g., [9, 10, 30, 28]. Specifically, for stochastic GDA (SGDA), the $\mathcal { O } ( \epsilon ^ { - 2 } )$ sample complexity has been established in [28] under an increasing batch size $\mathcal { O } ( \epsilon ^ { - 1 } )$ . As highlighted in [28], how to achieve the $\mathcal { O } ( \epsilon ^ { - 2 } )$ sample complexity under an $\mathcal { O } ( 1 )$ constant batch size remains open. The reduction of our results to the min-max setting will provide an answer to this open question. In the same setting, accelerated GDA algorithms have been developed in [31–33]. Going beyond the one-side concave settings, algorithms and their convergence analysis have been studied for nonconvex-nonconcave min-max problems with certain benign structure; see e.g., [8, 34–36]. A comparison of our results with prior work can be found in Table 2.
|
| 79 |
+
|
| 80 |
+
Stochastic compositional optimization. Stochastic compositional gradient algorithms developed in [12, 37] can be viewed as the alternating SGD updates (4) for the special compositional problem (3). However, to ensure convergence, the algorithms [12, 37] use two sequences of variables being updated in two different time scales, and thus the complexity of [12] and [37] is worse than $\mathcal { O } ( \epsilon ^ { - 2 } )$ of SGD for the non-compositional case. While most of existing algorithms rely on either two-timescale updates, the single-timescale single-loop approaches have been recently developed in [14, 38, 39], which achieve the sample complexity $\bar { \mathcal { O } } \bar { ( } \epsilon ^ { - 2 } \bar { ) }$ , same as SGD for the non-nested problems. However, the algorithms proposed therein are not the vanilla alternating SGD update in the sense of (4). Other related compositional algorithms also include [40–42]. A comparison can be found in Table 3.
|
| 81 |
+
|
| 82 |
+
Organization. The basic background of bilevel optimization is reviewed, and the tighter analysis of the unifying ALSET method is presented in Section 2. The reduction of the main results to the special stochastic nested problems is provided in Section 3, and its applications to the actor-critic method are discussed in Section 4, followed by the conclusions in Section 5.
|
| 83 |
+
|
| 84 |
+
# 2 Improved Analysis of Alternating Stochastic Gradient Method
|
| 85 |
+
|
| 86 |
+
In this section, we will first provide background of bilevel problems and then introduce ALSET for stochastic nested problems.
|
| 87 |
+
|
| 88 |
+
# 2.1 Preliminaries
|
| 89 |
+
|
| 90 |
+
We use $\| \cdot \|$ to denote the $\ell _ { 2 }$ norm for vectors and Frobenius norm for matrices. For convenience, we define the deterministic functions as $g ( x , y ) : = \mathbb { E } _ { \phi } [ g ( x , y ; \phi ) ]$ and $f ( x , y ) : = \mathbb { E } _ { \xi } [ f ( x , y ; \xi ) ]$ .
|
| 91 |
+
|
| 92 |
+
We also define $\nabla _ { y y } ^ { 2 } g \big ( x , y \big )$ as the Hessian matrix of $g$ with respect to $y$ and define $\nabla _ { x y } ^ { 2 } g \left( x , y \right)$ as
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
\nabla _ { x y } ^ { 2 } g ( x , y ) : = \left[ \begin{array} { l l l } { \frac { \partial ^ { 2 } } { \partial x _ { 1 } \partial y _ { 1 } } g ( x , y ) } & { \cdot \cdot \cdot } & { \frac { \partial ^ { 2 } } { \partial x _ { 1 } \partial y _ { d ^ { \prime } } } g ( x , y ) } \\ & { \cdot \cdot \cdot } \\ { \frac { \partial ^ { 2 } } { \partial x _ { d } \partial y _ { 1 } } g ( x , y ) } & { \cdot \cdot \cdot } & { \frac { \partial ^ { 2 } } { \partial x _ { d } \partial y _ { d ^ { \prime } } } g ( x , y ) } \end{array} \right] .
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
We make the following assumptions, which are common in the bilevel optimization literature [16– 18, 26].
|
| 99 |
+
|
| 100 |
+
Assumption 1 (Lipschitz continuity). Assume that $f , \nabla f , \nabla g , \nabla ^ { 2 } g$ are respectively $\ell _ { f , 0 } .$ , $\ell _ { f , 1 } , \ell _ { g , 1 } , \ell _ { g , 2 }$ -Lipschitz continuous; that is, for $z _ { 1 } : = [ x _ { 1 } ; y _ { 1 } ]$ , $z _ { 2 } : = [ x _ { 2 } ; y _ { 2 } ]$ , we have $\parallel f ( x _ { 1 } , y _ { 1 } ) -$ $\begin{array} { r c l } { f ( x _ { 2 } , y _ { 2 } ) \| ^ { - } \le } & { \ell _ { f , 0 } \| z _ { 1 } - z _ { 2 } \| , \| \nabla f ( x _ { 1 } , y _ { 1 } ) - \nabla f ( x _ { 2 } , y _ { 2 } ) \| } & { \le } & { \ell _ { f , 1 } \| z _ { 1 } - x _ { 2 } \| , } \end{array}$ $\nabla g ( x _ { 2 } , y _ { 2 } ) \| \leq \ell _ { g , 1 } \| z _ { 1 } - z _ { 2 } \|$ , $\begin{array} { r } { \| \nabla ^ { 2 } g ( x _ { 1 } , y _ { 1 } ) - \nabla ^ { 2 } g ( x _ { 2 } , y _ { 2 } ) \| \le \ell _ { g , 2 } \| z _ { 1 } - z _ { 2 } \| . } \end{array}$ .
|
| 101 |
+
|
| 102 |
+
Assumption 2 (Strong convexity of $g$ in $y$ ). For any fixed $x$ , $g ( x , y )$ is $\mu _ { g }$ -strongly convex in $y$
|
| 103 |
+
|
| 104 |
+
Assumptions 1 and 2 together ensure that the first- and second-order derivations of $f ( x , y ) , g ( x , y )$ as well as the solution mapping $y ^ { \ast } ( x )$ , are well-behaved. Define the condition number $\kappa : = \ell _ { g , 1 } / \mu _ { g }$
|
| 105 |
+
|
| 106 |
+
Assumption 3 (Stochastic derivatives). The stochastic derivatives $\nabla f ( x , y ; \xi )$ , $\nabla g ( x , y ; \phi )$ , $\nabla ^ { 2 } g ( x , \mathbf { \bar { y } } , \phi )$ are unbiased estimators of $\nabla f ( x , y )$ , $\nabla g ( x , y )$ , $\nabla ^ { 2 } g ( x , y )$ , respectively; and their variances are bounded by $\sigma _ { f } ^ { 2 } , \sigma _ { g , 1 } ^ { 2 }$ , $\sigma _ { g , 2 } ^ { 2 }$ , respectively.
|
| 107 |
+
|
| 108 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>ALSET</td><td rowspan=1 colspan=1>SCGD</td><td rowspan=1 colspan=1>NASA</td></tr><tr><td rowspan=1 colspan=1>batch size</td><td rowspan=1 colspan=1>0(1)</td><td rowspan=1 colspan=1>0(1)</td><td rowspan=1 colspan=1>0(1)</td></tr><tr><td rowspan=1 colspan=1>y-update</td><td rowspan=1 colspan=1>SGD</td><td rowspan=1 colspan=1>SGD</td><td rowspan=1 colspan=1>correction</td></tr><tr><td rowspan=1 colspan=1>samples</td><td rowspan=1 colspan=1>O(c-²)</td><td rowspan=1 colspan=1>0(c-4)</td><td rowspan=1 colspan=1>O(c-2)</td></tr></table>
|
| 109 |
+
|
| 110 |
+
Table 2: Sample complexity of stochastic minmax algorithms (BSA in [16], GDA in [28], SMD in [9]) to achieve an $\epsilon$ -stationary point of $F ( x )$ .
|
| 111 |
+
|
| 112 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>ALSET</td><td rowspan=1 colspan=1>SGDA</td><td rowspan=1 colspan=1>SMD</td></tr><tr><td rowspan=1 colspan=1>batch size</td><td rowspan=1 colspan=1>0(1)</td><td rowspan=1 colspan=1>0(e-1)</td><td rowspan=1 colspan=1>1</td></tr><tr><td rowspan=1 colspan=1>y-update</td><td rowspan=1 colspan=1>SGD</td><td rowspan=1 colspan=1>SGD</td><td rowspan=1 colspan=1>subproblem</td></tr><tr><td rowspan=1 colspan=1>samples</td><td rowspan=1 colspan=1>O(kc-2)</td><td rowspan=1 colspan=1>O(κ³-²)</td><td rowspan=1 colspan=1>O(k³-2)</td></tr></table>
|
| 113 |
+
|
| 114 |
+
Table 3: Sample complexity of stochastic compositional algorithms (SCGD in [12], NASA in [14]) to achieve an $\epsilon$ -stationary point of $F ( x )$ .
|
| 115 |
+
|
| 116 |
+
Assumptions 2 and 3 together imply that the second moments are bounded by
|
| 117 |
+
|
| 118 |
+
$$
|
| 119 |
+
\begin{array} { r l } & { \mathbb { E } _ { \xi } [ \| \nabla f ( x , y ; \xi ) \| ^ { 2 } ] \le \ell _ { f , 0 } ^ { 2 } + \sigma _ { f } ^ { 2 } : = C _ { f } ^ { 2 } } \\ & { \mathbb { E } _ { \phi } [ \| \nabla ^ { 2 } g ( x , y ; \phi ) \| ^ { 2 } ] \le \ell _ { g , 1 } ^ { 2 } + \sigma _ { g , 2 } ^ { 2 } : = C _ { g } ^ { 2 } . } \end{array}
|
| 120 |
+
$$
|
| 121 |
+
|
| 122 |
+
Assumption 3 is the counterpart of the unbiasedness and bounded variance assumption in the singlelevel stochastic optimization. In addition, the bounded moments in Assumption 3 ensure the Lipschitz continuity of the upper-level gradient $\nabla F ( x )$ .
|
| 123 |
+
|
| 124 |
+
We first highlight the inherent challenge of directly applying the alternating SGD method to the bilevel problem (1). To illustrate this point, we derive the gradient of the upper-level function $F ( x )$ in the next proposition; see the proof in the supplementary document.
|
| 125 |
+
|
| 126 |
+
Proposition 1. Under Assumptions $_ { I - 3 }$ , we have the gradients
|
| 127 |
+
|
| 128 |
+
$$
|
| 129 |
+
\begin{array} { r } { \nabla F ( x ) = \nabla _ { x } f ( x , y ^ { * } ( x ) ) - \nabla _ { x y } ^ { 2 } g ( x , y ^ { * } ( x ) ) \left[ \nabla _ { y y } ^ { 2 } g ( x , y ^ { * } ( x ) ) \right] ^ { - 1 } \nabla _ { y } f ( x , y ^ { * } ( x ) ) . } \end{array}
|
| 130 |
+
$$
|
| 131 |
+
|
| 132 |
+
urthermore, $\nabla F ( x )$ and $y ^ { * } ( x )$ are Lipschitz continuous with constants $L _ { F } , L _ { y }$ , respectively.
|
| 133 |
+
|
| 134 |
+
Notice that obtaining an unbiased stochastic estimate of $\nabla F ( x )$ and applying SGD on $x$ face two main difficulties: i) the gradient $\nabla F ( x )$ at $x$ depends on the minimizer of the lower-level problem $y ^ { \ast } ( x )$ ; ii) even if $y ^ { * } ( x )$ is known, it is hard to apply the stochastic approximation to obtain an unbiased estimate of $\dot { \nabla } F ( { \boldsymbol { x } } )$ since $\nabla F ( x )$ is nonlinear in $\nabla _ { y y } ^ { 2 } g ( x , y ^ { * } ( x ) )$ .
|
| 135 |
+
|
| 136 |
+
Similar to some existing stochastic bilevel algorithms [16, 18, 17], we evaluate $\nabla F ( x )$ on a certain vector $y$ in place of $y ^ { * } ( x )$ . Replacing the $y ^ { * } ( x )$ in definition (6) by $y$ , we define
|
| 137 |
+
|
| 138 |
+
$$
|
| 139 |
+
\overline { { \nabla } } _ { x } f \big ( x , y \big ) : = \nabla _ { x } f \big ( x , y \big ) - \nabla _ { x y } ^ { 2 } g \big ( x , y \big ) \left[ \nabla _ { y y } ^ { 2 } g \big ( x , y \big ) \right] ^ { - 1 } \nabla _ { y } f \big ( x , y \big ) .
|
| 140 |
+
$$
|
| 141 |
+
|
| 142 |
+
And to reduce the bias in (7), we estimate $\left[ \nabla _ { y y } ^ { 2 } g ( x , y ) \right] ^ { - 1 }$ via
|
| 143 |
+
|
| 144 |
+
$$
|
| 145 |
+
\left[ \nabla _ { y y } ^ { 2 } g ( x , y ) \right] ^ { - 1 } \approx \Big [ \frac { N } { \ell _ { g , 1 } } \prod _ { n = 1 } ^ { N ^ { \prime } } \Big ( I - \frac { 1 } { \ell _ { g , 1 } } \nabla _ { y y } ^ { 2 } g ( x , y ; \phi _ { ( n ) } ) \Big ) \Big ]
|
| 146 |
+
$$
|
| 147 |
+
|
| 148 |
+
where $N ^ { \prime }$ is drawn from $\{ 1 , 2 , \ldots , N \}$ uniformly at random and $\{ \phi ^ { ( 1 ) } , \dots , \phi ^ { ( N ^ { \prime } ) } \}$ are i.i.d. samples. It has been shown in [16] that using (8), the estimation bias of $\left[ \nabla _ { y y } ^ { 2 } g ( x , y ) \right] ^ { - 1 }$ exponentially decreases with the number of samples $N$ .
|
| 149 |
+
|
| 150 |
+
# 2.2 Main results: Tighter analysis of ALSET
|
| 151 |
+
|
| 152 |
+
In this subsection, we first describe the general ALSET algorithm for the stochastic bilevel problem, and then present its new convergence result.
|
| 153 |
+
|
| 154 |
+
This algorithm is very simple to implement. At each iteration $k$ , ALSET alternates between the stochastic gradient update on $y ^ { k }$ and that on $x ^ { k }$ . Although it is possible that $T = 1$ , for generality, we run $T$ steps of SGD on
|
| 155 |
+
|
| 156 |
+
# Algorithm 1 ALSET for the stochastic bilevel problem (1)
|
| 157 |
+
|
| 158 |
+
1: initialize: $x ^ { 0 } , y ^ { 0 }$ , stepsizes $\{ \alpha _ { k } , \beta _ { k } \}$ .
|
| 159 |
+
2: for $k = 0 , 1 , \ldots , K - 1$ do
|
| 160 |
+
3: for $t = 0 , 1 , \dots , T - 1$ do
|
| 161 |
+
4: update $y ^ { k , t + 1 } = y ^ { k , t } - \beta _ { k } h _ { g } ^ { k , t }$ . set $y ^ { k , 0 } = y ^ { k }$
|
| 162 |
+
5: end for
|
| 163 |
+
6: update $x ^ { k + 1 } = x ^ { k } - \alpha _ { k } h _ { f } ^ { k } \qquad \Join$
|
| 164 |
+
7: end for
|
| 165 |
+
|
| 166 |
+
the lower-level variable $y ^ { k }$ before updating upper-level variable $x ^ { k }$ . With $\alpha _ { k }$ and $\beta _ { k }$ denoting the stepsizes of $x ^ { k }$ and $y ^ { k }$ that decrease at the same rate as SGD, the ALSET update is
|
| 167 |
+
|
| 168 |
+
$$
|
| 169 |
+
\begin{array} { r l } & { y ^ { k , t + 1 } = y ^ { k , t } - \beta _ { k } h _ { g } ^ { k , t } , t = 0 , \ldots , T \quad \mathrm { w i t h } y ^ { k , 0 } : = y ^ { k } ; y ^ { k + 1 } : = y ^ { k , T } } \\ & { x ^ { k + 1 } = x ^ { k } - \alpha _ { k } h _ { f } ^ { k } } \end{array}
|
| 170 |
+
$$
|
| 171 |
+
|
| 172 |
+
where the update direction of $y$ is the stochastic gradient $h _ { g } ^ { k , t } : = \nabla _ { y } g ( x ^ { k } , y ^ { k , t } ; \phi ^ { k , t } )$ ; and, with the Hessian inverse estimator (8), the update direction of $x$ is the slightly biased gradient
|
| 173 |
+
|
| 174 |
+
$$
|
| 175 |
+
\begin{array} { r l } & { \boldsymbol { h } _ { f } ^ { k } : = \nabla _ { \boldsymbol { x } } f ( \boldsymbol { x } ^ { k } , \boldsymbol { y } ^ { k + 1 } ; \boldsymbol { \xi } ^ { k } ) } \\ & { \qquad - \nabla _ { \boldsymbol { x } \boldsymbol { y } } ^ { 2 } g ( \boldsymbol { x } ^ { k } , \boldsymbol { y } ; \phi _ { ( 0 ) } ^ { k } ) \Bigl [ \frac { N } { \ell _ { g , 1 } } \displaystyle \prod _ { n = 1 } ^ { N ^ { \prime } } \left( I - \frac { 1 } { \ell _ { g , 1 } } \nabla _ { \boldsymbol { y } \boldsymbol { y } } ^ { 2 } g ( \boldsymbol { x } ^ { k } , \boldsymbol { y } ^ { k + 1 } ; \phi _ { ( n ) } ^ { k } ) \right) \Bigr ] \nabla _ { \boldsymbol { y } } f ( \boldsymbol { x } ^ { k } , \boldsymbol { y } ^ { k + 1 } ; \boldsymbol { \xi } ^ { k } ) . } \end{array}
|
| 176 |
+
$$
|
| 177 |
+
|
| 178 |
+
The alternating update (9) serves as a template for running SGD on stochastic nested problems. As we will show in the subsequent sections, we can generate stochastic algorithms for min-max, compositional, and even reinforcement learning problems following (9) as a template, but they differ in the particular forms of the stochastic gradients $h _ { g } ^ { k } , h _ { f } ^ { k }$ for the specific upper- and lower-level objective functions. See Algorithm 1 for a summary of ALSET for the bilevel problem.
|
| 179 |
+
|
| 180 |
+
Comparison between ALSET with existing works. Readers who are familiar with recent developments on stochastic optimization for bilevel problems may readily recognize the similarities between the general ALSET update (1) that we will analyze and the SGD-based updates in BSA [16], TTSA [18] and stocBiO [17]. However, the update (1) is different from BSA in that the number of $y$ -update, denoted as $T$ , is a constant in (1) that does not grow with the accuracy $\epsilon ^ { - 1 }$ ; the update (1) is different from stocBiO in that the stochastic gradient $h _ { g } ^ { k , \bar { t } }$ used in the $y$ -update (9a) is obtained by a fixed batch size that does not depend on the accuracy $\epsilon ^ { - 1 }$ ; and, the update (1) is different from TTSA in that the stepsizes $\alpha _ { k }$ and $\beta _ { k }$ in (9) decrease at the same timescale.
|
| 181 |
+
|
| 182 |
+
We next present the convergence result of ALSET.
|
| 183 |
+
|
| 184 |
+
Theorem 1 (Bilevel problems). Suppose Assumptions $_ { I - 3 }$ hold. Define the constants as
|
| 185 |
+
|
| 186 |
+
$$
|
| 187 |
+
\bar { \alpha } _ { 1 } = \frac { 1 } { 2 L _ { F } + 4 L _ { f } L _ { y } + \frac { 2 L _ { f } L _ { y x } } { L _ { y } \eta } } , \bar { \alpha } _ { 2 } = \frac { 1 6 T \mu _ { g } \ell _ { g , 1 } } { ( \mu _ { g } + \ell _ { g , 1 } ) ^ { 2 } ( 8 L _ { f } L _ { y } + 2 \eta L _ { y x } \tilde { C } _ { f } ^ { 2 } \bar { \alpha } _ { 1 } ) }
|
| 188 |
+
$$
|
| 189 |
+
|
| 190 |
+
where $\eta > 0$ is a control constant that will be specified in each special case to achieve the best sample complexity. With $\alpha > 0$ being a control constant that will be specified later, choose the stepsizes as
|
| 191 |
+
|
| 192 |
+
$$
|
| 193 |
+
\alpha _ { k } = \operatorname* { m i n } \left\{ \bar { \alpha } _ { 1 } , \bar { \alpha } _ { 2 } , \frac { \alpha } { \sqrt { K } } \right\} \mathrm { a n d } \beta _ { k } = \frac { 8 L _ { f } L _ { y } + 2 \eta L _ { y x } \tilde { C } _ { f } ^ { 2 } \bar { \alpha } _ { 1 } } { 4 T \mu _ { g } } \alpha _ { k } .
|
| 194 |
+
$$
|
| 195 |
+
|
| 196 |
+
For any $T \geq 1$ and $N = \mathcal { O } ( \log K )$ , the iterates $\{ x ^ { k } , y ^ { k } \}$ generated by Algorithm $I$ satisfy
|
| 197 |
+
|
| 198 |
+
$$
|
| 199 |
+
\frac { 1 } { K } \sum _ { k = 1 } ^ { K } \mathbb { E } \left[ \left. \nabla F ( x ^ { k } ) \right. ^ { 2 } \right] = \mathcal { O } \Big ( \frac { 1 } { \sqrt { K } } \Big ) \ \mathrm { ~ a n d ~ } \ \mathbb { E } \left[ \left. y ^ { K } - y ^ { * } ( x ^ { K } ) \right. ^ { 2 } \right] = \mathcal { O } \Big ( \frac { 1 } { \sqrt { K } } \Big )
|
| 200 |
+
$$
|
| 201 |
+
|
| 202 |
+
where $y ^ { * } ( x ^ { K } )$ is the minimizer of the lower-level problem in (1b).
|
| 203 |
+
|
| 204 |
+
Proposition 2. Under the same assumptions and the choice of parameters of Theorem $^ { l }$ , with $\begin{array} { r } { \kappa : = { \frac { \ell _ { g , 1 } } { \mu _ { g } } } } \end{array}$ \`g,1µg being the condition number, select α = Θ(κ−5/2), T = Θ(κ4), η = O(κ) in (12), and then
|
| 205 |
+
|
| 206 |
+
$$
|
| 207 |
+
\frac { 1 } { K } \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } [ \| \nabla F ( x ^ { k } ) \| ^ { 2 } ] = \mathcal { O } \left( \frac { \kappa ^ { 3 } } { K } + \frac { \kappa ^ { \frac { 5 } { 2 } } } { \sqrt { K } } \right) .
|
| 208 |
+
$$
|
| 209 |
+
|
| 210 |
+
Discussion of Theorem 1. To achieve $\epsilon$ -stationary point, we need $K = \mathcal { O } ( \kappa ^ { 5 } \epsilon ^ { - 2 } )$ , and the number of evaluations of $h _ { f } ^ { k } , h _ { g } ^ { k , t }$ are $\mathcal { O } ( \kappa ^ { 5 } \epsilon ^ { - 2 } )$ and $\mathcal { O } ( \kappa ^ { 9 } \epsilon ^ { - 2 } )$ , respectively. Therefore, the sample complexity is on the same order of SGD’s sample complexity for the single-level nonconvex problems [43], and improves the state-of-the-art single-loop TTSA’s sample complexity $\mathcal { O } ( \epsilon ^ { - 5 / 2 } )$ [18]. Compared to [17], ALSET achieves the same sample complexity in terms of both $\epsilon$ and $\kappa$ , without using a growing batch size. Importantly, we obtain this tighter bound without introducing additional assumptions.
|
| 211 |
+
|
| 212 |
+
# 2.3 Proof sketch
|
| 213 |
+
|
| 214 |
+
In this subsection, we highlight the key steps of the proof towards Theorem 1, and highlight the differences between our analysis and the existing ones.
|
| 215 |
+
|
| 216 |
+
For simplicity, we define the following Lyapunov function as $\begin{array} { r } { \mathbb { V } ^ { k } : = F ( x ^ { k } ) + \frac { L _ { f } } { L _ { y } } \| y ^ { k } - y ^ { * } ( x ^ { k } ) \| ^ { 2 } . } \end{array}$ We first quantify the difference between two Lyapunov functions as
|
| 217 |
+
|
| 218 |
+
$$
|
| 219 |
+
\mathbb { V } ^ { k + 1 } - \mathbb { V } ^ { k } = \underbrace { F ( x ^ { k + 1 } ) - F ( x ^ { k } ) } _ { \mathrm { L e m m a ~ 1 } } + \ \frac { L _ { f } } { L _ { y } } ( \| y ^ { k + 1 } - y ^ { * } ( x ^ { k + 1 } ) \| ^ { 2 } - \| y ^ { k } - y ^ { * } ( x ^ { k } ) \| ^ { 2 } ) .
|
| 220 |
+
$$
|
| 221 |
+
|
| 222 |
+
The difference in (15) consists of two difference terms: the first term quantifies the descent of the overall objective functions; the second term characterizes the descent of the lower-level errors.
|
| 223 |
+
|
| 224 |
+
We will first analyze the descent of the upper-level objective in the next lemma.
|
| 225 |
+
|
| 226 |
+
Lemma 1 (Descent of upper level). Suppose Assumptions $_ { I - 3 }$ hold. Define $\bar { h } _ { f } ^ { k } : = \mathbb { E } [ h _ { f } ^ { k } | x ^ { k } , y ^ { k + 1 } ]$ and $\| \bar { h } _ { f } ^ { k } - \overline { { \nabla } } f ( x ^ { k } , y ^ { k + 1 } ) \| \leq b _ { k }$ . The sequence of $x ^ { k }$ generated by Algorithm $I$ satisfies
|
| 227 |
+
|
| 228 |
+
$$
|
| 229 |
+
\begin{array} { r } { \mathbb { E } [ F ( { x } ^ { k + 1 } ) ] - \mathbb { E } [ F ( { x } ^ { k } ) ] \le - \frac { \alpha _ { k } } { 2 } \mathbb { E } [ \| \nabla F ( { x } ^ { k } ) \| ^ { 2 } ] - \left( \frac { \alpha _ { k } } { 2 } - \frac { L _ { F } \alpha _ { k } ^ { 2 } } { 2 } \right) \mathbb { E } [ \| \bar { h } _ { f } ^ { k } \| ^ { 2 } ] } \\ { + L _ { f } ^ { 2 } \alpha _ { k } \mathbb { E } [ \| y ^ { k + 1 } - y ^ { * } ( { x } ^ { k } ) \| ^ { 2 } ] + \alpha _ { k } b _ { k } ^ { 2 } + \frac { L _ { F } \alpha _ { k } ^ { 2 } } { 2 } \tilde { \sigma } _ { f } ^ { 2 } } \end{array}
|
| 230 |
+
$$
|
| 231 |
+
|
| 232 |
+
where constants $L _ { f } , L _ { F } , \sigma _ { f } ^ { 2 }$ are defined in Lemma 4 of the supplementary document.
|
| 233 |
+
|
| 234 |
+
Lemma 1 implies that the descent of the upper-level objective functions depends on the error of the lower-level variable $y ^ { k }$ . We will next analyze the error of the lower-level variable, which is the key step to improving the existing results.
|
| 235 |
+
|
| 236 |
+
Before we analyze the error of $y ^ { k }$ , we introduce a lemma that characterizes the smoothness of $y ^ { \ast } ( x )$ and the bounded moments of $h _ { f } ^ { k }$ . The smoothness and the bounded moments have not been explored by previous analysis such as [16–18], and they play an essential role in our improved analysis of $y ^ { k }$ .
|
| 237 |
+
|
| 238 |
+
Lemma 2 (Smoothness and boundedness). Under Assumptions $^ { l }$ and 2, we have
|
| 239 |
+
|
| 240 |
+
$$
|
| 241 |
+
\begin{array} { r } { \| \nabla y ^ { * } ( x _ { 1 } ) - \nabla y ^ { * } ( x _ { 2 } ) \| \leq L _ { y x } \| x _ { 1 } - x _ { 2 } \| ; \quad \mathbb { E } [ \| h _ { f } ^ { k } \| ^ { 2 } | x ^ { k } , y ^ { k + 1 } ] \leq \tilde { C } _ { f } ^ { 2 } } \end{array}
|
| 242 |
+
$$
|
| 243 |
+
|
| 244 |
+
where $L _ { y x }$ and $\tilde { C } _ { f } ^ { 2 }$ depend on the constants defined in Assumptions 1-2.
|
| 245 |
+
|
| 246 |
+
Building upon Lemma 2, we establish the progress of the lower-level update.
|
| 247 |
+
|
| 248 |
+
Lemma 3 (Error of lower level). Suppose that Assumptions 1–3 hold, and $y ^ { k + 1 }$ is generated by running iteration (9) given $x ^ { k }$ . If we choose $\begin{array} { r } { \beta _ { k } \le \frac { 2 ^ { \binom { - } { q } } } { \mu _ { g } + \ell _ { g , 1 } } } \end{array}$ , then $y ^ { k + 1 }$ satisfies
|
| 249 |
+
|
| 250 |
+
$$
|
| 251 |
+
\begin{array} { r l } & { \mathbb { E } [ \| y ^ { k + 1 } - y ^ { * } ( x ^ { k } ) \| ^ { 2 } ] \leq ( 1 - \mu _ { g } \beta _ { k } ) ^ { T } \mathbb { E } [ \| y ^ { k } - y ^ { * } ( x ^ { k } ) \| ^ { 2 } ] + T \beta _ { k } ^ { 2 } \sigma _ { g , 1 } ^ { 2 } } \\ & { \mathbb { E } [ \| y ^ { k + 1 } - y ^ { * } ( x ^ { k + 1 } ) \| ^ { 2 } ] \leq \Big ( 1 + 4 L _ { f } L _ { y } \alpha _ { k } + \frac { \eta L _ { y x } \tilde { C } _ { f } ^ { 2 } } { 2 } \alpha _ { k } ^ { 2 } \Big ) \mathbb { E } [ \| y ^ { k + 1 } - y ^ { * } ( x ^ { k } ) \| ^ { 2 } ] } \\ & { \qquad + \Big ( L _ { y } ^ { 2 } + \frac { L _ { y } } { 4 L _ { f } \alpha _ { k } } + \frac { L _ { y x } } { 2 \eta } \Big ) \alpha _ { k } ^ { 2 } \mathbb { E } [ \| \bar { h } _ { f } ^ { k } \| ^ { 2 } ] + \Big ( L _ { y } ^ { 2 } + \frac { L _ { y x } } { 2 \eta } \Big ) \alpha _ { k } ^ { 2 } \tilde { \sigma } _ { f } ^ { 2 } } \end{array}
|
| 252 |
+
$$
|
| 253 |
+
|
| 254 |
+
where $\eta > 0$ is a fixed constant that will be chosen to obtain the tighter complexity bound.
|
| 255 |
+
|
| 256 |
+
The improved analysis of the lower-level problem. Next we explain where we can obtain improved analysis. Plugging (18a) into (18b), and selecting stepsizes $\alpha _ { k } , \beta _ { k }$ properly, we can show that
|
| 257 |
+
|
| 258 |
+
$$
|
| 259 |
+
\begin{array} { r } { \mathbb { E } [ \| y ^ { k + 1 } - y ^ { * } ( x ^ { k + 1 } ) \| ^ { 2 } ] \leq ( 1 - \delta _ { 1 } ) \mathbb { E } [ \| y ^ { k } - y ^ { * } ( x ^ { k } ) \| ^ { 2 } ] + \delta _ { 2 } \mathbb { E } [ \| \bar { h } _ { f } ^ { k } \| ^ { 2 } ] + \delta _ { 3 } T \sigma _ { g , 1 } ^ { 2 } + \delta _ { 4 } \tilde { \sigma } _ { f } ^ { 2 } } \end{array}
|
| 260 |
+
$$
|
| 261 |
+
|
| 262 |
+
where the constants are $\delta _ { 1 } \in [ 0 , 1 ) , \delta _ { 2 } = \mathcal { O } ( \alpha _ { k } ) , \delta _ { 3 } = \mathcal { O } ( \beta _ { k } ^ { 2 } ) , \delta _ { 4 } = \mathcal { O } ( \alpha _ { k } ^ { 2 } )$ . As we will show in our supplementary material, the term $\mathbb { E } [ \| \bar { h } _ { f } ^ { k } \| ^ { 2 } ]$ will be canceled when combined with (16) in our analysis. Hence, choosing $\alpha _ { k } = \mathcal { O } ( k ^ { - 1 / 2 } )$ and $\beta _ { k } = \mathcal { O } ( k ^ { - 1 / 2 } )$ makes the variance terms in (19) decrease at the same $\mathcal { O } ( k ^ { - 1 / 2 } )$ rate as the vanilla SGD for stochastic non-nested problems.
|
| 263 |
+
|
| 264 |
+
As a comparison, the progress of the lower-level problem in [18, 17] can be summarized as
|
| 265 |
+
|
| 266 |
+
$$
|
| 267 |
+
\mathbb { E } [ \| y ^ { k + 1 } - y ^ { * } ( x ^ { k + 1 } ) \| ^ { 2 } ] \leq ( 1 - \delta _ { 1 } ) \mathbb { E } [ \| y ^ { k } - y ^ { * } ( x ^ { k } ) \| ^ { 2 } ] + \delta _ { 5 } \sigma ^ { 2 }
|
| 268 |
+
$$
|
| 269 |
+
|
| 270 |
+
where $\sigma ^ { 2 }$ is some variance term, and the constant is $\delta _ { 5 } = \mathcal { O } ( \beta _ { k } ^ { 2 } + \alpha _ { k } ^ { 2 } / \beta _ { k } )$ or $\mathcal { O } ( 1 / B _ { k } )$ with $B _ { k }$ being the batch size at iteration $k$ . To balance the two terms in $\delta _ { 5 } = \mathcal { O } ( \beta _ { k } ^ { 2 } + \alpha _ { k } ^ { 2 } / \beta _ { k } )$ , two timescales of stepsizes $\begin{array} { r } { \operatorname* { l i m } _ { k \to \infty } \alpha _ { k } / \beta _ { k } = 0 } \end{array}$ are needed, which will make the variance term of the $y$ -update in (20) and that of the $x$ -update in (16) decrease at two different rates, slower than that of SGD; and to reduce $\delta _ { 5 } = \mathcal { O } ( 1 / B _ { k } )$ , a growing batch size $B _ { k } = \mathcal { O } ( k )$ is needed for the $y$ -update.
|
| 271 |
+
|
| 272 |
+
# 3 Applications to Stochastic Min-Max and Compositional Problems
|
| 273 |
+
|
| 274 |
+
Building upon the general results for the bilevel problems in Section 2, this section will identify special features of the stochastic min-max and stochastic compositional problems, and customize the general results to yield state-of-the-art convergence results for two special nested problems.
|
| 275 |
+
|
| 276 |
+
# 3.1 Stochastic min-max problems
|
| 277 |
+
|
| 278 |
+
We first apply our results to the stochastic min-max problem (2). In this special case, the lower-level function is $\bar { g ( x , y ; \phi ) } = - f ( x , y ; \xi )$ , and the bilevel gradient in (6) reduces to
|
| 279 |
+
|
| 280 |
+
$$
|
| 281 |
+
\nabla F ( x ) : = \nabla _ { x } f { \big ( } x , y ^ { * } ( x ) { \big ) } + \nabla _ { x } y ^ { * } ( x ) ^ { \top } \nabla _ { y } f { \big ( } x , y ^ { * } ( x ) { \big ) } = \nabla _ { x } f { \big ( } x , y ^ { * } ( x ) { \big ) }
|
| 282 |
+
$$
|
| 283 |
+
|
| 284 |
+
where the second equality follows from the optimality condition of the lower-level problem, i.e., $\nabla _ { y } f ( x , y ^ { * } ( x ) ) = 0$ . Similar to Section 2, we again approximate $\nabla F ( x )$ on a certain vector $y$ in place of $y ^ { * } ( x )$ . Therefore, the alternating stochastic gradients for this special case are given by
|
| 285 |
+
|
| 286 |
+
$$
|
| 287 |
+
\begin{array} { r } { h _ { g } ^ { k , t } = - \nabla _ { y } f ( x ^ { k } , y ^ { k , t } ; \xi _ { 1 } ^ { k , t } ) ~ \mathrm { a n d } ~ h _ { f } ^ { k } = \nabla _ { x } f ( x ^ { k } , y ^ { k + 1 } ; \xi _ { 2 } ^ { k } ) . } \end{array}
|
| 288 |
+
$$
|
| 289 |
+
|
| 290 |
+
Plugging the stochastic gradient into the general update (9), we summarize the update in Algorithm 2.
|
| 291 |
+
When the number of $y$ -update is $T = 1$ , the ALSET algorithm reduces to the SGDA method in [28].
|
| 292 |
+
|
| 293 |
+
Proposition 3 (Min-max problems). Choose the same choice of parameters as those in Theorem $I$ , and follow the same assumption as those in Theorem $^ { l }$ except that $f ( \cdot , y )$ is only Lipchitz over $x \in \mathbb { R } ^ { d }$ but not that $f ( x , \cdot )$ is Lipschitz continuous over $y \in \mathbb { R } ^ { d ^ { \prime } }$ . If we select $\alpha = \Theta ( \kappa ^ { - 1 } )$ , $T = \Theta ( \kappa )$ , $\eta = 1$ in (12), the iterates generated by Algorithm 2 satisfy
|
| 294 |
+
|
| 295 |
+
$$
|
| 296 |
+
\frac { 1 } { K } \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } \left[ \left. \nabla F ( x ^ { k } ) \right. ^ { 2 } \right] = \mathcal { O } \left( \frac { \kappa ^ { 2 } } { K } + \frac { \kappa } { \sqrt { K } } \right) .
|
| 297 |
+
$$
|
| 298 |
+
|
| 299 |
+
Proposition 3 implies that for the minmax problem, the convergence rate of ALSET to the stationary point of $\begin{array} { r } { F ( x ) \ \mathrel { \mathop : } = \ \operatorname* { m a x } _ { y \in \mathbb { R } ^ { d ^ { \prime } } } \mathbb { E } _ { \xi } \left[ f ( x , y ; \xi ) \right] } \end{array}$ is $\mathcal { O } ( K ^ { - 1 / 2 } )$ . To achieve $\epsilon$ -stationary point, we need $K = \mathcal { O } ( \kappa ^ { 2 } \epsilon ^ { - 2 } )$ . And the number of gradient evaluations for $h _ { f } ^ { k } , h _ { g } ^ { k , t }$ are $\mathcal { O } \bar { ( \kappa ^ { 2 } \epsilon ^ { - 2 } ) }$ and $\mathcal { O } ( \kappa ^ { 3 } \epsilon ^ { - 2 } )$ , respectively. Comparing with the results in [28], we achieve the same sample complexity without an increasing batch size $\mathsf { \bar { \mathcal { O } } } ( \epsilon ^ { - 1 } )$ , and improve their sample complexity $\mathcal { O } ( \epsilon ^ { - 5 / 2 } )$ under a fixed batch size.
|
| 300 |
+
|
| 301 |
+
Algorithm 2 ALSET for the min-max problem (2)
|
| 302 |
+
|
| 303 |
+
1: initialize: $x ^ { 0 } , y ^ { 0 }$ , stepsizes $\{ \alpha _ { k } , \beta _ { k } \}$ .
|
| 304 |
+
2: for $k = 0 , 1 , \ldots , K - 1$ do
|
| 305 |
+
3: set $y ^ { k , 0 } = y ^ { k }$
|
| 306 |
+
4: for $t = 0 , 1 , \dots , T - 1$ do
|
| 307 |
+
5: update $y ^ { k , t + 1 } = y ^ { k , t } - \beta _ { k } \nabla _ { y } f ( x ^ { k } , y ^ { k , t } ; \xi _ { 1 } ^ { k , t } )$
|
| 308 |
+
6: end for
|
| 309 |
+
7: set $y ^ { k + 1 } = y ^ { k , T }$
|
| 310 |
+
8: update $\boldsymbol { x } ^ { k + \mathrm { i } } = x ^ { k } - \alpha _ { k } \nabla _ { x } f ( x ^ { k } , y ^ { k + 1 } ; \xi _ { 2 } ^ { k } )$
|
| 311 |
+
9: end for
|
| 312 |
+
|
| 313 |
+
However, it is also worth mentioning that compared with [28], our analysis requires the additional Lipschitz continuity assumption of $f ( \cdot , y )$ over $x \in \mathbb { R } ^ { d }$ , which inherits from the analysis for the general bilevel problem. Therefore, our result complements, rather than improves, the analysis in [28]. We view our contribution in min-max problems as a supplementary of existing results.
|
| 314 |
+
|
| 315 |
+
# 3.2 Stochastic compositional problems
|
| 316 |
+
|
| 317 |
+
In this section, we apply our results to the stochastic compositional problem (3). In this special case, the upper-level function is $f ( x , y ; \xi ) : = f ( y ; \xi )$ , and the lower-level function is $g ( x , y ; \phi ) =$ $\| y - h ( x ; \phi ) \| ^ { 2 }$ , and the bilevel gradient in (6) reduces to
|
| 318 |
+
|
| 319 |
+
$$
|
| 320 |
+
\begin{array} { r l } & { \nabla F ( x ) : = \nabla _ { x } f \big ( x , y ^ { * } ( x ) \big ) - \nabla _ { x y } ^ { 2 } g ( x , y ^ { * } ( x ) ) \big [ \nabla _ { y y } ^ { 2 } g ( x , y ^ { * } ( x ) ) \big ] ^ { - 1 } \nabla _ { y } f ( x , y ^ { * } ( x ) ) } \\ & { \qquad = \nabla h ( x ; \phi ) ^ { \top } \nabla _ { y } f ( y ^ { * } ( x ) ) } \end{array}
|
| 321 |
+
$$
|
| 322 |
+
|
| 323 |
+
where we use the fact that $\nabla _ { y y } ^ { 2 } g ( x , y ; \phi ) = \mathbf { I } _ { d ^ { \prime } \times d ^ { \prime } } , \nabla _ { x y } ^ { 2 } g ( x , y ; \phi ) = - \nabla h ( x ; \phi ) ^ { \top }$ . Similar to Section 2, we again evaluate $\nabla F ( x )$ on a certain vector $y$ in place of $y ^ { \ast } ( x )$ . Therefore, by choosing $T = 1$ , the alternating stochastic gradients $h _ { f } ^ { k } , h _ { g } ^ { k , t }$ for this special case are much simpler, given by
|
| 324 |
+
|
| 325 |
+
$$
|
| 326 |
+
h _ { g } ^ { k , t } = h _ { g } ^ { k } = y ^ { k } - h ( x ^ { k } ; \phi ^ { k } ) ~ \mathrm { a n d } ~ h _ { f } ^ { k } = \nabla h ( x ^ { k } ; \phi ^ { k } ) \nabla f ( y ^ { k + 1 } ; \xi ^ { k } ) .
|
| 327 |
+
$$
|
| 328 |
+
|
| 329 |
+
Plugging the stochastic gradient into the general update (9), we summarize the update in Algorithm 3.
|
| 330 |
+
When $T = 1$ , the ALSET algorithm reduces to SCGD proposed in [12].
|
| 331 |
+
|
| 332 |
+
In the supplementary document, we have verified that the standard assumptions of stochastic compositional optimization in [12, 37, 14, 41, 38] are sufficient for Assumptions 1–3 to hold.
|
| 333 |
+
|
| 334 |
+
Proposition 4 (Compositional problems). Under the same assumptions and the parameters as those in Theorem $I$ , if we select $\begin{array} { r } { T ^ { } = 1 , \alpha = 1 , \eta = \frac { 1 } { L _ { y x } } } \end{array}$ in (12), the iterates of Algorithm 3 satisfy
|
| 335 |
+
|
| 336 |
+
$$
|
| 337 |
+
\frac { 1 } { K } \sum _ { k = 1 } ^ { K } \mathbb { E } \left[ \left\| \nabla F ( x ^ { k } ) \right\| ^ { 2 } \right] = \mathcal { O } \Big ( \frac { 1 } { \sqrt { K } } \Big ) .
|
| 338 |
+
$$
|
| 339 |
+
|
| 340 |
+
Since each iteration of ALSET only uses $\mathcal { O } ( 1 )$ samples (see Algorithm 3), Proposition 4 implies that the sample complexity to achieve an $\epsilon$ -stationary point of (3) is $\mathcal { O } ( \epsilon ^ { - 2 } )$ . Comparing with the results
|
| 341 |
+
|
| 342 |
+
Algorithm 3 ALSET for the compositional problem (3)
|
| 343 |
+
|
| 344 |
+
1: initialize: $x ^ { 0 } , y ^ { 0 }$ , stepsizes $\{ \alpha _ { k } , \beta _ { k } \}$ .
|
| 345 |
+
2: for $k = 0 , 1 , \ldots , K - 1$ do
|
| 346 |
+
3: update $y ^ { k + 1 } = y ^ { k } - \beta _ { k } ( y ^ { k } - h ( x ^ { k } ; \phi ^ { k } ) )$
|
| 347 |
+
4: update $x ^ { k + 1 } = x ^ { k } - \alpha _ { k } \nabla f ( y ^ { k + 1 } ; \xi ^ { k } ) \nabla h ( x ^ { k } ; \phi ^ { k } )$
|
| 348 |
+
5: end for
|
| 349 |
+
|
| 350 |
+
of the SCGD method in [12], our result improves the sample complexity $\mathcal { O } ( \epsilon ^ { - 4 } )$ under a fixed batch size. Importantly, our analysis does not introduce additional assumption compared to [12].
|
| 351 |
+
|
| 352 |
+
# 4 Applications to Actor-Critic Methods
|
| 353 |
+
|
| 354 |
+
In this section, we apply our tighter analysis to the actor-critic (AC) method with linear value function approximation [44], which can be viewed as a special case of the stochastic bilevel algorithm [45, 46].
|
| 355 |
+
|
| 356 |
+
Consider a Markov decision process described by $\mathcal { M } = \{ { \cal S } , \mathcal { A } , \mathcal { P } , { \cal R } , \gamma \}$ , where $s$ is the state space, $\mathcal { A }$ is the action space, $\mathcal { P } ( s ^ { \prime } | s , a )$ is the probability of transitioning to $s ^ { \prime } \in \mathcal { S }$ given state $s \in S$ and action $a \in { \mathcal { A } }$ , and $R ( s , a , s ^ { \prime } )$ is the reward associated with $( s , a , s ^ { \prime } )$ , and $\gamma \in [ 0 , 1 )$ is a discount factor. For a policy $\pi _ { \theta }$ , define the value function $V _ { \pi _ { \theta } } ( s )$ that satisfies the Bellman equation [47]
|
| 357 |
+
|
| 358 |
+
$$
|
| 359 |
+
\begin{array} { r } { V _ { \pi _ { \theta } } ( s ) = \mathbb { E } _ { a \sim \pi _ { \theta } ( . | s ) , s ^ { \prime } \sim \mathcal { P } ( \cdot | s , a ) } \left[ r ( s , a , s ^ { \prime } ) + \gamma V _ { \pi _ { \theta } } ( s ^ { \prime } ) \right] . } \end{array}
|
| 360 |
+
$$
|
| 361 |
+
|
| 362 |
+
Given the state feature mapping $\phi ( \cdot ) : \mathcal { S } \mathbb { R } ^ { d _ { y } }$ , we approximate the value function linearly as $V _ { \pi _ { \boldsymbol { \theta } } } ( s ) \approx \hat { V } _ { y } ( s ) : = \boldsymbol { \phi } ( s ) ^ { \top } \boldsymbol { y }$ , where $\boldsymbol { y } \in \mathbb { R } ^ { d _ { y } }$ is the critic parameter. The task of finding the best $y$ such that $V _ { \pi _ { \theta } } ( s ) \approx \hat { V } _ { y } ( s )$ is usually addressed by TD learning [48].
|
| 363 |
+
|
| 364 |
+
Defining the stationary distribution induced by the policy parameter $\theta _ { k }$ as $\mu _ { \theta _ { k } }$ and the $k$ th transition as $\xi _ { k } : = ( s _ { k } , a _ { k } , s _ { k + 1 } )$ , which is sampled from $s _ { k } \sim \mu _ { \theta _ { k } } , a \sim \pi _ { \theta _ { k } } , s _ { k + 1 } \sim \mathcal { P }$ , the TD-error is
|
| 365 |
+
|
| 366 |
+
$$
|
| 367 |
+
\hat { \delta } ( \xi _ { k } , y _ { k } ) : = r ( s _ { k } , a _ { k } , s _ { k + 1 } ) + \gamma \phi ( s _ { k + 1 } ) ^ { \top } y _ { k } - \phi ( s _ { k } ) ^ { \top } y _ { k }
|
| 368 |
+
$$
|
| 369 |
+
|
| 370 |
+
and the critic gradient $h _ { g } ( \xi _ { k } , y _ { k } ) : = \hat { \delta } ( \xi _ { k } , y _ { k } ) \nabla \hat { V } _ { y _ { k } } ( s _ { k } )$ . We update the parameter $y$ via
|
| 371 |
+
|
| 372 |
+
$$
|
| 373 |
+
y _ { k + 1 } = \Pi _ { R _ { y } } \big ( y _ { k } + \beta _ { k } h _ { g } ( \xi _ { k } , y _ { k } ) \big ) ,
|
| 374 |
+
$$
|
| 375 |
+
|
| 376 |
+
where $\beta _ { k }$ is the critic stepsize, and $\Pi _ { R _ { y } }$ is the projection to control the norm of the gradient. A pre-defined constant $R _ { y }$ will be specified in the supplementary document.
|
| 377 |
+
|
| 378 |
+
The goal of policy optimization is to solve ${ \mathrm { m a x } } _ { \theta \in \mathbb { R } ^ { d } } F ( \theta )$ with $F ( \theta ) : = \mathbb { E } _ { s \sim \eta } [ V _ { \pi _ { \theta } } ( s ) ]$ , where $\eta$ is the initial distribution. Leveraging the value function approximation and the policy gradient theorem [49], we have the policy gradient $h _ { f } ( \xi , \theta , y ) : = \hat { \delta } ( \xi , \bar { y ) \psi } _ { \theta } ( s , a )$ , which gives the policy update
|
| 379 |
+
|
| 380 |
+
$$
|
| 381 |
+
\theta _ { k + 1 } = \theta _ { k } + \alpha _ { k } h _ { f } ( \xi _ { k } ^ { \prime } , \theta _ { k } , y _ { k + 1 } ) ,
|
| 382 |
+
$$
|
| 383 |
+
|
| 384 |
+
where $\alpha _ { k }$ is the stepsize and $\psi _ { \boldsymbol \theta } ( s , a ) : = \nabla \log \pi _ { \boldsymbol \theta } ( a | s )$ . Note that the sample $\xi _ { k } ^ { \prime } : = ( s _ { k } ^ { \prime } , a _ { k } ^ { \prime } , s _ { k + 1 } ^ { \prime } )$ used in (30) is independent from $\xi _ { k }$ in (29). Specifically, $\xi _ { k } ^ { \prime }$ is sampled from $s _ { k } ^ { \prime } \sim d _ { \theta _ { k } } , a _ { k } ^ { \prime } \sim$ $\pi _ { \boldsymbol { \theta } _ { k } } , s _ { k + 1 } ^ { \prime } \sim \mathcal { P }$ with $d _ { \theta _ { k } }$ being the discounted state action visitation measure under $\theta _ { k }$ .
|
| 385 |
+
|
| 386 |
+
The alternating AC update (29)-(30) is a special case of ALSET, where the critic update is the lower-level update, and the actor update is the upper-level update.
|
| 387 |
+
|
| 388 |
+
Due to space limitation, we will directly present the results of the alternating AC next, and defer presentation of the proof and the corresponding assumptions, which are the counterparts of Assumptions 1–3 in the context of AC, to the supplementary document.
|
| 389 |
+
|
| 390 |
+
Theorem 2 (Actor-critic). Under the some regularity conditions that are specified in the supplementary document, selecting step size $\begin{array} { r } { \alpha _ { k } = \alpha = \overset { \cdot } { \mathcal { O } } ( \frac { 1 } { \sqrt { K } } ) } \end{array}$ , $\begin{array} { r } { \beta _ { k } = \beta = \mathcal { O } ( \frac { 1 } { \sqrt { K } } ) } \end{array}$ , it holds
|
| 391 |
+
|
| 392 |
+
$$
|
| 393 |
+
\frac { 1 } { K } \sum _ { k = 1 } ^ { K } \mathbb { E } \left[ \| \nabla F ( \theta _ { k } ) \| ^ { 2 } \right] = \mathcal { O } \left( \frac { 1 } { \sqrt { K } } \right) + \epsilon _ { \mathrm { a p p } }
|
| 394 |
+
$$
|
| 395 |
+
|
| 396 |
+
where $\epsilon _ { \mathrm { a p p } }$ , defined in the supplementary document, captures the richness of the linear function class.
|
| 397 |
+
|
| 398 |
+
Both sides of Theorem 2. As an application of our tighter analysis, Theorem 2 establishes for the first time that the sample complexity of the single-loop alternating actor-critic method is $\mathcal { O } ( \epsilon ^ { - 2 } )$ . On the positive side, this new result improves the previous complexity $\mathcal { O } ( \epsilon ^ { - 5 / 2 } )$ for the single-loop AC [50], and $\mathcal { O } ( \epsilon ^ { - 2 } \log \epsilon ^ { - 1 } )$ for the nested-loop AC [51], and matches $\mathcal { O } ( \epsilon ^ { - 2 } )$ for AC with an exact critic oracle [52]. In addition to using two independent samples, one limitation of our result is that inheriting from the analysis for the general bilevel case, our analysis of AC requires the smoothness of the critic fixed-point $y ^ { * } ( \theta )$ . As shown in the supplementary document, this implicitly requires the additional bounded and Lipschitz continuity assumption on the stationary distribution $\mu _ { \theta }$ . The removal of this assumption and the extension to Markovian sampling are left for future research.
|
| 399 |
+
|
| 400 |
+
# 5 Preliminary Experiments
|
| 401 |
+
|
| 402 |
+
To validate our new theoretical results, we have conducted the simple experiment using the riskaverse portfolio management task on a benchmark dataset - 100 Book-to-Market. This is a typical application of stochastic compositional optimization (3) that is used in [40, 41]. We compared the popular two-timescale SCGD approach [12] with our single-timescale ALSET approach.
|
| 403 |
+
|
| 404 |
+
We use the same initialization of $x ^ { 0 } , y ^ { 0 }$ for both SCGD and ALSET, and tune the stepsizes $\alpha _ { k } , \beta _ { k }$ by following the suggested order in the original SCGD paper and then using a grid search for the multiplicative constant $c$ , that is
|
| 405 |
+
|
| 406 |
+
<table><tr><td rowspan=1 colspan=1>Iter k</td><td rowspan=1 colspan=1>ln k</td><td rowspan=1 colspan=1>SCGD</td><td rowspan=1 colspan=1>ALSET</td><td rowspan=1 colspan=1>ALSET-const</td></tr><tr><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>2.30</td><td rowspan=1 colspan=1>5.32</td><td rowspan=1 colspan=1>5.31</td><td rowspan=1 colspan=1>5.63</td></tr><tr><td rowspan=1 colspan=1>100</td><td rowspan=1 colspan=1>4.61</td><td rowspan=1 colspan=1>3.78</td><td rowspan=1 colspan=1>3.49</td><td rowspan=1 colspan=1>3.63</td></tr><tr><td rowspan=1 colspan=1>200</td><td rowspan=1 colspan=1>5.30</td><td rowspan=1 colspan=1>3.40</td><td rowspan=1 colspan=1>2.94</td><td rowspan=1 colspan=1>3.06</td></tr><tr><td rowspan=1 colspan=1>400</td><td rowspan=1 colspan=1>5.99</td><td rowspan=1 colspan=1>3.04</td><td rowspan=1 colspan=1>2.40</td><td rowspan=1 colspan=1>2.55</td></tr><tr><td rowspan=1 colspan=1>1000</td><td rowspan=1 colspan=1>6.91</td><td rowspan=1 colspan=1>2.57</td><td rowspan=1 colspan=1>1.65</td><td rowspan=1 colspan=1>2.06</td></tr></table>
|
| 407 |
+
|
| 408 |
+
The constant $c$ is chosen from the searching
|
| 409 |
+
|
| 410 |
+
Table 4: Comparison of $\begin{array} { r l } { { \ln ( \frac { 1 } { K } \sum _ { k = 1 } ^ { K } \| \nabla F ( x ^ { k } ) \| ^ { 2 } ) } \quad } & { { } } \end{array}$ among the two-timescale and single-timescale algorithms.
|
| 411 |
+
|
| 412 |
+
grid $\{ 1 0 ^ { - 3 } , 5 \times 1 0 ^ { - 4 } , 1 0 ^ { - 4 } \}$ and is optimized for each algorithm in terms of ergodic average gradient norm versus the number of iterations. In Table 4, we report the logarithmic value of the average gradient norm performance of SCGD, ALSET with both the above decreasing stepsizes and ALSETconst with the constant stepsizes (replacing $k$ with $K = 1 0 0 0$ ). Since SCGD and ALSET use the same number of samples and gradient evaluations per iteration, we report the progress in terms of iterations. By calculating the decay rate, we can observe that the empirical convergence rate of ALSET is no worse than the theoretical rate $\mathcal { O } ( k ^ { - 1 / 2 } )$ , and ALSET outperforms SCGD thanks to its single-timescale stepsizes. We will pursue more comprehensive experiments in our future work.
|
| 413 |
+
|
| 414 |
+
# 6 Conclusions
|
| 415 |
+
|
| 416 |
+
This paper unifies several SGD-type updates for stochastic nested problems into a single nested SGD approach that we term ALternating Stochastic gradient dEscenT (ALSET) method. ALSET runs in the single-timescale and uses a fixed batch size. This paper presents a tighter analysis for using ALSET to solve stochastic nested problems. Under the new analysis, to achieve an $\epsilon$ -stationary point of the nested problem, ALSET requires $\mathcal { O } ( \epsilon ^ { - 2 } )$ samples in total. As a by-product, this general result also improves the existing sample complexity of the min-max and compositional cases. It matches the sample complexity of SGD for single-level stochastic problems. Applying our analysis to an alternating version of the actor-critic algorithm also yields a state-of-the-art sample complexity.
|
| 417 |
+
|
| 418 |
+
Potential limitations of our results include additional assumptions in the min-max and actor-critic cases, which inherit from the assumptions of general bilevel problems. Nevertheless, our work can also lead to promising future research in understanding the theoretical performance of many successful empirical nested optimization algorithms. To this end, our future work consists of relaxing the regularity conditions needed to achieve our theoretical results and Possible extensions include applying our the tighter analysis in this paper to the existing two-timescale Hessian-free bilevel optimization algorithms and decentralized stochastic nested optimization algorithms.
|
| 419 |
+
|
| 420 |
+
# Acknowledgements
|
| 421 |
+
|
| 422 |
+
The work of T. Chen was partially supported by NSF Grant 2047177 and the RPI-IBM Artificial Intelligence Research Collaboration (AIRC). The work of Y. Sun was partially supported by ONR
|
| 423 |
+
|
| 424 |
+
Grant N000141712162 and AFOSR MURI FA9550-18-1-0502. We thank anonymous reviewers for their valuable feedback on improving the current paper.
|
| 425 |
+
|
| 426 |
+
References
|
| 427 |
+
[1] H. Robbins and S. Monro, “A stochastic approximation method,” Annals of Mathematical Statistics, vol. 22, no. 3, pp. 400–407, Sep. 1951.
|
| 428 |
+
[2] C. Finn, P. Abbeel, and S. Levine, “Model-agnostic meta-learning for fast adaptation of deep networks,” in Proc. Intl. Conf. Machine Learn., Sydney, Australia, Jun. 2017, pp. 1126–1135.
|
| 429 |
+
[3] L. Franceschi, P. Frasconi, S. Salzo, R. Grazzi, and M. Pontil, “Bilevel programming for hyperparameter optimization and meta-learning,” in Proc. Intl. Conf. Machine Learn., Vienna, Austria, Jun. 2018, pp. 1568–1577.
|
| 430 |
+
[4] B. Colson, P. Marcotte, and G. Savard, “An overview of bilevel optimization,” Annals of operations research, vol. 153, no. 1, pp. 235–256, 2007.
|
| 431 |
+
[5] G. Kunapuli, K. P. Bennett, J. Hu, and J.-S. Pang, “Classification model selection via bilevel programming,” Optimization Methods & Software, vol. 23, no. 4, pp. 475–489, 2008.
|
| 432 |
+
[6] S. Dempe and A. Zemkoho, Bilevel Optimization. Springer, 2020.
|
| 433 |
+
[7] C. Daskalakis and I. Panageas, “The limit points of (optimistic) gradient descent in min-max optimization,” in Proc. Advances in Neural Info. Process. Syst., Montreal, Canada, Dec. 2018, pp. 9256–9266.
|
| 434 |
+
[8] G. Gidel, H. Berard, G. Vignoud, P. Vincent, and S. Lacoste-Julien, “A variational inequality perspective on generative adversarial networks,” in Proc. Intl. Conf. Learn. Representations, Vancouver, Canada, Apr. 2018.
|
| 435 |
+
[9] H. Rafique, M. Liu, Q. Lin, and T. Yang, “Non-convex min-max optimization: Provable algorithms and applications in machine learning,” Optimization Methods and Software, Mar. 2021.
|
| 436 |
+
[10] K. K. Thekumparampil, P. Jain, P. Netrapalli, and S. Oh, “Efficient algorithms for smooth minimax optimization,” in NeurIPS, Vancouver, Canada, Dec. 2019.
|
| 437 |
+
[11] A. Mokhtari, A. Ozdaglar, and S. Pattathil, “A unified analysis of extra-gradient and optimistic gradient methods for saddle point problems: Proximal point approach,” in Proc. Intl. Conf. on Artif. Intell. and Stat., Palermo, Italy, Aug. 2020, pp. 1497–1507.
|
| 438 |
+
[12] M. Wang, E. X. Fang, and H. Liu, “Stochastic compositional gradient descent: algorithms for minimizing compositions of expected-value functions,” Mathematical Programming, vol. 161, no. 1-2, pp. 419–449, Jan. 2017.
|
| 439 |
+
[13] B. Dai, N. He, Y. Pan, B. Boots, and L. Song, “Learning from conditional distributions via dual embeddings,” in Proc. Intl. Conf. on Artif. Intell. and Stat., Fort Lauderdale, FL, Apr. 2017, pp. 1458–1467.
|
| 440 |
+
[14] S. Ghadimi, A. Ruszczynski, and M. Wang, “A single timescale stochastic approximation method for nested stochastic optimization,” SIAM Journal on Optimization, vol. 30, no. 1, pp. 960–979, Mar. 2020.
|
| 441 |
+
[15] K. Ji, J. Yang, and Y. Liang, “Multi-step model-agnostic meta-learning: Convergence and improved algorithms,” arXiv preprint:2002.07836, Feb. 2020.
|
| 442 |
+
[16] S. Ghadimi and M. Wang, “Approximation methods for bilevel programming,” arXiv preprint:1802.02246, 2018.
|
| 443 |
+
[17] K. Ji, J. Yang, and Y. Liang, “Provably faster algorithms for bilevel optimization and applications to meta-learning,” in Proc. Intl. Conf. Machine Learn., Virtual, Jul. 2021.
|
| 444 |
+
[18] M. Hong, H.-T. Wai, Z. Wang, and Z. Yang, “A two-timescale framework for bilevel optimization: Complexity analysis and application to actor-critic,” arXiv preprint:2007.05170, 2020.
|
| 445 |
+
[19] T. Chen, Y. Sun, and W. Yin, “A single-timescale stochastic bilevel optimization method,” arXiv preprint arXiv:2102.04671, 2021.
|
| 446 |
+
[20] H. V. Stackelberg, The Theory of Market Economy. Oxford University Press, 1952.
|
| 447 |
+
[21] S. Sabach and S. Shtern, “A first order method for solving convex bilevel optimization problems,” SIAM Journal on Optimization, vol. 27, no. 2, pp. 640–660, 2017.
|
| 448 |
+
[22] A. Shaban, C.-A. Cheng, N. Hatch, and B. Boots, “Truncated back-propagation for bilevel optimization,” in Proc. Intl. Conf. on Artif. Intell. and Stat., Naha, Okinawa, Japan, Apr. 2019, pp. 1723–1732.
|
| 449 |
+
[23] R. Grazzi, L. Franceschi, M. Pontil, and S. Salzo, “On the iteration complexity of hypergradient computation,” in Proc. Intl. Conf. Machine Learn., virtual, Jul. 2020, pp. 3748–3758.
|
| 450 |
+
[24] R. Liu, P. Mu, X. Yuan, S. Zeng, and J. Zhang, “A generic first-order algorithmic framework for bi-level programming beyond lower-level singleton,” in Proc. of International Conference on Machine Learning, Virtual, July 2020, pp. 6305–6315.
|
| 451 |
+
[25] P. Khanduri, S. Zeng, M. Hong, H.-T. Wai, Z. Wang, and Z. Yang, “A momentum-assisted single-timescale stochastic approximation algorithm for bilevel optimization,” arXiv preprint arXiv:2102.07367, Feb. 2021.
|
| 452 |
+
[26] Z. Guo and T. Yang, “Randomized stochastic variance-reduced methods for stochastic bilevel optimization,” arXiv preprint arXiv:2105.02266, May 2021.
|
| 453 |
+
[27] J. Yang, K. Ji, and Y. Liang, “Provably faster algorithms for bilevel optimization,” arXiv preprint arXiv:2106.04692, Jun. 2021.
|
| 454 |
+
[28] T. Lin, C. Jin, and M. Jordan, “On gradient descent ascent for nonconvex-concave minimax problems,” in Proc. Intl. Conf. Machine Learn., virtual, Jul. 2020, pp. 6083–6093.
|
| 455 |
+
[29] T. Yoon and E. K. Ryu, “Accelerated algorithms for smooth convex-concave minimax problems with $O ( 1 / k ^ { 2 } )$ rate on squared gradient norm,” in Proc. Intl. Conf. Machine Learn., Virtual, Jul. 2021.
|
| 456 |
+
[30] M. Nouiehed, M. Sanjabi, T. Huang, J. D. Lee, and M. Razaviyayn, “Solving a class of nonconvex min-max games using iterative first order methods,” in Proc. Advances in Neural Info. Process. Syst., Vancouver, Canada, Dec. 2019, pp. 14 934–14 942.
|
| 457 |
+
[31] L. Luo, H. Ye, Z. Huang, and T. Zhang, “Stochastic recursive gradient descent ascent for stochastic nonconvex-strongly-concave minimax problems,” in Proc. Advances in Neural Info. Process. Syst., Virtual, Dec. 2020.
|
| 458 |
+
[32] Y. Yan, Y. Xu, Q. Lin, W. Liu, and T. Yang, “Optimal epoch stochastic gradient descent ascent methods for min-max optimization,” Proc. Advances in Neural Info. Process. Syst., vol. 33, Dec. 2020.
|
| 459 |
+
[33] Q. Tran Dinh, D. Liu, and L. Nguyen, “Hybrid variance-reduced sgd algorithms for minimax problems with nonconvex-linear function,” in Proc. Advances in Neural Info. Process. Syst., Virtual, Dec. 2020.
|
| 460 |
+
[34] M. Liu, Y. Mroueh, J. Ross, W. Zhang, X. Cui, P. Das, and T. Yang, “Towards better understanding of adaptive gradient algorithms in generative adversarial nets,” in Proc. Intl. Conf. Learn. Representations, Virtual, Apr. 2020.
|
| 461 |
+
[35] J. Yang, N. Kiyavash, and N. He, “Global convergence and variance reduction for a class of nonconvex-nonconcave minimax problems,” in Proc. Advances in Neural Info. Process. Syst., Virtual, Dec. 2020.
|
| 462 |
+
[36] J. Diakonikolas, C. Daskalakis, and M. Jordan, “Efficient methods for structured nonconvexnonconcave min-max optimization,” in Proc. Intl. Conf. on Artif. Intell. and Stat., Virtual, Apr. 2021.
|
| 463 |
+
[37] M. Wang, J. Liu, and E. Fang, “Accelerating stochastic composition optimization,” Journal Machine Learning Research, vol. 18, no. 1, pp. 3721–3743, 2017.
|
| 464 |
+
[38] T. Chen, Y. Sun, and W. Yin, “Solving stochastic compositional optimization is nearly as easy as solving stochastic optimization,” IEEE Trans. Sig. Proc., vol. 69, Aug. 2021.
|
| 465 |
+
[39] A. Ruszczynski, “A stochastic subgradient method for nonsmooth nonconvex multi-level composition optimization,” arXiv preprint:2001.10669, Jan. 2020.
|
| 466 |
+
[40] X. Lian, M. Wang, and J. Liu, “Finite-sum composition optimization via variance reduced gradient descent,” in Proc. Intl. Conf. on Artif. Intell. and Stat., Fort Lauderdale, FL, Apr. 2017.
|
| 467 |
+
[41] J. Zhang and L. Xiao, “A stochastic composite gradient method with incremental variance reduction,” in Proc. Advances in Neural Info. Process. Syst., Vancouver, Canada, Dec. 2019.
|
| 468 |
+
[42] Q. Tran-Dinh, N. Pham, and L. Nguyen, “Stochastic gauss-newton algorithms for nonconvex compositional optimization,” in Proc. Intl. Conf. Machine Learn., Virtual, Jul. 2020.
|
| 469 |
+
[43] S. Ghadimi and G. Lan, “Stochastic first-and zeroth-order methods for nonconvex stochastic programming,” SIAM Journal on Optimization, vol. 23, no. 4, pp. 2341–2368, 2013.
|
| 470 |
+
[44] V. Konda and V. Borkar, “Actor-critic-type learning algorithms for markov decision processes,” SIAM Journal on Control and Optimization, vol. 38, no. 1, pp. 94–123, 1999.
|
| 471 |
+
[45] J. Wen, S. Kumar, R. Gummadi, and D. Schuurmans, “Characterizing the gap between actorcritic and policy gradient,” in Proc. Intl. Conf. Machine Learn., Virtual, 2021.
|
| 472 |
+
[46] L. Zheng, T. Fiez, Z. Alumbaugh, B. Chasnov, and L. J. Ratliff, “Stackelberg actor-critic: Game-theoretic reinforcement learning algorithms,” arXiv preprint arXiv:2109.12286, 2021.
|
| 473 |
+
[47] R. S. Sutton and A. G. Barto, Reinforcement learning: An introduction. MIT Press, 2018.
|
| 474 |
+
[48] R. Sutton, “Learning to predict by the methods of temporal differences,” Machine Learning, vol. 3, pp. 9–44, 1988.
|
| 475 |
+
[49] R. Sutton, D. McAllester, S. Singh, and Y. Mansour, “Policy gradient methods for reinforcement learning with function approximation.” in Proc. Advances in Neural Info. Process. Syst., 2000.
|
| 476 |
+
[50] Y. Wu, W. Zhang, P. Xu, and Q. Gu, “A finite time analysis of two time-scale actor critic methods,” in Proc. Advances in Neural Info. Process. Syst., 2020.
|
| 477 |
+
[51] T. Xu, Z. Wang, and Y. Liang, “Improving sample complexity bounds for (natural) actor-critic algorithms,” in Proc. Advances in Neural Info. Process. Syst., 2020.
|
| 478 |
+
[52] Z. Fu, Z. Yang, and Z. Wang, “Single-timescale actor-critic provably finds globally optimal policy,” in Proc. Intl. Conf. Learn. Representations, 2020.
|
| 479 |
+
[53] Y. Nesterov, Introductory Lectures on Convex Optimization: A basic course. Berlin, Germany: Springer, 2013, vol. 87.
|
| 480 |
+
[54] J. Bhandari, D. Russo, and R. Singal, “A finite time analysis of temporal difference learning with linear function approximation.” in COLT, 2018.
|
| 481 |
+
[55] T. Xu, Z. Wang, Y. Zhou, and Y. Liang, “Reanalysis of variance reduced temporal difference learning,” in Proc. Intl. Conf. Learn. Representations, 2020.
|
| 482 |
+
[56] K. Zhang, A. Koppel, H. Zhu, and T. Ba¸sar, “Global convergence of policy gradient methods to (almost) locally optimal policies,” arXiv preprint:1906.08383, 2019.
|
| 483 |
+
[57] A. Agarwal, S. M. Kakade, J. D. Lee, and G. Mahajan, “Optimality and approximation with policy gradient methods in markov decision processes.” in Proc. of Thirty Third Conference on Learning Theory, 2020.
|
| 484 |
+
[58] K. Doya, “Reinforcement learning in continuous time and space,” Neural Computation, vol. 12, no. 1, pp. 219–245, 2000.
|
| 485 |
+
[59] J. Baxter and P. L. Bartlett, “Infinite-horizon policy-gradient estimation,” J. Artificial Intelligence Res., vol. 15, pp. 319–350, 2001.
|
| 486 |
+
[60] A. Y. Mitrophanov, “Sensitivity and convergence of uniformly ergodic markov chains,” Journal of Applied Probability, vol. 42, no. 4, pp. 1003–1014, 2005.
|
| 487 |
+
[61] S. Qiu, Z. Yang, J. Ye, and Z. Wang, “On the finite-time convergence of actor-critic algorithm,” in Optimization Foundations for Reinforcement Learning Workshop at Advances in Neural Information Processing Systems, 2019.
|
parse/train/OItvP2-i9j/OItvP2-i9j_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/PQlC91XxqK5/PQlC91XxqK5.md
ADDED
|
@@ -0,0 +1,331 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SEGMENTING NATURAL LANGUAGE SENTENCES VIA LEXICAL UNIT ANALYSIS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
In this work, we present Lexical Unit Analysis (LUA), a framework for general sequence segmentation tasks. Given a natural language sentence, LUA scores all the valid segmentation candidates and utilizes dynamic programming (DP) to extract the maximum scoring one. LUA enjoys a number of appealing properties such as inherently guaranteeing the predicted segmentation to be valid and facilitating globally optimal training and inference. Besides, the practical time complexity of LUA can be reduced to linear time, which is very efficient. We have conducted extensive experiments on 5 tasks, including syntactic chunking, named entity recognition (NER), slot filling, Chinese word segmentation, and Chinese part-of-speech (POS) tagging, across 15 datasets. Our models have achieved the state-of-the-art performances on 13 of them. The results also show that the F1 score of identifying long-length segments is notably improved.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Sequence segmentation is essentially the process of partitioning a sequence of fine-grained lexical units into a sequence of coarse-grained ones. In some scenarios, each composed unit is assigned a categorical label. For example, Chinese word segmentation splits a character sequence into a word sequence (Xue, 2003). Syntactic chunking segments a word sequence into a sequence of labeled groups of words (i.e., constituents) (Sang & Buchholz, 2000).
|
| 12 |
+
|
| 13 |
+
There are currently two mainstream approaches to sequence segmentation. The most common is to regard it as a sequence labeling problem by using IOB tagging scheme (Mesnil et al., 2014; Ma & Hovy, 2016; Liu et al., 2019b; Chen et al., 2019a; Luo et al., 2020). A representative work is Bidirectional LSTM-CRF (Huang et al., 2015), which adopts LSTM (Hochreiter & Schmidhuber, 1997) to read an input sentence and CRF (Lafferty et al., 2001) to decode the label sequence. This type of method is very effective, providing tons of state-of-the-art performances. However, it is vulnerable to producing invalid labels, for instance, “O, I-tag, I-tag”. This problem is very severe in low resource settings (Peng et al., 2017). In experiments (see section 4.6), we also find that it performs poorly in recognizing long-length segments.
|
| 14 |
+
|
| 15 |
+
Recently, there is a growing interest in span-based models (Zhai et al., 2017; Li et al., 2019; Yu et al., 2020). They treat a span rather than a token as the basic unit for labeling. Li et al. (2019) cast named entity recognition (NER) to a machine reading comprehension (MRC) task, where entities are extracted as retrieving answer spans. Yu et al. (2020) rank all the spans in terms of the scores predicted by a bi-affine model (Dozat & Manning, 2016). In NER, span-based models have significantly outperformed their sequence labeling based counterparts. While these methods circumvent the use of IOB tagging scheme, they still rely on post-processing rules to guarantee the extracted span set to be valid. Moreover, since span-based models are locally normalized at span level, they potentially suffer from the label bias problem (Lafferty et al., 2001).
|
| 16 |
+
|
| 17 |
+
This paper seeks to provide a new framework which infers the segmentation of a unit sequence by directly selecting from all valid segmentation candidates, instead of manipulating tokens or spans. To this end, we propose Lexical Unit Analysis (LUA) in this paper. LUA assigns a score to every valid segmentation candidate and leverages dynamic programming (DP) (Bellman, 1966) to search for the maximum scoring one. The score of a segmentation is computed by using the scores of its all segments. Besides, we adopt neural networks to score every segment of the input sentence.
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1: A toy example to show LUA and how it differs from prior methods. The items in blue and red respectively denote valid and invalid predictions.
|
| 21 |
+
|
| 22 |
+
The purpose of using DP is to solve the intractability of extracting the maximum scoring segmentation candidate by brute-force search. The time complexity of LUA is quadratic time, yet it can be optimized to linear time in practice by performing parallel matrix computations. For training criterion, we incur a hinge loss between the ground truth and the predictions. We also extend LUA to unlabeled segmentation and capturing label correlations.
|
| 23 |
+
|
| 24 |
+
Figure 1 illustrates the comparison between previous methods and the proposed LUA. Prior models at token level and span level are vulnerable to generating invalid predictions, and hence rely on heuristic rules to fix them. For example, in the middle part of Figure 1, the spans of two inferred named entities, [Word $\mathrm { C u p } \mathrm { _ { M I S C } }$ and $[ \mathrm { C u p } ] _ { \mathrm { M I S C } }$ , conflicts, which is mitigated by comparing the predicted scores. LUA scores all possible segmentation candidates and uses DP to extract the maximum scoring one. In this way, our models guarantee the predictions to be valid. Moreover, the globality of DP addresses the label bias problem.
|
| 25 |
+
|
| 26 |
+
Extensive experiments are conducted on syntactic chunking, NER, slot filling, Chinese word segmentation, and Chinese part-of-speech (POS) tagging across 15 tasks. We have obtained new stateof-the-art results on 13 of them and performed competitively on the others. In particular, we observe that LUA is expert at identifying long-length segments.
|
| 27 |
+
|
| 28 |
+
# 2 METHODOLOGY
|
| 29 |
+
|
| 30 |
+
We denote an input sequence (i.e., fine-grained lexical units) as $\mathbf { x } = [ x _ { 1 } , x _ { 2 } , \cdot \cdot \cdot , x _ { n } ]$ , where $n$ is the sequence length. An output sequence (i.e., coarse-grained lexical units) is represented as the segmentation $\mathbf { y } = [ y _ { 1 } , y _ { 2 } , \cdots , y _ { m } ]$ with each segment $y _ { k }$ being a triple $( i _ { k } , j _ { k } , t _ { k } )$ . $m$ denotes its length. $( i _ { k } , j _ { k } )$ specifies a span that corresponds to the phrase $\mathbf { x } _ { i _ { k } , j _ { k } } = [ x _ { i _ { k } } , x _ { i _ { k } + 1 } , \cdot \cdot \cdot , x _ { j _ { k } } ]$ . $t _ { k }$ is a label from the label space $\mathcal { L }$ . We define a valid segmentation candidate as its segments are non-overlapping and fully cover the input sequence.
|
| 31 |
+
|
| 32 |
+
A case extracted from CoNLL-2003 dataset (Sang & De Meulder, 2003):
|
| 33 |
+
|
| 34 |
+
$$
|
| 35 |
+
\begin{array} { r } { \mathbf { x } = [ [ \mathrm { S O S } ] , \mathrm { S a n g t h a i } , \mathrm { G l o r y } , 2 2 / 1 1 / 9 6 , 3 0 0 0 , \mathrm { S i n g a p o r e } ] } \\ { \mathbf { y } = [ ( 1 , 1 , 0 ) , ( 2 , 3 , \mathrm { M I S C } ) , ( 4 , 4 , 0 ) , ( 5 , 5 , 0 ) , ( 6 , 6 , \mathrm { L O C } ) ] } \end{array} .
|
| 36 |
+
$$
|
| 37 |
+
|
| 38 |
+
Start-of-sentence symbol [SOS] is added in the pre-processing stage.
|
| 39 |
+
|
| 40 |
+
# 2.1 MODEL: SCORING SEGMENTATION CANDIDATES
|
| 41 |
+
|
| 42 |
+
We denote $\mathcal { V }$ as the universal set that contains all valid segmentation candidates. Given one of its members $\mathbf { y } \in \mathcal { V }$ , we compute the score $f ( \mathbf { y } )$ as
|
| 43 |
+
|
| 44 |
+
$$
|
| 45 |
+
f ( \mathbf { y } ) = \sum _ { ( i , j , t ) \in \mathbf { y } } \Big ( s _ { i , j } ^ { c } + s _ { i , j , t } ^ { l } \Big ) ,
|
| 46 |
+
$$
|
| 47 |
+
|
| 48 |
+
Input: Composition score $s _ { i , j } ^ { c }$ and label score $s _ { i , j , t } ^ { l }$ for every possible segment $( i , j , t )$ .
|
| 49 |
+
|
| 50 |
+
utput: The maximum segmentation scoring candidate $\hat { \mathbf { y } }$ and its score $f ( \hat { \mathbf { y } } )$ .
|
| 51 |
+
|
| 52 |
+
1 Set two $n \times n$ shaped matrices, $\mathbf { c } ^ { L }$ and ${ \bf b } ^ { c }$ , for computing maximum scoring labels.
|
| 53 |
+
|
| 54 |
+
2 Set two $n$ -length vectors, $\mathbf { g }$ and $\mathbf { b } ^ { g }$ , for computing maximum scoring segmentation.
|
| 55 |
+
|
| 56 |
+
4 Compute the maximum label score for each span $( i , j ) \colon s _ { i , j } ^ { L } = \operatorname* { m a x } _ { t \in \mathcal { L } } s _ { i , j , t } ^ { l }$
|
| 57 |
+
5 Record the backtracking index: $b _ { i , j } ^ { c } = \arg \operatorname* { m a x } _ { t \in \mathcal { L } } s _ { i , j , t } ^ { l }$ .
|
| 58 |
+
|
| 59 |
+
6 Initialize the value of the base case $\mathbf { x } _ { 1 , 1 } \colon g _ { 1 } = s _ { 1 , 1 } ^ { c } + s _ { 1 , 1 } ^ { L }$
|
| 60 |
+
|
| 61 |
+
8 Compute the value of the prefix $\begin{array} { r } { \mathbf { x } _ { 1 , i } { \mathrm { : ~ } } g _ { i } = \operatorname* { m a x } _ { 1 \leq j \leq i - 1 } \left( g _ { i - j } + \left( s _ { i - j + 1 , i } ^ { c } + s _ { i - j + 1 , i } ^ { L } \right) \right) } \end{array}$
|
| 62 |
+
9 Record the backtracking index: $b _ { i } ^ { g } = \arg \operatorname* { m a x } _ { 1 \leq j \leq i - 1 } \left( g _ { i - j } + ( s _ { i - j + 1 , i } ^ { c } + s _ { i - j + 1 , i } ^ { L } ) \right) .$ .
|
| 63 |
+
10 Get the maximum scoring candidate $\hat { \mathbf { y } }$ by back tracing the tables $\mathbf { b } ^ { g }$ and $\mathbf { b } ^ { c }$ .
|
| 64 |
+
11 Get the maximum segmentation score: $f ( \hat { \mathbf { y } } ) = g _ { n }$ .
|
| 65 |
+
|
| 66 |
+
where $s _ { i , j } ^ { c }$ is the composition score to estimate the feasibility of merging several fine-grained units $[ x _ { i } , x _ { i + 1 } , \cdot \cdot \cdot , x _ { j } ]$ into a coarse-grained unit and $s _ { i , j , t } ^ { l }$ is the label score to measure how likely the label of this segment is $t$ . Both scores are obtained by a scoring model.
|
| 67 |
+
|
| 68 |
+
Scoring Model. a scoring model scores all possible segments $( i , j , t )$ for an input sentence $\mathbf { x }$ . Firstly, we get the representation for each fine-grained unit. Following prior works (Li et al., 2019; Luo et al., 2020; Yu et al., 2020), we adopt BERT (Devlin et al., 2018), a powerful pre-trained language model, as the sentence encoder. Specifically, we have
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
[ \mathbf { h } _ { 1 } ^ { w } , \mathbf { h } _ { 2 } ^ { w } \cdot \cdot \cdot \mathbf { \epsilon } , \mathbf { h } _ { n } ^ { w } ] = \mathrm { B E R T } ( \mathbf { x } ) ,
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
Then, we compute the representation for a coarse-grained unit $\mathbf { x } _ { i , j } , 1 \leq i \leq j \leq n$ as
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
\mathbf { h } _ { i , j } ^ { p } = \mathbf { h } _ { i } ^ { w } \oplus \mathbf { h } _ { j } ^ { w } \oplus \left( \mathbf { h } _ { i } ^ { w } - \mathbf { h } _ { j } ^ { w } \right) \oplus \big ( \mathbf { h } _ { i } ^ { w } \odot \mathbf { h } _ { j } ^ { w } \big ) ,
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
where $\oplus$ is vector concatenation and $\odot$ is element-wise product.
|
| 81 |
+
|
| 82 |
+
Eventually, we employ two non-linear feedforward networks to score a segment $( i , j , t )$ :
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
\begin{array} { r } { \boldsymbol { s } _ { i , j } ^ { c } = \left( \mathbf { v } ^ { c } \right) ^ { T } \operatorname { t a n h } ( \mathbf { W } ^ { c } \mathbf { h } _ { i , j } ^ { p } ) , \boldsymbol { s } _ { i , j , t } ^ { l } = \left( \mathbf { v } _ { t } ^ { l } \right) ^ { T } \operatorname { t a n h } ( \mathbf { W } ^ { l } \mathbf { h } _ { i , j } ^ { p } ) , } \end{array}
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
where $\mathbf { v } _ { } ^ { c }$ , $\mathbf { W } ^ { c }$ , $\mathbf { v } _ { t } ^ { l } , t \in \mathcal { L }$ , and $\mathbf { W } ^ { l }$ are all learnable parameters. Besides, the scoring model used here can be flexibly replaced by any regression method.
|
| 89 |
+
|
| 90 |
+
# 2.2 INFERENCE VIA DYNAMIC PROGRAMMING
|
| 91 |
+
|
| 92 |
+
The prediction of the maximum scoring segmentation candidate can be formulated as
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
{ \hat { \mathbf { y } } } = \operatorname * { a r g m a x } _ { \mathbf { y } \in \mathcal { Y } } f ( \mathbf { y } ) .
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
Because the size of search space $| \mathcal { V } |$ increases exponentially with respect to the sequence length $n$ , brute-force search to solve Equation 5 is computationally infeasible. LUA uses DP to address this issue, which is facilitated by the decomposable nature of Equation 1.
|
| 99 |
+
|
| 100 |
+
DP is a well-known optimization method which solves a complicated problem by breaking it down into simpler sub-problems in a recursive manner. The relation between the value of the larger problem and the values of its sub-problems is called the Bellman equation.
|
| 101 |
+
|
| 102 |
+
Sub-problem. In the context of LUA, the sub-problem of segmenting an input unit sequence $\mathbf { x }$ is segmenting its prefixes $\mathbf { x } _ { 1 , i } , 1 \leq i \leq n$ . We define $g _ { i }$ as the maximum segmentation score of the prefix $\mathbf { x } _ { 1 , i }$ . Under this scheme, we have $\textstyle \operatorname* { m a x } _ { \mathbf { y } \in { \mathcal { y } } } f ( \mathbf { y } ) = g _ { n }$ .
|
| 103 |
+
|
| 104 |
+
The Bellman Equation. The relatinship between segmenting a sequence $\mathbf { x } _ { 1 , i } , i > 1$ and segmenting its prefixes $x _ { 1 , i - j } , 1 \leq j \leq i - 1$ is built by the last segments $( i - j + 1 , i , t )$ :
|
| 105 |
+
|
| 106 |
+
$$
|
| 107 |
+
g _ { i } = \operatorname* { m a x } _ { 1 \leq j \leq i - 1 } \big ( g _ { i - j } + \big ( s _ { i - j + 1 , i } ^ { c } + \operatorname* { m a x } _ { t \in \mathcal { L } } s _ { i - j + 1 , i , t } ^ { l } \big ) \big ) .
|
| 108 |
+
$$
|
| 109 |
+
|
| 110 |
+
In practice, to reduce the time complexity of above equation, the last term is computed beforehand as $\begin{array} { r } { \dot { s } _ { i , j } ^ { L } = \operatorname* { m a x } _ { t \in \mathcal { L } } s _ { i , j , t } ^ { l } , 1 \leq i \leq j \dot { \leq } n } \end{array}$ . Hence, Equation 6 is reformulated as
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
g _ { i } = \operatorname* { m a x } _ { 1 \leq j \leq i - 1 } \big ( g _ { i - j } + ( s _ { i - j + 1 , i } ^ { c } + s _ { i - j + 1 , i } ^ { L } ) \big ) .
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
The base case is the first token $\mathbf { x } _ { 1 , 1 } = [ [ \mathrm { S O S } ] ]$ . We get its score $g _ { 1 }$ as $s _ { 1 , 1 } ^ { c } + s _ { 1 , 1 } ^ { L }$
|
| 117 |
+
|
| 118 |
+
Algorithm 1 shows how DP is applied in inference. Firstly, we set two matrices and two vectors to store the solutions to the sub-problems (1-st to 2-nd lines). Secondly, we get the maximum label scores for all the spans (3-rd to 5-th lines). Then, we initialize the trivial case $g _ { 1 }$ and recursively calculate the values for prefixes $\mathbf { x } _ { 1 , i } , i > 1$ (6-th to 9-th lines). Finally, we get the predicted segmentation $\hat { \mathbf { y } }$ and its score $f ( \hat { \mathbf { y } } )$ (10-th to 11-th lines).
|
| 119 |
+
|
| 120 |
+
The time complexity of Algorithm 1 is $\mathcal { O } ( n ^ { 2 } )$ . By performing the max operation of Equation 7 in parallel on GPU, it can be optimized to only ${ \mathcal { O } } ( n )$ , which is highly efficient. Besides, DP, as the backbone of the proposed model, is non-parametric. The trainable parameters only exist in the scoring model part. These show LUA is a very light-weight algorithm.
|
| 121 |
+
|
| 122 |
+
# 2.3 TRAINING CRITERION
|
| 123 |
+
|
| 124 |
+
We adopt max-margin penalty as the loss function for training. Given the predicted segmentation $\hat { \mathbf { y } }$ and the ground truth segmentation $\mathbf { y } ^ { * }$ , we have
|
| 125 |
+
|
| 126 |
+
$$
|
| 127 |
+
\mathcal { T } = \operatorname* { m a x } \big ( 0 , 1 - f ( \mathbf { y } ^ { * } ) + f ( \hat { \mathbf { y } } ) \big ) .
|
| 128 |
+
$$
|
| 129 |
+
|
| 130 |
+
# 3 EXTENSIONS OF LUA
|
| 131 |
+
|
| 132 |
+
We propose two extensions of LUA for generalizing it to different scenarios.
|
| 133 |
+
|
| 134 |
+
Unlabeled Segmentation. In some tasks (e.g., Chinese word segmentation), the segments are unlabeled. Under this scheme, the Equation 1 and Equation 7 are reformulated as
|
| 135 |
+
|
| 136 |
+
$$
|
| 137 |
+
f ( \mathbf { y } ) = \sum _ { ( i , j ) \in \mathbf { y } } s _ { i , j } ^ { c } , ~ g _ { i } = \operatorname* { m a x } _ { 1 \leq j \leq i - 1 } ( g _ { i - j } + s _ { i - j + 1 , i } ^ { c } ) .
|
| 138 |
+
$$
|
| 139 |
+
|
| 140 |
+
Capturing Label Correlations. In some tasks (e.g., syntactic chunking), the labels of segments are strongly correlated. To incorporate this information, we redefine $f ( \mathbf { y } )$ as
|
| 141 |
+
|
| 142 |
+
$$
|
| 143 |
+
f ( { \bf { y } } ) = \sum _ { 1 \le k \le m } \left( s _ { i _ { k } , j _ { k } } ^ { c } + s _ { i _ { k } , j _ { k } , t _ { k } } ^ { l } \right) + \sum _ { 1 \le k \le m } s _ { t _ { k - q + 1 } , t _ { k - q + 2 } , \cdots , t _ { k } } ^ { d } .
|
| 144 |
+
$$
|
| 145 |
+
|
| 146 |
+
Score In pra $s _ { t _ { k - q + 1 } , t _ { k - q + 2 } , \cdots , t _ { k } } ^ { d }$ models the label dependencies among balances the efficiency and the effecti $q$ successive segments, ness well, and thus pa $_ { \mathbf { y } _ { k - q + 1 , k } }$ $q = 2$
|
| 147 |
+
a learnable matrix $\mathbf { W } ^ { d } \in \mathbb { R } ^ { | \nu | \times | \nu | }$ to implement it.
|
| 148 |
+
|
| 149 |
+
The corresponding Bellman equation to above scoring function is
|
| 150 |
+
|
| 151 |
+
$$
|
| 152 |
+
g _ { i , t } = \underset { 1 \leq j \leq i - 1 } { \operatorname* { m a x } } \big ( \underset { t ^ { \prime } \in \mathcal { L } } { \operatorname* { m a x } } ( g _ { i - j , t ^ { \prime } } + s _ { t ^ { \prime } , t } ^ { d } ) + ( s _ { i - j + 1 , i } ^ { c } + s _ { i - j + 1 , i , t } ^ { l } ) \big ) ,
|
| 153 |
+
$$
|
| 154 |
+
|
| 155 |
+
where $g _ { i , t }$ is the maximum score of labeling the last segment of the prefix $\mathbf { x } _ { 1 , i }$ with $t$ . For initialization, we set the value of $g _ { . 1 , \mathrm { O } } ^ { d }$ as 0 and the others as $- \infty$ . By performing the inner loops of two max operations in parallel, the practical time complexity for computing $g _ { i , t } , 1 \leq i \leq n , t \in \mathcal { L }$ is also ${ \mathcal { O } } ( n )$ . Ultimately, the segmentation score $f ( \hat { \mathbf { y } } )$ is obtained by $\operatorname* { m a x } _ { t \in \mathcal { L } } g _ { n , t }$ .
|
| 156 |
+
|
| 157 |
+
This extension further improves the results on syntactic chunking and Chinese POS tagging, as both tasks have rich sequential features among the labels of segments.
|
| 158 |
+
|
| 159 |
+
Table 1: Experiment results on Chinese word segmentation.
|
| 160 |
+
|
| 161 |
+
<table><tr><td>Model</td><td>AS</td><td>MSR</td><td>CITYU</td><td>PKU</td><td>CTB6</td></tr><tr><td>Rich Pretraining(Yang et al.,2017)</td><td>95.7</td><td>97.5</td><td>96.9</td><td>96.3</td><td>96.2</td></tr><tr><td>Bi-LSTM(Ma et al.,2018)</td><td>96.2</td><td>98.1</td><td>97.2</td><td>96.1</td><td>96.7</td></tr><tr><td>Multi-Criteria_Learning +_BERT_(Huang etal., 2019)</td><td>96.6</td><td>97.9</td><td>97.6</td><td>96.6</td><td>97.6</td></tr><tr><td>BERT (Meng et al.,2019)</td><td>96.5</td><td>98.1</td><td>97.6</td><td>96.5</td><td>=</td></tr><tr><td>Glyce + BERT (Meng et al.,2019)</td><td>96.7</td><td>98.3</td><td>97.9</td><td>96.7</td><td>-</td></tr><tr><td>Unlabeled LUA</td><td>96.94</td><td>98.27</td><td>98.21</td><td>96.88</td><td>98.13</td></tr></table>
|
| 162 |
+
|
| 163 |
+
Table 2: Experiment results on the four datasets of Chinese POS tagging.
|
| 164 |
+
|
| 165 |
+
<table><tr><td colspan="2">Model</td><td>CTB5</td><td>CTB6</td><td>CTB9</td><td>UD1</td></tr><tr><td colspan="2">Bi-RNN+ CRF (Single) (Shao et al., 2017) Bi-RNN + CRF (Ensemble) (Shao et al.,2017)</td><td>94.07</td><td>90.81</td><td>91.89</td><td>89.41</td></tr><tr><td colspan="2">Lattice-LSTM(Meng et al.,2019)</td><td>94.38</td><td>-</td><td>92.34</td><td>89.75</td></tr><tr><td colspan="2">Glyce + Lattice-LSTM (Meng et al., 2019)</td><td>95.14</td><td>91.43</td><td>92.13</td><td>90.09</td></tr><tr><td colspan="2">BERT (Meng et al.,2019)</td><td>95.61</td><td>91.92</td><td>92.38</td><td>90.87</td></tr><tr><td colspan="2">Glyce +BERT (Meng et al., 2019)</td><td>96.06</td><td>94.77</td><td>92.29</td><td>94.79</td></tr><tr><td colspan="2"></td><td>96.61</td><td>95.41</td><td>93.15</td><td>96.14</td></tr><tr><td rowspan="2">This Work</td><td>LUA</td><td>96.79</td><td>95.39</td><td>93.22</td><td>96.01</td></tr><tr><td>LUA w/Label Correlations</td><td>97.96</td><td>96.63</td><td>93.95</td><td>97.08</td></tr></table>
|
| 166 |
+
|
| 167 |
+
# 4 EXPERIMENTS
|
| 168 |
+
|
| 169 |
+
We have conducted extensive studies on 5 tasks, including Chinese word segmentation, Chinese POS tagging, syntactic chunking, NER, and slot filling, across 15 datasets. Firstly, Our models have achieved new state-of-the-art performances on 13 of them. Secondly, the results demonstrate that the F1 score of identifying long-length segments has been notably improved. Lastly, we show that LUA is a very efficient algorithm concerning the running time.
|
| 170 |
+
|
| 171 |
+
# 4.1 SETTINGS
|
| 172 |
+
|
| 173 |
+
We use the same configurations for all 15 datasets. L2 regularization and dropout ratio are respectively set as $1 \times 1 0 ^ { - 6 }$ and 0.2 for reducing overfit. We use Adam (Kingma & Ba, 2014) to optimize our model. Following prior works, BERTBASE is adopted as the sentence encoder. We use uncased BERTBASE for slot filling, Chinese BERTBASE for Chinese tasks (e.g., Chinese POS tagging), and cased BERTBASE for others (e.g., syntactic chunking). In addition, the improvements of our model over baselines are statistically significant with $p < 0 . 0 5$ under t-test.
|
| 174 |
+
|
| 175 |
+
# 4.2 CHINESE WORD SEGMENTATION
|
| 176 |
+
|
| 177 |
+
Chinese word segmentation splits a Chinese character sequence into a sequence of Chinese words. We use SIGHAN 2005 bake-off (Emerson, 2005) and Chinese Treebank 6.0 (CTB6) (Xue et al., 2005). SIGHAN 2005 back-off consists of 5 datasets, namely AS, MSR, CITYU, and PKU. Following Ma et al. (2018), we randomly select $1 0 \%$ training data as development set. We convert all digits, punctuation, and Latin letters to half-width for handling full/half-width mismatch between training and test set. We also convert AS and CITYU to simplified Chinese. For CTB6, we follow the same format and partition as in Yang et al. (2017); Ma et al. (2018).
|
| 178 |
+
|
| 179 |
+
Table 1 depicts the experiment results. All the results of baselines are from Yang et al. (2017); Ma et al. (2018); Huang et al. (2019); Meng et al. (2019). We have achieved new state-of-the-art performance on all datasets except MSR. Our model improves the F1 score by $0 . 2 5 \%$ on AS, $0 . 3 2 \%$ on CITYU, $0 . 1 9 \%$ on PKU, and $0 . 5 4 \%$ on CTB6. Note that our model doesn’t use any external resources, such as glyph information (Meng et al., 2019) or POS tags (Yang et al., 2017). Despite this, our model is still competitive with Glyce $^ +$ BERT on MSR.
|
| 180 |
+
|
| 181 |
+
# 4.3 CHINESE POS TAGGING
|
| 182 |
+
|
| 183 |
+
Chinese POS tagging jointly segments a Chinese character sequence and assigns a POS tag to each segmented unit. We use Chinese Treebank 5.0 (CTB5), CTB6, Chinese Treebank 9.0 (CTB9) (Xue et al., 2005), and the Chinese section of Universal Dependencies 1.4 (UD1) (Nivre et al., 2016). CTB5 is comprised of newswire data. CTB9 consists of source texts in various genres, which cover CTB5. we convert the texts in UD1 from traditional Chinese into simplified Chinese. We follow the same train/dev/test split for above datasets as in Shao et al. (2017).
|
| 184 |
+
|
| 185 |
+
Table 3: Experiment results on syntactic chunking and NER.
|
| 186 |
+
|
| 187 |
+
<table><tr><td colspan="2">Model</td><td>Chunking</td><td colspan="2">NER</td></tr><tr><td colspan="2"></td><td>CoNLL-2000</td><td>CoNLL-2003</td><td>OntoNotes5.0</td></tr><tr><td colspan="2">Bi-LSTM + CRF (Huang et al., 2015)</td><td>94.46</td><td>90.10</td><td>1</td></tr><tr><td colspan="2">Flair Embeddings (Akbik et al., 2018)</td><td>96.72</td><td>93.09</td><td>89.3</td></tr><tr><td colspan="2">GCDT w/BERT (Liu et al., 2019b)</td><td>96.81</td><td>93.23</td><td>1</td></tr><tr><td colspan="2">BERT-MRC (Li et al., 2019)</td><td>-</td><td>93.04</td><td>91.11</td></tr><tr><td colspan="2">HCR w/BERT (Luo et al., 2020)</td><td>=</td><td>93.37</td><td>90.30</td></tr><tr><td colspan="2">BERT-Biaffine Model (Yu et al., 2020) LUA</td><td>-</td><td>93.5</td><td>91.3</td></tr><tr><td rowspan="2">This Work</td><td></td><td>96.95</td><td>93.46</td><td>92.09</td></tr><tr><td>LUA w/Label Correlations</td><td>97.23</td><td>-</td><td>-</td></tr></table>
|
| 188 |
+
|
| 189 |
+
Table 2 shows the experiment results. The performances of all baselines are reported from Meng et al. (2019). Our model LUA w/ Label Correlations has yielded new state-of-the-art results on all the datasets: it improves the F1 scores by $1 . 3 5 \%$ on CTB5, $1 . 2 2 \%$ on CTB6, $0 . 8 \%$ on CTB9, and $0 . 9 4 \%$ on UD1. Moreover, the basic LUA without capturing the label correlations also outperforms the strongest baseline, Glyce $^ +$ BERT, by $0 . 1 8 \%$ on CTB5 and $0 . 0 7 \%$ on CTB9. All these facts further verify the effectiveness of LUA and its extension.
|
| 190 |
+
|
| 191 |
+
# 4.4 SYNTACTIC CHUNKING AND NER
|
| 192 |
+
|
| 193 |
+
Syntactic chunking aims to find phrases related to syntatic category for a sentence. We use CoNLL2000 dataset (Sang & Buchholz, 2000), which defines 11 syntactic chunk types (NP, VP, PP, etc.) and follow the standard splittings of training and test datasets as previous work. NER locates the named entities mentioned in unstructured text and meanwhile classifies them into predefined categories. We use CoNLL-2003 dataset (Sang & De Meulder, 2003) and OntoNotes 5.0 dataset (Pradhan et al., 2013). CoNLL-2003 dataset consists of 22137 sentences totally and is split into 14987, 3466, and 3684 sentences for the training set, development set, and test set, respectively. It is tagged with four linguistic entity types (PER, LOC, ORG, MISC). OntoNotes 5.0 dataset contains 76714 sentences from a wide variety of sources (e.g., magazine and newswire). It includes 18 types of named entity, which consists of 11 types (Person, Organization, etc.) and 7 values (Date, Percent, etc.). We follow the same format and partition as in Li et al. (2019); Luo et al. (2020); Yu et al. (2020). In order to fairly compare with previous reported results, we convert the predicted segments into IOB format and utilize conlleval script1 to compute the F1 score at test time.
|
| 194 |
+
|
| 195 |
+
Table 3 shows the results. Most of baselines are directly taken from Akbik et al. (2018); Li et al. (2019); Luo et al. (2020); Yu et al. (2020). Besides, following Luo et al. (2020), we rerun the source code2 of GCDT and report its result on CoNLL-2000 with standard evaluation method. Generally, our proposed models LUA w/o Label Correlations yield competitive performance over state-of-theart models on both Chunking and NER tasks. Specifically, regarding to the NER task, on CoNLL2003 dataset our model LUA outperforms several strong baselines including Flair Embedding, and it is comparable to the state-of-the-art model (i.e., BERT-Biaffine Model). In particular, on OntoNotes dataset, LUA outperforms it by $0 . 7 9 \%$ points and establishes a new state-of-the-art result. Regarding to the Chunking task, LUA advances the best model (GCDT) and the improvements are further enlarged to $0 . 4 \hat { 2 } \%$ points by LUA w/ Label Correlations.
|
| 196 |
+
|
| 197 |
+
# 4.5 SLOT FILLING
|
| 198 |
+
|
| 199 |
+
Slot filling, as an important task in spoken language understanding (SLU), extracts semantic constituents from an utterance. We use ATIS dataset (Hemphill et al., 1990), SNIPS dataset (Coucke et al., 2018), and MTOD dataset (Schuster et al., 2018). ATIS dataset consists of audio recordings of
|
| 200 |
+
|
| 201 |
+
Table 4: Experiment results on the three datasets of slot filling.
|
| 202 |
+
|
| 203 |
+
<table><tr><td colspan="2">Model</td><td>ATIS</td><td>SNIPS</td><td>MTOD</td></tr><tr><td colspan="2">Slot-Gated SLU (Goo et al.,2018) Bi-LSTM + EMLo (Siddhant et al., 2019)</td><td>95.20</td><td>88.30</td><td>95.12</td></tr><tr><td colspan="2"></td><td>95.42</td><td>93.90</td><td>-</td></tr><tr><td colspan="2">Joint BERT (Chen et al., 2019b) CM-Net (Liu et al.,2019c)</td><td>96.10 96.20</td><td>97.00</td><td>96.48</td></tr><tr><td colspan="2"></td><td>96.15</td><td>97.15</td><td>-</td></tr><tr><td rowspan="2">This Work</td><td>LUA LUA w/ Intent Detection</td><td>96.27</td><td>97.10</td><td>97.53</td></tr><tr><td></td><td></td><td>97.20</td><td>97.55</td></tr></table>
|
| 204 |
+
|
| 205 |
+
<table><tr><td>Model</td><td>1-3(8695)</td><td>4-7(2380)</td><td>8-11(151)</td><td>12-24(31)</td><td>Overall</td></tr><tr><td>HCRw/BERT</td><td>91.15</td><td>85.22</td><td>50.43</td><td>20.67</td><td>90.27</td></tr><tr><td>BERT-Biaffine Model</td><td>91.67</td><td>87.23</td><td>70.24</td><td>40.55</td><td>91.26</td></tr><tr><td>LUA</td><td>92.31</td><td>88.52</td><td>77.34</td><td>57.27</td><td>92.09</td></tr></table>
|
| 206 |
+
|
| 207 |
+
Table 5: The F1 scores for NER models on different segment lengths. $A - B ( N )$ denotes that there are $N$ entities whose span lengths are between $A$ and $B$ .
|
| 208 |
+
|
| 209 |
+
people making flight reservations. The training set contains 4478 utterances and the test set contains 893 utterances. SNIPS dataset is collected by Snips personal voice assistant. The training set contains 13084 utterances and the test set contains 700 utterances. MTOD dataset has three domains, including Alarm, Reminder, and Weather. We use the English part of MTOD dataset, where training set, dev set, and test set respectively contain 30521, 4181, and 8621 utterances. We follow the same partition of above datasets as in Goo et al. (2018); Schuster et al. (2018).
|
| 210 |
+
|
| 211 |
+
Table 4 summarizes the experiment results for slot filling. On ATIS and SNIPS, we take the results of all baselines as reported in Liu et al. (2019c) for comparison. On MTOD, we rerun the open source toolkits, Slot-gated $\mathrm { S L U } ^ { 3 }$ and Joint BERT4. As all previous approaches jointly model slot filling and intent detection (a classification task in SLU), we follow them to augment LUA with intent detection for a fair comparison. As shown in Table 4, the augmented LUA has surpassed all baselines and obtained state-of-the-art results on the three datasets: it increases the F1 scores by around $0 . 0 5 \%$ on ATIS and SNIPS, and delivers a substantial gain of $1 . 1 1 \%$ on MTOD. It’s worth mentioning that LUA even outperforms the strong baseline Joint BERT with a margin of $0 . 1 8 \%$ and $0 . 2 1 \%$ on ATIS and SNIPS without modeling intent detection.
|
| 212 |
+
|
| 213 |
+
# 4.6 LONG-LENGTH SEGMENT IDENTIFICATION
|
| 214 |
+
|
| 215 |
+
Since LUA doesn’t resort to IOB tagging scheme, it should be more accurate in recognizing longlength segments than prior methods. To verify this intuition, we evaluate different models on the segments of different lengths. This study is investigated on OntoNotes 5.0 dataset. Two strong models are adopted as the baselines: one is the best sequence labeling model (i.e., HCR) and the other is the best span-based model (i.e., BERT-Biaffine Model). Both baselines are reproduced by rerunning their open source codes, biaffine-ner5 and Hire-NER6.
|
| 216 |
+
|
| 217 |
+
The results are shown in Table 5. On the one hand, both LUA and Biaffine Model obtain much higher scores of extracting long-length entities than HCR. For example, LUA outperforms HCR w/ BERT by almost twofold on range $1 2 - 2 4$ . On the other hand, LUA achieves even better results than BERT-Biaffine Model. For instance, the F1 score improvements of LUA over it are $1 0 . 1 1 \%$ on range $8 - 1 1$ and $4 1 . 2 3 \%$ on range $1 2 - 2 4$ .
|
| 218 |
+
|
| 219 |
+
# 4.7 RUNNING TIME ANALYSIS
|
| 220 |
+
|
| 221 |
+
Table 6 shows the running time comparison among different models. The middle two columns are the time complexity of decoding a label sequence. The last column is the time cost of one epoch in training. We set the batch size as 16 and run all the models on 1 GPU. The results indicate that
|
| 222 |
+
|
| 223 |
+
Table 6: Running time comparison on the syntactic chunking dataset.
|
| 224 |
+
|
| 225 |
+
<table><tr><td>Model</td><td>Theoretical Complexity</td><td>Practical Complexity</td><td>Running Time</td></tr><tr><td>BERT BERT+CRF</td><td>O(n) O(n|C|2)</td><td>0(1)</td><td>5m11s 7m33s</td></tr><tr><td>LUA</td><td>O(n²)</td><td>O(n) O(n)</td><td>6m25s</td></tr><tr><td>LUA w/Label Correlations</td><td>O(n²|C1²)</td><td>0(n)</td><td>7m09s</td></tr></table>
|
| 226 |
+
|
| 227 |
+
the success of our models in performances does not lead to serious side-effects on efficiency. For example, with the same practical time complexity, BERT $^ +$ CRF is slower than the proposed LUA by $1 5 . 0 1 \%$ and LUA w/ Label Correlations by $5 . \dot { 3 } 0 \%$ .
|
| 228 |
+
|
| 229 |
+
# 5 RELATED WORK
|
| 230 |
+
|
| 231 |
+
Sequence segmentation aims to partition a fine-grained unit sequence into multiple labeled coarsegrained units. Traditionally, there are two types of methods. The most common is to cast it into a sequence labeling task (Mesnil et al., 2014; Ma & Hovy, 2016; Chen et al., 2019a) by using IOB tagging scheme. This method is simple and effective, providing a number of state-of-the-art results. Akbik et al. (2018) present Flair Embeddings that pretrain character embedding in a large corpus and directly use it, instead of word representation, to encode a sentence. Liu et al. (2019b) introduce GCDT that deepens the state transition path at each position in a sentence, and further assigns each word with global representation. Luo et al. (2020) use hierarchical contextualized representations to incorporate both sentence-level and document-level information. Nevertheless, these models are vulnerable to producing invalid labels and perform poorly in identifying longlength segments. This problem is very severe in low-resource setting. Ye & Ling (2018); Liu et al. (2019a) adopt Semi-Markov CRF (Sarawagi & Cohen, 2005) that improves CRF at phrase level. However, the computation of CRF loss is costly in practice and the potential to model the label dependencies among segments is limited. An alternative approach that is less studied uses a transition-based system to incrementally segment and label an input sequence (Zhang et al., 2016; Lample et al., 2016). For instance, Qian et al. (2015) present a transition-based model for joint word segmentation, POS tagging, and text normalization. Wang et al. (2017) employ a transitionbased model to disfluency detection task, which helps capture non-local chunk-level features. These models have many advantages like theoretically lower time complexity and labeling the extracted mentions at span level. However, to our best knowledge, no recent transition-based models surpass their sequence labeling based counterparts.
|
| 232 |
+
|
| 233 |
+
More recently, there is a surge of interests in span-based models. They treat a segment, instead of a fine-grained token, as the basic unit for labeling. For example, Li et al. (2019) regard NER as a MRC task, where entities are recognized as retrieving answer spans. Since these methods are locally normalized at span level rather than sequence level, they potentially suffer from the label bias problem. Additionally, they rely on rules to ensure the extracted span set to be valid. Spanbased methods also emerge in other fields of NLP. In dependency parsing, Wang & Chang (2016) propose a LSTM-based sentence segment embedding method named LSTM-Minus. Stern et al. (2017) integrate LSTM-minus feature into constituent parsing models. In coreference resolution, Lee et al. (2018) consider all spans in a document as the potential mentions and learn distributions over all the possible antecedents for each other.
|
| 234 |
+
|
| 235 |
+
# 6 CONCLUSION
|
| 236 |
+
|
| 237 |
+
This work proposes a novel LUA for general sequence segmentation tasks. LUA directly scores all the valid segmentation candidates and uses dynamic programming to extract the maximum scoring one. Compared with previous models, LUA naturally guarantees the predicted segmentation to be valid and circumvents the label bias problem. Extensive studies are conducted on 5 tasks across 15 datasets. We have achieved the state-of-the-art performances on 13 of them. Importantly, the F1 score of identifying long-length segments is significantly improved.
|
| 238 |
+
|
| 239 |
+
# REFERENCES
|
| 240 |
+
|
| 241 |
+
Alan Akbik, Duncan Blythe, and Roland Vollgraf. Contextual string embeddings for sequence labeling. In Proceedings of the 27th International Conference on Computational Linguistics, pp. 1638–1649, 2018.
|
| 242 |
+
|
| 243 |
+
Richard Bellman. Dynamic programming. Science, 153(3731):34–37, 1966.
|
| 244 |
+
|
| 245 |
+
Hui Chen, Zijia Lin, Guiguang Ding, Jianguang Lou, Yusen Zhang, and Borje Karlsson. Grn: Gated relation network to enhance convolutional neural network for named entity recognition. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pp. 6236–6243, 2019a.
|
| 246 |
+
|
| 247 |
+
Qian Chen, Zhu Zhuo, and Wen Wang. Bert for joint intent classification and slot filling. arXiv preprint arXiv:1902.10909, 2019b.
|
| 248 |
+
|
| 249 |
+
Alice Coucke, Alaa Saade, Adrien Ball, Theodore Bluche, Alexandre Caulier, David Leroy, Cl ´ ement ´ Doumouro, Thibault Gisselbrecht, Francesco Caltagirone, Thibaut Lavril, et al. Snips voice platform: an embedded spoken language understanding system for private-by-design voice interfaces. arXiv preprint arXiv:1805.10190, 2018.
|
| 250 |
+
|
| 251 |
+
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.
|
| 252 |
+
|
| 253 |
+
Timothy Dozat and Christopher D Manning. Deep biaffine attention for neural dependency parsing. arXiv preprint arXiv:1611.01734, 2016.
|
| 254 |
+
|
| 255 |
+
Thomas Emerson. The second international chinese word segmentation bakeoff. In Proceedings of the fourth SIGHAN workshop on Chinese language Processing, 2005.
|
| 256 |
+
|
| 257 |
+
Chih-Wen Goo, Guang Gao, Yun-Kai Hsu, Chih-Li Huo, Tsung-Chieh Chen, Keng-Wei Hsu, and Yun-Nung Chen. Slot-gated modeling for joint slot filling and intent prediction. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pp. 753–757, 2018.
|
| 258 |
+
|
| 259 |
+
Charles T Hemphill, John J Godfrey, and George R Doddington. The atis spoken language systems pilot corpus. In Speech and Natural Language: Proceedings of a Workshop Held at Hidden Valley, Pennsylvania, June 24-27, 1990, 1990.
|
| 260 |
+
|
| 261 |
+
Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997.
|
| 262 |
+
|
| 263 |
+
Weipeng Huang, Xingyi Cheng, Kunlong Chen, Taifeng Wang, and Wei Chu. Toward fast and accurate neural chinese word segmentation with multi-criteria learning. arXiv preprint arXiv:1903.04190, 2019.
|
| 264 |
+
|
| 265 |
+
Zhiheng Huang, Wei Xu, and Kai Yu. Bidirectional lstm-crf models for sequence tagging. arXiv preprint arXiv:1508.01991, 2015.
|
| 266 |
+
|
| 267 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 268 |
+
|
| 269 |
+
John Lafferty, Andrew McCallum, and Fernando CN Pereira. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. 2001.
|
| 270 |
+
|
| 271 |
+
Guillaume Lample, Miguel Ballesteros, Sandeep Subramanian, Kazuya Kawakami, and Chris Dyer. Neural architectures for named entity recognition. arXiv preprint arXiv:1603.01360, 2016.
|
| 272 |
+
|
| 273 |
+
Kenton Lee, Luheng He, and Luke Zettlemoyer. Higher-order coreference resolution with coarseto-fine inference. arXiv preprint arXiv:1804.05392, 2018.
|
| 274 |
+
|
| 275 |
+
Xiaoya Li, Jingrong Feng, Yuxian Meng, Qinghong Han, Fei Wu, and Jiwei Li. A unified mrc framework for named entity recognition. arXiv preprint arXiv:1910.11476, 2019.
|
| 276 |
+
|
| 277 |
+
Tianyu Liu, Jin-Ge Yao, and Chin-Yew Lin. Towards improving neural named entity recognition with gazetteers. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 5301–5307, 2019a.
|
| 278 |
+
|
| 279 |
+
Yijin Liu, Fandong Meng, Jinchao Zhang, Jinan Xu, Yufeng Chen, and Jie Zhou. Gcdt: A global context enhanced deep transition architecture for sequence labeling. arXiv preprint arXiv:1906.02437, 2019b.
|
| 280 |
+
|
| 281 |
+
Yijin Liu, Fandong Meng, Jinchao Zhang, Jie Zhou, Yufeng Chen, and Jinan Xu. Cm-net: A novel collaborative memory network for spoken language understanding. arXiv preprint arXiv:1909.06937, 2019c.
|
| 282 |
+
|
| 283 |
+
Ying Luo, Fengshun Xiao, and Hai Zhao. Hierarchical contextualized representation for named entity recognition. In AAAI, pp. 8441–8448, 2020.
|
| 284 |
+
|
| 285 |
+
Ji Ma, Kuzman Ganchev, and David Weiss. State-of-the-art chinese word segmentation with bilstms. arXiv preprint arXiv:1808.06511, 2018.
|
| 286 |
+
|
| 287 |
+
Xuezhe Ma and Eduard Hovy. End-to-end sequence labeling via bi-directional lstm-cnns-crf. arXiv preprint arXiv:1603.01354, 2016.
|
| 288 |
+
|
| 289 |
+
Yuxian Meng, Wei Wu, Fei Wang, Xiaoya Li, Ping Nie, Fan Yin, Muyu Li, Qinghong Han, Xiaofei Sun, and Jiwei Li. Glyce: Glyph-vectors for chinese character representations. In Advances in Neural Information Processing Systems, pp. 2746–2757, 2019.
|
| 290 |
+
|
| 291 |
+
Gregoire Mesnil, Yann Dauphin, Kaisheng Yao, Yoshua Bengio, Li Deng, Dilek Hakkani-Tur, Xi-´ aodong He, Larry Heck, Gokhan Tur, Dong Yu, et al. Using recurrent neural networks for slot filling in spoken language understanding. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 23(3):530–539, 2014.
|
| 292 |
+
|
| 293 |
+
Joakim Nivre, Marie-Catherine De Marneffe, Filip Ginter, Yoav Goldberg, Jan Hajic, Christopher D Manning, Ryan McDonald, Slav Petrov, Sampo Pyysalo, Natalia Silveira, et al. Universal dependencies v1: A multilingual treebank collection. In Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC’16), pp. 1659–1666, 2016.
|
| 294 |
+
|
| 295 |
+
Nanyun Peng et al. Jointly Learning Representations for Low-Resource Information Extraction. PhD thesis, Ph. D. thesis, Johns Hopkins University, 2017.
|
| 296 |
+
|
| 297 |
+
Sameer Pradhan, Alessandro Moschitti, Nianwen Xue, Hwee Tou Ng, Anders Bjorkelund, Olga ¨ Uryupina, Yuchen Zhang, and Zhi Zhong. Towards robust linguistic analysis using ontonotes. In Proceedings of the Seventeenth Conference on Computational Natural Language Learning, pp. 143–152, 2013.
|
| 298 |
+
|
| 299 |
+
Tao Qian, Yue Zhang, Meishan Zhang, Yafeng Ren, and Donghong Ji. A transition-based model for joint segmentation, pos-tagging and normalization. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pp. 1837–1846, 2015.
|
| 300 |
+
|
| 301 |
+
Erik F Sang and Sabine Buchholz. Introduction to the conll-2000 shared task: Chunking. arXiv preprint cs/0009008, 2000.
|
| 302 |
+
|
| 303 |
+
Erik F Sang and Fien De Meulder. Introduction to the conll-2003 shared task: Languageindependent named entity recognition. arXiv preprint cs/0306050, 2003.
|
| 304 |
+
|
| 305 |
+
Sunita Sarawagi and William W Cohen. Semi-markov conditional random fields for information extraction. In Advances in neural information processing systems, pp. 1185–1192, 2005.
|
| 306 |
+
|
| 307 |
+
Sebastian Schuster, Sonal Gupta, Rushin Shah, and Mike Lewis. Cross-lingual transfer learning for multilingual task oriented dialog. arXiv preprint arXiv:1810.13327, 2018.
|
| 308 |
+
|
| 309 |
+
Yan Shao, Christian Hardmeier, Jorg Tiedemann, and Joakim Nivre. Character-based joint segmen- ¨ tation and pos tagging for chinese using bidirectional rnn-crf. arXiv preprint arXiv:1704.01314, 2017.
|
| 310 |
+
|
| 311 |
+
Aditya Siddhant, Anuj Goyal, and Angeliki Metallinou. Unsupervised transfer learning for spoken language understanding in intelligent agents. In Proceedings of the AAAI conference on artificial intelligence, volume 33, pp. 4959–4966, 2019.
|
| 312 |
+
|
| 313 |
+
Mitchell Stern, Jacob Andreas, and Dan Klein. A minimal span-based neural constituency parser. arXiv preprint arXiv:1705.03919, 2017.
|
| 314 |
+
|
| 315 |
+
Shaolei Wang, Wanxiang Che, Yue Zhang, Meishan Zhang, and Ting Liu. Transition-based disfluency detection using lstms. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 2785–2794, 2017.
|
| 316 |
+
|
| 317 |
+
Wenhui Wang and Baobao Chang. Graph-based dependency parsing with bidirectional lstm. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 2306–2315, 2016.
|
| 318 |
+
|
| 319 |
+
Naiwen Xue, Fei Xia, Fu-Dong Chiou, and Marta Palmer. The penn chinese treebank: Phrase structure annotation of a large corpus. Natural language engineering, 11(2):207, 2005.
|
| 320 |
+
|
| 321 |
+
Nianwen Xue. Chinese word segmentation as character tagging. In International Journal of Computational Linguistics & Chinese Language Processing, Volume 8, Number 1, February 2003: Special Issue on Word Formation and Chinese Language Processing, pp. 29–48, 2003.
|
| 322 |
+
|
| 323 |
+
Jie Yang, Yue Zhang, and Fei Dong. Neural word segmentation with rich pretraining. arXiv preprint arXiv:1704.08960, 2017.
|
| 324 |
+
|
| 325 |
+
Zhi-Xiu Ye and Zhen-Hua Ling. Hybrid semi-markov crf for neural sequence labeling. arXiv preprint arXiv:1805.03838, 2018.
|
| 326 |
+
|
| 327 |
+
Juntao Yu, Bernd Bohnet, and Massimo Poesio. Named entity recognition as dependency parsing. arXiv preprint arXiv:2005.07150, 2020.
|
| 328 |
+
|
| 329 |
+
Feifei Zhai, Saloni Potdar, Bing Xiang, and Bowen Zhou. Neural models for sequence chunking. In Thirty-First AAAI Conference on Artificial Intelligence, 2017.
|
| 330 |
+
|
| 331 |
+
Meishan Zhang, Yue Zhang, and Guohong Fu. Transition-based neural word segmentation. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 421–431, 2016.
|
parse/train/PQlC91XxqK5/PQlC91XxqK5_content_list.json
ADDED
|
@@ -0,0 +1,1705 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "SEGMENTING NATURAL LANGUAGE SENTENCES VIA LEXICAL UNIT ANALYSIS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
821,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
171,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
236,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "In this work, we present Lexical Unit Analysis (LUA), a framework for general sequence segmentation tasks. Given a natural language sentence, LUA scores all the valid segmentation candidates and utilizes dynamic programming (DP) to extract the maximum scoring one. LUA enjoys a number of appealing properties such as inherently guaranteeing the predicted segmentation to be valid and facilitating globally optimal training and inference. Besides, the practical time complexity of LUA can be reduced to linear time, which is very efficient. We have conducted extensive experiments on 5 tasks, including syntactic chunking, named entity recognition (NER), slot filling, Chinese word segmentation, and Chinese part-of-speech (POS) tagging, across 15 datasets. Our models have achieved the state-of-the-art performances on 13 of them. The results also show that the F1 score of identifying long-length segments is notably improved. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
268,
|
| 43 |
+
764,
|
| 44 |
+
435
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
465,
|
| 55 |
+
336,
|
| 56 |
+
482
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Sequence segmentation is essentially the process of partitioning a sequence of fine-grained lexical units into a sequence of coarse-grained ones. In some scenarios, each composed unit is assigned a categorical label. For example, Chinese word segmentation splits a character sequence into a word sequence (Xue, 2003). Syntactic chunking segments a word sequence into a sequence of labeled groups of words (i.e., constituents) (Sang & Buchholz, 2000). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
500,
|
| 66 |
+
825,
|
| 67 |
+
569
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "There are currently two mainstream approaches to sequence segmentation. The most common is to regard it as a sequence labeling problem by using IOB tagging scheme (Mesnil et al., 2014; Ma & Hovy, 2016; Liu et al., 2019b; Chen et al., 2019a; Luo et al., 2020). A representative work is Bidirectional LSTM-CRF (Huang et al., 2015), which adopts LSTM (Hochreiter & Schmidhuber, 1997) to read an input sentence and CRF (Lafferty et al., 2001) to decode the label sequence. This type of method is very effective, providing tons of state-of-the-art performances. However, it is vulnerable to producing invalid labels, for instance, “O, I-tag, I-tag”. This problem is very severe in low resource settings (Peng et al., 2017). In experiments (see section 4.6), we also find that it performs poorly in recognizing long-length segments. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
575,
|
| 77 |
+
825,
|
| 78 |
+
702
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Recently, there is a growing interest in span-based models (Zhai et al., 2017; Li et al., 2019; Yu et al., 2020). They treat a span rather than a token as the basic unit for labeling. Li et al. (2019) cast named entity recognition (NER) to a machine reading comprehension (MRC) task, where entities are extracted as retrieving answer spans. Yu et al. (2020) rank all the spans in terms of the scores predicted by a bi-affine model (Dozat & Manning, 2016). In NER, span-based models have significantly outperformed their sequence labeling based counterparts. While these methods circumvent the use of IOB tagging scheme, they still rely on post-processing rules to guarantee the extracted span set to be valid. Moreover, since span-based models are locally normalized at span level, they potentially suffer from the label bias problem (Lafferty et al., 2001). ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
708,
|
| 88 |
+
825,
|
| 89 |
+
833
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "This paper seeks to provide a new framework which infers the segmentation of a unit sequence by directly selecting from all valid segmentation candidates, instead of manipulating tokens or spans. To this end, we propose Lexical Unit Analysis (LUA) in this paper. LUA assigns a score to every valid segmentation candidate and leverages dynamic programming (DP) (Bellman, 1966) to search for the maximum scoring one. The score of a segmentation is computed by using the scores of its all segments. Besides, we adopt neural networks to score every segment of the input sentence. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
840,
|
| 99 |
+
825,
|
| 100 |
+
922
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/b34a0a4b29cfa62fc1064e82fa52cff24949a657d0e6f47cf445c7abc4ae1d90.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: A toy example to show LUA and how it differs from prior methods. The items in blue and red respectively denote valid and invalid predictions. "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
207,
|
| 113 |
+
99,
|
| 114 |
+
790,
|
| 115 |
+
287
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "The purpose of using DP is to solve the intractability of extracting the maximum scoring segmentation candidate by brute-force search. The time complexity of LUA is quadratic time, yet it can be optimized to linear time in practice by performing parallel matrix computations. For training criterion, we incur a hinge loss between the ground truth and the predictions. We also extend LUA to unlabeled segmentation and capturing label correlations. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
357,
|
| 125 |
+
825,
|
| 126 |
+
428
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "Figure 1 illustrates the comparison between previous methods and the proposed LUA. Prior models at token level and span level are vulnerable to generating invalid predictions, and hence rely on heuristic rules to fix them. For example, in the middle part of Figure 1, the spans of two inferred named entities, [Word $\\mathrm { C u p } \\mathrm { _ { M I S C } }$ and $[ \\mathrm { C u p } ] _ { \\mathrm { M I S C } }$ , conflicts, which is mitigated by comparing the predicted scores. LUA scores all possible segmentation candidates and uses DP to extract the maximum scoring one. In this way, our models guarantee the predictions to be valid. Moreover, the globality of DP addresses the label bias problem. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
173,
|
| 135 |
+
434,
|
| 136 |
+
825,
|
| 137 |
+
532
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "Extensive experiments are conducted on syntactic chunking, NER, slot filling, Chinese word segmentation, and Chinese part-of-speech (POS) tagging across 15 tasks. We have obtained new stateof-the-art results on 13 of them and performed competitively on the others. In particular, we observe that LUA is expert at identifying long-length segments. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
539,
|
| 147 |
+
825,
|
| 148 |
+
594
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "2 METHODOLOGY ",
|
| 155 |
+
"text_level": 1,
|
| 156 |
+
"bbox": [
|
| 157 |
+
176,
|
| 158 |
+
614,
|
| 159 |
+
341,
|
| 160 |
+
631
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "We denote an input sequence (i.e., fine-grained lexical units) as $\\mathbf { x } = [ x _ { 1 } , x _ { 2 } , \\cdot \\cdot \\cdot , x _ { n } ]$ , where $n$ is the sequence length. An output sequence (i.e., coarse-grained lexical units) is represented as the segmentation $\\mathbf { y } = [ y _ { 1 } , y _ { 2 } , \\cdots , y _ { m } ]$ with each segment $y _ { k }$ being a triple $( i _ { k } , j _ { k } , t _ { k } )$ . $m$ denotes its length. $( i _ { k } , j _ { k } )$ specifies a span that corresponds to the phrase $\\mathbf { x } _ { i _ { k } , j _ { k } } = [ x _ { i _ { k } } , x _ { i _ { k } + 1 } , \\cdot \\cdot \\cdot , x _ { j _ { k } } ]$ . $t _ { k }$ is a label from the label space $\\mathcal { L }$ . We define a valid segmentation candidate as its segments are non-overlapping and fully cover the input sequence. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
173,
|
| 169 |
+
646,
|
| 170 |
+
826,
|
| 171 |
+
731
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "A case extracted from CoNLL-2003 dataset (Sang & De Meulder, 2003): ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
176,
|
| 180 |
+
737,
|
| 181 |
+
653,
|
| 182 |
+
752
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "equation",
|
| 188 |
+
"img_path": "images/f88d55dbc3255902eb4f47a9e662f9a54902436565787429bd2615935f3acfc4.jpg",
|
| 189 |
+
"text": "$$\n\\begin{array} { r } { \\mathbf { x } = [ [ \\mathrm { S O S } ] , \\mathrm { S a n g t h a i } , \\mathrm { G l o r y } , 2 2 / 1 1 / 9 6 , 3 0 0 0 , \\mathrm { S i n g a p o r e } ] } \\\\ { \\mathbf { y } = [ ( 1 , 1 , 0 ) , ( 2 , 3 , \\mathrm { M I S C } ) , ( 4 , 4 , 0 ) , ( 5 , 5 , 0 ) , ( 6 , 6 , \\mathrm { L O C } ) ] } \\end{array} .\n$$",
|
| 190 |
+
"text_format": "latex",
|
| 191 |
+
"bbox": [
|
| 192 |
+
292,
|
| 193 |
+
758,
|
| 194 |
+
709,
|
| 195 |
+
790
|
| 196 |
+
],
|
| 197 |
+
"page_idx": 1
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"type": "text",
|
| 201 |
+
"text": "Start-of-sentence symbol [SOS] is added in the pre-processing stage. ",
|
| 202 |
+
"bbox": [
|
| 203 |
+
176,
|
| 204 |
+
796,
|
| 205 |
+
622,
|
| 206 |
+
813
|
| 207 |
+
],
|
| 208 |
+
"page_idx": 1
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"type": "text",
|
| 212 |
+
"text": "2.1 MODEL: SCORING SEGMENTATION CANDIDATES ",
|
| 213 |
+
"text_level": 1,
|
| 214 |
+
"bbox": [
|
| 215 |
+
173,
|
| 216 |
+
828,
|
| 217 |
+
555,
|
| 218 |
+
843
|
| 219 |
+
],
|
| 220 |
+
"page_idx": 1
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"type": "text",
|
| 224 |
+
"text": "We denote $\\mathcal { V }$ as the universal set that contains all valid segmentation candidates. Given one of its members $\\mathbf { y } \\in \\mathcal { V }$ , we compute the score $f ( \\mathbf { y } )$ as ",
|
| 225 |
+
"bbox": [
|
| 226 |
+
173,
|
| 227 |
+
854,
|
| 228 |
+
823,
|
| 229 |
+
883
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 1
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "equation",
|
| 235 |
+
"img_path": "images/b4eeb1215c28a8c7d8a70ce88bcebb7c8716dddcb809969942d46b5d4d1b1a17.jpg",
|
| 236 |
+
"text": "$$\nf ( \\mathbf { y } ) = \\sum _ { ( i , j , t ) \\in \\mathbf { y } } \\Big ( s _ { i , j } ^ { c } + s _ { i , j , t } ^ { l } \\Big ) ,\n$$",
|
| 237 |
+
"text_format": "latex",
|
| 238 |
+
"bbox": [
|
| 239 |
+
393,
|
| 240 |
+
890,
|
| 241 |
+
602,
|
| 242 |
+
928
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 1
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "text",
|
| 248 |
+
"text": "Input: Composition score $s _ { i , j } ^ { c }$ and label score $s _ { i , j , t } ^ { l }$ for every possible segment $( i , j , t )$ . ",
|
| 249 |
+
"bbox": [
|
| 250 |
+
169,
|
| 251 |
+
126,
|
| 252 |
+
746,
|
| 253 |
+
142
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 2
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "utput: The maximum segmentation scoring candidate $\\hat { \\mathbf { y } }$ and its score $f ( \\hat { \\mathbf { y } } )$ . ",
|
| 260 |
+
"bbox": [
|
| 261 |
+
187,
|
| 262 |
+
143,
|
| 263 |
+
714,
|
| 264 |
+
156
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 2
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "text",
|
| 270 |
+
"text": "1 Set two $n \\times n$ shaped matrices, $\\mathbf { c } ^ { L }$ and ${ \\bf b } ^ { c }$ , for computing maximum scoring labels. ",
|
| 271 |
+
"bbox": [
|
| 272 |
+
160,
|
| 273 |
+
157,
|
| 274 |
+
725,
|
| 275 |
+
170
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 2
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "2 Set two $n$ -length vectors, $\\mathbf { g }$ and $\\mathbf { b } ^ { g }$ , for computing maximum scoring segmentation. ",
|
| 282 |
+
"bbox": [
|
| 283 |
+
160,
|
| 284 |
+
171,
|
| 285 |
+
718,
|
| 286 |
+
185
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 2
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "text",
|
| 292 |
+
"text": "4 Compute the maximum label score for each span $( i , j ) \\colon s _ { i , j } ^ { L } = \\operatorname* { m a x } _ { t \\in \\mathcal { L } } s _ { i , j , t } ^ { l }$ \n5 Record the backtracking index: $b _ { i , j } ^ { c } = \\arg \\operatorname* { m a x } _ { t \\in \\mathcal { L } } s _ { i , j , t } ^ { l }$ . ",
|
| 293 |
+
"bbox": [
|
| 294 |
+
165,
|
| 295 |
+
199,
|
| 296 |
+
704,
|
| 297 |
+
233
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 2
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "text",
|
| 303 |
+
"text": "6 Initialize the value of the base case $\\mathbf { x } _ { 1 , 1 } \\colon g _ { 1 } = s _ { 1 , 1 } ^ { c } + s _ { 1 , 1 } ^ { L }$ ",
|
| 304 |
+
"bbox": [
|
| 305 |
+
160,
|
| 306 |
+
236,
|
| 307 |
+
555,
|
| 308 |
+
252
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 2
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "8 Compute the value of the prefix $\\begin{array} { r } { \\mathbf { x } _ { 1 , i } { \\mathrm { : ~ } } g _ { i } = \\operatorname* { m a x } _ { 1 \\leq j \\leq i - 1 } \\left( g _ { i - j } + \\left( s _ { i - j + 1 , i } ^ { c } + s _ { i - j + 1 , i } ^ { L } \\right) \\right) } \\end{array}$ \n9 Record the backtracking index: $b _ { i } ^ { g } = \\arg \\operatorname* { m a x } _ { 1 \\leq j \\leq i - 1 } \\left( g _ { i - j } + ( s _ { i - j + 1 , i } ^ { c } + s _ { i - j + 1 , i } ^ { L } ) \\right) .$ . \n10 Get the maximum scoring candidate $\\hat { \\mathbf { y } }$ by back tracing the tables $\\mathbf { b } ^ { g }$ and $\\mathbf { b } ^ { c }$ . \n11 Get the maximum segmentation score: $f ( \\hat { \\mathbf { y } } ) = g _ { n }$ . ",
|
| 315 |
+
"bbox": [
|
| 316 |
+
165,
|
| 317 |
+
267,
|
| 318 |
+
779,
|
| 319 |
+
300
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 2
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "",
|
| 326 |
+
"bbox": [
|
| 327 |
+
156,
|
| 328 |
+
303,
|
| 329 |
+
671,
|
| 330 |
+
333
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 2
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "where $s _ { i , j } ^ { c }$ is the composition score to estimate the feasibility of merging several fine-grained units $[ x _ { i } , x _ { i + 1 } , \\cdot \\cdot \\cdot , x _ { j } ]$ into a coarse-grained unit and $s _ { i , j , t } ^ { l }$ is the label score to measure how likely the label of this segment is $t$ . Both scores are obtained by a scoring model. ",
|
| 337 |
+
"bbox": [
|
| 338 |
+
174,
|
| 339 |
+
367,
|
| 340 |
+
825,
|
| 341 |
+
412
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 2
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "text",
|
| 347 |
+
"text": "Scoring Model. a scoring model scores all possible segments $( i , j , t )$ for an input sentence $\\mathbf { x }$ . Firstly, we get the representation for each fine-grained unit. Following prior works (Li et al., 2019; Luo et al., 2020; Yu et al., 2020), we adopt BERT (Devlin et al., 2018), a powerful pre-trained language model, as the sentence encoder. Specifically, we have ",
|
| 348 |
+
"bbox": [
|
| 349 |
+
173,
|
| 350 |
+
429,
|
| 351 |
+
825,
|
| 352 |
+
486
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 2
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "equation",
|
| 358 |
+
"img_path": "images/d9e94df8f089510bd74aa3185e0dcd1b7e94b88c40f2f670c76dd9fd397c10d4.jpg",
|
| 359 |
+
"text": "$$\n[ \\mathbf { h } _ { 1 } ^ { w } , \\mathbf { h } _ { 2 } ^ { w } \\cdot \\cdot \\cdot \\mathbf { \\epsilon } , \\mathbf { h } _ { n } ^ { w } ] = \\mathrm { B E R T } ( \\mathbf { x } ) ,\n$$",
|
| 360 |
+
"text_format": "latex",
|
| 361 |
+
"bbox": [
|
| 362 |
+
392,
|
| 363 |
+
493,
|
| 364 |
+
604,
|
| 365 |
+
511
|
| 366 |
+
],
|
| 367 |
+
"page_idx": 2
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"type": "text",
|
| 371 |
+
"text": "Then, we compute the representation for a coarse-grained unit $\\mathbf { x } _ { i , j } , 1 \\leq i \\leq j \\leq n$ as ",
|
| 372 |
+
"bbox": [
|
| 373 |
+
173,
|
| 374 |
+
517,
|
| 375 |
+
733,
|
| 376 |
+
534
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 2
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "equation",
|
| 382 |
+
"img_path": "images/27e2d0c5384994b44168713ea50683326c64817a294acd44ec9c0adea92468ca.jpg",
|
| 383 |
+
"text": "$$\n\\mathbf { h } _ { i , j } ^ { p } = \\mathbf { h } _ { i } ^ { w } \\oplus \\mathbf { h } _ { j } ^ { w } \\oplus \\left( \\mathbf { h } _ { i } ^ { w } - \\mathbf { h } _ { j } ^ { w } \\right) \\oplus \\big ( \\mathbf { h } _ { i } ^ { w } \\odot \\mathbf { h } _ { j } ^ { w } \\big ) ,\n$$",
|
| 384 |
+
"text_format": "latex",
|
| 385 |
+
"bbox": [
|
| 386 |
+
344,
|
| 387 |
+
540,
|
| 388 |
+
651,
|
| 389 |
+
560
|
| 390 |
+
],
|
| 391 |
+
"page_idx": 2
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"type": "text",
|
| 395 |
+
"text": "where $\\oplus$ is vector concatenation and $\\odot$ is element-wise product. ",
|
| 396 |
+
"bbox": [
|
| 397 |
+
171,
|
| 398 |
+
565,
|
| 399 |
+
594,
|
| 400 |
+
580
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 2
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "Eventually, we employ two non-linear feedforward networks to score a segment $( i , j , t )$ : ",
|
| 407 |
+
"bbox": [
|
| 408 |
+
179,
|
| 409 |
+
587,
|
| 410 |
+
751,
|
| 411 |
+
602
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 2
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "equation",
|
| 417 |
+
"img_path": "images/bec80a12be79ba41c21d919bcb58d452ae9381b46291688e763333d89b2a2884.jpg",
|
| 418 |
+
"text": "$$\n\\begin{array} { r } { \\boldsymbol { s } _ { i , j } ^ { c } = \\left( \\mathbf { v } ^ { c } \\right) ^ { T } \\operatorname { t a n h } ( \\mathbf { W } ^ { c } \\mathbf { h } _ { i , j } ^ { p } ) , \\boldsymbol { s } _ { i , j , t } ^ { l } = \\left( \\mathbf { v } _ { t } ^ { l } \\right) ^ { T } \\operatorname { t a n h } ( \\mathbf { W } ^ { l } \\mathbf { h } _ { i , j } ^ { p } ) , } \\end{array}\n$$",
|
| 419 |
+
"text_format": "latex",
|
| 420 |
+
"bbox": [
|
| 421 |
+
295,
|
| 422 |
+
609,
|
| 423 |
+
700,
|
| 424 |
+
633
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 2
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "where $\\mathbf { v } _ { } ^ { c }$ , $\\mathbf { W } ^ { c }$ , $\\mathbf { v } _ { t } ^ { l } , t \\in \\mathcal { L }$ , and $\\mathbf { W } ^ { l }$ are all learnable parameters. Besides, the scoring model used here can be flexibly replaced by any regression method. ",
|
| 431 |
+
"bbox": [
|
| 432 |
+
173,
|
| 433 |
+
642,
|
| 434 |
+
825,
|
| 435 |
+
671
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 2
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "2.2 INFERENCE VIA DYNAMIC PROGRAMMING ",
|
| 442 |
+
"text_level": 1,
|
| 443 |
+
"bbox": [
|
| 444 |
+
173,
|
| 445 |
+
689,
|
| 446 |
+
513,
|
| 447 |
+
704
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 2
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "The prediction of the maximum scoring segmentation candidate can be formulated as ",
|
| 454 |
+
"bbox": [
|
| 455 |
+
174,
|
| 456 |
+
714,
|
| 457 |
+
732,
|
| 458 |
+
731
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 2
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "equation",
|
| 464 |
+
"img_path": "images/caa4c2a21b43a8e4714ab0d3f8d55af123600d3527111674492360b846f69e31.jpg",
|
| 465 |
+
"text": "$$\n{ \\hat { \\mathbf { y } } } = \\operatorname * { a r g m a x } _ { \\mathbf { y } \\in \\mathcal { Y } } f ( \\mathbf { y } ) .\n$$",
|
| 466 |
+
"text_format": "latex",
|
| 467 |
+
"bbox": [
|
| 468 |
+
431,
|
| 469 |
+
738,
|
| 470 |
+
565,
|
| 471 |
+
765
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 2
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "Because the size of search space $| \\mathcal { V } |$ increases exponentially with respect to the sequence length $n$ , brute-force search to solve Equation 5 is computationally infeasible. LUA uses DP to address this issue, which is facilitated by the decomposable nature of Equation 1. ",
|
| 478 |
+
"bbox": [
|
| 479 |
+
174,
|
| 480 |
+
773,
|
| 481 |
+
823,
|
| 482 |
+
816
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 2
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "text",
|
| 488 |
+
"text": "DP is a well-known optimization method which solves a complicated problem by breaking it down into simpler sub-problems in a recursive manner. The relation between the value of the larger problem and the values of its sub-problems is called the Bellman equation. ",
|
| 489 |
+
"bbox": [
|
| 490 |
+
174,
|
| 491 |
+
821,
|
| 492 |
+
825,
|
| 493 |
+
866
|
| 494 |
+
],
|
| 495 |
+
"page_idx": 2
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"type": "text",
|
| 499 |
+
"text": "Sub-problem. In the context of LUA, the sub-problem of segmenting an input unit sequence $\\mathbf { x }$ is segmenting its prefixes $\\mathbf { x } _ { 1 , i } , 1 \\leq i \\leq n$ . We define $g _ { i }$ as the maximum segmentation score of the prefix $\\mathbf { x } _ { 1 , i }$ . Under this scheme, we have $\\textstyle \\operatorname* { m a x } _ { \\mathbf { y } \\in { \\mathcal { y } } } f ( \\mathbf { y } ) = g _ { n }$ . ",
|
| 500 |
+
"bbox": [
|
| 501 |
+
174,
|
| 502 |
+
881,
|
| 503 |
+
823,
|
| 504 |
+
926
|
| 505 |
+
],
|
| 506 |
+
"page_idx": 2
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"type": "text",
|
| 510 |
+
"text": "The Bellman Equation. The relatinship between segmenting a sequence $\\mathbf { x } _ { 1 , i } , i > 1$ and segmenting its prefixes $x _ { 1 , i - j } , 1 \\leq j \\leq i - 1$ is built by the last segments $( i - j + 1 , i , t )$ : ",
|
| 511 |
+
"bbox": [
|
| 512 |
+
171,
|
| 513 |
+
103,
|
| 514 |
+
821,
|
| 515 |
+
133
|
| 516 |
+
],
|
| 517 |
+
"page_idx": 3
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"type": "equation",
|
| 521 |
+
"img_path": "images/4ea631d18eb1fb1f52c566c91fa1d6d6420b272c87e744cc707644d49966264d.jpg",
|
| 522 |
+
"text": "$$\ng _ { i } = \\operatorname* { m a x } _ { 1 \\leq j \\leq i - 1 } \\big ( g _ { i - j } + \\big ( s _ { i - j + 1 , i } ^ { c } + \\operatorname* { m a x } _ { t \\in \\mathcal { L } } s _ { i - j + 1 , i , t } ^ { l } \\big ) \\big ) .\n$$",
|
| 523 |
+
"text_format": "latex",
|
| 524 |
+
"bbox": [
|
| 525 |
+
325,
|
| 526 |
+
137,
|
| 527 |
+
673,
|
| 528 |
+
165
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 3
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "text",
|
| 534 |
+
"text": "In practice, to reduce the time complexity of above equation, the last term is computed beforehand as $\\begin{array} { r } { \\dot { s } _ { i , j } ^ { L } = \\operatorname* { m a x } _ { t \\in \\mathcal { L } } s _ { i , j , t } ^ { l } , 1 \\leq i \\leq j \\dot { \\leq } n } \\end{array}$ . Hence, Equation 6 is reformulated as ",
|
| 535 |
+
"bbox": [
|
| 536 |
+
173,
|
| 537 |
+
169,
|
| 538 |
+
828,
|
| 539 |
+
199
|
| 540 |
+
],
|
| 541 |
+
"page_idx": 3
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"type": "equation",
|
| 545 |
+
"img_path": "images/34d8e85a05ba47dd37e6f441f4752efb18981451822aae6ba358f4e3517ee83e.jpg",
|
| 546 |
+
"text": "$$\ng _ { i } = \\operatorname* { m a x } _ { 1 \\leq j \\leq i - 1 } \\big ( g _ { i - j } + ( s _ { i - j + 1 , i } ^ { c } + s _ { i - j + 1 , i } ^ { L } ) \\big ) .\n$$",
|
| 547 |
+
"text_format": "latex",
|
| 548 |
+
"bbox": [
|
| 549 |
+
346,
|
| 550 |
+
205,
|
| 551 |
+
651,
|
| 552 |
+
232
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 3
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "The base case is the first token $\\mathbf { x } _ { 1 , 1 } = [ [ \\mathrm { S O S } ] ]$ . We get its score $g _ { 1 }$ as $s _ { 1 , 1 } ^ { c } + s _ { 1 , 1 } ^ { L }$ ",
|
| 559 |
+
"bbox": [
|
| 560 |
+
176,
|
| 561 |
+
238,
|
| 562 |
+
705,
|
| 563 |
+
256
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 3
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "text",
|
| 569 |
+
"text": "Algorithm 1 shows how DP is applied in inference. Firstly, we set two matrices and two vectors to store the solutions to the sub-problems (1-st to 2-nd lines). Secondly, we get the maximum label scores for all the spans (3-rd to 5-th lines). Then, we initialize the trivial case $g _ { 1 }$ and recursively calculate the values for prefixes $\\mathbf { x } _ { 1 , i } , i > 1$ (6-th to 9-th lines). Finally, we get the predicted segmentation $\\hat { \\mathbf { y } }$ and its score $f ( \\hat { \\mathbf { y } } )$ (10-th to 11-th lines). ",
|
| 570 |
+
"bbox": [
|
| 571 |
+
174,
|
| 572 |
+
260,
|
| 573 |
+
825,
|
| 574 |
+
332
|
| 575 |
+
],
|
| 576 |
+
"page_idx": 3
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"type": "text",
|
| 580 |
+
"text": "The time complexity of Algorithm 1 is $\\mathcal { O } ( n ^ { 2 } )$ . By performing the max operation of Equation 7 in parallel on GPU, it can be optimized to only ${ \\mathcal { O } } ( n )$ , which is highly efficient. Besides, DP, as the backbone of the proposed model, is non-parametric. The trainable parameters only exist in the scoring model part. These show LUA is a very light-weight algorithm. ",
|
| 581 |
+
"bbox": [
|
| 582 |
+
174,
|
| 583 |
+
335,
|
| 584 |
+
825,
|
| 585 |
+
393
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 3
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "2.3 TRAINING CRITERION ",
|
| 592 |
+
"text_level": 1,
|
| 593 |
+
"bbox": [
|
| 594 |
+
174,
|
| 595 |
+
410,
|
| 596 |
+
369,
|
| 597 |
+
424
|
| 598 |
+
],
|
| 599 |
+
"page_idx": 3
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"type": "text",
|
| 603 |
+
"text": "We adopt max-margin penalty as the loss function for training. Given the predicted segmentation $\\hat { \\mathbf { y } }$ and the ground truth segmentation $\\mathbf { y } ^ { * }$ , we have ",
|
| 604 |
+
"bbox": [
|
| 605 |
+
173,
|
| 606 |
+
435,
|
| 607 |
+
821,
|
| 608 |
+
464
|
| 609 |
+
],
|
| 610 |
+
"page_idx": 3
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "equation",
|
| 614 |
+
"img_path": "images/457d011c2cb217443885823246c257c541dd779d0f588fa29aaf2bef5c6a620f.jpg",
|
| 615 |
+
"text": "$$\n\\mathcal { T } = \\operatorname* { m a x } \\big ( 0 , 1 - f ( \\mathbf { y } ^ { * } ) + f ( \\hat { \\mathbf { y } } ) \\big ) .\n$$",
|
| 616 |
+
"text_format": "latex",
|
| 617 |
+
"bbox": [
|
| 618 |
+
383,
|
| 619 |
+
469,
|
| 620 |
+
614,
|
| 621 |
+
488
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 3
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"text": "3 EXTENSIONS OF LUA ",
|
| 628 |
+
"text_level": 1,
|
| 629 |
+
"bbox": [
|
| 630 |
+
176,
|
| 631 |
+
506,
|
| 632 |
+
388,
|
| 633 |
+
522
|
| 634 |
+
],
|
| 635 |
+
"page_idx": 3
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"type": "text",
|
| 639 |
+
"text": "We propose two extensions of LUA for generalizing it to different scenarios. ",
|
| 640 |
+
"bbox": [
|
| 641 |
+
173,
|
| 642 |
+
536,
|
| 643 |
+
674,
|
| 644 |
+
553
|
| 645 |
+
],
|
| 646 |
+
"page_idx": 3
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"type": "text",
|
| 650 |
+
"text": "Unlabeled Segmentation. In some tasks (e.g., Chinese word segmentation), the segments are unlabeled. Under this scheme, the Equation 1 and Equation 7 are reformulated as ",
|
| 651 |
+
"bbox": [
|
| 652 |
+
171,
|
| 653 |
+
565,
|
| 654 |
+
823,
|
| 655 |
+
595
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 3
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "equation",
|
| 661 |
+
"img_path": "images/e031642fd8af3f46620e1ea6c4a50cf093b131fe03f0a02674e2595726f5da4a.jpg",
|
| 662 |
+
"text": "$$\nf ( \\mathbf { y } ) = \\sum _ { ( i , j ) \\in \\mathbf { y } } s _ { i , j } ^ { c } , ~ g _ { i } = \\operatorname* { m a x } _ { 1 \\leq j \\leq i - 1 } ( g _ { i - j } + s _ { i - j + 1 , i } ^ { c } ) .\n$$",
|
| 663 |
+
"text_format": "latex",
|
| 664 |
+
"bbox": [
|
| 665 |
+
320,
|
| 666 |
+
601,
|
| 667 |
+
676,
|
| 668 |
+
637
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 3
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "text",
|
| 674 |
+
"text": "Capturing Label Correlations. In some tasks (e.g., syntactic chunking), the labels of segments are strongly correlated. To incorporate this information, we redefine $f ( \\mathbf { y } )$ as ",
|
| 675 |
+
"bbox": [
|
| 676 |
+
173,
|
| 677 |
+
650,
|
| 678 |
+
825,
|
| 679 |
+
679
|
| 680 |
+
],
|
| 681 |
+
"page_idx": 3
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"type": "equation",
|
| 685 |
+
"img_path": "images/e0811db3c3ddd656234cd29dda83006120b3b4bd9af090d84908e46367e14c5f.jpg",
|
| 686 |
+
"text": "$$\nf ( { \\bf { y } } ) = \\sum _ { 1 \\le k \\le m } \\left( s _ { i _ { k } , j _ { k } } ^ { c } + s _ { i _ { k } , j _ { k } , t _ { k } } ^ { l } \\right) + \\sum _ { 1 \\le k \\le m } s _ { t _ { k - q + 1 } , t _ { k - q + 2 } , \\cdots , t _ { k } } ^ { d } .\n$$",
|
| 687 |
+
"text_format": "latex",
|
| 688 |
+
"bbox": [
|
| 689 |
+
281,
|
| 690 |
+
683,
|
| 691 |
+
717,
|
| 692 |
+
720
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 3
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "text",
|
| 698 |
+
"text": "Score In pra $s _ { t _ { k - q + 1 } , t _ { k - q + 2 } , \\cdots , t _ { k } } ^ { d }$ models the label dependencies among balances the efficiency and the effecti $q$ successive segments, ness well, and thus pa $_ { \\mathbf { y } _ { k - q + 1 , k } }$ $q = 2$ \na learnable matrix $\\mathbf { W } ^ { d } \\in \\mathbb { R } ^ { | \\nu | \\times | \\nu | }$ to implement it. ",
|
| 699 |
+
"bbox": [
|
| 700 |
+
173,
|
| 701 |
+
727,
|
| 702 |
+
825,
|
| 703 |
+
773
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 3
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "The corresponding Bellman equation to above scoring function is ",
|
| 710 |
+
"bbox": [
|
| 711 |
+
174,
|
| 712 |
+
780,
|
| 713 |
+
602,
|
| 714 |
+
795
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 3
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "equation",
|
| 720 |
+
"img_path": "images/9cae8d71dd0da00eaa135294c9af6a6cbb256d6c4f0214b771b20ea37e723112.jpg",
|
| 721 |
+
"text": "$$\ng _ { i , t } = \\underset { 1 \\leq j \\leq i - 1 } { \\operatorname* { m a x } } \\big ( \\underset { t ^ { \\prime } \\in \\mathcal { L } } { \\operatorname* { m a x } } ( g _ { i - j , t ^ { \\prime } } + s _ { t ^ { \\prime } , t } ^ { d } ) + ( s _ { i - j + 1 , i } ^ { c } + s _ { i - j + 1 , i , t } ^ { l } ) \\big ) ,\n$$",
|
| 722 |
+
"text_format": "latex",
|
| 723 |
+
"bbox": [
|
| 724 |
+
284,
|
| 725 |
+
799,
|
| 726 |
+
712,
|
| 727 |
+
825
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 3
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "text",
|
| 733 |
+
"text": "where $g _ { i , t }$ is the maximum score of labeling the last segment of the prefix $\\mathbf { x } _ { 1 , i }$ with $t$ . For initialization, we set the value of $g _ { . 1 , \\mathrm { O } } ^ { d }$ as 0 and the others as $- \\infty$ . By performing the inner loops of two max operations in parallel, the practical time complexity for computing $g _ { i , t } , 1 \\leq i \\leq n , t \\in \\mathcal { L }$ is also ${ \\mathcal { O } } ( n )$ . Ultimately, the segmentation score $f ( \\hat { \\mathbf { y } } )$ is obtained by $\\operatorname* { m a x } _ { t \\in \\mathcal { L } } g _ { n , t }$ . ",
|
| 734 |
+
"bbox": [
|
| 735 |
+
174,
|
| 736 |
+
830,
|
| 737 |
+
825,
|
| 738 |
+
890
|
| 739 |
+
],
|
| 740 |
+
"page_idx": 3
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"type": "text",
|
| 744 |
+
"text": "This extension further improves the results on syntactic chunking and Chinese POS tagging, as both tasks have rich sequential features among the labels of segments. ",
|
| 745 |
+
"bbox": [
|
| 746 |
+
174,
|
| 747 |
+
895,
|
| 748 |
+
823,
|
| 749 |
+
924
|
| 750 |
+
],
|
| 751 |
+
"page_idx": 3
|
| 752 |
+
},
|
| 753 |
+
{
|
| 754 |
+
"type": "table",
|
| 755 |
+
"img_path": "images/01ef1500ea87c73cf80341c505cfc841fc0043a8912d34c933cff91bf688af24.jpg",
|
| 756 |
+
"table_caption": [
|
| 757 |
+
"Table 1: Experiment results on Chinese word segmentation. "
|
| 758 |
+
],
|
| 759 |
+
"table_footnote": [],
|
| 760 |
+
"table_body": "<table><tr><td>Model</td><td>AS</td><td>MSR</td><td>CITYU</td><td>PKU</td><td>CTB6</td></tr><tr><td>Rich Pretraining(Yang et al.,2017)</td><td>95.7</td><td>97.5</td><td>96.9</td><td>96.3</td><td>96.2</td></tr><tr><td>Bi-LSTM(Ma et al.,2018)</td><td>96.2</td><td>98.1</td><td>97.2</td><td>96.1</td><td>96.7</td></tr><tr><td>Multi-Criteria_Learning +_BERT_(Huang etal., 2019)</td><td>96.6</td><td>97.9</td><td>97.6</td><td>96.6</td><td>97.6</td></tr><tr><td>BERT (Meng et al.,2019)</td><td>96.5</td><td>98.1</td><td>97.6</td><td>96.5</td><td>=</td></tr><tr><td>Glyce + BERT (Meng et al.,2019)</td><td>96.7</td><td>98.3</td><td>97.9</td><td>96.7</td><td>-</td></tr><tr><td>Unlabeled LUA</td><td>96.94</td><td>98.27</td><td>98.21</td><td>96.88</td><td>98.13</td></tr></table>",
|
| 761 |
+
"bbox": [
|
| 762 |
+
200,
|
| 763 |
+
101,
|
| 764 |
+
797,
|
| 765 |
+
194
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 4
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "table",
|
| 771 |
+
"img_path": "images/81b0f9609d55192d669a0737e0bf384714999e6f84337f7f6ad042fe99b86ced.jpg",
|
| 772 |
+
"table_caption": [
|
| 773 |
+
"Table 2: Experiment results on the four datasets of Chinese POS tagging. "
|
| 774 |
+
],
|
| 775 |
+
"table_footnote": [],
|
| 776 |
+
"table_body": "<table><tr><td colspan=\"2\">Model</td><td>CTB5</td><td>CTB6</td><td>CTB9</td><td>UD1</td></tr><tr><td colspan=\"2\">Bi-RNN+ CRF (Single) (Shao et al., 2017) Bi-RNN + CRF (Ensemble) (Shao et al.,2017)</td><td>94.07</td><td>90.81</td><td>91.89</td><td>89.41</td></tr><tr><td colspan=\"2\">Lattice-LSTM(Meng et al.,2019)</td><td>94.38</td><td>-</td><td>92.34</td><td>89.75</td></tr><tr><td colspan=\"2\">Glyce + Lattice-LSTM (Meng et al., 2019)</td><td>95.14</td><td>91.43</td><td>92.13</td><td>90.09</td></tr><tr><td colspan=\"2\">BERT (Meng et al.,2019)</td><td>95.61</td><td>91.92</td><td>92.38</td><td>90.87</td></tr><tr><td colspan=\"2\">Glyce +BERT (Meng et al., 2019)</td><td>96.06</td><td>94.77</td><td>92.29</td><td>94.79</td></tr><tr><td colspan=\"2\"></td><td>96.61</td><td>95.41</td><td>93.15</td><td>96.14</td></tr><tr><td rowspan=\"2\">This Work</td><td>LUA</td><td>96.79</td><td>95.39</td><td>93.22</td><td>96.01</td></tr><tr><td>LUA w/Label Correlations</td><td>97.96</td><td>96.63</td><td>93.95</td><td>97.08</td></tr></table>",
|
| 777 |
+
"bbox": [
|
| 778 |
+
232,
|
| 779 |
+
229,
|
| 780 |
+
766,
|
| 781 |
+
348
|
| 782 |
+
],
|
| 783 |
+
"page_idx": 4
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"type": "text",
|
| 787 |
+
"text": "4 EXPERIMENTS ",
|
| 788 |
+
"text_level": 1,
|
| 789 |
+
"bbox": [
|
| 790 |
+
176,
|
| 791 |
+
395,
|
| 792 |
+
328,
|
| 793 |
+
411
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 4
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "text",
|
| 799 |
+
"text": "We have conducted extensive studies on 5 tasks, including Chinese word segmentation, Chinese POS tagging, syntactic chunking, NER, and slot filling, across 15 datasets. Firstly, Our models have achieved new state-of-the-art performances on 13 of them. Secondly, the results demonstrate that the F1 score of identifying long-length segments has been notably improved. Lastly, we show that LUA is a very efficient algorithm concerning the running time. ",
|
| 800 |
+
"bbox": [
|
| 801 |
+
173,
|
| 802 |
+
425,
|
| 803 |
+
825,
|
| 804 |
+
496
|
| 805 |
+
],
|
| 806 |
+
"page_idx": 4
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"type": "text",
|
| 810 |
+
"text": "4.1 SETTINGS ",
|
| 811 |
+
"text_level": 1,
|
| 812 |
+
"bbox": [
|
| 813 |
+
174,
|
| 814 |
+
512,
|
| 815 |
+
284,
|
| 816 |
+
526
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 4
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "text",
|
| 822 |
+
"text": "We use the same configurations for all 15 datasets. L2 regularization and dropout ratio are respectively set as $1 \\times 1 0 ^ { - 6 }$ and 0.2 for reducing overfit. We use Adam (Kingma & Ba, 2014) to optimize our model. Following prior works, BERTBASE is adopted as the sentence encoder. We use uncased BERTBASE for slot filling, Chinese BERTBASE for Chinese tasks (e.g., Chinese POS tagging), and cased BERTBASE for others (e.g., syntactic chunking). In addition, the improvements of our model over baselines are statistically significant with $p < 0 . 0 5$ under t-test. ",
|
| 823 |
+
"bbox": [
|
| 824 |
+
174,
|
| 825 |
+
537,
|
| 826 |
+
825,
|
| 827 |
+
622
|
| 828 |
+
],
|
| 829 |
+
"page_idx": 4
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"type": "text",
|
| 833 |
+
"text": "4.2 CHINESE WORD SEGMENTATION ",
|
| 834 |
+
"text_level": 1,
|
| 835 |
+
"bbox": [
|
| 836 |
+
176,
|
| 837 |
+
638,
|
| 838 |
+
442,
|
| 839 |
+
654
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 4
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "text",
|
| 845 |
+
"text": "Chinese word segmentation splits a Chinese character sequence into a sequence of Chinese words. We use SIGHAN 2005 bake-off (Emerson, 2005) and Chinese Treebank 6.0 (CTB6) (Xue et al., 2005). SIGHAN 2005 back-off consists of 5 datasets, namely AS, MSR, CITYU, and PKU. Following Ma et al. (2018), we randomly select $1 0 \\%$ training data as development set. We convert all digits, punctuation, and Latin letters to half-width for handling full/half-width mismatch between training and test set. We also convert AS and CITYU to simplified Chinese. For CTB6, we follow the same format and partition as in Yang et al. (2017); Ma et al. (2018). ",
|
| 846 |
+
"bbox": [
|
| 847 |
+
174,
|
| 848 |
+
665,
|
| 849 |
+
825,
|
| 850 |
+
762
|
| 851 |
+
],
|
| 852 |
+
"page_idx": 4
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"type": "text",
|
| 856 |
+
"text": "Table 1 depicts the experiment results. All the results of baselines are from Yang et al. (2017); Ma et al. (2018); Huang et al. (2019); Meng et al. (2019). We have achieved new state-of-the-art performance on all datasets except MSR. Our model improves the F1 score by $0 . 2 5 \\%$ on AS, $0 . 3 2 \\%$ on CITYU, $0 . 1 9 \\%$ on PKU, and $0 . 5 4 \\%$ on CTB6. Note that our model doesn’t use any external resources, such as glyph information (Meng et al., 2019) or POS tags (Yang et al., 2017). Despite this, our model is still competitive with Glyce $^ +$ BERT on MSR. ",
|
| 857 |
+
"bbox": [
|
| 858 |
+
174,
|
| 859 |
+
768,
|
| 860 |
+
825,
|
| 861 |
+
852
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 4
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "text",
|
| 867 |
+
"text": "4.3 CHINESE POS TAGGING ",
|
| 868 |
+
"text_level": 1,
|
| 869 |
+
"bbox": [
|
| 870 |
+
174,
|
| 871 |
+
869,
|
| 872 |
+
383,
|
| 873 |
+
883
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 4
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "text",
|
| 879 |
+
"text": "Chinese POS tagging jointly segments a Chinese character sequence and assigns a POS tag to each segmented unit. We use Chinese Treebank 5.0 (CTB5), CTB6, Chinese Treebank 9.0 (CTB9) (Xue et al., 2005), and the Chinese section of Universal Dependencies 1.4 (UD1) (Nivre et al., 2016). CTB5 is comprised of newswire data. CTB9 consists of source texts in various genres, which cover CTB5. we convert the texts in UD1 from traditional Chinese into simplified Chinese. We follow the same train/dev/test split for above datasets as in Shao et al. (2017). ",
|
| 880 |
+
"bbox": [
|
| 881 |
+
174,
|
| 882 |
+
895,
|
| 883 |
+
823,
|
| 884 |
+
924
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 4
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "table",
|
| 890 |
+
"img_path": "images/046cdaf77be2ed2e24da69ff4d35d36af359dc163ceb6f8adf35a5565af6b32d.jpg",
|
| 891 |
+
"table_caption": [
|
| 892 |
+
"Table 3: Experiment results on syntactic chunking and NER. "
|
| 893 |
+
],
|
| 894 |
+
"table_footnote": [],
|
| 895 |
+
"table_body": "<table><tr><td colspan=\"2\">Model</td><td>Chunking</td><td colspan=\"2\">NER</td></tr><tr><td colspan=\"2\"></td><td>CoNLL-2000</td><td>CoNLL-2003</td><td>OntoNotes5.0</td></tr><tr><td colspan=\"2\">Bi-LSTM + CRF (Huang et al., 2015)</td><td>94.46</td><td>90.10</td><td>1</td></tr><tr><td colspan=\"2\">Flair Embeddings (Akbik et al., 2018)</td><td>96.72</td><td>93.09</td><td>89.3</td></tr><tr><td colspan=\"2\">GCDT w/BERT (Liu et al., 2019b)</td><td>96.81</td><td>93.23</td><td>1</td></tr><tr><td colspan=\"2\">BERT-MRC (Li et al., 2019)</td><td>-</td><td>93.04</td><td>91.11</td></tr><tr><td colspan=\"2\">HCR w/BERT (Luo et al., 2020)</td><td>=</td><td>93.37</td><td>90.30</td></tr><tr><td colspan=\"2\">BERT-Biaffine Model (Yu et al., 2020) LUA</td><td>-</td><td>93.5</td><td>91.3</td></tr><tr><td rowspan=\"2\">This Work</td><td></td><td>96.95</td><td>93.46</td><td>92.09</td></tr><tr><td>LUA w/Label Correlations</td><td>97.23</td><td>-</td><td>-</td></tr></table>",
|
| 896 |
+
"bbox": [
|
| 897 |
+
214,
|
| 898 |
+
101,
|
| 899 |
+
784,
|
| 900 |
+
232
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 5
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"text": "",
|
| 907 |
+
"bbox": [
|
| 908 |
+
174,
|
| 909 |
+
281,
|
| 910 |
+
823,
|
| 911 |
+
338
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 5
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"text": "Table 2 shows the experiment results. The performances of all baselines are reported from Meng et al. (2019). Our model LUA w/ Label Correlations has yielded new state-of-the-art results on all the datasets: it improves the F1 scores by $1 . 3 5 \\%$ on CTB5, $1 . 2 2 \\%$ on CTB6, $0 . 8 \\%$ on CTB9, and $0 . 9 4 \\%$ on UD1. Moreover, the basic LUA without capturing the label correlations also outperforms the strongest baseline, Glyce $^ +$ BERT, by $0 . 1 8 \\%$ on CTB5 and $0 . 0 7 \\%$ on CTB9. All these facts further verify the effectiveness of LUA and its extension. ",
|
| 918 |
+
"bbox": [
|
| 919 |
+
173,
|
| 920 |
+
344,
|
| 921 |
+
825,
|
| 922 |
+
429
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 5
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"text": "4.4 SYNTACTIC CHUNKING AND NER ",
|
| 929 |
+
"text_level": 1,
|
| 930 |
+
"bbox": [
|
| 931 |
+
176,
|
| 932 |
+
445,
|
| 933 |
+
450,
|
| 934 |
+
460
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 5
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "Syntactic chunking aims to find phrases related to syntatic category for a sentence. We use CoNLL2000 dataset (Sang & Buchholz, 2000), which defines 11 syntactic chunk types (NP, VP, PP, etc.) and follow the standard splittings of training and test datasets as previous work. NER locates the named entities mentioned in unstructured text and meanwhile classifies them into predefined categories. We use CoNLL-2003 dataset (Sang & De Meulder, 2003) and OntoNotes 5.0 dataset (Pradhan et al., 2013). CoNLL-2003 dataset consists of 22137 sentences totally and is split into 14987, 3466, and 3684 sentences for the training set, development set, and test set, respectively. It is tagged with four linguistic entity types (PER, LOC, ORG, MISC). OntoNotes 5.0 dataset contains 76714 sentences from a wide variety of sources (e.g., magazine and newswire). It includes 18 types of named entity, which consists of 11 types (Person, Organization, etc.) and 7 values (Date, Percent, etc.). We follow the same format and partition as in Li et al. (2019); Luo et al. (2020); Yu et al. (2020). In order to fairly compare with previous reported results, we convert the predicted segments into IOB format and utilize conlleval script1 to compute the F1 score at test time. ",
|
| 941 |
+
"bbox": [
|
| 942 |
+
174,
|
| 943 |
+
473,
|
| 944 |
+
825,
|
| 945 |
+
652
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 5
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "Table 3 shows the results. Most of baselines are directly taken from Akbik et al. (2018); Li et al. (2019); Luo et al. (2020); Yu et al. (2020). Besides, following Luo et al. (2020), we rerun the source code2 of GCDT and report its result on CoNLL-2000 with standard evaluation method. Generally, our proposed models LUA w/o Label Correlations yield competitive performance over state-of-theart models on both Chunking and NER tasks. Specifically, regarding to the NER task, on CoNLL2003 dataset our model LUA outperforms several strong baselines including Flair Embedding, and it is comparable to the state-of-the-art model (i.e., BERT-Biaffine Model). In particular, on OntoNotes dataset, LUA outperforms it by $0 . 7 9 \\%$ points and establishes a new state-of-the-art result. Regarding to the Chunking task, LUA advances the best model (GCDT) and the improvements are further enlarged to $0 . 4 \\hat { 2 } \\%$ points by LUA w/ Label Correlations. ",
|
| 952 |
+
"bbox": [
|
| 953 |
+
173,
|
| 954 |
+
660,
|
| 955 |
+
825,
|
| 956 |
+
799
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 5
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "4.5 SLOT FILLING ",
|
| 963 |
+
"text_level": 1,
|
| 964 |
+
"bbox": [
|
| 965 |
+
174,
|
| 966 |
+
816,
|
| 967 |
+
313,
|
| 968 |
+
830
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 5
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "text",
|
| 974 |
+
"text": "Slot filling, as an important task in spoken language understanding (SLU), extracts semantic constituents from an utterance. We use ATIS dataset (Hemphill et al., 1990), SNIPS dataset (Coucke et al., 2018), and MTOD dataset (Schuster et al., 2018). ATIS dataset consists of audio recordings of ",
|
| 975 |
+
"bbox": [
|
| 976 |
+
178,
|
| 977 |
+
843,
|
| 978 |
+
825,
|
| 979 |
+
885
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 5
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "table",
|
| 985 |
+
"img_path": "images/b85c1a025f9b33999faf6903084d89eb9f902b629107d69eea5992dff1e779bb.jpg",
|
| 986 |
+
"table_caption": [
|
| 987 |
+
"Table 4: Experiment results on the three datasets of slot filling. "
|
| 988 |
+
],
|
| 989 |
+
"table_footnote": [],
|
| 990 |
+
"table_body": "<table><tr><td colspan=\"2\">Model</td><td>ATIS</td><td>SNIPS</td><td>MTOD</td></tr><tr><td colspan=\"2\">Slot-Gated SLU (Goo et al.,2018) Bi-LSTM + EMLo (Siddhant et al., 2019)</td><td>95.20</td><td>88.30</td><td>95.12</td></tr><tr><td colspan=\"2\"></td><td>95.42</td><td>93.90</td><td>-</td></tr><tr><td colspan=\"2\">Joint BERT (Chen et al., 2019b) CM-Net (Liu et al.,2019c)</td><td>96.10 96.20</td><td>97.00</td><td>96.48</td></tr><tr><td colspan=\"2\"></td><td>96.15</td><td>97.15</td><td>-</td></tr><tr><td rowspan=\"2\">This Work</td><td>LUA LUA w/ Intent Detection</td><td>96.27</td><td>97.10</td><td>97.53</td></tr><tr><td></td><td></td><td>97.20</td><td>97.55</td></tr></table>",
|
| 991 |
+
"bbox": [
|
| 992 |
+
274,
|
| 993 |
+
101,
|
| 994 |
+
723,
|
| 995 |
+
194
|
| 996 |
+
],
|
| 997 |
+
"page_idx": 6
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"type": "table",
|
| 1001 |
+
"img_path": "images/0d8a988459cd38745b0972009b489a7a6c36555d632195fbb5dfc48458492265.jpg",
|
| 1002 |
+
"table_caption": [],
|
| 1003 |
+
"table_footnote": [],
|
| 1004 |
+
"table_body": "<table><tr><td>Model</td><td>1-3(8695)</td><td>4-7(2380)</td><td>8-11(151)</td><td>12-24(31)</td><td>Overall</td></tr><tr><td>HCRw/BERT</td><td>91.15</td><td>85.22</td><td>50.43</td><td>20.67</td><td>90.27</td></tr><tr><td>BERT-Biaffine Model</td><td>91.67</td><td>87.23</td><td>70.24</td><td>40.55</td><td>91.26</td></tr><tr><td>LUA</td><td>92.31</td><td>88.52</td><td>77.34</td><td>57.27</td><td>92.09</td></tr></table>",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
217,
|
| 1007 |
+
229,
|
| 1008 |
+
781,
|
| 1009 |
+
286
|
| 1010 |
+
],
|
| 1011 |
+
"page_idx": 6
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"type": "text",
|
| 1015 |
+
"text": "Table 5: The F1 scores for NER models on different segment lengths. $A - B ( N )$ denotes that there are $N$ entities whose span lengths are between $A$ and $B$ . ",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
173,
|
| 1018 |
+
297,
|
| 1019 |
+
825,
|
| 1020 |
+
325
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 6
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "text",
|
| 1026 |
+
"text": "people making flight reservations. The training set contains 4478 utterances and the test set contains 893 utterances. SNIPS dataset is collected by Snips personal voice assistant. The training set contains 13084 utterances and the test set contains 700 utterances. MTOD dataset has three domains, including Alarm, Reminder, and Weather. We use the English part of MTOD dataset, where training set, dev set, and test set respectively contain 30521, 4181, and 8621 utterances. We follow the same partition of above datasets as in Goo et al. (2018); Schuster et al. (2018). ",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
174,
|
| 1029 |
+
352,
|
| 1030 |
+
825,
|
| 1031 |
+
435
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 6
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "Table 4 summarizes the experiment results for slot filling. On ATIS and SNIPS, we take the results of all baselines as reported in Liu et al. (2019c) for comparison. On MTOD, we rerun the open source toolkits, Slot-gated $\\mathrm { S L U } ^ { 3 }$ and Joint BERT4. As all previous approaches jointly model slot filling and intent detection (a classification task in SLU), we follow them to augment LUA with intent detection for a fair comparison. As shown in Table 4, the augmented LUA has surpassed all baselines and obtained state-of-the-art results on the three datasets: it increases the F1 scores by around $0 . 0 5 \\%$ on ATIS and SNIPS, and delivers a substantial gain of $1 . 1 1 \\%$ on MTOD. It’s worth mentioning that LUA even outperforms the strong baseline Joint BERT with a margin of $0 . 1 8 \\%$ and $0 . 2 1 \\%$ on ATIS and SNIPS without modeling intent detection. ",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
174,
|
| 1040 |
+
443,
|
| 1041 |
+
825,
|
| 1042 |
+
568
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 6
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "4.6 LONG-LENGTH SEGMENT IDENTIFICATION",
|
| 1049 |
+
"text_level": 1,
|
| 1050 |
+
"bbox": [
|
| 1051 |
+
174,
|
| 1052 |
+
585,
|
| 1053 |
+
511,
|
| 1054 |
+
599
|
| 1055 |
+
],
|
| 1056 |
+
"page_idx": 6
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "text",
|
| 1060 |
+
"text": "Since LUA doesn’t resort to IOB tagging scheme, it should be more accurate in recognizing longlength segments than prior methods. To verify this intuition, we evaluate different models on the segments of different lengths. This study is investigated on OntoNotes 5.0 dataset. Two strong models are adopted as the baselines: one is the best sequence labeling model (i.e., HCR) and the other is the best span-based model (i.e., BERT-Biaffine Model). Both baselines are reproduced by rerunning their open source codes, biaffine-ner5 and Hire-NER6. ",
|
| 1061 |
+
"bbox": [
|
| 1062 |
+
174,
|
| 1063 |
+
611,
|
| 1064 |
+
823,
|
| 1065 |
+
695
|
| 1066 |
+
],
|
| 1067 |
+
"page_idx": 6
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "text",
|
| 1071 |
+
"text": "The results are shown in Table 5. On the one hand, both LUA and Biaffine Model obtain much higher scores of extracting long-length entities than HCR. For example, LUA outperforms HCR w/ BERT by almost twofold on range $1 2 - 2 4$ . On the other hand, LUA achieves even better results than BERT-Biaffine Model. For instance, the F1 score improvements of LUA over it are $1 0 . 1 1 \\%$ on range $8 - 1 1$ and $4 1 . 2 3 \\%$ on range $1 2 - 2 4$ . ",
|
| 1072 |
+
"bbox": [
|
| 1073 |
+
174,
|
| 1074 |
+
702,
|
| 1075 |
+
825,
|
| 1076 |
+
772
|
| 1077 |
+
],
|
| 1078 |
+
"page_idx": 6
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "text",
|
| 1082 |
+
"text": "4.7 RUNNING TIME ANALYSIS ",
|
| 1083 |
+
"text_level": 1,
|
| 1084 |
+
"bbox": [
|
| 1085 |
+
174,
|
| 1086 |
+
790,
|
| 1087 |
+
398,
|
| 1088 |
+
804
|
| 1089 |
+
],
|
| 1090 |
+
"page_idx": 6
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"type": "text",
|
| 1094 |
+
"text": "Table 6 shows the running time comparison among different models. The middle two columns are the time complexity of decoding a label sequence. The last column is the time cost of one epoch in training. We set the batch size as 16 and run all the models on 1 GPU. The results indicate that ",
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
176,
|
| 1097 |
+
815,
|
| 1098 |
+
823,
|
| 1099 |
+
857
|
| 1100 |
+
],
|
| 1101 |
+
"page_idx": 6
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"type": "table",
|
| 1105 |
+
"img_path": "images/3639b599177115723ea18d0f6cf9562ca42b4a8d5ff61ee459784a3e91af33fd.jpg",
|
| 1106 |
+
"table_caption": [
|
| 1107 |
+
"Table 6: Running time comparison on the syntactic chunking dataset. "
|
| 1108 |
+
],
|
| 1109 |
+
"table_footnote": [],
|
| 1110 |
+
"table_body": "<table><tr><td>Model</td><td>Theoretical Complexity</td><td>Practical Complexity</td><td>Running Time</td></tr><tr><td>BERT BERT+CRF</td><td>O(n) O(n|C|2)</td><td>0(1)</td><td>5m11s 7m33s</td></tr><tr><td>LUA</td><td>O(n²)</td><td>O(n) O(n)</td><td>6m25s</td></tr><tr><td>LUA w/Label Correlations</td><td>O(n²|C1²)</td><td>0(n)</td><td>7m09s</td></tr></table>",
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
186,
|
| 1113 |
+
101,
|
| 1114 |
+
812,
|
| 1115 |
+
176
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 7
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "text",
|
| 1121 |
+
"text": "the success of our models in performances does not lead to serious side-effects on efficiency. For example, with the same practical time complexity, BERT $^ +$ CRF is slower than the proposed LUA by $1 5 . 0 1 \\%$ and LUA w/ Label Correlations by $5 . \\dot { 3 } 0 \\%$ . ",
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
176,
|
| 1124 |
+
233,
|
| 1125 |
+
825,
|
| 1126 |
+
275
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 7
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "text",
|
| 1132 |
+
"text": "5 RELATED WORK ",
|
| 1133 |
+
"text_level": 1,
|
| 1134 |
+
"bbox": [
|
| 1135 |
+
176,
|
| 1136 |
+
303,
|
| 1137 |
+
343,
|
| 1138 |
+
319
|
| 1139 |
+
],
|
| 1140 |
+
"page_idx": 7
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"type": "text",
|
| 1144 |
+
"text": "Sequence segmentation aims to partition a fine-grained unit sequence into multiple labeled coarsegrained units. Traditionally, there are two types of methods. The most common is to cast it into a sequence labeling task (Mesnil et al., 2014; Ma & Hovy, 2016; Chen et al., 2019a) by using IOB tagging scheme. This method is simple and effective, providing a number of state-of-the-art results. Akbik et al. (2018) present Flair Embeddings that pretrain character embedding in a large corpus and directly use it, instead of word representation, to encode a sentence. Liu et al. (2019b) introduce GCDT that deepens the state transition path at each position in a sentence, and further assigns each word with global representation. Luo et al. (2020) use hierarchical contextualized representations to incorporate both sentence-level and document-level information. Nevertheless, these models are vulnerable to producing invalid labels and perform poorly in identifying longlength segments. This problem is very severe in low-resource setting. Ye & Ling (2018); Liu et al. (2019a) adopt Semi-Markov CRF (Sarawagi & Cohen, 2005) that improves CRF at phrase level. However, the computation of CRF loss is costly in practice and the potential to model the label dependencies among segments is limited. An alternative approach that is less studied uses a transition-based system to incrementally segment and label an input sequence (Zhang et al., 2016; Lample et al., 2016). For instance, Qian et al. (2015) present a transition-based model for joint word segmentation, POS tagging, and text normalization. Wang et al. (2017) employ a transitionbased model to disfluency detection task, which helps capture non-local chunk-level features. These models have many advantages like theoretically lower time complexity and labeling the extracted mentions at span level. However, to our best knowledge, no recent transition-based models surpass their sequence labeling based counterparts. ",
|
| 1145 |
+
"bbox": [
|
| 1146 |
+
173,
|
| 1147 |
+
338,
|
| 1148 |
+
825,
|
| 1149 |
+
630
|
| 1150 |
+
],
|
| 1151 |
+
"page_idx": 7
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"type": "text",
|
| 1155 |
+
"text": "More recently, there is a surge of interests in span-based models. They treat a segment, instead of a fine-grained token, as the basic unit for labeling. For example, Li et al. (2019) regard NER as a MRC task, where entities are recognized as retrieving answer spans. Since these methods are locally normalized at span level rather than sequence level, they potentially suffer from the label bias problem. Additionally, they rely on rules to ensure the extracted span set to be valid. Spanbased methods also emerge in other fields of NLP. In dependency parsing, Wang & Chang (2016) propose a LSTM-based sentence segment embedding method named LSTM-Minus. Stern et al. (2017) integrate LSTM-minus feature into constituent parsing models. In coreference resolution, Lee et al. (2018) consider all spans in a document as the potential mentions and learn distributions over all the possible antecedents for each other. ",
|
| 1156 |
+
"bbox": [
|
| 1157 |
+
173,
|
| 1158 |
+
637,
|
| 1159 |
+
825,
|
| 1160 |
+
776
|
| 1161 |
+
],
|
| 1162 |
+
"page_idx": 7
|
| 1163 |
+
},
|
| 1164 |
+
{
|
| 1165 |
+
"type": "text",
|
| 1166 |
+
"text": "6 CONCLUSION ",
|
| 1167 |
+
"text_level": 1,
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
174,
|
| 1170 |
+
804,
|
| 1171 |
+
318,
|
| 1172 |
+
820
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 7
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "This work proposes a novel LUA for general sequence segmentation tasks. LUA directly scores all the valid segmentation candidates and uses dynamic programming to extract the maximum scoring one. Compared with previous models, LUA naturally guarantees the predicted segmentation to be valid and circumvents the label bias problem. Extensive studies are conducted on 5 tasks across 15 datasets. We have achieved the state-of-the-art performances on 13 of them. Importantly, the F1 score of identifying long-length segments is significantly improved. ",
|
| 1179 |
+
"bbox": [
|
| 1180 |
+
174,
|
| 1181 |
+
840,
|
| 1182 |
+
823,
|
| 1183 |
+
924
|
| 1184 |
+
],
|
| 1185 |
+
"page_idx": 7
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"type": "text",
|
| 1189 |
+
"text": "REFERENCES ",
|
| 1190 |
+
"text_level": 1,
|
| 1191 |
+
"bbox": [
|
| 1192 |
+
176,
|
| 1193 |
+
102,
|
| 1194 |
+
287,
|
| 1195 |
+
117
|
| 1196 |
+
],
|
| 1197 |
+
"page_idx": 8
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"type": "text",
|
| 1201 |
+
"text": "Alan Akbik, Duncan Blythe, and Roland Vollgraf. Contextual string embeddings for sequence labeling. In Proceedings of the 27th International Conference on Computational Linguistics, pp. 1638–1649, 2018. ",
|
| 1202 |
+
"bbox": [
|
| 1203 |
+
176,
|
| 1204 |
+
127,
|
| 1205 |
+
823,
|
| 1206 |
+
169
|
| 1207 |
+
],
|
| 1208 |
+
"page_idx": 8
|
| 1209 |
+
},
|
| 1210 |
+
{
|
| 1211 |
+
"type": "text",
|
| 1212 |
+
"text": "Richard Bellman. Dynamic programming. Science, 153(3731):34–37, 1966. ",
|
| 1213 |
+
"bbox": [
|
| 1214 |
+
173,
|
| 1215 |
+
179,
|
| 1216 |
+
676,
|
| 1217 |
+
195
|
| 1218 |
+
],
|
| 1219 |
+
"page_idx": 8
|
| 1220 |
+
},
|
| 1221 |
+
{
|
| 1222 |
+
"type": "text",
|
| 1223 |
+
"text": "Hui Chen, Zijia Lin, Guiguang Ding, Jianguang Lou, Yusen Zhang, and Borje Karlsson. Grn: Gated relation network to enhance convolutional neural network for named entity recognition. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pp. 6236–6243, 2019a. ",
|
| 1224 |
+
"bbox": [
|
| 1225 |
+
176,
|
| 1226 |
+
205,
|
| 1227 |
+
825,
|
| 1228 |
+
248
|
| 1229 |
+
],
|
| 1230 |
+
"page_idx": 8
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"type": "text",
|
| 1234 |
+
"text": "Qian Chen, Zhu Zhuo, and Wen Wang. Bert for joint intent classification and slot filling. arXiv preprint arXiv:1902.10909, 2019b. ",
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
171,
|
| 1237 |
+
258,
|
| 1238 |
+
823,
|
| 1239 |
+
287
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 8
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "text",
|
| 1245 |
+
"text": "Alice Coucke, Alaa Saade, Adrien Ball, Theodore Bluche, Alexandre Caulier, David Leroy, Cl ´ ement ´ Doumouro, Thibault Gisselbrecht, Francesco Caltagirone, Thibaut Lavril, et al. Snips voice platform: an embedded spoken language understanding system for private-by-design voice interfaces. arXiv preprint arXiv:1805.10190, 2018. ",
|
| 1246 |
+
"bbox": [
|
| 1247 |
+
173,
|
| 1248 |
+
297,
|
| 1249 |
+
825,
|
| 1250 |
+
354
|
| 1251 |
+
],
|
| 1252 |
+
"page_idx": 8
|
| 1253 |
+
},
|
| 1254 |
+
{
|
| 1255 |
+
"type": "text",
|
| 1256 |
+
"text": "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. ",
|
| 1257 |
+
"bbox": [
|
| 1258 |
+
168,
|
| 1259 |
+
366,
|
| 1260 |
+
823,
|
| 1261 |
+
395
|
| 1262 |
+
],
|
| 1263 |
+
"page_idx": 8
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"type": "text",
|
| 1267 |
+
"text": "Timothy Dozat and Christopher D Manning. Deep biaffine attention for neural dependency parsing. arXiv preprint arXiv:1611.01734, 2016. ",
|
| 1268 |
+
"bbox": [
|
| 1269 |
+
169,
|
| 1270 |
+
405,
|
| 1271 |
+
821,
|
| 1272 |
+
434
|
| 1273 |
+
],
|
| 1274 |
+
"page_idx": 8
|
| 1275 |
+
},
|
| 1276 |
+
{
|
| 1277 |
+
"type": "text",
|
| 1278 |
+
"text": "Thomas Emerson. The second international chinese word segmentation bakeoff. In Proceedings of the fourth SIGHAN workshop on Chinese language Processing, 2005. ",
|
| 1279 |
+
"bbox": [
|
| 1280 |
+
173,
|
| 1281 |
+
444,
|
| 1282 |
+
825,
|
| 1283 |
+
473
|
| 1284 |
+
],
|
| 1285 |
+
"page_idx": 8
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"type": "text",
|
| 1289 |
+
"text": "Chih-Wen Goo, Guang Gao, Yun-Kai Hsu, Chih-Li Huo, Tsung-Chieh Chen, Keng-Wei Hsu, and Yun-Nung Chen. Slot-gated modeling for joint slot filling and intent prediction. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pp. 753–757, 2018. ",
|
| 1290 |
+
"bbox": [
|
| 1291 |
+
173,
|
| 1292 |
+
483,
|
| 1293 |
+
826,
|
| 1294 |
+
541
|
| 1295 |
+
],
|
| 1296 |
+
"page_idx": 8
|
| 1297 |
+
},
|
| 1298 |
+
{
|
| 1299 |
+
"type": "text",
|
| 1300 |
+
"text": "Charles T Hemphill, John J Godfrey, and George R Doddington. The atis spoken language systems pilot corpus. In Speech and Natural Language: Proceedings of a Workshop Held at Hidden Valley, Pennsylvania, June 24-27, 1990, 1990. ",
|
| 1301 |
+
"bbox": [
|
| 1302 |
+
174,
|
| 1303 |
+
550,
|
| 1304 |
+
823,
|
| 1305 |
+
593
|
| 1306 |
+
],
|
| 1307 |
+
"page_idx": 8
|
| 1308 |
+
},
|
| 1309 |
+
{
|
| 1310 |
+
"type": "text",
|
| 1311 |
+
"text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997. ",
|
| 1312 |
+
"bbox": [
|
| 1313 |
+
169,
|
| 1314 |
+
604,
|
| 1315 |
+
823,
|
| 1316 |
+
633
|
| 1317 |
+
],
|
| 1318 |
+
"page_idx": 8
|
| 1319 |
+
},
|
| 1320 |
+
{
|
| 1321 |
+
"type": "text",
|
| 1322 |
+
"text": "Weipeng Huang, Xingyi Cheng, Kunlong Chen, Taifeng Wang, and Wei Chu. Toward fast and accurate neural chinese word segmentation with multi-criteria learning. arXiv preprint arXiv:1903.04190, 2019. ",
|
| 1323 |
+
"bbox": [
|
| 1324 |
+
174,
|
| 1325 |
+
643,
|
| 1326 |
+
825,
|
| 1327 |
+
686
|
| 1328 |
+
],
|
| 1329 |
+
"page_idx": 8
|
| 1330 |
+
},
|
| 1331 |
+
{
|
| 1332 |
+
"type": "text",
|
| 1333 |
+
"text": "Zhiheng Huang, Wei Xu, and Kai Yu. Bidirectional lstm-crf models for sequence tagging. arXiv preprint arXiv:1508.01991, 2015. ",
|
| 1334 |
+
"bbox": [
|
| 1335 |
+
173,
|
| 1336 |
+
696,
|
| 1337 |
+
823,
|
| 1338 |
+
727
|
| 1339 |
+
],
|
| 1340 |
+
"page_idx": 8
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"type": "text",
|
| 1344 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1345 |
+
"bbox": [
|
| 1346 |
+
173,
|
| 1347 |
+
737,
|
| 1348 |
+
823,
|
| 1349 |
+
766
|
| 1350 |
+
],
|
| 1351 |
+
"page_idx": 8
|
| 1352 |
+
},
|
| 1353 |
+
{
|
| 1354 |
+
"type": "text",
|
| 1355 |
+
"text": "John Lafferty, Andrew McCallum, and Fernando CN Pereira. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. 2001. ",
|
| 1356 |
+
"bbox": [
|
| 1357 |
+
171,
|
| 1358 |
+
776,
|
| 1359 |
+
823,
|
| 1360 |
+
806
|
| 1361 |
+
],
|
| 1362 |
+
"page_idx": 8
|
| 1363 |
+
},
|
| 1364 |
+
{
|
| 1365 |
+
"type": "text",
|
| 1366 |
+
"text": "Guillaume Lample, Miguel Ballesteros, Sandeep Subramanian, Kazuya Kawakami, and Chris Dyer. Neural architectures for named entity recognition. arXiv preprint arXiv:1603.01360, 2016. ",
|
| 1367 |
+
"bbox": [
|
| 1368 |
+
174,
|
| 1369 |
+
815,
|
| 1370 |
+
823,
|
| 1371 |
+
845
|
| 1372 |
+
],
|
| 1373 |
+
"page_idx": 8
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"type": "text",
|
| 1377 |
+
"text": "Kenton Lee, Luheng He, and Luke Zettlemoyer. Higher-order coreference resolution with coarseto-fine inference. arXiv preprint arXiv:1804.05392, 2018. ",
|
| 1378 |
+
"bbox": [
|
| 1379 |
+
171,
|
| 1380 |
+
856,
|
| 1381 |
+
821,
|
| 1382 |
+
885
|
| 1383 |
+
],
|
| 1384 |
+
"page_idx": 8
|
| 1385 |
+
},
|
| 1386 |
+
{
|
| 1387 |
+
"type": "text",
|
| 1388 |
+
"text": "Xiaoya Li, Jingrong Feng, Yuxian Meng, Qinghong Han, Fei Wu, and Jiwei Li. A unified mrc framework for named entity recognition. arXiv preprint arXiv:1910.11476, 2019. ",
|
| 1389 |
+
"bbox": [
|
| 1390 |
+
173,
|
| 1391 |
+
895,
|
| 1392 |
+
821,
|
| 1393 |
+
924
|
| 1394 |
+
],
|
| 1395 |
+
"page_idx": 8
|
| 1396 |
+
},
|
| 1397 |
+
{
|
| 1398 |
+
"type": "text",
|
| 1399 |
+
"text": "Tianyu Liu, Jin-Ge Yao, and Chin-Yew Lin. Towards improving neural named entity recognition with gazetteers. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 5301–5307, 2019a. ",
|
| 1400 |
+
"bbox": [
|
| 1401 |
+
176,
|
| 1402 |
+
103,
|
| 1403 |
+
823,
|
| 1404 |
+
146
|
| 1405 |
+
],
|
| 1406 |
+
"page_idx": 9
|
| 1407 |
+
},
|
| 1408 |
+
{
|
| 1409 |
+
"type": "text",
|
| 1410 |
+
"text": "Yijin Liu, Fandong Meng, Jinchao Zhang, Jinan Xu, Yufeng Chen, and Jie Zhou. Gcdt: A global context enhanced deep transition architecture for sequence labeling. arXiv preprint arXiv:1906.02437, 2019b. ",
|
| 1411 |
+
"bbox": [
|
| 1412 |
+
176,
|
| 1413 |
+
156,
|
| 1414 |
+
823,
|
| 1415 |
+
199
|
| 1416 |
+
],
|
| 1417 |
+
"page_idx": 9
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"type": "text",
|
| 1421 |
+
"text": "Yijin Liu, Fandong Meng, Jinchao Zhang, Jie Zhou, Yufeng Chen, and Jinan Xu. Cm-net: A novel collaborative memory network for spoken language understanding. arXiv preprint arXiv:1909.06937, 2019c. ",
|
| 1422 |
+
"bbox": [
|
| 1423 |
+
174,
|
| 1424 |
+
208,
|
| 1425 |
+
826,
|
| 1426 |
+
252
|
| 1427 |
+
],
|
| 1428 |
+
"page_idx": 9
|
| 1429 |
+
},
|
| 1430 |
+
{
|
| 1431 |
+
"type": "text",
|
| 1432 |
+
"text": "Ying Luo, Fengshun Xiao, and Hai Zhao. Hierarchical contextualized representation for named entity recognition. In AAAI, pp. 8441–8448, 2020. ",
|
| 1433 |
+
"bbox": [
|
| 1434 |
+
173,
|
| 1435 |
+
262,
|
| 1436 |
+
823,
|
| 1437 |
+
291
|
| 1438 |
+
],
|
| 1439 |
+
"page_idx": 9
|
| 1440 |
+
},
|
| 1441 |
+
{
|
| 1442 |
+
"type": "text",
|
| 1443 |
+
"text": "Ji Ma, Kuzman Ganchev, and David Weiss. State-of-the-art chinese word segmentation with bilstms. arXiv preprint arXiv:1808.06511, 2018. ",
|
| 1444 |
+
"bbox": [
|
| 1445 |
+
169,
|
| 1446 |
+
301,
|
| 1447 |
+
823,
|
| 1448 |
+
330
|
| 1449 |
+
],
|
| 1450 |
+
"page_idx": 9
|
| 1451 |
+
},
|
| 1452 |
+
{
|
| 1453 |
+
"type": "text",
|
| 1454 |
+
"text": "Xuezhe Ma and Eduard Hovy. End-to-end sequence labeling via bi-directional lstm-cnns-crf. arXiv preprint arXiv:1603.01354, 2016. ",
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
169,
|
| 1457 |
+
340,
|
| 1458 |
+
823,
|
| 1459 |
+
369
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 9
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "text",
|
| 1465 |
+
"text": "Yuxian Meng, Wei Wu, Fei Wang, Xiaoya Li, Ping Nie, Fan Yin, Muyu Li, Qinghong Han, Xiaofei Sun, and Jiwei Li. Glyce: Glyph-vectors for chinese character representations. In Advances in Neural Information Processing Systems, pp. 2746–2757, 2019. ",
|
| 1466 |
+
"bbox": [
|
| 1467 |
+
176,
|
| 1468 |
+
378,
|
| 1469 |
+
823,
|
| 1470 |
+
422
|
| 1471 |
+
],
|
| 1472 |
+
"page_idx": 9
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"type": "text",
|
| 1476 |
+
"text": "Gregoire Mesnil, Yann Dauphin, Kaisheng Yao, Yoshua Bengio, Li Deng, Dilek Hakkani-Tur, Xi-´ aodong He, Larry Heck, Gokhan Tur, Dong Yu, et al. Using recurrent neural networks for slot filling in spoken language understanding. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 23(3):530–539, 2014. ",
|
| 1477 |
+
"bbox": [
|
| 1478 |
+
173,
|
| 1479 |
+
431,
|
| 1480 |
+
825,
|
| 1481 |
+
488
|
| 1482 |
+
],
|
| 1483 |
+
"page_idx": 9
|
| 1484 |
+
},
|
| 1485 |
+
{
|
| 1486 |
+
"type": "text",
|
| 1487 |
+
"text": "Joakim Nivre, Marie-Catherine De Marneffe, Filip Ginter, Yoav Goldberg, Jan Hajic, Christopher D Manning, Ryan McDonald, Slav Petrov, Sampo Pyysalo, Natalia Silveira, et al. Universal dependencies v1: A multilingual treebank collection. In Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC’16), pp. 1659–1666, 2016. ",
|
| 1488 |
+
"bbox": [
|
| 1489 |
+
173,
|
| 1490 |
+
498,
|
| 1491 |
+
825,
|
| 1492 |
+
556
|
| 1493 |
+
],
|
| 1494 |
+
"page_idx": 9
|
| 1495 |
+
},
|
| 1496 |
+
{
|
| 1497 |
+
"type": "text",
|
| 1498 |
+
"text": "Nanyun Peng et al. Jointly Learning Representations for Low-Resource Information Extraction. PhD thesis, Ph. D. thesis, Johns Hopkins University, 2017. ",
|
| 1499 |
+
"bbox": [
|
| 1500 |
+
171,
|
| 1501 |
+
565,
|
| 1502 |
+
823,
|
| 1503 |
+
595
|
| 1504 |
+
],
|
| 1505 |
+
"page_idx": 9
|
| 1506 |
+
},
|
| 1507 |
+
{
|
| 1508 |
+
"type": "text",
|
| 1509 |
+
"text": "Sameer Pradhan, Alessandro Moschitti, Nianwen Xue, Hwee Tou Ng, Anders Bjorkelund, Olga ¨ Uryupina, Yuchen Zhang, and Zhi Zhong. Towards robust linguistic analysis using ontonotes. In Proceedings of the Seventeenth Conference on Computational Natural Language Learning, pp. 143–152, 2013. ",
|
| 1510 |
+
"bbox": [
|
| 1511 |
+
174,
|
| 1512 |
+
604,
|
| 1513 |
+
825,
|
| 1514 |
+
661
|
| 1515 |
+
],
|
| 1516 |
+
"page_idx": 9
|
| 1517 |
+
},
|
| 1518 |
+
{
|
| 1519 |
+
"type": "text",
|
| 1520 |
+
"text": "Tao Qian, Yue Zhang, Meishan Zhang, Yafeng Ren, and Donghong Ji. A transition-based model for joint segmentation, pos-tagging and normalization. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pp. 1837–1846, 2015. ",
|
| 1521 |
+
"bbox": [
|
| 1522 |
+
173,
|
| 1523 |
+
671,
|
| 1524 |
+
825,
|
| 1525 |
+
715
|
| 1526 |
+
],
|
| 1527 |
+
"page_idx": 9
|
| 1528 |
+
},
|
| 1529 |
+
{
|
| 1530 |
+
"type": "text",
|
| 1531 |
+
"text": "Erik F Sang and Sabine Buchholz. Introduction to the conll-2000 shared task: Chunking. arXiv preprint cs/0009008, 2000. ",
|
| 1532 |
+
"bbox": [
|
| 1533 |
+
173,
|
| 1534 |
+
724,
|
| 1535 |
+
823,
|
| 1536 |
+
753
|
| 1537 |
+
],
|
| 1538 |
+
"page_idx": 9
|
| 1539 |
+
},
|
| 1540 |
+
{
|
| 1541 |
+
"type": "text",
|
| 1542 |
+
"text": "Erik F Sang and Fien De Meulder. Introduction to the conll-2003 shared task: Languageindependent named entity recognition. arXiv preprint cs/0306050, 2003. ",
|
| 1543 |
+
"bbox": [
|
| 1544 |
+
171,
|
| 1545 |
+
763,
|
| 1546 |
+
823,
|
| 1547 |
+
794
|
| 1548 |
+
],
|
| 1549 |
+
"page_idx": 9
|
| 1550 |
+
},
|
| 1551 |
+
{
|
| 1552 |
+
"type": "text",
|
| 1553 |
+
"text": "Sunita Sarawagi and William W Cohen. Semi-markov conditional random fields for information extraction. In Advances in neural information processing systems, pp. 1185–1192, 2005. ",
|
| 1554 |
+
"bbox": [
|
| 1555 |
+
173,
|
| 1556 |
+
803,
|
| 1557 |
+
823,
|
| 1558 |
+
833
|
| 1559 |
+
],
|
| 1560 |
+
"page_idx": 9
|
| 1561 |
+
},
|
| 1562 |
+
{
|
| 1563 |
+
"type": "text",
|
| 1564 |
+
"text": "Sebastian Schuster, Sonal Gupta, Rushin Shah, and Mike Lewis. Cross-lingual transfer learning for multilingual task oriented dialog. arXiv preprint arXiv:1810.13327, 2018. ",
|
| 1565 |
+
"bbox": [
|
| 1566 |
+
171,
|
| 1567 |
+
842,
|
| 1568 |
+
823,
|
| 1569 |
+
871
|
| 1570 |
+
],
|
| 1571 |
+
"page_idx": 9
|
| 1572 |
+
},
|
| 1573 |
+
{
|
| 1574 |
+
"type": "text",
|
| 1575 |
+
"text": "Yan Shao, Christian Hardmeier, Jorg Tiedemann, and Joakim Nivre. Character-based joint segmen- ¨ tation and pos tagging for chinese using bidirectional rnn-crf. arXiv preprint arXiv:1704.01314, 2017. ",
|
| 1576 |
+
"bbox": [
|
| 1577 |
+
176,
|
| 1578 |
+
882,
|
| 1579 |
+
823,
|
| 1580 |
+
922
|
| 1581 |
+
],
|
| 1582 |
+
"page_idx": 9
|
| 1583 |
+
},
|
| 1584 |
+
{
|
| 1585 |
+
"type": "text",
|
| 1586 |
+
"text": "Aditya Siddhant, Anuj Goyal, and Angeliki Metallinou. Unsupervised transfer learning for spoken language understanding in intelligent agents. In Proceedings of the AAAI conference on artificial intelligence, volume 33, pp. 4959–4966, 2019. ",
|
| 1587 |
+
"bbox": [
|
| 1588 |
+
174,
|
| 1589 |
+
103,
|
| 1590 |
+
823,
|
| 1591 |
+
146
|
| 1592 |
+
],
|
| 1593 |
+
"page_idx": 10
|
| 1594 |
+
},
|
| 1595 |
+
{
|
| 1596 |
+
"type": "text",
|
| 1597 |
+
"text": "Mitchell Stern, Jacob Andreas, and Dan Klein. A minimal span-based neural constituency parser. arXiv preprint arXiv:1705.03919, 2017. ",
|
| 1598 |
+
"bbox": [
|
| 1599 |
+
171,
|
| 1600 |
+
155,
|
| 1601 |
+
821,
|
| 1602 |
+
184
|
| 1603 |
+
],
|
| 1604 |
+
"page_idx": 10
|
| 1605 |
+
},
|
| 1606 |
+
{
|
| 1607 |
+
"type": "text",
|
| 1608 |
+
"text": "Shaolei Wang, Wanxiang Che, Yue Zhang, Meishan Zhang, and Ting Liu. Transition-based disfluency detection using lstms. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 2785–2794, 2017. ",
|
| 1609 |
+
"bbox": [
|
| 1610 |
+
174,
|
| 1611 |
+
193,
|
| 1612 |
+
823,
|
| 1613 |
+
236
|
| 1614 |
+
],
|
| 1615 |
+
"page_idx": 10
|
| 1616 |
+
},
|
| 1617 |
+
{
|
| 1618 |
+
"type": "text",
|
| 1619 |
+
"text": "Wenhui Wang and Baobao Chang. Graph-based dependency parsing with bidirectional lstm. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 2306–2315, 2016. ",
|
| 1620 |
+
"bbox": [
|
| 1621 |
+
174,
|
| 1622 |
+
244,
|
| 1623 |
+
823,
|
| 1624 |
+
287
|
| 1625 |
+
],
|
| 1626 |
+
"page_idx": 10
|
| 1627 |
+
},
|
| 1628 |
+
{
|
| 1629 |
+
"type": "text",
|
| 1630 |
+
"text": "Naiwen Xue, Fei Xia, Fu-Dong Chiou, and Marta Palmer. The penn chinese treebank: Phrase structure annotation of a large corpus. Natural language engineering, 11(2):207, 2005. ",
|
| 1631 |
+
"bbox": [
|
| 1632 |
+
171,
|
| 1633 |
+
295,
|
| 1634 |
+
823,
|
| 1635 |
+
325
|
| 1636 |
+
],
|
| 1637 |
+
"page_idx": 10
|
| 1638 |
+
},
|
| 1639 |
+
{
|
| 1640 |
+
"type": "text",
|
| 1641 |
+
"text": "Nianwen Xue. Chinese word segmentation as character tagging. In International Journal of Computational Linguistics & Chinese Language Processing, Volume 8, Number 1, February 2003: Special Issue on Word Formation and Chinese Language Processing, pp. 29–48, 2003. ",
|
| 1642 |
+
"bbox": [
|
| 1643 |
+
174,
|
| 1644 |
+
333,
|
| 1645 |
+
823,
|
| 1646 |
+
376
|
| 1647 |
+
],
|
| 1648 |
+
"page_idx": 10
|
| 1649 |
+
},
|
| 1650 |
+
{
|
| 1651 |
+
"type": "text",
|
| 1652 |
+
"text": "Jie Yang, Yue Zhang, and Fei Dong. Neural word segmentation with rich pretraining. arXiv preprint arXiv:1704.08960, 2017. ",
|
| 1653 |
+
"bbox": [
|
| 1654 |
+
173,
|
| 1655 |
+
385,
|
| 1656 |
+
823,
|
| 1657 |
+
414
|
| 1658 |
+
],
|
| 1659 |
+
"page_idx": 10
|
| 1660 |
+
},
|
| 1661 |
+
{
|
| 1662 |
+
"type": "text",
|
| 1663 |
+
"text": "Zhi-Xiu Ye and Zhen-Hua Ling. Hybrid semi-markov crf for neural sequence labeling. arXiv preprint arXiv:1805.03838, 2018. ",
|
| 1664 |
+
"bbox": [
|
| 1665 |
+
171,
|
| 1666 |
+
422,
|
| 1667 |
+
823,
|
| 1668 |
+
452
|
| 1669 |
+
],
|
| 1670 |
+
"page_idx": 10
|
| 1671 |
+
},
|
| 1672 |
+
{
|
| 1673 |
+
"type": "text",
|
| 1674 |
+
"text": "Juntao Yu, Bernd Bohnet, and Massimo Poesio. Named entity recognition as dependency parsing. arXiv preprint arXiv:2005.07150, 2020. ",
|
| 1675 |
+
"bbox": [
|
| 1676 |
+
173,
|
| 1677 |
+
460,
|
| 1678 |
+
823,
|
| 1679 |
+
489
|
| 1680 |
+
],
|
| 1681 |
+
"page_idx": 10
|
| 1682 |
+
},
|
| 1683 |
+
{
|
| 1684 |
+
"type": "text",
|
| 1685 |
+
"text": "Feifei Zhai, Saloni Potdar, Bing Xiang, and Bowen Zhou. Neural models for sequence chunking. In Thirty-First AAAI Conference on Artificial Intelligence, 2017. ",
|
| 1686 |
+
"bbox": [
|
| 1687 |
+
173,
|
| 1688 |
+
497,
|
| 1689 |
+
823,
|
| 1690 |
+
527
|
| 1691 |
+
],
|
| 1692 |
+
"page_idx": 10
|
| 1693 |
+
},
|
| 1694 |
+
{
|
| 1695 |
+
"type": "text",
|
| 1696 |
+
"text": "Meishan Zhang, Yue Zhang, and Guohong Fu. Transition-based neural word segmentation. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 421–431, 2016. ",
|
| 1697 |
+
"bbox": [
|
| 1698 |
+
174,
|
| 1699 |
+
536,
|
| 1700 |
+
825,
|
| 1701 |
+
579
|
| 1702 |
+
],
|
| 1703 |
+
"page_idx": 10
|
| 1704 |
+
}
|
| 1705 |
+
]
|
parse/train/PQlC91XxqK5/PQlC91XxqK5_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/PQlC91XxqK5/PQlC91XxqK5_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SkmiegW0b/SkmiegW0b.md
ADDED
|
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CHALLENGES IN DISENTANGLING INDEPENDENT FAC-TORS OF VARIATION
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
We study the problem of building models that disentangle independent factors of variation. Such models encode features that can efficiently be used for classification and to transfer attributes between different images in image synthesis. As data we use a weakly labeled training set, where labels indicate what single factor has changed between two data samples, although the relative value of the change is unknown. This labeling is of particular interest as it may be readily available without annotation costs. We introduce an autoencoder model and train it through constraints on image pairs and triplets. We show the role of feature dimensionality and adversarial training theoretically and experimentally. We formally prove the existence of the reference ambiguity, which is inherently present in the disentangling task when weakly labeled data is used. The numerical value of a factor has different meaning in different reference frames. When the reference depends on other factors, transferring that factor becomes ambiguous. We demonstrate experimentally that the proposed model can successfully transfer attributes on several datasets, but show also cases when the reference ambiguity occurs.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
One way to simplify the problem of classifying or regressing attributes of interest from data is to build an intermediate representation, a feature, where the information about the attributes is better separated than in the input data. Better separation means that some entries of the feature vary only with respect to one and only one attribute. In this way, classifiers and regressors would not need to build invariance to many nuisance attributes. Instead, they could devote more capacity to discriminating the attributes of interest, and possibly achieve better performance. We call this task disentangling factors of variation, and we identify attributes with the factors. In addition to facilitating classification and regression, this task is beneficial to image synthesis. One could build a model to render images, where each input varies only one attribute of the output, and to transfer attributes between images.
|
| 12 |
+
|
| 13 |
+
When labeling is possible and available, supervised learning can be used to solve this task. In general, however, some attributes may not be easily quantifiable (e.g., style). Therefore, we consider using weak labeling, where we only know what attribute has changed between two images, although we do not know by how much. This type of labeling may be readily available in many cases without manual annotation. For example, image pairs from a stereo system are automatically labeled with a viewpoint change, albeit unknown. A practical model that can learn from these labels is an encoder-decoder pair subject to a reconstruction constraint. In this model the weak labels can be used to define similarities between subsets of the feature obtained from two input images.
|
| 14 |
+
|
| 15 |
+
We introduce a novel adversarial training of autoencoders to solve the disentangling task when only weak labels are available. Compared to previous methods, our discriminator is not conditioned on class labels, but takes image pairs as inputs. This way the number of parameters can be kept constant.
|
| 16 |
+
|
| 17 |
+
We describe the shortcut problem, where all the the information is encoded only in one part of the feature, while other part is completely ignored, as fig. 1 illustrates. We prove our method solves this problem and demonstrate it experimentally.
|
| 18 |
+
|
| 19 |
+
We formally prove existence of the reference ambiguity, that is inherently present in the disentangling task when weak labels are used. Thus no algorithm can provably learn disentangling. As fig. 1 shows, the reference ambiguity means that a factor (for example viewpoint) can have different meaning when using a different reference frame that depends on another factor (for example car type). We show experimentally that this ambiguity rarely arise, we can observe it only when the data is complex.
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: Challenges of disentangling. We disentangle the feature into two parts, one representing the viewpoint, the other the car type. We use the features for attribute transfer. For all subfigures the viewpoint feature is taken from the leftmost column and the car type feature is taken from the topmost row. (a) ideal solution: the viewpoint and the car type are transferred correctly. (b) shortcut problem: the car type is not transferred. (c) reference ambiguity: compared to the others the viewpoint orientation is flipped for the blue car.
|
| 23 |
+
|
| 24 |
+
# 2 RELATED WORK
|
| 25 |
+
|
| 26 |
+
Autoencoders. Autoencoders in Bourlard & Kamp (1988), Hinton & Salakhutdinov (2006), Bengio et al. (2013) learn to reconstruct the input data as $\mathbf { x } = \mathrm { D e c } ( \mathrm { E n c } ( \mathbf { x } ) )$ , where $\operatorname { E n c } ( \mathbf { x } )$ is the internal image representation (the encoder) and Dec (the decoder) reconstructs the input of the encoder. Variational autoencoders in Kingma & Welling (2014) use a generative model; $p ( \bar { \mathbf { x } } , \mathbf { z } ) = p ( \mathbf { x } | \mathbf { z } ) p ( \mathbf { z } )$ , where $\mathbf { x }$ is the observed data (images), and $\mathbf { z }$ are latent variables. The encoder estimates the parameters of the posterior, $\operatorname { E n c } ( \mathbf { x } ) = p ( \mathbf { z } | \mathbf { x } )$ , and the decoder estimates the conditional likelihood, $\mathrm { D e c } ( \mathbf { z } ) = p ( \mathbf { x } | \mathbf { z } )$ . In Hinton et al. (2011) autoencoders are trained with transformed image input pairs. The relative transformation parameters are also fed to the network. Because the internal representation explicitly represents the objects presence and location, the network can learn their absolute position. One important aspect of the autoencoders is that they encourage latent representations to keep as much information about the input as possible.
|
| 27 |
+
|
| 28 |
+
GAN. Generative Adversarial Nets Goodfellow et al. (2014) learn to sample realistic images with two competing neural networks. The generator Dec creates images $\mathbf { x } = \mathrm { D e c } ( \mathbf { z } )$ from a random noise sample $\mathbf { z }$ and tries to fool a discriminator Dsc, which has to decide whether the image is sampled from the generator $p _ { g }$ or from real images $p _ { r e a l }$ . After a successful training the discriminator cannot distinguish the real from the generated samples. Adversarial training is often used to enforce constraints on random variables. BIGAN, Donahue et al. (2016) learns a feature representation with adversarial nets by training an encoder Enc, such that $\operatorname { E n c } ( \mathbf { x } )$ is Gaussian, when $\mathbf { x } \sim p _ { r e a l }$ . CoGAN, Liu & Tuzel (2016) learns the joint distribution of multi-domain images by having generators and discriminators in each domain, and sharing their weights. They can transform images between domains without being given correspondences. InfoGan, Chen et al. (2016) learns a subset of factors of variation by reproducing parts of the input vector with the discriminator.
|
| 29 |
+
|
| 30 |
+
Disentangling and independence. Many recent methods use neural networks for disentangling features, with various degrees of supervision. In Xi Peng (2017) multi-task learning is used with full supervision for pose invariant face recognition. Using both identity and pose labels Tran et al. (2017) can learn pose invariant features and synthesize frontalized faces from any pose. In Yang et al. (2015) autoencoders are used to generate novel viewpoints of objects. They disentangle the object category factor from the viewpoint factor by using as explicit supervision signals: the relative viewpoint transformations between image pairs. In Cheung et al. (2014) the output of the encoder is split in two parts: one represents the class label and the other represents the nuisance factors. Their objective function has a penalty term for misclassification and a cross-covariance cost to disentangle class from nuisance factors. Hierarchical Boltzmann Machines are used in Reed et al. (2014) for disentangling. A subset of hidden units are trained to be sensitive to a specific factor of variation, while being invariant to others. Variational Fair Autoencoders Louizos et al. (2016) learn a representation that is invariant to specific nuisance factors, while retaining as much information as possible. Autoencoders can also be used for visual analogy Reed et al. (2015). GAN is used for disentangling intrinsic image factors (albedo and normal map) in Shu et al. (2017) without using ground truth labeling. They achieve this by explicitly modeling the physics of the image formation in their network.
|
| 31 |
+
|
| 32 |
+
The work most related to ours is Mathieu et al. (2016), where an autoencoder restores an image from another by swapping parts of the internal image representation. Their main improvement over Reed et al. (2015) is the use of adversarial training, which allows for learning with image pairs instead of image triplets. Therefore, expensive labels like viewpoint alignment between different car types are no longer needed. One of the differences between this method and ours is that it trains a discriminator for each of the given labels. A benefit of this approach is the higher selectivity of the discriminator, but a drawback is that the number of model parameters grows linearly with the number of labels. In contrast, we work with image pairs and use a single discriminator so that our method is uninfluenced by the number of labels. Moreover, we show formally and experimentally the difficulties of disentangling factors of variation.
|
| 33 |
+
|
| 34 |
+
# 3 DISENTANGLING FACTORS OF VARIATION
|
| 35 |
+
|
| 36 |
+
We are interested in the design and training of two models. One should map a data sample (e.g., an image) to a feature that is explicitly partitioned into subvectors, each associated to a specific factor of variation. The other model should map this feature back to an image. We call the first model the encoder and the second model the decoder. For example, given the image of a car we would like the encoder to yield a feature with two subvectors: one related to the car viewpoint, and the other related to the car type. The subvectors of the feature obtained from the encoder should be useful for classification or regression of the corresponding factor that they depend on (the car viewpoint and type in the example). This separation would also be very useful to the decoder. It would enable advanced editing of images, for example, the transfer of the viewpoint or car types from an image to another, by swapping the corresponding subvectors. Next, we introduce our model of the data and formal definitions of our encoder and decoder.
|
| 37 |
+
|
| 38 |
+
Data model. We assume that our observed data $\mathbf { x }$ is generated through some unknown deterministic invertible and smooth process $f$ that depends on the factors $\mathbf { v }$ and $\mathbf { c }$ , so that $\mathbf { x } = f ( \mathbf { v } , \mathbf { c } )$ . In our earlier example, $\mathbf { x }$ is an image, $\mathbf { v }$ is a viewpoint, c is a car type, and $f$ is the rendering engine. It is reasonable to assume that $f$ is invertible, as for most cases the factors are readily apparent form the image. We assume $f$ is smooth, because a small change in the factors should only result in a small change in the image and vice versa. We denote the inverse of the rendering engine as $f ^ { - 1 } = [ f _ { \mathbf { v } } ^ { - 1 } , f _ { \mathbf { c } } ^ { - 1 } ]$ , where the subscript refers to the recovered factor.
|
| 39 |
+
|
| 40 |
+
Weak labeling. In the training we are given pairs of images $\mathbf { x } _ { 1 }$ and $\mathbf { x } _ { 2 }$ , where they differ in $\mathbf { v }$ (varying factor), but they have the same c (common factor). We also assume that the two varying factors and the common factor are sampled independently, $\mathbf { v } _ { 1 } \sim p _ { \mathbf { v } }$ , $\mathbf { v } _ { 2 } \sim p _ { \mathbf { v } }$ and $\mathbf { c } \sim p _ { \mathbf { c } }$ . The images are generated as $\mathbf { x } _ { 1 } = f ( \mathbf { v } _ { 1 } , \mathbf { c } )$ and $\mathbf { x } _ { 1 } = f ( \mathbf { v } _ { 2 } , \mathbf { c } )$ . We call this labeling weak, because we do not know the absolute values of either the $\mathbf { v }$ or c factors or even relative changes between $\mathbf { v } _ { 1 }$ and $\mathbf { v } _ { 2 }$ . All we know is that the image pairs share the same common factor.
|
| 41 |
+
|
| 42 |
+
The encoder. Let Enc be the encoder mapping images to features. For simplicity, we consider features split into only two column subvectors, $N _ { \mathbf { v } }$ and $N _ { \mathbf { c } }$ , one associated to the varying factor $\mathbf { v }$ and the other associated to the common factor c. Then, we have that $\mathrm { E n c } ( \mathbf { x } ) = [ N _ { \mathbf { v } } ( \mathbf { x } ) , \bar { N _ { \mathbf { c } } } ( \mathbf { x } ) ]$ . Ideally, we would like to find the inverse of the image formation function, $[ N _ { \bf v } , N _ { \bf c } ] = f ^ { - 1 }$ , which separates and recovers the factors $\mathbf { v }$ and $\mathbf { c }$ from data samples $\mathbf { x }$ , i.e.,
|
| 43 |
+
|
| 44 |
+
$$
|
| 45 |
+
N _ { \mathbf { v } } ( f ( \mathbf { v } , \mathbf { c } ) ) = \mathbf { v } \qquad N _ { \mathbf { c } } ( f ( \mathbf { v } , \mathbf { c } ) ) = \mathbf { c } .
|
| 46 |
+
$$
|
| 47 |
+
|
| 48 |
+
In practice, this is not possible because any bijective transformation of $\mathbf { v }$ and c could be undone by $f$ and produce the same output $\mathbf { x }$ . Therefore, we aim for $N _ { \mathbf { v } }$ and $N _ { \mathbf { c } }$ that satisfy the following feature disentangling properties
|
| 49 |
+
|
| 50 |
+
$$
|
| 51 |
+
R _ { \mathbf { v } } ( N _ { \mathbf { v } } ( f ( \mathbf { v } , \mathbf { c } ) ) ) = \mathbf { v } \qquad R _ { \mathbf { c } } ( N _ { \mathbf { c } } ( f ( \mathbf { v } , \mathbf { c } ) ) ) = \mathbf { c }
|
| 52 |
+
$$
|
| 53 |
+
|
| 54 |
+
for all $\mathbf { v } , \mathbf { c }$ , and for some bijective functions $R _ { \mathbf { v } }$ and $R _ { \mathbf { c } }$ , so that $N _ { \mathbf { v } }$ is invariant to $\mathbf { c }$ and $N _ { \mathbf { c } }$ is invariant to $\mathbf { v }$ .
|
| 55 |
+
|
| 56 |
+
The decoder. Let Dec be the decoder mapping features to images. The sequence encoder-decoder is constrained to form an autoencoder, so
|
| 57 |
+
|
| 58 |
+
$$
|
| 59 |
+
\mathrm { D e c } ( N _ { \mathbf { v } } ( { \mathbf { x } } ) , N _ { \mathbf { c } } ( { \mathbf { x } } ) ) = { \mathbf { x } } , \qquad \forall { \mathbf { x } } .
|
| 60 |
+
$$
|
| 61 |
+
|
| 62 |
+
To use the decoder for image synthesis, so that each input subvector affects only one factor in the rendered image, the ideal decoder should satisfy the data disentangling property
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\mathrm { D e c } ( N _ { \mathbf { v } } ( f ( \mathbf { v } _ { 1 } , \mathbf { c } _ { 1 } ) ) , N _ { \mathbf { c } } ( f ( \mathbf { v } _ { 2 } , \mathbf { c } _ { 2 } ) ) ) = f ( \mathbf { v } _ { 1 } , \mathbf { c } _ { 2 } )
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
for any $\mathbf { v } _ { 1 } , \mathbf { v } _ { 2 } , \mathbf { c } _ { 1 }$ , and $\mathbf { c } _ { 2 }$ . The equation above describes the transfer of the varying factor $\mathbf { v } _ { 1 }$ of $\mathbf { x } _ { 1 }$ and the common factor $\mathbf { c } _ { 2 }$ of $\mathbf { x } _ { 2 }$ to a new image ${ \bf x } _ { 1 \oplus 2 } = f ( { \bf v } _ { 1 } , { \bf c } _ { 2 } )$ .
|
| 69 |
+
|
| 70 |
+
In the next section we describe our training method for disentangling. We introduce a novel adversarial term, that does not need to be conditioned on the common factor, rather it uses only image pairs, that keeps the model parameters constant. Then we address the two main challenges of disentangling, the shortcut problem and the reference ambiguity. We discuss which disentanglement properties can be (provably) achieved by our (or any) method.
|
| 71 |
+
|
| 72 |
+
# 3.1 MODEL TRAINING
|
| 73 |
+
|
| 74 |
+
In our training procedure we use two terms in the objective function: an autoencoder loss and an adversarial loss. We describe these losses in functional form, however the components are implemented using neural networks. In all our terms we use the following sampling of independent factors
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
\mathbf { c } _ { 1 } , \mathbf { c } _ { 3 } \sim p _ { \mathbf { c } } , \quad \mathbf { v } _ { 1 } , \mathbf { v } _ { 2 } , \mathbf { v } _ { 3 } \sim p _ { \mathbf { v } } .
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
The images are formed as $\mathbf { x } _ { 1 } = f ( \mathbf { v } _ { 1 } , \mathbf { c } _ { 1 } )$ , $\mathbf { x } _ { 2 } = f ( \mathbf { v } _ { 2 } , \mathbf { c } _ { 1 } )$ and $\mathbf { x } _ { 3 } = f ( \mathbf { v } _ { 3 } , \mathbf { c } _ { 3 } )$ . The images $\mathbf { x } _ { 1 }$ and $\mathbf { x } _ { 2 }$ share the same common factor, and $\mathbf { x } _ { 1 }$ and $\mathbf { x } _ { 3 }$ are independent. In our objective functions, we use either pairs or triplets of the above images.
|
| 81 |
+
|
| 82 |
+
Autoencoder loss. In this term, we use images $\mathbf { x } _ { 1 }$ and $\mathbf { x } _ { 2 }$ with the same common factor $\mathbf { c } _ { 1 }$ . We feed both images to the encoder. Since both images share the same $\mathbf { c } _ { 1 }$ , we impose that the decoder should reconstruct $\mathbf { x } _ { 1 }$ from the encoder subvector $N _ { \mathbf { v } } ( \mathbf { x } _ { 1 } )$ and the encoder subvector $N _ { \mathbf { c } } ( \mathbf { x } _ { 2 } )$ , and similarly for the reconstruction of $\mathbf { x } _ { 2 }$ . The autoencoder objective is thus defined as
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
\mathcal { L } _ { A E } \doteq E _ { \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } } \left[ \left| \mathbf { x } _ { 1 } - \mathrm { D e c } ( N _ { \mathbf { v } } ( \mathbf { x } _ { 1 } ) , N _ { \mathbf { c } } ( \mathbf { x } _ { 2 } ) ) \right| ^ { 2 } + \left| \mathbf { x } _ { 2 } - \mathrm { D e c } ( N _ { \mathbf { v } } ( \mathbf { x } _ { 2 } ) , N _ { \mathbf { c } } ( \mathbf { x } _ { 1 } ) ) \right| ^ { 2 } \right] .
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
Adversarial loss. We introduce an adversarial training where the generator is our encoder-decoder pair and the discriminator Dsc is a neural network, which takes image pairs as input. The discriminator learns to distinguish between real image pairs $[ \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } ]$ and fake ones $[ \mathbf { x } _ { 1 } , \mathbf { x } _ { 3 \oplus 1 } ]$ , where $\mathbf { x } _ { 3 \oplus 1 } \doteq$ $\mathrm { D e c } ( N _ { \mathbf { v } } ( \mathbf { x } _ { 3 } ) , N _ { \mathbf { c } } ( \mathbf { x } _ { 1 } ) )$ . If the encoder were ideal, the image $\mathbf { x } _ { \mathrm { 3 \oplus 1 } }$ would be the result of taking the common factor from $\mathbf { x } _ { 1 }$ and the varying factor from $\mathbf { x } _ { 3 }$ . The generator learns to fool the discriminator, so that $\mathbf { x } _ { 3 \oplus 1 }$ looks like the random variable $\mathbf { x } _ { 2 }$ (the common factor is $\mathbf { c } _ { 1 }$ and the varying factor is independent of $\mathbf { v } _ { 1 }$ ). To this purpose, the decoder must make use of $N _ { \mathbf { c } } ( \mathbf { x } _ { 1 } )$ , since $\mathbf { x } _ { 3 }$ does not carry any information about $\mathbf { c } _ { 1 }$ . The objective function is thus defined as
|
| 89 |
+
|
| 90 |
+
$$
|
| 91 |
+
\mathcal { L } _ { G A N } \doteq E _ { \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } } \Big [ \log ( \mathrm { D s c } ( \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } ) ) \Big ] + E _ { \mathbf { x } _ { 1 } , \mathbf { x } _ { 3 } } \Big [ \log ( 1 - \mathrm { D s c } ( \mathbf { x } _ { 1 } , \mathbf { x } _ { 3 \oplus 1 } ) ) \Big ] .
|
| 92 |
+
$$
|
| 93 |
+
|
| 94 |
+
Composite loss. Finally, we optimize the weighted sum of the two losses $\mathcal { L } = \mathcal { L } _ { A E } + \lambda \mathcal { L } _ { G A N }$
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
\operatorname* { m i n } _ { \mathrm { D e c , E n c } } \operatorname* { m a x } _ { \mathrm { D s c } } \mathcal { L } _ { A E } ( \mathrm { D e c , E n c } ) + \lambda \mathcal { L } _ { G A N } ( \mathrm { D e c , E n c , D s c } )
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
where $\lambda$ regulates the relative importance of the two losses.
|
| 101 |
+
|
| 102 |
+
# 3.2 SHORTCUT PROBLEM.
|
| 103 |
+
|
| 104 |
+
Ideally, at the global minimum of $\mathcal { L } _ { A E }$ , $N _ { \mathbf { v } }$ relates only to the factor $\mathbf { v }$ and $N _ { \mathbf { c } }$ only to c. However, the encoder may map a complete description of its input into $N _ { \mathbf { v } }$ and the decoder may completely ignore $N _ { \mathbf { c } }$ . We call this challenge the shortcut problem. When the shortcut problem occurs, the decoder is invariant to its second input, so it does not transfer the $\mathbf { c }$ factor correctly,
|
| 105 |
+
|
| 106 |
+
$$
|
| 107 |
+
\mathrm { D e c } ( N _ { \mathbf { v } } ( { \mathbf { x } } _ { 3 } ) , N _ { \mathbf { c } } ( { \mathbf { x } } _ { 1 } ) ) = { \mathbf { x } } _ { 3 } .
|
| 108 |
+
$$
|
| 109 |
+
|
| 110 |
+
The shortcut problem can be addressed by reducing the dimensionality of $N _ { \mathbf { v } }$ , so it cannot build a complete representation of all input images. This also forces the encoder and decoder to make use of $N _ { \mathbf { c } }$ for the common factor. However, this strategy may not be convenient as it leads to a time consuming trial-and-error procedure to find the correct dimensionality. A better way to address the shortcut problem is to use adversarial training (7) (8).
|
| 111 |
+
|
| 112 |
+
Proposition 1. Let $\mathbf { x } _ { 1 }$ , $\mathbf { x } _ { 2 }$ and $\mathbf { x } _ { 3 }$ data samples generated according to (5), where the factors $\mathbf { c } _ { 1 } , \mathbf { c } _ { 3 } , \mathbf { v } _ { 1 } , \mathbf { v } _ { 2 } , \mathbf { v } _ { 3 }$ are jointly independent, and $\mathbf { x } _ { 3 \oplus 1 } \doteq D e c ( N _ { \mathbf { v } } ( \mathbf { x } _ { 3 } ) , N _ { \mathbf { c } } ( \mathbf { x } _ { 1 } ) )$ . When the global optimum of the composite loss (8) is reached, the c factor is transferred to $\mathbf { x } _ { \mathrm { 3 \oplus 1 } }$ , i.e. $f _ { \mathbf { c } } ^ { - 1 } ( \mathbf { x } _ { 3 \oplus 1 } ) = \mathbf { c } _ { 1 }$
|
| 113 |
+
|
| 114 |
+
Proof. When the global optimum of (8) is reached, the distribution of real $\left[ \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } \right]$ and fake $[ \mathbf { x } _ { 1 } , \mathbf { x } _ { 3 \oplus 1 } ]$ image pairs are identical. We compute statistics of the inverse of the rendering engine of the common factor $\bar { f } _ { \mathbf { c } } ^ { - 1 }$ on the data. For the images $\mathbf { x } _ { 1 }$ and $\mathbf { x } _ { 2 }$ we obtain
|
| 115 |
+
|
| 116 |
+
$$
|
| 117 |
+
\begin{array} { r } { { E } _ { \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } } \Big [ | f _ { \mathbf { c } } ^ { - 1 } ( \mathbf { x } _ { 1 } ) - f _ { \mathbf { c } } ^ { - 1 } ( \mathbf { x } _ { 2 } ) | ^ { 2 } \Big ] = { E } _ { \mathbf { c } _ { 1 } } \Big [ | \mathbf { c } _ { 1 } - \mathbf { c } _ { 1 } | ^ { 2 } \Big ] = 0 } \end{array}
|
| 118 |
+
$$
|
| 119 |
+
|
| 120 |
+
by construction (of $\mathbf { x } _ { 1 }$ and $\mathbf { x } _ { 2 }$ ). For the images $\mathbf { x } _ { 1 }$ and $\mathbf { x } _ { \mathrm { 3 \oplus 1 } }$ we obtain
|
| 121 |
+
|
| 122 |
+
$$
|
| 123 |
+
\begin{array} { r } { E _ { \mathbf { x } _ { 1 } , \mathbf { x } _ { 3 } } \Big [ | f _ { \mathbf { c } } ^ { - 1 } ( \mathbf { x } _ { 1 } ) - f _ { \mathbf { c } } ^ { - 1 } ( \mathbf { x } _ { 3 \oplus 1 } ) | ^ { 2 } \Big ] = E _ { \mathbf { v } _ { 1 } , \mathbf { c } _ { 1 } , \mathbf { v } _ { 3 } , \mathbf { c } _ { 3 } } \Big [ | \mathbf { c } _ { 1 } - \mathbf { c } _ { 3 \oplus 1 } | ^ { 2 } \Big ] \geq 0 , } \end{array}
|
| 124 |
+
$$
|
| 125 |
+
|
| 126 |
+
where ${ \bf c } _ { 3 \oplus 1 } = f _ { \bf c } ^ { - 1 } ( { \bf x } _ { 3 \oplus 1 } )$ . We achieve equality if and only if $\mathbf { c } _ { 1 } = \mathbf { c } _ { 3 \oplus 1 }$ everywhere.
|
| 127 |
+
|
| 128 |
+
# 3.3 REFERENCE AMBIGUITY
|
| 129 |
+
|
| 130 |
+
Let us consider the ideal case where we observe the space of all images. When weak labels are made available to us, we also know what images $\mathbf { x } _ { 1 }$ and $\mathbf { x } _ { 2 }$ share the same c factor (for example, which images have the same car). This labeling is equivalent to defining the probability density function $p _ { \mathbf { c } }$ and the joint conditional $\displaystyle p _ { { \mathbf { x } } _ { 1 } , { \mathbf { x } } _ { 2 } | { \mathbf { c } } }$ , where
|
| 131 |
+
|
| 132 |
+
$$
|
| 133 |
+
p _ { \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } | \mathbf { c } } ( \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } | \mathbf { c } ) = \int \delta ( \mathbf { x } _ { 1 } - f ( \mathbf { v } _ { 1 } , \mathbf { c } ) ) \delta ( \mathbf { x } _ { 2 } - f ( \mathbf { v } _ { 2 } , \mathbf { c } ) ) p ( \mathbf { v } _ { 1 } ) p ( \mathbf { v } _ { 2 } ) d \mathbf { v } _ { 1 } d \mathbf { v } _ { 2 } .
|
| 134 |
+
$$
|
| 135 |
+
|
| 136 |
+
Firstly, we show that the labeling allows us to satisfy the feature disentangling property for $\mathbf { c }$ (2). For any $[ \mathbf { \dot { x } } _ { 1 } , \mathbf { x } _ { 2 } ] \sim p _ { \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } | \mathbf { c } }$ we impose $N _ { \mathbf { c } } ( \mathbf { x } _ { 1 } ) = N _ { \mathbf { c } } ( \mathbf { x } _ { 2 } )$ . In particular, this equation is true for pairs when one of the two images is held fixed. Thus, a function $C ( \mathbf { c } ) = N _ { \mathbf { c } } ( \mathbf { x } _ { 1 } )$ can be defined, where the $C$ only depends on c, because $N _ { \mathbf { c } }$ is invariant to $\mathbf { v }$ . Lastly, images with the same $\mathbf { v }$ , but different c must also result in different features, $C ( \mathbf { c } _ { 1 } ) = N _ { \mathbf { v } } ( f ( \mathbf { v } , \mathbf { c } _ { 1 } ) ) \neq N _ { \mathbf { v } } ( \mathbf { v } , \mathbf { c } _ { 2 } ) = C ( \mathbf { c } _ { 2 } )$ , otherwise the autoencoder constraint (3) cannot be satisfied. Then, there exists a bijective function $\dot { R } _ { \bf c } = { C } ^ { - 1 }$ such that property (2) is satisfied for c. Unfortunately the other disentangling properties can not provably be satisfied.
|
| 137 |
+
|
| 138 |
+
Definition 1. A function $g$ reproduces the data distribution, when it generates samples $\mathbf { y } _ { 1 } = g ( \mathbf { v } _ { 1 } , \mathbf { c } )$ and $\mathbf { y } _ { 2 } = g ( \mathbf { v } _ { 2 } , \mathbf { c } )$ that have the same distribution as the data. Formally, $[ \mathbf { y } _ { 1 } , \mathbf { y } _ { 2 } ] \sim p _ { \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } }$ , where the latent factors are independent, $\mathbf { v } _ { 1 } \sim p _ { \mathbf { v } }$ , $\mathbf { v } _ { 2 } \sim p _ { \mathbf { v } }$ and $\mathbf { c } \sim p _ { \mathbf { c } }$ .
|
| 139 |
+
|
| 140 |
+
The reference ambiguity occurs, when a decoder reproduces the data without satisfying the disentangling properties.
|
| 141 |
+
|
| 142 |
+
Proposition 2. Let $p _ { \mathbf { v } }$ assign the same probability value to at least two different instances of v. Then, we can find encoders that reproduce the data distribution, but do not satisfy the disentangling properties for v in (2) and (4).
|
| 143 |
+
|
| 144 |
+
Proof. We already saw that $N _ { \mathbf { c } }$ satisfies (2), so we can choose $N _ { \mathbf { c } } = f _ { \mathbf { c } } ^ { - 1 }$ , the inverse of the rendering engine. Now we look at defining $N _ { \mathbf { v } }$ and the decoder. The iso-probability property of $p _ { \mathbf { v } }$ implies that there exists a mapping $T ( \mathbf { v } , \mathbf { c } )$ , such that $T ( \mathbf { v } , \mathbf { c } ) \sim p _ { \mathbf { v } }$ and $T ( \mathbf { v } , \bar { \mathbf { c } _ { 1 } } ) \bar { \neq } T ( \bar { \mathbf { v } } , \bar { \mathbf { c } _ { 2 } } )$ for some $\mathbf { v }$ and $\mathbf { c } _ { 1 } \neq \mathbf { c } _ { 2 }$ . For example, let us denote with $\mathbf { v } _ { 1 } \neq \mathbf { v } _ { 2 }$ two varying components such that $p _ { \mathbf { v } } ( \mathbf { v } _ { 1 } ) = p _ { \mathbf { v } } ( \mathbf { v } _ { 2 } )$ . Then, let
|
| 145 |
+
|
| 146 |
+
$$
|
| 147 |
+
T ( \mathbf { v } , \mathbf { c } ) \dot { = } \left\{ \begin{array} { l l } { \mathbf { v } } & { \mathrm { i f } \ \mathbf { v } \neq \mathbf { v } _ { 1 } , \mathbf { v } _ { 2 } } \\ { \mathbf { v } _ { 1 } } & { \mathrm { i f } \ \mathbf { v } = \mathbf { v } _ { 1 } \lor \mathbf { v } _ { 2 } \mathrm { a n d } \mathbf { c } \in \mathcal { C } } \\ { \mathbf { v } _ { 2 } } & { \mathrm { i f } \ \mathbf { v } = \mathbf { v } _ { 1 } \lor \mathbf { v } _ { 2 } \mathrm { a n d } \mathbf { c } \not \in \mathcal { C } } \end{array} \right.
|
| 148 |
+
$$
|
| 149 |
+
|
| 150 |
+
and $\mathcal { C }$ is a subset of the domain of $\mathbf { c }$ , where $\begin{array} { r } { \int _ { \mathcal { C } } p _ { \mathbf { c } } ( \mathbf { c } ) d \mathbf { c } = 1 / 2 } \end{array}$ . Now, let us define the encoder as $N _ { \mathbf { v } } ( f ( \mathbf { v } , \mathbf { c } ) ) = T ( \mathbf { v } , \mathbf { c } )$ . By using the autoencoder constraint, the decoder satisfies
|
| 151 |
+
|
| 152 |
+
$$
|
| 153 |
+
\operatorname { D e c } ( N _ { \mathbf { v } } ( f ( \mathbf { v } , \mathbf { c } ) ) , N _ { \mathbf { c } } ( f ( \mathbf { v } , \mathbf { c } ) ) ) = \operatorname { D e c } ( T ( \mathbf { v } , \mathbf { c } ) , \mathbf { c } ) = f ( \mathbf { v } , \mathbf { c } ) .
|
| 154 |
+
$$
|
| 155 |
+
|
| 156 |
+
Even though $T ( \mathbf { v } , \mathbf { c } )$ depends on $\mathbf { c }$ functionally, they are statistically independent. Because $T ( \mathbf { v } , \mathbf { c } ) \sim$ $p _ { \mathbf { v } }$ and $\mathbf { c } \sim p _ { \mathbf { c } }$ by construction, our encoder-decoder pair defines a data distribution identical to that given as training set
|
| 157 |
+
|
| 158 |
+
$$
|
| 159 |
+
\left[ \operatorname { D e c } ( T ( \mathbf { v } _ { 1 } , \mathbf { c } ) , \mathbf { c } ) , \operatorname { D e c } ( T ( \mathbf { v } _ { 2 } , \mathbf { c } ) , \mathbf { c } ) \right] \sim p _ { \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } } .
|
| 160 |
+
$$
|
| 161 |
+
|
| 162 |
+
The feature disentanglement property is not satisfied because $N _ { \mathbf { v } } ( f ( \mathbf { v } _ { 1 } , \mathbf { c } _ { 1 } ) ) ~ = ~ T ( \mathbf { v } _ { 1 } , \mathbf { c } _ { 1 } ) ~ \neq$ $T ( \mathbf { v } _ { 1 } , \mathbf { c } _ { 2 } ) \ = \ N _ { \mathbf { v } } ( f ( { \bar { \mathbf { v } } } _ { 1 } , \mathbf { c } _ { 2 } ) )$ , when $\mathbf { c } _ { 1 } ~ \in ~ { \mathcal { C } }$ and $\mathbf { c } _ { 2 } \notin \mathcal { C }$ . Similarly, the data disentanglement property does not hold, because $\mathrm { D e c } ( T ( \mathbf { v } _ { 1 } , \mathbf { c } _ { 1 } ) , \mathbf { c } _ { 1 } ) \neq \mathrm { D e c } ( T ( \mathbf { v } _ { 1 } , \mathbf { c } _ { 2 } ) , \mathbf { c } _ { 2 } )$ . □
|
| 163 |
+
|
| 164 |
+
The above proposition implies that we cannot provably disentangle all the factors of variation from weakly labeled data, even if we had access to all the data and knew the distributions $p _ { \mathbf { v } }$ and $p _ { \mathbf { c } }$ .
|
| 165 |
+
|
| 166 |
+
To better understand it, let us consider a practical example. Let $\mathbf { v } \sim \mathcal { U } [ - \pi , \pi ]$ be the (continuous) viewpoint (the azimuth angle) and $\mathbf { c } \sim B ( 0 . 5 )$ the car type, where $\mathcal { U }$ denotes the uniform distribution and $B ( 0 . 5 )$ the Bernoulli distribution with probability $p _ { \mathbf { c } } ( \mathbf { c } = 0 ) = p _ { \mathbf { c } } ( \mathbf { c } = 1 ) = 0 . 5$ (i.e., there are only 2 car types). In this case, every instance of $\mathbf { v }$ is iso-probable in $p _ { \mathbf { v } }$ so we have the worst scenario for the reference ambiguity. We can define the function $T ( \mathbf { v } , \mathbf { c } ) = \mathbf { v } ( 2 \mathbf { c } - 1 )$ so that the mapping of $\mathbf { v }$ is mirrored as we change the car type. By construction $T ( \mathbf { v } , \mathbf { c } ) \sim \mathcal { U } [ - \pi , \pi ]$ for any $\mathbf { c }$ and $T ( \mathbf { v } , \mathbf { c } _ { 1 } ) \neq T ( \mathbf { v } , \mathbf { c } _ { 2 } )$ for $\mathbf { v } \neq 0$ and $\mathbf { c } _ { 1 } \neq \mathbf { c } _ { 2 }$ . So we cannot tell the difference between $T$ and the ideal correct mapping to the viewpoint factor. This is equivalent to an encoder $N _ { \mathbf { v } } ( f ( \mathbf { v } , \mathbf { c } ) ) = T ( \mathbf { v } , \mathbf { c } )$ that reverses the ordering of the azimuth of car 1 with respect to car 0. Each car has its own reference system, and thus it is not possible to transfer the viewpoint from one system to the other, as it is illustrated in fig. 1.
|
| 167 |
+
|
| 168 |
+
# 3.4 IMPLEMENTATION
|
| 169 |
+
|
| 170 |
+
In our implementation we use convolutional neural networks for all the models. We denote with $\theta$ the parameters associated to each network. Then, the optimization of the composite loss can be written as
|
| 171 |
+
|
| 172 |
+
$$
|
| 173 |
+
\hat { \theta } _ { \mathrm { { D e c } } } , \hat { \theta } _ { \mathrm { { E n c } } } , \hat { \theta } _ { \mathrm { { D s c } } } = \arg \operatorname* { m i n } _ { \theta _ { \mathrm { { D e c } } } , \theta _ { \mathrm { { E n c } } } } \operatorname* { m a x } _ { \theta _ { \mathrm { { D s c } } } } \mathcal { L } ( \theta _ { \mathrm { { D e c } } } , \theta _ { \mathrm { { E n c } } } , \theta _ { \mathrm { { D s c } } } ) .
|
| 174 |
+
$$
|
| 175 |
+
|
| 176 |
+
We choose $\lambda = 1$ and also add regularization to the adversarial loss so that each logarithm has a minimum value. We define $\log _ { \epsilon } \bar { \mathrm { D s c } } ( \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } ) = \log ( \epsilon + \mathrm { D s c } ( \mathbf { x } _ { 1 } , \mathbf { x } _ { 2 } ) )$ (and similarly for the other logarithmic term) and use $\epsilon = 1 0 ^ { - 1 2 }$ . The main components of our neural network are shown in Fig. 2. The architecture of the encoder and the decoder were taken from DCGAN Radford et al. (2015), with slight modifications. We added fully connected layers at the output of the encoder and to the input of the decoder. For the discriminator we used a simplified version of the VGG Simonyan & Zisserman (2014) network. As the input to the discriminator is an image pair, we concatenate them along the color channels.
|
| 177 |
+
|
| 178 |
+
Normalization. In our architecture both the encoder and the decoder networks use blocks with a convolutional layer, a nonlinear activation function (ReLU/leaky ReLU) and a normalization layer, typically, batch normalization (BN). As an alternative to BN we consider the recently introduced instance normalization (IN) Ulyanov et al. (2017). The main difference between BN and IN is that the latter just computes the mean and standard deviation across the spatial domain of the input and not along the batch dimension. Thus, the shift and scaling for the output of each layer is the same at every iteration for the same input image. In practice, we find that IN improves the performance.
|
| 179 |
+
|
| 180 |
+
# 4 EXPERIMENTS
|
| 181 |
+
|
| 182 |
+
We tested our method on the MNIST, Sprites and ShapeNet datasets. We performed ablation studies on the shortcut problem using ShapeNet cars. We focused on the effect of the feature dimensionality and having the adversarial term $( \mathcal { L } _ { A E } + \mathcal { L } _ { G A N } )$ or not $( \mathcal { L } _ { A E } )$ . We also show that in most cases the reference ambiguity does not arise in practice (MNIST, Sprites, ShapeNet cars), we can only observe it when the data is more complex (ShapeNet chairs).
|
| 183 |
+
|
| 184 |
+

|
| 185 |
+
Figure 2: Learning to disentangle factors of variation. The scheme above shows how the encoder (Enc), the decoder (Dec) and the discriminator (Dsc) are trained with input triplets. The components with the same name share weights.
|
| 186 |
+
|
| 187 |
+
# 4.1 SHORTCUT PROBLEM
|
| 188 |
+
|
| 189 |
+
ShapeNet cars. The ShapeNet dataset Chang et al. (2015) contains 3D objects than we can render from different viewpoints. We consider only one category (cars) for a set of fixed viewpoints. Cars have high intraclass variability and they do not have rotational symmetries. We used approximately 3K car types for training and 300 for testing. We rendered 24 possible viewpoints around each object in a full circle, resulting in 80K images in total. The elevation was fixed to 15 degrees and azimuth angles were spaced 15 degrees apart. We normalized the size of the objects to fit in a $1 0 0 \times 1 0 0$ pixel bounding box, and placed it in the middle of a $1 2 8 \times 1 2 8$ pixel image.
|
| 190 |
+
|
| 191 |
+
Fig. 3 shows the attribute transfer on the Shapenet cars. We compare the methods $\mathcal { L } _ { A E }$ and $\mathcal { L } _ { A E } +$ $\mathcal { L } _ { G A N }$ with different feature dimension of $N _ { \mathbf { v } }$ . The size of the common feature $N _ { \mathbf { c } }$ was fixed to 1024 dimensions. We can observe that the transferring performance degrades for $\mathcal { L } _ { A E }$ , when we increase the feature size of $N _ { \mathbf { v } }$ . As expected, the autoencoder takes the shortcut and tries to store all information into $N _ { \mathbf { v } }$ . The model $\mathcal { L } _ { A E } + \mathcal { L } _ { G A N }$ instead renders images without loss of quality, independently of the feature dimension.
|
| 192 |
+
|
| 193 |
+

|
| 194 |
+
Figure 3: Feature transfer on Shapenet. (a) synthesized images with $\mathcal { L } _ { A E }$ , where the top row shows images from which the car type is taken. The second, third and fourth row show the decoder renderings using 2, 16 and 128 dimensions for the feature $N _ { \mathbf { v } }$ . (b) images synthesized with $\mathcal { L } _ { A E } + \mathcal { L } _ { G A N }$ . The setting for the inputs and feature dimensions are the same as in (a).
|
| 195 |
+
|
| 196 |
+
In Fig. 4 we visualize the t-SNE embeddings of the $N _ { \mathbf { v } }$ features for several models using different feature sizes. For the $2 D$ case, we do not modify the data. We can see that both $\mathcal { L } _ { A E }$ with 2 dimensions and $\mathcal { L } _ { A E } + \mathcal { L } _ { G A N }$ with 128 separate the viewpoints well, but $\mathcal { L } _ { A E }$ with 128 dimensions does not due to the shortcut problem. We investigate the effect of dimensionality of the $N _ { \mathbf { v } }$ features on the nearest neighbor classification task. The performance is measured by the mean average precision. For $N _ { \mathbf { v } }$ we use the viewpoint as ground truth. Fig. 4 also shows the results on $\mathcal { L } _ { A E }$ and $\mathcal { L } _ { A E } + \mathcal { L } _ { G A N }$ models with different $N _ { \mathbf { v } }$ feature dimensions. The dimension of $N _ { \mathbf { c } }$ was fixed to 1024 for this experiment. One can now see quantitatively that $\mathcal { L } _ { A E }$ is sensitive to the size of $N _ { \mathbf { v } }$ , while $\mathcal { L } _ { A E } + \mathcal { L } _ { G A N }$ is not. $\mathcal { L } _ { A E } + \mathcal { L } _ { G A N }$ also achieves a better performance.
|
| 197 |
+
|
| 198 |
+

|
| 199 |
+
Figure 4: The effect of dimensions and objective function on $N _ { v }$ features. (a), (b), (c) t-SNE embeddings on $N _ { \mathbf { v } }$ features. Colors correspond to the ground truth viewpoint. The objective functions and the $N _ { \mathbf { v } }$ dimensions are: (a) $\mathcal { L } _ { A E }$ 2 dim, (b) $\mathcal { L } _ { A E }$ 128 dim, (c) $\mathcal { L } _ { A E } + \mathcal { L } _ { G A N } \mathrm { ~ 1 ~ }$ 128 dim. (d) Mean average precision curves for the viewpoint prediction from the viewpoint feature using different models and dimensions for $N _ { \mathbf { v } }$ .
|
| 200 |
+
|
| 201 |
+
Table 1: Nearest neighbor classification on $N _ { \mathbf { v } }$ and $N _ { \mathbf { c } }$ features using different normalization techniques on ShapeNet cars.
|
| 202 |
+
|
| 203 |
+
<table><tr><td>Normalization</td><td>Nv mAP</td><td>Nc mAP</td></tr><tr><td>None</td><td>0.47</td><td>0.13</td></tr><tr><td>Batch</td><td>0.50</td><td>0.08</td></tr><tr><td>Instance</td><td>0.50</td><td>0.20</td></tr></table>
|
| 204 |
+
|
| 205 |
+
We compare the different normalization choices in Table 1. We evaluate the case when batch, instance and no normalization are used and compute the performance on the nearest neighbor classification task. We fixed the feature dimensions at 1024 for both $N _ { \mathbf { v } }$ and $N _ { \mathbf { c } }$ features in all normalization cases. We can see that both batch and instance normalization perform equally well on viewpoint classification and no normalization is slightly worse. For the car type classification instance normalization is clearly better.
|
| 206 |
+
|
| 207 |
+
# 4.2 REFERENCE AMBIGUITY
|
| 208 |
+
|
| 209 |
+
MNIST. The MNIST dataset LeCun et al. (1998) contains handwritten grayscale digits of size $2 8 \times 2 8$ pixel. There are 60K images of 10 classes for training and 10K for testing. The common factor is the digit class and the varying factor is the intraclass variation. We take image pairs that have the same digit for training, and use our full model $\mathcal { L } _ { A E } + \mathcal { L } _ { G A N }$ with dimensions 64 for $N _ { \mathbf { v } }$ and 64 for $N _ { \mathbf { c } }$ . In Fig. 5 (a) and (b) we show the transfer of varying factors. Qualitatively, both our method and Mathieu et al. (2016) perform well. We observe neither the reference ambiguity nor the shortcut problem in this case.
|
| 210 |
+
|
| 211 |
+

|
| 212 |
+
Figure 5: Renderings of transferred features. In all figures the variable factor is transferred from the left column and the common factor from the top row. (a) MNIST Mathieu et al. (2016); (b) MNIST (ours); (c) Sprites Mathieu et al. (2016); (d) Sprites (ours).
|
| 213 |
+
|
| 214 |
+

|
| 215 |
+
Figure 6: Attribute transfer on ShapeNet. For both subfigures the viewpoint is taken from the leftmost column and the car/chair type is taken from the first row. (a) Cars: the factors are transferred correctly. (b) Chairs: in the bottom three rows the viewpoint is not transferred correctly due to the reference ambiguity.
|
| 216 |
+
|
| 217 |
+
Sprites. The Sprites dataset Reed et al. (2015) contains 60 pixel color images of animated characters (sprites). There are 672 sprites, 500 for training, 100 for testing and 72 for validation. Each sprite has 20 animations and 178 images, so the full dataset has 120K images in total. There are many changes in the appearance of the sprites, they differ in their body shape, gender, hair, armour, arm type, greaves, and weapon. We consider character identity as the common factor and the pose as the varying factor. We train our system using image pairs of the same sprite and do not exploit labels on their pose. We train the $\mathcal { L } _ { A E } + \mathcal { L } _ { G A N }$ model with dimensions 64 for $N _ { \mathbf { v } }$ and 448 for $N _ { \mathbf { c } }$ . Fig. 5 (c) and (d) show results on the attribute transfer task. Both our method and Mathieu et al. (2016)’s transfer the identity of the sprites correctly, the reference ambiguity does not arise.
|
| 218 |
+
|
| 219 |
+
ShapeNet chairs. We render the ShapeNet chairs with the same settings (viewpoints, image size) as the cars. There are 3500 chair types for training and 3200 for testing, so the dataset contains 160K images. We trained $\mathcal { L } _ { A E } + \mathcal { L } _ { G A N }$ , and set the feature dimensions to 1024 for both $N _ { \mathbf { v } }$ and $N _ { \mathbf { c } }$ . In Fig. 6 we show results on attribute transfer and compare it with ShapeNet cars. We found that the reference ambiguity does not emerge for cars, but it does for chairs, possibly due to the higher complexity, as cars have much less variability than chairs.
|
| 220 |
+
|
| 221 |
+
# 5 CONCLUSIONS
|
| 222 |
+
|
| 223 |
+
In this paper we studied the challenges of disentangling factors of variation, mainly the shortcut problem and the reference ambiguity. The shortcut problem occurs when all information is stored in only one feature chunk, while the other is ignored. The reference ambiguity means that the reference in which a factor is interpreted, may depend on other factors. This makes the attribute transfer ambiguous. We introduced a novel training of autoencoders to solve disentangling using image triplets. We showed theoretically and experimentally how to keep the shortcut problem under control through adversarial training, and enable to use large feature dimensions. We proved that the reference ambiguity is inherently present in the disentangling task when weak labels are used. Most importantly this can be stated independently of the learning algorithm. We demonstrated that training and transfer of factors of variation may not be guaranteed. However, in practice we observe that our trained model works well on many datasets and exhibits good generalization capabilities.
|
| 224 |
+
|
| 225 |
+
# REFERENCES
|
| 226 |
+
|
| 227 |
+
Yoshua Bengio, Aaron Courville, and Pascal Vincent. Representation learning: A review and new perspectives. IEEE transactions on pattern analysis and machine intelligence, 35(8):1798–1828, 2013.
|
| 228 |
+
|
| 229 |
+
Hervé Bourlard and Yves Kamp. Auto-association by multilayer perceptrons and singular value decomposition. Biological cybernetics, 59(4):291–294, 1988.
|
| 230 |
+
Angel X. Chang, Thomas Funkhouser, Leonidas Guibas, Pat Hanrahan, Qixing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, Jianxiong Xiao, Li Yi, and Fisher Yu. ShapeNet: An Information-Rich 3D Model Repository. Technical Report arXiv:1512.03012 [cs.GR], 2015.
|
| 231 |
+
Xi Chen, Yan Duan, Rein Houthooft, John Schulman, Ilya Sutskever, and Pieter Abbeel. Infogan: Interpretable representation learning by information maximizing generative adversarial nets. In NIPS, 2016.
|
| 232 |
+
Brian Cheung, Jesse A Livezey, Arjun K Bansal, and Bruno A Olshausen. Discovering hidden factors of variation in deep networks. arXiv:1412.6583, 2014.
|
| 233 |
+
Jeff Donahue, Philipp Krähenbühl, and Trevor Darrell. Adversarial feature learning. arXiv:1605.09782, 2016.
|
| 234 |
+
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, 2014.
|
| 235 |
+
Geoffrey E Hinton and Ruslan R Salakhutdinov. Reducing the dimensionality of data with neural networks. Science, 313(5786):504–507, 2006.
|
| 236 |
+
Geoffrey E Hinton, Alex Krizhevsky, and Sida D Wang. Transforming auto-encoders. In International Conference on Artificial Neural Networks, pp. 44–51. Springer, 2011.
|
| 237 |
+
Diederik P Kingma and Max Welling. Auto-encoding variational bayes. In ICLR, 2014.
|
| 238 |
+
Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
|
| 239 |
+
Ming-Yu Liu and Oncel Tuzel. Coupled generative adversarial networks. In Advances in Neural Information Processing Systems, pp. 469–477, 2016.
|
| 240 |
+
Christos Louizos, Kevin Swersky, Yujia Li, Max Welling, and Richard Zemel. The variational fair autoencoder. In ICLR, 2016.
|
| 241 |
+
Michael F Mathieu, Junbo Jake Zhao, Junbo Zhao, Aditya Ramesh, Pablo Sprechmann, and Yann LeCun. Disentangling factors of variation in deep representation using adversarial training. In Advances in Neural Information Processing Systems, pp. 5041–5049, 2016.
|
| 242 |
+
Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv:1511.06434, 2015.
|
| 243 |
+
Scott Reed, Kihyuk Sohn, Yuting Zhang, and Honglak Lee. Learning to disentangle factors of variation with manifold interaction. In Proceedings of the 31st International Conference on Machine Learning (ICML-14), pp. 1431–1439, 2014.
|
| 244 |
+
Scott E Reed, Yi Zhang, Yuting Zhang, and Honglak Lee. Deep visual analogy-making. In Advances in Neural Information Processing Systems, pp. 1252–1260, 2015.
|
| 245 |
+
Zhixin Shu, Ersin Yumer, Sunil Hadap, Kalyan Sunkavalli, Eli Shechtman, and Dimitris Samaras. Neural face editing with intrinsic image disentangling. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017.
|
| 246 |
+
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
|
| 247 |
+
Luan Tran, Xi Yin, and Xiaoming Liu. Disentangled representation learning gan for pose-invariant face recognition. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017.
|
| 248 |
+
Dmitry Ulyanov, Andrea Vedaldi, and Victor S. Lempitsky. Improved texture networks: Maximizing quality and diversity in feed-forward stylization and texture synthesis. In CVPR, 2017.
|
| 249 |
+
Kihyuk Sohn Dimitris Metaxas Manmohan Chandraker Xi Peng, Xiang Yu. Reconstruction for feature disentanglement in pose-invariant face recognition. arXiv:1702.03041, 2017.
|
| 250 |
+
Jimei Yang, Scott E Reed, Ming-Hsuan Yang, and Honglak Lee. Weakly-supervised disentangling with recurrent transformations for 3d view synthesis. In NIPS, 2015.
|
parse/train/SkmiegW0b/SkmiegW0b_content_list.json
ADDED
|
@@ -0,0 +1,1155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "CHALLENGES IN DISENTANGLING INDEPENDENT FAC-TORS OF VARIATION",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
826,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
170,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "We study the problem of building models that disentangle independent factors of variation. Such models encode features that can efficiently be used for classification and to transfer attributes between different images in image synthesis. As data we use a weakly labeled training set, where labels indicate what single factor has changed between two data samples, although the relative value of the change is unknown. This labeling is of particular interest as it may be readily available without annotation costs. We introduce an autoencoder model and train it through constraints on image pairs and triplets. We show the role of feature dimensionality and adversarial training theoretically and experimentally. We formally prove the existence of the reference ambiguity, which is inherently present in the disentangling task when weakly labeled data is used. The numerical value of a factor has different meaning in different reference frames. When the reference depends on other factors, transferring that factor becomes ambiguous. We demonstrate experimentally that the proposed model can successfully transfer attributes on several datasets, but show also cases when the reference ambiguity occurs. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
266,
|
| 43 |
+
766,
|
| 44 |
+
474
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
502,
|
| 55 |
+
336,
|
| 56 |
+
517
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "One way to simplify the problem of classifying or regressing attributes of interest from data is to build an intermediate representation, a feature, where the information about the attributes is better separated than in the input data. Better separation means that some entries of the feature vary only with respect to one and only one attribute. In this way, classifiers and regressors would not need to build invariance to many nuisance attributes. Instead, they could devote more capacity to discriminating the attributes of interest, and possibly achieve better performance. We call this task disentangling factors of variation, and we identify attributes with the factors. In addition to facilitating classification and regression, this task is beneficial to image synthesis. One could build a model to render images, where each input varies only one attribute of the output, and to transfer attributes between images. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
532,
|
| 66 |
+
825,
|
| 67 |
+
659
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "When labeling is possible and available, supervised learning can be used to solve this task. In general, however, some attributes may not be easily quantifiable (e.g., style). Therefore, we consider using weak labeling, where we only know what attribute has changed between two images, although we do not know by how much. This type of labeling may be readily available in many cases without manual annotation. For example, image pairs from a stereo system are automatically labeled with a viewpoint change, albeit unknown. A practical model that can learn from these labels is an encoder-decoder pair subject to a reconstruction constraint. In this model the weak labels can be used to define similarities between subsets of the feature obtained from two input images. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
665,
|
| 77 |
+
825,
|
| 78 |
+
776
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "We introduce a novel adversarial training of autoencoders to solve the disentangling task when only weak labels are available. Compared to previous methods, our discriminator is not conditioned on class labels, but takes image pairs as inputs. This way the number of parameters can be kept constant. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
176,
|
| 87 |
+
784,
|
| 88 |
+
825,
|
| 89 |
+
825
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "We describe the shortcut problem, where all the the information is encoded only in one part of the feature, while other part is completely ignored, as fig. 1 illustrates. We prove our method solves this problem and demonstrate it experimentally. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
176,
|
| 98 |
+
833,
|
| 99 |
+
825,
|
| 100 |
+
875
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "We formally prove existence of the reference ambiguity, that is inherently present in the disentangling task when weak labels are used. Thus no algorithm can provably learn disentangling. As fig. 1 shows, the reference ambiguity means that a factor (for example viewpoint) can have different meaning when using a different reference frame that depends on another factor (for example car type). We show experimentally that this ambiguity rarely arise, we can observe it only when the data is complex. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
176,
|
| 109 |
+
882,
|
| 110 |
+
825,
|
| 111 |
+
924
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "",
|
| 118 |
+
"bbox": [
|
| 119 |
+
171,
|
| 120 |
+
103,
|
| 121 |
+
825,
|
| 122 |
+
132
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "image",
|
| 128 |
+
"img_path": "images/fded6d23f694cb78ea35bd328451d6c6df4a13df4ab823b7f12b98e6e7a12b42.jpg",
|
| 129 |
+
"image_caption": [
|
| 130 |
+
"Figure 1: Challenges of disentangling. We disentangle the feature into two parts, one representing the viewpoint, the other the car type. We use the features for attribute transfer. For all subfigures the viewpoint feature is taken from the leftmost column and the car type feature is taken from the topmost row. (a) ideal solution: the viewpoint and the car type are transferred correctly. (b) shortcut problem: the car type is not transferred. (c) reference ambiguity: compared to the others the viewpoint orientation is flipped for the blue car. "
|
| 131 |
+
],
|
| 132 |
+
"image_footnote": [],
|
| 133 |
+
"bbox": [
|
| 134 |
+
223,
|
| 135 |
+
148,
|
| 136 |
+
774,
|
| 137 |
+
292
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "2 RELATED WORK ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
176,
|
| 147 |
+
419,
|
| 148 |
+
341,
|
| 149 |
+
435
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "Autoencoders. Autoencoders in Bourlard & Kamp (1988), Hinton & Salakhutdinov (2006), Bengio et al. (2013) learn to reconstruct the input data as $\\mathbf { x } = \\mathrm { D e c } ( \\mathrm { E n c } ( \\mathbf { x } ) )$ , where $\\operatorname { E n c } ( \\mathbf { x } )$ is the internal image representation (the encoder) and Dec (the decoder) reconstructs the input of the encoder. Variational autoencoders in Kingma & Welling (2014) use a generative model; $p ( \\bar { \\mathbf { x } } , \\mathbf { z } ) = p ( \\mathbf { x } | \\mathbf { z } ) p ( \\mathbf { z } )$ , where $\\mathbf { x }$ is the observed data (images), and $\\mathbf { z }$ are latent variables. The encoder estimates the parameters of the posterior, $\\operatorname { E n c } ( \\mathbf { x } ) = p ( \\mathbf { z } | \\mathbf { x } )$ , and the decoder estimates the conditional likelihood, $\\mathrm { D e c } ( \\mathbf { z } ) = p ( \\mathbf { x } | \\mathbf { z } )$ . In Hinton et al. (2011) autoencoders are trained with transformed image input pairs. The relative transformation parameters are also fed to the network. Because the internal representation explicitly represents the objects presence and location, the network can learn their absolute position. One important aspect of the autoencoders is that they encourage latent representations to keep as much information about the input as possible. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
173,
|
| 158 |
+
450,
|
| 159 |
+
826,
|
| 160 |
+
604
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "GAN. Generative Adversarial Nets Goodfellow et al. (2014) learn to sample realistic images with two competing neural networks. The generator Dec creates images $\\mathbf { x } = \\mathrm { D e c } ( \\mathbf { z } )$ from a random noise sample $\\mathbf { z }$ and tries to fool a discriminator Dsc, which has to decide whether the image is sampled from the generator $p _ { g }$ or from real images $p _ { r e a l }$ . After a successful training the discriminator cannot distinguish the real from the generated samples. Adversarial training is often used to enforce constraints on random variables. BIGAN, Donahue et al. (2016) learns a feature representation with adversarial nets by training an encoder Enc, such that $\\operatorname { E n c } ( \\mathbf { x } )$ is Gaussian, when $\\mathbf { x } \\sim p _ { r e a l }$ . CoGAN, Liu & Tuzel (2016) learns the joint distribution of multi-domain images by having generators and discriminators in each domain, and sharing their weights. They can transform images between domains without being given correspondences. InfoGan, Chen et al. (2016) learns a subset of factors of variation by reproducing parts of the input vector with the discriminator. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
173,
|
| 169 |
+
611,
|
| 170 |
+
825,
|
| 171 |
+
763
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "Disentangling and independence. Many recent methods use neural networks for disentangling features, with various degrees of supervision. In Xi Peng (2017) multi-task learning is used with full supervision for pose invariant face recognition. Using both identity and pose labels Tran et al. (2017) can learn pose invariant features and synthesize frontalized faces from any pose. In Yang et al. (2015) autoencoders are used to generate novel viewpoints of objects. They disentangle the object category factor from the viewpoint factor by using as explicit supervision signals: the relative viewpoint transformations between image pairs. In Cheung et al. (2014) the output of the encoder is split in two parts: one represents the class label and the other represents the nuisance factors. Their objective function has a penalty term for misclassification and a cross-covariance cost to disentangle class from nuisance factors. Hierarchical Boltzmann Machines are used in Reed et al. (2014) for disentangling. A subset of hidden units are trained to be sensitive to a specific factor of variation, while being invariant to others. Variational Fair Autoencoders Louizos et al. (2016) learn a representation that is invariant to specific nuisance factors, while retaining as much information as possible. Autoencoders can also be used for visual analogy Reed et al. (2015). GAN is used for disentangling intrinsic image factors (albedo and normal map) in Shu et al. (2017) without using ground truth labeling. They achieve this by explicitly modeling the physics of the image formation in their network. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
771,
|
| 181 |
+
825,
|
| 182 |
+
924
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
103,
|
| 192 |
+
823,
|
| 193 |
+
174
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "The work most related to ours is Mathieu et al. (2016), where an autoencoder restores an image from another by swapping parts of the internal image representation. Their main improvement over Reed et al. (2015) is the use of adversarial training, which allows for learning with image pairs instead of image triplets. Therefore, expensive labels like viewpoint alignment between different car types are no longer needed. One of the differences between this method and ours is that it trains a discriminator for each of the given labels. A benefit of this approach is the higher selectivity of the discriminator, but a drawback is that the number of model parameters grows linearly with the number of labels. In contrast, we work with image pairs and use a single discriminator so that our method is uninfluenced by the number of labels. Moreover, we show formally and experimentally the difficulties of disentangling factors of variation. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
180,
|
| 203 |
+
825,
|
| 204 |
+
319
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 2
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "3 DISENTANGLING FACTORS OF VARIATION ",
|
| 211 |
+
"text_level": 1,
|
| 212 |
+
"bbox": [
|
| 213 |
+
174,
|
| 214 |
+
340,
|
| 215 |
+
549,
|
| 216 |
+
356
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "We are interested in the design and training of two models. One should map a data sample (e.g., an image) to a feature that is explicitly partitioned into subvectors, each associated to a specific factor of variation. The other model should map this feature back to an image. We call the first model the encoder and the second model the decoder. For example, given the image of a car we would like the encoder to yield a feature with two subvectors: one related to the car viewpoint, and the other related to the car type. The subvectors of the feature obtained from the encoder should be useful for classification or regression of the corresponding factor that they depend on (the car viewpoint and type in the example). This separation would also be very useful to the decoder. It would enable advanced editing of images, for example, the transfer of the viewpoint or car types from an image to another, by swapping the corresponding subvectors. Next, we introduce our model of the data and formal definitions of our encoder and decoder. ",
|
| 223 |
+
"bbox": [
|
| 224 |
+
174,
|
| 225 |
+
369,
|
| 226 |
+
825,
|
| 227 |
+
523
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "Data model. We assume that our observed data $\\mathbf { x }$ is generated through some unknown deterministic invertible and smooth process $f$ that depends on the factors $\\mathbf { v }$ and $\\mathbf { c }$ , so that $\\mathbf { x } = f ( \\mathbf { v } , \\mathbf { c } )$ . In our earlier example, $\\mathbf { x }$ is an image, $\\mathbf { v }$ is a viewpoint, c is a car type, and $f$ is the rendering engine. It is reasonable to assume that $f$ is invertible, as for most cases the factors are readily apparent form the image. We assume $f$ is smooth, because a small change in the factors should only result in a small change in the image and vice versa. We denote the inverse of the rendering engine as $f ^ { - 1 } = [ f _ { \\mathbf { v } } ^ { - 1 } , f _ { \\mathbf { c } } ^ { - 1 } ]$ , where the subscript refers to the recovered factor. ",
|
| 234 |
+
"bbox": [
|
| 235 |
+
173,
|
| 236 |
+
531,
|
| 237 |
+
825,
|
| 238 |
+
628
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 2
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "Weak labeling. In the training we are given pairs of images $\\mathbf { x } _ { 1 }$ and $\\mathbf { x } _ { 2 }$ , where they differ in $\\mathbf { v }$ (varying factor), but they have the same c (common factor). We also assume that the two varying factors and the common factor are sampled independently, $\\mathbf { v } _ { 1 } \\sim p _ { \\mathbf { v } }$ , $\\mathbf { v } _ { 2 } \\sim p _ { \\mathbf { v } }$ and $\\mathbf { c } \\sim p _ { \\mathbf { c } }$ . The images are generated as $\\mathbf { x } _ { 1 } = f ( \\mathbf { v } _ { 1 } , \\mathbf { c } )$ and $\\mathbf { x } _ { 1 } = f ( \\mathbf { v } _ { 2 } , \\mathbf { c } )$ . We call this labeling weak, because we do not know the absolute values of either the $\\mathbf { v }$ or c factors or even relative changes between $\\mathbf { v } _ { 1 }$ and $\\mathbf { v } _ { 2 }$ . All we know is that the image pairs share the same common factor. ",
|
| 245 |
+
"bbox": [
|
| 246 |
+
173,
|
| 247 |
+
635,
|
| 248 |
+
825,
|
| 249 |
+
719
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 2
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "The encoder. Let Enc be the encoder mapping images to features. For simplicity, we consider features split into only two column subvectors, $N _ { \\mathbf { v } }$ and $N _ { \\mathbf { c } }$ , one associated to the varying factor $\\mathbf { v }$ and the other associated to the common factor c. Then, we have that $\\mathrm { E n c } ( \\mathbf { x } ) = [ N _ { \\mathbf { v } } ( \\mathbf { x } ) , \\bar { N _ { \\mathbf { c } } } ( \\mathbf { x } ) ]$ . Ideally, we would like to find the inverse of the image formation function, $[ N _ { \\bf v } , N _ { \\bf c } ] = f ^ { - 1 }$ , which separates and recovers the factors $\\mathbf { v }$ and $\\mathbf { c }$ from data samples $\\mathbf { x }$ , i.e., ",
|
| 256 |
+
"bbox": [
|
| 257 |
+
173,
|
| 258 |
+
724,
|
| 259 |
+
825,
|
| 260 |
+
795
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 2
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "equation",
|
| 266 |
+
"img_path": "images/f05d5a8c8d2a1d069976f7a15f58c01103a8388f9b9b200d56c1872194d14df2.jpg",
|
| 267 |
+
"text": "$$\nN _ { \\mathbf { v } } ( f ( \\mathbf { v } , \\mathbf { c } ) ) = \\mathbf { v } \\qquad N _ { \\mathbf { c } } ( f ( \\mathbf { v } , \\mathbf { c } ) ) = \\mathbf { c } .\n$$",
|
| 268 |
+
"text_format": "latex",
|
| 269 |
+
"bbox": [
|
| 270 |
+
366,
|
| 271 |
+
801,
|
| 272 |
+
632,
|
| 273 |
+
819
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 2
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "In practice, this is not possible because any bijective transformation of $\\mathbf { v }$ and c could be undone by $f$ and produce the same output $\\mathbf { x }$ . Therefore, we aim for $N _ { \\mathbf { v } }$ and $N _ { \\mathbf { c } }$ that satisfy the following feature disentangling properties ",
|
| 280 |
+
"bbox": [
|
| 281 |
+
174,
|
| 282 |
+
824,
|
| 283 |
+
825,
|
| 284 |
+
867
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 2
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "equation",
|
| 290 |
+
"img_path": "images/229e09169a1617310ada564c46542252b122f24e4909b120d447fffe62bf8b90.jpg",
|
| 291 |
+
"text": "$$\nR _ { \\mathbf { v } } ( N _ { \\mathbf { v } } ( f ( \\mathbf { v } , \\mathbf { c } ) ) ) = \\mathbf { v } \\qquad R _ { \\mathbf { c } } ( N _ { \\mathbf { c } } ( f ( \\mathbf { v } , \\mathbf { c } ) ) ) = \\mathbf { c }\n$$",
|
| 292 |
+
"text_format": "latex",
|
| 293 |
+
"bbox": [
|
| 294 |
+
334,
|
| 295 |
+
872,
|
| 296 |
+
663,
|
| 297 |
+
890
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 2
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "text",
|
| 303 |
+
"text": "for all $\\mathbf { v } , \\mathbf { c }$ , and for some bijective functions $R _ { \\mathbf { v } }$ and $R _ { \\mathbf { c } }$ , so that $N _ { \\mathbf { v } }$ is invariant to $\\mathbf { c }$ and $N _ { \\mathbf { c } }$ is invariant to $\\mathbf { v }$ . ",
|
| 304 |
+
"bbox": [
|
| 305 |
+
173,
|
| 306 |
+
895,
|
| 307 |
+
825,
|
| 308 |
+
924
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 2
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "The decoder. Let Dec be the decoder mapping features to images. The sequence encoder-decoder is constrained to form an autoencoder, so ",
|
| 315 |
+
"bbox": [
|
| 316 |
+
173,
|
| 317 |
+
103,
|
| 318 |
+
823,
|
| 319 |
+
132
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 3
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "equation",
|
| 325 |
+
"img_path": "images/bf06ce5db3f7455eea29b0e5dcee4161bdc1360ef3b9becbb352a1a666eb8a8d.jpg",
|
| 326 |
+
"text": "$$\n\\mathrm { D e c } ( N _ { \\mathbf { v } } ( { \\mathbf { x } } ) , N _ { \\mathbf { c } } ( { \\mathbf { x } } ) ) = { \\mathbf { x } } , \\qquad \\forall { \\mathbf { x } } .\n$$",
|
| 327 |
+
"text_format": "latex",
|
| 328 |
+
"bbox": [
|
| 329 |
+
382,
|
| 330 |
+
136,
|
| 331 |
+
616,
|
| 332 |
+
154
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 3
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "text",
|
| 338 |
+
"text": "To use the decoder for image synthesis, so that each input subvector affects only one factor in the rendered image, the ideal decoder should satisfy the data disentangling property ",
|
| 339 |
+
"bbox": [
|
| 340 |
+
171,
|
| 341 |
+
159,
|
| 342 |
+
823,
|
| 343 |
+
186
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 3
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "equation",
|
| 349 |
+
"img_path": "images/917cc8fd290a28a204e30435cdee2a4200eedc267530b0945e3be26d05c615eb.jpg",
|
| 350 |
+
"text": "$$\n\\mathrm { D e c } ( N _ { \\mathbf { v } } ( f ( \\mathbf { v } _ { 1 } , \\mathbf { c } _ { 1 } ) ) , N _ { \\mathbf { c } } ( f ( \\mathbf { v } _ { 2 } , \\mathbf { c } _ { 2 } ) ) ) = f ( \\mathbf { v } _ { 1 } , \\mathbf { c } _ { 2 } )\n$$",
|
| 351 |
+
"text_format": "latex",
|
| 352 |
+
"bbox": [
|
| 353 |
+
334,
|
| 354 |
+
190,
|
| 355 |
+
663,
|
| 356 |
+
208
|
| 357 |
+
],
|
| 358 |
+
"page_idx": 3
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"type": "text",
|
| 362 |
+
"text": "for any $\\mathbf { v } _ { 1 } , \\mathbf { v } _ { 2 } , \\mathbf { c } _ { 1 }$ , and $\\mathbf { c } _ { 2 }$ . The equation above describes the transfer of the varying factor $\\mathbf { v } _ { 1 }$ of $\\mathbf { x } _ { 1 }$ and the common factor $\\mathbf { c } _ { 2 }$ of $\\mathbf { x } _ { 2 }$ to a new image ${ \\bf x } _ { 1 \\oplus 2 } = f ( { \\bf v } _ { 1 } , { \\bf c } _ { 2 } )$ . ",
|
| 363 |
+
"bbox": [
|
| 364 |
+
176,
|
| 365 |
+
212,
|
| 366 |
+
821,
|
| 367 |
+
242
|
| 368 |
+
],
|
| 369 |
+
"page_idx": 3
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"type": "text",
|
| 373 |
+
"text": "In the next section we describe our training method for disentangling. We introduce a novel adversarial term, that does not need to be conditioned on the common factor, rather it uses only image pairs, that keeps the model parameters constant. Then we address the two main challenges of disentangling, the shortcut problem and the reference ambiguity. We discuss which disentanglement properties can be (provably) achieved by our (or any) method. ",
|
| 374 |
+
"bbox": [
|
| 375 |
+
173,
|
| 376 |
+
247,
|
| 377 |
+
825,
|
| 378 |
+
318
|
| 379 |
+
],
|
| 380 |
+
"page_idx": 3
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"type": "text",
|
| 384 |
+
"text": "3.1 MODEL TRAINING ",
|
| 385 |
+
"text_level": 1,
|
| 386 |
+
"bbox": [
|
| 387 |
+
174,
|
| 388 |
+
334,
|
| 389 |
+
341,
|
| 390 |
+
348
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "In our training procedure we use two terms in the objective function: an autoencoder loss and an adversarial loss. We describe these losses in functional form, however the components are implemented using neural networks. In all our terms we use the following sampling of independent factors ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
173,
|
| 399 |
+
359,
|
| 400 |
+
825,
|
| 401 |
+
415
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 3
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "equation",
|
| 407 |
+
"img_path": "images/8cf7d20c2f999ca2f57e5412d13d36f48a19c78074f065d60b49938e9aa5cb05.jpg",
|
| 408 |
+
"text": "$$\n\\mathbf { c } _ { 1 } , \\mathbf { c } _ { 3 } \\sim p _ { \\mathbf { c } } , \\quad \\mathbf { v } _ { 1 } , \\mathbf { v } _ { 2 } , \\mathbf { v } _ { 3 } \\sim p _ { \\mathbf { v } } .\n$$",
|
| 409 |
+
"text_format": "latex",
|
| 410 |
+
"bbox": [
|
| 411 |
+
392,
|
| 412 |
+
424,
|
| 413 |
+
606,
|
| 414 |
+
438
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 3
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "text",
|
| 420 |
+
"text": "The images are formed as $\\mathbf { x } _ { 1 } = f ( \\mathbf { v } _ { 1 } , \\mathbf { c } _ { 1 } )$ , $\\mathbf { x } _ { 2 } = f ( \\mathbf { v } _ { 2 } , \\mathbf { c } _ { 1 } )$ and $\\mathbf { x } _ { 3 } = f ( \\mathbf { v } _ { 3 } , \\mathbf { c } _ { 3 } )$ . The images $\\mathbf { x } _ { 1 }$ and $\\mathbf { x } _ { 2 }$ share the same common factor, and $\\mathbf { x } _ { 1 }$ and $\\mathbf { x } _ { 3 }$ are independent. In our objective functions, we use either pairs or triplets of the above images. ",
|
| 421 |
+
"bbox": [
|
| 422 |
+
176,
|
| 423 |
+
441,
|
| 424 |
+
826,
|
| 425 |
+
484
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 3
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "text",
|
| 431 |
+
"text": "Autoencoder loss. In this term, we use images $\\mathbf { x } _ { 1 }$ and $\\mathbf { x } _ { 2 }$ with the same common factor $\\mathbf { c } _ { 1 }$ . We feed both images to the encoder. Since both images share the same $\\mathbf { c } _ { 1 }$ , we impose that the decoder should reconstruct $\\mathbf { x } _ { 1 }$ from the encoder subvector $N _ { \\mathbf { v } } ( \\mathbf { x } _ { 1 } )$ and the encoder subvector $N _ { \\mathbf { c } } ( \\mathbf { x } _ { 2 } )$ , and similarly for the reconstruction of $\\mathbf { x } _ { 2 }$ . The autoencoder objective is thus defined as ",
|
| 432 |
+
"bbox": [
|
| 433 |
+
173,
|
| 434 |
+
491,
|
| 435 |
+
825,
|
| 436 |
+
546
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 3
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "equation",
|
| 442 |
+
"img_path": "images/d198eac559418e416a222cd5c4ae34b398fd38aa7b97356827fd1a0c9091aea2.jpg",
|
| 443 |
+
"text": "$$\n\\mathcal { L } _ { A E } \\doteq E _ { \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } } \\left[ \\left| \\mathbf { x } _ { 1 } - \\mathrm { D e c } ( N _ { \\mathbf { v } } ( \\mathbf { x } _ { 1 } ) , N _ { \\mathbf { c } } ( \\mathbf { x } _ { 2 } ) ) \\right| ^ { 2 } + \\left| \\mathbf { x } _ { 2 } - \\mathrm { D e c } ( N _ { \\mathbf { v } } ( \\mathbf { x } _ { 2 } ) , N _ { \\mathbf { c } } ( \\mathbf { x } _ { 1 } ) ) \\right| ^ { 2 } \\right] .\n$$",
|
| 444 |
+
"text_format": "latex",
|
| 445 |
+
"bbox": [
|
| 446 |
+
223,
|
| 447 |
+
551,
|
| 448 |
+
774,
|
| 449 |
+
578
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 3
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "Adversarial loss. We introduce an adversarial training where the generator is our encoder-decoder pair and the discriminator Dsc is a neural network, which takes image pairs as input. The discriminator learns to distinguish between real image pairs $[ \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } ]$ and fake ones $[ \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 3 \\oplus 1 } ]$ , where $\\mathbf { x } _ { 3 \\oplus 1 } \\doteq$ $\\mathrm { D e c } ( N _ { \\mathbf { v } } ( \\mathbf { x } _ { 3 } ) , N _ { \\mathbf { c } } ( \\mathbf { x } _ { 1 } ) )$ . If the encoder were ideal, the image $\\mathbf { x } _ { \\mathrm { 3 \\oplus 1 } }$ would be the result of taking the common factor from $\\mathbf { x } _ { 1 }$ and the varying factor from $\\mathbf { x } _ { 3 }$ . The generator learns to fool the discriminator, so that $\\mathbf { x } _ { 3 \\oplus 1 }$ looks like the random variable $\\mathbf { x } _ { 2 }$ (the common factor is $\\mathbf { c } _ { 1 }$ and the varying factor is independent of $\\mathbf { v } _ { 1 }$ ). To this purpose, the decoder must make use of $N _ { \\mathbf { c } } ( \\mathbf { x } _ { 1 } )$ , since $\\mathbf { x } _ { 3 }$ does not carry any information about $\\mathbf { c } _ { 1 }$ . The objective function is thus defined as ",
|
| 456 |
+
"bbox": [
|
| 457 |
+
173,
|
| 458 |
+
588,
|
| 459 |
+
825,
|
| 460 |
+
700
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 3
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "equation",
|
| 466 |
+
"img_path": "images/0254827e2494ad8529a8f04663895c6a092faf37fe1509920e8ab46b652ebb25.jpg",
|
| 467 |
+
"text": "$$\n\\mathcal { L } _ { G A N } \\doteq E _ { \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } } \\Big [ \\log ( \\mathrm { D s c } ( \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } ) ) \\Big ] + E _ { \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 3 } } \\Big [ \\log ( 1 - \\mathrm { D s c } ( \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 3 \\oplus 1 } ) ) \\Big ] .\n$$",
|
| 468 |
+
"text_format": "latex",
|
| 469 |
+
"bbox": [
|
| 470 |
+
253,
|
| 471 |
+
704,
|
| 472 |
+
745,
|
| 473 |
+
732
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 3
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "Composite loss. Finally, we optimize the weighted sum of the two losses $\\mathcal { L } = \\mathcal { L } _ { A E } + \\lambda \\mathcal { L } _ { G A N }$ ",
|
| 480 |
+
"bbox": [
|
| 481 |
+
176,
|
| 482 |
+
742,
|
| 483 |
+
803,
|
| 484 |
+
758
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 3
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "equation",
|
| 490 |
+
"img_path": "images/522327b33c38fe4c3ca69b99c16c2158b35bd3c55f4562d00489d3bde72d2042.jpg",
|
| 491 |
+
"text": "$$\n\\operatorname* { m i n } _ { \\mathrm { D e c , E n c } } \\operatorname* { m a x } _ { \\mathrm { D s c } } \\mathcal { L } _ { A E } ( \\mathrm { D e c , E n c } ) + \\lambda \\mathcal { L } _ { G A N } ( \\mathrm { D e c , E n c , D s c } )\n$$",
|
| 492 |
+
"text_format": "latex",
|
| 493 |
+
"bbox": [
|
| 494 |
+
318,
|
| 495 |
+
762,
|
| 496 |
+
679,
|
| 497 |
+
785
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 3
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "text",
|
| 503 |
+
"text": "where $\\lambda$ regulates the relative importance of the two losses. ",
|
| 504 |
+
"bbox": [
|
| 505 |
+
171,
|
| 506 |
+
790,
|
| 507 |
+
562,
|
| 508 |
+
805
|
| 509 |
+
],
|
| 510 |
+
"page_idx": 3
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"type": "text",
|
| 514 |
+
"text": "3.2 SHORTCUT PROBLEM. ",
|
| 515 |
+
"text_level": 1,
|
| 516 |
+
"bbox": [
|
| 517 |
+
176,
|
| 518 |
+
821,
|
| 519 |
+
366,
|
| 520 |
+
837
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 3
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"text": "Ideally, at the global minimum of $\\mathcal { L } _ { A E }$ , $N _ { \\mathbf { v } }$ relates only to the factor $\\mathbf { v }$ and $N _ { \\mathbf { c } }$ only to c. However, the encoder may map a complete description of its input into $N _ { \\mathbf { v } }$ and the decoder may completely ignore $N _ { \\mathbf { c } }$ . We call this challenge the shortcut problem. When the shortcut problem occurs, the decoder is invariant to its second input, so it does not transfer the $\\mathbf { c }$ factor correctly, ",
|
| 527 |
+
"bbox": [
|
| 528 |
+
173,
|
| 529 |
+
847,
|
| 530 |
+
825,
|
| 531 |
+
904
|
| 532 |
+
],
|
| 533 |
+
"page_idx": 3
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "equation",
|
| 537 |
+
"img_path": "images/7d0078287b4a15239b3b5a8df7d67055394d89138ef884e274c71c9292c0de05.jpg",
|
| 538 |
+
"text": "$$\n\\mathrm { D e c } ( N _ { \\mathbf { v } } ( { \\mathbf { x } } _ { 3 } ) , N _ { \\mathbf { c } } ( { \\mathbf { x } } _ { 1 } ) ) = { \\mathbf { x } } _ { 3 } .\n$$",
|
| 539 |
+
"text_format": "latex",
|
| 540 |
+
"bbox": [
|
| 541 |
+
383,
|
| 542 |
+
907,
|
| 543 |
+
580,
|
| 544 |
+
925
|
| 545 |
+
],
|
| 546 |
+
"page_idx": 3
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "text",
|
| 550 |
+
"text": "The shortcut problem can be addressed by reducing the dimensionality of $N _ { \\mathbf { v } }$ , so it cannot build a complete representation of all input images. This also forces the encoder and decoder to make use of $N _ { \\mathbf { c } }$ for the common factor. However, this strategy may not be convenient as it leads to a time consuming trial-and-error procedure to find the correct dimensionality. A better way to address the shortcut problem is to use adversarial training (7) (8). ",
|
| 551 |
+
"bbox": [
|
| 552 |
+
173,
|
| 553 |
+
103,
|
| 554 |
+
825,
|
| 555 |
+
174
|
| 556 |
+
],
|
| 557 |
+
"page_idx": 4
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "text",
|
| 561 |
+
"text": "Proposition 1. Let $\\mathbf { x } _ { 1 }$ , $\\mathbf { x } _ { 2 }$ and $\\mathbf { x } _ { 3 }$ data samples generated according to (5), where the factors $\\mathbf { c } _ { 1 } , \\mathbf { c } _ { 3 } , \\mathbf { v } _ { 1 } , \\mathbf { v } _ { 2 } , \\mathbf { v } _ { 3 }$ are jointly independent, and $\\mathbf { x } _ { 3 \\oplus 1 } \\doteq D e c ( N _ { \\mathbf { v } } ( \\mathbf { x } _ { 3 } ) , N _ { \\mathbf { c } } ( \\mathbf { x } _ { 1 } ) )$ . When the global optimum of the composite loss (8) is reached, the c factor is transferred to $\\mathbf { x } _ { \\mathrm { 3 \\oplus 1 } }$ , i.e. $f _ { \\mathbf { c } } ^ { - 1 } ( \\mathbf { x } _ { 3 \\oplus 1 } ) = \\mathbf { c } _ { 1 }$ ",
|
| 562 |
+
"bbox": [
|
| 563 |
+
173,
|
| 564 |
+
178,
|
| 565 |
+
823,
|
| 566 |
+
220
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 4
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"text": "Proof. When the global optimum of (8) is reached, the distribution of real $\\left[ \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } \\right]$ and fake $[ \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 3 \\oplus 1 } ]$ image pairs are identical. We compute statistics of the inverse of the rendering engine of the common factor $\\bar { f } _ { \\mathbf { c } } ^ { - 1 }$ on the data. For the images $\\mathbf { x } _ { 1 }$ and $\\mathbf { x } _ { 2 }$ we obtain ",
|
| 573 |
+
"bbox": [
|
| 574 |
+
173,
|
| 575 |
+
234,
|
| 576 |
+
825,
|
| 577 |
+
279
|
| 578 |
+
],
|
| 579 |
+
"page_idx": 4
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "equation",
|
| 583 |
+
"img_path": "images/d63503b72bdcbc84bb8b5313db9996fceb9c0fa3e4cf33136f2453fd2527a5bc.jpg",
|
| 584 |
+
"text": "$$\n\\begin{array} { r } { { E } _ { \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } } \\Big [ | f _ { \\mathbf { c } } ^ { - 1 } ( \\mathbf { x } _ { 1 } ) - f _ { \\mathbf { c } } ^ { - 1 } ( \\mathbf { x } _ { 2 } ) | ^ { 2 } \\Big ] = { E } _ { \\mathbf { c } _ { 1 } } \\Big [ | \\mathbf { c } _ { 1 } - \\mathbf { c } _ { 1 } | ^ { 2 } \\Big ] = 0 } \\end{array}\n$$",
|
| 585 |
+
"text_format": "latex",
|
| 586 |
+
"bbox": [
|
| 587 |
+
310,
|
| 588 |
+
284,
|
| 589 |
+
687,
|
| 590 |
+
311
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 4
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "by construction (of $\\mathbf { x } _ { 1 }$ and $\\mathbf { x } _ { 2 }$ ). For the images $\\mathbf { x } _ { 1 }$ and $\\mathbf { x } _ { \\mathrm { 3 \\oplus 1 } }$ we obtain ",
|
| 597 |
+
"bbox": [
|
| 598 |
+
171,
|
| 599 |
+
315,
|
| 600 |
+
637,
|
| 601 |
+
332
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 4
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "equation",
|
| 607 |
+
"img_path": "images/8ef50f6da86620ea7ff42242fee4dd9d0a38fbc043dc1de97b3292a81bcda76b.jpg",
|
| 608 |
+
"text": "$$\n\\begin{array} { r } { E _ { \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 3 } } \\Big [ | f _ { \\mathbf { c } } ^ { - 1 } ( \\mathbf { x } _ { 1 } ) - f _ { \\mathbf { c } } ^ { - 1 } ( \\mathbf { x } _ { 3 \\oplus 1 } ) | ^ { 2 } \\Big ] = E _ { \\mathbf { v } _ { 1 } , \\mathbf { c } _ { 1 } , \\mathbf { v } _ { 3 } , \\mathbf { c } _ { 3 } } \\Big [ | \\mathbf { c } _ { 1 } - \\mathbf { c } _ { 3 \\oplus 1 } | ^ { 2 } \\Big ] \\geq 0 , } \\end{array}\n$$",
|
| 609 |
+
"text_format": "latex",
|
| 610 |
+
"bbox": [
|
| 611 |
+
266,
|
| 612 |
+
337,
|
| 613 |
+
730,
|
| 614 |
+
364
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 4
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "where ${ \\bf c } _ { 3 \\oplus 1 } = f _ { \\bf c } ^ { - 1 } ( { \\bf x } _ { 3 \\oplus 1 } )$ . We achieve equality if and only if $\\mathbf { c } _ { 1 } = \\mathbf { c } _ { 3 \\oplus 1 }$ everywhere. ",
|
| 621 |
+
"bbox": [
|
| 622 |
+
174,
|
| 623 |
+
371,
|
| 624 |
+
732,
|
| 625 |
+
387
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 4
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "3.3 REFERENCE AMBIGUITY ",
|
| 632 |
+
"text_level": 1,
|
| 633 |
+
"bbox": [
|
| 634 |
+
174,
|
| 635 |
+
402,
|
| 636 |
+
383,
|
| 637 |
+
416
|
| 638 |
+
],
|
| 639 |
+
"page_idx": 4
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"type": "text",
|
| 643 |
+
"text": "Let us consider the ideal case where we observe the space of all images. When weak labels are made available to us, we also know what images $\\mathbf { x } _ { 1 }$ and $\\mathbf { x } _ { 2 }$ share the same c factor (for example, which images have the same car). This labeling is equivalent to defining the probability density function $p _ { \\mathbf { c } }$ and the joint conditional $\\displaystyle p _ { { \\mathbf { x } } _ { 1 } , { \\mathbf { x } } _ { 2 } | { \\mathbf { c } } }$ , where ",
|
| 644 |
+
"bbox": [
|
| 645 |
+
174,
|
| 646 |
+
428,
|
| 647 |
+
823,
|
| 648 |
+
486
|
| 649 |
+
],
|
| 650 |
+
"page_idx": 4
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"type": "equation",
|
| 654 |
+
"img_path": "images/c5c10d21f164dc958f0ae014970750e9436e47bd027d67fbf3d27aa4f8cc5a22.jpg",
|
| 655 |
+
"text": "$$\np _ { \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } | \\mathbf { c } } ( \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } | \\mathbf { c } ) = \\int \\delta ( \\mathbf { x } _ { 1 } - f ( \\mathbf { v } _ { 1 } , \\mathbf { c } ) ) \\delta ( \\mathbf { x } _ { 2 } - f ( \\mathbf { v } _ { 2 } , \\mathbf { c } ) ) p ( \\mathbf { v } _ { 1 } ) p ( \\mathbf { v } _ { 2 } ) d \\mathbf { v } _ { 1 } d \\mathbf { v } _ { 2 } .\n$$",
|
| 656 |
+
"text_format": "latex",
|
| 657 |
+
"bbox": [
|
| 658 |
+
238,
|
| 659 |
+
492,
|
| 660 |
+
759,
|
| 661 |
+
525
|
| 662 |
+
],
|
| 663 |
+
"page_idx": 4
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"type": "text",
|
| 667 |
+
"text": "Firstly, we show that the labeling allows us to satisfy the feature disentangling property for $\\mathbf { c }$ (2). For any $[ \\mathbf { \\dot { x } } _ { 1 } , \\mathbf { x } _ { 2 } ] \\sim p _ { \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } | \\mathbf { c } }$ we impose $N _ { \\mathbf { c } } ( \\mathbf { x } _ { 1 } ) = N _ { \\mathbf { c } } ( \\mathbf { x } _ { 2 } )$ . In particular, this equation is true for pairs when one of the two images is held fixed. Thus, a function $C ( \\mathbf { c } ) = N _ { \\mathbf { c } } ( \\mathbf { x } _ { 1 } )$ can be defined, where the $C$ only depends on c, because $N _ { \\mathbf { c } }$ is invariant to $\\mathbf { v }$ . Lastly, images with the same $\\mathbf { v }$ , but different c must also result in different features, $C ( \\mathbf { c } _ { 1 } ) = N _ { \\mathbf { v } } ( f ( \\mathbf { v } , \\mathbf { c } _ { 1 } ) ) \\neq N _ { \\mathbf { v } } ( \\mathbf { v } , \\mathbf { c } _ { 2 } ) = C ( \\mathbf { c } _ { 2 } )$ , otherwise the autoencoder constraint (3) cannot be satisfied. Then, there exists a bijective function $\\dot { R } _ { \\bf c } = { C } ^ { - 1 }$ such that property (2) is satisfied for c. Unfortunately the other disentangling properties can not provably be satisfied. ",
|
| 668 |
+
"bbox": [
|
| 669 |
+
173,
|
| 670 |
+
530,
|
| 671 |
+
825,
|
| 672 |
+
643
|
| 673 |
+
],
|
| 674 |
+
"page_idx": 4
|
| 675 |
+
},
|
| 676 |
+
{
|
| 677 |
+
"type": "text",
|
| 678 |
+
"text": "Definition 1. A function $g$ reproduces the data distribution, when it generates samples $\\mathbf { y } _ { 1 } = g ( \\mathbf { v } _ { 1 } , \\mathbf { c } )$ and $\\mathbf { y } _ { 2 } = g ( \\mathbf { v } _ { 2 } , \\mathbf { c } )$ that have the same distribution as the data. Formally, $[ \\mathbf { y } _ { 1 } , \\mathbf { y } _ { 2 } ] \\sim p _ { \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } }$ , where the latent factors are independent, $\\mathbf { v } _ { 1 } \\sim p _ { \\mathbf { v } }$ , $\\mathbf { v } _ { 2 } \\sim p _ { \\mathbf { v } }$ and $\\mathbf { c } \\sim p _ { \\mathbf { c } }$ . ",
|
| 679 |
+
"bbox": [
|
| 680 |
+
174,
|
| 681 |
+
647,
|
| 682 |
+
825,
|
| 683 |
+
690
|
| 684 |
+
],
|
| 685 |
+
"page_idx": 4
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"type": "text",
|
| 689 |
+
"text": "The reference ambiguity occurs, when a decoder reproduces the data without satisfying the disentangling properties. ",
|
| 690 |
+
"bbox": [
|
| 691 |
+
174,
|
| 692 |
+
700,
|
| 693 |
+
823,
|
| 694 |
+
729
|
| 695 |
+
],
|
| 696 |
+
"page_idx": 4
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"type": "text",
|
| 700 |
+
"text": "Proposition 2. Let $p _ { \\mathbf { v } }$ assign the same probability value to at least two different instances of v. Then, we can find encoders that reproduce the data distribution, but do not satisfy the disentangling properties for v in (2) and (4). ",
|
| 701 |
+
"bbox": [
|
| 702 |
+
173,
|
| 703 |
+
733,
|
| 704 |
+
825,
|
| 705 |
+
776
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 4
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "text",
|
| 711 |
+
"text": "Proof. We already saw that $N _ { \\mathbf { c } }$ satisfies (2), so we can choose $N _ { \\mathbf { c } } = f _ { \\mathbf { c } } ^ { - 1 }$ , the inverse of the rendering engine. Now we look at defining $N _ { \\mathbf { v } }$ and the decoder. The iso-probability property of $p _ { \\mathbf { v } }$ implies that there exists a mapping $T ( \\mathbf { v } , \\mathbf { c } )$ , such that $T ( \\mathbf { v } , \\mathbf { c } ) \\sim p _ { \\mathbf { v } }$ and $T ( \\mathbf { v } , \\bar { \\mathbf { c } _ { 1 } } ) \\bar { \\neq } T ( \\bar { \\mathbf { v } } , \\bar { \\mathbf { c } _ { 2 } } )$ for some $\\mathbf { v }$ and $\\mathbf { c } _ { 1 } \\neq \\mathbf { c } _ { 2 }$ . For example, let us denote with $\\mathbf { v } _ { 1 } \\neq \\mathbf { v } _ { 2 }$ two varying components such that $p _ { \\mathbf { v } } ( \\mathbf { v } _ { 1 } ) = p _ { \\mathbf { v } } ( \\mathbf { v } _ { 2 } )$ . Then, let ",
|
| 712 |
+
"bbox": [
|
| 713 |
+
173,
|
| 714 |
+
790,
|
| 715 |
+
825,
|
| 716 |
+
862
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 4
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "equation",
|
| 722 |
+
"img_path": "images/bb4ae1e763a78a1dae1156e86bc9cd8f148c155f09fc90d3857031b049127b49.jpg",
|
| 723 |
+
"text": "$$\nT ( \\mathbf { v } , \\mathbf { c } ) \\dot { = } \\left\\{ \\begin{array} { l l } { \\mathbf { v } } & { \\mathrm { i f } \\ \\mathbf { v } \\neq \\mathbf { v } _ { 1 } , \\mathbf { v } _ { 2 } } \\\\ { \\mathbf { v } _ { 1 } } & { \\mathrm { i f } \\ \\mathbf { v } = \\mathbf { v } _ { 1 } \\lor \\mathbf { v } _ { 2 } \\mathrm { a n d } \\mathbf { c } \\in \\mathcal { C } } \\\\ { \\mathbf { v } _ { 2 } } & { \\mathrm { i f } \\ \\mathbf { v } = \\mathbf { v } _ { 1 } \\lor \\mathbf { v } _ { 2 } \\mathrm { a n d } \\mathbf { c } \\not \\in \\mathcal { C } } \\end{array} \\right.\n$$",
|
| 724 |
+
"text_format": "latex",
|
| 725 |
+
"bbox": [
|
| 726 |
+
351,
|
| 727 |
+
869,
|
| 728 |
+
647,
|
| 729 |
+
921
|
| 730 |
+
],
|
| 731 |
+
"page_idx": 4
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"type": "text",
|
| 735 |
+
"text": "and $\\mathcal { C }$ is a subset of the domain of $\\mathbf { c }$ , where $\\begin{array} { r } { \\int _ { \\mathcal { C } } p _ { \\mathbf { c } } ( \\mathbf { c } ) d \\mathbf { c } = 1 / 2 } \\end{array}$ . Now, let us define the encoder as $N _ { \\mathbf { v } } ( f ( \\mathbf { v } , \\mathbf { c } ) ) = T ( \\mathbf { v } , \\mathbf { c } )$ . By using the autoencoder constraint, the decoder satisfies ",
|
| 736 |
+
"bbox": [
|
| 737 |
+
169,
|
| 738 |
+
102,
|
| 739 |
+
823,
|
| 740 |
+
133
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 5
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "equation",
|
| 746 |
+
"img_path": "images/54a73ddb2a2bc6d4404212dd98ca2cbb4232243f51a7f880456ef26805957772.jpg",
|
| 747 |
+
"text": "$$\n\\operatorname { D e c } ( N _ { \\mathbf { v } } ( f ( \\mathbf { v } , \\mathbf { c } ) ) , N _ { \\mathbf { c } } ( f ( \\mathbf { v } , \\mathbf { c } ) ) ) = \\operatorname { D e c } ( T ( \\mathbf { v } , \\mathbf { c } ) , \\mathbf { c } ) = f ( \\mathbf { v } , \\mathbf { c } ) .\n$$",
|
| 748 |
+
"text_format": "latex",
|
| 749 |
+
"bbox": [
|
| 750 |
+
290,
|
| 751 |
+
138,
|
| 752 |
+
705,
|
| 753 |
+
156
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 5
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "Even though $T ( \\mathbf { v } , \\mathbf { c } )$ depends on $\\mathbf { c }$ functionally, they are statistically independent. Because $T ( \\mathbf { v } , \\mathbf { c } ) \\sim$ $p _ { \\mathbf { v } }$ and $\\mathbf { c } \\sim p _ { \\mathbf { c } }$ by construction, our encoder-decoder pair defines a data distribution identical to that given as training set ",
|
| 760 |
+
"bbox": [
|
| 761 |
+
173,
|
| 762 |
+
161,
|
| 763 |
+
825,
|
| 764 |
+
204
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 5
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "equation",
|
| 770 |
+
"img_path": "images/f6bcda88538e042aaccb0e9ecdcfead5aed1204c01d813be25799d45cf17aefe.jpg",
|
| 771 |
+
"text": "$$\n\\left[ \\operatorname { D e c } ( T ( \\mathbf { v } _ { 1 } , \\mathbf { c } ) , \\mathbf { c } ) , \\operatorname { D e c } ( T ( \\mathbf { v } _ { 2 } , \\mathbf { c } ) , \\mathbf { c } ) \\right] \\sim p _ { \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } } .\n$$",
|
| 772 |
+
"text_format": "latex",
|
| 773 |
+
"bbox": [
|
| 774 |
+
343,
|
| 775 |
+
209,
|
| 776 |
+
653,
|
| 777 |
+
227
|
| 778 |
+
],
|
| 779 |
+
"page_idx": 5
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "text",
|
| 783 |
+
"text": "The feature disentanglement property is not satisfied because $N _ { \\mathbf { v } } ( f ( \\mathbf { v } _ { 1 } , \\mathbf { c } _ { 1 } ) ) ~ = ~ T ( \\mathbf { v } _ { 1 } , \\mathbf { c } _ { 1 } ) ~ \\neq$ $T ( \\mathbf { v } _ { 1 } , \\mathbf { c } _ { 2 } ) \\ = \\ N _ { \\mathbf { v } } ( f ( { \\bar { \\mathbf { v } } } _ { 1 } , \\mathbf { c } _ { 2 } ) )$ , when $\\mathbf { c } _ { 1 } ~ \\in ~ { \\mathcal { C } }$ and $\\mathbf { c } _ { 2 } \\notin \\mathcal { C }$ . Similarly, the data disentanglement property does not hold, because $\\mathrm { D e c } ( T ( \\mathbf { v } _ { 1 } , \\mathbf { c } _ { 1 } ) , \\mathbf { c } _ { 1 } ) \\neq \\mathrm { D e c } ( T ( \\mathbf { v } _ { 1 } , \\mathbf { c } _ { 2 } ) , \\mathbf { c } _ { 2 } )$ . □ ",
|
| 784 |
+
"bbox": [
|
| 785 |
+
174,
|
| 786 |
+
231,
|
| 787 |
+
825,
|
| 788 |
+
275
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 5
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "text",
|
| 794 |
+
"text": "The above proposition implies that we cannot provably disentangle all the factors of variation from weakly labeled data, even if we had access to all the data and knew the distributions $p _ { \\mathbf { v } }$ and $p _ { \\mathbf { c } }$ . ",
|
| 795 |
+
"bbox": [
|
| 796 |
+
173,
|
| 797 |
+
289,
|
| 798 |
+
823,
|
| 799 |
+
318
|
| 800 |
+
],
|
| 801 |
+
"page_idx": 5
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "text",
|
| 805 |
+
"text": "To better understand it, let us consider a practical example. Let $\\mathbf { v } \\sim \\mathcal { U } [ - \\pi , \\pi ]$ be the (continuous) viewpoint (the azimuth angle) and $\\mathbf { c } \\sim B ( 0 . 5 )$ the car type, where $\\mathcal { U }$ denotes the uniform distribution and $B ( 0 . 5 )$ the Bernoulli distribution with probability $p _ { \\mathbf { c } } ( \\mathbf { c } = 0 ) = p _ { \\mathbf { c } } ( \\mathbf { c } = 1 ) = 0 . 5$ (i.e., there are only 2 car types). In this case, every instance of $\\mathbf { v }$ is iso-probable in $p _ { \\mathbf { v } }$ so we have the worst scenario for the reference ambiguity. We can define the function $T ( \\mathbf { v } , \\mathbf { c } ) = \\mathbf { v } ( 2 \\mathbf { c } - 1 )$ so that the mapping of $\\mathbf { v }$ is mirrored as we change the car type. By construction $T ( \\mathbf { v } , \\mathbf { c } ) \\sim \\mathcal { U } [ - \\pi , \\pi ]$ for any $\\mathbf { c }$ and $T ( \\mathbf { v } , \\mathbf { c } _ { 1 } ) \\neq T ( \\mathbf { v } , \\mathbf { c } _ { 2 } )$ for $\\mathbf { v } \\neq 0$ and $\\mathbf { c } _ { 1 } \\neq \\mathbf { c } _ { 2 }$ . So we cannot tell the difference between $T$ and the ideal correct mapping to the viewpoint factor. This is equivalent to an encoder $N _ { \\mathbf { v } } ( f ( \\mathbf { v } , \\mathbf { c } ) ) = T ( \\mathbf { v } , \\mathbf { c } )$ that reverses the ordering of the azimuth of car 1 with respect to car 0. Each car has its own reference system, and thus it is not possible to transfer the viewpoint from one system to the other, as it is illustrated in fig. 1. ",
|
| 806 |
+
"bbox": [
|
| 807 |
+
173,
|
| 808 |
+
324,
|
| 809 |
+
825,
|
| 810 |
+
478
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 5
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "text",
|
| 816 |
+
"text": "3.4 IMPLEMENTATION ",
|
| 817 |
+
"text_level": 1,
|
| 818 |
+
"bbox": [
|
| 819 |
+
174,
|
| 820 |
+
494,
|
| 821 |
+
341,
|
| 822 |
+
508
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 5
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "In our implementation we use convolutional neural networks for all the models. We denote with $\\theta$ the parameters associated to each network. Then, the optimization of the composite loss can be written as ",
|
| 829 |
+
"bbox": [
|
| 830 |
+
174,
|
| 831 |
+
520,
|
| 832 |
+
823,
|
| 833 |
+
549
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 5
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "equation",
|
| 839 |
+
"img_path": "images/ad8a7a239b6e53b3ca59924edbecb1c1d2d6c239f4721fbd445add5e1ca1471a.jpg",
|
| 840 |
+
"text": "$$\n\\hat { \\theta } _ { \\mathrm { { D e c } } } , \\hat { \\theta } _ { \\mathrm { { E n c } } } , \\hat { \\theta } _ { \\mathrm { { D s c } } } = \\arg \\operatorname* { m i n } _ { \\theta _ { \\mathrm { { D e c } } } , \\theta _ { \\mathrm { { E n c } } } } \\operatorname* { m a x } _ { \\theta _ { \\mathrm { { D s c } } } } \\mathcal { L } ( \\theta _ { \\mathrm { { D e c } } } , \\theta _ { \\mathrm { { E n c } } } , \\theta _ { \\mathrm { { D s c } } } ) .\n$$",
|
| 841 |
+
"text_format": "latex",
|
| 842 |
+
"bbox": [
|
| 843 |
+
325,
|
| 844 |
+
554,
|
| 845 |
+
673,
|
| 846 |
+
582
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 5
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "text",
|
| 852 |
+
"text": "We choose $\\lambda = 1$ and also add regularization to the adversarial loss so that each logarithm has a minimum value. We define $\\log _ { \\epsilon } \\bar { \\mathrm { D s c } } ( \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } ) = \\log ( \\epsilon + \\mathrm { D s c } ( \\mathbf { x } _ { 1 } , \\mathbf { x } _ { 2 } ) )$ (and similarly for the other logarithmic term) and use $\\epsilon = 1 0 ^ { - 1 2 }$ . The main components of our neural network are shown in Fig. 2. The architecture of the encoder and the decoder were taken from DCGAN Radford et al. (2015), with slight modifications. We added fully connected layers at the output of the encoder and to the input of the decoder. For the discriminator we used a simplified version of the VGG Simonyan & Zisserman (2014) network. As the input to the discriminator is an image pair, we concatenate them along the color channels. ",
|
| 853 |
+
"bbox": [
|
| 854 |
+
173,
|
| 855 |
+
585,
|
| 856 |
+
825,
|
| 857 |
+
698
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 5
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "text",
|
| 863 |
+
"text": "Normalization. In our architecture both the encoder and the decoder networks use blocks with a convolutional layer, a nonlinear activation function (ReLU/leaky ReLU) and a normalization layer, typically, batch normalization (BN). As an alternative to BN we consider the recently introduced instance normalization (IN) Ulyanov et al. (2017). The main difference between BN and IN is that the latter just computes the mean and standard deviation across the spatial domain of the input and not along the batch dimension. Thus, the shift and scaling for the output of each layer is the same at every iteration for the same input image. In practice, we find that IN improves the performance. ",
|
| 864 |
+
"bbox": [
|
| 865 |
+
173,
|
| 866 |
+
704,
|
| 867 |
+
825,
|
| 868 |
+
803
|
| 869 |
+
],
|
| 870 |
+
"page_idx": 5
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"type": "text",
|
| 874 |
+
"text": "4 EXPERIMENTS ",
|
| 875 |
+
"text_level": 1,
|
| 876 |
+
"bbox": [
|
| 877 |
+
176,
|
| 878 |
+
821,
|
| 879 |
+
326,
|
| 880 |
+
838
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 5
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "text",
|
| 886 |
+
"text": "We tested our method on the MNIST, Sprites and ShapeNet datasets. We performed ablation studies on the shortcut problem using ShapeNet cars. We focused on the effect of the feature dimensionality and having the adversarial term $( \\mathcal { L } _ { A E } + \\mathcal { L } _ { G A N } )$ or not $( \\mathcal { L } _ { A E } )$ . We also show that in most cases the reference ambiguity does not arise in practice (MNIST, Sprites, ShapeNet cars), we can only observe it when the data is more complex (ShapeNet chairs). ",
|
| 887 |
+
"bbox": [
|
| 888 |
+
174,
|
| 889 |
+
853,
|
| 890 |
+
825,
|
| 891 |
+
924
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 5
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "image",
|
| 897 |
+
"img_path": "images/90a0f2e4ff16668ce677bfd81f19be4a9e730377fbd5bbdf49085baa9daeb981.jpg",
|
| 898 |
+
"image_caption": [
|
| 899 |
+
"Figure 2: Learning to disentangle factors of variation. The scheme above shows how the encoder (Enc), the decoder (Dec) and the discriminator (Dsc) are trained with input triplets. The components with the same name share weights. "
|
| 900 |
+
],
|
| 901 |
+
"image_footnote": [],
|
| 902 |
+
"bbox": [
|
| 903 |
+
354,
|
| 904 |
+
101,
|
| 905 |
+
643,
|
| 906 |
+
285
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 6
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "text",
|
| 912 |
+
"text": "4.1 SHORTCUT PROBLEM ",
|
| 913 |
+
"text_level": 1,
|
| 914 |
+
"bbox": [
|
| 915 |
+
176,
|
| 916 |
+
376,
|
| 917 |
+
361,
|
| 918 |
+
390
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 6
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "text",
|
| 924 |
+
"text": "ShapeNet cars. The ShapeNet dataset Chang et al. (2015) contains 3D objects than we can render from different viewpoints. We consider only one category (cars) for a set of fixed viewpoints. Cars have high intraclass variability and they do not have rotational symmetries. We used approximately 3K car types for training and 300 for testing. We rendered 24 possible viewpoints around each object in a full circle, resulting in 80K images in total. The elevation was fixed to 15 degrees and azimuth angles were spaced 15 degrees apart. We normalized the size of the objects to fit in a $1 0 0 \\times 1 0 0$ pixel bounding box, and placed it in the middle of a $1 2 8 \\times 1 2 8$ pixel image. ",
|
| 925 |
+
"bbox": [
|
| 926 |
+
173,
|
| 927 |
+
404,
|
| 928 |
+
825,
|
| 929 |
+
502
|
| 930 |
+
],
|
| 931 |
+
"page_idx": 6
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"type": "text",
|
| 935 |
+
"text": "Fig. 3 shows the attribute transfer on the Shapenet cars. We compare the methods $\\mathcal { L } _ { A E }$ and $\\mathcal { L } _ { A E } +$ $\\mathcal { L } _ { G A N }$ with different feature dimension of $N _ { \\mathbf { v } }$ . The size of the common feature $N _ { \\mathbf { c } }$ was fixed to 1024 dimensions. We can observe that the transferring performance degrades for $\\mathcal { L } _ { A E }$ , when we increase the feature size of $N _ { \\mathbf { v } }$ . As expected, the autoencoder takes the shortcut and tries to store all information into $N _ { \\mathbf { v } }$ . The model $\\mathcal { L } _ { A E } + \\mathcal { L } _ { G A N }$ instead renders images without loss of quality, independently of the feature dimension. ",
|
| 936 |
+
"bbox": [
|
| 937 |
+
173,
|
| 938 |
+
508,
|
| 939 |
+
826,
|
| 940 |
+
593
|
| 941 |
+
],
|
| 942 |
+
"page_idx": 6
|
| 943 |
+
},
|
| 944 |
+
{
|
| 945 |
+
"type": "image",
|
| 946 |
+
"img_path": "images/5c12b702322a9c6bbc47ab8de3e5581a0bb893cfe305a9a1e478823279c0c10d.jpg",
|
| 947 |
+
"image_caption": [
|
| 948 |
+
"Figure 3: Feature transfer on Shapenet. (a) synthesized images with $\\mathcal { L } _ { A E }$ , where the top row shows images from which the car type is taken. The second, third and fourth row show the decoder renderings using 2, 16 and 128 dimensions for the feature $N _ { \\mathbf { v } }$ . (b) images synthesized with $\\mathcal { L } _ { A E } + \\mathcal { L } _ { G A N }$ . The setting for the inputs and feature dimensions are the same as in (a). "
|
| 949 |
+
],
|
| 950 |
+
"image_footnote": [],
|
| 951 |
+
"bbox": [
|
| 952 |
+
186,
|
| 953 |
+
609,
|
| 954 |
+
812,
|
| 955 |
+
738
|
| 956 |
+
],
|
| 957 |
+
"page_idx": 6
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"type": "text",
|
| 961 |
+
"text": "In Fig. 4 we visualize the t-SNE embeddings of the $N _ { \\mathbf { v } }$ features for several models using different feature sizes. For the $2 D$ case, we do not modify the data. We can see that both $\\mathcal { L } _ { A E }$ with 2 dimensions and $\\mathcal { L } _ { A E } + \\mathcal { L } _ { G A N }$ with 128 separate the viewpoints well, but $\\mathcal { L } _ { A E }$ with 128 dimensions does not due to the shortcut problem. We investigate the effect of dimensionality of the $N _ { \\mathbf { v } }$ features on the nearest neighbor classification task. The performance is measured by the mean average precision. For $N _ { \\mathbf { v } }$ we use the viewpoint as ground truth. Fig. 4 also shows the results on $\\mathcal { L } _ { A E }$ and $\\mathcal { L } _ { A E } + \\mathcal { L } _ { G A N }$ models with different $N _ { \\mathbf { v } }$ feature dimensions. The dimension of $N _ { \\mathbf { c } }$ was fixed to 1024 for this experiment. One can now see quantitatively that $\\mathcal { L } _ { A E }$ is sensitive to the size of $N _ { \\mathbf { v } }$ , while $\\mathcal { L } _ { A E } + \\mathcal { L } _ { G A N }$ is not. $\\mathcal { L } _ { A E } + \\mathcal { L } _ { G A N }$ also achieves a better performance. ",
|
| 962 |
+
"bbox": [
|
| 963 |
+
173,
|
| 964 |
+
825,
|
| 965 |
+
825,
|
| 966 |
+
924
|
| 967 |
+
],
|
| 968 |
+
"page_idx": 6
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "image",
|
| 972 |
+
"img_path": "images/682c15c0ae852d517b1ac69b302654a800de4fd0f02c77d85fbeaeb17fe5a1ca.jpg",
|
| 973 |
+
"image_caption": [
|
| 974 |
+
"Figure 4: The effect of dimensions and objective function on $N _ { v }$ features. (a), (b), (c) t-SNE embeddings on $N _ { \\mathbf { v } }$ features. Colors correspond to the ground truth viewpoint. The objective functions and the $N _ { \\mathbf { v } }$ dimensions are: (a) $\\mathcal { L } _ { A E }$ 2 dim, (b) $\\mathcal { L } _ { A E }$ 128 dim, (c) $\\mathcal { L } _ { A E } + \\mathcal { L } _ { G A N } \\mathrm { ~ 1 ~ }$ 128 dim. (d) Mean average precision curves for the viewpoint prediction from the viewpoint feature using different models and dimensions for $N _ { \\mathbf { v } }$ . "
|
| 975 |
+
],
|
| 976 |
+
"image_footnote": [],
|
| 977 |
+
"bbox": [
|
| 978 |
+
240,
|
| 979 |
+
99,
|
| 980 |
+
758,
|
| 981 |
+
214
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 7
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "table",
|
| 987 |
+
"img_path": "images/b952c7556c42a601464b737e324c1e90893cbadb4fec0f246e68d9f3dde1e3eb.jpg",
|
| 988 |
+
"table_caption": [
|
| 989 |
+
"Table 1: Nearest neighbor classification on $N _ { \\mathbf { v } }$ and $N _ { \\mathbf { c } }$ features using different normalization techniques on ShapeNet cars. "
|
| 990 |
+
],
|
| 991 |
+
"table_footnote": [],
|
| 992 |
+
"table_body": "<table><tr><td>Normalization</td><td>Nv mAP</td><td>Nc mAP</td></tr><tr><td>None</td><td>0.47</td><td>0.13</td></tr><tr><td>Batch</td><td>0.50</td><td>0.08</td></tr><tr><td>Instance</td><td>0.50</td><td>0.20</td></tr></table>",
|
| 993 |
+
"bbox": [
|
| 994 |
+
361,
|
| 995 |
+
353,
|
| 996 |
+
635,
|
| 997 |
+
425
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 7
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "text",
|
| 1003 |
+
"text": "",
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
171,
|
| 1006 |
+
452,
|
| 1007 |
+
823,
|
| 1008 |
+
481
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 7
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "We compare the different normalization choices in Table 1. We evaluate the case when batch, instance and no normalization are used and compute the performance on the nearest neighbor classification task. We fixed the feature dimensions at 1024 for both $N _ { \\mathbf { v } }$ and $N _ { \\mathbf { c } }$ features in all normalization cases. We can see that both batch and instance normalization perform equally well on viewpoint classification and no normalization is slightly worse. For the car type classification instance normalization is clearly better. ",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
173,
|
| 1017 |
+
487,
|
| 1018 |
+
826,
|
| 1019 |
+
571
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 7
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "4.2 REFERENCE AMBIGUITY ",
|
| 1026 |
+
"text_level": 1,
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
174,
|
| 1029 |
+
590,
|
| 1030 |
+
383,
|
| 1031 |
+
604
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 7
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "MNIST. The MNIST dataset LeCun et al. (1998) contains handwritten grayscale digits of size $2 8 \\times 2 8$ pixel. There are 60K images of 10 classes for training and 10K for testing. The common factor is the digit class and the varying factor is the intraclass variation. We take image pairs that have the same digit for training, and use our full model $\\mathcal { L } _ { A E } + \\mathcal { L } _ { G A N }$ with dimensions 64 for $N _ { \\mathbf { v } }$ and 64 for $N _ { \\mathbf { c } }$ . In Fig. 5 (a) and (b) we show the transfer of varying factors. Qualitatively, both our method and Mathieu et al. (2016) perform well. We observe neither the reference ambiguity nor the shortcut problem in this case. ",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
173,
|
| 1040 |
+
617,
|
| 1041 |
+
825,
|
| 1042 |
+
715
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 7
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "image",
|
| 1048 |
+
"img_path": "images/19dbb062afd2ee7e2e211be55c604266d4e81e0c4b40072158decf54298db406.jpg",
|
| 1049 |
+
"image_caption": [
|
| 1050 |
+
"Figure 5: Renderings of transferred features. In all figures the variable factor is transferred from the left column and the common factor from the top row. (a) MNIST Mathieu et al. (2016); (b) MNIST (ours); (c) Sprites Mathieu et al. (2016); (d) Sprites (ours). "
|
| 1051 |
+
],
|
| 1052 |
+
"image_footnote": [],
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
181,
|
| 1055 |
+
728,
|
| 1056 |
+
816,
|
| 1057 |
+
866
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 7
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "image",
|
| 1063 |
+
"img_path": "images/55049684dd4908d747a5bd58b28114a25a2f6b44c1aa8542f673f3beeb04f571.jpg",
|
| 1064 |
+
"image_caption": [
|
| 1065 |
+
"Figure 6: Attribute transfer on ShapeNet. For both subfigures the viewpoint is taken from the leftmost column and the car/chair type is taken from the first row. (a) Cars: the factors are transferred correctly. (b) Chairs: in the bottom three rows the viewpoint is not transferred correctly due to the reference ambiguity. "
|
| 1066 |
+
],
|
| 1067 |
+
"image_footnote": [],
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
192,
|
| 1070 |
+
98,
|
| 1071 |
+
803,
|
| 1072 |
+
321
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 8
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "Sprites. The Sprites dataset Reed et al. (2015) contains 60 pixel color images of animated characters (sprites). There are 672 sprites, 500 for training, 100 for testing and 72 for validation. Each sprite has 20 animations and 178 images, so the full dataset has 120K images in total. There are many changes in the appearance of the sprites, they differ in their body shape, gender, hair, armour, arm type, greaves, and weapon. We consider character identity as the common factor and the pose as the varying factor. We train our system using image pairs of the same sprite and do not exploit labels on their pose. We train the $\\mathcal { L } _ { A E } + \\mathcal { L } _ { G A N }$ model with dimensions 64 for $N _ { \\mathbf { v } }$ and 448 for $N _ { \\mathbf { c } }$ . Fig. 5 (c) and (d) show results on the attribute transfer task. Both our method and Mathieu et al. (2016)’s transfer the identity of the sprites correctly, the reference ambiguity does not arise. ",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
173,
|
| 1081 |
+
420,
|
| 1082 |
+
825,
|
| 1083 |
+
546
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 8
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "ShapeNet chairs. We render the ShapeNet chairs with the same settings (viewpoints, image size) as the cars. There are 3500 chair types for training and 3200 for testing, so the dataset contains 160K images. We trained $\\mathcal { L } _ { A E } + \\mathcal { L } _ { G A N }$ , and set the feature dimensions to 1024 for both $N _ { \\mathbf { v } }$ and $N _ { \\mathbf { c } }$ . In Fig. 6 we show results on attribute transfer and compare it with ShapeNet cars. We found that the reference ambiguity does not emerge for cars, but it does for chairs, possibly due to the higher complexity, as cars have much less variability than chairs. ",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
174,
|
| 1092 |
+
553,
|
| 1093 |
+
825,
|
| 1094 |
+
637
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 8
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "text",
|
| 1100 |
+
"text": "5 CONCLUSIONS ",
|
| 1101 |
+
"text_level": 1,
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
176,
|
| 1104 |
+
661,
|
| 1105 |
+
328,
|
| 1106 |
+
678
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 8
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "In this paper we studied the challenges of disentangling factors of variation, mainly the shortcut problem and the reference ambiguity. The shortcut problem occurs when all information is stored in only one feature chunk, while the other is ignored. The reference ambiguity means that the reference in which a factor is interpreted, may depend on other factors. This makes the attribute transfer ambiguous. We introduced a novel training of autoencoders to solve disentangling using image triplets. We showed theoretically and experimentally how to keep the shortcut problem under control through adversarial training, and enable to use large feature dimensions. We proved that the reference ambiguity is inherently present in the disentangling task when weak labels are used. Most importantly this can be stated independently of the learning algorithm. We demonstrated that training and transfer of factors of variation may not be guaranteed. However, in practice we observe that our trained model works well on many datasets and exhibits good generalization capabilities. ",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
174,
|
| 1115 |
+
695,
|
| 1116 |
+
825,
|
| 1117 |
+
849
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 8
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "REFERENCES ",
|
| 1124 |
+
"text_level": 1,
|
| 1125 |
+
"bbox": [
|
| 1126 |
+
176,
|
| 1127 |
+
873,
|
| 1128 |
+
285,
|
| 1129 |
+
888
|
| 1130 |
+
],
|
| 1131 |
+
"page_idx": 8
|
| 1132 |
+
},
|
| 1133 |
+
{
|
| 1134 |
+
"type": "text",
|
| 1135 |
+
"text": "Yoshua Bengio, Aaron Courville, and Pascal Vincent. Representation learning: A review and new perspectives. IEEE transactions on pattern analysis and machine intelligence, 35(8):1798–1828, 2013. ",
|
| 1136 |
+
"bbox": [
|
| 1137 |
+
176,
|
| 1138 |
+
897,
|
| 1139 |
+
823,
|
| 1140 |
+
922
|
| 1141 |
+
],
|
| 1142 |
+
"page_idx": 8
|
| 1143 |
+
},
|
| 1144 |
+
{
|
| 1145 |
+
"type": "text",
|
| 1146 |
+
"text": "Hervé Bourlard and Yves Kamp. Auto-association by multilayer perceptrons and singular value decomposition. Biological cybernetics, 59(4):291–294, 1988. \nAngel X. Chang, Thomas Funkhouser, Leonidas Guibas, Pat Hanrahan, Qixing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, Jianxiong Xiao, Li Yi, and Fisher Yu. ShapeNet: An Information-Rich 3D Model Repository. Technical Report arXiv:1512.03012 [cs.GR], 2015. \nXi Chen, Yan Duan, Rein Houthooft, John Schulman, Ilya Sutskever, and Pieter Abbeel. Infogan: Interpretable representation learning by information maximizing generative adversarial nets. In NIPS, 2016. \nBrian Cheung, Jesse A Livezey, Arjun K Bansal, and Bruno A Olshausen. Discovering hidden factors of variation in deep networks. arXiv:1412.6583, 2014. \nJeff Donahue, Philipp Krähenbühl, and Trevor Darrell. Adversarial feature learning. arXiv:1605.09782, 2016. \nIan Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, 2014. \nGeoffrey E Hinton and Ruslan R Salakhutdinov. Reducing the dimensionality of data with neural networks. Science, 313(5786):504–507, 2006. \nGeoffrey E Hinton, Alex Krizhevsky, and Sida D Wang. Transforming auto-encoders. In International Conference on Artificial Neural Networks, pp. 44–51. Springer, 2011. \nDiederik P Kingma and Max Welling. Auto-encoding variational bayes. In ICLR, 2014. \nYann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. \nMing-Yu Liu and Oncel Tuzel. Coupled generative adversarial networks. In Advances in Neural Information Processing Systems, pp. 469–477, 2016. \nChristos Louizos, Kevin Swersky, Yujia Li, Max Welling, and Richard Zemel. The variational fair autoencoder. In ICLR, 2016. \nMichael F Mathieu, Junbo Jake Zhao, Junbo Zhao, Aditya Ramesh, Pablo Sprechmann, and Yann LeCun. Disentangling factors of variation in deep representation using adversarial training. In Advances in Neural Information Processing Systems, pp. 5041–5049, 2016. \nAlec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv:1511.06434, 2015. \nScott Reed, Kihyuk Sohn, Yuting Zhang, and Honglak Lee. Learning to disentangle factors of variation with manifold interaction. In Proceedings of the 31st International Conference on Machine Learning (ICML-14), pp. 1431–1439, 2014. \nScott E Reed, Yi Zhang, Yuting Zhang, and Honglak Lee. Deep visual analogy-making. In Advances in Neural Information Processing Systems, pp. 1252–1260, 2015. \nZhixin Shu, Ersin Yumer, Sunil Hadap, Kalyan Sunkavalli, Eli Shechtman, and Dimitris Samaras. Neural face editing with intrinsic image disentangling. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017. \nKaren Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. \nLuan Tran, Xi Yin, and Xiaoming Liu. Disentangled representation learning gan for pose-invariant face recognition. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017. \nDmitry Ulyanov, Andrea Vedaldi, and Victor S. Lempitsky. Improved texture networks: Maximizing quality and diversity in feed-forward stylization and texture synthesis. In CVPR, 2017. \nKihyuk Sohn Dimitris Metaxas Manmohan Chandraker Xi Peng, Xiang Yu. Reconstruction for feature disentanglement in pose-invariant face recognition. arXiv:1702.03041, 2017. \nJimei Yang, Scott E Reed, Ming-Hsuan Yang, and Honglak Lee. Weakly-supervised disentangling with recurrent transformations for 3d view synthesis. In NIPS, 2015. ",
|
| 1147 |
+
"bbox": [
|
| 1148 |
+
169,
|
| 1149 |
+
32,
|
| 1150 |
+
828,
|
| 1151 |
+
897
|
| 1152 |
+
],
|
| 1153 |
+
"page_idx": 9
|
| 1154 |
+
}
|
| 1155 |
+
]
|
parse/train/SkmiegW0b/SkmiegW0b_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SkmiegW0b/SkmiegW0b_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rklEj2EFvB/rklEj2EFvB_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rklEj2EFvB/rklEj2EFvB_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vlm/train/3-GCM92yaB3/0.png
ADDED
|
Git LFS Details
|
vlm/train/3-GCM92yaB3/1.png
ADDED
|
Git LFS Details
|
vlm/train/3-GCM92yaB3/10.png
ADDED
|
Git LFS Details
|
vlm/train/3-GCM92yaB3/11.png
ADDED
|
Git LFS Details
|
vlm/train/3-GCM92yaB3/12.png
ADDED
|
Git LFS Details
|
vlm/train/3-GCM92yaB3/13.png
ADDED
|
Git LFS Details
|
vlm/train/3-GCM92yaB3/2.png
ADDED
|
Git LFS Details
|
vlm/train/3-GCM92yaB3/3.png
ADDED
|
Git LFS Details
|
vlm/train/3-GCM92yaB3/4.png
ADDED
|
Git LFS Details
|
vlm/train/3-GCM92yaB3/5.png
ADDED
|
Git LFS Details
|
vlm/train/3-GCM92yaB3/6.png
ADDED
|
Git LFS Details
|
vlm/train/3-GCM92yaB3/7.png
ADDED
|
Git LFS Details
|
vlm/train/3-GCM92yaB3/8.png
ADDED
|
Git LFS Details
|
vlm/train/3-GCM92yaB3/9.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/0.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/1.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/10.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/11.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/12.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/13.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/14.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/15.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/2.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/3.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/4.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/5.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/6.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/7.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/8.png
ADDED
|
Git LFS Details
|
vlm/train/4AWko4A35ss/9.png
ADDED
|
Git LFS Details
|