Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/5CGPY2VeEGb/5CGPY2VeEGb.md +297 -0
- parse/train/5CGPY2VeEGb/5CGPY2VeEGb_content_list.json +1385 -0
- parse/train/5CGPY2VeEGb/5CGPY2VeEGb_middle.json +0 -0
- parse/train/5CGPY2VeEGb/5CGPY2VeEGb_model.json +0 -0
- parse/train/EbIDjBynYJ8/EbIDjBynYJ8.md +0 -0
- parse/train/EbIDjBynYJ8/EbIDjBynYJ8_content_list.json +0 -0
- parse/train/EbIDjBynYJ8/EbIDjBynYJ8_middle.json +0 -0
- parse/train/EbIDjBynYJ8/EbIDjBynYJ8_model.json +0 -0
- parse/train/S1AG8zYeg/S1AG8zYeg.md +392 -0
- parse/train/S1AG8zYeg/S1AG8zYeg_content_list.json +1981 -0
- parse/train/S1AG8zYeg/S1AG8zYeg_middle.json +0 -0
- parse/train/S1AG8zYeg/S1AG8zYeg_model.json +0 -0
- parse/train/WWRBHhH158K/WWRBHhH158K.md +263 -0
- parse/train/WWRBHhH158K/WWRBHhH158K_content_list.json +1098 -0
- parse/train/WWRBHhH158K/WWRBHhH158K_middle.json +0 -0
- parse/train/WWRBHhH158K/WWRBHhH158K_model.json +0 -0
- parse/train/xWq1MVj7YrE/xWq1MVj7YrE.md +257 -0
- parse/train/xWq1MVj7YrE/xWq1MVj7YrE_content_list.json +1088 -0
- parse/train/xWq1MVj7YrE/xWq1MVj7YrE_middle.json +0 -0
- parse/train/xWq1MVj7YrE/xWq1MVj7YrE_model.json +0 -0
parse/train/5CGPY2VeEGb/5CGPY2VeEGb.md
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Semi-Supervised Semantic Segmentation via Adaptive Equalization Learning
|
| 2 |
+
|
| 3 |
+
Hanzhe $\mathbf { H } \mathbf { u } ^ { 1 , 4 * }$ Fangyun Wei2† Han $\mathbf { H } \mathbf { u } ^ { 2 }$ Qiwei $\mathbf { Y e } ^ { 2 }$ Jinshi Cui1 Liwei Wang1,3†
|
| 4 |
+
|
| 5 |
+
1Key Laboratory of Machine Perception (MOE), School of EECS, Peking University 2Microsoft Research Asia 3Institute for Artificial Intelligence, Peking University 4Zhejiang Lab huhz@pku.edu.cn {fawe, hanhu, qiwye}@microsoft.com {cjs, wanglw}@cis.pku.edu.cn
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
Due to the limited and even imbalanced data, semi-supervised semantic segmentation tends to have poor performance on some certain categories, e.g., tailed categories in Cityscapes dataset which exhibits a long-tailed label distribution. Existing approaches almost all neglect this problem, and treat categories equally. Some popular approaches such as consistency regularization or pseudo-labeling may even harm the learning of under-performing categories, that the predictions or pseudo labels of these categories could be too inaccurate to guide the learning on the unlabeled data. In this paper, we look into this problem, and propose a novel framework for semi-supervised semantic segmentation, named adaptive equalization learning (AEL). AEL adaptively balances the training of well and badly performed categories, with a confidence bank to dynamically track category-wise performance during training. The confidence bank is leveraged as an indicator to tilt training towards under-performing categories, instantiated in three strategies: 1) adaptive Copy-Paste and CutMix data augmentation approaches which give more chance for under-performing categories to be copied or cut; 2) an adaptive data sampling approach to encourage pixels from under-performing category to be sampled; 3) a simple yet effective re-weighting method to alleviate the training noise raised by pseudo-labeling. Experimentally, AEL outperforms the state-of-the-art methods by a large margin on the Cityscapes and Pascal VOC benchmarks under various data partition protocols. Code is available at https://github.com/hzhupku/SemiSeg-AEL.
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
Supervised semantic segmentation requires pixel-level labeling, which is expensive and timeconsuming. This paper is interested in semi-supervised semantic segmentation, which can greatly reduce the efforts of pixel-level annotation, yet may maintain reasonably high accuracy. One problem of common semantic segmentation datasets is that the pixel categories tend to be imbalanced, e.g., the pixel amount of head classes can be hundreds of times larger than that of tailed classes in the widely used Cityscapes dataset [1]. The situation is more serious in the semi-supervised setting where tailed classes may have extremely few samples. We note that recent approaches are mainly dedicated to the design of consistency regularization [2, 3, 4, 5, 6, 7] and pseudo-labeling [8], almost all of which neglect the imbalance problem and treat each category equally, leading to a biased training. These approaches may even harm the learning of tailed classes, as inaccurate predictions or pseudo labels of under-performing categories could falsely guide the learning on unlabeled data.
|
| 14 |
+
|
| 15 |
+

|
| 16 |
+
Figure 1: We count the the training samples of each category on Cityscapes train set under 1/16 and 1/32 data partition protocols, and compare the proposed AEL with a strong semi-supervised learning baseline described in Section 3.2 which treats each category equally. Our method strives to tilt training towards tailed categories which usually tend to be under-performing.
|
| 17 |
+
|
| 18 |
+
This paper aims to alleviate this biased training problem. We propose a novel Adaptive Equalization Learning (AEL) framework, which adaptively balance the training of different categories as shown in Figure 1. Our design follows two main principles: 1) increasing the proportion of training samples from the under-performing categories; 2) tilting training towards under-performing categories. Concretely, we maintain a confidence bank to dynamically record the category-wise performance at each training step, which indicates the current performance of each category. Following principle 1), we propose two data augmentation approaches named adaptive Copy-Paste and adaptive CutMix, which give more chance for under-performing categories to be copied or cut. Following principle 2), we present an adaptive equalization sampling strategy to encourage pixels from under-performing categories to be sufficiently trained. In addition, we also introduce a simple yet effective re-weighting strategy which takes the model predictions into account to alleviate the issue that semi-supervised learning usually suffers from the training noise.
|
| 19 |
+
|
| 20 |
+
Experimentally, by using the DeepLabv $^ { 3 + }$ with ResNet-101 backbone, the proposed AEL outperforms state-of-the-art methods by a large margin on the Cityscapes and PASCAL VOC 2012 benchmarks under various data partition protocols. Specifically, it achieves $7 4 . 2 8 \%$ , $7 5 . 8 3 \%$ and $7 7 . 9 0 \%$ on Cityscapes dataset under 1/32, 1/16 and 1/8 protocols, which is $+ 1 6 . 3 9 \%$ , $+ 1 2 . 8 7 \%$ and $+ 8 . 0 9 \%$ better than the supervised baseline. When evaluated on PASCAL VOC 2012 benchmark, it achieves $7 6 . 9 7 \%$ , $7 7 . 2 0 \%$ and $7 7 . 5 7 \%$ under 1/32, 1/16 and 1/8 protocols, which is $+ 6 . 8 3 \%$ , $+ 6 . 6 0 \%$ and $+ 4 . 4 5 \%$ better than the supervised baseline. Moreover, the proposed approach also proves to improve the segmentation model trained on the full Cityscapes train set by $+ 1 . 0 3 \%$ by leveraging $5 , 0 0 0$ images from the Cityscapes coarse set as unlabeled data, achieving $8 1 . 9 5 \%$ .
|
| 21 |
+
|
| 22 |
+
# 2 Related Work
|
| 23 |
+
|
| 24 |
+
Semi-Supervised Learning. Recent years have witnessed a significant progress in the SSL field. Most of them can be categorized into consistency regularization, entropy minimization [9] and pseudo-labeling. Consistency regularization [10, 11, 12] enforces consistency in predictions between different views of unlabeled data. Pseudo-labeling [13, 14] trains the model on the unlabeled data with pseudo labels generated from the model’s own predictions. Furthermore, [10, 15, 16, 17, 18] use a low softmax temperature to sharpen the predictions of unlabeled set. Our method refers to Mean Teacher [11] and FixMatch [14] when designing our basic framework.
|
| 25 |
+
|
| 26 |
+
Semi-Supervised Semantic Segmentation. Existing semi-supervised semantic segmentation methods mainly focus on the design of consistency regularization and pseudo-labeling. Cutmix-Seg [2] applies CutMix augmentation on the unlabeled data. CCT [4] introduces a feature-level perturbation and enforces consistency among the predictions of different decoders. GCT [19] performs network perturbation by using two differently initialized segmentation models and encourages consistency between the predictions from the two models. PseudoSeg [8] focuses on improving the quality of pseudo labels. Though achieving satisfactory improvements over the supervised baseline, none of the aforementioned methods explore the biased learning issue in semi-supervised semantic segmentation.
|
| 27 |
+
|
| 28 |
+

|
| 29 |
+
Figure 2: Overview of AEL. We adopt the teacher-student architecture as our basic framework. The teacher model is updated by the exponential moving average (EMA) of the student model. Confidence bank is uesd to dynamically record the category-wise performance during training. Adaptive CutMix and adaptive Copy-Paste are applied on the unlabeled and labeled data respectively to provide sufficient training samples from the under-performing categories. Adaptive equalization sampling (AES) encourages the training to involve more samples from the under-performing categories to make the training unbiased. Dynamic re-weighting strategy aims to alleviate the noise of pseudo-labeling.
|
| 30 |
+
|
| 31 |
+
Class Imbalance in Semi-Supervised Learning. Although SSL has been extensively studied, class imbalance problem in SSL is relatively under-explored, especially for semantic segmentation. Yang et al. [20] demonstrate that leveraging unlabeled data can alleviate imbalance issue. Hyun et al. [21] propose a suppressed consistency loss for class-imbalanced image classification problems. CReST [22] introduces a self-training framework for imbalanced SSL. Our method, though not explicitly targeting at the class imbalance problem, focuses on improving the performance of underperforming categories which are mostly tailed classes. Moreover, we refer to the ideas of resampling [23, 24] and re-weighting [25, 26], which are designed for class imbalance problem.
|
| 32 |
+
|
| 33 |
+
# 3 Method
|
| 34 |
+
|
| 35 |
+
Given a labeled set $\mathcal { D } ^ { l } = \{ ( \boldsymbol { \mathbf { \mathit { x } } } _ { i } ^ { l } , \boldsymbol { \mathbf { \mathit { y } } } _ { i } ^ { l } ) \}$ and an unlabeled set $\mathcal { D } ^ { u } = \{ \pmb { x } _ { i } ^ { u } \}$ , the objective of semisupervised semantic segmentation is to learn a segmentation model by efficiently leveraging both labeled and unlabeled data. In this section, we first present an overview of the proposed AEL in Section 3.1. Then we describe our basic framework for semi-supervised semantic segmentation in Section 3.2. Finally, the details of AEL are introduced in Section 3.3.
|
| 36 |
+
|
| 37 |
+
# 3.1 Overview
|
| 38 |
+
|
| 39 |
+
Figure 2 displays an overview of AEL, which is a data-efficient framework for semi-supervised semantic segmentation. It is composed of two parts: 1) a basic framework which contains a teacher model for pseudo-labeling and a student model for online learning; 2) dedicated modules which encourages the under-performing categories to be sufficiently trained by effectively leveraging both labeled and unlabeled data. We use the proposed confidence bank to dynamically record the categorywise performance during training, and thus we can easily identify which categories are not sufficiently trained. For those unsatisfactory categories, we present two data augmentation methods to increase their frequency of occurrence in a training batch, namely adaptive CutMix which is applied on the unlabeled data, and adaptive Copy-Paste which is applied on the labeled data. To make the model towards the unbiased learning, we propose the adaptive equalization sampling and dynamic re-weighting strategies to involve enough samples from the under-performing categories into the training, and alleviate the noise raised by pseudo-labeling simultaneously.
|
| 40 |
+
|
| 41 |
+
# 3.2 Basic Framework
|
| 42 |
+
|
| 43 |
+
We first set up a basic framework for semi-supervised semantic segmentation. The framework consists of a student model and a teacher model. The teacher model has the same architecture as the student model, but uses a different set of weights which are updated by exponential moving average (EMA) of the student model [11]. Following FixMatch [14], we use the teacher model to generate a set of pseudo labels $\hat { \mathcal { V } } = \{ \hat { y } _ { i } \}$ on the weakly augmented unlabeled data $\mathcal { D } ^ { u }$ . Subsequently, the student model is trained on both labeled data $\mathcal { D } ^ { l }$ (of weak augmentation) with the ground-truth and unlabeled data $\mathcal { D } ^ { u }$ (of strong augmentation) with the generated pseudo labels $\hat { \mathcal { V } }$ . We use standard random resize and random horizontal flip as the weak augmentation. Strong augmentation includes CutMix [27] and all data augmentation strategies used in the weak augmentation.
|
| 44 |
+
|
| 45 |
+
The overall loss consists of the supervised loss $\mathcal { L } _ { s }$ and the unsupervised loss $\mathcal { L } _ { u }$ :
|
| 46 |
+
|
| 47 |
+
$$
|
| 48 |
+
\begin{array} { l } { { \displaystyle { \mathcal { L } } _ { s } = \frac { 1 } { N _ { l } } \sum _ { i = 1 } ^ { N _ { l } } \frac { 1 } { W H } \sum _ { j = 1 } ^ { W H } \ell _ { c e } ( y _ { i j } , { p } _ { i j } ) } , } \\ { { \displaystyle { \mathcal { L } } _ { u } = \frac { 1 } { N _ { u } } \sum _ { i = 1 } ^ { N _ { u } } \frac { 1 } { W H } \sum _ { j = 1 } ^ { W H } \ell _ { c e } ( \hat { y } _ { i j } , { p } _ { i j } ) } , } \end{array}
|
| 49 |
+
$$
|
| 50 |
+
|
| 51 |
+
where $\pmb { p } _ { i j }$ is the prediction of the $j$ -th pixel in the $i$ -th labeled (or unlabeled) image, $N _ { l }$ and $N _ { u }$ denote the number of labeled images and unlabeled images in a training batch, $W$ and $H$ represent the width and height of the input image, and $\ell _ { c e }$ denotes the standard pixel-wise cross-entropy loss. We define the overall loss function as:
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\mathcal { L } = \mathcal { L } _ { s } + \alpha \mathcal { L } _ { u } ,
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
where $\alpha$ controls the contribution of the unsupervised loss.
|
| 58 |
+
|
| 59 |
+
# 3.3 Adaptive Equalization Learning
|
| 60 |
+
|
| 61 |
+
The baseline framework, though achieving competitive results compared with previous related works, neglects the key issues in semi-supervised semantic segmentation. Due to the limited labeled data, semi-supervised learning tends to have poor performance on some certain categories, e.g., tailed categories in Cityscapes dataset which exhibits a long-tailed label distribution. Insufficient training on these categories introduces more noise of pseudo labels which can disrupt the learning process. The proposed AEL framework aims to alleviate the degradation of under-performing categories during the semi-supervised training. Concretely, we maintain a confidence bank to record the performance of each category during training. The confidence bank enables us to identify the under-performing categories. To improve the performance of these categories and further make the training unbiased, we propose a series of technologies to efficiently leverage both labeled and unlabeled data, namely adaptive CutMix, adaptive Copy-Paste, adaptive equalization sampling and dynamic re-weighting.
|
| 62 |
+
|
| 63 |
+
Confidence Bank. To tackle the biased training, previous methods [25, 26, 22, 28] always rely on the prior knowledge such as the number of training samples of each category to design the ad hoc sampling and weighting strategies. However, the performance of each category is not always strictly proportional to the number of training samples, because some categories tend to have discriminative features and thus fewer samples are required for training. Inspired by the recent progress [29] which applies active learning on semantic segmentation, we propose to maintain a confidence bank to record the category-wise performance during training. An indicator is needed to assess the performance of each category.
|
| 64 |
+
|
| 65 |
+
We consider several indicators, namely Confidence, Margin and Entropy. Formally, we define Confidence indicator as:
|
| 66 |
+
|
| 67 |
+
$$
|
| 68 |
+
\mathrm { C o n f } ^ { c } = \frac { 1 } { N _ { l } } \sum _ { i = 1 } ^ { N _ { l } } \frac { 1 } { N _ { i } ^ { c } } \sum _ { j = 1 } ^ { N _ { i } ^ { c } } p _ { i j } ^ { c } , c \in \{ 1 , \dots , C \}
|
| 69 |
+
$$
|
| 70 |
+
|
| 71 |
+
where $C$ is the category number, $N _ { i } ^ { c }$ denotes the number of pixels belonging to category $c$ according to its ground-truth ${ \bf { \it y } } _ { i } , { \bf { \it p } } _ { i j } ^ { c }$ denotes the $c$ -th channel prediction of the $j$ -th pixel in the $i$ -th image.
|
| 72 |
+
|
| 73 |
+
Define Margin indicator as:
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
\mathrm { M a r g i n } ^ { c } = \frac { 1 } { N _ { l } } \sum _ { i = 1 } ^ { N _ { l } } \frac { 1 } { N _ { i } ^ { c } } \sum _ { j = 1 } ^ { N _ { i } ^ { c } } ( p _ { i j } ^ { c } - \operatorname * { m a x } _ { c ^ { \prime } \in \{ 1 , \dots , C \} } p _ { i j } ^ { c ^ { \prime } } ) , ~ c \in \{ 1 , \dots , C \}
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
where $\mathrm { m a x 2 ( \cdot ) }$ denotes the second largest value operator. At last, we define Entropy indicator as:
|
| 80 |
+
|
| 81 |
+
$$
|
| 82 |
+
\mathrm { E n t } ^ { c } = - \frac { 1 } { N _ { l } } \sum _ { i = 1 } ^ { N _ { l } } \frac { 1 } { N _ { i } ^ { c } } \sum _ { j = 1 } ^ { N _ { i } ^ { c } } \sum _ { c ^ { \prime } = 1 } ^ { C } p _ { i j } ^ { c ^ { \prime } } \log p _ { i j } ^ { c ^ { \prime } } , c \in \{ 1 , \ldots , C \} .
|
| 83 |
+
$$
|
| 84 |
+
|
| 85 |
+
For all of the indicators, we only take into account predictions from labeled data. Experimentally, the confidence indicator serves best in our AEL and thus we adopt it by default (see Section 4.3 for the comparison). We use EMA to update the category-wise confidence at each training step:
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\mathrm { C o n f } _ { k } ^ { c } \gets \tau \mathrm { C o n f } _ { k - 1 } ^ { c } + ( 1 - \tau ) \mathrm { C o n f } _ { k } ^ { c } , \ c \in \{ 1 , \ldots , C \} ,
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
where $k$ denotes the $k$ -th iteration, $\tau \in [ 0 , 1 )$ is the momentum coefficient which is set to 0.999 experimentally. Through the confidence bank, we can easily identify the under-performing categories for the current model.
|
| 92 |
+
|
| 93 |
+
Adaptive CutMix. Here we introduce the proposed adaptive CutMix (see Figure 2 for illustration) which is applied on the unlabeled data. It aims to increase the frequency of occurrence of the under-performing samples from the unlabeled data. We first formulate the original CutMix [27] as:
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
\begin{array} { r } { \hat { I } = \mathbf { C u t M i x } ( \mathbf { C r o p } ( I _ { 1 } ) , I _ { 2 } ) , } \end{array}
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
where $I _ { 1 }$ and $I _ { 2 }$ denote randomly selected unlabeled images, $\hat { I }$ is the augmented image, and Crop(·) represents the random crop operation.
|
| 100 |
+
|
| 101 |
+
Different from the original CutMix where unlabeled images are randmoly selected, the proposed adaptive CutMix gives under-performing categories a higher sampling probability. Specifically, we first convert the category-wise confidence stored in the confidence bank to the normalized sampling probability $\pmb { r } \in \mathbb { R } ^ { C }$ , which can be formulated as:
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
r = \mathrm { S o f t m a x } ( 1 - \mathrm { C o n f } ) .
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
According to the sampling probability, we randomly select an unlabeled image containing the sampled category as $I _ { 1 }$ , and another unlabeled image from the training batch is randomly selected as $I _ { 2 }$ . The Crop(·) operation is performed on the region containing the chosen category. After that, we can generate the augmented image by Eq 8. Since the adaptive CutMix is performed on the unlabeled data without any annotations, we use predictions as approximate ground-truth, which works well in practice.
|
| 108 |
+
|
| 109 |
+
Adaptive Copy-Paste. Copy-Paste [30] is an effective data augmentation strategy for instance segmentation. It yields significant gains on the challenging LVIS benchmark [31], especially for rare object categories. The key idea behind the Copy-Paste augmentation is to paste objects from the source image to the target image. Inspired by this, we further propose the adaptive Copy-Paste (see Figure 2 for illustration) for semi-supervised semantic segmentation. Different from adaptive CutMix, adaptive Copy-Paste augmentation strives for efficiently leveraging the labeled data. Similarly, we involve confidence bank to assess category-wise performance and use $\mathrm { E q } 9$ to compute sampling probability. The under-performing categories have higher probability to be selected for Copy-Paste. Experimentally, the proposed adaptive Copy-Paste augmentation yields slightly better performance in the category level than the instance level. Thus we copy all pixels belonging to the sampled category in the source image and paste them on the target image. Following [30], the augmented image is composed of two randomly selected images from the labeled data and a large scale jittering is applied.
|
| 110 |
+
|
| 111 |
+
Adaptive Equalization Sampling. As described in Section 1, due to the limited and unbalanced labeled data, the training tends to be biased. To alleviate the training bias, we propose a novel adaptive equalization sampling strategy which focuses training on a sparse set of under-performing samples and prevents the vast number of well-trained samples from overwhelming the model during training. Concretely, we define the sampling rate $s ^ { c }$ for category $c$ as:
|
| 112 |
+
|
| 113 |
+
$$
|
| 114 |
+
s ^ { c } = \left[ \frac { 1 - \mathrm { C o n f } ^ { c } } { \operatorname* { m a x } _ { c \in \{ 1 , \dots , C \} } \left( 1 - \mathrm { C o n f } ^ { c } \right) } \right] ^ { \beta } , \ c \in \{ 1 , \dots , C \} ,
|
| 115 |
+
$$
|
| 116 |
+
|
| 117 |
+
where $\beta$ denotes a tunable parameter. Instead of using all pixels to compute the unsupervised loss, for category $c$ with the sampling rate $s ^ { c }$ , we randomly sample a subset of pixels according to their predictions. Then the unsupervised loss in Eq 2 can be reformulated as:
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
\mathcal { L } _ { u } = \frac { 1 } { { { N _ { u } } } } { \sum _ { i = 1 } ^ { { N _ { u } } } { \frac { 1 } { { \sum _ { j = 1 } ^ { { W H } } { \mathbb { 1 } _ { i j } } } } \sum _ { j = 1 } ^ { { W H } } { \ell _ { c e } ( { \hat { y } _ { i j } } , { { p _ { i j } } } ) \mathbb { 1 } _ { i j } } } } ,
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
where $\mathbb { 1 } _ { i j } = 1$ indicates that the $j$ -th pixel in the $i$ -th image is sampled according to the sampling rate, otherwise $\mathbb { 1 } _ { i j }$ is set to 0, the other terms are the same as in $\operatorname { E q }$ .
|
| 124 |
+
|
| 125 |
+
Dynamic Re-Weighting. The performance of the model depends on the quality of pseudo labels. Existing methods [2, 4, 19] usually adopt a higher threshold on classification score to filter out most of the pixels with low-confidence. Though this strategy could alleviate the noise raised by pseudolabeling, the strict criteria leads to lower recall for the pixels from under-performing categories, which hinders the training. Another option is to discard the threshold and involve all pixels into the training. However, much more noise is introduced simultaneously. To alleviate this issue, we propose a dynamic re-weighting strategy which adds a modulating factor to the unsupervised loss in the way of semi-supervised learning. On the basis of Eq 11, we formulate our final unsupervised loss as:
|
| 126 |
+
|
| 127 |
+
$$
|
| 128 |
+
\begin{array} { r } { \mathcal { L } _ { u } = \displaystyle \frac { 1 } { N _ { u } } \sum _ { i = 1 } ^ { N _ { u } } \frac { 1 } { \sum _ { j = 1 } ^ { W H } w _ { i j } } \sum _ { j = 1 } ^ { W H } w _ { i j } \ell _ { c e } ( \hat { \pmb { y } } _ { i j } , { \pmb { p } } _ { i j } ) , } \\ { w _ { i j } = \displaystyle \operatorname* { m a x } _ { c \in \{ 1 , \dots , C \} } ( p _ { i j } ^ { c } ) ^ { \gamma } \mathbb { 1 } _ { i j } , } \end{array}
|
| 129 |
+
$$
|
| 130 |
+
|
| 131 |
+
where $\gamma$ is the tunable parameter. Different from the Focal Loss [32] where the modulating factor is used for reducing the loss contribution from easy samples, our formulation aims to allocate more contributions for the convincing samples. The combination of adaptive equalization sampling and dynamic re-weighting not only involves more samples from the under-performing categories into the training, but also alleviate the noise raised by pseudo-labeling.
|
| 132 |
+
|
| 133 |
+
# 4 Experiments
|
| 134 |
+
|
| 135 |
+
# 4.1 Setup
|
| 136 |
+
|
| 137 |
+
Datasets. Cityscapes [1] dataset is designed for urban scene understanding. It contains 30 classes and only 19 classes of them are used for scene parsing evaluation. The dataset contains 5, 000 finely annotated images and 20, 000 coarsely annotated images. The finely annotated 5, 000 images are split into 2, 975, 500 and 1, 525 images for training, validation and testing respectively.
|
| 138 |
+
|
| 139 |
+
PASCAL VOC 2012 [33] dataset is a standard object-centric semantic segmentation dataset. It contains 20 foreground object classes and a background class. The strand training, validation and testing sets consist of 1, 464, 1, 449 and 1, 556 images, respectively. Following common practice, we use the augmented set [34] which contains 10, 582 images as the training set.
|
| 140 |
+
|
| 141 |
+
ADE20K dataset [35] is a large scale scene parsing benchmark which contains dense labels of 150 stuff/object categories. The dataset includes 20K/2K/3K images for training, validation and testing.
|
| 142 |
+
|
| 143 |
+
For both Cityscapes and PASCAL VOC 2012 datasets, 1/2, 1/4, 1/8, 1/16 and 1/32 training images are randomly sampled as the labeled training data, and the remaining images are used as the unlabeled data. For each protocol, AEL provides 5 different data folds and the final performance is the average of 5 folds. In addition, we also evaluate our method on the setting where the full Cityscapes train set is used as the labeled data and 1, 000, 3, 000 and 5, 000 images and randomly selected from the Cityscapes coarse set as the unlabeled data.
|
| 144 |
+
|
| 145 |
+
Evaluation. We use single scale testing and adopt mean of Intersection over Union (mIoU) as the metric to evaluate the performance. We report the results on the Cityscapes val set and PASCAL VOC 2012 val set in comparisons with state-of-the-art methods. All ablation studies are conducted on the Cityscapes val set under 1/16 and 1/32 partition protocols.
|
| 146 |
+
|
| 147 |
+
Implementation Details. We use ResNet-101 pretrained on ImageNet [36] as our backbone, remove the last two down-sampling operations and employ dilated convolutions in the subsequent convolution layers, making the output stride equal to 8. We use DeepLabv $^ { 3 + }$ [37] as the segmentation head. For
|
| 148 |
+
|
| 149 |
+
Table 1: Comparison with state-of-the-art methods on the Cityscapes val set under different partition protocols. All the methods are based on DeepLabv $^ { 3 + }$ with ResNet-101 backbone.
|
| 150 |
+
|
| 151 |
+
<table><tr><td>Method</td><td>1/32 (93)</td><td>1/16 (186)</td><td>1/8 (372)</td><td>1/4 (744)</td><td>1/2 (1488)</td></tr><tr><td>Supervised</td><td>57.89</td><td>62.96</td><td>69.81</td><td>74.23</td><td>77.46</td></tr><tr><td>MT [11]</td><td>64.07</td><td>68.05</td><td>73.56</td><td>76.66</td><td>78.39</td></tr><tr><td>CCT [4]</td><td>66.35</td><td>69.32</td><td>74.12</td><td>75.99</td><td>78.10</td></tr><tr><td>Cutmix-Seg [2]</td><td>69.11</td><td>72.13</td><td>75.83</td><td>77.24</td><td>78.95</td></tr><tr><td>GCT[19]</td><td>63.21</td><td>66.75</td><td>72.66</td><td>76.11</td><td>78.34</td></tr><tr><td>AEL (Ours)</td><td>74.28</td><td>75.83</td><td>77.90</td><td>79.01</td><td>80.28</td></tr></table>
|
| 152 |
+
|
| 153 |
+
Table 2: Comparison with state-of-the-art methods on the PASCAL VOC 2012 val set under different partition protocols. All the methods are based on DeepLabv $^ { 3 + }$ with ResNet-101 backbone.
|
| 154 |
+
|
| 155 |
+
<table><tr><td rowspan=1 colspan=2>Method</td><td rowspan=1 colspan=1>1/32 (331)</td><td rowspan=1 colspan=3>1/16 (662)</td><td rowspan=1 colspan=1>1/8 (1323)</td><td rowspan=1 colspan=1>1/4 (2646)</td><td rowspan=1 colspan=1>1/2 (5291)</td></tr><tr><td rowspan=1 colspan=2>Supervised</td><td rowspan=1 colspan=1>70.14</td><td rowspan=1 colspan=3>70.60</td><td rowspan=1 colspan=1>73.12</td><td rowspan=1 colspan=1>76.35</td><td rowspan=1 colspan=1>77.21</td></tr><tr><td rowspan=2 colspan=2>MT [11]CCT[4]</td><td rowspan=1 colspan=1>70.56</td><td rowspan=1 colspan=3>71.29</td><td rowspan=2 colspan=1>73.3373.68</td><td rowspan=2 colspan=1>76.6176.51</td><td rowspan=2 colspan=1>78.0877.40</td></tr><tr><td rowspan=3 colspan=2>CCT[4]Cutmix-Seg [2]GCT [19]</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>71.22</td><td rowspan=1 colspan=1>71.86</td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=2 colspan=1>73.3970.32</td><td rowspan=2 colspan=3>73.5670.90</td><td rowspan=1 colspan=2></td><td rowspan=1 colspan=1>73.96</td><td rowspan=1 colspan=1>77.58</td><td rowspan=1 colspan=1>78.12</td></tr><tr><td rowspan=1 colspan=1>73.29</td><td rowspan=1 colspan=1>76.66</td><td rowspan=1 colspan=1>77.98</td></tr><tr><td rowspan=1 colspan=2>AEL (Ours)</td><td rowspan=1 colspan=1>76.97</td><td rowspan=1 colspan=3>77.20</td><td rowspan=1 colspan=1>77.57</td><td rowspan=1 colspan=1>78.06</td><td rowspan=1 colspan=1>80.29</td></tr></table>
|
| 156 |
+
|
| 157 |
+
Cityscapes dataset, we use stochastic gradient descent (SGD) optimizer with initial learning rate 0.01, weight decay 0.0005 and momentum 0.9. Moreover, we adopt the ‘poly’ learning rate policy, where the initial learning rate is multiplied by $\begin{array} { r } { ( 1 - \frac { \mathrm { i t e r } } { \mathrm { m a x i t e r } } ) ^ { 0 . 9 } } \end{array}$ . We adopt the crop size as $7 6 9 \times 7 6 9$ , batch size as 16 and training iterations as $1 8 \mathrm { k }$ . For PASCAL VOC 2012 dataset, we set the initial learning rate as 0.001, weight decay as 0.0001, crop size as $5 1 3 \times 5 1 3$ , batch size as 16 and training iterations as $3 0 \mathrm { k }$ . We use random horizontal flip and random resize as the default data augmentation if not specified. All the supervised baselines are trained on the labeled data.
|
| 158 |
+
|
| 159 |
+
# 4.2 Comparison with State-of-the-Art Methods
|
| 160 |
+
|
| 161 |
+
We compare our method with recent semi-supervised semantic segmentation methods, including Mean Teacher (MT) [11], Cross-Consistency Training (CCT) [4], Guided Collaborative Training (GCT) [19] and Cutmix-Seg [2]. For a fair comparison, we re-implement all above methods and adopt the same network architecture (DeepLabv $^ { 3 + }$ with ResNet-101 backbone).
|
| 162 |
+
|
| 163 |
+
Results on Cityscapes Dataset. Table 1 compares AEL with state-of-the-art methods on the Cityscapes val set. Without leveraging any unlabeled data, the performance of the supervised baseline is unsatisfactory under various data partition protocols, especially for the fewer data settings, e.g., 1/32 and 1/16 protocols. Our method consistently promotes the baseline, achieving the improvements of $+ 1 6 . 4 \%$ , $+ 1 2 . 9 \%$ , $+ 8 . 1 \%$ , $+ 4 . 8 \%$ and $+ 2 . 8 \%$ under 1/32, 1/16, 1/8, 1/4 and 1/2 partition protocols respectively. Our method also significantly outperforms the existing state-of-the-art methods by a large margin under all data partition protocols. In particular, AEL outperforms the existing best method Cutmix-Seg by $+ 5 . 2 \%$ under extremely few data setting (1/32 protocol), and surpasses Cutmix-Seg by $+ 1 . 3 \%$ under the $1 / 2$ protocol.
|
| 164 |
+
|
| 165 |
+
Results on PASCAL VOC 2012 Dataset. Table 2 shows comparison with state-of-the-art methods on the PASCAL VOC 2012 val dataset. AEL achieves consistent performance gains over the supervised baseline, obtaining an improvements of $+ 6 . 8 \%$ , $+ 7 . 0 \%$ , $+ 4 . 1 \%$ , $+ 1 . 7 \%$ and $+ 3 . 1 \%$ under 1/32, 1/16, 1/8, 1/4 and $1 / 2$ partition protocols respectively. We can see that over all protocols, AEL outperforms the state-of-the-art methods. For example, our method outperforms the previous best method by $+ 3 . 6 \%$ and $+ 2 . 2 \%$ under the 1/32 and $1 / 2$ partition protocols.
|
| 166 |
+
|
| 167 |
+
Table 3: Ablation study on the effectiveness of different components: Dynamic Re-weighting (DR), Adaptive Equalization Sampling(AES), Adaptive CutMix (ACM), Adaptive Copy-Paste (ACP).
|
| 168 |
+
|
| 169 |
+
<table><tr><td rowspan=1 colspan=1>DR</td><td rowspan=1 colspan=1>AES</td><td rowspan=1 colspan=1>ACM</td><td rowspan=1 colspan=2>ACP</td><td rowspan=1 colspan=1>1/32 (93)</td><td rowspan=1 colspan=1>1/16 (186)</td></tr><tr><td rowspan=7 colspan=1>√√√√</td><td rowspan=7 colspan=1>厂√厂√</td><td rowspan=6 colspan=1>4√</td><td rowspan=5 colspan=2>√</td><td rowspan=1 colspan=1>69.11</td><td rowspan=1 colspan=1>72.13</td></tr><tr><td rowspan=1 colspan=1>70.27</td><td rowspan=1 colspan=1>73.85</td></tr><tr><td rowspan=1 colspan=1>71.65</td><td rowspan=2 colspan=1>74.1273.8972.64</td></tr><tr><td rowspan=1 colspan=1>70.4969.69</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=2 colspan=1>72.5173.43</td><td rowspan=2 colspan=1>74.3975.12</td></tr><tr><td rowspan=1 colspan=2></td></tr><tr><td rowspan=1 colspan=1>√</td><td rowspan=1 colspan=2>√</td><td rowspan=1 colspan=1>74.28</td><td rowspan=1 colspan=1>75.83</td></tr></table>
|
| 170 |
+
|
| 171 |
+
# 4.3 Ablation Study
|
| 172 |
+
|
| 173 |
+
To further understand the advantages of AEL, we conduct a series of ablation studies that examine the effectiveness of different components and different hyper-parameters. All experiments are conducted on the validation set of Cityscapes dataset.
|
| 174 |
+
|
| 175 |
+
The Effectiveness of Different Components. We ablate each component of AEL step by step. Table 3 reports the studies. We use the basic framework described in Section 3.2 as our baseline, which achieves $6 9 . 1 1 \%$ and $7 2 . 1 3 \%$ under 1/32 and 1/16 protocols respectively. We first evaluate the effectiveness of each single component. As shown in the table, Dynamic Re-weighting (DR) improves the baseline by $+ 1 . 1 \%$ and $+ 1 . 7 \%$ under 1/32 and 1/16 partition protocols. Adaptive Equalization Sampling (AES) alleviates the biased training issue, achieving the improvements of $+ 2 . 5 \%$ and $+ 2 . 0 \%$ over the baseline. Adaptive CutMix (ACM) and Adaptive Copy-Paste (ACP) data augmentation approaches give more chance for under-performing categories to be sampled, and bring the improvements of $+ 1 . 3 \% / + 1 . 7 \%$ and $+ 0 . 5 \% / + 0 . 5 \%$ respectively. Furthermore, we present the performance gains in a progressive manner. On top of the DR, by leveraging AES strategy on the unsupervised loss, our method obtains improvements of $+ 2 . 3 \%$ and $+ 0 . 5 \%$ under 1/32 and 1/16 protocols. The two proposed data augmentation approaches further boost the performance to $7 4 . 2 8 \%$ and $7 5 . 8 3 \%$ , demonstrating the effectiveness of our adaptive learning.
|
| 176 |
+
|
| 177 |
+
Ablation Study on Hyper-Parameters. Table 5 ablates the tunable parameter $\gamma$ in dynamic reweighting (in Eq 13), where $\gamma = 2$ yields slightly better performance. Dynamic re-weighting is found to be insensitive to $\gamma$ .
|
| 178 |
+
|
| 179 |
+
Table 6 ablates the influence of different indicators, including Confidence (in Eq 4), Margin (in Eq 5), and Entropy (in Eq 6). We use the Confidence as the default indicator to assess the category-wise performance during training due to its best performance.
|
| 180 |
+
|
| 181 |
+
Adaptive CutMix requires a criteria to identify whether an unlabeled image contains a certain class. We use the ratio between pseudo labels of a certain category and total pixels of the input image as the criteria. Table 7 ablates different ratios.
|
| 182 |
+
|
| 183 |
+
Table 8 studies the number of sampled categories $K$ in the Adaptive Copy-Paste. We find that $K = 3$ achieves the best performance. One potential reason is that a smaller $K$ provides less training samples from the under-performing categories while a larger $K$ may increase the difficulty for training.
|
| 184 |
+
|
| 185 |
+
Table 9 ablates the loss weight $\alpha$ which is used to balance the supervised loss and unsupervised loss as shown in Eq 3. As illustrated in the table, $\alpha = 1$ achieves the best performance. We use $\alpha = 1$ in our approach for all the experiments.
|
| 186 |
+
|
| 187 |
+
# 4.4 Per-class Results
|
| 188 |
+
|
| 189 |
+
Since the class imbalance problem is severe in the Cityscapes dataset, we provide per-class results under 1/32 data partition protocol in Table 4. We choose 9 classes with the least training samples in the Cityscapes dataset as tail classes, i.e. wall, traffic light, traffic sign, rider, truck, bus, train, motorcycle and bicycle. As shown in the table, our method not only achieves the best overall mIoU, but also obtains significant improvements on tail classes. In particular, Our method outperforms the existing best method Cutmix-Seg by $+ 5 . 2 \%$ in overall mIoU and $+ 9 . 2 \%$ in mIoU for tail classes under 1/32 partition protocol.
|
| 190 |
+
|
| 191 |
+
Table 4: Per-class results on Cityscapes val set under 1/32 data partition protocol. All the methods are based on DeepLabv $^ { 3 + }$ with ResNet-101 backbone.
|
| 192 |
+
|
| 193 |
+
<table><tr><td></td><td></td><td></td><td></td><td></td><td>Head Classes</td><td></td><td></td><td></td><td colspan="10">Tail Classes</td></tr><tr><td>Methods</td><td></td><td></td><td>meno </td><td>seeaara Buping </td><td>Vegeee </td><td>Eirllrn 灵</td><td>uosiad</td><td>3u</td><td></td><td>igre</td><td></td><td>rs grgen</td><td></td><td></td><td></td><td></td><td>meroreite</td><td>eaelbir</td></tr><tr><td>Supervised</td><td></td><td>57.9</td><td>39.8 94.6</td><td>72.5 87.4</td><td>42.4 51.6</td><td>88.3 49.8</td><td>91.1</td><td>74.5</td><td>89.4</td><td>21.7</td><td>47.7</td><td>59.1</td><td>33.7</td><td>43.3</td><td>37.2</td><td></td><td>11.4 42.1</td><td>62.2</td></tr><tr><td>GCT[19]</td><td>63.2</td><td>48.1</td><td>96.9</td><td>75.8 89.8</td><td>40.3 57.5 91.1</td><td>53.5</td><td>93.1 78.1</td><td>91.6</td><td></td><td>23.6 58.9</td><td></td><td>70.1</td><td>43.4</td><td>25.8</td><td>45.7</td><td>49.2</td><td>45.0</td><td>71.4</td></tr><tr><td>MT [11]</td><td>64.1</td><td>50.4</td><td>96.7</td><td>75.6 89.5</td><td>40.0 57.3 91.0</td><td>53.2</td><td>92.80 77.9</td><td>91.3</td><td></td><td>26.2 61.1</td><td></td><td>72.3</td><td>45.8</td><td>28.0</td><td>48.1</td><td>51.6</td><td>47.1</td><td>73.8</td></tr><tr><td>CCT [4]</td><td>66.4</td><td>54.2</td><td>95.7</td><td>77.2 88.6</td><td>46.5 58.5 90.1</td><td>55.5</td><td>91.5</td><td>77.9 91.8</td><td></td><td>27.9</td><td>60.5</td><td>71.8</td><td>48.0</td><td>44.5</td><td>61.4</td><td>50.7</td><td>52.0</td><td>70.5</td></tr><tr><td>Cutmix-Seg [2]</td><td>69.1</td><td>58.7</td><td>97.2</td><td>78.6 90.1</td><td>48.1 60.1 91.5</td><td>57.2</td><td>93.0 79.6</td><td>93.3</td><td></td><td>32.4</td><td>64.8</td><td>76.5</td><td>52.3</td><td>49.4</td><td>66.0</td><td>54.8</td><td>56.7</td><td>75.1</td></tr><tr><td>AEL (Ours)</td><td>74.3</td><td>67.9</td><td>97.1</td><td>78.7 90.3</td><td>52.3 62.0 91.7</td><td>59.2</td><td>93.8</td><td>81.6 94.0</td><td></td><td>37.3</td><td>67.9</td><td>77.6</td><td>60.5</td><td>65.6</td><td>83.8</td><td>74.3</td><td>66.9</td><td>77.0</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><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>
|
| 194 |
+
|
| 195 |
+
Table 5: Study on $\gamma$ of dynamic re-weighting.
|
| 196 |
+
|
| 197 |
+
<table><tr><td>Y</td><td>1/32</td><td>1/16</td></tr><tr><td>0</td><td>69.11</td><td>72.13</td></tr><tr><td>0.5</td><td>69.74</td><td>73.28</td></tr><tr><td>1</td><td>69.35</td><td>73.67</td></tr><tr><td>2</td><td>70.27</td><td>73.85</td></tr><tr><td>3</td><td>70.26</td><td>73.40</td></tr></table>
|
| 198 |
+
|
| 199 |
+
Table 6: Study on different indicators for AES.
|
| 200 |
+
|
| 201 |
+
<table><tr><td>Indicator</td><td>1/32</td><td>1/16</td></tr><tr><td>None</td><td>70.27</td><td>73.85</td></tr><tr><td>Ent</td><td>71.38</td><td>73.21</td></tr><tr><td>Conf</td><td>72.51</td><td>74.39</td></tr><tr><td>Margin</td><td>70.86</td><td>73.05</td></tr></table>
|
| 202 |
+
|
| 203 |
+
Table 7: Study on different ratios in ACM.
|
| 204 |
+
|
| 205 |
+
<table><tr><td>Ratio</td><td>1/32</td><td>1/16</td></tr><tr><td>0.001</td><td>73.27</td><td>74.28</td></tr><tr><td>0.003</td><td>73.29</td><td>74.36</td></tr><tr><td>0.005</td><td>73.43</td><td>75.12</td></tr><tr><td>0.01</td><td>72.78</td><td>73.66</td></tr></table>
|
| 206 |
+
|
| 207 |
+
# 4.5 Performance on the Full Labeled Set
|
| 208 |
+
|
| 209 |
+
We conduct experiments where the full Cityscapes train set is used as the labeled dataset and the Cityscapes coarse set is used as the unlabeled dataset. We do not leverage any annotations from the coarse set though it provides coarsely annotated ground-truth. We randomly sample 1,000, 3,000 and 5,000 images from the coarse set to verify the proposed method. As shown in Table 10, the proposed AEL can still improve the supervised baselines by leveraging the unlabeled data though a large amount of labeled data is provided.
|
| 210 |
+
|
| 211 |
+
# 4.6 Results on ADE20K Dataset
|
| 212 |
+
|
| 213 |
+
We further provide results on the ADE20K dataset [35]. Since no previous methods in semi-supervised segmentation conducted experiments on ADE20K dataset, we compare our method with supervised baseline and existing best method Cutmix-Seg on the dataset. As shown in Table 11, our method consistently promotes the supervised baseline by $6 . 3 6 \%$ , $5 . 7 0 \%$ , $5 . 6 7 \%$ , $3 . 1 8 \%$ and $1 . 4 5 \%$ , and outperforms the Cutmix-Seg by $2 . 2 5 \%$ , $3 . 3 8 \%$ , $2 . 4 8 \%$ , $1 . 3 1 \%$ and $1 . 2 6 \%$ under 1/32, 1/16, 1/8, 1/4 and 1/2 partition protocols, respectively.
|
| 214 |
+
|
| 215 |
+
# 4.7 Qualitative Results
|
| 216 |
+
|
| 217 |
+
Figure 3 shows the visualization results of different methods evaluated on the Cityscapes val set. We compare the proposed AEL with ground-truth, supervised baseline and our basic framework described in Section 3.2. Benefiting from a series of technologies designed for the balanced training, AEL achieves great performance on not only head categories (e.g. Road), but also tailed categories (e.g. Rider and Bicycle).
|
| 218 |
+
|
| 219 |
+
Table 8: Study on number of sampled categories $K$ in ACP.
|
| 220 |
+
|
| 221 |
+
<table><tr><td>K</td><td>1/32</td><td>1/16</td></tr><tr><td>1</td><td>72.18</td><td>74.85</td></tr><tr><td>2</td><td>72.84</td><td>74.95</td></tr><tr><td>3</td><td>74.28</td><td>75.83</td></tr><tr><td>4</td><td>73.43</td><td>74.10</td></tr></table>
|
| 222 |
+
|
| 223 |
+
Table 9: Study on loss weight $\alpha$ .
|
| 224 |
+
|
| 225 |
+
<table><tr><td>α</td><td>1/32</td><td>1/16</td></tr><tr><td>0.5</td><td>71.85</td><td>74.61</td></tr><tr><td>1.0</td><td>74.28</td><td>75.83</td></tr><tr><td>1.5</td><td>74.10</td><td>73.44</td></tr><tr><td>2.0</td><td>73.79</td><td>72.86</td></tr></table>
|
| 226 |
+
|
| 227 |
+
Table 10: Performance on the full Cityscapes train set.
|
| 228 |
+
|
| 229 |
+
<table><tr><td rowspan=1 colspan=1>Number</td><td rowspan=1 colspan=1>Baseline</td><td rowspan=1 colspan=1>AEL</td></tr><tr><td rowspan=1 colspan=1>0</td><td rowspan=2 colspan=1>80.1680.22</td><td rowspan=2 colspan=1>80.28</td></tr><tr><td rowspan=1 colspan=1>1000</td></tr><tr><td rowspan=1 colspan=1>3000</td><td rowspan=1 colspan=1>80.55</td><td rowspan=1 colspan=1>81.36</td></tr><tr><td rowspan=1 colspan=1>5000</td><td rowspan=1 colspan=1>80.92</td><td rowspan=1 colspan=1>81.95</td></tr></table>
|
| 230 |
+
|
| 231 |
+
Table 11: Comparison with supervised baseline and Cutmix-Seg on the ADE20K val set under different partition protocols. All the methods are based on DeepLabv $^ { 3 + }$ with ResNet-101 backbone.
|
| 232 |
+
|
| 233 |
+
<table><tr><td rowspan=1 colspan=1>Method</td><td rowspan=1 colspan=1>1/32 (631)</td><td rowspan=1 colspan=1>1/16 (1263)</td><td rowspan=1 colspan=1>1/8 (2526)</td><td rowspan=1 colspan=1>1/4 (5052)</td><td rowspan=1 colspan=1>1/2 (10105)</td></tr><tr><td rowspan=1 colspan=1>Supervised</td><td rowspan=1 colspan=1>22.04</td><td rowspan=1 colspan=1>27.52</td><td rowspan=1 colspan=1>32.36</td><td rowspan=1 colspan=1>36.39</td><td rowspan=1 colspan=1>41.97</td></tr><tr><td rowspan=1 colspan=1>Cutmix-Seg [2]</td><td rowspan=1 colspan=1>26.15 一</td><td rowspan=1 colspan=1>29.84</td><td rowspan=1 colspan=1>35.55</td><td rowspan=1 colspan=1>38.26</td><td rowspan=1 colspan=1>42.16</td></tr><tr><td rowspan=1 colspan=1>AEL (Ours)</td><td rowspan=1 colspan=1>28.40</td><td rowspan=1 colspan=1>33.22</td><td rowspan=1 colspan=1>38.03</td><td rowspan=1 colspan=1>39.57</td><td rowspan=1 colspan=1>43.42</td></tr></table>
|
| 234 |
+
|
| 235 |
+

|
| 236 |
+
Figure 3: Qualitative results on the Cityscapes val set. From left to right: input image, ground-truth, predictions of the supervised baseline, predictions of our basic framework and predictions of the proposed AEL. Orange rectangles highlight the unsatisfactory segmentation results.
|
| 237 |
+
|
| 238 |
+
# 5 Conclusion
|
| 239 |
+
|
| 240 |
+
In this paper, we propose a novel Adaptive Equalization Learning (AEL) framework for semisupervised semantic segmentation. Different from the existing methods dedicating to the design of consistency regularization or pseudo-labeling, AEL aims to adaptively balance the training based on the fact that pixel categories in common semantic segmentation datasets tend to be imbalanced. We introduce a confidence bank to dynamically record the category-wise performance at each training step, which enables us to identify the under-performing categories and adaptively tilt training towards these categories. Several technologies are proposed to make the training unbiased, namely adaptive Copy-Paste and CutMix, adaptive equalization sampling and dynamic re-weighting. Through the adaptive design, AEL outperforms the state-of-the-art methods by a large margin on the Cityscapes and Pascal VOC benchmarks under various data partition protocols.
|
| 241 |
+
|
| 242 |
+
# Acknowledgment
|
| 243 |
+
|
| 244 |
+
This work was supported by the National Key R&D Program of China under grant 2017YFB1002804 and National Natural Science Foundation of China (No. 31771230).
|
| 245 |
+
|
| 246 |
+
References
|
| 247 |
+
[1] 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 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pages 3213–3223. IEEE Computer Society, 2016.
|
| 248 |
+
[2] Geoffrey French, Samuli Laine, Timo Aila, Michal Mackiewicz, and Graham D. Finlayson. Semi-supervised semantic segmentation needs strong, varied perturbations. In 31st British Machine Vision Conference 2020, BMVC 2020, Virtual Event, UK, September 7-10, 2020. BMVA Press, 2020.
|
| 249 |
+
[3] Jongmok Kim, Jooyoung Jang, and Hyunwoo Park. Structured consistency loss for semisupervised semantic segmentation. CoRR, abs/2001.04647, 2020.
|
| 250 |
+
[4] Yassine Ouali, Céline Hudelot, and Myriam Tami. Semi-supervised semantic segmentation with cross-consistency training. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 12671–12681. IEEE, 2020.
|
| 251 |
+
[5] Zhanghan Ke, Daoye Wang, Qiong Yan, Jimmy S. J. Ren, and Rynson W. H. Lau. Dual student: Breaking the limits of the teacher in semi-supervised learning. In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 6727–6735. IEEE, 2019.
|
| 252 |
+
[6] Jianlong Yuan, Yifan Liu, Chunhua Shen, Zhibin Wang, and Hao Li. A simple baseline for semi-supervised semantic segmentation with strong data augmentation. arXiv preprint arXiv:2104.07256, 2021.
|
| 253 |
+
[7] Xiaokang Chen, Yuhui Yuan, Gang Zeng, and Jingdong Wang. Semi-supervised semantic segmentation with cross pseudo supervision. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2613–2622, 2021.
|
| 254 |
+
[8] Yuliang Zou, Zizhao Zhang, Han Zhang, Chun-Liang Li, Xiao Bian, Jia-Bin Huang, and Tomas Pfister. Pseudoseg: Designing pseudo labels for semantic segmentation. arXiv preprint arXiv:2010.09713, 2020.
|
| 255 |
+
[9] Yves Grandvalet, Yoshua Bengio, et al. Semi-supervised learning by entropy minimization. In CAP, pages 281–296, 2005.
|
| 256 |
+
[10] Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net, 2017.
|
| 257 |
+
[11] Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 1195–1204, 2017.
|
| 258 |
+
[12] Takeru Miyato, Shin-ichi Maeda, Masanori Koyama, and Shin Ishii. Virtual adversarial training: A regularization method for supervised and semi-supervised learning. IEEE Trans. Pattern Anal. Mach. Intell., 41(8):1979–1993, 2019.
|
| 259 |
+
[13] Dong-Hyun Lee et al. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In Workshop on challenges in representation learning, ICML, volume 3, 2013.
|
| 260 |
+
[14] Kihyuk Sohn, David Berthelot, Nicholas Carlini, Zizhao Zhang, Han Zhang, Colin Raffel, Ekin Dogus Cubuk, Alexey Kurakin, and Chun-Liang Li. Fixmatch: Simplifying semisupervised learning with consistency and confidence. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020.
|
| 261 |
+
|
| 262 |
+
[15] David Berthelot, Nicholas Carlini, Ian J. Goodfellow, Nicolas Papernot, Avital Oliver, and Colin Raffel. Mixmatch: A holistic approach to semi-supervised learning. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 5050–5060, 2019.
|
| 263 |
+
|
| 264 |
+
[16] Qizhe Xie, Zihang Dai, Eduard H. Hovy, Thang Luong, and Quoc Le. Unsupervised data augmentation for consistency training. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020.
|
| 265 |
+
|
| 266 |
+
[17] 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 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020.
|
| 267 |
+
|
| 268 |
+
[18] Qizhe Xie, Minh-Thang Luong, Eduard H. Hovy, and Quoc V. Le. Self-training with noisy student improves imagenet classification. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 10684–10695. IEEE, 2020.
|
| 269 |
+
|
| 270 |
+
[19] Zhanghan Ke, Di Qiu, Kaican Li, Qiong Yan, and Rynson W. H. Lau. Guided collaborative training for pixel-wise semi-supervised learning. In Computer Vision - ECCV 2020 - 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XIII, volume 12358 of Lecture Notes in Computer Science, pages 429–445. Springer, 2020.
|
| 271 |
+
|
| 272 |
+
[20] Yuzhe Yang and Zhi Xu. Rethinking the value of labels for improving class-imbalanced learning. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020.
|
| 273 |
+
|
| 274 |
+
[21] Minsung Hyun, Jisoo Jeong, and Nojun Kwak. Class-imbalanced semi-supervised learning. CoRR, abs/2002.06815, 2020.
|
| 275 |
+
|
| 276 |
+
[22] Chen Wei, Kihyuk Sohn, Clayton Mellina, Alan L. Yuille, and Fan Yang. Crest: A class-rebalancing self-training framework for imbalanced semi-supervised learning. CoRR, abs/2102.09559, 2021.
|
| 277 |
+
|
| 278 |
+
[23] Mateusz Buda, Atsuto Maki, and Maciej A. Mazurowski. A systematic study of the class imbalance problem in convolutional neural networks. Neural Networks, 106:249–259, 2018.
|
| 279 |
+
|
| 280 |
+
[24] Jonathon Byrd and Zachary Chase Lipton. What is the effect of importance weighting in deep learning? In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 872–881. PMLR, 2019.
|
| 281 |
+
|
| 282 |
+
[25] Kaidi Cao, Colin Wei, Adrien Gaidon, Nikos Aréchiga, and Tengyu Ma. Learning imbalanced datasets with label-distribution-aware margin loss. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 1565–1576, 2019.
|
| 283 |
+
|
| 284 |
+
[26] Yin Cui, Menglin Jia, Tsung-Yi Lin, Yang Song, and Serge J. Belongie. Class-balanced loss based on effective number of samples. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2019, Long Beach, CA, USA, June 16-20, 2019, pages 9268–9277. Computer Vision Foundation / IEEE, 2019.
|
| 285 |
+
|
| 286 |
+
[27] Sangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh, Youngjoon Yoo, and Junsuk Choe. Cutmix: Regularization strategy to train strong classifiers with localizable features. In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 6022–6031. IEEE, 2019.
|
| 287 |
+
|
| 288 |
+
[28] Yu Li, Tao Wang, Bingyi Kang, Sheng Tang, Chunfeng Wang, Jintao Li, and Jiashi Feng. Overcoming classifier imbalance for long-tail object detection with balanced group softmax. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2020.
|
| 289 |
+
[29] Gyungin Shin, Weidi Xie, and Samuel Albanie. All you need are a few pixels: semantic segmentation with pixelpick. CoRR, abs/2104.06394, 2021.
|
| 290 |
+
[30] Golnaz Ghiasi, Yin Cui, Aravind Srinivas, Rui Qian, Tsung-Yi Lin, Ekin D. Cubuk, Quoc V. Le, and Barret Zoph. Simple copy-paste is a strong data augmentation method for instance segmentation. CoRR, abs/2012.07177, 2020.
|
| 291 |
+
[31] Agrim Gupta, Piotr Dollar, and Ross Girshick. Lvis: A dataset for large vocabulary instance segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5356–5364, 2019.
|
| 292 |
+
[32] Tsung-Yi Lin, Priya Goyal, Ross B. Girshick, Kaiming He, and Piotr Dollár. Focal loss for dense object detection. In IEEE International Conference on Computer Vision, ICCV 2017, Venice, Italy, October 22-29, 2017, pages 2999–3007. IEEE Computer Society, 2017.
|
| 293 |
+
[33] Mark Everingham, Luc Van Gool, Christopher K. I. Williams, John M. Winn, and Andrew Zisserman. The pascal visual object classes (VOC) challenge. Int. J. Comput. Vis., 88(2):303– 338, 2010.
|
| 294 |
+
[34] Bharath Hariharan, Pablo Arbelaez, Lubomir D. Bourdev, Subhransu Maji, and Jitendra Malik. Semantic contours from inverse detectors. In IEEE International Conference on Computer Vision, ICCV 2011, Barcelona, Spain, November 6-13, 2011, pages 991–998. IEEE Computer Society, 2011.
|
| 295 |
+
[35] Bolei Zhou, Hang Zhao, Xavier Puig, Sanja Fidler, Adela Barriuso, and Antonio Torralba. Scene parsing through ade20k dataset. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 633–641, 2017.
|
| 296 |
+
[36] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25:1097– 1105, 2012.
|
| 297 |
+
[37] Liang-Chieh Chen, Yukun Zhu, George Papandreou, Florian Schroff, and Hartwig Adam. Encoder-decoder with atrous separable convolution for semantic image segmentation. In Proceedings of the European conference on computer vision (ECCV), pages 801–818, 2018.
|
parse/train/5CGPY2VeEGb/5CGPY2VeEGb_content_list.json
ADDED
|
@@ -0,0 +1,1385 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Semi-Supervised Semantic Segmentation via Adaptive Equalization Learning ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
230,
|
| 8 |
+
122,
|
| 9 |
+
767,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Hanzhe $\\mathbf { H } \\mathbf { u } ^ { 1 , 4 * }$ Fangyun Wei2† Han $\\mathbf { H } \\mathbf { u } ^ { 2 }$ Qiwei $\\mathbf { Y e } ^ { 2 }$ Jinshi Cui1 Liwei Wang1,3† ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
202,
|
| 19 |
+
223,
|
| 20 |
+
800,
|
| 21 |
+
241
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "1Key Laboratory of Machine Perception (MOE), School of EECS, Peking University 2Microsoft Research Asia 3Institute for Artificial Intelligence, Peking University 4Zhejiang Lab huhz@pku.edu.cn {fawe, hanhu, qiwye}@microsoft.com {cjs, wanglw}@cis.pku.edu.cn ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
223,
|
| 30 |
+
241,
|
| 31 |
+
777,
|
| 32 |
+
327
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
462,
|
| 42 |
+
362,
|
| 43 |
+
535,
|
| 44 |
+
378
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Due to the limited and even imbalanced data, semi-supervised semantic segmentation tends to have poor performance on some certain categories, e.g., tailed categories in Cityscapes dataset which exhibits a long-tailed label distribution. Existing approaches almost all neglect this problem, and treat categories equally. Some popular approaches such as consistency regularization or pseudo-labeling may even harm the learning of under-performing categories, that the predictions or pseudo labels of these categories could be too inaccurate to guide the learning on the unlabeled data. In this paper, we look into this problem, and propose a novel framework for semi-supervised semantic segmentation, named adaptive equalization learning (AEL). AEL adaptively balances the training of well and badly performed categories, with a confidence bank to dynamically track category-wise performance during training. The confidence bank is leveraged as an indicator to tilt training towards under-performing categories, instantiated in three strategies: 1) adaptive Copy-Paste and CutMix data augmentation approaches which give more chance for under-performing categories to be copied or cut; 2) an adaptive data sampling approach to encourage pixels from under-performing category to be sampled; 3) a simple yet effective re-weighting method to alleviate the training noise raised by pseudo-labeling. Experimentally, AEL outperforms the state-of-the-art methods by a large margin on the Cityscapes and Pascal VOC benchmarks under various data partition protocols. Code is available at https://github.com/hzhupku/SemiSeg-AEL. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
232,
|
| 53 |
+
392,
|
| 54 |
+
766,
|
| 55 |
+
669
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
694,
|
| 66 |
+
310,
|
| 67 |
+
712
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Supervised semantic segmentation requires pixel-level labeling, which is expensive and timeconsuming. This paper is interested in semi-supervised semantic segmentation, which can greatly reduce the efforts of pixel-level annotation, yet may maintain reasonably high accuracy. One problem of common semantic segmentation datasets is that the pixel categories tend to be imbalanced, e.g., the pixel amount of head classes can be hundreds of times larger than that of tailed classes in the widely used Cityscapes dataset [1]. The situation is more serious in the semi-supervised setting where tailed classes may have extremely few samples. We note that recent approaches are mainly dedicated to the design of consistency regularization [2, 3, 4, 5, 6, 7] and pseudo-labeling [8], almost all of which neglect the imbalance problem and treat each category equally, leading to a biased training. These approaches may even harm the learning of tailed classes, as inaccurate predictions or pseudo labels of under-performing categories could falsely guide the learning on unlabeled data. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
724,
|
| 77 |
+
825,
|
| 78 |
+
877
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "image",
|
| 84 |
+
"img_path": "images/84c6174aadda18785e0a8538eb9589ef4d316b175cfc238cddd91ba661a8ef2d.jpg",
|
| 85 |
+
"image_caption": [
|
| 86 |
+
"Figure 1: We count the the training samples of each category on Cityscapes train set under 1/16 and 1/32 data partition protocols, and compare the proposed AEL with a strong semi-supervised learning baseline described in Section 3.2 which treats each category equally. Our method strives to tilt training towards tailed categories which usually tend to be under-performing. "
|
| 87 |
+
],
|
| 88 |
+
"image_footnote": [],
|
| 89 |
+
"bbox": [
|
| 90 |
+
178,
|
| 91 |
+
94,
|
| 92 |
+
821,
|
| 93 |
+
266
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 1
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "text",
|
| 99 |
+
"text": "This paper aims to alleviate this biased training problem. We propose a novel Adaptive Equalization Learning (AEL) framework, which adaptively balance the training of different categories as shown in Figure 1. Our design follows two main principles: 1) increasing the proportion of training samples from the under-performing categories; 2) tilting training towards under-performing categories. Concretely, we maintain a confidence bank to dynamically record the category-wise performance at each training step, which indicates the current performance of each category. Following principle 1), we propose two data augmentation approaches named adaptive Copy-Paste and adaptive CutMix, which give more chance for under-performing categories to be copied or cut. Following principle 2), we present an adaptive equalization sampling strategy to encourage pixels from under-performing categories to be sufficiently trained. In addition, we also introduce a simple yet effective re-weighting strategy which takes the model predictions into account to alleviate the issue that semi-supervised learning usually suffers from the training noise. ",
|
| 100 |
+
"bbox": [
|
| 101 |
+
173,
|
| 102 |
+
367,
|
| 103 |
+
826,
|
| 104 |
+
532
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "Experimentally, by using the DeepLabv $^ { 3 + }$ with ResNet-101 backbone, the proposed AEL outperforms state-of-the-art methods by a large margin on the Cityscapes and PASCAL VOC 2012 benchmarks under various data partition protocols. Specifically, it achieves $7 4 . 2 8 \\%$ , $7 5 . 8 3 \\%$ and $7 7 . 9 0 \\%$ on Cityscapes dataset under 1/32, 1/16 and 1/8 protocols, which is $+ 1 6 . 3 9 \\%$ , $+ 1 2 . 8 7 \\%$ and $+ 8 . 0 9 \\%$ better than the supervised baseline. When evaluated on PASCAL VOC 2012 benchmark, it achieves $7 6 . 9 7 \\%$ , $7 7 . 2 0 \\%$ and $7 7 . 5 7 \\%$ under 1/32, 1/16 and 1/8 protocols, which is $+ 6 . 8 3 \\%$ , $+ 6 . 6 0 \\%$ and $+ 4 . 4 5 \\%$ better than the supervised baseline. Moreover, the proposed approach also proves to improve the segmentation model trained on the full Cityscapes train set by $+ 1 . 0 3 \\%$ by leveraging $5 , 0 0 0$ images from the Cityscapes coarse set as unlabeled data, achieving $8 1 . 9 5 \\%$ . ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
173,
|
| 113 |
+
539,
|
| 114 |
+
825,
|
| 115 |
+
665
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "2 Related Work ",
|
| 122 |
+
"text_level": 1,
|
| 123 |
+
"bbox": [
|
| 124 |
+
174,
|
| 125 |
+
689,
|
| 126 |
+
321,
|
| 127 |
+
707
|
| 128 |
+
],
|
| 129 |
+
"page_idx": 1
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"type": "text",
|
| 133 |
+
"text": "Semi-Supervised Learning. Recent years have witnessed a significant progress in the SSL field. Most of them can be categorized into consistency regularization, entropy minimization [9] and pseudo-labeling. Consistency regularization [10, 11, 12] enforces consistency in predictions between different views of unlabeled data. Pseudo-labeling [13, 14] trains the model on the unlabeled data with pseudo labels generated from the model’s own predictions. Furthermore, [10, 15, 16, 17, 18] use a low softmax temperature to sharpen the predictions of unlabeled set. Our method refers to Mean Teacher [11] and FixMatch [14] when designing our basic framework. ",
|
| 134 |
+
"bbox": [
|
| 135 |
+
174,
|
| 136 |
+
724,
|
| 137 |
+
825,
|
| 138 |
+
821
|
| 139 |
+
],
|
| 140 |
+
"page_idx": 1
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"type": "text",
|
| 144 |
+
"text": "Semi-Supervised Semantic Segmentation. Existing semi-supervised semantic segmentation methods mainly focus on the design of consistency regularization and pseudo-labeling. Cutmix-Seg [2] applies CutMix augmentation on the unlabeled data. CCT [4] introduces a feature-level perturbation and enforces consistency among the predictions of different decoders. GCT [19] performs network perturbation by using two differently initialized segmentation models and encourages consistency between the predictions from the two models. PseudoSeg [8] focuses on improving the quality of pseudo labels. Though achieving satisfactory improvements over the supervised baseline, none of the aforementioned methods explore the biased learning issue in semi-supervised semantic segmentation. ",
|
| 145 |
+
"bbox": [
|
| 146 |
+
174,
|
| 147 |
+
828,
|
| 148 |
+
825,
|
| 149 |
+
911
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "image",
|
| 155 |
+
"img_path": "images/42cbc8a37147395065c989b541dfb776a6b6bd21d0bf2f7408ca9772d449ae9a.jpg",
|
| 156 |
+
"image_caption": [
|
| 157 |
+
"Figure 2: Overview of AEL. We adopt the teacher-student architecture as our basic framework. The teacher model is updated by the exponential moving average (EMA) of the student model. Confidence bank is uesd to dynamically record the category-wise performance during training. Adaptive CutMix and adaptive Copy-Paste are applied on the unlabeled and labeled data respectively to provide sufficient training samples from the under-performing categories. Adaptive equalization sampling (AES) encourages the training to involve more samples from the under-performing categories to make the training unbiased. Dynamic re-weighting strategy aims to alleviate the noise of pseudo-labeling. "
|
| 158 |
+
],
|
| 159 |
+
"image_footnote": [],
|
| 160 |
+
"bbox": [
|
| 161 |
+
181,
|
| 162 |
+
89,
|
| 163 |
+
816,
|
| 164 |
+
297
|
| 165 |
+
],
|
| 166 |
+
"page_idx": 2
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "text",
|
| 170 |
+
"text": "",
|
| 171 |
+
"bbox": [
|
| 172 |
+
174,
|
| 173 |
+
433,
|
| 174 |
+
821,
|
| 175 |
+
460
|
| 176 |
+
],
|
| 177 |
+
"page_idx": 2
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "text",
|
| 181 |
+
"text": "Class Imbalance in Semi-Supervised Learning. Although SSL has been extensively studied, class imbalance problem in SSL is relatively under-explored, especially for semantic segmentation. Yang et al. [20] demonstrate that leveraging unlabeled data can alleviate imbalance issue. Hyun et al. [21] propose a suppressed consistency loss for class-imbalanced image classification problems. CReST [22] introduces a self-training framework for imbalanced SSL. Our method, though not explicitly targeting at the class imbalance problem, focuses on improving the performance of underperforming categories which are mostly tailed classes. Moreover, we refer to the ideas of resampling [23, 24] and re-weighting [25, 26], which are designed for class imbalance problem. ",
|
| 182 |
+
"bbox": [
|
| 183 |
+
173,
|
| 184 |
+
467,
|
| 185 |
+
826,
|
| 186 |
+
579
|
| 187 |
+
],
|
| 188 |
+
"page_idx": 2
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "text",
|
| 192 |
+
"text": "3 Method ",
|
| 193 |
+
"text_level": 1,
|
| 194 |
+
"bbox": [
|
| 195 |
+
174,
|
| 196 |
+
599,
|
| 197 |
+
271,
|
| 198 |
+
616
|
| 199 |
+
],
|
| 200 |
+
"page_idx": 2
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"type": "text",
|
| 204 |
+
"text": "Given a labeled set $\\mathcal { D } ^ { l } = \\{ ( \\boldsymbol { \\mathbf { \\mathit { x } } } _ { i } ^ { l } , \\boldsymbol { \\mathbf { \\mathit { y } } } _ { i } ^ { l } ) \\}$ and an unlabeled set $\\mathcal { D } ^ { u } = \\{ \\pmb { x } _ { i } ^ { u } \\}$ , the objective of semisupervised semantic segmentation is to learn a segmentation model by efficiently leveraging both labeled and unlabeled data. In this section, we first present an overview of the proposed AEL in Section 3.1. Then we describe our basic framework for semi-supervised semantic segmentation in Section 3.2. Finally, the details of AEL are introduced in Section 3.3. ",
|
| 205 |
+
"bbox": [
|
| 206 |
+
174,
|
| 207 |
+
630,
|
| 208 |
+
825,
|
| 209 |
+
702
|
| 210 |
+
],
|
| 211 |
+
"page_idx": 2
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"type": "text",
|
| 215 |
+
"text": "3.1 Overview ",
|
| 216 |
+
"text_level": 1,
|
| 217 |
+
"bbox": [
|
| 218 |
+
174,
|
| 219 |
+
719,
|
| 220 |
+
279,
|
| 221 |
+
733
|
| 222 |
+
],
|
| 223 |
+
"page_idx": 2
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"text": "Figure 2 displays an overview of AEL, which is a data-efficient framework for semi-supervised semantic segmentation. It is composed of two parts: 1) a basic framework which contains a teacher model for pseudo-labeling and a student model for online learning; 2) dedicated modules which encourages the under-performing categories to be sufficiently trained by effectively leveraging both labeled and unlabeled data. We use the proposed confidence bank to dynamically record the categorywise performance during training, and thus we can easily identify which categories are not sufficiently trained. For those unsatisfactory categories, we present two data augmentation methods to increase their frequency of occurrence in a training batch, namely adaptive CutMix which is applied on the unlabeled data, and adaptive Copy-Paste which is applied on the labeled data. To make the model towards the unbiased learning, we propose the adaptive equalization sampling and dynamic re-weighting strategies to involve enough samples from the under-performing categories into the training, and alleviate the noise raised by pseudo-labeling simultaneously. ",
|
| 228 |
+
"bbox": [
|
| 229 |
+
173,
|
| 230 |
+
744,
|
| 231 |
+
825,
|
| 232 |
+
911
|
| 233 |
+
],
|
| 234 |
+
"page_idx": 2
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"text": "3.2 Basic Framework ",
|
| 239 |
+
"text_level": 1,
|
| 240 |
+
"bbox": [
|
| 241 |
+
174,
|
| 242 |
+
90,
|
| 243 |
+
336,
|
| 244 |
+
106
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 3
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "We first set up a basic framework for semi-supervised semantic segmentation. The framework consists of a student model and a teacher model. The teacher model has the same architecture as the student model, but uses a different set of weights which are updated by exponential moving average (EMA) of the student model [11]. Following FixMatch [14], we use the teacher model to generate a set of pseudo labels $\\hat { \\mathcal { V } } = \\{ \\hat { y } _ { i } \\}$ on the weakly augmented unlabeled data $\\mathcal { D } ^ { u }$ . Subsequently, the student model is trained on both labeled data $\\mathcal { D } ^ { l }$ (of weak augmentation) with the ground-truth and unlabeled data $\\mathcal { D } ^ { u }$ (of strong augmentation) with the generated pseudo labels $\\hat { \\mathcal { V } }$ . We use standard random resize and random horizontal flip as the weak augmentation. Strong augmentation includes CutMix [27] and all data augmentation strategies used in the weak augmentation. ",
|
| 251 |
+
"bbox": [
|
| 252 |
+
173,
|
| 253 |
+
116,
|
| 254 |
+
826,
|
| 255 |
+
247
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 3
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "The overall loss consists of the supervised loss $\\mathcal { L } _ { s }$ and the unsupervised loss $\\mathcal { L } _ { u }$ : ",
|
| 262 |
+
"bbox": [
|
| 263 |
+
173,
|
| 264 |
+
252,
|
| 265 |
+
700,
|
| 266 |
+
267
|
| 267 |
+
],
|
| 268 |
+
"page_idx": 3
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"type": "equation",
|
| 272 |
+
"img_path": "images/904fa3d968d65556a0076dc248d32d8f0b60978bed3f97ae8c557f39855cf05e.jpg",
|
| 273 |
+
"text": "$$\n\\begin{array} { l } { { \\displaystyle { \\mathcal { L } } _ { s } = \\frac { 1 } { N _ { l } } \\sum _ { i = 1 } ^ { N _ { l } } \\frac { 1 } { W H } \\sum _ { j = 1 } ^ { W H } \\ell _ { c e } ( y _ { i j } , { p } _ { i j } ) } , } \\\\ { { \\displaystyle { \\mathcal { L } } _ { u } = \\frac { 1 } { N _ { u } } \\sum _ { i = 1 } ^ { N _ { u } } \\frac { 1 } { W H } \\sum _ { j = 1 } ^ { W H } \\ell _ { c e } ( \\hat { y } _ { i j } , { p } _ { i j } ) } , } \\end{array}\n$$",
|
| 274 |
+
"text_format": "latex",
|
| 275 |
+
"bbox": [
|
| 276 |
+
356,
|
| 277 |
+
273,
|
| 278 |
+
607,
|
| 279 |
+
366
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 3
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "text",
|
| 285 |
+
"text": "where $\\pmb { p } _ { i j }$ is the prediction of the $j$ -th pixel in the $i$ -th labeled (or unlabeled) image, $N _ { l }$ and $N _ { u }$ denote the number of labeled images and unlabeled images in a training batch, $W$ and $H$ represent the width and height of the input image, and $\\ell _ { c e }$ denotes the standard pixel-wise cross-entropy loss. We define the overall loss function as: ",
|
| 286 |
+
"bbox": [
|
| 287 |
+
174,
|
| 288 |
+
375,
|
| 289 |
+
825,
|
| 290 |
+
431
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 3
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "equation",
|
| 296 |
+
"img_path": "images/a0bb52e7bd8b4bb1f0073536eb66e130989221b3a4c96a186fe839963854da7e.jpg",
|
| 297 |
+
"text": "$$\n\\mathcal { L } = \\mathcal { L } _ { s } + \\alpha \\mathcal { L } _ { u } ,\n$$",
|
| 298 |
+
"text_format": "latex",
|
| 299 |
+
"bbox": [
|
| 300 |
+
444,
|
| 301 |
+
438,
|
| 302 |
+
552,
|
| 303 |
+
453
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 3
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "text",
|
| 309 |
+
"text": "where $\\alpha$ controls the contribution of the unsupervised loss. ",
|
| 310 |
+
"bbox": [
|
| 311 |
+
173,
|
| 312 |
+
465,
|
| 313 |
+
558,
|
| 314 |
+
481
|
| 315 |
+
],
|
| 316 |
+
"page_idx": 3
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"type": "text",
|
| 320 |
+
"text": "3.3 Adaptive Equalization Learning ",
|
| 321 |
+
"text_level": 1,
|
| 322 |
+
"bbox": [
|
| 323 |
+
174,
|
| 324 |
+
497,
|
| 325 |
+
437,
|
| 326 |
+
512
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 3
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "text",
|
| 332 |
+
"text": "The baseline framework, though achieving competitive results compared with previous related works, neglects the key issues in semi-supervised semantic segmentation. Due to the limited labeled data, semi-supervised learning tends to have poor performance on some certain categories, e.g., tailed categories in Cityscapes dataset which exhibits a long-tailed label distribution. Insufficient training on these categories introduces more noise of pseudo labels which can disrupt the learning process. The proposed AEL framework aims to alleviate the degradation of under-performing categories during the semi-supervised training. Concretely, we maintain a confidence bank to record the performance of each category during training. The confidence bank enables us to identify the under-performing categories. To improve the performance of these categories and further make the training unbiased, we propose a series of technologies to efficiently leverage both labeled and unlabeled data, namely adaptive CutMix, adaptive Copy-Paste, adaptive equalization sampling and dynamic re-weighting. ",
|
| 333 |
+
"bbox": [
|
| 334 |
+
173,
|
| 335 |
+
521,
|
| 336 |
+
826,
|
| 337 |
+
675
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 3
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "text",
|
| 343 |
+
"text": "Confidence Bank. To tackle the biased training, previous methods [25, 26, 22, 28] always rely on the prior knowledge such as the number of training samples of each category to design the ad hoc sampling and weighting strategies. However, the performance of each category is not always strictly proportional to the number of training samples, because some categories tend to have discriminative features and thus fewer samples are required for training. Inspired by the recent progress [29] which applies active learning on semantic segmentation, we propose to maintain a confidence bank to record the category-wise performance during training. An indicator is needed to assess the performance of each category. ",
|
| 344 |
+
"bbox": [
|
| 345 |
+
173,
|
| 346 |
+
680,
|
| 347 |
+
825,
|
| 348 |
+
792
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 3
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "We consider several indicators, namely Confidence, Margin and Entropy. Formally, we define Confidence indicator as: ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
176,
|
| 357 |
+
796,
|
| 358 |
+
823,
|
| 359 |
+
827
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "equation",
|
| 365 |
+
"img_path": "images/b3d8981a14bb398effbfc8603fe8de7be40629254636fb105c92c9227cb42848.jpg",
|
| 366 |
+
"text": "$$\n\\mathrm { C o n f } ^ { c } = \\frac { 1 } { N _ { l } } \\sum _ { i = 1 } ^ { N _ { l } } \\frac { 1 } { N _ { i } ^ { c } } \\sum _ { j = 1 } ^ { N _ { i } ^ { c } } p _ { i j } ^ { c } , c \\in \\{ 1 , \\dots , C \\}\n$$",
|
| 367 |
+
"text_format": "latex",
|
| 368 |
+
"bbox": [
|
| 369 |
+
344,
|
| 370 |
+
832,
|
| 371 |
+
651,
|
| 372 |
+
878
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 3
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "text",
|
| 378 |
+
"text": "where $C$ is the category number, $N _ { i } ^ { c }$ denotes the number of pixels belonging to category $c$ according to its ground-truth ${ \\bf { \\it y } } _ { i } , { \\bf { \\it p } } _ { i j } ^ { c }$ denotes the $c$ -th channel prediction of the $j$ -th pixel in the $i$ -th image. ",
|
| 379 |
+
"bbox": [
|
| 380 |
+
171,
|
| 381 |
+
883,
|
| 382 |
+
828,
|
| 383 |
+
912
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 3
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "text",
|
| 389 |
+
"text": "Define Margin indicator as: ",
|
| 390 |
+
"bbox": [
|
| 391 |
+
174,
|
| 392 |
+
92,
|
| 393 |
+
356,
|
| 394 |
+
106
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 4
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "equation",
|
| 400 |
+
"img_path": "images/88fdfcf4c952a4f12b3e4d2463bf496b4ee371e36985422118046f976b1070ef.jpg",
|
| 401 |
+
"text": "$$\n\\mathrm { M a r g i n } ^ { c } = \\frac { 1 } { N _ { l } } \\sum _ { i = 1 } ^ { N _ { l } } \\frac { 1 } { N _ { i } ^ { c } } \\sum _ { j = 1 } ^ { N _ { i } ^ { c } } ( p _ { i j } ^ { c } - \\operatorname * { m a x } _ { c ^ { \\prime } \\in \\{ 1 , \\dots , C \\} } p _ { i j } ^ { c ^ { \\prime } } ) , ~ c \\in \\{ 1 , \\dots , C \\}\n$$",
|
| 402 |
+
"text_format": "latex",
|
| 403 |
+
"bbox": [
|
| 404 |
+
277,
|
| 405 |
+
111,
|
| 406 |
+
720,
|
| 407 |
+
156
|
| 408 |
+
],
|
| 409 |
+
"page_idx": 4
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"type": "text",
|
| 413 |
+
"text": "where $\\mathrm { m a x 2 ( \\cdot ) }$ denotes the second largest value operator. At last, we define Entropy indicator as: ",
|
| 414 |
+
"bbox": [
|
| 415 |
+
169,
|
| 416 |
+
161,
|
| 417 |
+
807,
|
| 418 |
+
176
|
| 419 |
+
],
|
| 420 |
+
"page_idx": 4
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"type": "equation",
|
| 424 |
+
"img_path": "images/746d3e7e478360513b6a45e12b8ac4b0137f487b3b4daec2be40d571b201adf1.jpg",
|
| 425 |
+
"text": "$$\n\\mathrm { E n t } ^ { c } = - \\frac { 1 } { N _ { l } } \\sum _ { i = 1 } ^ { N _ { l } } \\frac { 1 } { N _ { i } ^ { c } } \\sum _ { j = 1 } ^ { N _ { i } ^ { c } } \\sum _ { c ^ { \\prime } = 1 } ^ { C } p _ { i j } ^ { c ^ { \\prime } } \\log p _ { i j } ^ { c ^ { \\prime } } , c \\in \\{ 1 , \\ldots , C \\} .\n$$",
|
| 426 |
+
"text_format": "latex",
|
| 427 |
+
"bbox": [
|
| 428 |
+
303,
|
| 429 |
+
180,
|
| 430 |
+
692,
|
| 431 |
+
227
|
| 432 |
+
],
|
| 433 |
+
"page_idx": 4
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"type": "text",
|
| 437 |
+
"text": "For all of the indicators, we only take into account predictions from labeled data. Experimentally, the confidence indicator serves best in our AEL and thus we adopt it by default (see Section 4.3 for the comparison). We use EMA to update the category-wise confidence at each training step: ",
|
| 438 |
+
"bbox": [
|
| 439 |
+
173,
|
| 440 |
+
237,
|
| 441 |
+
825,
|
| 442 |
+
280
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 4
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "equation",
|
| 448 |
+
"img_path": "images/5a41cf5d5ca2387eb73473e8c14fc1133c3fa5eb1c12ccb661b7e3584ffd0b29.jpg",
|
| 449 |
+
"text": "$$\n\\mathrm { C o n f } _ { k } ^ { c } \\gets \\tau \\mathrm { C o n f } _ { k - 1 } ^ { c } + ( 1 - \\tau ) \\mathrm { C o n f } _ { k } ^ { c } , \\ c \\in \\{ 1 , \\ldots , C \\} ,\n$$",
|
| 450 |
+
"text_format": "latex",
|
| 451 |
+
"bbox": [
|
| 452 |
+
316,
|
| 453 |
+
284,
|
| 454 |
+
679,
|
| 455 |
+
301
|
| 456 |
+
],
|
| 457 |
+
"page_idx": 4
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"type": "text",
|
| 461 |
+
"text": "where $k$ denotes the $k$ -th iteration, $\\tau \\in [ 0 , 1 )$ is the momentum coefficient which is set to 0.999 experimentally. Through the confidence bank, we can easily identify the under-performing categories for the current model. ",
|
| 462 |
+
"bbox": [
|
| 463 |
+
176,
|
| 464 |
+
304,
|
| 465 |
+
825,
|
| 466 |
+
347
|
| 467 |
+
],
|
| 468 |
+
"page_idx": 4
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"type": "text",
|
| 472 |
+
"text": "Adaptive CutMix. Here we introduce the proposed adaptive CutMix (see Figure 2 for illustration) which is applied on the unlabeled data. It aims to increase the frequency of occurrence of the under-performing samples from the unlabeled data. We first formulate the original CutMix [27] as: ",
|
| 473 |
+
"bbox": [
|
| 474 |
+
173,
|
| 475 |
+
353,
|
| 476 |
+
823,
|
| 477 |
+
395
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 4
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "equation",
|
| 483 |
+
"img_path": "images/e7a4acf9408bf4cce7260b2a79848a2d230bcede95c9cf39023188b1fd508ccf.jpg",
|
| 484 |
+
"text": "$$\n\\begin{array} { r } { \\hat { I } = \\mathbf { C u t M i x } ( \\mathbf { C r o p } ( I _ { 1 } ) , I _ { 2 } ) , } \\end{array}\n$$",
|
| 485 |
+
"text_format": "latex",
|
| 486 |
+
"bbox": [
|
| 487 |
+
406,
|
| 488 |
+
400,
|
| 489 |
+
589,
|
| 490 |
+
419
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 4
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "text",
|
| 496 |
+
"text": "where $I _ { 1 }$ and $I _ { 2 }$ denote randomly selected unlabeled images, $\\hat { I }$ is the augmented image, and Crop(·) represents the random crop operation. ",
|
| 497 |
+
"bbox": [
|
| 498 |
+
174,
|
| 499 |
+
425,
|
| 500 |
+
825,
|
| 501 |
+
454
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 4
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "text",
|
| 507 |
+
"text": "Different from the original CutMix where unlabeled images are randmoly selected, the proposed adaptive CutMix gives under-performing categories a higher sampling probability. Specifically, we first convert the category-wise confidence stored in the confidence bank to the normalized sampling probability $\\pmb { r } \\in \\mathbb { R } ^ { C }$ , which can be formulated as: ",
|
| 508 |
+
"bbox": [
|
| 509 |
+
174,
|
| 510 |
+
459,
|
| 511 |
+
825,
|
| 512 |
+
515
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 4
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "equation",
|
| 518 |
+
"img_path": "images/a3981b5a05697f107532cd3b12980be4864deda7b311907243468d43a5a19aab.jpg",
|
| 519 |
+
"text": "$$\nr = \\mathrm { S o f t m a x } ( 1 - \\mathrm { C o n f } ) .\n$$",
|
| 520 |
+
"text_format": "latex",
|
| 521 |
+
"bbox": [
|
| 522 |
+
413,
|
| 523 |
+
520,
|
| 524 |
+
584,
|
| 525 |
+
537
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 4
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "According to the sampling probability, we randomly select an unlabeled image containing the sampled category as $I _ { 1 }$ , and another unlabeled image from the training batch is randomly selected as $I _ { 2 }$ . The Crop(·) operation is performed on the region containing the chosen category. After that, we can generate the augmented image by Eq 8. Since the adaptive CutMix is performed on the unlabeled data without any annotations, we use predictions as approximate ground-truth, which works well in practice. ",
|
| 532 |
+
"bbox": [
|
| 533 |
+
173,
|
| 534 |
+
541,
|
| 535 |
+
825,
|
| 536 |
+
625
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 4
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "Adaptive Copy-Paste. Copy-Paste [30] is an effective data augmentation strategy for instance segmentation. It yields significant gains on the challenging LVIS benchmark [31], especially for rare object categories. The key idea behind the Copy-Paste augmentation is to paste objects from the source image to the target image. Inspired by this, we further propose the adaptive Copy-Paste (see Figure 2 for illustration) for semi-supervised semantic segmentation. Different from adaptive CutMix, adaptive Copy-Paste augmentation strives for efficiently leveraging the labeled data. Similarly, we involve confidence bank to assess category-wise performance and use $\\mathrm { E q } 9$ to compute sampling probability. The under-performing categories have higher probability to be selected for Copy-Paste. Experimentally, the proposed adaptive Copy-Paste augmentation yields slightly better performance in the category level than the instance level. Thus we copy all pixels belonging to the sampled category in the source image and paste them on the target image. Following [30], the augmented image is composed of two randomly selected images from the labeled data and a large scale jittering is applied. ",
|
| 543 |
+
"bbox": [
|
| 544 |
+
173,
|
| 545 |
+
631,
|
| 546 |
+
826,
|
| 547 |
+
797
|
| 548 |
+
],
|
| 549 |
+
"page_idx": 4
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"type": "text",
|
| 553 |
+
"text": "Adaptive Equalization Sampling. As described in Section 1, due to the limited and unbalanced labeled data, the training tends to be biased. To alleviate the training bias, we propose a novel adaptive equalization sampling strategy which focuses training on a sparse set of under-performing samples and prevents the vast number of well-trained samples from overwhelming the model during training. Concretely, we define the sampling rate $s ^ { c }$ for category $c$ as: ",
|
| 554 |
+
"bbox": [
|
| 555 |
+
173,
|
| 556 |
+
803,
|
| 557 |
+
825,
|
| 558 |
+
873
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 4
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "equation",
|
| 564 |
+
"img_path": "images/1eb7fcdedabfa98384053cc54532fb89fbf00f73c7516a5bf4b06a3db4297157.jpg",
|
| 565 |
+
"text": "$$\ns ^ { c } = \\left[ \\frac { 1 - \\mathrm { C o n f } ^ { c } } { \\operatorname* { m a x } _ { c \\in \\{ 1 , \\dots , C \\} } \\left( 1 - \\mathrm { C o n f } ^ { c } \\right) } \\right] ^ { \\beta } , \\ c \\in \\{ 1 , \\dots , C \\} ,\n$$",
|
| 566 |
+
"text_format": "latex",
|
| 567 |
+
"bbox": [
|
| 568 |
+
316,
|
| 569 |
+
877,
|
| 570 |
+
679,
|
| 571 |
+
916
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 4
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "where $\\beta$ denotes a tunable parameter. Instead of using all pixels to compute the unsupervised loss, for category $c$ with the sampling rate $s ^ { c }$ , we randomly sample a subset of pixels according to their predictions. Then the unsupervised loss in Eq 2 can be reformulated as: ",
|
| 578 |
+
"bbox": [
|
| 579 |
+
173,
|
| 580 |
+
90,
|
| 581 |
+
825,
|
| 582 |
+
133
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 5
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "equation",
|
| 588 |
+
"img_path": "images/a5c2388530964df62124b8b02f28d37587992f88764122df5fbcf964d5fdf202.jpg",
|
| 589 |
+
"text": "$$\n\\mathcal { L } _ { u } = \\frac { 1 } { { { N _ { u } } } } { \\sum _ { i = 1 } ^ { { N _ { u } } } { \\frac { 1 } { { \\sum _ { j = 1 } ^ { { W H } } { \\mathbb { 1 } _ { i j } } } } \\sum _ { j = 1 } ^ { { W H } } { \\ell _ { c e } ( { \\hat { y } _ { i j } } , { { p _ { i j } } } ) \\mathbb { 1 } _ { i j } } } } ,\n$$",
|
| 590 |
+
"text_format": "latex",
|
| 591 |
+
"bbox": [
|
| 592 |
+
343,
|
| 593 |
+
138,
|
| 594 |
+
653,
|
| 595 |
+
183
|
| 596 |
+
],
|
| 597 |
+
"page_idx": 5
|
| 598 |
+
},
|
| 599 |
+
{
|
| 600 |
+
"type": "text",
|
| 601 |
+
"text": "where $\\mathbb { 1 } _ { i j } = 1$ indicates that the $j$ -th pixel in the $i$ -th image is sampled according to the sampling rate, otherwise $\\mathbb { 1 } _ { i j }$ is set to 0, the other terms are the same as in $\\operatorname { E q }$ . ",
|
| 602 |
+
"bbox": [
|
| 603 |
+
174,
|
| 604 |
+
188,
|
| 605 |
+
823,
|
| 606 |
+
217
|
| 607 |
+
],
|
| 608 |
+
"page_idx": 5
|
| 609 |
+
},
|
| 610 |
+
{
|
| 611 |
+
"type": "text",
|
| 612 |
+
"text": "Dynamic Re-Weighting. The performance of the model depends on the quality of pseudo labels. Existing methods [2, 4, 19] usually adopt a higher threshold on classification score to filter out most of the pixels with low-confidence. Though this strategy could alleviate the noise raised by pseudolabeling, the strict criteria leads to lower recall for the pixels from under-performing categories, which hinders the training. Another option is to discard the threshold and involve all pixels into the training. However, much more noise is introduced simultaneously. To alleviate this issue, we propose a dynamic re-weighting strategy which adds a modulating factor to the unsupervised loss in the way of semi-supervised learning. On the basis of Eq 11, we formulate our final unsupervised loss as: ",
|
| 613 |
+
"bbox": [
|
| 614 |
+
173,
|
| 615 |
+
222,
|
| 616 |
+
826,
|
| 617 |
+
333
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 5
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "equation",
|
| 623 |
+
"img_path": "images/03f1bd74b40695ef6c4a50a20d9d4f8b97bfb451f21262df873a945ac6e10fac.jpg",
|
| 624 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { L } _ { u } = \\displaystyle \\frac { 1 } { N _ { u } } \\sum _ { i = 1 } ^ { N _ { u } } \\frac { 1 } { \\sum _ { j = 1 } ^ { W H } w _ { i j } } \\sum _ { j = 1 } ^ { W H } w _ { i j } \\ell _ { c e } ( \\hat { \\pmb { y } } _ { i j } , { \\pmb { p } } _ { i j } ) , } \\\\ { w _ { i j } = \\displaystyle \\operatorname* { m a x } _ { c \\in \\{ 1 , \\dots , C \\} } ( p _ { i j } ^ { c } ) ^ { \\gamma } \\mathbb { 1 } _ { i j } , } \\end{array}\n$$",
|
| 625 |
+
"text_format": "latex",
|
| 626 |
+
"bbox": [
|
| 627 |
+
341,
|
| 628 |
+
338,
|
| 629 |
+
655,
|
| 630 |
+
411
|
| 631 |
+
],
|
| 632 |
+
"page_idx": 5
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "text",
|
| 636 |
+
"text": "where $\\gamma$ is the tunable parameter. Different from the Focal Loss [32] where the modulating factor is used for reducing the loss contribution from easy samples, our formulation aims to allocate more contributions for the convincing samples. The combination of adaptive equalization sampling and dynamic re-weighting not only involves more samples from the under-performing categories into the training, but also alleviate the noise raised by pseudo-labeling. ",
|
| 637 |
+
"bbox": [
|
| 638 |
+
173,
|
| 639 |
+
414,
|
| 640 |
+
825,
|
| 641 |
+
484
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 5
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "text",
|
| 647 |
+
"text": "4 Experiments ",
|
| 648 |
+
"text_level": 1,
|
| 649 |
+
"bbox": [
|
| 650 |
+
174,
|
| 651 |
+
502,
|
| 652 |
+
312,
|
| 653 |
+
520
|
| 654 |
+
],
|
| 655 |
+
"page_idx": 5
|
| 656 |
+
},
|
| 657 |
+
{
|
| 658 |
+
"type": "text",
|
| 659 |
+
"text": "4.1 Setup",
|
| 660 |
+
"text_level": 1,
|
| 661 |
+
"bbox": [
|
| 662 |
+
174,
|
| 663 |
+
534,
|
| 664 |
+
253,
|
| 665 |
+
549
|
| 666 |
+
],
|
| 667 |
+
"page_idx": 5
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "text",
|
| 671 |
+
"text": "Datasets. Cityscapes [1] dataset is designed for urban scene understanding. It contains 30 classes and only 19 classes of them are used for scene parsing evaluation. The dataset contains 5, 000 finely annotated images and 20, 000 coarsely annotated images. The finely annotated 5, 000 images are split into 2, 975, 500 and 1, 525 images for training, validation and testing respectively. ",
|
| 672 |
+
"bbox": [
|
| 673 |
+
174,
|
| 674 |
+
559,
|
| 675 |
+
825,
|
| 676 |
+
614
|
| 677 |
+
],
|
| 678 |
+
"page_idx": 5
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "text",
|
| 682 |
+
"text": "PASCAL VOC 2012 [33] dataset is a standard object-centric semantic segmentation dataset. It contains 20 foreground object classes and a background class. The strand training, validation and testing sets consist of 1, 464, 1, 449 and 1, 556 images, respectively. Following common practice, we use the augmented set [34] which contains 10, 582 images as the training set. ",
|
| 683 |
+
"bbox": [
|
| 684 |
+
174,
|
| 685 |
+
621,
|
| 686 |
+
825,
|
| 687 |
+
678
|
| 688 |
+
],
|
| 689 |
+
"page_idx": 5
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "text",
|
| 693 |
+
"text": "ADE20K dataset [35] is a large scale scene parsing benchmark which contains dense labels of 150 stuff/object categories. The dataset includes 20K/2K/3K images for training, validation and testing. ",
|
| 694 |
+
"bbox": [
|
| 695 |
+
174,
|
| 696 |
+
683,
|
| 697 |
+
820,
|
| 698 |
+
712
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 5
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "For both Cityscapes and PASCAL VOC 2012 datasets, 1/2, 1/4, 1/8, 1/16 and 1/32 training images are randomly sampled as the labeled training data, and the remaining images are used as the unlabeled data. For each protocol, AEL provides 5 different data folds and the final performance is the average of 5 folds. In addition, we also evaluate our method on the setting where the full Cityscapes train set is used as the labeled data and 1, 000, 3, 000 and 5, 000 images and randomly selected from the Cityscapes coarse set as the unlabeled data. ",
|
| 705 |
+
"bbox": [
|
| 706 |
+
174,
|
| 707 |
+
717,
|
| 708 |
+
825,
|
| 709 |
+
801
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 5
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"text": "Evaluation. We use single scale testing and adopt mean of Intersection over Union (mIoU) as the metric to evaluate the performance. We report the results on the Cityscapes val set and PASCAL VOC 2012 val set in comparisons with state-of-the-art methods. All ablation studies are conducted on the Cityscapes val set under 1/16 and 1/32 partition protocols. ",
|
| 716 |
+
"bbox": [
|
| 717 |
+
174,
|
| 718 |
+
808,
|
| 719 |
+
825,
|
| 720 |
+
863
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 5
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"text": "Implementation Details. We use ResNet-101 pretrained on ImageNet [36] as our backbone, remove the last two down-sampling operations and employ dilated convolutions in the subsequent convolution layers, making the output stride equal to 8. We use DeepLabv $^ { 3 + }$ [37] as the segmentation head. For ",
|
| 727 |
+
"bbox": [
|
| 728 |
+
174,
|
| 729 |
+
869,
|
| 730 |
+
825,
|
| 731 |
+
911
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 5
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "table",
|
| 737 |
+
"img_path": "images/1cd0ec48207f480b6efdbe129efdbda4bb1dfa1b50249188fd20589e5bee068c.jpg",
|
| 738 |
+
"table_caption": [
|
| 739 |
+
"Table 1: Comparison with state-of-the-art methods on the Cityscapes val set under different partition protocols. All the methods are based on DeepLabv $^ { 3 + }$ with ResNet-101 backbone. "
|
| 740 |
+
],
|
| 741 |
+
"table_footnote": [],
|
| 742 |
+
"table_body": "<table><tr><td>Method</td><td>1/32 (93)</td><td>1/16 (186)</td><td>1/8 (372)</td><td>1/4 (744)</td><td>1/2 (1488)</td></tr><tr><td>Supervised</td><td>57.89</td><td>62.96</td><td>69.81</td><td>74.23</td><td>77.46</td></tr><tr><td>MT [11]</td><td>64.07</td><td>68.05</td><td>73.56</td><td>76.66</td><td>78.39</td></tr><tr><td>CCT [4]</td><td>66.35</td><td>69.32</td><td>74.12</td><td>75.99</td><td>78.10</td></tr><tr><td>Cutmix-Seg [2]</td><td>69.11</td><td>72.13</td><td>75.83</td><td>77.24</td><td>78.95</td></tr><tr><td>GCT[19]</td><td>63.21</td><td>66.75</td><td>72.66</td><td>76.11</td><td>78.34</td></tr><tr><td>AEL (Ours)</td><td>74.28</td><td>75.83</td><td>77.90</td><td>79.01</td><td>80.28</td></tr></table>",
|
| 743 |
+
"bbox": [
|
| 744 |
+
173,
|
| 745 |
+
126,
|
| 746 |
+
826,
|
| 747 |
+
262
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 6
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "table",
|
| 753 |
+
"img_path": "images/87eb4317b3e2cfe3f0d2693f388a5a5fe71dcf9364352a67846427f173b6d829.jpg",
|
| 754 |
+
"table_caption": [
|
| 755 |
+
"Table 2: Comparison with state-of-the-art methods on the PASCAL VOC 2012 val set under different partition protocols. All the methods are based on DeepLabv $^ { 3 + }$ with ResNet-101 backbone. "
|
| 756 |
+
],
|
| 757 |
+
"table_footnote": [],
|
| 758 |
+
"table_body": "<table><tr><td rowspan=1 colspan=2>Method</td><td rowspan=1 colspan=1>1/32 (331)</td><td rowspan=1 colspan=3>1/16 (662)</td><td rowspan=1 colspan=1>1/8 (1323)</td><td rowspan=1 colspan=1>1/4 (2646)</td><td rowspan=1 colspan=1>1/2 (5291)</td></tr><tr><td rowspan=1 colspan=2>Supervised</td><td rowspan=1 colspan=1>70.14</td><td rowspan=1 colspan=3>70.60</td><td rowspan=1 colspan=1>73.12</td><td rowspan=1 colspan=1>76.35</td><td rowspan=1 colspan=1>77.21</td></tr><tr><td rowspan=2 colspan=2>MT [11]CCT[4]</td><td rowspan=1 colspan=1>70.56</td><td rowspan=1 colspan=3>71.29</td><td rowspan=2 colspan=1>73.3373.68</td><td rowspan=2 colspan=1>76.6176.51</td><td rowspan=2 colspan=1>78.0877.40</td></tr><tr><td rowspan=3 colspan=2>CCT[4]Cutmix-Seg [2]GCT [19]</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=3>71.22</td><td rowspan=1 colspan=1>71.86</td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=2 colspan=1>73.3970.32</td><td rowspan=2 colspan=3>73.5670.90</td><td rowspan=1 colspan=2></td><td rowspan=1 colspan=1>73.96</td><td rowspan=1 colspan=1>77.58</td><td rowspan=1 colspan=1>78.12</td></tr><tr><td rowspan=1 colspan=1>73.29</td><td rowspan=1 colspan=1>76.66</td><td rowspan=1 colspan=1>77.98</td></tr><tr><td rowspan=1 colspan=2>AEL (Ours)</td><td rowspan=1 colspan=1>76.97</td><td rowspan=1 colspan=3>77.20</td><td rowspan=1 colspan=1>77.57</td><td rowspan=1 colspan=1>78.06</td><td rowspan=1 colspan=1>80.29</td></tr></table>",
|
| 759 |
+
"bbox": [
|
| 760 |
+
173,
|
| 761 |
+
320,
|
| 762 |
+
826,
|
| 763 |
+
458
|
| 764 |
+
],
|
| 765 |
+
"page_idx": 6
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"type": "text",
|
| 769 |
+
"text": "Cityscapes dataset, we use stochastic gradient descent (SGD) optimizer with initial learning rate 0.01, weight decay 0.0005 and momentum 0.9. Moreover, we adopt the ‘poly’ learning rate policy, where the initial learning rate is multiplied by $\\begin{array} { r } { ( 1 - \\frac { \\mathrm { i t e r } } { \\mathrm { m a x i t e r } } ) ^ { 0 . 9 } } \\end{array}$ . We adopt the crop size as $7 6 9 \\times 7 6 9$ , batch size as 16 and training iterations as $1 8 \\mathrm { k }$ . For PASCAL VOC 2012 dataset, we set the initial learning rate as 0.001, weight decay as 0.0001, crop size as $5 1 3 \\times 5 1 3$ , batch size as 16 and training iterations as $3 0 \\mathrm { k }$ . We use random horizontal flip and random resize as the default data augmentation if not specified. All the supervised baselines are trained on the labeled data. ",
|
| 770 |
+
"bbox": [
|
| 771 |
+
173,
|
| 772 |
+
491,
|
| 773 |
+
826,
|
| 774 |
+
590
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 6
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "text",
|
| 780 |
+
"text": "4.2 Comparison with State-of-the-Art Methods ",
|
| 781 |
+
"text_level": 1,
|
| 782 |
+
"bbox": [
|
| 783 |
+
174,
|
| 784 |
+
608,
|
| 785 |
+
514,
|
| 786 |
+
623
|
| 787 |
+
],
|
| 788 |
+
"page_idx": 6
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "text",
|
| 792 |
+
"text": "We compare our method with recent semi-supervised semantic segmentation methods, including Mean Teacher (MT) [11], Cross-Consistency Training (CCT) [4], Guided Collaborative Training (GCT) [19] and Cutmix-Seg [2]. For a fair comparison, we re-implement all above methods and adopt the same network architecture (DeepLabv $^ { 3 + }$ with ResNet-101 backbone). ",
|
| 793 |
+
"bbox": [
|
| 794 |
+
174,
|
| 795 |
+
635,
|
| 796 |
+
825,
|
| 797 |
+
690
|
| 798 |
+
],
|
| 799 |
+
"page_idx": 6
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "text",
|
| 803 |
+
"text": "Results on Cityscapes Dataset. Table 1 compares AEL with state-of-the-art methods on the Cityscapes val set. Without leveraging any unlabeled data, the performance of the supervised baseline is unsatisfactory under various data partition protocols, especially for the fewer data settings, e.g., 1/32 and 1/16 protocols. Our method consistently promotes the baseline, achieving the improvements of $+ 1 6 . 4 \\%$ , $+ 1 2 . 9 \\%$ , $+ 8 . 1 \\%$ , $+ 4 . 8 \\%$ and $+ 2 . 8 \\%$ under 1/32, 1/16, 1/8, 1/4 and 1/2 partition protocols respectively. Our method also significantly outperforms the existing state-of-the-art methods by a large margin under all data partition protocols. In particular, AEL outperforms the existing best method Cutmix-Seg by $+ 5 . 2 \\%$ under extremely few data setting (1/32 protocol), and surpasses Cutmix-Seg by $+ 1 . 3 \\%$ under the $1 / 2$ protocol. ",
|
| 804 |
+
"bbox": [
|
| 805 |
+
173,
|
| 806 |
+
696,
|
| 807 |
+
825,
|
| 808 |
+
821
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 6
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "Results on PASCAL VOC 2012 Dataset. Table 2 shows comparison with state-of-the-art methods on the PASCAL VOC 2012 val dataset. AEL achieves consistent performance gains over the supervised baseline, obtaining an improvements of $+ 6 . 8 \\%$ , $+ 7 . 0 \\%$ , $+ 4 . 1 \\%$ , $+ 1 . 7 \\%$ and $+ 3 . 1 \\%$ under 1/32, 1/16, 1/8, 1/4 and $1 / 2$ partition protocols respectively. We can see that over all protocols, AEL outperforms the state-of-the-art methods. For example, our method outperforms the previous best method by $+ 3 . 6 \\%$ and $+ 2 . 2 \\%$ under the 1/32 and $1 / 2$ partition protocols. ",
|
| 815 |
+
"bbox": [
|
| 816 |
+
174,
|
| 817 |
+
828,
|
| 818 |
+
825,
|
| 819 |
+
911
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 6
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "table",
|
| 825 |
+
"img_path": "images/b8437025ffab8b0c0973549a35dc1f6e9b8f24b0b74addb7318b157e711ccdec.jpg",
|
| 826 |
+
"table_caption": [
|
| 827 |
+
"Table 3: Ablation study on the effectiveness of different components: Dynamic Re-weighting (DR), Adaptive Equalization Sampling(AES), Adaptive CutMix (ACM), Adaptive Copy-Paste (ACP). "
|
| 828 |
+
],
|
| 829 |
+
"table_footnote": [],
|
| 830 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>DR</td><td rowspan=1 colspan=1>AES</td><td rowspan=1 colspan=1>ACM</td><td rowspan=1 colspan=2>ACP</td><td rowspan=1 colspan=1>1/32 (93)</td><td rowspan=1 colspan=1>1/16 (186)</td></tr><tr><td rowspan=7 colspan=1>√√√√</td><td rowspan=7 colspan=1>厂√厂√</td><td rowspan=6 colspan=1>4√</td><td rowspan=5 colspan=2>√</td><td rowspan=1 colspan=1>69.11</td><td rowspan=1 colspan=1>72.13</td></tr><tr><td rowspan=1 colspan=1>70.27</td><td rowspan=1 colspan=1>73.85</td></tr><tr><td rowspan=1 colspan=1>71.65</td><td rowspan=2 colspan=1>74.1273.8972.64</td></tr><tr><td rowspan=1 colspan=1>70.4969.69</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=2 colspan=1>72.5173.43</td><td rowspan=2 colspan=1>74.3975.12</td></tr><tr><td rowspan=1 colspan=2></td></tr><tr><td rowspan=1 colspan=1>√</td><td rowspan=1 colspan=2>√</td><td rowspan=1 colspan=1>74.28</td><td rowspan=1 colspan=1>75.83</td></tr></table>",
|
| 831 |
+
"bbox": [
|
| 832 |
+
218,
|
| 833 |
+
125,
|
| 834 |
+
779,
|
| 835 |
+
277
|
| 836 |
+
],
|
| 837 |
+
"page_idx": 7
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"type": "text",
|
| 841 |
+
"text": "4.3 Ablation Study ",
|
| 842 |
+
"text_level": 1,
|
| 843 |
+
"bbox": [
|
| 844 |
+
174,
|
| 845 |
+
313,
|
| 846 |
+
318,
|
| 847 |
+
328
|
| 848 |
+
],
|
| 849 |
+
"page_idx": 7
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "text",
|
| 853 |
+
"text": "To further understand the advantages of AEL, we conduct a series of ablation studies that examine the effectiveness of different components and different hyper-parameters. All experiments are conducted on the validation set of Cityscapes dataset. ",
|
| 854 |
+
"bbox": [
|
| 855 |
+
176,
|
| 856 |
+
339,
|
| 857 |
+
823,
|
| 858 |
+
382
|
| 859 |
+
],
|
| 860 |
+
"page_idx": 7
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"type": "text",
|
| 864 |
+
"text": "The Effectiveness of Different Components. We ablate each component of AEL step by step. Table 3 reports the studies. We use the basic framework described in Section 3.2 as our baseline, which achieves $6 9 . 1 1 \\%$ and $7 2 . 1 3 \\%$ under 1/32 and 1/16 protocols respectively. We first evaluate the effectiveness of each single component. As shown in the table, Dynamic Re-weighting (DR) improves the baseline by $+ 1 . 1 \\%$ and $+ 1 . 7 \\%$ under 1/32 and 1/16 partition protocols. Adaptive Equalization Sampling (AES) alleviates the biased training issue, achieving the improvements of $+ 2 . 5 \\%$ and $+ 2 . 0 \\%$ over the baseline. Adaptive CutMix (ACM) and Adaptive Copy-Paste (ACP) data augmentation approaches give more chance for under-performing categories to be sampled, and bring the improvements of $+ 1 . 3 \\% / + 1 . 7 \\%$ and $+ 0 . 5 \\% / + 0 . 5 \\%$ respectively. Furthermore, we present the performance gains in a progressive manner. On top of the DR, by leveraging AES strategy on the unsupervised loss, our method obtains improvements of $+ 2 . 3 \\%$ and $+ 0 . 5 \\%$ under 1/32 and 1/16 protocols. The two proposed data augmentation approaches further boost the performance to $7 4 . 2 8 \\%$ and $7 5 . 8 3 \\%$ , demonstrating the effectiveness of our adaptive learning. ",
|
| 865 |
+
"bbox": [
|
| 866 |
+
173,
|
| 867 |
+
387,
|
| 868 |
+
825,
|
| 869 |
+
568
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 7
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "text",
|
| 875 |
+
"text": "Ablation Study on Hyper-Parameters. Table 5 ablates the tunable parameter $\\gamma$ in dynamic reweighting (in Eq 13), where $\\gamma = 2$ yields slightly better performance. Dynamic re-weighting is found to be insensitive to $\\gamma$ . ",
|
| 876 |
+
"bbox": [
|
| 877 |
+
174,
|
| 878 |
+
574,
|
| 879 |
+
825,
|
| 880 |
+
616
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 7
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "text",
|
| 886 |
+
"text": "Table 6 ablates the influence of different indicators, including Confidence (in Eq 4), Margin (in Eq 5), and Entropy (in Eq 6). We use the Confidence as the default indicator to assess the category-wise performance during training due to its best performance. ",
|
| 887 |
+
"bbox": [
|
| 888 |
+
174,
|
| 889 |
+
622,
|
| 890 |
+
825,
|
| 891 |
+
664
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 7
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "Adaptive CutMix requires a criteria to identify whether an unlabeled image contains a certain class. We use the ratio between pseudo labels of a certain category and total pixels of the input image as the criteria. Table 7 ablates different ratios. ",
|
| 898 |
+
"bbox": [
|
| 899 |
+
174,
|
| 900 |
+
670,
|
| 901 |
+
825,
|
| 902 |
+
712
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 7
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "Table 8 studies the number of sampled categories $K$ in the Adaptive Copy-Paste. We find that $K = 3$ achieves the best performance. One potential reason is that a smaller $K$ provides less training samples from the under-performing categories while a larger $K$ may increase the difficulty for training. ",
|
| 909 |
+
"bbox": [
|
| 910 |
+
174,
|
| 911 |
+
718,
|
| 912 |
+
825,
|
| 913 |
+
761
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 7
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "Table 9 ablates the loss weight $\\alpha$ which is used to balance the supervised loss and unsupervised loss as shown in Eq 3. As illustrated in the table, $\\alpha = 1$ achieves the best performance. We use $\\alpha = 1$ in our approach for all the experiments. ",
|
| 920 |
+
"bbox": [
|
| 921 |
+
174,
|
| 922 |
+
766,
|
| 923 |
+
825,
|
| 924 |
+
809
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 7
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "text",
|
| 930 |
+
"text": "4.4 Per-class Results ",
|
| 931 |
+
"text_level": 1,
|
| 932 |
+
"bbox": [
|
| 933 |
+
174,
|
| 934 |
+
828,
|
| 935 |
+
330,
|
| 936 |
+
843
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 7
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "Since the class imbalance problem is severe in the Cityscapes dataset, we provide per-class results under 1/32 data partition protocol in Table 4. We choose 9 classes with the least training samples in the Cityscapes dataset as tail classes, i.e. wall, traffic light, traffic sign, rider, truck, bus, train, motorcycle and bicycle. As shown in the table, our method not only achieves the best overall mIoU, but also obtains significant improvements on tail classes. In particular, Our method outperforms the existing best method Cutmix-Seg by $+ 5 . 2 \\%$ in overall mIoU and $+ 9 . 2 \\%$ in mIoU for tail classes under 1/32 partition protocol. ",
|
| 943 |
+
"bbox": [
|
| 944 |
+
174,
|
| 945 |
+
856,
|
| 946 |
+
825,
|
| 947 |
+
911
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 7
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "table",
|
| 953 |
+
"img_path": "images/5c694b589e79e829be31f5c9c39d8fd4acbd4b61118ed4a57376f9e0db0b4cfa.jpg",
|
| 954 |
+
"table_caption": [
|
| 955 |
+
"Table 4: Per-class results on Cityscapes val set under 1/32 data partition protocol. All the methods are based on DeepLabv $^ { 3 + }$ with ResNet-101 backbone. "
|
| 956 |
+
],
|
| 957 |
+
"table_footnote": [],
|
| 958 |
+
"table_body": "<table><tr><td></td><td></td><td></td><td></td><td></td><td>Head Classes</td><td></td><td></td><td></td><td colspan=\"10\">Tail Classes</td></tr><tr><td>Methods</td><td></td><td></td><td>meno </td><td>seeaara Buping </td><td>Vegeee </td><td>Eirllrn 灵</td><td>uosiad</td><td>3u</td><td></td><td>igre</td><td></td><td>rs grgen</td><td></td><td></td><td></td><td></td><td>meroreite</td><td>eaelbir</td></tr><tr><td>Supervised</td><td></td><td>57.9</td><td>39.8 94.6</td><td>72.5 87.4</td><td>42.4 51.6</td><td>88.3 49.8</td><td>91.1</td><td>74.5</td><td>89.4</td><td>21.7</td><td>47.7</td><td>59.1</td><td>33.7</td><td>43.3</td><td>37.2</td><td></td><td>11.4 42.1</td><td>62.2</td></tr><tr><td>GCT[19]</td><td>63.2</td><td>48.1</td><td>96.9</td><td>75.8 89.8</td><td>40.3 57.5 91.1</td><td>53.5</td><td>93.1 78.1</td><td>91.6</td><td></td><td>23.6 58.9</td><td></td><td>70.1</td><td>43.4</td><td>25.8</td><td>45.7</td><td>49.2</td><td>45.0</td><td>71.4</td></tr><tr><td>MT [11]</td><td>64.1</td><td>50.4</td><td>96.7</td><td>75.6 89.5</td><td>40.0 57.3 91.0</td><td>53.2</td><td>92.80 77.9</td><td>91.3</td><td></td><td>26.2 61.1</td><td></td><td>72.3</td><td>45.8</td><td>28.0</td><td>48.1</td><td>51.6</td><td>47.1</td><td>73.8</td></tr><tr><td>CCT [4]</td><td>66.4</td><td>54.2</td><td>95.7</td><td>77.2 88.6</td><td>46.5 58.5 90.1</td><td>55.5</td><td>91.5</td><td>77.9 91.8</td><td></td><td>27.9</td><td>60.5</td><td>71.8</td><td>48.0</td><td>44.5</td><td>61.4</td><td>50.7</td><td>52.0</td><td>70.5</td></tr><tr><td>Cutmix-Seg [2]</td><td>69.1</td><td>58.7</td><td>97.2</td><td>78.6 90.1</td><td>48.1 60.1 91.5</td><td>57.2</td><td>93.0 79.6</td><td>93.3</td><td></td><td>32.4</td><td>64.8</td><td>76.5</td><td>52.3</td><td>49.4</td><td>66.0</td><td>54.8</td><td>56.7</td><td>75.1</td></tr><tr><td>AEL (Ours)</td><td>74.3</td><td>67.9</td><td>97.1</td><td>78.7 90.3</td><td>52.3 62.0 91.7</td><td>59.2</td><td>93.8</td><td>81.6 94.0</td><td></td><td>37.3</td><td>67.9</td><td>77.6</td><td>60.5</td><td>65.6</td><td>83.8</td><td>74.3</td><td>66.9</td><td>77.0</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><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>",
|
| 959 |
+
"bbox": [
|
| 960 |
+
173,
|
| 961 |
+
126,
|
| 962 |
+
825,
|
| 963 |
+
300
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 8
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "table",
|
| 969 |
+
"img_path": "images/225f9d7a55b61fee6c7a572d9876080e27e60f7c6a6101101285f696c22271af.jpg",
|
| 970 |
+
"table_caption": [
|
| 971 |
+
"Table 5: Study on $\\gamma$ of dynamic re-weighting. "
|
| 972 |
+
],
|
| 973 |
+
"table_footnote": [],
|
| 974 |
+
"table_body": "<table><tr><td>Y</td><td>1/32</td><td>1/16</td></tr><tr><td>0</td><td>69.11</td><td>72.13</td></tr><tr><td>0.5</td><td>69.74</td><td>73.28</td></tr><tr><td>1</td><td>69.35</td><td>73.67</td></tr><tr><td>2</td><td>70.27</td><td>73.85</td></tr><tr><td>3</td><td>70.26</td><td>73.40</td></tr></table>",
|
| 975 |
+
"bbox": [
|
| 976 |
+
174,
|
| 977 |
+
359,
|
| 978 |
+
370,
|
| 979 |
+
458
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 8
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "table",
|
| 985 |
+
"img_path": "images/ed9198751b599a08e740dbcc849f70510eddc1a706f925c82fdbd91646939ffa.jpg",
|
| 986 |
+
"table_caption": [
|
| 987 |
+
"Table 6: Study on different indicators for AES. "
|
| 988 |
+
],
|
| 989 |
+
"table_footnote": [],
|
| 990 |
+
"table_body": "<table><tr><td>Indicator</td><td>1/32</td><td>1/16</td></tr><tr><td>None</td><td>70.27</td><td>73.85</td></tr><tr><td>Ent</td><td>71.38</td><td>73.21</td></tr><tr><td>Conf</td><td>72.51</td><td>74.39</td></tr><tr><td>Margin</td><td>70.86</td><td>73.05</td></tr></table>",
|
| 991 |
+
"bbox": [
|
| 992 |
+
400,
|
| 993 |
+
359,
|
| 994 |
+
598,
|
| 995 |
+
445
|
| 996 |
+
],
|
| 997 |
+
"page_idx": 8
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"type": "table",
|
| 1001 |
+
"img_path": "images/c4e383cc00c32bdc681cbb7df0965b2783a019964e241fea687c03662063c837.jpg",
|
| 1002 |
+
"table_caption": [
|
| 1003 |
+
"Table 7: Study on different ratios in ACM. "
|
| 1004 |
+
],
|
| 1005 |
+
"table_footnote": [],
|
| 1006 |
+
"table_body": "<table><tr><td>Ratio</td><td>1/32</td><td>1/16</td></tr><tr><td>0.001</td><td>73.27</td><td>74.28</td></tr><tr><td>0.003</td><td>73.29</td><td>74.36</td></tr><tr><td>0.005</td><td>73.43</td><td>75.12</td></tr><tr><td>0.01</td><td>72.78</td><td>73.66</td></tr></table>",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
625,
|
| 1009 |
+
359,
|
| 1010 |
+
823,
|
| 1011 |
+
444
|
| 1012 |
+
],
|
| 1013 |
+
"page_idx": 8
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"type": "text",
|
| 1017 |
+
"text": "",
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
176,
|
| 1020 |
+
489,
|
| 1021 |
+
823,
|
| 1022 |
+
532
|
| 1023 |
+
],
|
| 1024 |
+
"page_idx": 8
|
| 1025 |
+
},
|
| 1026 |
+
{
|
| 1027 |
+
"type": "text",
|
| 1028 |
+
"text": "4.5 Performance on the Full Labeled Set ",
|
| 1029 |
+
"text_level": 1,
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
176,
|
| 1032 |
+
551,
|
| 1033 |
+
467,
|
| 1034 |
+
568
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 8
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "We conduct experiments where the full Cityscapes train set is used as the labeled dataset and the Cityscapes coarse set is used as the unlabeled dataset. We do not leverage any annotations from the coarse set though it provides coarsely annotated ground-truth. We randomly sample 1,000, 3,000 and 5,000 images from the coarse set to verify the proposed method. As shown in Table 10, the proposed AEL can still improve the supervised baselines by leveraging the unlabeled data though a large amount of labeled data is provided. ",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
174,
|
| 1043 |
+
579,
|
| 1044 |
+
825,
|
| 1045 |
+
662
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 8
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "text",
|
| 1051 |
+
"text": "4.6 Results on ADE20K Dataset ",
|
| 1052 |
+
"text_level": 1,
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
176,
|
| 1055 |
+
683,
|
| 1056 |
+
408,
|
| 1057 |
+
698
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 8
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "We further provide results on the ADE20K dataset [35]. Since no previous methods in semi-supervised segmentation conducted experiments on ADE20K dataset, we compare our method with supervised baseline and existing best method Cutmix-Seg on the dataset. As shown in Table 11, our method consistently promotes the supervised baseline by $6 . 3 6 \\%$ , $5 . 7 0 \\%$ , $5 . 6 7 \\%$ , $3 . 1 8 \\%$ and $1 . 4 5 \\%$ , and outperforms the Cutmix-Seg by $2 . 2 5 \\%$ , $3 . 3 8 \\%$ , $2 . 4 8 \\%$ , $1 . 3 1 \\%$ and $1 . 2 6 \\%$ under 1/32, 1/16, 1/8, 1/4 and 1/2 partition protocols, respectively. ",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
174,
|
| 1066 |
+
710,
|
| 1067 |
+
825,
|
| 1068 |
+
795
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 8
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "4.7 Qualitative Results ",
|
| 1075 |
+
"text_level": 1,
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
174,
|
| 1078 |
+
814,
|
| 1079 |
+
344,
|
| 1080 |
+
829
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 8
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "text",
|
| 1086 |
+
"text": "Figure 3 shows the visualization results of different methods evaluated on the Cityscapes val set. We compare the proposed AEL with ground-truth, supervised baseline and our basic framework described in Section 3.2. Benefiting from a series of technologies designed for the balanced training, AEL achieves great performance on not only head categories (e.g. Road), but also tailed categories (e.g. Rider and Bicycle). ",
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
173,
|
| 1089 |
+
842,
|
| 1090 |
+
825,
|
| 1091 |
+
911
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 8
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "table",
|
| 1097 |
+
"img_path": "images/4442df744d82afa537af7dfc670e86f3728222d633a4a03ecf9f2a0197d9ea68.jpg",
|
| 1098 |
+
"table_caption": [
|
| 1099 |
+
"Table 8: Study on number of sampled categories $K$ in ACP. "
|
| 1100 |
+
],
|
| 1101 |
+
"table_footnote": [],
|
| 1102 |
+
"table_body": "<table><tr><td>K</td><td>1/32</td><td>1/16</td></tr><tr><td>1</td><td>72.18</td><td>74.85</td></tr><tr><td>2</td><td>72.84</td><td>74.95</td></tr><tr><td>3</td><td>74.28</td><td>75.83</td></tr><tr><td>4</td><td>73.43</td><td>74.10</td></tr></table>",
|
| 1103 |
+
"bbox": [
|
| 1104 |
+
174,
|
| 1105 |
+
126,
|
| 1106 |
+
370,
|
| 1107 |
+
209
|
| 1108 |
+
],
|
| 1109 |
+
"page_idx": 9
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"type": "table",
|
| 1113 |
+
"img_path": "images/d6e0570d702a1fdfb01066d60e363a9d22949d879236c65702f580602821b73d.jpg",
|
| 1114 |
+
"table_caption": [
|
| 1115 |
+
"Table 9: Study on loss weight $\\alpha$ . "
|
| 1116 |
+
],
|
| 1117 |
+
"table_footnote": [],
|
| 1118 |
+
"table_body": "<table><tr><td>α</td><td>1/32</td><td>1/16</td></tr><tr><td>0.5</td><td>71.85</td><td>74.61</td></tr><tr><td>1.0</td><td>74.28</td><td>75.83</td></tr><tr><td>1.5</td><td>74.10</td><td>73.44</td></tr><tr><td>2.0</td><td>73.79</td><td>72.86</td></tr></table>",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
400,
|
| 1121 |
+
125,
|
| 1122 |
+
598,
|
| 1123 |
+
210
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 9
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "table",
|
| 1129 |
+
"img_path": "images/d9082c6212c0ba7b18f24c0136109717e9334a84f4fca2b2892414b593562873.jpg",
|
| 1130 |
+
"table_caption": [
|
| 1131 |
+
"Table 10: Performance on the full Cityscapes train set. "
|
| 1132 |
+
],
|
| 1133 |
+
"table_footnote": [],
|
| 1134 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Number</td><td rowspan=1 colspan=1>Baseline</td><td rowspan=1 colspan=1>AEL</td></tr><tr><td rowspan=1 colspan=1>0</td><td rowspan=2 colspan=1>80.1680.22</td><td rowspan=2 colspan=1>80.28</td></tr><tr><td rowspan=1 colspan=1>1000</td></tr><tr><td rowspan=1 colspan=1>3000</td><td rowspan=1 colspan=1>80.55</td><td rowspan=1 colspan=1>81.36</td></tr><tr><td rowspan=1 colspan=1>5000</td><td rowspan=1 colspan=1>80.92</td><td rowspan=1 colspan=1>81.95</td></tr></table>",
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
625,
|
| 1137 |
+
125,
|
| 1138 |
+
823,
|
| 1139 |
+
210
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 9
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "table",
|
| 1145 |
+
"img_path": "images/e38da7803cef615c9e4c1dc63b866fb57f30cad54092794f61a8cf6d19863b5b.jpg",
|
| 1146 |
+
"table_caption": [
|
| 1147 |
+
"Table 11: Comparison with supervised baseline and Cutmix-Seg on the ADE20K val set under different partition protocols. All the methods are based on DeepLabv $^ { 3 + }$ with ResNet-101 backbone. "
|
| 1148 |
+
],
|
| 1149 |
+
"table_footnote": [],
|
| 1150 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Method</td><td rowspan=1 colspan=1>1/32 (631)</td><td rowspan=1 colspan=1>1/16 (1263)</td><td rowspan=1 colspan=1>1/8 (2526)</td><td rowspan=1 colspan=1>1/4 (5052)</td><td rowspan=1 colspan=1>1/2 (10105)</td></tr><tr><td rowspan=1 colspan=1>Supervised</td><td rowspan=1 colspan=1>22.04</td><td rowspan=1 colspan=1>27.52</td><td rowspan=1 colspan=1>32.36</td><td rowspan=1 colspan=1>36.39</td><td rowspan=1 colspan=1>41.97</td></tr><tr><td rowspan=1 colspan=1>Cutmix-Seg [2]</td><td rowspan=1 colspan=1>26.15 一</td><td rowspan=1 colspan=1>29.84</td><td rowspan=1 colspan=1>35.55</td><td rowspan=1 colspan=1>38.26</td><td rowspan=1 colspan=1>42.16</td></tr><tr><td rowspan=1 colspan=1>AEL (Ours)</td><td rowspan=1 colspan=1>28.40</td><td rowspan=1 colspan=1>33.22</td><td rowspan=1 colspan=1>38.03</td><td rowspan=1 colspan=1>39.57</td><td rowspan=1 colspan=1>43.42</td></tr></table>",
|
| 1151 |
+
"bbox": [
|
| 1152 |
+
173,
|
| 1153 |
+
270,
|
| 1154 |
+
825,
|
| 1155 |
+
361
|
| 1156 |
+
],
|
| 1157 |
+
"page_idx": 9
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "image",
|
| 1161 |
+
"img_path": "images/1dfaed8e0950061c019275aed03487718cd0bfa80cf10041a6a93e28cc20fec6.jpg",
|
| 1162 |
+
"image_caption": [
|
| 1163 |
+
"Figure 3: Qualitative results on the Cityscapes val set. From left to right: input image, ground-truth, predictions of the supervised baseline, predictions of our basic framework and predictions of the proposed AEL. Orange rectangles highlight the unsatisfactory segmentation results. "
|
| 1164 |
+
],
|
| 1165 |
+
"image_footnote": [],
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
176,
|
| 1168 |
+
390,
|
| 1169 |
+
821,
|
| 1170 |
+
558
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 9
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "5 Conclusion ",
|
| 1177 |
+
"text_level": 1,
|
| 1178 |
+
"bbox": [
|
| 1179 |
+
174,
|
| 1180 |
+
642,
|
| 1181 |
+
297,
|
| 1182 |
+
659
|
| 1183 |
+
],
|
| 1184 |
+
"page_idx": 9
|
| 1185 |
+
},
|
| 1186 |
+
{
|
| 1187 |
+
"type": "text",
|
| 1188 |
+
"text": "In this paper, we propose a novel Adaptive Equalization Learning (AEL) framework for semisupervised semantic segmentation. Different from the existing methods dedicating to the design of consistency regularization or pseudo-labeling, AEL aims to adaptively balance the training based on the fact that pixel categories in common semantic segmentation datasets tend to be imbalanced. We introduce a confidence bank to dynamically record the category-wise performance at each training step, which enables us to identify the under-performing categories and adaptively tilt training towards these categories. Several technologies are proposed to make the training unbiased, namely adaptive Copy-Paste and CutMix, adaptive equalization sampling and dynamic re-weighting. Through the adaptive design, AEL outperforms the state-of-the-art methods by a large margin on the Cityscapes and Pascal VOC benchmarks under various data partition protocols. ",
|
| 1189 |
+
"bbox": [
|
| 1190 |
+
174,
|
| 1191 |
+
679,
|
| 1192 |
+
825,
|
| 1193 |
+
818
|
| 1194 |
+
],
|
| 1195 |
+
"page_idx": 9
|
| 1196 |
+
},
|
| 1197 |
+
{
|
| 1198 |
+
"type": "text",
|
| 1199 |
+
"text": "Acknowledgment ",
|
| 1200 |
+
"text_level": 1,
|
| 1201 |
+
"bbox": [
|
| 1202 |
+
176,
|
| 1203 |
+
847,
|
| 1204 |
+
320,
|
| 1205 |
+
863
|
| 1206 |
+
],
|
| 1207 |
+
"page_idx": 9
|
| 1208 |
+
},
|
| 1209 |
+
{
|
| 1210 |
+
"type": "text",
|
| 1211 |
+
"text": "This work was supported by the National Key R&D Program of China under grant 2017YFB1002804 and National Natural Science Foundation of China (No. 31771230). ",
|
| 1212 |
+
"bbox": [
|
| 1213 |
+
174,
|
| 1214 |
+
883,
|
| 1215 |
+
821,
|
| 1216 |
+
911
|
| 1217 |
+
],
|
| 1218 |
+
"page_idx": 9
|
| 1219 |
+
},
|
| 1220 |
+
{
|
| 1221 |
+
"type": "text",
|
| 1222 |
+
"text": "References \n[1] 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 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pages 3213–3223. IEEE Computer Society, 2016. \n[2] Geoffrey French, Samuli Laine, Timo Aila, Michal Mackiewicz, and Graham D. Finlayson. Semi-supervised semantic segmentation needs strong, varied perturbations. In 31st British Machine Vision Conference 2020, BMVC 2020, Virtual Event, UK, September 7-10, 2020. BMVA Press, 2020. \n[3] Jongmok Kim, Jooyoung Jang, and Hyunwoo Park. Structured consistency loss for semisupervised semantic segmentation. CoRR, abs/2001.04647, 2020. \n[4] Yassine Ouali, Céline Hudelot, and Myriam Tami. Semi-supervised semantic segmentation with cross-consistency training. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 12671–12681. IEEE, 2020. \n[5] Zhanghan Ke, Daoye Wang, Qiong Yan, Jimmy S. J. Ren, and Rynson W. H. Lau. Dual student: Breaking the limits of the teacher in semi-supervised learning. In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 6727–6735. IEEE, 2019. \n[6] Jianlong Yuan, Yifan Liu, Chunhua Shen, Zhibin Wang, and Hao Li. A simple baseline for semi-supervised semantic segmentation with strong data augmentation. arXiv preprint arXiv:2104.07256, 2021. \n[7] Xiaokang Chen, Yuhui Yuan, Gang Zeng, and Jingdong Wang. Semi-supervised semantic segmentation with cross pseudo supervision. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2613–2622, 2021. \n[8] Yuliang Zou, Zizhao Zhang, Han Zhang, Chun-Liang Li, Xiao Bian, Jia-Bin Huang, and Tomas Pfister. Pseudoseg: Designing pseudo labels for semantic segmentation. arXiv preprint arXiv:2010.09713, 2020. \n[9] Yves Grandvalet, Yoshua Bengio, et al. Semi-supervised learning by entropy minimization. In CAP, pages 281–296, 2005. \n[10] Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net, 2017. \n[11] Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 1195–1204, 2017. \n[12] Takeru Miyato, Shin-ichi Maeda, Masanori Koyama, and Shin Ishii. Virtual adversarial training: A regularization method for supervised and semi-supervised learning. IEEE Trans. Pattern Anal. Mach. Intell., 41(8):1979–1993, 2019. \n[13] Dong-Hyun Lee et al. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In Workshop on challenges in representation learning, ICML, volume 3, 2013. \n[14] Kihyuk Sohn, David Berthelot, Nicholas Carlini, Zizhao Zhang, Han Zhang, Colin Raffel, Ekin Dogus Cubuk, Alexey Kurakin, and Chun-Liang Li. Fixmatch: Simplifying semisupervised learning with consistency and confidence. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. ",
|
| 1223 |
+
"bbox": [
|
| 1224 |
+
173,
|
| 1225 |
+
70,
|
| 1226 |
+
826,
|
| 1227 |
+
919
|
| 1228 |
+
],
|
| 1229 |
+
"page_idx": 10
|
| 1230 |
+
},
|
| 1231 |
+
{
|
| 1232 |
+
"type": "text",
|
| 1233 |
+
"text": "[15] David Berthelot, Nicholas Carlini, Ian J. Goodfellow, Nicolas Papernot, Avital Oliver, and Colin Raffel. Mixmatch: A holistic approach to semi-supervised learning. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 5050–5060, 2019. ",
|
| 1234 |
+
"bbox": [
|
| 1235 |
+
174,
|
| 1236 |
+
90,
|
| 1237 |
+
826,
|
| 1238 |
+
160
|
| 1239 |
+
],
|
| 1240 |
+
"page_idx": 11
|
| 1241 |
+
},
|
| 1242 |
+
{
|
| 1243 |
+
"type": "text",
|
| 1244 |
+
"text": "[16] Qizhe Xie, Zihang Dai, Eduard H. Hovy, Thang Luong, and Quoc Le. Unsupervised data augmentation for consistency training. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. ",
|
| 1245 |
+
"bbox": [
|
| 1246 |
+
173,
|
| 1247 |
+
172,
|
| 1248 |
+
826,
|
| 1249 |
+
229
|
| 1250 |
+
],
|
| 1251 |
+
"page_idx": 11
|
| 1252 |
+
},
|
| 1253 |
+
{
|
| 1254 |
+
"type": "text",
|
| 1255 |
+
"text": "[17] 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 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020. ",
|
| 1256 |
+
"bbox": [
|
| 1257 |
+
173,
|
| 1258 |
+
241,
|
| 1259 |
+
826,
|
| 1260 |
+
297
|
| 1261 |
+
],
|
| 1262 |
+
"page_idx": 11
|
| 1263 |
+
},
|
| 1264 |
+
{
|
| 1265 |
+
"type": "text",
|
| 1266 |
+
"text": "[18] Qizhe Xie, Minh-Thang Luong, Eduard H. Hovy, and Quoc V. Le. Self-training with noisy student improves imagenet classification. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 10684–10695. IEEE, 2020. ",
|
| 1267 |
+
"bbox": [
|
| 1268 |
+
174,
|
| 1269 |
+
309,
|
| 1270 |
+
826,
|
| 1271 |
+
366
|
| 1272 |
+
],
|
| 1273 |
+
"page_idx": 11
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"type": "text",
|
| 1277 |
+
"text": "[19] Zhanghan Ke, Di Qiu, Kaican Li, Qiong Yan, and Rynson W. H. Lau. Guided collaborative training for pixel-wise semi-supervised learning. In Computer Vision - ECCV 2020 - 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XIII, volume 12358 of Lecture Notes in Computer Science, pages 429–445. Springer, 2020. ",
|
| 1278 |
+
"bbox": [
|
| 1279 |
+
174,
|
| 1280 |
+
377,
|
| 1281 |
+
826,
|
| 1282 |
+
434
|
| 1283 |
+
],
|
| 1284 |
+
"page_idx": 11
|
| 1285 |
+
},
|
| 1286 |
+
{
|
| 1287 |
+
"type": "text",
|
| 1288 |
+
"text": "[20] Yuzhe Yang and Zhi Xu. Rethinking the value of labels for improving class-imbalanced learning. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. ",
|
| 1289 |
+
"bbox": [
|
| 1290 |
+
173,
|
| 1291 |
+
445,
|
| 1292 |
+
826,
|
| 1293 |
+
502
|
| 1294 |
+
],
|
| 1295 |
+
"page_idx": 11
|
| 1296 |
+
},
|
| 1297 |
+
{
|
| 1298 |
+
"type": "text",
|
| 1299 |
+
"text": "[21] Minsung Hyun, Jisoo Jeong, and Nojun Kwak. Class-imbalanced semi-supervised learning. CoRR, abs/2002.06815, 2020. ",
|
| 1300 |
+
"bbox": [
|
| 1301 |
+
171,
|
| 1302 |
+
513,
|
| 1303 |
+
825,
|
| 1304 |
+
544
|
| 1305 |
+
],
|
| 1306 |
+
"page_idx": 11
|
| 1307 |
+
},
|
| 1308 |
+
{
|
| 1309 |
+
"type": "text",
|
| 1310 |
+
"text": "[22] Chen Wei, Kihyuk Sohn, Clayton Mellina, Alan L. Yuille, and Fan Yang. Crest: A class-rebalancing self-training framework for imbalanced semi-supervised learning. CoRR, abs/2102.09559, 2021. ",
|
| 1311 |
+
"bbox": [
|
| 1312 |
+
174,
|
| 1313 |
+
554,
|
| 1314 |
+
825,
|
| 1315 |
+
598
|
| 1316 |
+
],
|
| 1317 |
+
"page_idx": 11
|
| 1318 |
+
},
|
| 1319 |
+
{
|
| 1320 |
+
"type": "text",
|
| 1321 |
+
"text": "[23] Mateusz Buda, Atsuto Maki, and Maciej A. Mazurowski. A systematic study of the class imbalance problem in convolutional neural networks. Neural Networks, 106:249–259, 2018. ",
|
| 1322 |
+
"bbox": [
|
| 1323 |
+
173,
|
| 1324 |
+
609,
|
| 1325 |
+
823,
|
| 1326 |
+
638
|
| 1327 |
+
],
|
| 1328 |
+
"page_idx": 11
|
| 1329 |
+
},
|
| 1330 |
+
{
|
| 1331 |
+
"type": "text",
|
| 1332 |
+
"text": "[24] Jonathon Byrd and Zachary Chase Lipton. What is the effect of importance weighting in deep learning? In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 872–881. PMLR, 2019. ",
|
| 1333 |
+
"bbox": [
|
| 1334 |
+
174,
|
| 1335 |
+
650,
|
| 1336 |
+
825,
|
| 1337 |
+
707
|
| 1338 |
+
],
|
| 1339 |
+
"page_idx": 11
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"type": "text",
|
| 1343 |
+
"text": "[25] Kaidi Cao, Colin Wei, Adrien Gaidon, Nikos Aréchiga, and Tengyu Ma. Learning imbalanced datasets with label-distribution-aware margin loss. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 1565–1576, 2019. ",
|
| 1344 |
+
"bbox": [
|
| 1345 |
+
174,
|
| 1346 |
+
718,
|
| 1347 |
+
826,
|
| 1348 |
+
775
|
| 1349 |
+
],
|
| 1350 |
+
"page_idx": 11
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "text",
|
| 1354 |
+
"text": "[26] Yin Cui, Menglin Jia, Tsung-Yi Lin, Yang Song, and Serge J. Belongie. Class-balanced loss based on effective number of samples. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2019, Long Beach, CA, USA, June 16-20, 2019, pages 9268–9277. Computer Vision Foundation / IEEE, 2019. ",
|
| 1355 |
+
"bbox": [
|
| 1356 |
+
174,
|
| 1357 |
+
786,
|
| 1358 |
+
826,
|
| 1359 |
+
843
|
| 1360 |
+
],
|
| 1361 |
+
"page_idx": 11
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"type": "text",
|
| 1365 |
+
"text": "[27] Sangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh, Youngjoon Yoo, and Junsuk Choe. Cutmix: Regularization strategy to train strong classifiers with localizable features. In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 6022–6031. IEEE, 2019. ",
|
| 1366 |
+
"bbox": [
|
| 1367 |
+
174,
|
| 1368 |
+
856,
|
| 1369 |
+
826,
|
| 1370 |
+
911
|
| 1371 |
+
],
|
| 1372 |
+
"page_idx": 11
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "text",
|
| 1376 |
+
"text": "[28] Yu Li, Tao Wang, Bingyi Kang, Sheng Tang, Chunfeng Wang, Jintao Li, and Jiashi Feng. Overcoming classifier imbalance for long-tail object detection with balanced group softmax. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2020. \n[29] Gyungin Shin, Weidi Xie, and Samuel Albanie. All you need are a few pixels: semantic segmentation with pixelpick. CoRR, abs/2104.06394, 2021. \n[30] Golnaz Ghiasi, Yin Cui, Aravind Srinivas, Rui Qian, Tsung-Yi Lin, Ekin D. Cubuk, Quoc V. Le, and Barret Zoph. Simple copy-paste is a strong data augmentation method for instance segmentation. CoRR, abs/2012.07177, 2020. \n[31] Agrim Gupta, Piotr Dollar, and Ross Girshick. Lvis: A dataset for large vocabulary instance segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5356–5364, 2019. \n[32] Tsung-Yi Lin, Priya Goyal, Ross B. Girshick, Kaiming He, and Piotr Dollár. Focal loss for dense object detection. In IEEE International Conference on Computer Vision, ICCV 2017, Venice, Italy, October 22-29, 2017, pages 2999–3007. IEEE Computer Society, 2017. \n[33] Mark Everingham, Luc Van Gool, Christopher K. I. Williams, John M. Winn, and Andrew Zisserman. The pascal visual object classes (VOC) challenge. Int. J. Comput. Vis., 88(2):303– 338, 2010. \n[34] Bharath Hariharan, Pablo Arbelaez, Lubomir D. Bourdev, Subhransu Maji, and Jitendra Malik. Semantic contours from inverse detectors. In IEEE International Conference on Computer Vision, ICCV 2011, Barcelona, Spain, November 6-13, 2011, pages 991–998. IEEE Computer Society, 2011. \n[35] Bolei Zhou, Hang Zhao, Xavier Puig, Sanja Fidler, Adela Barriuso, and Antonio Torralba. Scene parsing through ade20k dataset. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 633–641, 2017. \n[36] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25:1097– 1105, 2012. \n[37] Liang-Chieh Chen, Yukun Zhu, George Papandreou, Florian Schroff, and Hartwig Adam. Encoder-decoder with atrous separable convolution for semantic image segmentation. In Proceedings of the European conference on computer vision (ECCV), pages 801–818, 2018. ",
|
| 1377 |
+
"bbox": [
|
| 1378 |
+
171,
|
| 1379 |
+
90,
|
| 1380 |
+
828,
|
| 1381 |
+
617
|
| 1382 |
+
],
|
| 1383 |
+
"page_idx": 12
|
| 1384 |
+
}
|
| 1385 |
+
]
|
parse/train/5CGPY2VeEGb/5CGPY2VeEGb_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/5CGPY2VeEGb/5CGPY2VeEGb_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/EbIDjBynYJ8/EbIDjBynYJ8.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/EbIDjBynYJ8/EbIDjBynYJ8_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/EbIDjBynYJ8/EbIDjBynYJ8_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/EbIDjBynYJ8/EbIDjBynYJ8_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1AG8zYeg/S1AG8zYeg.md
ADDED
|
@@ -0,0 +1,392 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
|
| 5 |
+
Department of EECS
|
| 6 |
+
University of Michigan
|
| 7 |
+
Ann Arbor, MI 48109, USA
|
| 8 |
+
{llajan,honglak,radev}@umich.edu
|
| 9 |
+
|
| 10 |
+
# ABSTRACT
|
| 11 |
+
|
| 12 |
+
Modeling the structure of coherent texts is a task of great importance in NLP. The task of organizing a given set of sentences into a coherent order has been commonly used to build and evaluate models that understand such structure. In this work we propose an end-to-end neural approach based on the recently proposed set to sequence mapping framework to address the sentence ordering problem. Our model achieves state-of-the-art performance in the order discrimination task on two datasets widely used in the literature. We also consider a new interesting task of ordering abstracts from conference papers and research proposals and demonstrate strong performance against recent methods. Visualizing the sentence representations learned by the model shows that the model has captured high level logical structure in these paragraphs. The model also learns rich semantic sentence representations by learning to order texts, performing comparably to recent unsupervised representation learning methods in the sentence similarity and paraphrase detection tasks.
|
| 13 |
+
|
| 14 |
+
# 1 INTRODUCTION
|
| 15 |
+
|
| 16 |
+
Modeling the structure of coherent texts is one of the central problems in NLP. A well written piece of text has a particular high level logical and topical structure to it. The actual word and sentence choices as well as their transitions come together to convey the purpose of the text. Our overarching goal is to build models that can learn such structure by learning to arrange a given set of sentences to make coherent text.
|
| 17 |
+
|
| 18 |
+
The sentence ordering task finds several applications. Multi-document Summarization (MDS) and retrieval based question answering involve extracting information from multiple source documents and organizing the content into a coherent summary. Since the relative ordering about sentences that come from different sources can be unclear, being able to automatically evaluate a particular order and/or finding the optimal order is essential. Barzilay and Elhadad (2002) discuss the importance of an explicit ordering component in MDS systems. Their experiments show that finding an acceptable ordering can enhance user comprehension.
|
| 19 |
+
|
| 20 |
+
Models that learn to order text fragments can also be used as models of coherence. Automated essay scoring (Miltsakaki and Kukich, 2004; Burstein et al., 2010) is an application that can benefit from such a coherence model. Coherence is one of the key elements on which student essays are evaluated in standardized writing tests such as GRE (ETS). Apart from its importance and applications, our motivation to address this problem also stems from its stimulating nature. It can be considered as a jigsaw puzzle of sorts in the language domain.
|
| 21 |
+
|
| 22 |
+
Our approach to the problem of modeling coherence is driven by recent successes in 1) capturing semantics using distributed representations and 2) using RNNs for sequence modeling tasks.
|
| 23 |
+
|
| 24 |
+
Success in unsupervised approaches for learning embeddings for textual entities from large text corpora altered the way NLP problems are studied today. These embeddings have been shown to capture syntactic and semantic information as well as higher level analogical structure. These methods have been adopted to learn vector representations of sentences, paragraphs and entire documents. Embedding based approaches allow models to be trained end-to-end from scratch with no handcrafting.
|
| 25 |
+
|
| 26 |
+
Recurrent Neural Networks (RNNs) have become the de facto approach to sequence learning and mapping problems in recent times. The Sequence to sequence mapping framework (Sutskever et al., 2014), as well as several of its variants have fuelled RNN based approaches to a wide variety of problems including language modeling, language generation, machine translation, question answering and many others.
|
| 27 |
+
|
| 28 |
+
Vinyals et al. (2015a) recently showed that the order in which tokens of the input sequence are fed to seq2seq models has a significant impact on the performance of the model. In particular, for problems such as sorting which involve a source set (as opposed to a sequence), the optimal order to feed the tokens is not clear. They introduce an attention mechanism over the input tokens which allows the model to learn a soft input order. This is called the read, process and write (or set to sequence) framework. The read block maps the input tokens to a fixed length vector representation. The process block is an RNN encoder which, at each time step, attends to the input token embeddings and computes an attention readout, appending it to the current hidden state. The write block is an RNN which produces the target sequence conditioned on the representation produced by the process block.
|
| 29 |
+
|
| 30 |
+
In this work we propose an RNN based approach to the sentence ordering problem which exploits the set to sequence framework. A word level RNN encoder produces sentence embeddings. A sentence level set encoder RNN iteratively attends to these embeddings (process block above) and constructs a representation of the context. Initialized with this representation, a sentence level pointer network RNN points to the next sentence candidates.
|
| 31 |
+
|
| 32 |
+
The most widely studied task relevant to sentence ordering and coherence modeling in the literature is the order discrimination task. Given a document and a permuted version of it, the task involves identifying the more coherent ordering of the two. Our proposed model achieves state of the art performance on two benchmark datasets for this task, outperforming several classical approaches and more recent data-driven approaches.
|
| 33 |
+
|
| 34 |
+
Addressing the more challenging task of ordering a given collection of sentences, we consider the novel and interesting task of ordering sentences from abstracts of conference papers and research grants. Our model strongly outperforms previous work on this task. We visualize the learned sentence representations and show that our model captures high level discourse structure. We provide visualizations that aid understanding what information in the sentences the model uses to identify the next sentence. We also study the quality of the sentence representations learned by the model by training the model on a large text corpus and show that these embeddings are comparable to recent unsupervised methods in capturing semantics.
|
| 35 |
+
|
| 36 |
+
In summary our key contributions are as follows,
|
| 37 |
+
|
| 38 |
+
• We propose an end to end trainable model based on the set to sequence framework to address the challenging problem of organizing a given collection of sentences in a coherent order. • We consider the novel task of understanding structure in abstract paragraphs and demonstrate state of the art results in order discrimination and sentence ordering tasks. • We demonstrate that the proposed model is capable of learning semantic representations of sentences that are comparable to recently proposed methods for learning such representations.
|
| 39 |
+
|
| 40 |
+
# 2 RELATED WORK
|
| 41 |
+
|
| 42 |
+
Coherence modeling and sentence ordering The coherence modeling and sentence ordering tasks have been approached by closely related techniques. Most approaches propose a measure of coherence and formulate the ordering problem as finding an order with maximal coherence. Recurring themes from prior work include linguistic features, centering theory, local and global coherence.
|
| 43 |
+
|
| 44 |
+
Local coherence has been modeled by considering properties of a local window of sentences such as sentence similarity and sentence transition structure. Foltz et al. (1998) represent words using vectors of co-occurent counts and sentences as a mean of these word vectors. Sentence similarity is defined as the cosine distance between sentence vectors and text coherence is modeled as a normalized sum of similarity scores of adjacent sentences. Lapata (2003) represents sentences by vectors of linguistic features and learn the transition probabilities from one set of features to another in adjacent sentences. A popular model of coherence is the Entity-Grid model Barzilay and Lapata (2008) which captures local coherence by modeling patterns of entity distributions in the discourse. Sentences are represented by the syntactic roles of entities appearing in the document and entity transition frequencies in successive sentences are treated as features that are are used to train a ranking SVM. These two approaches find motivation from ideas in centering theory (Grosz et al., 1995) which state that nouns and entities in coherent discourses exhibit certain patterns.
|
| 45 |
+
|
| 46 |
+
Global models of coherence typically use an HMM to model document structure. The content model proposed by Barzilay and Lee (2004) represents topics in a particular domain as states in an HMM. State transitions capture possible presentation orderings within the domain. Words of a sentence are modeled using a topic-specific language model. The content model has inspired several subsequent work to combine the strengths of local and global models. Elsner et al. (2007) combine the entity model and the content model using a non-parametric HMM. Soricut and Marcu (2006) use several models as feature functions and define a log linear model to assign probability to a given text. Louis and Nenkova (2012) attempt to capture the intentional structure in documents using syntax as a proxy for the communicative goal of a sentence. Syntax features such as parse tree production rules and constituency tags at a particular tree depth were used.
|
| 47 |
+
|
| 48 |
+
Unlike previous approaches, we do not employ any handcrafted features and adopt an embedding based approach. Local coherence is taken into account by having a next sentence prediction component in the model and global dependencies are naturally captured by an RNN. We demonstrate that our model is able to capture both logical and topical structure by evaluating its performance on different types of data.
|
| 49 |
+
|
| 50 |
+
Data-driven approaches Neural approaches have gained attention more recently. Li and Hovy (2014) model sentences as embeddings derived from recurrent/recursive neural nets and train a feedforward neural network that takes an input window of sentence embeddings and outputs a probability which represents the coherence of the sentence window. Coherence evaluation is performed by sliding the window over the text and aggregating the score. Li and Jurafsky (2016) study the same model in a larger scale task and also consider a sequence to sequence approach where the model is trained to generate the next sentence given the current sentence and vice versa. Chen et al. (2016) also propose a sentence embedding based approach where they model the probability that one sentence should come before another and define coherence based on the likelihood of the relative order of every pair of sentences. We believe these models are limited by the fact that they are local in nature and our experiments show that exploiting larger contexts can be very beneficial.
|
| 51 |
+
|
| 52 |
+
Hierarchical RNNs for document modeling Word level and sentence level RNNs have been used in a hierarchical fashion for modeling documents in prior work. Li et al. (2015b) proposed a hierarchical document autoencoder which has potential to be used in generation and summarization applications. More relevant to our work is a similar model (but without an encoder) considered by Lin et al. (2015). A sentence level RNN predicts the bag of words in the next sentence given the previous sentences and a word level RNN predicts the word sequence conditioned on the sentence level RNN hidden state. The model has a structure similar to the content model of Barzilay and Lee (2004) with RNNs playing the roles of the HMM and the bigram language model. Our model has a hierarchical nature in that a sentence level RNN operates over words of a sentence and a document level RNN operates over sentence embeddings.
|
| 53 |
+
|
| 54 |
+
Combinatorial optimization with RNNs Vinyals et al. (2015a) equip sequence to sequence models with the capability to handle input and output sets, and discuss experiments on sorting, language modeling and parsing. Their goal is to show that input and output orderings can matter in these tasks, which is demonstrated using several small scale experiments. Our work exploits this framework to address the challenging problem of modeling logical and hierarchical structure in text. Vinyals et al. (2015b) proposed pointer-networks, aimed at combinatorial optimization problems where the output dictionary size depends on the number of input elements. We use a pointer-network that points to each of the next sentence candidates as the decoder.
|
| 55 |
+
|
| 56 |
+

|
| 57 |
+
Figure 1: Model Overview: Illustration of the sentence encoder and single time-step computations in encoder and decoder. $s _ { i }$ ’s represent sentence embeddings derived from the sentence encoder. Attention weights are computed for the sentences based on their embeddings and the current hidden state. In the encoder an attention readout is concatenated with the LSTM output to form the next hidden state. The decoder uses the attention weights for prediction.
|
| 58 |
+
|
| 59 |
+
# 3 APPROACH
|
| 60 |
+
|
| 61 |
+
Our proposed model is inspired by the way a human would solve this task. First, the model attempts to read the sentences to capture the semantics of the sentences as well as the general context of the paragraph. Given this knowledge, the model attempts to pick the sentences one by one sequentially till exhaustion.
|
| 62 |
+
|
| 63 |
+
Our model is based on the read, process and write framework proposed by Vinyals et al. (2015a) briefly discussed in section 1. We use the encoder-decoder terminology that is more common in the literature in the following discussion.
|
| 64 |
+
|
| 65 |
+
The model is comprised of a sentence encoder RNN, an encoder RNN and a decoder RNN (figure 1). An RNN sentence encoder takes as input the words of a sentence $s$ sequentially and computes an embedding representation of the sentence (Figure 1a). Henceforth, we shall use $s$ to refer to a sentence or its embedding interchangeably. The embeddings $\{ s _ { 1 } , s _ { 2 } , . . . , s _ { n } \}$ of a given set of $n$ sentences constitute the sentence memory, available to be accessed by subsequent components.
|
| 66 |
+
|
| 67 |
+
The encoder is identical to the originally proposed process block and is defined by equations 1-5 (See Figure 1b). Following the regular LSTM hidden state $( h _ { \mathrm { e n c } } ^ { t - 1 } , c _ { \mathrm { e n c } } ^ { t - 1 } )$ update, the hidden state is concatenated with an attention readout vector $s _ { \mathrm { a t t } } ^ { t }$ , and this concatenated vector is treated as the hidden state for the next time step (Equation 5). Attention probabilities are computed by composing the hidden state with embeddings of the candidate sentences through a scoring function $f$ and taking the softmax (Equations 2, 3). This process is iterated for a number of times, called the number of read cycles. As described in Vinyals et al. (2015a) the encoder has the desirable property of being invariant to the order in which the sentence embeddings reside in the memory. The LSTM used here does not take any inputs (input is clamped to zero).
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
\begin{array} { r l } & { \tilde { h } _ { \mathrm { e n c } } ^ { t } , c _ { \mathrm { e n c } } ^ { t } = \mathrm { L S T M } ( h _ { \mathrm { e n c } } ^ { t - 1 } , c _ { \mathrm { e n c } } ^ { t - 1 } ) } \\ & { \qquad e _ { \mathrm { e n c } } ^ { t , i } = f ( s _ { i } , \tilde { h } _ { \mathrm { e n c } } ^ { t } ) ; i \in \{ 1 , . . . , n \} } \\ & { \qquad a _ { \mathrm { e n c } } ^ { t } = \mathrm { S o f t m a x } ( e _ { \mathrm { e n c } } ^ { t } ) } \\ & { \qquad s _ { \mathrm { a t t } } ^ { t } = \displaystyle \sum _ { i = 1 } ^ { n } a _ { \mathrm { e n c } } ^ { t , i } s _ { i } } \\ & { \qquad k _ { \mathrm { e n c } } ^ { t } = \widetilde { [ h } _ { \mathrm { e n c } } ^ { t } , ~ s _ { \mathrm { a t t } } ^ { t } ] } \end{array}
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
The decoder is a pointer network that takes a similar form with a few differences (equations 6-8, Figure 1c). The LSTM takes the embedding of the previous sentence also as input: At training time the correct order of sentences $( s _ { o _ { 1 } } , s _ { o _ { 2 } } , . . . , \bar { s } _ { o _ { n } } ) = ( \bar { x } ^ { 1 } , x ^ { 2 } , . . . , x ^ { n } )$ is known $\scriptstyle { \dot { o } }$ represents the correct order) and $x ^ { t - 1 }$ is used as the input. At test time the predicted assignment $\hat { x } ^ { t - 1 }$ is used instead. This makes concatenating the attention readout to the hidden state somewhat redundant (verified empirically), and hence it is omitted. The attention computation is identical to that of the encoder. The initial state of the decoder LSTM is initialized with the final hidden state of the encoder as in sequence to sequence models.1 $x ^ { 0 }$ is a vector of zeros. Figure 1 illustrates the single time-step computation in the encoder and decoder.
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
\begin{array} { r l } & { h _ { \mathrm { d e c } } ^ { t } , c _ { \mathrm { d e c } } ^ { t } = \mathrm { L S T M } ( h _ { \mathrm { d e c } } ^ { t - 1 } , c _ { \mathrm { d e c } } ^ { t - 1 } , x ^ { t - 1 } ) } \\ & { ~ e _ { \mathrm { d e c } } ^ { t , i } = f ( s _ { i } , h _ { \mathrm { d e c } } ^ { t } ) ; i \in \{ 1 , . . . , n \} ~ } \\ & { ~ a _ { \mathrm { d e c } } ^ { t } = \mathrm { S o f t m a x } ( e _ { \mathrm { d e c } } ^ { t } ) } \end{array}
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
The attention probability $a _ { \mathrm { d e c } } ^ { t , i }$ is interpreted as the probability for $s _ { i }$ being the correct sentence choice at position $t$ , conditioned on the previous sentence assignments $p ( S _ { t } = s _ { i } | S _ { 1 } , . . . , S _ { t - 1 } )$ .
|
| 80 |
+
|
| 81 |
+
# 3.1 SCORING FUNCTION
|
| 82 |
+
|
| 83 |
+
We consider two choices for the scoring functions $f$ in our experiments. The first one is a single hidden layer feed-forward net that takes $s , h$ as inputs and outputs a score
|
| 84 |
+
|
| 85 |
+
$$
|
| 86 |
+
f ( s , h ) = W ^ { \prime } { \operatorname { t a n h } } ( W [ s ; h ] + b ) + b ^ { \prime }
|
| 87 |
+
$$
|
| 88 |
+
|
| 89 |
+
where $W , b , W ^ { \prime } , b ^ { \prime }$ are learnable parameters. This scoring function takes a discriminative approach in classifying the next sentence. Note that the structure of this scoring function is similar to the window network in Li and Hovy (2014). While they used a local window of sentences to capture context, this scoring function exploits the RNN hidden state to score sentence candidates.
|
| 90 |
+
|
| 91 |
+
We also consider a bilinear scoring function
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
f ( s , h ) = s ^ { T } ( W h + b )
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
Compared to the previous scoring function, this takes a generative approach of trying to regress the next sentence given the current hidden state $\left( W h + b \right)$ and enforcing that it be most similar to the correct next sentence. We observed that this scoring function led to learning better sentence representations (section 4.4).
|
| 98 |
+
|
| 99 |
+
# 3.2 TRAINING OBJECTIVE
|
| 100 |
+
|
| 101 |
+
The model is trained with the maximum likelihood objective:
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
\operatorname* { m a x } \sum _ { x \in D } \sum _ { t = 1 } ^ { | x | } \log p ( x ^ { t } | x ^ { 1 } , . . . , x ^ { t - 1 } )
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
where $D$ denotes the training set and each training instance is given by an ordered document of sentences $x = ( x ^ { 1 } , . . . , x ^ { | x | } )$ . We also considered an alternative structured margin loss which imposes less penalty for assigning high scores to sentence candidates that are close to the correct sentence in the source document instead of uniformly penalizing all incorrect sentence candidates. However, the softmax output with cross entropy loss consistently performed better.
|
| 108 |
+
|
| 109 |
+
# 3.3 COHERENCE MODELING
|
| 110 |
+
|
| 111 |
+
We define the coherence score of an arbitrary partial/complete assignment $( s _ { p _ { 1 } } , . . . , s _ { p _ { k } } )$ to the first $k$ sentence positions as
|
| 112 |
+
|
| 113 |
+
$$
|
| 114 |
+
\sum _ { i = 1 } ^ { k } \log p ( S _ { i } = s _ { p _ { i } } | S _ { 1 } = s _ { p _ { 1 } } , . . . , S _ { i - 1 } = s _ { p _ { i - 1 } } )
|
| 115 |
+
$$
|
| 116 |
+
|
| 117 |
+
where $S _ { 1 } , . . , S _ { k }$ are random variables representing the sentence assignment to positions 1 through $k$ . The conditional probabilities are derived from the network. This is our measure of comparing the coherence of different renderings of a document. It is also used as a heuristic during decoding.
|
| 118 |
+
|
| 119 |
+
Table 1: Statistics of data used in our experiments. For the first two datasets, the test set size\* is the number of permutation pairs used for order discrimination experiments.
|
| 120 |
+
|
| 121 |
+
<table><tr><td rowspan="2">Dataset</td><td colspan="4">Length Statistics</td><td colspan="3">Data Split</td><td rowspan="2">Types</td></tr><tr><td>Min</td><td>Mode</td><td>Mean</td><td>Max</td><td>Train</td><td>Val</td><td>Test</td></tr><tr><td>Accidents</td><td>6</td><td>11</td><td>11.6</td><td>19</td><td>100</td><td>-</td><td>1986*</td><td>5,140</td></tr><tr><td>Earthquakes</td><td>3</td><td>7</td><td>10.4</td><td>31</td><td>100</td><td>1</td><td>1956*</td><td>3,775</td></tr><tr><td>NIPS abstracts</td><td>2</td><td>7</td><td>6</td><td>15</td><td>2448</td><td>409</td><td>402</td><td>18,696</td></tr><tr><td>AAN abstracts</td><td>1</td><td>4</td><td>5</td><td>20</td><td>8569</td><td>962</td><td>2626</td><td>40,288</td></tr><tr><td>NSF abstracts</td><td>2</td><td>7</td><td>8.9</td><td>40</td><td>96070</td><td>10185</td><td>21580</td><td>373,909</td></tr></table>
|
| 122 |
+
|
| 123 |
+
# 4 EXPERIMENTAL RESULTS
|
| 124 |
+
|
| 125 |
+
# 4.1 MODEL TRAINING
|
| 126 |
+
|
| 127 |
+
For all tasks discussed in this section we train the model with the same objective (equation 11) on the training data relevant to the task. We used the single hidden layer MLP scoring function for the order discrimination and sentence ordering tasks. Models are trained end-to-end.
|
| 128 |
+
|
| 129 |
+
Model parameters. We use pre-trained 300 dimensional GloVe word embeddings (Pennington et al., 2014). All LSTMs use a hidden layer size of 1000 and the MLP in section 9 has a hidden layer size of 500. The number of read cycles in the encoder is set to 10. The same model architecture is used across all experiments.
|
| 130 |
+
|
| 131 |
+
Preprocessing. The nltk sentence tokenizer was used for word tokenization. The GloVe vocabulary was used as the reference vocabulary. Any word not in the vocabulary is checked for a case insensitive match. If a token is hyphenated, we check if the constituent words are in the vocabulary. In the AAN abstracts data (section 4.3.1), some words tend to have a hyphen in the middle because of word hyphenation across lines in the original document. Hence we also check if stripping hyphens produces a vocabulary word. If all checks fail, and a token appears in the training set above a certain frequency, it is added to the vocabulary.
|
| 132 |
+
|
| 133 |
+
Learning . We used a batch size of 10 and the Adam optimizer (Kingma and Ba, 2014) with a base learning rate of 5e-4 for all experiments. Early stopping is used for regularization.
|
| 134 |
+
|
| 135 |
+
# 4.2 ORDER DISCRIMINATION
|
| 136 |
+
|
| 137 |
+
Finding the optimal ordering is a difficult problem when a large number of sentences are required to be rearranged or when there is inherent ambiguity in the ordering of the sentences. For this reason, the ordering problem is commonly formulated as the following binary classification task. Given a reference paragraph and a permuted version of it, the more coherently organized one needs to be identified (Barzilay and Lapata, 2008).
|
| 138 |
+
|
| 139 |
+
# 4.2.1 DATA
|
| 140 |
+
|
| 141 |
+
We consider data from two different domains that have been widely used for this task in previous work since Barzilay and Lee (2004); Barzilay and Lapata (2008). The ACCIDENTS data (aka AIRPLANE data) is a set of aviation accident reports from the National Transportation Safety Board’s database. The EARTHQUAKES data comprises newspaper articles from the North American News Text Corpus. In each of the above datasets the training and test sets include 100 articles as well as approximately 20 permutations of each article. Further statistics about the data are shown in table 1.
|
| 142 |
+
|
| 143 |
+
# 4.2.2 RESULTS
|
| 144 |
+
|
| 145 |
+
Table 2 compares the performance of our model against prior approaches. We compare results against traditional approaches in the literature as well as some recent data-driven approaches (See section 2 for more details). The entity grid model provides a strong baseline on the ACCIDENTS dataset, only outperformed by our model and Li and Jurafsky (2016) . On the EARTHQUAKE data the window approach of Li and Hovy (2014) and Li and Jurafsky (2016) perform strongly. Our approach outperforms prior models on both datasets, achieving near perfect performance on the Earthquakes dataset.
|
| 146 |
+
|
| 147 |
+
Table 2: Mean Accuracy comparison on the Accidents and Earthquakes data for the order discrimination task. Reference results obtained from the respective publications.
|
| 148 |
+
|
| 149 |
+
<table><tr><td>Methods</td><td>ACCIDENTS</td><td>EARTHQUAKES</td></tr><tr><td>Barzilay and Lapata (2008)</td><td>0.904</td><td>0.872</td></tr><tr><td>Louis and Nenkova (2012)</td><td>0.842</td><td>0.957</td></tr><tr><td>Guinaudeau and Strube (2013)</td><td>0.846</td><td>0.635</td></tr><tr><td>Liand Hovy (2014) -Recurrent</td><td>0.840</td><td>0.951</td></tr><tr><td>Li and Hovy (2014) - Recursive</td><td>0.864</td><td>0.976</td></tr><tr><td>Li and Jurafsky (2016)</td><td>0.930</td><td>0.992</td></tr><tr><td>Ours</td><td>0.944</td><td>0.997</td></tr></table>
|
| 150 |
+
|
| 151 |
+
While these datasets have been widely used in the literature, they are quite formulaic in nature and are no longer challenging. We hence turn to the more challenging task of ordering a given collection of sentences to make a coherent document.
|
| 152 |
+
|
| 153 |
+
# 4.3 SENTENCE ORDERING
|
| 154 |
+
|
| 155 |
+
In this task we directly address the ordering problem. We do not assume the availability of a set of candidate orderings to choose from and instead attempt to find a good ordering from all possible permutations of the sentences.
|
| 156 |
+
|
| 157 |
+
The difficulty of the ordering problem depends on the nature of the text as well as the length of paragraphs considered. Evaluation on text from arbitrary text sources makes it difficult to interpret the results, since it may not be clear whether to attribute the observed performance to a deficient model or ambiguity in next sentence choices due to many plausible orderings.
|
| 158 |
+
|
| 159 |
+
Text summaries are a suitable source of data for this task. They often exhibit a clear flow of ideas and have minimal redundancy. We specifically look at abstracts of conference papers and NSF research proposals. This data has several favorable properties. Abstracts usually have a particular high level format - They start out with a brief introduction, a description of the problem addressed and proposed approach and conclude with performance remarks. This would allow us to identify if the model is capable of capturing high level logical structure. Second, abstracts have an average length of about 10, making the ordering task more accessible. Furthermore, this also gives us a significant amount of data to train and test our models.
|
| 160 |
+
|
| 161 |
+
# 4.3.1 DATA
|
| 162 |
+
|
| 163 |
+
NIPS Abstracts. We consider abstracts from NIPS papers in the past 10 years. We parsed 3280 abstracts from paper pdfs and obtained 3259 abstracts after omitting erroneous extracts. The dataset was split into years 2005-2013 for training and years 2014, 2015 respectively for validation and testing2.
|
| 164 |
+
|
| 165 |
+
ACL Abstracts. A second source of abstracts we consider are papers from the ACL Anthology Network (AAN) corpus (Radev et al., 2009) of ACL papers. At the time of retrieval, the corpus had publications up to year 2013. We extracted abstracts from the text parses using simple keyword matching for the strings ‘Abstract’ and ‘Introduction’. Our extraction is successful for 12,157 articles. Most of the failures occur for older papers due to improper formatting and OCR issues. We use all extracts of papers published up to year 2010 for training, year 2011 for validation and years 2012-2013 for testing. We additionally merge words hyphenated at the edges of paragraph boundaries.
|
| 166 |
+
|
| 167 |
+
NSF Abstracts. We also evaluate our model on the NSF Research Award Abstracts dataset (Lichman, 2013). This dataset comprises abstracts from a diverse set of scientific areas in contrast to the previous two sources of data and the abstracts are also lengthier, making this dataset more challenging. Years 1990-1999 were used for training, 2000 for validation and 2001-2003 for testing. We capped the parses of the abstracts to a maximum length of 40 sentences. Unsuccessful parses and parses of excessive length were discarded. Further details about the datasets are provided in table 1.
|
| 168 |
+
|
| 169 |
+
Table 3: Comparison against prior methods on the abstracts data.
|
| 170 |
+
|
| 171 |
+
<table><tr><td rowspan="2"></td><td colspan="2">NIPS Abstracts</td><td colspan="2">AAN Abstracts</td><td colspan="2">NSF Abstracts</td></tr><tr><td>Accuracy</td><td>T</td><td>Accuracy</td><td>T</td><td>Accuracy</td><td>T</td></tr><tr><td>Random</td><td>15.59</td><td>0</td><td>19.36</td><td>0</td><td>9.46</td><td>0</td></tr><tr><td>Entity Grid (Barzilay and Lapata, 2008)</td><td>20.10</td><td>0.09</td><td>21.82</td><td>0.10</td><td>1</td><td>-</td></tr><tr><td>Seq2seq (Uni) (Li and Jurafsky,2016)</td><td>27.18</td><td>0.27</td><td>36.62</td><td>0.40</td><td>13.68</td><td>0.10</td></tr><tr><td>Window network (Li and Hovy,2014)</td><td>41.76</td><td>0.59</td><td>50.87</td><td>0.65</td><td>18.67</td><td>0.28</td></tr><tr><td>RNN Decoder</td><td>48.22</td><td>0.67</td><td>52.06</td><td>0.66</td><td>25.79</td><td>0.48</td></tr><tr><td>Proposed model</td><td>51.55</td><td>0.72</td><td>58.06</td><td>0.73</td><td>28.33</td><td>0.51</td></tr></table>
|
| 172 |
+
|
| 173 |
+
# 4.3.2 METRICS
|
| 174 |
+
|
| 175 |
+
We use the following metrics to evaluate performance on this task. Accuracy measures how often the absolute position of a sentence was correctly predicted. Being a too stringent measure, it penalizes correctly predicted subsequences that are shifted. Another metric widely used in the literature is Kendall’s tau $\left( \tau \right)$ , computed as $1 - 2 \times$ (number of inversions)/ $\binom { n } { 2 }$ , where the number of inversions is the number of pairs in the predicted sequence with incorrect relative order and $n$ is the length of the sequence. Lapata (2006) discusses that this metric reliably correlates with human judgements.
|
| 176 |
+
|
| 177 |
+
# 4.3.3 BASELINES
|
| 178 |
+
|
| 179 |
+
Entity Grid. Our first baseline is the Entity Grid model of Barzilay and Lapata (2008). We use the Stanford parser (Klein and Manning, 2003) to get constituency trees for all sentences in our datasets. We derive entity grid representations for the parsed sentences using the Brown Coherence Toolkit.3 A ranking SVM is trained to score correct orderings higher than incorrect orderings as in the original work. We used 20 permutations per document as training data. Since the entity grid representation only provides a means of feature extraction we evaluate the model in the ordering setting as follows. We choose 1000 random permutations for each document, one of them being the correct order, and pick the order with maximum coherence. We experimented with transitions of length at most 3 in the entity-grid.
|
| 180 |
+
|
| 181 |
+
Sequence to sequence. The second baseline we consider is a sequence to sequence model which is trained to predict the next sentence given the current sentence. Li and Jurafsky (2016) consider similar methods and our model is same as the uni-directional model in their work. These methods were shown to yield sentence embeddings that have competitive performance in several semantic tasks in Kiros et al. (2015).
|
| 182 |
+
|
| 183 |
+
Window Network. We consider the window approach of Li and Hovy (2014) and Li and Jurafsky (2016) which demonstrated strong performance in the order discrimination task as our third baseline. We adopt the same coherence score interpretation considered by the authors in the above work. In both the above models we consider a special embedding vector which is padded at the beginning of a paragraph and learned during training. This vector allows us to identify the initial few sentences during greedy decoding.
|
| 184 |
+
|
| 185 |
+
RNN Decoder. Another baseline we consider is our proposed model without the encoder. The decoder hidden state is initialized with zeros. We observed that using a special start symbol as for the other baselines helped obtain better performance with this model. However, a start symbol did not help when the model is equipped with an encoder as the hidden state initialization alone was good enough.
|
| 186 |
+
|
| 187 |
+
We do not place emphasis on the particular search algorithm in this work and thus use beam search using the coherence score heuristic for all models. A beam size of 100 was used. During decoding, sentence candidates that have been already chosen are pruned from the beam. All RNNs use a hidden layer size of 1000. For the window network we used a window size of 3 and a hidden layer size of 2000. We initialize all models with pre-trained GloVe word embeddings.
|
| 188 |
+
|
| 189 |
+

|
| 190 |
+
Figure 2: t-SNE embeddings of representations learned by the model for sentences from the test set. The embeddings are color coded by the position of the sentence in the document it appears.
|
| 191 |
+
|
| 192 |
+
# 4.3.4 RESULTS
|
| 193 |
+
|
| 194 |
+
We assess the performance of our model against baseline methods in table 3. The window network performs strongly compared to the other baselines. Our model does better by a significant margin by exploiting global context, demonstrating that global context is important to be successful in this task.
|
| 195 |
+
|
| 196 |
+
While the Entity-Grid model has been fairly successful for the order discrimination task in the past we observe that it fails to discriminate between a large number of candidates. One reason could be that the feature representation is fairly less sensitive to local changes in sentence order (such as swapping adjacent sentences). We did not use coreference resolution for computing the entity-grids due to the computational overhead. This could potentially improve results by a few percentage points. The computational expense of obtaining parse trees and constructing grids on a large amount of data prohibited us from experimenting with this model on the NSF abstracts data.
|
| 197 |
+
|
| 198 |
+
The sequence to sequence model falls short of the window network in performance. Interestingly, Li and Jurafsky (2016) observe that the seq2seq model outperforms the window network in an order discrimination task on wikipedia data. However, the wikipedia data considered in their work has an order of magnitude more data that the datasets considered here, and that could have potentially helped the generative model. These models are also expensive during inference since they involve computing and sampling from word distributions.
|
| 199 |
+
|
| 200 |
+
In Figure 3 we attempt to visualize the sentence representations learned by the sentence encoder in our model. The figure shows 2-dimensional t-SNE embeddings of test set sentences from each of the datasets color coded by their positions in the source abstract. This shows that the model learns high-level structure in the documents, generalizing well to unseen documents. The structure is less apparent in the NSF data which we presume is because of the data diversity and longer documents. While approaches based on the content model of Barzilay and Lee (2004) attempt to explicitly capture topics by discovering clusters in sentences, we observe that the neural approach implicitly discovers such structure.
|
| 201 |
+
|
| 202 |
+
# 4.4 LEARNED SENTENCE REPRESENTATIONS
|
| 203 |
+
|
| 204 |
+
One of the original motivations for this work is the question whether we can learn high quality sentence representations by learning to model text coherence. To address this question we trained our model on a large dataset of paragraphs. We chose the BookCorpus dataset (Kiros et al., 2015) for this purpose. We trained the model with two key changes from the models trained on the abstracts data - 1) In addition to the sentences in the paragraph being considered, we added more contrastive sentences from other paragraphs as well. 2) We use the bilinear scoring function. These techniques helped obtain better representations when training on large amounts of data.
|
| 205 |
+
|
| 206 |
+
To evaluate the quality of the sentence embeddings derived from the model, we use the evaluation pipeline of Kiros et al. (2015) for tasks that involve understanding sentence semantics. These evaluations are performed by training a classifier on top of the embeddings derived from the model so that the performance is indicative of the quality of sentence representations. We consider the semantic relatedness and paraphrase detection tasks. Our results are presented in tables 4a, 4b. Results for only uni-directional versions of different models are discussed here for a reasonable comparison.
|
| 207 |
+
|
| 208 |
+
Table 4: Performance comparison for the semantic similarity (SICK dataset) and paraphrase detection (MSR paraphrase corpus) tasks. In each table the first section shows some best performing supervised methods in the literature. The second section shows models relevant to the skip-thought model. The third section shows our models.
|
| 209 |
+
(a) Sentence similarity
|
| 210 |
+
|
| 211 |
+
<table><tr><td>Method</td><td>r</td><td>p</td><td>MSE</td></tr><tr><td colspan="4">Purely supervised methods</td></tr><tr><td>DT-RNN (Tai et al., 2015)</td><td>0.792</td><td>0.732</td><td>0.382</td></tr><tr><td>LSTM (Tai et al.,2015)</td><td>0.853</td><td>0.791</td><td>0.283</td></tr><tr><td>DT-LSTM (Tai et al.,2015)</td><td>0.868</td><td>0.808</td><td>0.253</td></tr><tr><td colspan="4">Classifier trained on sentence embeddings</td></tr><tr><td>skip-bow (Kiros et al.,2015)</td><td>0.782</td><td>0.724</td><td>0.398</td></tr><tr><td>uni-skip (Kiros et al., 2015)</td><td>0.848</td><td>0.778</td><td>0.287</td></tr><tr><td>Ordering model</td><td>0.807</td><td>0.742</td><td>0.356</td></tr><tr><td>+BoW</td><td>0.842</td><td>0.775</td><td>0.299</td></tr><tr><td>+ uni-skip</td><td>0.860</td><td>0.795</td><td>0.270</td></tr></table>
|
| 212 |
+
|
| 213 |
+
(b) Paraphrase detection
|
| 214 |
+
|
| 215 |
+
<table><tr><td>Method</td><td>Acc F1</td></tr><tr><td>Purely supervised methods</td><td>83.6</td></tr><tr><td>Socher et al. (2011) Madnani et al. (2012) Ji and Eisenstein (2013)</td><td>76.8 77.4 84.1 80.4</td></tr><tr><td> Classifier trained on sentence embeddings</td><td>86.0</td></tr><tr><td>skip-bow (Kiros et al., 2015) uni-skip (Kiros et al., 2015)</td><td>67.8 80.3 73.0 81.9</td></tr><tr><td>Ordering model</td><td>72.3</td></tr><tr><td>+BoW + uni-skip</td><td>81.0 74.0 81.9 74.9 82.5</td></tr></table>
|
| 216 |
+
|
| 217 |
+
Skip-thought vectors are learned by predicting both the previous and next sentences given the current sentence. Following suit, we train two models - one predicting the correct order in the forward direction and another in the backward direction. Note that the sentence level RNN is still unidirectional in both cases. The numbers shown for the ordering model were obtained by concatenating the representations obtained from the two models.
|
| 218 |
+
|
| 219 |
+
Concatenating the above representation with the bag of words representation (using the fine-tuned word embeddings) of the sentence further improves performance4. We believe the reason to be that the ordering model can choose to pay less attention to specific lexical information and instead focus on the high level document structure. Hence the two representations can be seen as capturing complementary semantics. Adding the skip-thought embedding features as well improves performance further.
|
| 220 |
+
|
| 221 |
+
Our model has several key advantages over the skip-thought model. The skip-thought model has a word-level reconstruction objective and requires training with large softmax output layers. This limits the size of the vocabulary and makes training very time consuming (they use a vocabulary size of $2 0 \mathrm { k }$ and report 2 weeks of training). Our model achieves comparable performance and does not have such a word reconstruction component. We are able to train with a large vocabulary of $4 0 0 \mathrm { k }$ words and the above results were obtained with a training time of 2 days.
|
| 222 |
+
|
| 223 |
+
A conceptual issue surrounding word-level reconstruction is that it forces the model to predict both the meaning and syntax of the target sentence. This makes learning difficult since there are numerous ways of expressing the same idea in syntax. In our model we instead let the model discover features from a sentence which are both predictive (of the next sentence) and predictable (from the previous sentences) and interpret these set of features as a meaning representation. We believe this is an important distinction and hope to study these models further in the context of learning syntax independent semantic representations of sentences.
|
| 224 |
+
|
| 225 |
+
# 5 CONCLUSION
|
| 226 |
+
|
| 227 |
+
In this work we considered the challenging problem of coherently organizing a given set of sentences. Our RNN based model performs strongly compared to baseline methods as well as prior work on sentence ordering and order discrimination tasks. We further demonstrated that the model captures high level document structure and learns useful sentence representations when trained on large amounts of data. Our approach to the ordering problem deviates from most prior work that use handcrafted features. However, exploiting linguistic features for next sentence classification can potentially further improve performance on the task. Entity distribution patterns can provide useful features about named entities that are treated as out of vocabulary words. The ordering problem can be further studied at higher level discourse units such as paragraphs, sections and chapters.
|
| 228 |
+
|
| 229 |
+
# REFERENCES
|
| 230 |
+
|
| 231 |
+
Automated scoring of writing quality. URL https://www.ets.org/research/topics/ as_nlp/writing_quality. Accessed: 2016-11-1.
|
| 232 |
+
|
| 233 |
+
R. Barzilay and N. Elhadad. Inferring strategies for sentence ordering in multidocument news summarization. Journal of Artificial Intelligence Research, pages 35–55, 2002.
|
| 234 |
+
|
| 235 |
+
R. Barzilay and M. Lapata. Modeling local coherence: An entity-based approach. Computational Linguistics, 34(1):1–34, 2008.
|
| 236 |
+
|
| 237 |
+
R. Barzilay and L. Lee. Catching the drift: Probabilistic content models, with applications to generation and summarization. arXiv preprint cs/0405039, 2004.
|
| 238 |
+
|
| 239 |
+
J. Burstein, J. Tetreault, and S. Andreyev. Using entity-based features to model coherence in student essays. In Human language technologies: The 2010 annual conference of the North American chapter of the Association for Computational Linguistics, pages 681–684. Association for Computational Linguistics, 2010.
|
| 240 |
+
|
| 241 |
+
X. Chen, X. Qiu, and X. Huang. Neural sentence ordering. arXiv preprint arXiv:1607.06952, 2016.
|
| 242 |
+
|
| 243 |
+
M. Elsner, J. L. Austerweil, and E. Charniak. A unified local and global model for discourse coherence. In HLT-NAACL, pages 436–443, 2007.
|
| 244 |
+
|
| 245 |
+
P. W. Foltz, W. Kintsch, and T. K. Landauer. The measurement of textual coherence with latent semantic analysis. Discourse processes, 25(2-3):285–307, 1998.
|
| 246 |
+
|
| 247 |
+
B. J. Grosz, S. Weinstein, and A. K. Joshi. Centering: A framework for modeling the local coherence of discourse. Computational linguistics, 21(2):203–225, 1995.
|
| 248 |
+
|
| 249 |
+
C. Guinaudeau and M. Strube. Graph-based local coherence modeling. In ACL (1), pages 93–103, 2013.
|
| 250 |
+
|
| 251 |
+
Y. Ji and J. Eisenstein. Discriminative improvements to distributional sentence similarity. In EMNLP, pages 891–896, 2013.
|
| 252 |
+
|
| 253 |
+
Y. Ji, T. Cohn, L. Kong, C. Dyer, and J. Eisenstein. Document context language models. In International Conference on Learning Representations, Poster Paper, volume abs/1511.03962, 2015.
|
| 254 |
+
|
| 255 |
+
D. Kingma and J. Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 256 |
+
|
| 257 |
+
R. Kiros, Y. Zhu, R. R. Salakhutdinov, R. Zemel, R. Urtasun, A. Torralba, and S. Fidler. Skip-thought vectors. In Advances in Neural Information Processing Systems, pages 3276–3284, 2015.
|
| 258 |
+
|
| 259 |
+
D. Klein and C. D. Manning. Accurate unlexicalized parsing. In Proceedings of the 41st Annual Meeting on Association for Computational Linguistics-Volume 1, pages 423–430. Association for Computational Linguistics, 2003.
|
| 260 |
+
|
| 261 |
+
M. Lapata. Probabilistic text structuring: Experiments with sentence ordering. In Proceedings of the 41st Annual Meeting on Association for Computational Linguistics-Volume 1, pages 545–552. Association for Computational Linguistics, 2003.
|
| 262 |
+
|
| 263 |
+
M. Lapata. Automatic evaluation of information ordering: Kendall’s tau. Computational Linguistics, 32(4):471–484, 2006.
|
| 264 |
+
|
| 265 |
+
J. Li and E. H. Hovy. A model of coherence based on distributed sentence representation. In EMNLP, pages 2039–2048, 2014.
|
| 266 |
+
|
| 267 |
+
J. Li and D. Jurafsky. Neural net models for open-domain discourse coherence. arXiv preprint arXiv:1606.01545, 2016.
|
| 268 |
+
J. Li, X. Chen, E. Hovy, and D. Jurafsky. Visualizing and understanding neural models in nlp. arXiv preprint arXiv:1506.01066, 2015a.
|
| 269 |
+
J. Li, M.-T. Luong, and D. Jurafsky. A hierarchical neural autoencoder for paragraphs and documents. arXiv preprint arXiv:1506.01057, 2015b.
|
| 270 |
+
M. Lichman. UCI machine learning repository, 2013. URL http://archive.ics.uci.edu/ ml.
|
| 271 |
+
R. Lin, S. Liu, M. Yang, M. Li, M. Zhou, and S. Li. Hierarchical recurrent neural network for document modeling. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 899–907, 2015.
|
| 272 |
+
A. Louis and A. Nenkova. A coherence model based on syntactic patterns. In Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning, pages 1157–1168. Association for Computational Linguistics, 2012.
|
| 273 |
+
N. Madnani, J. Tetreault, and M. Chodorow. Re-examining machine translation metrics for paraphrase identification. In Proceedings of the 2012 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 182–190. Association for Computational Linguistics, 2012.
|
| 274 |
+
E. Miltsakaki and K. Kukich. Evaluation of text coherence for electronic essay scoring systems. Natural Language Engineering, 10(01):25–55, 2004.
|
| 275 |
+
J. Pennington, R. Socher, and C. D. Manning. Glove: Global vectors for word representation. In EMNLP, volume 14, pages 1532–43, 2014.
|
| 276 |
+
D. R. Radev, M. T. Joseph, B. Gibson, and P. Muthukrishnan. A Bibliometric and Network Analysis of the field of Computational Linguistics. Journal of the American Society for Information Science and Technology, 2009.
|
| 277 |
+
R. Socher, E. H. Huang, J. Pennin, C. D. Manning, and A. Y. Ng. Dynamic pooling and unfolding recursive autoencoders for paraphrase detection. In Advances in Neural Information Processing Systems, pages 801–809, 2011.
|
| 278 |
+
R. Soricut and D. Marcu. Discourse generation using utility-trained coherence models. In Proceedings of the COLING/ACL on Main conference poster sessions, pages 803–810. Association for Computational Linguistics, 2006.
|
| 279 |
+
I. Sutskever, O. Vinyals, and Q. V. Le. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pages 3104–3112, 2014.
|
| 280 |
+
K. S. Tai, R. Socher, and C. D. Manning. Improved semantic representations from tree-structured long short-term memory networks. arXiv preprint arXiv:1503.00075, 2015.
|
| 281 |
+
O. Vinyals, S. Bengio, and M. Kudlur. Order matters: Sequence to sequence for sets. arXiv preprint arXiv:1511.06391, 2015a.
|
| 282 |
+
O. Vinyals, M. Fortunato, and N. Jaitly. Pointer networks. In Advances in Neural Information Processing Systems, pages 2674–2682, 2015b.
|
| 283 |
+
|
| 284 |
+
Table 5: Visualizing salient words.
|
| 285 |
+
|
| 286 |
+
<table><tr><td>In this paper,we propose a new method for semantic class induction . First ,we introduce a generative model of sentences ,based on dependency trees and which takes into account homonymy Our model can thus be seen as a generalization of Brown clustering . Second , we describe an efficient algorithm to perform inference and learning in this model . Third ,we apply our proposed method on two large datasets (108 tokens ,105 words types ),and demonstrate that classes induced by our algorithm improve performance over Brown clustering on the task of semisupervised supersense tagging and named entity recognition .</td></tr><tr><td>Representation learning is a promising technique for discovering features that allow supervised classifiers to generalize from a source domain dataset to arbitrary new domains We present a novel, formal statement of the representation learning task . We argue that because the task is computationally intractable in general,it is important for arepresentation learner to be able to incorporate expert knowledge during its search for helpful features . Leveraging the Posterior Regularization framework ,we develop an architecture for incorporating biases into</td></tr><tr><td>learners identify significantly better sets offeatures than unbiased learners,resulting inarelative reduction in error of more than 16% forboth tasks ,with respect to existing state-of-the-art representation learning techniques. We present an approach for detecting salient (important)dates in texts in order to automatically build event timelines from a search query(e.g . the name of an event or person,etc .). This work was carried out on a corpus of newswire texts in English provided by the Agence France Presse</td></tr><tr><td>(AFP). In order to extract salient dates that warrant inclusion in an event timeline ,we first recognize and normalize temporal expressons in texts and then use a machine-learning approach to extract salient dates that relate to a particular topic . We focused only on extracting the dates and not the events to which they are related . The paper aims to come up with a system that examines the degree of semantic equivalence between two</td></tr><tr><td>sentences. At the core of the paper is the attempt to grade the similarity of two sentences by finding the maximal weighted bipartite match between the tokens of the two sentences . The tokens include single words,or multiwords in case of Named Entitites ,adjectivally and numerically modified words. Two token similarity measures are used for the task -WordNet based similarity,and a statistical word similarity</td></tr></table>
|
| 287 |
+
|
| 288 |
+
# A WORD INFLUENCE
|
| 289 |
+
|
| 290 |
+
We attempt to understand what text level clues the model captures to perform the ordering task. Some techniques for visualizing neural network models in the context of text applications are discussed in Li et al. (2015a). Drawing inspiration from this work, we use gradients of prediction decisions with respect to the words of the correct sentence as a proxy for the salience of each word.
|
| 291 |
+
|
| 292 |
+
For each time step during decoding we do the following. Assume the sentence assignments for all previous time steps have been correct. let $h$ be the current hidden state in this setting and $s = ( w _ { 1 } , . . . , w _ { n } )$ be the correct next sentence candidate, the $w _ { i }$ being its words. The score for this sentence is defined as $e = f ( s , h )$ (See equation 7). The importance of word $w _ { i }$ in predicting $s$ as the correct next sentence is interpreted as $\big | \big | \frac { \partial e } { \partial w _ { i } } \big | \big |$ . We assume $h$ to be fixed and only backpropagate gradients through the sentence encoder.
|
| 293 |
+
|
| 294 |
+
Table 5 shows visualizations of a few selected abstracts. Words expressed in darker shades correspond to higher gradient norms. In the first example the model seems to be using the word clues ‘first’, ‘second’ and ‘third’. A similar observation was made by Chen et al. (2016) in their experiments. In the second example we observe that the model has paid attention to phrases such as ‘We present’, ‘We argue’ which are typical of abstract texts. The model has also focused on the word ‘representation’
|
| 295 |
+
|
| 296 |
+

|
| 297 |
+
(b) Accuracy of predicting the correct sentence at a given position.
|
| 298 |
+
|
| 299 |
+

|
| 300 |
+
Figure 3: Performance with respect to paragraph length and sentence position - NIPS abstracts test data.
|
| 301 |
+
|
| 302 |
+
(a) $\tau$ scores of order predictions on paragraphs of a given length.
|
| 303 |
+
|
| 304 |
+
appearing in the first two sentences. Similarly in the third example, the words ‘salient’ and ‘dates’ have been attended to. In the last example, the words ‘token’, ‘tokens’, ‘tokenization’ have received attention. We believe that these observations link to ideas from centering theory which state that entity distributions in coherent discourses adhere to certain patterns. The model has implicitly learned learned these patterns with no syntax annotations or handcrafted features.
|
| 305 |
+
|
| 306 |
+
# B PERFORMANCE ANALYSIS
|
| 307 |
+
|
| 308 |
+
Figure 3a shows the average $\tau$ for the models on the NIPS abstracts test set for a given paragraph length. The performance of local approaches dies down fairly quickly as we can expect and face difficulties handling lengthy paragraphs. Our model attempts to maintain consistent performance with increasing paragraph size with a more gradual decline in performance.
|
| 309 |
+
|
| 310 |
+
Figure 3b compares the average prediction accuracy for a given sentence position in the test set. It is interesting to observe that all models fair well in predicting the first sentence. The greedy decoding procedure also contributes to the decline in performance as we move right. Our model remains more robust compared to the other two methods.
|
| 311 |
+
|
| 312 |
+
Another trend to be observed is that as the context size increases (2 for next sentence generation, 3 for window network, complete sentential history for our model) the performance decline is more gradual.
|
| 313 |
+
|
| 314 |
+
(a) Classify 1 of 2 - Accuracy
|
| 315 |
+
|
| 316 |
+
<table><tr><td></td><td>NIPS</td><td>AAN</td><td>NSF</td></tr><tr><td>Entity Grid</td><td>0.712</td><td>0.660</td><td>=</td></tr><tr><td>Seq2seq (Uni)</td><td>0.890</td><td>0.888</td><td></td></tr><tr><td>Window network</td><td>0.944</td><td>0.942</td><td>0.936</td></tr><tr><td>RNNDecoder</td><td>0.964</td><td>0.952</td><td>0.972</td></tr><tr><td>Proposed model</td><td>0.970</td><td>0.955</td><td>0.982</td></tr></table>
|
| 317 |
+
|
| 318 |
+
(b) Classify 1 of 100 - Accuracy
|
| 319 |
+
|
| 320 |
+
<table><tr><td></td><td>NIPS</td><td>AAN</td><td>NSF</td></tr><tr><td>Entity Grid</td><td>0.070</td><td>0.102</td><td>=</td></tr><tr><td>Seq2seq (Uni)</td><td>0.171</td><td>0.290</td><td>=</td></tr><tr><td>Window network</td><td>0.385</td><td>0.470</td><td>0.300</td></tr><tr><td>RNN Decoder</td><td>0.516</td><td>0.541</td><td>0.647</td></tr><tr><td>Proposed model</td><td>0.566</td><td>0.581</td><td>0.710</td></tr></table>
|
| 321 |
+
|
| 322 |
+
Table 7: Accuracy (of predicting sentence position) and $\tau$ metrics for the 1 of 100 classification task.
|
| 323 |
+
|
| 324 |
+
<table><tr><td rowspan="2"></td><td colspan="2">NIPS Abstracts</td><td colspan="2">AAN Abstracts</td><td colspan="2">NSF Abstracts</td></tr><tr><td>Accuracy</td><td>T</td><td>Accuracy</td><td>T</td><td>Accuracy</td><td>T</td></tr><tr><td>Entity Grid</td><td>21.30</td><td>0.12</td><td>23.22</td><td>0.11</td><td></td><td></td></tr><tr><td>Seq2seq (Uni)</td><td>38.36</td><td>0.40</td><td>48.47</td><td>0.50</td><td>=</td><td>=</td></tr><tr><td>Window network</td><td>59.20</td><td>0.67</td><td>64.02</td><td>0.71</td><td>44.65</td><td>0.46</td></tr><tr><td>RNN Decoder</td><td>67.05</td><td>0.73</td><td>68.54</td><td>0.74</td><td>79.01</td><td>0.76</td></tr><tr><td>Proposed model</td><td>72.25</td><td>0.79</td><td>72.25</td><td>0.77</td><td>83.85</td><td>0.81</td></tr></table>
|
| 325 |
+
|
| 326 |
+
# C ADDITIONAL EXPERIMENTAL RESULTS
|
| 327 |
+
|
| 328 |
+
# C.1 CLASSIFICATION EXPERIMENTS FOR ABSTRACTS DATA
|
| 329 |
+
|
| 330 |
+
Classify 1 of 2 (Pairwise ranking). We create a random permutation for each document (different from the correct order) and compute the pairwise classification accuracy. The mean result over 100 such experiments is reported in table 6a.
|
| 331 |
+
|
| 332 |
+
Classify 1 of N. In this experiment we consider a pool of $\Nu = 1 0 0$ permutations where one of them is the correct order and the rest are random permutations. We compute coherence scores of all orderings in the pool and pick the best one. Table 6b reports how accurately each model identified the correct order. Table 7 computes the same metrics in table 3 for the orders that were chosen by the model.
|
| 333 |
+
|
| 334 |
+
The performance gaps are not significant for the first experiment. However, they are more pronounced in the second experiment. The reason is because in the binary classification setting, a majority of the permutations will be very different from the correct order, and the models can discriminate well for these cases. However, when choosing from a large set of permutations the models need to be sensitive to permutations which deviate from the correct ordering by a small amount (Eg: only two sentences out of place from correct order). Models incapable of discriminating at this finer level perform tend to perform poorly.
|
| 335 |
+
|
| 336 |
+
Note that the second experiment is closer to the practical task of finding an appropriate presentation ordering for a given collection of sentences, while taking the decoding algorithm out of the picture.
|
| 337 |
+
|
| 338 |
+
# C.2 ORDER DISCRIMINATION - PENN TREEBANK DATASET
|
| 339 |
+
|
| 340 |
+
We perform order discrimination experiments on the Penn Treebank dataset. The experimental protocol is identical to that of Ji et al. (2015). The standard train, dev, test split was used. The vocabulary comprises the most 10,000 frequent words and an additional special symbol representing low frequency words. A bootstrapping procedure is used for evaluation - 1000 test sets are generated by randomly sampling with replacement 155 documents from the test set and constructing a random permutation different from the correct order for each sampled document. We used the same model hyperparameters described in section 4.1. We did not use pre-trained word embeddings for fair comparison with the reference method. Performance statistics are computed over the 1000 bootstrapped test sets. Table 8 shows a performance comparison.
|
| 341 |
+
|
| 342 |
+
A key difference of this dataset compared to the other datasets is that the documents are more open domain and they are significantly longer. Our model performs strongly despite these differences.
|
| 343 |
+
|
| 344 |
+
Table 8: Order discrimination on PTB dataset. Reference results re-printed from Ji et al. (2015).
|
| 345 |
+
|
| 346 |
+
<table><tr><td rowspan="2"></td><td colspan="2">Accuracy</td></tr><tr><td>Mean (%)</td><td>Standard deviation (%)</td></tr><tr><td>Hierarchical RNNLM (Lin et al., 2015)</td><td>75.32</td><td>4.42</td></tr><tr><td>DCLM (Ji et al., 2015)</td><td>83.26</td><td>3.77</td></tr><tr><td>Proposed model</td><td>90.25</td><td>2.38</td></tr></table>
|
| 347 |
+
|
| 348 |
+
Table 9: Impact of using contrastive sentences and the bilinear scoring function for learning sentence representations.
|
| 349 |
+
|
| 350 |
+
<table><tr><td rowspan="2">Contrastive Sentences</td><td rowspan="2">Scoring Function</td><td colspan="3">Semantic Relatedness</td><td colspan="2">Paraphrase detection</td></tr><tr><td>r</td><td>p</td><td>MSE</td><td>Acc</td><td>F1</td></tr><tr><td>No</td><td>MLP</td><td>0.631</td><td>0.568</td><td>0.613</td><td>0.687</td><td>0.791</td></tr><tr><td>No</td><td>Bilinear</td><td>0.650</td><td>0.609</td><td>0.588</td><td>0.681</td><td>0.785</td></tr><tr><td>Yes</td><td>MLP</td><td>0.718</td><td>0.648</td><td>0.494</td><td>0.689</td><td>0.785</td></tr><tr><td>Yes</td><td>Bilinear</td><td>0.787</td><td>0.727</td><td>0.387</td><td>0.712</td><td>0.804</td></tr></table>
|
| 351 |
+
|
| 352 |
+
# C.3 SENTENCE REPRESENTATION LEARNING TASK
|
| 353 |
+
|
| 354 |
+
We briefly discussed two techniques in section 4.4 that helped obtain better sentence representations.
|
| 355 |
+
|
| 356 |
+
• Adding contrastive sentence candidates for the decoder • The bilinear scoring function
|
| 357 |
+
|
| 358 |
+
Table 9 shows results of ablative experiments which demonstrate the effect of these ideas. Each experimental setting indicates whether or not contrastive sentences were used and the type of scoring function employed. Note that these models were trained to predict the correct order of sentences only in the forward direction (as opposed to the results reported in table 4 where two models were trained to predict the order in the forward and backward directions and the representations were concatenated). Models were chosen using the validation set of the relevant task.
|
| 359 |
+
|
| 360 |
+
We observe the trend that adding contrastive sentences or switching from the MLP to the bilinear scoring function produces a sharp improvement in the result for the semantic relatedness task. Although the performance differences are less significant in the paraphrase detection task when the individual factors are changed, we observe an overall performance gain by using contrastive sentences and the bilinear scoring function.
|
| 361 |
+
|
| 362 |
+
This confirms our intuition that adding contrastive sentences makes the task more challenging and leads to better representations being learned. Similarly, the bilinear scoring function takes a generative approach of trying to regress the next sentence as opposed to the MLP scoring function which treats the prediction task as purely discriminative, and hence encourages the learning of better representations.
|
| 363 |
+
|
| 364 |
+
# D MODEL DETAILS
|
| 365 |
+
|
| 366 |
+
The LSTM update in equation 1 of the paper
|
| 367 |
+
|
| 368 |
+
$$
|
| 369 |
+
h _ { t } , c _ { t } = L S T M ( h _ { t - 1 } , c _ { t - 1 } )
|
| 370 |
+
$$
|
| 371 |
+
|
| 372 |
+
is as follows.
|
| 373 |
+
|
| 374 |
+
$$
|
| 375 |
+
\begin{array} { r l } & { i _ { t } = \sigma \big ( W _ { i } h _ { t - 1 } + b _ { i } \big ) } \\ & { f _ { t } = \sigma \big ( W _ { f } h _ { t - 1 } + b _ { f } \big ) } \\ & { o _ { t } = \sigma \big ( W _ { o } h _ { t - 1 } + b _ { o } \big ) } \\ & { \hat { c } _ { t } = \mathrm { t a n h } \big ( W _ { c } h _ { t - 1 } + b _ { c } \big ) } \\ & { c _ { t } = f _ { t } \odot c _ { t - 1 } + i _ { t } \odot \hat { c } _ { t } } \\ & { h _ { t } = o _ { t } \odot \mathrm { t a n h } \big ( c _ { t } \big ) } \end{array}
|
| 376 |
+
$$
|
| 377 |
+
|
| 378 |
+
where $W _ { \{ i , f , o , c \} } , b _ { \{ i , f , o , c \} }$ are learnable parameters.
|
| 379 |
+
|
| 380 |
+
The LSTM update in equation 6
|
| 381 |
+
|
| 382 |
+
is given by the following.
|
| 383 |
+
|
| 384 |
+
$$
|
| 385 |
+
h _ { t } , c _ { t } = L S T M ( h _ { t - 1 } , c _ { t - 1 } , x _ { t - 1 } )
|
| 386 |
+
$$
|
| 387 |
+
|
| 388 |
+
$$
|
| 389 |
+
\begin{array} { r l } & { i _ { t } = \sigma \big ( W _ { h i } h _ { t - 1 } + W _ { x i } x _ { t - 1 } + b _ { i } \big ) } \\ & { f _ { t } = \sigma \big ( W _ { h f } h _ { t - 1 } + W _ { x f } x _ { t - 1 } + b _ { f } \big ) } \\ & { o _ { t } = \sigma \big ( W _ { h o } h _ { t - 1 } + W _ { x o } x _ { t - 1 } + b _ { o } \big ) } \\ & { \hat { c } _ { t } = \mathrm { t a n h } \big ( W _ { h c } h _ { t - 1 } + W _ { x c } x _ { t - 1 } + b _ { c } \big ) } \\ & { c _ { t } = f _ { t } \odot c _ { t - 1 } + i _ { t } \odot \hat { c } _ { t } } \\ & { h _ { t } = o _ { t } \odot \mathrm { t a n h } \big ( c _ { t } \big ) } \end{array}
|
| 390 |
+
$$
|
| 391 |
+
|
| 392 |
+
where $W _ { \{ h i , h f , h o , h c \} } , W _ { \{ x i , x f , x o , x c \} } , b _ { \{ i , f , o , c \} }$ are learnable parameters.
|
parse/train/S1AG8zYeg/S1AG8zYeg_content_list.json
ADDED
|
@@ -0,0 +1,1981 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "SENTENCE ORDERING USING RECURRENT NEURAL NETWORKS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
99,
|
| 9 |
+
583,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Lajanugen Logeswaran, Honglak Lee & Dragomir Radev ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
170,
|
| 20 |
+
584,
|
| 21 |
+
185
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Department of EECS \nUniversity of Michigan \nAnn Arbor, MI 48109, USA \n{llajan,honglak,radev}@umich.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
184,
|
| 30 |
+
186,
|
| 31 |
+
495,
|
| 32 |
+
239
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
276,
|
| 43 |
+
544,
|
| 44 |
+
291
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Modeling the structure of coherent texts is a task of great importance in NLP. The task of organizing a given set of sentences into a coherent order has been commonly used to build and evaluate models that understand such structure. In this work we propose an end-to-end neural approach based on the recently proposed set to sequence mapping framework to address the sentence ordering problem. Our model achieves state-of-the-art performance in the order discrimination task on two datasets widely used in the literature. We also consider a new interesting task of ordering abstracts from conference papers and research proposals and demonstrate strong performance against recent methods. Visualizing the sentence representations learned by the model shows that the model has captured high level logical structure in these paragraphs. The model also learns rich semantic sentence representations by learning to order texts, performing comparably to recent unsupervised representation learning methods in the sentence similarity and paraphrase detection tasks. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
309,
|
| 54 |
+
766,
|
| 55 |
+
502
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
527,
|
| 66 |
+
336,
|
| 67 |
+
544
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Modeling the structure of coherent texts is one of the central problems in NLP. A well written piece of text has a particular high level logical and topical structure to it. The actual word and sentence choices as well as their transitions come together to convey the purpose of the text. Our overarching goal is to build models that can learn such structure by learning to arrange a given set of sentences to make coherent text. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
560,
|
| 77 |
+
825,
|
| 78 |
+
631
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "The sentence ordering task finds several applications. Multi-document Summarization (MDS) and retrieval based question answering involve extracting information from multiple source documents and organizing the content into a coherent summary. Since the relative ordering about sentences that come from different sources can be unclear, being able to automatically evaluate a particular order and/or finding the optimal order is essential. Barzilay and Elhadad (2002) discuss the importance of an explicit ordering component in MDS systems. Their experiments show that finding an acceptable ordering can enhance user comprehension. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
637,
|
| 88 |
+
825,
|
| 89 |
+
734
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Models that learn to order text fragments can also be used as models of coherence. Automated essay scoring (Miltsakaki and Kukich, 2004; Burstein et al., 2010) is an application that can benefit from such a coherence model. Coherence is one of the key elements on which student essays are evaluated in standardized writing tests such as GRE (ETS). Apart from its importance and applications, our motivation to address this problem also stems from its stimulating nature. It can be considered as a jigsaw puzzle of sorts in the language domain. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
742,
|
| 99 |
+
825,
|
| 100 |
+
825
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Our approach to the problem of modeling coherence is driven by recent successes in 1) capturing semantics using distributed representations and 2) using RNNs for sequence modeling tasks. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
176,
|
| 109 |
+
833,
|
| 110 |
+
820,
|
| 111 |
+
861
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Success in unsupervised approaches for learning embeddings for textual entities from large text corpora altered the way NLP problems are studied today. These embeddings have been shown to capture syntactic and semantic information as well as higher level analogical structure. These methods have been adopted to learn vector representations of sentences, paragraphs and entire documents. Embedding based approaches allow models to be trained end-to-end from scratch with no handcrafting. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
176,
|
| 120 |
+
867,
|
| 121 |
+
823,
|
| 122 |
+
922
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
103,
|
| 132 |
+
823,
|
| 133 |
+
132
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "Recurrent Neural Networks (RNNs) have become the de facto approach to sequence learning and mapping problems in recent times. The Sequence to sequence mapping framework (Sutskever et al., 2014), as well as several of its variants have fuelled RNN based approaches to a wide variety of problems including language modeling, language generation, machine translation, question answering and many others. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
174,
|
| 142 |
+
138,
|
| 143 |
+
825,
|
| 144 |
+
208
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "Vinyals et al. (2015a) recently showed that the order in which tokens of the input sequence are fed to seq2seq models has a significant impact on the performance of the model. In particular, for problems such as sorting which involve a source set (as opposed to a sequence), the optimal order to feed the tokens is not clear. They introduce an attention mechanism over the input tokens which allows the model to learn a soft input order. This is called the read, process and write (or set to sequence) framework. The read block maps the input tokens to a fixed length vector representation. The process block is an RNN encoder which, at each time step, attends to the input token embeddings and computes an attention readout, appending it to the current hidden state. The write block is an RNN which produces the target sequence conditioned on the representation produced by the process block. ",
|
| 151 |
+
"bbox": [
|
| 152 |
+
174,
|
| 153 |
+
215,
|
| 154 |
+
825,
|
| 155 |
+
340
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "In this work we propose an RNN based approach to the sentence ordering problem which exploits the set to sequence framework. A word level RNN encoder produces sentence embeddings. A sentence level set encoder RNN iteratively attends to these embeddings (process block above) and constructs a representation of the context. Initialized with this representation, a sentence level pointer network RNN points to the next sentence candidates. ",
|
| 162 |
+
"bbox": [
|
| 163 |
+
174,
|
| 164 |
+
348,
|
| 165 |
+
825,
|
| 166 |
+
417
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 1
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "The most widely studied task relevant to sentence ordering and coherence modeling in the literature is the order discrimination task. Given a document and a permuted version of it, the task involves identifying the more coherent ordering of the two. Our proposed model achieves state of the art performance on two benchmark datasets for this task, outperforming several classical approaches and more recent data-driven approaches. ",
|
| 173 |
+
"bbox": [
|
| 174 |
+
174,
|
| 175 |
+
424,
|
| 176 |
+
825,
|
| 177 |
+
494
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 1
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "Addressing the more challenging task of ordering a given collection of sentences, we consider the novel and interesting task of ordering sentences from abstracts of conference papers and research grants. Our model strongly outperforms previous work on this task. We visualize the learned sentence representations and show that our model captures high level discourse structure. We provide visualizations that aid understanding what information in the sentences the model uses to identify the next sentence. We also study the quality of the sentence representations learned by the model by training the model on a large text corpus and show that these embeddings are comparable to recent unsupervised methods in capturing semantics. ",
|
| 184 |
+
"bbox": [
|
| 185 |
+
174,
|
| 186 |
+
501,
|
| 187 |
+
825,
|
| 188 |
+
613
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 1
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "In summary our key contributions are as follows, ",
|
| 195 |
+
"bbox": [
|
| 196 |
+
173,
|
| 197 |
+
619,
|
| 198 |
+
495,
|
| 199 |
+
633
|
| 200 |
+
],
|
| 201 |
+
"page_idx": 1
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"text": "• We propose an end to end trainable model based on the set to sequence framework to address the challenging problem of organizing a given collection of sentences in a coherent order. • We consider the novel task of understanding structure in abstract paragraphs and demonstrate state of the art results in order discrimination and sentence ordering tasks. • We demonstrate that the proposed model is capable of learning semantic representations of sentences that are comparable to recently proposed methods for learning such representations. ",
|
| 206 |
+
"bbox": [
|
| 207 |
+
174,
|
| 208 |
+
645,
|
| 209 |
+
826,
|
| 210 |
+
739
|
| 211 |
+
],
|
| 212 |
+
"page_idx": 1
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"text": "2 RELATED WORK ",
|
| 217 |
+
"text_level": 1,
|
| 218 |
+
"bbox": [
|
| 219 |
+
176,
|
| 220 |
+
758,
|
| 221 |
+
344,
|
| 222 |
+
775
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 1
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "Coherence modeling and sentence ordering The coherence modeling and sentence ordering tasks have been approached by closely related techniques. Most approaches propose a measure of coherence and formulate the ordering problem as finding an order with maximal coherence. Recurring themes from prior work include linguistic features, centering theory, local and global coherence. ",
|
| 229 |
+
"bbox": [
|
| 230 |
+
174,
|
| 231 |
+
791,
|
| 232 |
+
825,
|
| 233 |
+
847
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 1
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "text",
|
| 239 |
+
"text": "Local coherence has been modeled by considering properties of a local window of sentences such as sentence similarity and sentence transition structure. Foltz et al. (1998) represent words using vectors of co-occurent counts and sentences as a mean of these word vectors. Sentence similarity is defined as the cosine distance between sentence vectors and text coherence is modeled as a normalized sum of similarity scores of adjacent sentences. Lapata (2003) represents sentences by vectors of linguistic features and learn the transition probabilities from one set of features to another in adjacent sentences. A popular model of coherence is the Entity-Grid model Barzilay and Lapata (2008) which captures local coherence by modeling patterns of entity distributions in the discourse. Sentences are represented by the syntactic roles of entities appearing in the document and entity transition frequencies in successive sentences are treated as features that are are used to train a ranking SVM. These two approaches find motivation from ideas in centering theory (Grosz et al., 1995) which state that nouns and entities in coherent discourses exhibit certain patterns. ",
|
| 240 |
+
"bbox": [
|
| 241 |
+
174,
|
| 242 |
+
854,
|
| 243 |
+
823,
|
| 244 |
+
924
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 1
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "",
|
| 251 |
+
"bbox": [
|
| 252 |
+
174,
|
| 253 |
+
103,
|
| 254 |
+
825,
|
| 255 |
+
202
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 2
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "Global models of coherence typically use an HMM to model document structure. The content model proposed by Barzilay and Lee (2004) represents topics in a particular domain as states in an HMM. State transitions capture possible presentation orderings within the domain. Words of a sentence are modeled using a topic-specific language model. The content model has inspired several subsequent work to combine the strengths of local and global models. Elsner et al. (2007) combine the entity model and the content model using a non-parametric HMM. Soricut and Marcu (2006) use several models as feature functions and define a log linear model to assign probability to a given text. Louis and Nenkova (2012) attempt to capture the intentional structure in documents using syntax as a proxy for the communicative goal of a sentence. Syntax features such as parse tree production rules and constituency tags at a particular tree depth were used. ",
|
| 262 |
+
"bbox": [
|
| 263 |
+
174,
|
| 264 |
+
208,
|
| 265 |
+
825,
|
| 266 |
+
347
|
| 267 |
+
],
|
| 268 |
+
"page_idx": 2
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"type": "text",
|
| 272 |
+
"text": "Unlike previous approaches, we do not employ any handcrafted features and adopt an embedding based approach. Local coherence is taken into account by having a next sentence prediction component in the model and global dependencies are naturally captured by an RNN. We demonstrate that our model is able to capture both logical and topical structure by evaluating its performance on different types of data. ",
|
| 273 |
+
"bbox": [
|
| 274 |
+
174,
|
| 275 |
+
354,
|
| 276 |
+
825,
|
| 277 |
+
424
|
| 278 |
+
],
|
| 279 |
+
"page_idx": 2
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"type": "text",
|
| 283 |
+
"text": "Data-driven approaches Neural approaches have gained attention more recently. Li and Hovy (2014) model sentences as embeddings derived from recurrent/recursive neural nets and train a feedforward neural network that takes an input window of sentence embeddings and outputs a probability which represents the coherence of the sentence window. Coherence evaluation is performed by sliding the window over the text and aggregating the score. Li and Jurafsky (2016) study the same model in a larger scale task and also consider a sequence to sequence approach where the model is trained to generate the next sentence given the current sentence and vice versa. Chen et al. (2016) also propose a sentence embedding based approach where they model the probability that one sentence should come before another and define coherence based on the likelihood of the relative order of every pair of sentences. We believe these models are limited by the fact that they are local in nature and our experiments show that exploiting larger contexts can be very beneficial. ",
|
| 284 |
+
"bbox": [
|
| 285 |
+
174,
|
| 286 |
+
431,
|
| 287 |
+
825,
|
| 288 |
+
583
|
| 289 |
+
],
|
| 290 |
+
"page_idx": 2
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"type": "text",
|
| 294 |
+
"text": "Hierarchical RNNs for document modeling Word level and sentence level RNNs have been used in a hierarchical fashion for modeling documents in prior work. Li et al. (2015b) proposed a hierarchical document autoencoder which has potential to be used in generation and summarization applications. More relevant to our work is a similar model (but without an encoder) considered by Lin et al. (2015). A sentence level RNN predicts the bag of words in the next sentence given the previous sentences and a word level RNN predicts the word sequence conditioned on the sentence level RNN hidden state. The model has a structure similar to the content model of Barzilay and Lee (2004) with RNNs playing the roles of the HMM and the bigram language model. Our model has a hierarchical nature in that a sentence level RNN operates over words of a sentence and a document level RNN operates over sentence embeddings. ",
|
| 295 |
+
"bbox": [
|
| 296 |
+
174,
|
| 297 |
+
590,
|
| 298 |
+
825,
|
| 299 |
+
729
|
| 300 |
+
],
|
| 301 |
+
"page_idx": 2
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"type": "text",
|
| 305 |
+
"text": "Combinatorial optimization with RNNs Vinyals et al. (2015a) equip sequence to sequence models with the capability to handle input and output sets, and discuss experiments on sorting, language modeling and parsing. Their goal is to show that input and output orderings can matter in these tasks, which is demonstrated using several small scale experiments. Our work exploits this framework to address the challenging problem of modeling logical and hierarchical structure in text. Vinyals et al. (2015b) proposed pointer-networks, aimed at combinatorial optimization problems where the output dictionary size depends on the number of input elements. We use a pointer-network that points to each of the next sentence candidates as the decoder. ",
|
| 306 |
+
"bbox": [
|
| 307 |
+
174,
|
| 308 |
+
736,
|
| 309 |
+
825,
|
| 310 |
+
848
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 2
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "image",
|
| 316 |
+
"img_path": "images/f18d10cb155fa62453b415d7b0cafee130c5a7b60bdf362f040e430f538f2a9f.jpg",
|
| 317 |
+
"image_caption": [
|
| 318 |
+
"Figure 1: Model Overview: Illustration of the sentence encoder and single time-step computations in encoder and decoder. $s _ { i }$ ’s represent sentence embeddings derived from the sentence encoder. Attention weights are computed for the sentences based on their embeddings and the current hidden state. In the encoder an attention readout is concatenated with the LSTM output to form the next hidden state. The decoder uses the attention weights for prediction. "
|
| 319 |
+
],
|
| 320 |
+
"image_footnote": [],
|
| 321 |
+
"bbox": [
|
| 322 |
+
169,
|
| 323 |
+
102,
|
| 324 |
+
815,
|
| 325 |
+
268
|
| 326 |
+
],
|
| 327 |
+
"page_idx": 3
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"type": "text",
|
| 331 |
+
"text": "3 APPROACH",
|
| 332 |
+
"text_level": 1,
|
| 333 |
+
"bbox": [
|
| 334 |
+
174,
|
| 335 |
+
367,
|
| 336 |
+
299,
|
| 337 |
+
382
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 3
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "text",
|
| 343 |
+
"text": "Our proposed model is inspired by the way a human would solve this task. First, the model attempts to read the sentences to capture the semantics of the sentences as well as the general context of the paragraph. Given this knowledge, the model attempts to pick the sentences one by one sequentially till exhaustion. ",
|
| 344 |
+
"bbox": [
|
| 345 |
+
174,
|
| 346 |
+
398,
|
| 347 |
+
825,
|
| 348 |
+
454
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 3
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "Our model is based on the read, process and write framework proposed by Vinyals et al. (2015a) briefly discussed in section 1. We use the encoder-decoder terminology that is more common in the literature in the following discussion. ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
174,
|
| 357 |
+
462,
|
| 358 |
+
825,
|
| 359 |
+
503
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "text",
|
| 365 |
+
"text": "The model is comprised of a sentence encoder RNN, an encoder RNN and a decoder RNN (figure 1). An RNN sentence encoder takes as input the words of a sentence $s$ sequentially and computes an embedding representation of the sentence (Figure 1a). Henceforth, we shall use $s$ to refer to a sentence or its embedding interchangeably. The embeddings $\\{ s _ { 1 } , s _ { 2 } , . . . , s _ { n } \\}$ of a given set of $n$ sentences constitute the sentence memory, available to be accessed by subsequent components. ",
|
| 366 |
+
"bbox": [
|
| 367 |
+
174,
|
| 368 |
+
511,
|
| 369 |
+
825,
|
| 370 |
+
580
|
| 371 |
+
],
|
| 372 |
+
"page_idx": 3
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "text",
|
| 376 |
+
"text": "The encoder is identical to the originally proposed process block and is defined by equations 1-5 (See Figure 1b). Following the regular LSTM hidden state $( h _ { \\mathrm { e n c } } ^ { t - 1 } , c _ { \\mathrm { e n c } } ^ { t - 1 } )$ update, the hidden state is concatenated with an attention readout vector $s _ { \\mathrm { a t t } } ^ { t }$ , and this concatenated vector is treated as the hidden state for the next time step (Equation 5). Attention probabilities are computed by composing the hidden state with embeddings of the candidate sentences through a scoring function $f$ and taking the softmax (Equations 2, 3). This process is iterated for a number of times, called the number of read cycles. As described in Vinyals et al. (2015a) the encoder has the desirable property of being invariant to the order in which the sentence embeddings reside in the memory. The LSTM used here does not take any inputs (input is clamped to zero). ",
|
| 377 |
+
"bbox": [
|
| 378 |
+
173,
|
| 379 |
+
587,
|
| 380 |
+
825,
|
| 381 |
+
713
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 3
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "equation",
|
| 387 |
+
"img_path": "images/cd7b8ecc06e1b8333bfbb6977fdc70cfca441dd5db81459b564bebde0a1157a1.jpg",
|
| 388 |
+
"text": "$$\n\\begin{array} { r l } & { \\tilde { h } _ { \\mathrm { e n c } } ^ { t } , c _ { \\mathrm { e n c } } ^ { t } = \\mathrm { L S T M } ( h _ { \\mathrm { e n c } } ^ { t - 1 } , c _ { \\mathrm { e n c } } ^ { t - 1 } ) } \\\\ & { \\qquad e _ { \\mathrm { e n c } } ^ { t , i } = f ( s _ { i } , \\tilde { h } _ { \\mathrm { e n c } } ^ { t } ) ; i \\in \\{ 1 , . . . , n \\} } \\\\ & { \\qquad a _ { \\mathrm { e n c } } ^ { t } = \\mathrm { S o f t m a x } ( e _ { \\mathrm { e n c } } ^ { t } ) } \\\\ & { \\qquad s _ { \\mathrm { a t t } } ^ { t } = \\displaystyle \\sum _ { i = 1 } ^ { n } a _ { \\mathrm { e n c } } ^ { t , i } s _ { i } } \\\\ & { \\qquad k _ { \\mathrm { e n c } } ^ { t } = \\widetilde { [ h } _ { \\mathrm { e n c } } ^ { t } , ~ s _ { \\mathrm { a t t } } ^ { t } ] } \\end{array}\n$$",
|
| 389 |
+
"text_format": "latex",
|
| 390 |
+
"bbox": [
|
| 391 |
+
374,
|
| 392 |
+
717,
|
| 393 |
+
622,
|
| 394 |
+
845
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 3
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "text",
|
| 400 |
+
"text": "The decoder is a pointer network that takes a similar form with a few differences (equations 6-8, Figure 1c). The LSTM takes the embedding of the previous sentence also as input: At training time the correct order of sentences $( s _ { o _ { 1 } } , s _ { o _ { 2 } } , . . . , \\bar { s } _ { o _ { n } } ) = ( \\bar { x } ^ { 1 } , x ^ { 2 } , . . . , x ^ { n } )$ is known $\\scriptstyle { \\dot { o } }$ represents the correct order) and $x ^ { t - 1 }$ is used as the input. At test time the predicted assignment $\\hat { x } ^ { t - 1 }$ is used instead. This makes concatenating the attention readout to the hidden state somewhat redundant (verified empirically), and hence it is omitted. The attention computation is identical to that of the encoder. The initial state of the decoder LSTM is initialized with the final hidden state of the encoder as in sequence to sequence models.1 $x ^ { 0 }$ is a vector of zeros. Figure 1 illustrates the single time-step computation in the encoder and decoder. ",
|
| 401 |
+
"bbox": [
|
| 402 |
+
173,
|
| 403 |
+
853,
|
| 404 |
+
825,
|
| 405 |
+
924
|
| 406 |
+
],
|
| 407 |
+
"page_idx": 3
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"type": "text",
|
| 411 |
+
"text": "",
|
| 412 |
+
"bbox": [
|
| 413 |
+
174,
|
| 414 |
+
103,
|
| 415 |
+
825,
|
| 416 |
+
159
|
| 417 |
+
],
|
| 418 |
+
"page_idx": 4
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"type": "equation",
|
| 422 |
+
"img_path": "images/fb6ae1e67c25250d2a65e8c7442d67c2d79fd71cedc4f9c2a33c80e5b901a0cf.jpg",
|
| 423 |
+
"text": "$$\n\\begin{array} { r l } & { h _ { \\mathrm { d e c } } ^ { t } , c _ { \\mathrm { d e c } } ^ { t } = \\mathrm { L S T M } ( h _ { \\mathrm { d e c } } ^ { t - 1 } , c _ { \\mathrm { d e c } } ^ { t - 1 } , x ^ { t - 1 } ) } \\\\ & { ~ e _ { \\mathrm { d e c } } ^ { t , i } = f ( s _ { i } , h _ { \\mathrm { d e c } } ^ { t } ) ; i \\in \\{ 1 , . . . , n \\} ~ } \\\\ & { ~ a _ { \\mathrm { d e c } } ^ { t } = \\mathrm { S o f t m a x } ( e _ { \\mathrm { d e c } } ^ { t } ) } \\end{array}\n$$",
|
| 424 |
+
"text_format": "latex",
|
| 425 |
+
"bbox": [
|
| 426 |
+
375,
|
| 427 |
+
166,
|
| 428 |
+
622,
|
| 429 |
+
229
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 4
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "The attention probability $a _ { \\mathrm { d e c } } ^ { t , i }$ is interpreted as the probability for $s _ { i }$ being the correct sentence choice at position $t$ , conditioned on the previous sentence assignments $p ( S _ { t } = s _ { i } | S _ { 1 } , . . . , S _ { t - 1 } )$ . ",
|
| 436 |
+
"bbox": [
|
| 437 |
+
171,
|
| 438 |
+
238,
|
| 439 |
+
826,
|
| 440 |
+
268
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 4
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "3.1 SCORING FUNCTION ",
|
| 447 |
+
"text_level": 1,
|
| 448 |
+
"bbox": [
|
| 449 |
+
174,
|
| 450 |
+
281,
|
| 451 |
+
357,
|
| 452 |
+
295
|
| 453 |
+
],
|
| 454 |
+
"page_idx": 4
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"type": "text",
|
| 458 |
+
"text": "We consider two choices for the scoring functions $f$ in our experiments. The first one is a single hidden layer feed-forward net that takes $s , h$ as inputs and outputs a score ",
|
| 459 |
+
"bbox": [
|
| 460 |
+
173,
|
| 461 |
+
308,
|
| 462 |
+
823,
|
| 463 |
+
337
|
| 464 |
+
],
|
| 465 |
+
"page_idx": 4
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"type": "equation",
|
| 469 |
+
"img_path": "images/31f20574697fb32cde69a667b7bb17a5a9f36d91e1891b244f28f5bdf2e0b32e.jpg",
|
| 470 |
+
"text": "$$\nf ( s , h ) = W ^ { \\prime } { \\operatorname { t a n h } } ( W [ s ; h ] + b ) + b ^ { \\prime }\n$$",
|
| 471 |
+
"text_format": "latex",
|
| 472 |
+
"bbox": [
|
| 473 |
+
374,
|
| 474 |
+
345,
|
| 475 |
+
624,
|
| 476 |
+
363
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 4
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "where $W , b , W ^ { \\prime } , b ^ { \\prime }$ are learnable parameters. This scoring function takes a discriminative approach in classifying the next sentence. Note that the structure of this scoring function is similar to the window network in Li and Hovy (2014). While they used a local window of sentences to capture context, this scoring function exploits the RNN hidden state to score sentence candidates. ",
|
| 483 |
+
"bbox": [
|
| 484 |
+
174,
|
| 485 |
+
371,
|
| 486 |
+
825,
|
| 487 |
+
428
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 4
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"text": "We also consider a bilinear scoring function ",
|
| 494 |
+
"bbox": [
|
| 495 |
+
176,
|
| 496 |
+
434,
|
| 497 |
+
464,
|
| 498 |
+
449
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 4
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "equation",
|
| 504 |
+
"img_path": "images/03b89f3e1c3ed05b4b4a21b4819b24bc90c4cf53113011465f13e1f79d4c633c.jpg",
|
| 505 |
+
"text": "$$\nf ( s , h ) = s ^ { T } ( W h + b )\n$$",
|
| 506 |
+
"text_format": "latex",
|
| 507 |
+
"bbox": [
|
| 508 |
+
419,
|
| 509 |
+
458,
|
| 510 |
+
578,
|
| 511 |
+
477
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 4
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"text": "Compared to the previous scoring function, this takes a generative approach of trying to regress the next sentence given the current hidden state $\\left( W h + b \\right)$ and enforcing that it be most similar to the correct next sentence. We observed that this scoring function led to learning better sentence representations (section 4.4). ",
|
| 518 |
+
"bbox": [
|
| 519 |
+
174,
|
| 520 |
+
486,
|
| 521 |
+
825,
|
| 522 |
+
541
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 4
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "3.2 TRAINING OBJECTIVE ",
|
| 529 |
+
"text_level": 1,
|
| 530 |
+
"bbox": [
|
| 531 |
+
176,
|
| 532 |
+
555,
|
| 533 |
+
370,
|
| 534 |
+
570
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 4
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "The model is trained with the maximum likelihood objective: ",
|
| 541 |
+
"bbox": [
|
| 542 |
+
174,
|
| 543 |
+
582,
|
| 544 |
+
575,
|
| 545 |
+
597
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 4
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "equation",
|
| 551 |
+
"img_path": "images/f48e4b6d9b2d8cd8962aa3d642ecbd7f209d38403b27aec684b0382335730beb.jpg",
|
| 552 |
+
"text": "$$\n\\operatorname* { m a x } \\sum _ { x \\in D } \\sum _ { t = 1 } ^ { | x | } \\log p ( x ^ { t } | x ^ { 1 } , . . . , x ^ { t - 1 } )\n$$",
|
| 553 |
+
"text_format": "latex",
|
| 554 |
+
"bbox": [
|
| 555 |
+
380,
|
| 556 |
+
602,
|
| 557 |
+
616,
|
| 558 |
+
647
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 4
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "text",
|
| 564 |
+
"text": "where $D$ denotes the training set and each training instance is given by an ordered document of sentences $x = ( x ^ { 1 } , . . . , x ^ { | x | } )$ . We also considered an alternative structured margin loss which imposes less penalty for assigning high scores to sentence candidates that are close to the correct sentence in the source document instead of uniformly penalizing all incorrect sentence candidates. However, the softmax output with cross entropy loss consistently performed better. ",
|
| 565 |
+
"bbox": [
|
| 566 |
+
173,
|
| 567 |
+
654,
|
| 568 |
+
825,
|
| 569 |
+
727
|
| 570 |
+
],
|
| 571 |
+
"page_idx": 4
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"type": "text",
|
| 575 |
+
"text": "3.3 COHERENCE MODELING ",
|
| 576 |
+
"text_level": 1,
|
| 577 |
+
"bbox": [
|
| 578 |
+
174,
|
| 579 |
+
739,
|
| 580 |
+
383,
|
| 581 |
+
753
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 4
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "text",
|
| 587 |
+
"text": "We define the coherence score of an arbitrary partial/complete assignment $( s _ { p _ { 1 } } , . . . , s _ { p _ { k } } )$ to the first $k$ sentence positions as ",
|
| 588 |
+
"bbox": [
|
| 589 |
+
174,
|
| 590 |
+
766,
|
| 591 |
+
821,
|
| 592 |
+
795
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 4
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "equation",
|
| 598 |
+
"img_path": "images/9a34b25126559b31078d4b3904649c110963b88cd8fe37f34abb84d3260101f2.jpg",
|
| 599 |
+
"text": "$$\n\\sum _ { i = 1 } ^ { k } \\log p ( S _ { i } = s _ { p _ { i } } | S _ { 1 } = s _ { p _ { 1 } } , . . . , S _ { i - 1 } = s _ { p _ { i - 1 } } )\n$$",
|
| 600 |
+
"text_format": "latex",
|
| 601 |
+
"bbox": [
|
| 602 |
+
338,
|
| 603 |
+
787,
|
| 604 |
+
656,
|
| 605 |
+
832
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 4
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "text",
|
| 611 |
+
"text": "where $S _ { 1 } , . . , S _ { k }$ are random variables representing the sentence assignment to positions 1 through $k$ . The conditional probabilities are derived from the network. This is our measure of comparing the coherence of different renderings of a document. It is also used as a heuristic during decoding. ",
|
| 612 |
+
"bbox": [
|
| 613 |
+
174,
|
| 614 |
+
840,
|
| 615 |
+
826,
|
| 616 |
+
883
|
| 617 |
+
],
|
| 618 |
+
"page_idx": 4
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"type": "table",
|
| 622 |
+
"img_path": "images/06e80308b7d623d2193a4f770fdf59ec24ec74f022ead999301366ef6de1eeec.jpg",
|
| 623 |
+
"table_caption": [
|
| 624 |
+
"Table 1: Statistics of data used in our experiments. For the first two datasets, the test set size\\* is the number of permutation pairs used for order discrimination experiments. "
|
| 625 |
+
],
|
| 626 |
+
"table_footnote": [],
|
| 627 |
+
"table_body": "<table><tr><td rowspan=\"2\">Dataset</td><td colspan=\"4\">Length Statistics</td><td colspan=\"3\">Data Split</td><td rowspan=\"2\">Types</td></tr><tr><td>Min</td><td>Mode</td><td>Mean</td><td>Max</td><td>Train</td><td>Val</td><td>Test</td></tr><tr><td>Accidents</td><td>6</td><td>11</td><td>11.6</td><td>19</td><td>100</td><td>-</td><td>1986*</td><td>5,140</td></tr><tr><td>Earthquakes</td><td>3</td><td>7</td><td>10.4</td><td>31</td><td>100</td><td>1</td><td>1956*</td><td>3,775</td></tr><tr><td>NIPS abstracts</td><td>2</td><td>7</td><td>6</td><td>15</td><td>2448</td><td>409</td><td>402</td><td>18,696</td></tr><tr><td>AAN abstracts</td><td>1</td><td>4</td><td>5</td><td>20</td><td>8569</td><td>962</td><td>2626</td><td>40,288</td></tr><tr><td>NSF abstracts</td><td>2</td><td>7</td><td>8.9</td><td>40</td><td>96070</td><td>10185</td><td>21580</td><td>373,909</td></tr></table>",
|
| 628 |
+
"bbox": [
|
| 629 |
+
218,
|
| 630 |
+
138,
|
| 631 |
+
771,
|
| 632 |
+
253
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 5
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"text": "4 EXPERIMENTAL RESULTS ",
|
| 639 |
+
"text_level": 1,
|
| 640 |
+
"bbox": [
|
| 641 |
+
176,
|
| 642 |
+
279,
|
| 643 |
+
419,
|
| 644 |
+
295
|
| 645 |
+
],
|
| 646 |
+
"page_idx": 5
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"type": "text",
|
| 650 |
+
"text": "4.1 MODEL TRAINING ",
|
| 651 |
+
"text_level": 1,
|
| 652 |
+
"bbox": [
|
| 653 |
+
174,
|
| 654 |
+
306,
|
| 655 |
+
344,
|
| 656 |
+
320
|
| 657 |
+
],
|
| 658 |
+
"page_idx": 5
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"text": "For all tasks discussed in this section we train the model with the same objective (equation 11) on the training data relevant to the task. We used the single hidden layer MLP scoring function for the order discrimination and sentence ordering tasks. Models are trained end-to-end. ",
|
| 663 |
+
"bbox": [
|
| 664 |
+
174,
|
| 665 |
+
332,
|
| 666 |
+
825,
|
| 667 |
+
375
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 5
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"text": "Model parameters. We use pre-trained 300 dimensional GloVe word embeddings (Pennington et al., 2014). All LSTMs use a hidden layer size of 1000 and the MLP in section 9 has a hidden layer size of 500. The number of read cycles in the encoder is set to 10. The same model architecture is used across all experiments. ",
|
| 674 |
+
"bbox": [
|
| 675 |
+
174,
|
| 676 |
+
376,
|
| 677 |
+
825,
|
| 678 |
+
429
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 5
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "Preprocessing. The nltk sentence tokenizer was used for word tokenization. The GloVe vocabulary was used as the reference vocabulary. Any word not in the vocabulary is checked for a case insensitive match. If a token is hyphenated, we check if the constituent words are in the vocabulary. In the AAN abstracts data (section 4.3.1), some words tend to have a hyphen in the middle because of word hyphenation across lines in the original document. Hence we also check if stripping hyphens produces a vocabulary word. If all checks fail, and a token appears in the training set above a certain frequency, it is added to the vocabulary. ",
|
| 685 |
+
"bbox": [
|
| 686 |
+
173,
|
| 687 |
+
430,
|
| 688 |
+
825,
|
| 689 |
+
526
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 5
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "Learning . We used a batch size of 10 and the Adam optimizer (Kingma and Ba, 2014) with a base learning rate of 5e-4 for all experiments. Early stopping is used for regularization. ",
|
| 696 |
+
"bbox": [
|
| 697 |
+
174,
|
| 698 |
+
526,
|
| 699 |
+
823,
|
| 700 |
+
555
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 5
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "4.2 ORDER DISCRIMINATION ",
|
| 707 |
+
"text_level": 1,
|
| 708 |
+
"bbox": [
|
| 709 |
+
174,
|
| 710 |
+
568,
|
| 711 |
+
390,
|
| 712 |
+
582
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 5
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "text",
|
| 718 |
+
"text": "Finding the optimal ordering is a difficult problem when a large number of sentences are required to be rearranged or when there is inherent ambiguity in the ordering of the sentences. For this reason, the ordering problem is commonly formulated as the following binary classification task. Given a reference paragraph and a permuted version of it, the more coherently organized one needs to be identified (Barzilay and Lapata, 2008). ",
|
| 719 |
+
"bbox": [
|
| 720 |
+
174,
|
| 721 |
+
589,
|
| 722 |
+
825,
|
| 723 |
+
660
|
| 724 |
+
],
|
| 725 |
+
"page_idx": 5
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"type": "text",
|
| 729 |
+
"text": "4.2.1 DATA ",
|
| 730 |
+
"text_level": 1,
|
| 731 |
+
"bbox": [
|
| 732 |
+
174,
|
| 733 |
+
676,
|
| 734 |
+
266,
|
| 735 |
+
690
|
| 736 |
+
],
|
| 737 |
+
"page_idx": 5
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "text",
|
| 741 |
+
"text": "We consider data from two different domains that have been widely used for this task in previous work since Barzilay and Lee (2004); Barzilay and Lapata (2008). The ACCIDENTS data (aka AIRPLANE data) is a set of aviation accident reports from the National Transportation Safety Board’s database. The EARTHQUAKES data comprises newspaper articles from the North American News Text Corpus. In each of the above datasets the training and test sets include 100 articles as well as approximately 20 permutations of each article. Further statistics about the data are shown in table 1. ",
|
| 742 |
+
"bbox": [
|
| 743 |
+
174,
|
| 744 |
+
700,
|
| 745 |
+
825,
|
| 746 |
+
785
|
| 747 |
+
],
|
| 748 |
+
"page_idx": 5
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "text",
|
| 752 |
+
"text": "4.2.2 RESULTS ",
|
| 753 |
+
"text_level": 1,
|
| 754 |
+
"bbox": [
|
| 755 |
+
174,
|
| 756 |
+
801,
|
| 757 |
+
292,
|
| 758 |
+
815
|
| 759 |
+
],
|
| 760 |
+
"page_idx": 5
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"type": "text",
|
| 764 |
+
"text": "Table 2 compares the performance of our model against prior approaches. We compare results against traditional approaches in the literature as well as some recent data-driven approaches (See section 2 for more details). The entity grid model provides a strong baseline on the ACCIDENTS dataset, only outperformed by our model and Li and Jurafsky (2016) . On the EARTHQUAKE data the window approach of Li and Hovy (2014) and Li and Jurafsky (2016) perform strongly. Our approach outperforms prior models on both datasets, achieving near perfect performance on the Earthquakes dataset. ",
|
| 765 |
+
"bbox": [
|
| 766 |
+
174,
|
| 767 |
+
825,
|
| 768 |
+
825,
|
| 769 |
+
922
|
| 770 |
+
],
|
| 771 |
+
"page_idx": 5
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"type": "table",
|
| 775 |
+
"img_path": "images/4b589b969bd7784e25b572ffb6beb8c2818006a7e376f3f8cf3836d2fa995d49.jpg",
|
| 776 |
+
"table_caption": [
|
| 777 |
+
"Table 2: Mean Accuracy comparison on the Accidents and Earthquakes data for the order discrimination task. Reference results obtained from the respective publications. "
|
| 778 |
+
],
|
| 779 |
+
"table_footnote": [],
|
| 780 |
+
"table_body": "<table><tr><td>Methods</td><td>ACCIDENTS</td><td>EARTHQUAKES</td></tr><tr><td>Barzilay and Lapata (2008)</td><td>0.904</td><td>0.872</td></tr><tr><td>Louis and Nenkova (2012)</td><td>0.842</td><td>0.957</td></tr><tr><td>Guinaudeau and Strube (2013)</td><td>0.846</td><td>0.635</td></tr><tr><td>Liand Hovy (2014) -Recurrent</td><td>0.840</td><td>0.951</td></tr><tr><td>Li and Hovy (2014) - Recursive</td><td>0.864</td><td>0.976</td></tr><tr><td>Li and Jurafsky (2016)</td><td>0.930</td><td>0.992</td></tr><tr><td>Ours</td><td>0.944</td><td>0.997</td></tr></table>",
|
| 781 |
+
"bbox": [
|
| 782 |
+
302,
|
| 783 |
+
137,
|
| 784 |
+
691,
|
| 785 |
+
247
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 6
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "While these datasets have been widely used in the literature, they are quite formulaic in nature and are no longer challenging. We hence turn to the more challenging task of ordering a given collection of sentences to make a coherent document. ",
|
| 792 |
+
"bbox": [
|
| 793 |
+
176,
|
| 794 |
+
275,
|
| 795 |
+
823,
|
| 796 |
+
316
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 6
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "4.3 SENTENCE ORDERING ",
|
| 803 |
+
"text_level": 1,
|
| 804 |
+
"bbox": [
|
| 805 |
+
176,
|
| 806 |
+
337,
|
| 807 |
+
370,
|
| 808 |
+
351
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 6
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "In this task we directly address the ordering problem. We do not assume the availability of a set of candidate orderings to choose from and instead attempt to find a good ordering from all possible permutations of the sentences. ",
|
| 815 |
+
"bbox": [
|
| 816 |
+
174,
|
| 817 |
+
363,
|
| 818 |
+
825,
|
| 819 |
+
405
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 6
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "text",
|
| 825 |
+
"text": "The difficulty of the ordering problem depends on the nature of the text as well as the length of paragraphs considered. Evaluation on text from arbitrary text sources makes it difficult to interpret the results, since it may not be clear whether to attribute the observed performance to a deficient model or ambiguity in next sentence choices due to many plausible orderings. ",
|
| 826 |
+
"bbox": [
|
| 827 |
+
174,
|
| 828 |
+
412,
|
| 829 |
+
825,
|
| 830 |
+
468
|
| 831 |
+
],
|
| 832 |
+
"page_idx": 6
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"type": "text",
|
| 836 |
+
"text": "Text summaries are a suitable source of data for this task. They often exhibit a clear flow of ideas and have minimal redundancy. We specifically look at abstracts of conference papers and NSF research proposals. This data has several favorable properties. Abstracts usually have a particular high level format - They start out with a brief introduction, a description of the problem addressed and proposed approach and conclude with performance remarks. This would allow us to identify if the model is capable of capturing high level logical structure. Second, abstracts have an average length of about 10, making the ordering task more accessible. Furthermore, this also gives us a significant amount of data to train and test our models. ",
|
| 837 |
+
"bbox": [
|
| 838 |
+
174,
|
| 839 |
+
476,
|
| 840 |
+
825,
|
| 841 |
+
587
|
| 842 |
+
],
|
| 843 |
+
"page_idx": 6
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "text",
|
| 847 |
+
"text": "4.3.1 DATA ",
|
| 848 |
+
"text_level": 1,
|
| 849 |
+
"bbox": [
|
| 850 |
+
174,
|
| 851 |
+
604,
|
| 852 |
+
266,
|
| 853 |
+
619
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 6
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "text",
|
| 859 |
+
"text": "NIPS Abstracts. We consider abstracts from NIPS papers in the past 10 years. We parsed 3280 abstracts from paper pdfs and obtained 3259 abstracts after omitting erroneous extracts. The dataset was split into years 2005-2013 for training and years 2014, 2015 respectively for validation and testing2. ",
|
| 860 |
+
"bbox": [
|
| 861 |
+
174,
|
| 862 |
+
630,
|
| 863 |
+
825,
|
| 864 |
+
686
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 6
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "text",
|
| 870 |
+
"text": "ACL Abstracts. A second source of abstracts we consider are papers from the ACL Anthology Network (AAN) corpus (Radev et al., 2009) of ACL papers. At the time of retrieval, the corpus had publications up to year 2013. We extracted abstracts from the text parses using simple keyword matching for the strings ‘Abstract’ and ‘Introduction’. Our extraction is successful for 12,157 articles. Most of the failures occur for older papers due to improper formatting and OCR issues. We use all extracts of papers published up to year 2010 for training, year 2011 for validation and years 2012-2013 for testing. We additionally merge words hyphenated at the edges of paragraph boundaries. ",
|
| 871 |
+
"bbox": [
|
| 872 |
+
173,
|
| 873 |
+
693,
|
| 874 |
+
825,
|
| 875 |
+
791
|
| 876 |
+
],
|
| 877 |
+
"page_idx": 6
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"type": "text",
|
| 881 |
+
"text": "NSF Abstracts. We also evaluate our model on the NSF Research Award Abstracts dataset (Lichman, 2013). This dataset comprises abstracts from a diverse set of scientific areas in contrast to the previous two sources of data and the abstracts are also lengthier, making this dataset more challenging. Years 1990-1999 were used for training, 2000 for validation and 2001-2003 for testing. We capped the parses of the abstracts to a maximum length of 40 sentences. Unsuccessful parses and parses of excessive length were discarded. Further details about the datasets are provided in table 1. ",
|
| 882 |
+
"bbox": [
|
| 883 |
+
174,
|
| 884 |
+
797,
|
| 885 |
+
825,
|
| 886 |
+
881
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 6
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "table",
|
| 892 |
+
"img_path": "images/7beb037f8eff130011c5eaedec1ce434bbd9db9486e07b95168e3344bcf7a51b.jpg",
|
| 893 |
+
"table_caption": [
|
| 894 |
+
"Table 3: Comparison against prior methods on the abstracts data. "
|
| 895 |
+
],
|
| 896 |
+
"table_footnote": [],
|
| 897 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"2\">NIPS Abstracts</td><td colspan=\"2\">AAN Abstracts</td><td colspan=\"2\">NSF Abstracts</td></tr><tr><td>Accuracy</td><td>T</td><td>Accuracy</td><td>T</td><td>Accuracy</td><td>T</td></tr><tr><td>Random</td><td>15.59</td><td>0</td><td>19.36</td><td>0</td><td>9.46</td><td>0</td></tr><tr><td>Entity Grid (Barzilay and Lapata, 2008)</td><td>20.10</td><td>0.09</td><td>21.82</td><td>0.10</td><td>1</td><td>-</td></tr><tr><td>Seq2seq (Uni) (Li and Jurafsky,2016)</td><td>27.18</td><td>0.27</td><td>36.62</td><td>0.40</td><td>13.68</td><td>0.10</td></tr><tr><td>Window network (Li and Hovy,2014)</td><td>41.76</td><td>0.59</td><td>50.87</td><td>0.65</td><td>18.67</td><td>0.28</td></tr><tr><td>RNN Decoder</td><td>48.22</td><td>0.67</td><td>52.06</td><td>0.66</td><td>25.79</td><td>0.48</td></tr><tr><td>Proposed model</td><td>51.55</td><td>0.72</td><td>58.06</td><td>0.73</td><td>28.33</td><td>0.51</td></tr></table>",
|
| 898 |
+
"bbox": [
|
| 899 |
+
205,
|
| 900 |
+
125,
|
| 901 |
+
789,
|
| 902 |
+
247
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 7
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "4.3.2 METRICS ",
|
| 909 |
+
"text_level": 1,
|
| 910 |
+
"bbox": [
|
| 911 |
+
174,
|
| 912 |
+
279,
|
| 913 |
+
294,
|
| 914 |
+
292
|
| 915 |
+
],
|
| 916 |
+
"page_idx": 7
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"type": "text",
|
| 920 |
+
"text": "We use the following metrics to evaluate performance on this task. Accuracy measures how often the absolute position of a sentence was correctly predicted. Being a too stringent measure, it penalizes correctly predicted subsequences that are shifted. Another metric widely used in the literature is Kendall’s tau $\\left( \\tau \\right)$ , computed as $1 - 2 \\times$ (number of inversions)/ $\\binom { n } { 2 }$ , where the number of inversions is the number of pairs in the predicted sequence with incorrect relative order and $n$ is the length of the sequence. Lapata (2006) discusses that this metric reliably correlates with human judgements. ",
|
| 921 |
+
"bbox": [
|
| 922 |
+
174,
|
| 923 |
+
306,
|
| 924 |
+
825,
|
| 925 |
+
390
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 7
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "4.3.3 BASELINES",
|
| 932 |
+
"text_level": 1,
|
| 933 |
+
"bbox": [
|
| 934 |
+
174,
|
| 935 |
+
412,
|
| 936 |
+
308,
|
| 937 |
+
426
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 7
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "text",
|
| 943 |
+
"text": "Entity Grid. Our first baseline is the Entity Grid model of Barzilay and Lapata (2008). We use the Stanford parser (Klein and Manning, 2003) to get constituency trees for all sentences in our datasets. We derive entity grid representations for the parsed sentences using the Brown Coherence Toolkit.3 A ranking SVM is trained to score correct orderings higher than incorrect orderings as in the original work. We used 20 permutations per document as training data. Since the entity grid representation only provides a means of feature extraction we evaluate the model in the ordering setting as follows. We choose 1000 random permutations for each document, one of them being the correct order, and pick the order with maximum coherence. We experimented with transitions of length at most 3 in the entity-grid. ",
|
| 944 |
+
"bbox": [
|
| 945 |
+
173,
|
| 946 |
+
439,
|
| 947 |
+
826,
|
| 948 |
+
565
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 7
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "text",
|
| 954 |
+
"text": "Sequence to sequence. The second baseline we consider is a sequence to sequence model which is trained to predict the next sentence given the current sentence. Li and Jurafsky (2016) consider similar methods and our model is same as the uni-directional model in their work. These methods were shown to yield sentence embeddings that have competitive performance in several semantic tasks in Kiros et al. (2015). ",
|
| 955 |
+
"bbox": [
|
| 956 |
+
174,
|
| 957 |
+
571,
|
| 958 |
+
825,
|
| 959 |
+
641
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 7
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "Window Network. We consider the window approach of Li and Hovy (2014) and Li and Jurafsky (2016) which demonstrated strong performance in the order discrimination task as our third baseline. We adopt the same coherence score interpretation considered by the authors in the above work. In both the above models we consider a special embedding vector which is padded at the beginning of a paragraph and learned during training. This vector allows us to identify the initial few sentences during greedy decoding. ",
|
| 966 |
+
"bbox": [
|
| 967 |
+
173,
|
| 968 |
+
648,
|
| 969 |
+
825,
|
| 970 |
+
733
|
| 971 |
+
],
|
| 972 |
+
"page_idx": 7
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"type": "text",
|
| 976 |
+
"text": "RNN Decoder. Another baseline we consider is our proposed model without the encoder. The decoder hidden state is initialized with zeros. We observed that using a special start symbol as for the other baselines helped obtain better performance with this model. However, a start symbol did not help when the model is equipped with an encoder as the hidden state initialization alone was good enough. ",
|
| 977 |
+
"bbox": [
|
| 978 |
+
174,
|
| 979 |
+
739,
|
| 980 |
+
825,
|
| 981 |
+
809
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 7
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "text",
|
| 987 |
+
"text": "We do not place emphasis on the particular search algorithm in this work and thus use beam search using the coherence score heuristic for all models. A beam size of 100 was used. During decoding, sentence candidates that have been already chosen are pruned from the beam. All RNNs use a hidden layer size of 1000. For the window network we used a window size of 3 and a hidden layer size of 2000. We initialize all models with pre-trained GloVe word embeddings. ",
|
| 988 |
+
"bbox": [
|
| 989 |
+
174,
|
| 990 |
+
815,
|
| 991 |
+
825,
|
| 992 |
+
886
|
| 993 |
+
],
|
| 994 |
+
"page_idx": 7
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"type": "image",
|
| 998 |
+
"img_path": "images/e53d4ba67148ca85ebcb090221c5785b3890a9ea64b01607ca07a2f3792adf2a.jpg",
|
| 999 |
+
"image_caption": [
|
| 1000 |
+
"Figure 2: t-SNE embeddings of representations learned by the model for sentences from the test set. The embeddings are color coded by the position of the sentence in the document it appears. "
|
| 1001 |
+
],
|
| 1002 |
+
"image_footnote": [],
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
209,
|
| 1005 |
+
93,
|
| 1006 |
+
797,
|
| 1007 |
+
262
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 8
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "text",
|
| 1013 |
+
"text": "4.3.4 RESULTS ",
|
| 1014 |
+
"text_level": 1,
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
174,
|
| 1017 |
+
333,
|
| 1018 |
+
290,
|
| 1019 |
+
347
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 8
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "We assess the performance of our model against baseline methods in table 3. The window network performs strongly compared to the other baselines. Our model does better by a significant margin by exploiting global context, demonstrating that global context is important to be successful in this task. ",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
174,
|
| 1028 |
+
361,
|
| 1029 |
+
825,
|
| 1030 |
+
402
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 8
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "text",
|
| 1036 |
+
"text": "While the Entity-Grid model has been fairly successful for the order discrimination task in the past we observe that it fails to discriminate between a large number of candidates. One reason could be that the feature representation is fairly less sensitive to local changes in sentence order (such as swapping adjacent sentences). We did not use coreference resolution for computing the entity-grids due to the computational overhead. This could potentially improve results by a few percentage points. The computational expense of obtaining parse trees and constructing grids on a large amount of data prohibited us from experimenting with this model on the NSF abstracts data. ",
|
| 1037 |
+
"bbox": [
|
| 1038 |
+
174,
|
| 1039 |
+
410,
|
| 1040 |
+
825,
|
| 1041 |
+
507
|
| 1042 |
+
],
|
| 1043 |
+
"page_idx": 8
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "text",
|
| 1047 |
+
"text": "The sequence to sequence model falls short of the window network in performance. Interestingly, Li and Jurafsky (2016) observe that the seq2seq model outperforms the window network in an order discrimination task on wikipedia data. However, the wikipedia data considered in their work has an order of magnitude more data that the datasets considered here, and that could have potentially helped the generative model. These models are also expensive during inference since they involve computing and sampling from word distributions. ",
|
| 1048 |
+
"bbox": [
|
| 1049 |
+
174,
|
| 1050 |
+
513,
|
| 1051 |
+
825,
|
| 1052 |
+
597
|
| 1053 |
+
],
|
| 1054 |
+
"page_idx": 8
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"type": "text",
|
| 1058 |
+
"text": "In Figure 3 we attempt to visualize the sentence representations learned by the sentence encoder in our model. The figure shows 2-dimensional t-SNE embeddings of test set sentences from each of the datasets color coded by their positions in the source abstract. This shows that the model learns high-level structure in the documents, generalizing well to unseen documents. The structure is less apparent in the NSF data which we presume is because of the data diversity and longer documents. While approaches based on the content model of Barzilay and Lee (2004) attempt to explicitly capture topics by discovering clusters in sentences, we observe that the neural approach implicitly discovers such structure. ",
|
| 1059 |
+
"bbox": [
|
| 1060 |
+
174,
|
| 1061 |
+
604,
|
| 1062 |
+
825,
|
| 1063 |
+
715
|
| 1064 |
+
],
|
| 1065 |
+
"page_idx": 8
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"type": "text",
|
| 1069 |
+
"text": "4.4 LEARNED SENTENCE REPRESENTATIONS ",
|
| 1070 |
+
"text_level": 1,
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
174,
|
| 1073 |
+
734,
|
| 1074 |
+
500,
|
| 1075 |
+
750
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 8
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "One of the original motivations for this work is the question whether we can learn high quality sentence representations by learning to model text coherence. To address this question we trained our model on a large dataset of paragraphs. We chose the BookCorpus dataset (Kiros et al., 2015) for this purpose. We trained the model with two key changes from the models trained on the abstracts data - 1) In addition to the sentences in the paragraph being considered, we added more contrastive sentences from other paragraphs as well. 2) We use the bilinear scoring function. These techniques helped obtain better representations when training on large amounts of data. ",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
174,
|
| 1084 |
+
763,
|
| 1085 |
+
825,
|
| 1086 |
+
861
|
| 1087 |
+
],
|
| 1088 |
+
"page_idx": 8
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"type": "text",
|
| 1092 |
+
"text": "To evaluate the quality of the sentence embeddings derived from the model, we use the evaluation pipeline of Kiros et al. (2015) for tasks that involve understanding sentence semantics. These evaluations are performed by training a classifier on top of the embeddings derived from the model so that the performance is indicative of the quality of sentence representations. We consider the semantic relatedness and paraphrase detection tasks. Our results are presented in tables 4a, 4b. Results for only uni-directional versions of different models are discussed here for a reasonable comparison. ",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
174,
|
| 1095 |
+
867,
|
| 1096 |
+
823,
|
| 1097 |
+
924
|
| 1098 |
+
],
|
| 1099 |
+
"page_idx": 8
|
| 1100 |
+
},
|
| 1101 |
+
{
|
| 1102 |
+
"type": "table",
|
| 1103 |
+
"img_path": "images/a719c53dd32bcaa2b880ef56df34ea8d936441bc6c2714b5439d44c5740ec778.jpg",
|
| 1104 |
+
"table_caption": [
|
| 1105 |
+
"Table 4: Performance comparison for the semantic similarity (SICK dataset) and paraphrase detection (MSR paraphrase corpus) tasks. In each table the first section shows some best performing supervised methods in the literature. The second section shows models relevant to the skip-thought model. The third section shows our models. ",
|
| 1106 |
+
"(a) Sentence similarity "
|
| 1107 |
+
],
|
| 1108 |
+
"table_footnote": [],
|
| 1109 |
+
"table_body": "<table><tr><td>Method</td><td>r</td><td>p</td><td>MSE</td></tr><tr><td colspan=\"4\">Purely supervised methods</td></tr><tr><td>DT-RNN (Tai et al., 2015)</td><td>0.792</td><td>0.732</td><td>0.382</td></tr><tr><td>LSTM (Tai et al.,2015)</td><td>0.853</td><td>0.791</td><td>0.283</td></tr><tr><td>DT-LSTM (Tai et al.,2015)</td><td>0.868</td><td>0.808</td><td>0.253</td></tr><tr><td colspan=\"4\">Classifier trained on sentence embeddings</td></tr><tr><td>skip-bow (Kiros et al.,2015)</td><td>0.782</td><td>0.724</td><td>0.398</td></tr><tr><td>uni-skip (Kiros et al., 2015)</td><td>0.848</td><td>0.778</td><td>0.287</td></tr><tr><td>Ordering model</td><td>0.807</td><td>0.742</td><td>0.356</td></tr><tr><td>+BoW</td><td>0.842</td><td>0.775</td><td>0.299</td></tr><tr><td>+ uni-skip</td><td>0.860</td><td>0.795</td><td>0.270</td></tr></table>",
|
| 1110 |
+
"bbox": [
|
| 1111 |
+
186,
|
| 1112 |
+
170,
|
| 1113 |
+
513,
|
| 1114 |
+
334
|
| 1115 |
+
],
|
| 1116 |
+
"page_idx": 9
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"type": "table",
|
| 1120 |
+
"img_path": "images/94118c30df713d691fd964138b57d939e547f517eea568303a77ee8f1d44d9de.jpg",
|
| 1121 |
+
"table_caption": [
|
| 1122 |
+
"(b) Paraphrase detection "
|
| 1123 |
+
],
|
| 1124 |
+
"table_footnote": [],
|
| 1125 |
+
"table_body": "<table><tr><td>Method</td><td>Acc F1</td></tr><tr><td>Purely supervised methods</td><td>83.6</td></tr><tr><td>Socher et al. (2011) Madnani et al. (2012) Ji and Eisenstein (2013)</td><td>76.8 77.4 84.1 80.4</td></tr><tr><td> Classifier trained on sentence embeddings</td><td>86.0</td></tr><tr><td>skip-bow (Kiros et al., 2015) uni-skip (Kiros et al., 2015)</td><td>67.8 80.3 73.0 81.9</td></tr><tr><td>Ordering model</td><td>72.3</td></tr><tr><td>+BoW + uni-skip</td><td>81.0 74.0 81.9 74.9 82.5</td></tr></table>",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
544,
|
| 1128 |
+
171,
|
| 1129 |
+
808,
|
| 1130 |
+
333
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 9
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
176,
|
| 1139 |
+
362,
|
| 1140 |
+
821,
|
| 1141 |
+
390
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 9
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "Skip-thought vectors are learned by predicting both the previous and next sentences given the current sentence. Following suit, we train two models - one predicting the correct order in the forward direction and another in the backward direction. Note that the sentence level RNN is still unidirectional in both cases. The numbers shown for the ordering model were obtained by concatenating the representations obtained from the two models. ",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
174,
|
| 1150 |
+
397,
|
| 1151 |
+
825,
|
| 1152 |
+
467
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 9
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "Concatenating the above representation with the bag of words representation (using the fine-tuned word embeddings) of the sentence further improves performance4. We believe the reason to be that the ordering model can choose to pay less attention to specific lexical information and instead focus on the high level document structure. Hence the two representations can be seen as capturing complementary semantics. Adding the skip-thought embedding features as well improves performance further. ",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
174,
|
| 1161 |
+
473,
|
| 1162 |
+
825,
|
| 1163 |
+
544
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 9
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"type": "text",
|
| 1169 |
+
"text": "Our model has several key advantages over the skip-thought model. The skip-thought model has a word-level reconstruction objective and requires training with large softmax output layers. This limits the size of the vocabulary and makes training very time consuming (they use a vocabulary size of $2 0 \\mathrm { k }$ and report 2 weeks of training). Our model achieves comparable performance and does not have such a word reconstruction component. We are able to train with a large vocabulary of $4 0 0 \\mathrm { k }$ words and the above results were obtained with a training time of 2 days. ",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
174,
|
| 1172 |
+
550,
|
| 1173 |
+
825,
|
| 1174 |
+
633
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 9
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "text",
|
| 1180 |
+
"text": "A conceptual issue surrounding word-level reconstruction is that it forces the model to predict both the meaning and syntax of the target sentence. This makes learning difficult since there are numerous ways of expressing the same idea in syntax. In our model we instead let the model discover features from a sentence which are both predictive (of the next sentence) and predictable (from the previous sentences) and interpret these set of features as a meaning representation. We believe this is an important distinction and hope to study these models further in the context of learning syntax independent semantic representations of sentences. ",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
174,
|
| 1183 |
+
641,
|
| 1184 |
+
825,
|
| 1185 |
+
738
|
| 1186 |
+
],
|
| 1187 |
+
"page_idx": 9
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "text",
|
| 1191 |
+
"text": "5 CONCLUSION ",
|
| 1192 |
+
"text_level": 1,
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
176,
|
| 1195 |
+
751,
|
| 1196 |
+
320,
|
| 1197 |
+
767
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 9
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "text",
|
| 1203 |
+
"text": "In this work we considered the challenging problem of coherently organizing a given set of sentences. Our RNN based model performs strongly compared to baseline methods as well as prior work on sentence ordering and order discrimination tasks. We further demonstrated that the model captures high level document structure and learns useful sentence representations when trained on large amounts of data. Our approach to the ordering problem deviates from most prior work that use handcrafted features. However, exploiting linguistic features for next sentence classification can potentially further improve performance on the task. Entity distribution patterns can provide useful features about named entities that are treated as out of vocabulary words. The ordering problem can be further studied at higher level discourse units such as paragraphs, sections and chapters. ",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
174,
|
| 1206 |
+
776,
|
| 1207 |
+
825,
|
| 1208 |
+
861
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 9
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"text": "",
|
| 1215 |
+
"bbox": [
|
| 1216 |
+
174,
|
| 1217 |
+
103,
|
| 1218 |
+
823,
|
| 1219 |
+
146
|
| 1220 |
+
],
|
| 1221 |
+
"page_idx": 10
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "text",
|
| 1225 |
+
"text": "REFERENCES ",
|
| 1226 |
+
"text_level": 1,
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
174,
|
| 1229 |
+
166,
|
| 1230 |
+
285,
|
| 1231 |
+
181
|
| 1232 |
+
],
|
| 1233 |
+
"page_idx": 10
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"type": "text",
|
| 1237 |
+
"text": "Automated scoring of writing quality. URL https://www.ets.org/research/topics/ as_nlp/writing_quality. Accessed: 2016-11-1. ",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
174,
|
| 1240 |
+
198,
|
| 1241 |
+
823,
|
| 1242 |
+
227
|
| 1243 |
+
],
|
| 1244 |
+
"page_idx": 10
|
| 1245 |
+
},
|
| 1246 |
+
{
|
| 1247 |
+
"type": "text",
|
| 1248 |
+
"text": "R. Barzilay and N. Elhadad. Inferring strategies for sentence ordering in multidocument news summarization. Journal of Artificial Intelligence Research, pages 35–55, 2002. ",
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
176,
|
| 1251 |
+
234,
|
| 1252 |
+
820,
|
| 1253 |
+
265
|
| 1254 |
+
],
|
| 1255 |
+
"page_idx": 10
|
| 1256 |
+
},
|
| 1257 |
+
{
|
| 1258 |
+
"type": "text",
|
| 1259 |
+
"text": "R. Barzilay and M. Lapata. Modeling local coherence: An entity-based approach. Computational Linguistics, 34(1):1–34, 2008. ",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
176,
|
| 1262 |
+
273,
|
| 1263 |
+
821,
|
| 1264 |
+
303
|
| 1265 |
+
],
|
| 1266 |
+
"page_idx": 10
|
| 1267 |
+
},
|
| 1268 |
+
{
|
| 1269 |
+
"type": "text",
|
| 1270 |
+
"text": "R. Barzilay and L. Lee. Catching the drift: Probabilistic content models, with applications to generation and summarization. arXiv preprint cs/0405039, 2004. ",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
173,
|
| 1273 |
+
310,
|
| 1274 |
+
823,
|
| 1275 |
+
340
|
| 1276 |
+
],
|
| 1277 |
+
"page_idx": 10
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"type": "text",
|
| 1281 |
+
"text": "J. Burstein, J. Tetreault, and S. Andreyev. Using entity-based features to model coherence in student essays. In Human language technologies: The 2010 annual conference of the North American chapter of the Association for Computational Linguistics, pages 681–684. Association for Computational Linguistics, 2010. ",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
174,
|
| 1284 |
+
348,
|
| 1285 |
+
823,
|
| 1286 |
+
405
|
| 1287 |
+
],
|
| 1288 |
+
"page_idx": 10
|
| 1289 |
+
},
|
| 1290 |
+
{
|
| 1291 |
+
"type": "text",
|
| 1292 |
+
"text": "X. Chen, X. Qiu, and X. Huang. Neural sentence ordering. arXiv preprint arXiv:1607.06952, 2016. ",
|
| 1293 |
+
"bbox": [
|
| 1294 |
+
169,
|
| 1295 |
+
414,
|
| 1296 |
+
825,
|
| 1297 |
+
430
|
| 1298 |
+
],
|
| 1299 |
+
"page_idx": 10
|
| 1300 |
+
},
|
| 1301 |
+
{
|
| 1302 |
+
"type": "text",
|
| 1303 |
+
"text": "M. Elsner, J. L. Austerweil, and E. Charniak. A unified local and global model for discourse coherence. In HLT-NAACL, pages 436–443, 2007. ",
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
173,
|
| 1306 |
+
438,
|
| 1307 |
+
823,
|
| 1308 |
+
468
|
| 1309 |
+
],
|
| 1310 |
+
"page_idx": 10
|
| 1311 |
+
},
|
| 1312 |
+
{
|
| 1313 |
+
"type": "text",
|
| 1314 |
+
"text": "P. W. Foltz, W. Kintsch, and T. K. Landauer. The measurement of textual coherence with latent semantic analysis. Discourse processes, 25(2-3):285–307, 1998. ",
|
| 1315 |
+
"bbox": [
|
| 1316 |
+
171,
|
| 1317 |
+
476,
|
| 1318 |
+
825,
|
| 1319 |
+
505
|
| 1320 |
+
],
|
| 1321 |
+
"page_idx": 10
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"type": "text",
|
| 1325 |
+
"text": "B. J. Grosz, S. Weinstein, and A. K. Joshi. Centering: A framework for modeling the local coherence of discourse. Computational linguistics, 21(2):203–225, 1995. ",
|
| 1326 |
+
"bbox": [
|
| 1327 |
+
173,
|
| 1328 |
+
513,
|
| 1329 |
+
823,
|
| 1330 |
+
542
|
| 1331 |
+
],
|
| 1332 |
+
"page_idx": 10
|
| 1333 |
+
},
|
| 1334 |
+
{
|
| 1335 |
+
"type": "text",
|
| 1336 |
+
"text": "C. Guinaudeau and M. Strube. Graph-based local coherence modeling. In ACL (1), pages 93–103, 2013. ",
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
174,
|
| 1339 |
+
551,
|
| 1340 |
+
825,
|
| 1341 |
+
580
|
| 1342 |
+
],
|
| 1343 |
+
"page_idx": 10
|
| 1344 |
+
},
|
| 1345 |
+
{
|
| 1346 |
+
"type": "text",
|
| 1347 |
+
"text": "Y. Ji and J. Eisenstein. Discriminative improvements to distributional sentence similarity. In EMNLP, pages 891–896, 2013. ",
|
| 1348 |
+
"bbox": [
|
| 1349 |
+
171,
|
| 1350 |
+
589,
|
| 1351 |
+
825,
|
| 1352 |
+
618
|
| 1353 |
+
],
|
| 1354 |
+
"page_idx": 10
|
| 1355 |
+
},
|
| 1356 |
+
{
|
| 1357 |
+
"type": "text",
|
| 1358 |
+
"text": "Y. Ji, T. Cohn, L. Kong, C. Dyer, and J. Eisenstein. Document context language models. In International Conference on Learning Representations, Poster Paper, volume abs/1511.03962, 2015. ",
|
| 1359 |
+
"bbox": [
|
| 1360 |
+
174,
|
| 1361 |
+
627,
|
| 1362 |
+
825,
|
| 1363 |
+
670
|
| 1364 |
+
],
|
| 1365 |
+
"page_idx": 10
|
| 1366 |
+
},
|
| 1367 |
+
{
|
| 1368 |
+
"type": "text",
|
| 1369 |
+
"text": "D. Kingma and J. Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1370 |
+
"bbox": [
|
| 1371 |
+
168,
|
| 1372 |
+
678,
|
| 1373 |
+
825,
|
| 1374 |
+
708
|
| 1375 |
+
],
|
| 1376 |
+
"page_idx": 10
|
| 1377 |
+
},
|
| 1378 |
+
{
|
| 1379 |
+
"type": "text",
|
| 1380 |
+
"text": "R. Kiros, Y. Zhu, R. R. Salakhutdinov, R. Zemel, R. Urtasun, A. Torralba, and S. Fidler. Skip-thought vectors. In Advances in Neural Information Processing Systems, pages 3276–3284, 2015. ",
|
| 1381 |
+
"bbox": [
|
| 1382 |
+
169,
|
| 1383 |
+
715,
|
| 1384 |
+
825,
|
| 1385 |
+
746
|
| 1386 |
+
],
|
| 1387 |
+
"page_idx": 10
|
| 1388 |
+
},
|
| 1389 |
+
{
|
| 1390 |
+
"type": "text",
|
| 1391 |
+
"text": "D. Klein and C. D. Manning. Accurate unlexicalized parsing. In Proceedings of the 41st Annual Meeting on Association for Computational Linguistics-Volume 1, pages 423–430. Association for Computational Linguistics, 2003. ",
|
| 1392 |
+
"bbox": [
|
| 1393 |
+
178,
|
| 1394 |
+
753,
|
| 1395 |
+
825,
|
| 1396 |
+
797
|
| 1397 |
+
],
|
| 1398 |
+
"page_idx": 10
|
| 1399 |
+
},
|
| 1400 |
+
{
|
| 1401 |
+
"type": "text",
|
| 1402 |
+
"text": "M. Lapata. Probabilistic text structuring: Experiments with sentence ordering. In Proceedings of the 41st Annual Meeting on Association for Computational Linguistics-Volume 1, pages 545–552. Association for Computational Linguistics, 2003. ",
|
| 1403 |
+
"bbox": [
|
| 1404 |
+
176,
|
| 1405 |
+
805,
|
| 1406 |
+
823,
|
| 1407 |
+
848
|
| 1408 |
+
],
|
| 1409 |
+
"page_idx": 10
|
| 1410 |
+
},
|
| 1411 |
+
{
|
| 1412 |
+
"type": "text",
|
| 1413 |
+
"text": "M. Lapata. Automatic evaluation of information ordering: Kendall’s tau. Computational Linguistics, 32(4):471–484, 2006. ",
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
171,
|
| 1416 |
+
857,
|
| 1417 |
+
823,
|
| 1418 |
+
886
|
| 1419 |
+
],
|
| 1420 |
+
"page_idx": 10
|
| 1421 |
+
},
|
| 1422 |
+
{
|
| 1423 |
+
"type": "text",
|
| 1424 |
+
"text": "J. Li and E. H. Hovy. A model of coherence based on distributed sentence representation. In EMNLP, pages 2039–2048, 2014. ",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
173,
|
| 1427 |
+
895,
|
| 1428 |
+
823,
|
| 1429 |
+
924
|
| 1430 |
+
],
|
| 1431 |
+
"page_idx": 10
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"type": "text",
|
| 1435 |
+
"text": "J. Li and D. Jurafsky. Neural net models for open-domain discourse coherence. arXiv preprint arXiv:1606.01545, 2016. \nJ. Li, X. Chen, E. Hovy, and D. Jurafsky. Visualizing and understanding neural models in nlp. arXiv preprint arXiv:1506.01066, 2015a. \nJ. Li, M.-T. Luong, and D. Jurafsky. A hierarchical neural autoencoder for paragraphs and documents. arXiv preprint arXiv:1506.01057, 2015b. \nM. Lichman. UCI machine learning repository, 2013. URL http://archive.ics.uci.edu/ ml. \nR. Lin, S. Liu, M. Yang, M. Li, M. Zhou, and S. Li. Hierarchical recurrent neural network for document modeling. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 899–907, 2015. \nA. Louis and A. Nenkova. A coherence model based on syntactic patterns. In Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning, pages 1157–1168. Association for Computational Linguistics, 2012. \nN. Madnani, J. Tetreault, and M. Chodorow. Re-examining machine translation metrics for paraphrase identification. In Proceedings of the 2012 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 182–190. Association for Computational Linguistics, 2012. \nE. Miltsakaki and K. Kukich. Evaluation of text coherence for electronic essay scoring systems. Natural Language Engineering, 10(01):25–55, 2004. \nJ. Pennington, R. Socher, and C. D. Manning. Glove: Global vectors for word representation. In EMNLP, volume 14, pages 1532–43, 2014. \nD. R. Radev, M. T. Joseph, B. Gibson, and P. Muthukrishnan. A Bibliometric and Network Analysis of the field of Computational Linguistics. Journal of the American Society for Information Science and Technology, 2009. \nR. Socher, E. H. Huang, J. Pennin, C. D. Manning, and A. Y. Ng. Dynamic pooling and unfolding recursive autoencoders for paraphrase detection. In Advances in Neural Information Processing Systems, pages 801–809, 2011. \nR. Soricut and D. Marcu. Discourse generation using utility-trained coherence models. In Proceedings of the COLING/ACL on Main conference poster sessions, pages 803–810. Association for Computational Linguistics, 2006. \nI. Sutskever, O. Vinyals, and Q. V. Le. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pages 3104–3112, 2014. \nK. S. Tai, R. Socher, and C. D. Manning. Improved semantic representations from tree-structured long short-term memory networks. arXiv preprint arXiv:1503.00075, 2015. \nO. Vinyals, S. Bengio, and M. Kudlur. Order matters: Sequence to sequence for sets. arXiv preprint arXiv:1511.06391, 2015a. \nO. Vinyals, M. Fortunato, and N. Jaitly. Pointer networks. In Advances in Neural Information Processing Systems, pages 2674–2682, 2015b. ",
|
| 1436 |
+
"bbox": [
|
| 1437 |
+
169,
|
| 1438 |
+
90,
|
| 1439 |
+
828,
|
| 1440 |
+
796
|
| 1441 |
+
],
|
| 1442 |
+
"page_idx": 11
|
| 1443 |
+
},
|
| 1444 |
+
{
|
| 1445 |
+
"type": "table",
|
| 1446 |
+
"img_path": "images/bcfc620c12f004b9bfeeb2d3abda8d7ffdb80fda26f1ed4823fb19d5c8c6a41e.jpg",
|
| 1447 |
+
"table_caption": [
|
| 1448 |
+
"Table 5: Visualizing salient words. "
|
| 1449 |
+
],
|
| 1450 |
+
"table_footnote": [],
|
| 1451 |
+
"table_body": "<table><tr><td>In this paper,we propose a new method for semantic class induction . First ,we introduce a generative model of sentences ,based on dependency trees and which takes into account homonymy Our model can thus be seen as a generalization of Brown clustering . Second , we describe an efficient algorithm to perform inference and learning in this model . Third ,we apply our proposed method on two large datasets (108 tokens ,105 words types ),and demonstrate that classes induced by our algorithm improve performance over Brown clustering on the task of semisupervised supersense tagging and named entity recognition .</td></tr><tr><td>Representation learning is a promising technique for discovering features that allow supervised classifiers to generalize from a source domain dataset to arbitrary new domains We present a novel, formal statement of the representation learning task . We argue that because the task is computationally intractable in general,it is important for arepresentation learner to be able to incorporate expert knowledge during its search for helpful features . Leveraging the Posterior Regularization framework ,we develop an architecture for incorporating biases into</td></tr><tr><td>learners identify significantly better sets offeatures than unbiased learners,resulting inarelative reduction in error of more than 16% forboth tasks ,with respect to existing state-of-the-art representation learning techniques. We present an approach for detecting salient (important)dates in texts in order to automatically build event timelines from a search query(e.g . the name of an event or person,etc .). This work was carried out on a corpus of newswire texts in English provided by the Agence France Presse</td></tr><tr><td>(AFP). In order to extract salient dates that warrant inclusion in an event timeline ,we first recognize and normalize temporal expressons in texts and then use a machine-learning approach to extract salient dates that relate to a particular topic . We focused only on extracting the dates and not the events to which they are related . The paper aims to come up with a system that examines the degree of semantic equivalence between two</td></tr><tr><td>sentences. At the core of the paper is the attempt to grade the similarity of two sentences by finding the maximal weighted bipartite match between the tokens of the two sentences . The tokens include single words,or multiwords in case of Named Entitites ,adjectivally and numerically modified words. Two token similarity measures are used for the task -WordNet based similarity,and a statistical word similarity</td></tr></table>",
|
| 1452 |
+
"bbox": [
|
| 1453 |
+
173,
|
| 1454 |
+
125,
|
| 1455 |
+
843,
|
| 1456 |
+
632
|
| 1457 |
+
],
|
| 1458 |
+
"page_idx": 12
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"type": "text",
|
| 1462 |
+
"text": "A WORD INFLUENCE ",
|
| 1463 |
+
"text_level": 1,
|
| 1464 |
+
"bbox": [
|
| 1465 |
+
176,
|
| 1466 |
+
661,
|
| 1467 |
+
367,
|
| 1468 |
+
678
|
| 1469 |
+
],
|
| 1470 |
+
"page_idx": 12
|
| 1471 |
+
},
|
| 1472 |
+
{
|
| 1473 |
+
"type": "text",
|
| 1474 |
+
"text": "We attempt to understand what text level clues the model captures to perform the ordering task. Some techniques for visualizing neural network models in the context of text applications are discussed in Li et al. (2015a). Drawing inspiration from this work, we use gradients of prediction decisions with respect to the words of the correct sentence as a proxy for the salience of each word. ",
|
| 1475 |
+
"bbox": [
|
| 1476 |
+
173,
|
| 1477 |
+
696,
|
| 1478 |
+
825,
|
| 1479 |
+
752
|
| 1480 |
+
],
|
| 1481 |
+
"page_idx": 12
|
| 1482 |
+
},
|
| 1483 |
+
{
|
| 1484 |
+
"type": "text",
|
| 1485 |
+
"text": "For each time step during decoding we do the following. Assume the sentence assignments for all previous time steps have been correct. let $h$ be the current hidden state in this setting and $s = ( w _ { 1 } , . . . , w _ { n } )$ be the correct next sentence candidate, the $w _ { i }$ being its words. The score for this sentence is defined as $e = f ( s , h )$ (See equation 7). The importance of word $w _ { i }$ in predicting $s$ as the correct next sentence is interpreted as $\\big | \\big | \\frac { \\partial e } { \\partial w _ { i } } \\big | \\big |$ . We assume $h$ to be fixed and only backpropagate gradients through the sentence encoder. ",
|
| 1486 |
+
"bbox": [
|
| 1487 |
+
173,
|
| 1488 |
+
760,
|
| 1489 |
+
825,
|
| 1490 |
+
847
|
| 1491 |
+
],
|
| 1492 |
+
"page_idx": 12
|
| 1493 |
+
},
|
| 1494 |
+
{
|
| 1495 |
+
"type": "text",
|
| 1496 |
+
"text": "Table 5 shows visualizations of a few selected abstracts. Words expressed in darker shades correspond to higher gradient norms. In the first example the model seems to be using the word clues ‘first’, ‘second’ and ‘third’. A similar observation was made by Chen et al. (2016) in their experiments. In the second example we observe that the model has paid attention to phrases such as ‘We present’, ‘We argue’ which are typical of abstract texts. The model has also focused on the word ‘representation’ ",
|
| 1497 |
+
"bbox": [
|
| 1498 |
+
174,
|
| 1499 |
+
853,
|
| 1500 |
+
825,
|
| 1501 |
+
924
|
| 1502 |
+
],
|
| 1503 |
+
"page_idx": 12
|
| 1504 |
+
},
|
| 1505 |
+
{
|
| 1506 |
+
"type": "image",
|
| 1507 |
+
"img_path": "images/adad558c7205bc48c9fabf9b69b0c9378dffcd77969ecbe41c7f2faafcc2571f.jpg",
|
| 1508 |
+
"image_caption": [
|
| 1509 |
+
"(b) Accuracy of predicting the correct sentence at a given position. "
|
| 1510 |
+
],
|
| 1511 |
+
"image_footnote": [],
|
| 1512 |
+
"bbox": [
|
| 1513 |
+
169,
|
| 1514 |
+
97,
|
| 1515 |
+
462,
|
| 1516 |
+
273
|
| 1517 |
+
],
|
| 1518 |
+
"page_idx": 13
|
| 1519 |
+
},
|
| 1520 |
+
{
|
| 1521 |
+
"type": "image",
|
| 1522 |
+
"img_path": "images/e81e192d491a4ec3d3ee35f9f997b4da73575cf61465110ee3b4df1540c5e875.jpg",
|
| 1523 |
+
"image_caption": [
|
| 1524 |
+
"Figure 3: Performance with respect to paragraph length and sentence position - NIPS abstracts test data. "
|
| 1525 |
+
],
|
| 1526 |
+
"image_footnote": [],
|
| 1527 |
+
"bbox": [
|
| 1528 |
+
504,
|
| 1529 |
+
97,
|
| 1530 |
+
792,
|
| 1531 |
+
272
|
| 1532 |
+
],
|
| 1533 |
+
"page_idx": 13
|
| 1534 |
+
},
|
| 1535 |
+
{
|
| 1536 |
+
"type": "text",
|
| 1537 |
+
"text": "(a) $\\tau$ scores of order predictions on paragraphs of a given length. ",
|
| 1538 |
+
"bbox": [
|
| 1539 |
+
173,
|
| 1540 |
+
284,
|
| 1541 |
+
493,
|
| 1542 |
+
309
|
| 1543 |
+
],
|
| 1544 |
+
"page_idx": 13
|
| 1545 |
+
},
|
| 1546 |
+
{
|
| 1547 |
+
"type": "text",
|
| 1548 |
+
"text": "appearing in the first two sentences. Similarly in the third example, the words ‘salient’ and ‘dates’ have been attended to. In the last example, the words ‘token’, ‘tokens’, ‘tokenization’ have received attention. We believe that these observations link to ideas from centering theory which state that entity distributions in coherent discourses adhere to certain patterns. The model has implicitly learned learned these patterns with no syntax annotations or handcrafted features. ",
|
| 1549 |
+
"bbox": [
|
| 1550 |
+
174,
|
| 1551 |
+
362,
|
| 1552 |
+
825,
|
| 1553 |
+
431
|
| 1554 |
+
],
|
| 1555 |
+
"page_idx": 13
|
| 1556 |
+
},
|
| 1557 |
+
{
|
| 1558 |
+
"type": "text",
|
| 1559 |
+
"text": "B PERFORMANCE ANALYSIS ",
|
| 1560 |
+
"text_level": 1,
|
| 1561 |
+
"bbox": [
|
| 1562 |
+
178,
|
| 1563 |
+
452,
|
| 1564 |
+
426,
|
| 1565 |
+
467
|
| 1566 |
+
],
|
| 1567 |
+
"page_idx": 13
|
| 1568 |
+
},
|
| 1569 |
+
{
|
| 1570 |
+
"type": "text",
|
| 1571 |
+
"text": "Figure 3a shows the average $\\tau$ for the models on the NIPS abstracts test set for a given paragraph length. The performance of local approaches dies down fairly quickly as we can expect and face difficulties handling lengthy paragraphs. Our model attempts to maintain consistent performance with increasing paragraph size with a more gradual decline in performance. ",
|
| 1572 |
+
"bbox": [
|
| 1573 |
+
174,
|
| 1574 |
+
483,
|
| 1575 |
+
825,
|
| 1576 |
+
540
|
| 1577 |
+
],
|
| 1578 |
+
"page_idx": 13
|
| 1579 |
+
},
|
| 1580 |
+
{
|
| 1581 |
+
"type": "text",
|
| 1582 |
+
"text": "Figure 3b compares the average prediction accuracy for a given sentence position in the test set. It is interesting to observe that all models fair well in predicting the first sentence. The greedy decoding procedure also contributes to the decline in performance as we move right. Our model remains more robust compared to the other two methods. ",
|
| 1583 |
+
"bbox": [
|
| 1584 |
+
174,
|
| 1585 |
+
546,
|
| 1586 |
+
825,
|
| 1587 |
+
602
|
| 1588 |
+
],
|
| 1589 |
+
"page_idx": 13
|
| 1590 |
+
},
|
| 1591 |
+
{
|
| 1592 |
+
"type": "text",
|
| 1593 |
+
"text": "Another trend to be observed is that as the context size increases (2 for next sentence generation, 3 for window network, complete sentential history for our model) the performance decline is more gradual. ",
|
| 1594 |
+
"bbox": [
|
| 1595 |
+
173,
|
| 1596 |
+
609,
|
| 1597 |
+
825,
|
| 1598 |
+
638
|
| 1599 |
+
],
|
| 1600 |
+
"page_idx": 13
|
| 1601 |
+
},
|
| 1602 |
+
{
|
| 1603 |
+
"type": "table",
|
| 1604 |
+
"img_path": "images/1871ec5585707d89670db84a1894baa8aef2a3b01c4c777a3756da3894eb8534.jpg",
|
| 1605 |
+
"table_caption": [
|
| 1606 |
+
"(a) Classify 1 of 2 - Accuracy "
|
| 1607 |
+
],
|
| 1608 |
+
"table_footnote": [],
|
| 1609 |
+
"table_body": "<table><tr><td></td><td>NIPS</td><td>AAN</td><td>NSF</td></tr><tr><td>Entity Grid</td><td>0.712</td><td>0.660</td><td>=</td></tr><tr><td>Seq2seq (Uni)</td><td>0.890</td><td>0.888</td><td></td></tr><tr><td>Window network</td><td>0.944</td><td>0.942</td><td>0.936</td></tr><tr><td>RNNDecoder</td><td>0.964</td><td>0.952</td><td>0.972</td></tr><tr><td>Proposed model</td><td>0.970</td><td>0.955</td><td>0.982</td></tr></table>",
|
| 1610 |
+
"bbox": [
|
| 1611 |
+
194,
|
| 1612 |
+
121,
|
| 1613 |
+
468,
|
| 1614 |
+
210
|
| 1615 |
+
],
|
| 1616 |
+
"page_idx": 14
|
| 1617 |
+
},
|
| 1618 |
+
{
|
| 1619 |
+
"type": "table",
|
| 1620 |
+
"img_path": "images/bd781d72c2c5de547896b0033dda67eedb528a1577a0907d8161393b5c0a9c02.jpg",
|
| 1621 |
+
"table_caption": [
|
| 1622 |
+
"(b) Classify 1 of 100 - Accuracy "
|
| 1623 |
+
],
|
| 1624 |
+
"table_footnote": [],
|
| 1625 |
+
"table_body": "<table><tr><td></td><td>NIPS</td><td>AAN</td><td>NSF</td></tr><tr><td>Entity Grid</td><td>0.070</td><td>0.102</td><td>=</td></tr><tr><td>Seq2seq (Uni)</td><td>0.171</td><td>0.290</td><td>=</td></tr><tr><td>Window network</td><td>0.385</td><td>0.470</td><td>0.300</td></tr><tr><td>RNN Decoder</td><td>0.516</td><td>0.541</td><td>0.647</td></tr><tr><td>Proposed model</td><td>0.566</td><td>0.581</td><td>0.710</td></tr></table>",
|
| 1626 |
+
"bbox": [
|
| 1627 |
+
519,
|
| 1628 |
+
121,
|
| 1629 |
+
795,
|
| 1630 |
+
210
|
| 1631 |
+
],
|
| 1632 |
+
"page_idx": 14
|
| 1633 |
+
},
|
| 1634 |
+
{
|
| 1635 |
+
"type": "table",
|
| 1636 |
+
"img_path": "images/de030d16c61363ae1e30e8153432773f25ed0758a9ec9d62a39a76e0562ec1b5.jpg",
|
| 1637 |
+
"table_caption": [
|
| 1638 |
+
"Table 7: Accuracy (of predicting sentence position) and $\\tau$ metrics for the 1 of 100 classification task. "
|
| 1639 |
+
],
|
| 1640 |
+
"table_footnote": [],
|
| 1641 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"2\">NIPS Abstracts</td><td colspan=\"2\">AAN Abstracts</td><td colspan=\"2\">NSF Abstracts</td></tr><tr><td>Accuracy</td><td>T</td><td>Accuracy</td><td>T</td><td>Accuracy</td><td>T</td></tr><tr><td>Entity Grid</td><td>21.30</td><td>0.12</td><td>23.22</td><td>0.11</td><td></td><td></td></tr><tr><td>Seq2seq (Uni)</td><td>38.36</td><td>0.40</td><td>48.47</td><td>0.50</td><td>=</td><td>=</td></tr><tr><td>Window network</td><td>59.20</td><td>0.67</td><td>64.02</td><td>0.71</td><td>44.65</td><td>0.46</td></tr><tr><td>RNN Decoder</td><td>67.05</td><td>0.73</td><td>68.54</td><td>0.74</td><td>79.01</td><td>0.76</td></tr><tr><td>Proposed model</td><td>72.25</td><td>0.79</td><td>72.25</td><td>0.77</td><td>83.85</td><td>0.81</td></tr></table>",
|
| 1642 |
+
"bbox": [
|
| 1643 |
+
236,
|
| 1644 |
+
253,
|
| 1645 |
+
756,
|
| 1646 |
+
372
|
| 1647 |
+
],
|
| 1648 |
+
"page_idx": 14
|
| 1649 |
+
},
|
| 1650 |
+
{
|
| 1651 |
+
"type": "text",
|
| 1652 |
+
"text": "C ADDITIONAL EXPERIMENTAL RESULTS ",
|
| 1653 |
+
"text_level": 1,
|
| 1654 |
+
"bbox": [
|
| 1655 |
+
174,
|
| 1656 |
+
401,
|
| 1657 |
+
537,
|
| 1658 |
+
417
|
| 1659 |
+
],
|
| 1660 |
+
"page_idx": 14
|
| 1661 |
+
},
|
| 1662 |
+
{
|
| 1663 |
+
"type": "text",
|
| 1664 |
+
"text": "C.1 CLASSIFICATION EXPERIMENTS FOR ABSTRACTS DATA ",
|
| 1665 |
+
"text_level": 1,
|
| 1666 |
+
"bbox": [
|
| 1667 |
+
174,
|
| 1668 |
+
439,
|
| 1669 |
+
596,
|
| 1670 |
+
453
|
| 1671 |
+
],
|
| 1672 |
+
"page_idx": 14
|
| 1673 |
+
},
|
| 1674 |
+
{
|
| 1675 |
+
"type": "text",
|
| 1676 |
+
"text": "Classify 1 of 2 (Pairwise ranking). We create a random permutation for each document (different from the correct order) and compute the pairwise classification accuracy. The mean result over 100 such experiments is reported in table 6a. ",
|
| 1677 |
+
"bbox": [
|
| 1678 |
+
176,
|
| 1679 |
+
467,
|
| 1680 |
+
823,
|
| 1681 |
+
508
|
| 1682 |
+
],
|
| 1683 |
+
"page_idx": 14
|
| 1684 |
+
},
|
| 1685 |
+
{
|
| 1686 |
+
"type": "text",
|
| 1687 |
+
"text": "Classify 1 of N. In this experiment we consider a pool of $\\Nu = 1 0 0$ permutations where one of them is the correct order and the rest are random permutations. We compute coherence scores of all orderings in the pool and pick the best one. Table 6b reports how accurately each model identified the correct order. Table 7 computes the same metrics in table 3 for the orders that were chosen by the model. ",
|
| 1688 |
+
"bbox": [
|
| 1689 |
+
174,
|
| 1690 |
+
516,
|
| 1691 |
+
825,
|
| 1692 |
+
571
|
| 1693 |
+
],
|
| 1694 |
+
"page_idx": 14
|
| 1695 |
+
},
|
| 1696 |
+
{
|
| 1697 |
+
"type": "text",
|
| 1698 |
+
"text": "The performance gaps are not significant for the first experiment. However, they are more pronounced in the second experiment. The reason is because in the binary classification setting, a majority of the permutations will be very different from the correct order, and the models can discriminate well for these cases. However, when choosing from a large set of permutations the models need to be sensitive to permutations which deviate from the correct ordering by a small amount (Eg: only two sentences out of place from correct order). Models incapable of discriminating at this finer level perform tend to perform poorly. ",
|
| 1699 |
+
"bbox": [
|
| 1700 |
+
174,
|
| 1701 |
+
579,
|
| 1702 |
+
825,
|
| 1703 |
+
676
|
| 1704 |
+
],
|
| 1705 |
+
"page_idx": 14
|
| 1706 |
+
},
|
| 1707 |
+
{
|
| 1708 |
+
"type": "text",
|
| 1709 |
+
"text": "Note that the second experiment is closer to the practical task of finding an appropriate presentation ordering for a given collection of sentences, while taking the decoding algorithm out of the picture. ",
|
| 1710 |
+
"bbox": [
|
| 1711 |
+
176,
|
| 1712 |
+
684,
|
| 1713 |
+
823,
|
| 1714 |
+
712
|
| 1715 |
+
],
|
| 1716 |
+
"page_idx": 14
|
| 1717 |
+
},
|
| 1718 |
+
{
|
| 1719 |
+
"type": "text",
|
| 1720 |
+
"text": "C.2 ORDER DISCRIMINATION - PENN TREEBANK DATASET ",
|
| 1721 |
+
"text_level": 1,
|
| 1722 |
+
"bbox": [
|
| 1723 |
+
174,
|
| 1724 |
+
734,
|
| 1725 |
+
593,
|
| 1726 |
+
750
|
| 1727 |
+
],
|
| 1728 |
+
"page_idx": 14
|
| 1729 |
+
},
|
| 1730 |
+
{
|
| 1731 |
+
"type": "text",
|
| 1732 |
+
"text": "We perform order discrimination experiments on the Penn Treebank dataset. The experimental protocol is identical to that of Ji et al. (2015). The standard train, dev, test split was used. The vocabulary comprises the most 10,000 frequent words and an additional special symbol representing low frequency words. A bootstrapping procedure is used for evaluation - 1000 test sets are generated by randomly sampling with replacement 155 documents from the test set and constructing a random permutation different from the correct order for each sampled document. We used the same model hyperparameters described in section 4.1. We did not use pre-trained word embeddings for fair comparison with the reference method. Performance statistics are computed over the 1000 bootstrapped test sets. Table 8 shows a performance comparison. ",
|
| 1733 |
+
"bbox": [
|
| 1734 |
+
174,
|
| 1735 |
+
762,
|
| 1736 |
+
825,
|
| 1737 |
+
888
|
| 1738 |
+
],
|
| 1739 |
+
"page_idx": 14
|
| 1740 |
+
},
|
| 1741 |
+
{
|
| 1742 |
+
"type": "text",
|
| 1743 |
+
"text": "A key difference of this dataset compared to the other datasets is that the documents are more open domain and they are significantly longer. Our model performs strongly despite these differences. ",
|
| 1744 |
+
"bbox": [
|
| 1745 |
+
174,
|
| 1746 |
+
895,
|
| 1747 |
+
823,
|
| 1748 |
+
924
|
| 1749 |
+
],
|
| 1750 |
+
"page_idx": 14
|
| 1751 |
+
},
|
| 1752 |
+
{
|
| 1753 |
+
"type": "table",
|
| 1754 |
+
"img_path": "images/576da8469aaf6a6ee86cf258830f4647d3e771a3a3664354d6baa23e43b98145.jpg",
|
| 1755 |
+
"table_caption": [
|
| 1756 |
+
"Table 8: Order discrimination on PTB dataset. Reference results re-printed from Ji et al. (2015). "
|
| 1757 |
+
],
|
| 1758 |
+
"table_footnote": [],
|
| 1759 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"2\">Accuracy</td></tr><tr><td>Mean (%)</td><td>Standard deviation (%)</td></tr><tr><td>Hierarchical RNNLM (Lin et al., 2015)</td><td>75.32</td><td>4.42</td></tr><tr><td>DCLM (Ji et al., 2015)</td><td>83.26</td><td>3.77</td></tr><tr><td>Proposed model</td><td>90.25</td><td>2.38</td></tr></table>",
|
| 1760 |
+
"bbox": [
|
| 1761 |
+
228,
|
| 1762 |
+
126,
|
| 1763 |
+
764,
|
| 1764 |
+
218
|
| 1765 |
+
],
|
| 1766 |
+
"page_idx": 15
|
| 1767 |
+
},
|
| 1768 |
+
{
|
| 1769 |
+
"type": "table",
|
| 1770 |
+
"img_path": "images/0c03ba50a6bbe4a473ded31bc2f9c92480e89d9464640fb3307328e90f4ebcf5.jpg",
|
| 1771 |
+
"table_caption": [
|
| 1772 |
+
"Table 9: Impact of using contrastive sentences and the bilinear scoring function for learning sentence representations. "
|
| 1773 |
+
],
|
| 1774 |
+
"table_footnote": [],
|
| 1775 |
+
"table_body": "<table><tr><td rowspan=\"2\">Contrastive Sentences</td><td rowspan=\"2\">Scoring Function</td><td colspan=\"3\">Semantic Relatedness</td><td colspan=\"2\">Paraphrase detection</td></tr><tr><td>r</td><td>p</td><td>MSE</td><td>Acc</td><td>F1</td></tr><tr><td>No</td><td>MLP</td><td>0.631</td><td>0.568</td><td>0.613</td><td>0.687</td><td>0.791</td></tr><tr><td>No</td><td>Bilinear</td><td>0.650</td><td>0.609</td><td>0.588</td><td>0.681</td><td>0.785</td></tr><tr><td>Yes</td><td>MLP</td><td>0.718</td><td>0.648</td><td>0.494</td><td>0.689</td><td>0.785</td></tr><tr><td>Yes</td><td>Bilinear</td><td>0.787</td><td>0.727</td><td>0.387</td><td>0.712</td><td>0.804</td></tr></table>",
|
| 1776 |
+
"bbox": [
|
| 1777 |
+
243,
|
| 1778 |
+
255,
|
| 1779 |
+
750,
|
| 1780 |
+
359
|
| 1781 |
+
],
|
| 1782 |
+
"page_idx": 15
|
| 1783 |
+
},
|
| 1784 |
+
{
|
| 1785 |
+
"type": "text",
|
| 1786 |
+
"text": "C.3 SENTENCE REPRESENTATION LEARNING TASK ",
|
| 1787 |
+
"text_level": 1,
|
| 1788 |
+
"bbox": [
|
| 1789 |
+
174,
|
| 1790 |
+
383,
|
| 1791 |
+
542,
|
| 1792 |
+
398
|
| 1793 |
+
],
|
| 1794 |
+
"page_idx": 15
|
| 1795 |
+
},
|
| 1796 |
+
{
|
| 1797 |
+
"type": "text",
|
| 1798 |
+
"text": "We briefly discussed two techniques in section 4.4 that helped obtain better sentence representations. ",
|
| 1799 |
+
"bbox": [
|
| 1800 |
+
173,
|
| 1801 |
+
409,
|
| 1802 |
+
825,
|
| 1803 |
+
424
|
| 1804 |
+
],
|
| 1805 |
+
"page_idx": 15
|
| 1806 |
+
},
|
| 1807 |
+
{
|
| 1808 |
+
"type": "text",
|
| 1809 |
+
"text": "• Adding contrastive sentence candidates for the decoder • The bilinear scoring function ",
|
| 1810 |
+
"bbox": [
|
| 1811 |
+
174,
|
| 1812 |
+
431,
|
| 1813 |
+
552,
|
| 1814 |
+
458
|
| 1815 |
+
],
|
| 1816 |
+
"page_idx": 15
|
| 1817 |
+
},
|
| 1818 |
+
{
|
| 1819 |
+
"type": "text",
|
| 1820 |
+
"text": "Table 9 shows results of ablative experiments which demonstrate the effect of these ideas. Each experimental setting indicates whether or not contrastive sentences were used and the type of scoring function employed. Note that these models were trained to predict the correct order of sentences only in the forward direction (as opposed to the results reported in table 4 where two models were trained to predict the order in the forward and backward directions and the representations were concatenated). Models were chosen using the validation set of the relevant task. ",
|
| 1821 |
+
"bbox": [
|
| 1822 |
+
173,
|
| 1823 |
+
465,
|
| 1824 |
+
825,
|
| 1825 |
+
549
|
| 1826 |
+
],
|
| 1827 |
+
"page_idx": 15
|
| 1828 |
+
},
|
| 1829 |
+
{
|
| 1830 |
+
"type": "text",
|
| 1831 |
+
"text": "We observe the trend that adding contrastive sentences or switching from the MLP to the bilinear scoring function produces a sharp improvement in the result for the semantic relatedness task. Although the performance differences are less significant in the paraphrase detection task when the individual factors are changed, we observe an overall performance gain by using contrastive sentences and the bilinear scoring function. ",
|
| 1832 |
+
"bbox": [
|
| 1833 |
+
174,
|
| 1834 |
+
556,
|
| 1835 |
+
825,
|
| 1836 |
+
626
|
| 1837 |
+
],
|
| 1838 |
+
"page_idx": 15
|
| 1839 |
+
},
|
| 1840 |
+
{
|
| 1841 |
+
"type": "text",
|
| 1842 |
+
"text": "This confirms our intuition that adding contrastive sentences makes the task more challenging and leads to better representations being learned. Similarly, the bilinear scoring function takes a generative approach of trying to regress the next sentence as opposed to the MLP scoring function which treats the prediction task as purely discriminative, and hence encourages the learning of better representations. ",
|
| 1843 |
+
"bbox": [
|
| 1844 |
+
174,
|
| 1845 |
+
633,
|
| 1846 |
+
825,
|
| 1847 |
+
703
|
| 1848 |
+
],
|
| 1849 |
+
"page_idx": 15
|
| 1850 |
+
},
|
| 1851 |
+
{
|
| 1852 |
+
"type": "text",
|
| 1853 |
+
"text": "D MODEL DETAILS ",
|
| 1854 |
+
"text_level": 1,
|
| 1855 |
+
"bbox": [
|
| 1856 |
+
176,
|
| 1857 |
+
723,
|
| 1858 |
+
349,
|
| 1859 |
+
738
|
| 1860 |
+
],
|
| 1861 |
+
"page_idx": 15
|
| 1862 |
+
},
|
| 1863 |
+
{
|
| 1864 |
+
"type": "text",
|
| 1865 |
+
"text": "The LSTM update in equation 1 of the paper ",
|
| 1866 |
+
"bbox": [
|
| 1867 |
+
176,
|
| 1868 |
+
755,
|
| 1869 |
+
467,
|
| 1870 |
+
770
|
| 1871 |
+
],
|
| 1872 |
+
"page_idx": 15
|
| 1873 |
+
},
|
| 1874 |
+
{
|
| 1875 |
+
"type": "equation",
|
| 1876 |
+
"img_path": "images/f36f59b976337e8e4f7b35596292c2bcc6169176b7a5387c6eb93f76d3966ba9.jpg",
|
| 1877 |
+
"text": "$$\nh _ { t } , c _ { t } = L S T M ( h _ { t - 1 } , c _ { t - 1 } )\n$$",
|
| 1878 |
+
"text_format": "latex",
|
| 1879 |
+
"bbox": [
|
| 1880 |
+
401,
|
| 1881 |
+
773,
|
| 1882 |
+
596,
|
| 1883 |
+
791
|
| 1884 |
+
],
|
| 1885 |
+
"page_idx": 15
|
| 1886 |
+
},
|
| 1887 |
+
{
|
| 1888 |
+
"type": "text",
|
| 1889 |
+
"text": "is as follows. ",
|
| 1890 |
+
"bbox": [
|
| 1891 |
+
173,
|
| 1892 |
+
796,
|
| 1893 |
+
259,
|
| 1894 |
+
810
|
| 1895 |
+
],
|
| 1896 |
+
"page_idx": 15
|
| 1897 |
+
},
|
| 1898 |
+
{
|
| 1899 |
+
"type": "equation",
|
| 1900 |
+
"img_path": "images/6f5111d597e69079ac85902a2b0182b54a75d3b5fc0a0ded873715db79d87bf9.jpg",
|
| 1901 |
+
"text": "$$\n\\begin{array} { r l } & { i _ { t } = \\sigma \\big ( W _ { i } h _ { t - 1 } + b _ { i } \\big ) } \\\\ & { f _ { t } = \\sigma \\big ( W _ { f } h _ { t - 1 } + b _ { f } \\big ) } \\\\ & { o _ { t } = \\sigma \\big ( W _ { o } h _ { t - 1 } + b _ { o } \\big ) } \\\\ & { \\hat { c } _ { t } = \\mathrm { t a n h } \\big ( W _ { c } h _ { t - 1 } + b _ { c } \\big ) } \\\\ & { c _ { t } = f _ { t } \\odot c _ { t - 1 } + i _ { t } \\odot \\hat { c } _ { t } } \\\\ & { h _ { t } = o _ { t } \\odot \\mathrm { t a n h } \\big ( c _ { t } \\big ) } \\end{array}\n$$",
|
| 1902 |
+
"text_format": "latex",
|
| 1903 |
+
"bbox": [
|
| 1904 |
+
415,
|
| 1905 |
+
815,
|
| 1906 |
+
583,
|
| 1907 |
+
922
|
| 1908 |
+
],
|
| 1909 |
+
"page_idx": 15
|
| 1910 |
+
},
|
| 1911 |
+
{
|
| 1912 |
+
"type": "text",
|
| 1913 |
+
"text": "where $W _ { \\{ i , f , o , c \\} } , b _ { \\{ i , f , o , c \\} }$ are learnable parameters. ",
|
| 1914 |
+
"bbox": [
|
| 1915 |
+
173,
|
| 1916 |
+
103,
|
| 1917 |
+
514,
|
| 1918 |
+
121
|
| 1919 |
+
],
|
| 1920 |
+
"page_idx": 16
|
| 1921 |
+
},
|
| 1922 |
+
{
|
| 1923 |
+
"type": "text",
|
| 1924 |
+
"text": "The LSTM update in equation 6 ",
|
| 1925 |
+
"bbox": [
|
| 1926 |
+
173,
|
| 1927 |
+
138,
|
| 1928 |
+
387,
|
| 1929 |
+
154
|
| 1930 |
+
],
|
| 1931 |
+
"page_idx": 16
|
| 1932 |
+
},
|
| 1933 |
+
{
|
| 1934 |
+
"type": "text",
|
| 1935 |
+
"text": "is given by the following. ",
|
| 1936 |
+
"bbox": [
|
| 1937 |
+
173,
|
| 1938 |
+
184,
|
| 1939 |
+
341,
|
| 1940 |
+
199
|
| 1941 |
+
],
|
| 1942 |
+
"page_idx": 16
|
| 1943 |
+
},
|
| 1944 |
+
{
|
| 1945 |
+
"type": "equation",
|
| 1946 |
+
"img_path": "images/0b22f3d6b6fdd05c611cfd9481a1a2f93b77dde594153096a506282e8b91f941.jpg",
|
| 1947 |
+
"text": "$$\nh _ { t } , c _ { t } = L S T M ( h _ { t - 1 } , c _ { t - 1 } , x _ { t - 1 } )\n$$",
|
| 1948 |
+
"text_format": "latex",
|
| 1949 |
+
"bbox": [
|
| 1950 |
+
382,
|
| 1951 |
+
160,
|
| 1952 |
+
616,
|
| 1953 |
+
178
|
| 1954 |
+
],
|
| 1955 |
+
"page_idx": 16
|
| 1956 |
+
},
|
| 1957 |
+
{
|
| 1958 |
+
"type": "equation",
|
| 1959 |
+
"img_path": "images/1320dbefecef86265983cce83275270a285792e6c400dae83de8d1be56ebbe21.jpg",
|
| 1960 |
+
"text": "$$\n\\begin{array} { r l } & { i _ { t } = \\sigma \\big ( W _ { h i } h _ { t - 1 } + W _ { x i } x _ { t - 1 } + b _ { i } \\big ) } \\\\ & { f _ { t } = \\sigma \\big ( W _ { h f } h _ { t - 1 } + W _ { x f } x _ { t - 1 } + b _ { f } \\big ) } \\\\ & { o _ { t } = \\sigma \\big ( W _ { h o } h _ { t - 1 } + W _ { x o } x _ { t - 1 } + b _ { o } \\big ) } \\\\ & { \\hat { c } _ { t } = \\mathrm { t a n h } \\big ( W _ { h c } h _ { t - 1 } + W _ { x c } x _ { t - 1 } + b _ { c } \\big ) } \\\\ & { c _ { t } = f _ { t } \\odot c _ { t - 1 } + i _ { t } \\odot \\hat { c } _ { t } } \\\\ & { h _ { t } = o _ { t } \\odot \\mathrm { t a n h } \\big ( c _ { t } \\big ) } \\end{array}\n$$",
|
| 1961 |
+
"text_format": "latex",
|
| 1962 |
+
"bbox": [
|
| 1963 |
+
370,
|
| 1964 |
+
204,
|
| 1965 |
+
629,
|
| 1966 |
+
311
|
| 1967 |
+
],
|
| 1968 |
+
"page_idx": 16
|
| 1969 |
+
},
|
| 1970 |
+
{
|
| 1971 |
+
"type": "text",
|
| 1972 |
+
"text": "where $W _ { \\{ h i , h f , h o , h c \\} } , W _ { \\{ x i , x f , x o , x c \\} } , b _ { \\{ i , f , o , c \\} }$ are learnable parameters. ",
|
| 1973 |
+
"bbox": [
|
| 1974 |
+
173,
|
| 1975 |
+
318,
|
| 1976 |
+
647,
|
| 1977 |
+
335
|
| 1978 |
+
],
|
| 1979 |
+
"page_idx": 16
|
| 1980 |
+
}
|
| 1981 |
+
]
|
parse/train/S1AG8zYeg/S1AG8zYeg_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1AG8zYeg/S1AG8zYeg_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/WWRBHhH158K/WWRBHhH158K.md
ADDED
|
@@ -0,0 +1,263 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Deep Learning Through the Lens of Example Difficulty
|
| 2 |
+
|
| 3 |
+
Robert J. N. Baldock∗ Google Research, Brain Team rjnbaldock@gmail.com
|
| 4 |
+
|
| 5 |
+
Hartmut Maennel Google Research, Brain Team hartmutm@google.com
|
| 6 |
+
|
| 7 |
+
Behnam Neyshabur Google Research, Blueshift Team neyshabur@google.com
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Existing work on understanding deep learning often employs measures that compress all data-dependent information into a few numbers. In this work, we adopt a perspective based on the role of individual examples. We introduce a measure of the computational difficulty of making a prediction for a given input: the (effective) prediction depth. Our extensive investigation reveals surprising yet simple relationships between the prediction depth of a given input and the model’s uncertainty, confidence, accuracy and speed of learning for that data point. We further categorize difficult examples into three interpretable groups, demonstrate how these groups are processed differently inside deep models and showcase how this understanding allows us to improve prediction accuracy. Insights from our study lead to a coherent view of a number of separately reported phenomena in the literature: early layers generalize while later layers memorize; early layers converge faster and networks learn easy data and simple functions first.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Much of the existing work on understanding deep learning “integrates out” the data, viewing the inductive bias of the model, or the properties of the optimizer as central to the success of the approach. Examples of such work include studies of eigenvalues of the Hessian and the geometry of the loss landscape (Ghorbani et al., 2019; Yao et al., 2020; Sagun et al., 2016; Li et al., 2018; Pennington and Bahri, 2017; Sagun et al., 2018), studies of margin and effective generalization measures (Long and Sedghi, 2019; Unterthiner et al., 2020; Jiang et al., 2020, 2018; Kawaguchi et al., 2017) and mean-field studies of stochastic optimization (Smith et al., 2021; Stephan et al., 2017; Smith and Le, 2018). However, in practice, we are rarely concerned with only the average behavior of a model.
|
| 16 |
+
|
| 17 |
+
One pathway to understanding the principles that govern how deep models process data is to study the properties of deep models for data points with different “amounts” or “types” of example difficulty. There are a number of definitions of example difficulty in the literature (E.g. see Carlini et al. (2019); Hooker et al. (2019); Lalor et al. (2018); Agarwal and Hooker (2020)). Two are particularly relevant to this work. Firstly, the probability of predicting the ground truth label for an example, when that example is omitted from the training set (Jiang et al., 2021), which represents a statistical view of example difficulty. Secondly, the difficulty of learning an example, parameterized by the earliest training iteration after which the model predicts the ground truth class for that example in all subsequent iterations (Toneva et al., 2019). This measure represents a learning view of example difficulty 2.
|
| 18 |
+
|
| 19 |
+
These notions suffer from two fundamental limitations. While early-exit strategies in computer vision (Teerapittayanon et al., 2016; Huang et al., 2018) and NLP (Dehghani et al., 2018; Liu et al., 2020b; Schwartz et al., 2020; Xin et al., 2020) suggest predictions for easier examples require less computation, the above example difficulty notions do not encapsulate the processing of data inside a given converged model. Moreover, existing notions of example difficulty (E.g. Carlini et al. (2019)) provide a one-dimensional view of difficulty which can not distinguish between examples that are difficult for different reasons.
|
| 20 |
+
|
| 21 |
+
In this paper, we take a significant step towards resolving the above shortcomings. To take the processing of the data into account we propose a new measure of example difficulty, the prediction depth, which is determined from the hidden embeddings. To escape the one-dimensional view of difficulty, we introduce three distinct difficulty types by relating the hidden embeddings for an input to high-level concepts about example difficulty: “Does this example look mislabeled?”; “Is classifying this example only easy if the label is given?”; “Is this example ambiguous both with and without its label?”. Furthermore, we show how this enhanced notion of example difficulty can unify our understanding of several seemingly unrelated phenomena in deep learning. We hope that the results presented in this work will aid the development of models that capture heteroscedastic uncertainty, our understanding of how deep networks respond to distributional shift, and the advancement of curriculum learning approaches and machine learning fairness. These connections are discussed in Section 5.
|
| 22 |
+
|
| 23 |
+
Contributions Our main contributions are as follows:
|
| 24 |
+
|
| 25 |
+
• We introduce a measure of computational example difficulty: the prediction depth (PD). The prediction depth, illustrated in Figure 1, represents the number of hidden layers after which the network’s final prediction is already (effectively) determined (Section 2).
|
| 26 |
+
We show that the prediction depth is larger for examples that visually appear to be more difficult, and that prediction depth is consistent between architectures and random seeds (Section 2.2).
|
| 27 |
+
• Our empirical investigation reveals that prediction depth appears to establish a linear lower bound on the consistency of a prediction. We further show that predictions are on average more accurate for validation points with small prediction depths (Section 3.1).
|
| 28 |
+
We demonstrate that final predictions for data points that converge earlier during training are typically determined in earlier layers which establishes a correspondence between the training history of the network and the processing of data in the hidden layers (Section 3.2).
|
| 29 |
+
• We show that both the adversarial input margin and the output margin are larger for examples with smaller prediction depths. We further design an intervention to reduce the output margin of a network and show that this leads to predictions being made only in the latest hidden layers (Section 3.3).
|
| 30 |
+
We identify three extreme forms of example difficulty by considering the prediction depth in the training and validation splits independently and demonstrate how a simple algorithm that uses the hidden embeddings in one middle layer to make predictions can lead to dramatic improvements in accuracy for inputs that strongly exhibit a specific form of example difficulty (Section 4).
|
| 31 |
+
We use our results to present a coherent picture of deep learning that unifies four seemingly unrelated deep learning phenomena: early layers generalize while later layers memorize; networks converge from input layer towards output layer; easy examples are learned first and networks present simpler functions earlier in training (Section 5).
|
| 32 |
+
|
| 33 |
+
Experimental Setup: To ensure that our results are robust to the choice of architectures and datasets, we report empirical findings for ResNet18 (He et al., 2016), VGG16 (Simonyan and Zisserman, 2015) and MLP architectures trained on CIFAR10, CIFAR100 (Krizhevsky et al., 2009), Fashion MNIST (FMNIST) (Xiao et al., 2017) and SVHN (Netzer et al., 2011) datasets. All models were trained using SGD with momentum. Our MLP comprises 7 hidden layers of width 2048 with ReLU activations. Details of the datasets, architectures, and hyperparameters used can be found in Appendix A.
|
| 34 |
+
|
| 35 |
+
Related Work: Our work uses hidden layer probes to determine example difficulty. We have discussed how our study relates to prior work on example difficulty. Hidden layer probes have also been used to study deep learning. Deep k-NN methods (Papernot and McDaniel, 2018) determine their predictions and estimate their own uncertainties by comparing the hidden embeddings of an input to those of the training set. Cohen et al. (2018) showed that SVM, $\mathbf { k }$ -Nearest Neighbors $\mathbf { k }$ -NN)
|
| 36 |
+
|
| 37 |
+
and logistic regression probes achieve similar accuracies. However, they did not study the processing of individual data points nor did they relate the $\mathbf { k }$ -NN accuracy to notions of example difficulty. Alain and Bengio (2017) used linear classifier probes in the hidden layers to interrogate deep models and demonstrated that linear separability of the embeddings increases monotonically with depth. We provide a more detailed discussion of related work in Appendix B.
|
| 38 |
+
|
| 39 |
+
# 2 Prediction Depth: a Computational View of Example Difficulty
|
| 40 |
+
|
| 41 |
+
We discussed the statistical and learning views of example difficulty in Section 1. In this section, we introduce a computational view of example difficulty parametrized by the prediction depth as defined in Section 2.1. This computational view asserts that, for “easy” examples, a deep model’s final prediction is effectively made after only a few layers, while more layers are used for “difficult” examples.
|
| 42 |
+
|
| 43 |
+
# 2.1 Definition
|
| 44 |
+
|
| 45 |
+
Asserting that the final prediction is effectively determined in earlier layers of a model, before the output, we estimate the depth at which a prediction is made for a given input as follows 3:
|
| 46 |
+
|
| 47 |
+
1. We construct k-NN classifier probes from the embeddings of the training set after particular layers of the network, including the input and the final softmax. The placement of $\mathbf { k }$ -NN probes is described in Appendix A.5. We use $k = 3 0$ in the $\mathbf { k }$ -NN probes. Appendix A.4 establishes that the k-NN accuracies we report are insensitive to $k$ over a wide range. 2. A prediction is defined to be made at a depth $L = l$ if the $\mathbf { k }$ -NN classification after layer $L = l - 1$ is different from the network’s final classification, but the classifications of k-NN probes after every layer $L \geq l$ are all equal to the final classification of the network. Data points consistently classified by all $\mathbf { k }$ -NN probes are determined to be (effectively) predicted in layer 0 (the input) 4.
|
| 48 |
+
|
| 49 |
+
It is worth noting that the prediction depth can be calculated for all data points: both in the training and validation splits. This leads to two notions of computational difficulty:
|
| 50 |
+
|
| 51 |
+
• The difficulty of predicting the (given) class for an input (in the training split) • The difficulty of making a prediction for an input, unseen in advance (from the validation split)
|
| 52 |
+
|
| 53 |
+
We examine both notions of computational difficulty in this paper and use the distinction between them to describe different forms of example difficulty in Section 4.
|
| 54 |
+
|
| 55 |
+
# 2.2 Prediction depth is a meaningful and robust notion of example difficulty
|
| 56 |
+
|
| 57 |
+
In this section we show that prediction depth agrees with intuitive notions of example difficulty and that it is consistent between different training runs and similar architectures.
|
| 58 |
+
|
| 59 |
+
Prediction depth is higher for examples and datasets that seem more difficult If prediction depth is a sensible measure of example difficulty then we would expect the following sanity checks to be observed:
|
| 60 |
+
|
| 61 |
+
1. Individual data points that are visually confusing or mislabeled should have larger prediction depths as compared to images that are clear examples of their class.
|
| 62 |
+
2. Data points from tasks that are intuitively simpler should have lower prediction depths on average.
|
| 63 |
+
|
| 64 |
+
Figure 1 shows that the prediction depth passes both of these sanity checks. Appendix C.1 presents additional images, providing further evidence for this claim.
|
| 65 |
+
|
| 66 |
+
Prediction depth is consistent across random seeds and similar architectures Figure 2 shows that the prediction depth is highly consistent between different architectures and random seeds for all datasets. Perfect agreement is not expected as different deep learning algorithms have different inductive biases which affects the perceived difficulty of examples. We observe stronger correlation between prediction depth for ResNet18 and VGG16, than between VGG16 and MLP. This may be explained by the fact that ResNet18 and VGG16 are both convolutional networks and we expect their inductive biases to be more similar to one another than to MLP.
|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
Figure 1: Deep models use fewer layers to (effectively) determine the prediction for easy examples and more layers for hard examples. Left: A cartoon illustrating the definition of prediction depth (given in Section 2.1). Also shown are training examples from CIFAR100 (“Clock”) and SVHN (“Digit 8”). The examples shown are predicted at the input (first layer) or softmax (last layer) of ResNet18. The examples predicted in the input are visually typical (“easy”), while those predicted in the softmax are mislabeled and/or visually confusing (“hard” examples). To find the prediction depth, we build $\mathbf { k }$ -NN classifiers from the embeddings of the training set in different layers of the model. The prediction depth corresponds to the earliest layer at which the predictions of all subsequent k-NN classifiers converge to a fixed label. Right: Probability of prediction depth in ResNet18 models for four datasets (training split). We see that the four distributions have different characteristic prediction depths. Ranking the mean prediction depths of these datasets in ascending order, we observe: Fashion MNIST (smallest), SVHN (second), CIFAR10 (third), and CIFAR100 (largest). This order aligns with how one might intuitively rank the difficulties of these classification tasks.
|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
Figure 2: Consistency of prediction depth between architectures and random seeds. Left: The panel shows the correlation coefficient between prediction depths in different architectures, for both train and validation splits in four datasets. Diagonal comparisons between an architecture and itself show the correlation for the same architecture trained with different random seeds. Right: Histograms comparing the mean value of prediction depth obtained for each data point in the training set of CIFAR10 from an ensemble of 250 trained models. In this plot, for visual simplicity, we rescale prediction depth to the interval $[ 0 , 1 ]$ for each network. Similar results for all other datasets are presented in Appendix C.2.
|
| 73 |
+
|
| 74 |
+
# 3 Deep Learning Phenomena Through the Lens of Prediction Depth
|
| 75 |
+
|
| 76 |
+
In this section, we explore how the prediction depth can be used to better understand three important aspects of Deep Learning: accuracy and consistency of a prediction; the order in which data is learned and the simplicity of the learned function (as measured by the margin) in the vicinity of a data point.
|
| 77 |
+
|
| 78 |
+
# 3.1 Depth of a prediction gives a linear lower bound on its consistency
|
| 79 |
+
|
| 80 |
+
Adopting a statistical view of example difficulty, Jiang et al. (2021) identified example difficulty with the expected accuracy of the learning algorithm for a given input, averaged over models trained on different random subsets of the training set with different random seeds. In this section, we clarify the relationship between the prediction depth and the expected accuracy by disentangling the accuracy from the sensitivity of predictions to the particular training split and random seed. Following Jiang et al. (2021), we measure the expected accuracy using the consistency score.
|
| 81 |
+
|
| 82 |
+
Consistency score $\hat { C }$ : The frequency of classifying an example correctly when it is omitted from the training set. An empirical estimator of the consistency score for a validation point $( x , y )$
|
| 83 |
+
|
| 84 |
+

|
| 85 |
+
Figure 3: Consistency score vs. prediction depth in the validation split (left) can be understood as the superposition of two simple functions (middle and right). We trained 250 ResNet18 models on CIFAR10, with $9 0 { : } 1 0 \%$ random train:validation splits as described in Appendix A. These histograms compare the frequency of correct predictions to the average prediction depth for a data point when it occurs in the validation split. The density of data points is indicated by the color bar, which follows a log scale. The average prediction depth forms two, surprisingly simple, linear bounds on the consistency score (see Section 3.1 for a full description.) This Figure is reproduced for all datasets and architectures in Appendix C.3, illustrating the consistency of this result.
|
| 86 |
+
|
| 87 |
+
is given by (Jiang et al., 2021):
|
| 88 |
+
|
| 89 |
+
$$
|
| 90 |
+
\hat { C } _ { A , S } ( x , y ) = \hat { \mathbb { E } } _ { \tilde { S } \sim { \cal S } \setminus \{ ( x , y ) \} } ^ { r } \left[ \delta _ { y _ { A } , y } \right]
|
| 91 |
+
$$
|
| 92 |
+
|
| 93 |
+
where $A$ is a deep learning algorithm (architecture, loss and optimizer), $y$ is the ground truth class for $x$ , $\tilde { \cal S }$ is a random subset of $n$ points sampled from a training dataset $s$ excluding $( x , y )$ , $y _ { A }$ is the predicted class of $x$ for $A$ trained with data $\tilde { \cal S }$ , $\delta$ is the Kronecker delta and $\hat { \mathbb { E } } ^ { r }$ denotes empirical averaging with $r$ i.i.d. samples of such subsets $\tilde { \cal S }$ .
|
| 94 |
+
|
| 95 |
+
Figure 3 (left panel) shows the relationship between consistency score and prediction depth. This plot indicates a surprising piecewise linear boundary which is symmetric around consistency score $\frac { 1 } { 2 }$ This suggests the existence of a missing concept that could simplify the picture. We next show that the missing concept is the notion of a consensus class which is defined below.
|
| 96 |
+
|
| 97 |
+
Consensus class ${ \hat { y } } _ { A }$ : The consensus class of $x$ is defined as the predicted class for input $x$ by a majority voting ensemble of $r$ models each of which is trained on a randomly chosen subset ${ \tilde { \cal S } } \stackrel { n } { \sim } { \cal S } \backslash \{ ( x , y ) \} \stackrel { 5 } { \sim }$ .
|
| 98 |
+
|
| 99 |
+
Figure 3 (middle and right) shows how conditioning on whether consensus class matches the ground truth can change the relationship between consistency score and the prediction depth. For points where the consensus class matches the ground truth (middle) we see that the prediction depth forms a, surprisingly simple, linear lower bound on the consistency score. For points where the consensus class differs from the ground truth (right) at low prediction depth the consistency score is bounded from above by a line that reflects the bound from the middle plot in $\begin{array} { r } { \hat { C } = \frac { 1 } { 2 } } \end{array}$ , suggesting that such points are repeatedly mislabeled with a wrong class label. At high prediction depth, the consistency score is low, which suggests highly inconsistent predictions and low accuracy. This result suggests a simple hypothesis: that predictions with low prediction depth are consistent with the consensus class, whether that matches the ground truth class or not, while predictions made in later layers depend strongly on the specific training split and random seed used for training and initialization. We measure consistency with the consensus class using the consensus-consistency score.
|
| 100 |
+
|
| 101 |
+
Consensus-consistency score $C ^ { * }$ : The fraction of models in an ensemble that predict the ensemble’s consensus class ${ \hat { y } } _ { A } \left( x \right)$ for an unseen input $x$ .
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
C _ { A , S } ^ { * } ( x ) = \hat { \mathbb { E } } _ { \tilde { S } \sim \tilde { S } \backslash \{ ( x , y ) \} } ^ { r } \left[ \delta _ { y _ { A } , \hat { y } _ { A } ( x ) } \right]
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
where the notation is the same as in (1) 6.
|
| 108 |
+
|
| 109 |
+
Figure 4 (left) establishes that our simple hypothesis is indeed correct: the prediction depth forms a linear lower bound on the consensus-consistency score for all data points, irrespective of whether the consensus class matches or differs from the ground truth. Interestingly, Figure 4 (middle and right) shows how the prediction depth in a single model, can be used to estimate both of these quantities. That is, predictions of data points with lower prediction depth are both more likely to be consistent and more likely to be correct.
|
| 110 |
+
|
| 111 |
+

|
| 112 |
+
Figure 4: Left: Prediction depth provides us with a linear lower bound on consensus-consistency. Results for CIFAR100 with ResNet18. We train 250 models $( 9 0 { : } 1 0 \%$ random train:validation splits) and compare the average prediction depth when a point occurs in the validation set, to the consensus-consistency of the corresponding predictions. Predictions made for points with low mean prediction depths are highly consistent. Conversely, predictions for points with high mean prediction depths are typically more sensitive to the particular training split and random seed used during training. This left plot shows the result for CIFAR100 with ResNet18. The density of data points is indicated by the color bar, which follows a log scale. Middle: Prediction depth in one model predicts the consensus-consistency of an ensemble that does not include that model. For each dataset we train 25 ResNet18 models with the full training set (see Appendix A). The consensus-consistency of each test point is obtained from 24 of the models, while the prediction depth is obtained from the remaining 1 model. We see that prediction depth in one model predicts the consensus-consistency of a separate ensemble: a measure of the uncertainty of the prediction. The size of each marker in the middle and right plots shows the fraction of the dataset with each prediction depth. Reaffirming the second sanity check in Section 2.2, and in agreement with Figure 1 (right), intuitively simpler datasets (Fashion MNIST and SVHN) have low average prediction depths, while CIFAR100 (intuitively the hardest dataset) has the largest average prediction depth. Right: Prediction depth predicts accuracy. For each dataset we train 250 ResNet18 models $9 0 { : } 1 0 \%$ random train:validation splits). Each time a point appears in the validation split we record the prediction depth and whether the prediction was correct. Predictions made in earlier layers are more likely to be correct. Consistency of these plots is demonstrated for all datasets and architectures in Appendix C.3 where we also describe the relationship between the prediction depth and the entropy of the predictions for an ensemble.
|
| 113 |
+
|
| 114 |
+
# 3.2 The prediction depth of an input is correlated with its learning difficulty
|
| 115 |
+
|
| 116 |
+
In Section 3.1, we describe the relationship between the prediction depth, which represents a computational view of example difficulty and the consistency and consensus-consistency scores, which represent a statistical view. In this section we compare prediction depth to a learning view of example difficulty. We measure the difficulty of learning an example by the speed at which the model’s prediction converges for that input during training. The following definition is adapted from Toneva et al. (2019):
|
| 117 |
+
|
| 118 |
+
Iteration learned A data point is said to be learned by a classifier at training iteration $t = \tau$ if the predicted class at iteration $t = \tau - 1$ is different from the final prediction of the converged network and the predictions at all iterations $t \geq \tau$ are equal to the final prediction of the converged network. Data points consistently classified after all training steps and at the moment of initialization, are said to be learned in step $t = 0$ 7 .
|
| 119 |
+
|
| 120 |
+
Figure 5 (left plot) shows the positive correlation between the prediction depth and the iteration learned, for all four datasets in VGG16. Consistent results are presented for all architectures and datasets, in both the validation and training splits in Appendix C.4. As a result of the reported correlation, we anticipate that many of the data points correctly classified by the k-NN probe in a particular layer should also be correctly classified by the network at a corresponding interval of training steps. If this is correct then we would expect there to be a visual correspondence between the training learning curve (which shows how the accuracy of the network changes during training) and the accuracy of the $\mathbf { k }$ -NN probes as data passes from input, through the network, towards the output layer. We call the series of $\mathbf { k }$ -NN probe accuracies the inference learning curve.
|
| 121 |
+
|
| 122 |
+

|
| 123 |
+
Figure 5: Left: Data points with small prediction depths are on average learned before data points with higher prediction depths. We train 250 VGG16 models for each dataset, using a $9 0 { : } 1 0 \%$ random train:validation split as described in Appendix A. Each time an input appears in the validation split we record the prediction depth and the iteration learned in that model. This plot shows the average iteration learned for data points at each prediction depth. Marker size shows the fraction of the dataset with each prediction depth. The Pearson correlation coefficients for the four data sets are as follows. CIFAR100: 0.83. CIFAR10: 0.7. Fashion MNIST: 0.79. SVHN: 0.77. Middle and right: The training learning curve (middle) shares several important features with the inference learning curve (right). Blue, yellow and green curves represent different components of the CIFAR10 training split, in which we have randomized (and fixed) $40 \%$ of the labels, and red curves show the test split. The middle and right plots show results from 5 random seeds. The inference learning curve (right) is the sequence of k-NN probe accuracy values for each split. All three plots show results for VGG16. The hyperparameters used are given in Appendix A.
|
| 124 |
+
|
| 125 |
+

|
| 126 |
+
Figure 6: Left and Middle: Test examples with smaller prediction depths, on average, have larger output and input margins. We train 25 VGG16 models with different random seeds on CIFAR10 (see Appendix A for details) and compare the mean prediction depth of each test point in these 25 runs to its mean output and input margins (log scales). Correlation coefficients are $- 0 . 7 0$ (output margin) and $- 0 . 6 9$ (input margin). The density of data points is indicated by the color bar, which follows a log scale. Although the prediction depth could be at most 14, no data point has an average prediction depth greater than 12. Right: An intervention that does not encourage large output margin ( $^ { * } O$ -Hinge”) results, as predicted, in models where the predictions are effectively determined in higher layers in the network compared to the standard training $( \ ^ { \ast } C E ^ { \prime \prime } )$ .
|
| 127 |
+
|
| 128 |
+
To test this hypothesis we train a model on a training split where a subset of labels are corrupted and compare the training and inference learning curves on four splits of the data: unchanged training data; mislabeled training data; the original labels of the mislabeled training data and the test split. In Figure 5 (middle and right plots) we see that many of the important features of the training learning curve are indeed present in the inference learning curve. During training (middle), mislabeled data are initially processed as though they are a member of their original class (before they were mislabeled) (Liu et al., 2020a). After an initial period of learning, the network begins to learn the new (random) labels that have been assigned to those data points, so the orange curve moves upwards, and the green curve downwards. At this point, a maximum is observed in the training accuracy (Arpit et al., 2017). In the right plot we see that these same phenomena occur in the inference learning curve.
|
| 129 |
+
|
| 130 |
+
# 3.3 Deep models exhibit larger margins for inputs with lower prediction depth
|
| 131 |
+
|
| 132 |
+
It is reported in the literature that deep networks learn functions of increasing complexity during training (Hu et al., 2020; Kalimeris et al., 2019). We frame this observation differently: the learned function is “locally simpler” in the vicinity of data points with smaller prediction depths, and these points are typically learned earlier in training (Section 3.2).
|
| 133 |
+
|
| 134 |
+
Two known measures of the simplicity of a learned function are the output margin (the difference between the largest and second-largest logits) and the adversarial input margin (the smallest norm required for an adversarial perturbation in the input to change the model’s class prediction). We estimate the adversarial input margin, $\gamma$ , with a linear approximation (Jiang et al., 2018): for an input x with predicted class i, γ ' minj6=i |zi−zj ||∇x(zi−zj )| where $z _ { j }$ is the logit returned by the network for class $j$ . Figure 6 (left and middle plots) show that data points with smaller prediction depths have both larger input and output margins on average and that variances of the input and output margins decrease as the prediction depth increases.
|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
Figure 7: The prediction depth can be the same, or very different for the same input when it occurs in the train and validation splits. Corners of this plot correspond to different forms of example difficulty. (See Section 4 for discussion.) We train 250 ResNet18 models on CIFAR10 with random $9 0 { : } 1 0 \%$ train:validation splits as described in Appendix A. These histograms compare average prediction depth for each data point when it occurs in the validation split vs the training split. This behavior is consistently reproduced for all datasets and architectures in Appendix C.6. Below we show extreme (not hand-chosen) images of “Birds” that appear closest to the corners of this plot. The consensus class is given above each image (tiebreaks favor the class “Bird”.)
|
| 138 |
+
|
| 139 |
+
To illustrate the strength of the relationship between the prediction depth and output margin, we demonstrate that reducing the output margin of the learned function results in a model that clusters the data only in the latest layers: such a solution has a very high average prediction depth. We do not minimize the output margin directly but rather use a loss and an optimizer that do not encourage high output margin. Naturally there are many unknowns that may contribute to this effect. We simply report the intervention and the outcome.
|
| 140 |
+
|
| 141 |
+
The intervention is performed as follows: we construct a loss function that does not promote confidence: a zero-margin hinge loss ( $^ { 6 6 } 0$ -Hinge”), and optimize the network using full-batch gradient descent with momentum and very small learning rate. For an input $x$ with label $i$ the 0-Hinge loss is given by $\begin{array} { r } { l ( x ) = \sum _ { j \neq i } \operatorname* { m a x } ( \dot { 0 } , z _ { i } - z _ { j } ) } \end{array}$ where $z _ { j }$ represents the logit for class $j$ . The form of this intervention is justified in Appendix A.7. As a control, we additionally train a model in the standard fashion using the cross-entropy loss and SGD with momentum and large initial learning rate. Since full-batch gradients are computationally expensive, we train on a subset of CIFAR10 (see Appendix A.7, where we also give the hyperparameters and learning curves.). The output margin obtained with the intervention is 5 orders of magnitude smaller than in the control experiment: $2 . 0 \times 1 0 ^ { - 4 } \pm 2 . 0 \times 1 0 ^ { - 4 }$ for the 0-Hinge loss and $1 . { \overline { { 6 } } } \times 1 0 ^ { 1 } \pm 0 . 5 0 \times 1 0 ^ { 1 }$ for cross-entropy loss. Figure 6 (right) compares the accuracies of the $\mathbf { k }$ -NN probes resulting from these training approaches. The 0-Hinge loss training achieves only a marginal improvement in accuracy (red) over an untrained network (purple), and the training split is accurately clustered only in the latest layers. This confirms the predicted behavior: the intervention leads to a model that exhibits both very small average output margins and very late clustering of the data. Very late clustering of the data implies high prediction depths since the $\mathbf { k }$ -NN probe classifications change in the latest layers for many data points.
|
| 142 |
+
|
| 143 |
+
# 4 Beyond a One-Dimensional Picture of Example Difficulty
|
| 144 |
+
|
| 145 |
+
In this section we transcend the one-dimensional picture of example difficulty by identifying different underlying reasons behind the difficulty of an example, in a way that is general to different architectures and datasets.
|
| 146 |
+
|
| 147 |
+
Figure 7 shows that the prediction depth can be different when an input occurs in the training split vs. the validation split. Thus, there are two axes of example difficulty:
|
| 148 |
+
|
| 149 |
+
1. Difficulty of making a prediction when an input is in the validation set 2. Difficulty of finding commonalities during training with other examples of the same ground truth class
|
| 150 |
+
|
| 151 |
+
Both axes have a range from “clear” to “ambiguous”. In Section 3.1 we show that predictions made for validation points with later prediction depths are often inconsistent, with low consensusconsistency. Conversely, a low prediction depth typically indicates an input with high consensusconsistency. For Axis 1 we will identify validation points with low prediction depths as “clear” and those with high prediction depths as “ambiguous”. We will additionally identify a low or high prediction depth in the training split with examples that are respectively “clear” and “ambiguous” on Axis 2. By making combinations of low/high values of $( \mathrm { P D } _ { \mathrm { V a l . } }$ , $\mathrm { P D } _ { \mathrm { T r a i n } _ { . } }$ ) we obtain four extremes of example difficulty:
|
| 152 |
+
|
| 153 |
+

|
| 154 |
+
Figure 8: Average k-NN probe confidence (solid lines) and accuracy (dotted lines) for the ground truth class (left) and consensus class (right), in the validation split for examples exhibiting extreme forms of difficulty. Mean values for 100 examples with each form of difficulty, identified as the 100 examples closest to the corners in Figure 7 (left). This result is for CIFAR10 with ResNet18: similar plots for all datasets and architectures are shown in Appendix C.7. See Section 4 for the discussion of the result and how it can be used to improve prediction accuracy.
|
| 155 |
+
|
| 156 |
+
Easy examples: (Low $\mathrm { P D } _ { \mathrm { V a l . } }$ , Low $\mathrm { P D } _ { \mathrm { T r a i n } }$ ). Such examples are often visually typical members of their class and the predicted label nearly always matches the ground truth.
|
| 157 |
+
Looks like a different class: (Low $\mathrm { P D } _ { \mathrm { V a l . } }$ , High $\mathrm { P D } _ { \mathrm { T r a i n } }$ ). In the validation set, there is a clear (and nearly always incorrect) classification for such an input, but it is difficult to connect such inputs to other examples of their ground truth class during training. Mislabeled examples are of this kind, as are visually confusing images which at first appear to show something else.
|
| 158 |
+
Ambiguous unless the label is given: (High $\mathrm { P D } _ { \mathrm { V a l . } }$ , Low $\mathrm { P D } _ { \mathrm { T r a i n } }$ ). These examples are difficult to connect to their predicted class in the validation split but easy to connect to their ground truth class during training. These points may, for example, visually resemble both their own class and another class. They are likely to be misclassified.
|
| 159 |
+
Ambiguous: (High $\mathrm { P D } _ { \mathrm { V a l . } }$ , High $\mathrm { P D } _ { \mathrm { T r a i n } }$ ). These examples may be corrupted or show an example of a rare sub-class. Predictions for these inputs can depend strongly on the random seed used for training and initialization.
|
| 160 |
+
|
| 161 |
+
In Figure 7 we visualize CIFAR10 “Bird” images with the extreme forms of example difficulty for ResNet18, as identified using the prediction depth in the training and validation splits. In the full dataset (left panel) we see that the prediction depth can be very different in the training and validation splits: the two prediction depths are typically similar for points where the consensus class is equal to the ground truth (right panel), but can be very different when the consensus class is different from the ground truth (middle panel). This behavior is consistently reproduced for all datasets and architectures in Appendix C.6.
|
| 162 |
+
|
| 163 |
+
Looking at these examples of the class “Bird” with different difficulty types, we observe that ResNet18 finds small garden birds easiest, while birds in flight against a blue background “look like airplanes”, ostriches are “ambiguous without their label” and the “ambiguous” examples are either unclear photographs or examples of rare sub-groups that don’t appear frequently in the data. We found the consensus-consistency of inputs that are “Ambiguous” or “Ambiguous without its label” to be significantly lower than those of examples that are “Easy” or “Look like a different class”.
|
| 164 |
+
|
| 165 |
+
In order to better understand how networks process examples with different, extreme forms of example difficulty, Fig. 8 examines how the k-NN confidence (fraction of votes) and accuracy of the ground truth class and of the consensus class progress, as validation points pass through the network. “Easy” examples are classified as their consensus class (which is equal to their ground truth class) in all k-NN probes and the confidence in the consensus class steadily increases as data points proceed through the hidden layers. Examples that “look like a different class” are also processed as members of their consensus class, similarly to “easy” examples. However, unlike “easy” examples, their consensus classes do not match their ground truth classes. Examples that are “ambiguous without their labels” are initially processed as members of their ground truth classes with intermediate confidence, but in later layers become mistaken for their consensus class. “Ambiguous” examples are processed with low confidence and accuracy in the early layers, for both ground truth and consensus classes. In later layers “ambiguous” examples are recognized, with intermediate confidence and accuracy, as members of the consensus class, which matches the ground truth class for a sizeable fraction of “ambiguous” examples.
|
| 166 |
+
|
| 167 |
+
Improving the prediction accuracy Can the prediction accuracy be improved using our understanding of how each class of difficult examples are processed by deep models? Figure 8 suggest that $\mathbf { k }$ -NN probes in intermediate layers may be more accurate than the full deep model for examples that are “ambiguous without their label” (data points closest to the lower right corner of Figure 7). In order to test this hypothesis, we compare the accuracy of the $\mathbf { k }$ -NN probe in layer 4 to the full model’s prediction for the 100 examples closest to the lower right corner of Figure 8. We obtain a striking improvement in accuracy from $2 5 \%$ to $98 \%$ for these examples. This showcases how insights from this study can be directly used to improve prediction accuracy.
|
| 168 |
+
|
| 169 |
+
# 5 Discussion
|
| 170 |
+
|
| 171 |
+
Summary We have introduced a notion of example difficulty called the prediction depth, which uses the processing of data inside the network to score the difficulty of an example. We have shown how the prediction depth is related to the accuracy and uncertainty of a prediction, the adversarial input margin and the output margin of the learned solution, and that data points that are easier according to the prediction depth are also typically learned earlier in training. We have also shown that the difficulty of an example can be both similar, or very different depending on whether an input appears in the validation split or the training split, and described four extremes of example difficulty. For data points that are “ambiguous without their label”, we have demonstrated how returning the $\mathbf { k }$ -NN prediction in a middle layer can lead to impressive increases in model accuracy: for CIFAR10 in ResNet18 we obtained an increase in accuracy from $2 5 \%$ to $98 \%$ for the inputs that are most “ambiguous without their label”.
|
| 172 |
+
|
| 173 |
+
Connecting known phenomena In the literature, the following phenomena are separately reported from different experimental paradigms:
|
| 174 |
+
|
| 175 |
+
1. Early layers generalize while later layers memorize (Stephenson et al., 2021).
|
| 176 |
+
2. Model layers converge from input layer towards output layer (Raghu et al., 2017; Morcos et al., 2018).
|
| 177 |
+
3. Deep models learn easy data (Jiang et al., 2021; Toneva et al., 2019) and simple functions first (Hu et al., 2020; Kalimeris et al., 2019).
|
| 178 |
+
|
| 179 |
+
Following this paper, a coherent and closely related picture emerges:
|
| 180 |
+
|
| 181 |
+
1. Predictions made in early layers are more likely to be consistent than those made in later layers. Consistent predictions are likely to be correct and the expected accuracy of inconsistent predictions is naturally low (Section 3.1).
|
| 182 |
+
2. Data points learned early in training typically have smaller prediction depths than those learned later during training (Section 3.2).
|
| 183 |
+
3. On average, deep neural networks exhibit wider input and output margins (common measures of “local simplicity”) in the vicinity of data with smaller prediction depths (Section 3.3).
|
| 184 |
+
|
| 185 |
+
Pertinence of example difficulty to topics in machine learning Curriculum Learning attempts to treat hard examples differently from easy examples during training. Robustness to distribution shifts that change the relative frequencies of common and rare subgroups in the test set (which we have shown can have different forms of example difficulty) is important for ML Fairness. Methods developed to address heteroscedastic uncertainty typically address example difficulty as a onedimensional quantity. We expand upon the relevance of our work to these three topics in Appendix D.
|
| 186 |
+
|
| 187 |
+
Limitations We believe that the results we report stem from a deep model’s representation, which is hierarchical by construction. We expect that the same results will therefore apply in larger models, larger datasets, and tasks other than image classification, but testing this remains as further work. Although we demonstrate that returning the results of a hidden k-NN can yield dramatic increases in accuracy for examples that are “ambiguous without their label”, we otherwise do not explore ways to practically apply the insights we present. In particular, we expressly do not claim that all that is required for good accuracy is to reduce the prediction depth: freezing later layers of the network would not be expected to result in good generalization.
|
| 188 |
+
|
| 189 |
+
# Funding Transparency Statement
|
| 190 |
+
|
| 191 |
+
This research was funded by, and undertaken at, Google. All calculations were performed using Google’s computer infrastructure.
|
| 192 |
+
|
| 193 |
+
# Acknowledgment
|
| 194 |
+
|
| 195 |
+
We would like to thank Hanie Sedghi, Ilya Tolstikhin, Ibrahim Alabdulmohsin, Daniel Keysers and Julian Eisenschlos for valuable discussions on the topic and Arthur Baldock for proofreading the manuscript.
|
| 196 |
+
|
| 197 |
+
# References
|
| 198 |
+
|
| 199 |
+
Agarwal, C. and Hooker, S. (2020). Estimating example difficulty using variance of gradients. In ICML, Workshop on Human Interpretability in Machine Learning (WHI).
|
| 200 |
+
Alain, G. and Bengio, Y. (2017). Understanding intermediate layers using linear classifier probes. In International Conference on Learning Representations (Workshop).
|
| 201 |
+
Arpit, D., Jastrzebski, S., Ballas, N., Krueger, D., Bengio, E., Kanwal, M. S., Maharaj, T., Fischer, A., Courville, A., Bengio, Y., et al. (2017). A closer look at memorization in deep networks. In International Conference on Machine Learning.
|
| 202 |
+
Bahri, D., Jiang, H., and Gupta, M. (2020). Deep k-nn for noisy labels. In International Conference on Machine Learning.
|
| 203 |
+
Bengio, Y., Louradour, J., Collobert, R., and Weston, J. (2009). Curriculum learning. In Proceedings of International Conference on Machine Learning.
|
| 204 |
+
Carlini, N., Erlingsson, U., and Papernot, N. (2019). Distribution density, tails, and outliers in machine learning: Metrics and applications. arXiv preprint arXiv:1910.13427.
|
| 205 |
+
Chatterjee, S. (2019). Coherent gradients: An approach to understanding generalization in gradient descent-based optimization. In International Conference on Learning Representations.
|
| 206 |
+
Cohen, G., Sapiro, G., and Giryes, R. (2018). Dnn or k-nn: That is the generalize vs. memorize question. In NeurIPS, Workshop on Integration of Deep Learning Theories.
|
| 207 |
+
Dehghani, M., Gouws, S., Vinyals, O., Uszkoreit, J., and Kaiser, L. (2018). Universal transformers. In International Conference on Learning Representations.
|
| 208 |
+
Elman, J. L. (1993). Learning and development in neural networks: The importance of starting small. Cognition, 48(1):71–99.
|
| 209 |
+
Feldman, V. and Zhang, C. (2020). What neural networks memorize and why: Discovering the long tail via influence estimation. In Proceedings of the 34th International Conference on Neural Information Processing Systems.
|
| 210 |
+
Ghorbani, B., Krishnan, S., and Xiao, Y. (2019). An investigation into neural net optimization via hessian eigenvalue density. In International Conference on Machine Learning.
|
| 211 |
+
Hacohen, G., Choshen, L., and Weinshall, D. (2020). Let’s agree to agree: Neural networks share classification order on real datasets. In International Conference on Machine Learning.
|
| 212 |
+
Hacohen, G. and Weinshall, D. (2019). On the power of curriculum learning in training deep networks. In International Conference on Machine Learning.
|
| 213 |
+
He, K., Zhang, X., Ren, S., and Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition.
|
| 214 |
+
Hooker, S., Courville, A., Clark, G., Dauphin, Y., and Frome, A. (2019). What do compressed deep neural networks forget? arXiv preprint arXiv:1911.05248.
|
| 215 |
+
Hooker, S., Moorosi, N., Clark, G., Bengio, S., and Denton, E. (2020). Characterising bias in compressed models. arXiv preprint arXiv:2010.03058.
|
| 216 |
+
Hu, W., Xiao, L., Adlam, B., and Pennington, J. (2020). The surprising simplicity of the early-time learning dynamics of neural networks. In Proceedings of the 34th International Conference on Neural Information Processing Systems.
|
| 217 |
+
Huang, G., Chen, D., Li, T., Wu, F., van der Maaten, L., and Weinberger, K. (2018). Multi-scale dense networks for resource efficient image classification. In International Conference on Learning Representations.
|
| 218 |
+
Jiang, Y., Krishnan, D., Mobahi, H., and Bengio, S. (2018). Predicting the generalization gap in deep networks with margin distributions. In International Conference on Learning Representations.
|
| 219 |
+
Jiang, Y., Neyshabur, B., Mobahi, H., Krishnan, D., and Bengio, S. (2020). Fantastic generalization measures and where to find them. In International Conference on Learning Representations.
|
| 220 |
+
Jiang, Z., Zhang, C., Talwar, K., and Mozer, M. C. (2021). Characterizing structural regularities of labeled data in overparameterized models. In International Conference on Machine Learning.
|
| 221 |
+
Kalimeris, D., Kaplun, G., Nakkiran, P., Edelman, B., Yang, T., Barak, B., and Zhang, H. (2019). Sgd on neural networks learns functions of increasing complexity. In Advances in Neural Information Processing Systems, volume 32.
|
| 222 |
+
Kawaguchi, K., Kaelbling, L. P., and Bengio, Y. (2017). Generalization in deep learning. arXiv preprint arXiv:1710.05468.
|
| 223 |
+
Kendall, A. and Gal, Y. (2017). What uncertainties do we need in bayesian deep learning for computer vision? In Proceedings of the 31st International Conference on Neural Information Processing Systems.
|
| 224 |
+
Kendall, A., Gal, Y., and Cipolla, R. (2018). Multi-task learning using uncertainty to weigh losses for scene geometry and semantics. In Proceedings of the IEEE conference on computer vision and pattern recognition.
|
| 225 |
+
Keskar, N. S., Nocedal, J., Tang, P. T. P., Mudigere, D., and Smelyanskiy, M. (2017). On large-batch training for deep learning: Generalization gap and sharp minima. In International Conference on Learning Representations.
|
| 226 |
+
Kolesnikov, A., Beyer, L., Zhai, X., Puigcerver, J., Yung, J., Gelly, S., and Houlsby, N. (2020). Big transfer (bit): General visual representation learning. In European Conference on Computer Vision.
|
| 227 |
+
Krizhevsky, A., Hinton, G., et al. (2009). Learning multiple layers of features from tiny images. Technical Report.
|
| 228 |
+
Lakshminarayanan, B., Pritzel, A., and Blundell, C. (2017). Simple and scalable predictive uncertainty estimation using deep ensembles. In Proceedings of the 31st International Conference on Neural Information Processing Systems.
|
| 229 |
+
Lalor, J. P., Wu, H., Munkhdalai, T., and Yu, H. (2018). Understanding deep learning performance through an examination of test set difficulty: A psychometric case study. In Proceedings of the Conference on Empirical Methods in Natural Language Processing.
|
| 230 |
+
Li, H., Xu, Z., Taylor, G., Studer, C., and Goldstein, T. (2018). Visualizing the loss landscape of neural nets. In Proceedings of the 32nd International Conference on Neural Information Processing Systems.
|
| 231 |
+
Liu, S., Niles-Weed, J., Razavian, N., and Fernandez-Granda, C. (2020a). Early-learning regularization prevents memorization of noisy labels. Advances in Neural Information Processing Systems, 33.
|
| 232 |
+
Liu, W., Zhou, P., Wang, Z., Zhao, Z., Deng, H., and JU, Q. (2020b). Fastbert: a self-distilling bert with adaptive inference time. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 6035–6044.
|
| 233 |
+
Long, P. M. and Sedghi, H. (2019). Generalization bounds for deep convolutional neural networks. In International Conference on Learning Representations.
|
| 234 |
+
Mangalam, K. and Prabhu, V. (2019). Do deep neural networks learn shallow learnable examples first? In ICML, Workshop on Identifying and Understanding Deep Learning Phenomena.
|
| 235 |
+
Morcos, A. S., Raghu, M., and Bengio, S. (2018). Insights on representational similarity in neural networks with canonical correlation. In Proceedings of the 32nd International Conference on Neural Information Processing Systems.
|
| 236 |
+
Nagarajan, V., Andreassen, A., and Neyshabur, B. (2021). Understanding the failure modes of out-of-distribution generalization. In International Conference on Learning Representations.
|
| 237 |
+
Netzer, Y., Wang, T., Coates, A., Bissacco, A., Wu, B., and Ng, A. Y. (2011). Reading digits in natural images with unsupervised feature learning. Technical Report.
|
| 238 |
+
Neyshabur, B., Bhojanapalli, S., McAllester, D., and Srebro, N. (2017). Exploring generalization in deep learning. In Proceedings of the 31st International Conference on Neural Information Processing Systems.
|
| 239 |
+
Papernot, N. and McDaniel, P. (2018). Deep k-nearest neighbors: Towards confident, interpretable and robust deep learning. arXiv preprint arXiv:1803.04765.
|
| 240 |
+
Pennington, J. and Bahri, Y. (2017). Geometry of neural network loss surfaces via random matrix theory. In International Conference on Machine Learning.
|
| 241 |
+
Raghu, M., Gilmer, J., Yosinski, J., and Sohl-Dickstein, J. (2017). Svcca: singular vector canonical correlation analysis for deep learning dynamics and interpretability. In Proceedings of the 31st International Conference on Neural Information Processing Systems.
|
| 242 |
+
Recht, B., Roelofs, R., Schmidt, L., and Shankar, V. (2019). Do imagenet classifiers generalize to imagenet? In International Conference on Machine Learning.
|
| 243 |
+
Sagun, L., Bottou, L., and LeCun, Y. (2016). Eigenvalues of the hessian in deep learning: Singularity and beyond. arXiv preprint arXiv:1611.07476.
|
| 244 |
+
Sagun, L., Evci, U., Guney, V. U., Dauphin, Y., and Bottou, L. (2018). Empirical analysis of the hessian of over-parametrized neural networks. In International Conference on Learning Representations (Workshop).
|
| 245 |
+
Sanger, T. D. (1994). Neural network learning control of robot manipulators using gradually increasing task difficulty. IEEE transactions on Robotics and Automation, 10(3):323–333.
|
| 246 |
+
Schwartz, R., Stanovsky, G., Swayamdipta, S., Dodge, J., and Smith, N. A. (2020). The right tool for the job: Matching model and instance complexities. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics.
|
| 247 |
+
Simonyan, K. and Zisserman, A. (2015). Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations.
|
| 248 |
+
Smith, S. L., Dherin, B., Barrett, D. G., and De, S. (2021). On the origin of implicit regularization in stochastic gradient descent. In International Conference on Learning Representations.
|
| 249 |
+
Smith, S. L., Kindermans, P.-J., Ying, C., and Le, Q. V. (2018). Don’t decay the learning rate, increase the batch size. In International Conference on Learning Representations.
|
| 250 |
+
Smith, S. L. and Le, Q. V. (2018). A bayesian perspective on generalization and stochastic gradient descent. In International Conference on Learning Representations.
|
| 251 |
+
Soudry, D., Hoffer, E., Nacson, M. S., Gunasekar, S., and Srebro, N. (2018). The implicit bias of gradient descent on separable data. The Journal of Machine Learning Research, 19(1):2822–2878.
|
| 252 |
+
Stephan, M., Hoffman, M. D., Blei, D. M., et al. (2017). Stochastic gradient descent as approximate bayesian inference. Journal of Machine Learning Research, 18(134):1–35.
|
| 253 |
+
Stephenson, C., suchismita padhy, Ganesh, A., Hui, Y., Tang, H., and Chung, S. (2021). On the geometry of generalization and memorization in deep neural networks. In International Conference on Learning Representations.
|
| 254 |
+
Teerapittayanon, S., McDanel, B., and Kung, H.-T. (2016). Branchynet: Fast inference via early exiting from deep neural networks. In International Conference on Pattern Recognition.
|
| 255 |
+
Toneva, M., Sordoni, A., des Combes, R. T., Trischler, A., Bengio, Y., and Gordon, G. J. (2019). An empirical study of example forgetting during deep neural network learning. In International Conference on Learning Representations.
|
| 256 |
+
Unterthiner, T., Keysers, D., Gelly, S., Bousquet, O., and Tolstikhin, I. (2020). Predicting neural network accuracy from weights. arXiv preprint arXiv:2002.11448.
|
| 257 |
+
Wen, Y., Tran, D., and Ba, J. (2019). Batchensemble: an alternative approach to efficient ensemble and lifelong learning. In International Conference on Learning Representations.
|
| 258 |
+
Wenzel, F., Snoek, J., Tran, D., and Jenatton, R. (2020). Hyperparameter ensembles for robustness and uncertainty quantification. In Proceedings of the 34th International Conference on Neural Information Processing Systems.
|
| 259 |
+
Wu, X., Dyer, E., and Neyshabur, B. (2021). When do curricula work? In International Conference on Learning Representations.
|
| 260 |
+
Xiao, H., Rasul, K., and Vollgraf, R. (2017). Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747.
|
| 261 |
+
Xin, J., Tang, R., Lee, J., Yu, Y., and Lin, J. (2020). Deebert: Dynamic early exiting for accelerating bert inference. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics.
|
| 262 |
+
Yao, Z., Gholami, A., Keutzer, K., and Mahoney, M. (2020). Pyhessian: Neural networks through the lens of the hessian. In International Conference on Machine Learning (Workshop).
|
| 263 |
+
Zielinski, P., Krishnan, S., and Chatterjee, S. (2020). Weak and strong gradient directions: Explaining memorization, generalization, and hardness of examples at scale. arXiv preprint arXiv:2003.07422.
|
parse/train/WWRBHhH158K/WWRBHhH158K_content_list.json
ADDED
|
@@ -0,0 +1,1098 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Deep Learning Through the Lens of Example Difficulty ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
225,
|
| 8 |
+
122,
|
| 9 |
+
774,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Robert J. N. Baldock∗ Google Research, Brain Team rjnbaldock@gmail.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
254,
|
| 19 |
+
226,
|
| 20 |
+
455,
|
| 21 |
+
268
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Hartmut Maennel Google Research, Brain Team hartmutm@google.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
542,
|
| 30 |
+
226,
|
| 31 |
+
743,
|
| 32 |
+
268
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Behnam Neyshabur Google Research, Blueshift Team neyshabur@google.com ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
387,
|
| 41 |
+
289,
|
| 42 |
+
609,
|
| 43 |
+
332
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Abstract ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
462,
|
| 53 |
+
367,
|
| 54 |
+
535,
|
| 55 |
+
382
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Existing work on understanding deep learning often employs measures that compress all data-dependent information into a few numbers. In this work, we adopt a perspective based on the role of individual examples. We introduce a measure of the computational difficulty of making a prediction for a given input: the (effective) prediction depth. Our extensive investigation reveals surprising yet simple relationships between the prediction depth of a given input and the model’s uncertainty, confidence, accuracy and speed of learning for that data point. We further categorize difficult examples into three interpretable groups, demonstrate how these groups are processed differently inside deep models and showcase how this understanding allows us to improve prediction accuracy. Insights from our study lead to a coherent view of a number of separately reported phenomena in the literature: early layers generalize while later layers memorize; early layers converge faster and networks learn easy data and simple functions first. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
233,
|
| 64 |
+
392,
|
| 65 |
+
767,
|
| 66 |
+
571
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 Introduction ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
176,
|
| 76 |
+
590,
|
| 77 |
+
310,
|
| 78 |
+
607
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Much of the existing work on understanding deep learning “integrates out” the data, viewing the inductive bias of the model, or the properties of the optimizer as central to the success of the approach. Examples of such work include studies of eigenvalues of the Hessian and the geometry of the loss landscape (Ghorbani et al., 2019; Yao et al., 2020; Sagun et al., 2016; Li et al., 2018; Pennington and Bahri, 2017; Sagun et al., 2018), studies of margin and effective generalization measures (Long and Sedghi, 2019; Unterthiner et al., 2020; Jiang et al., 2020, 2018; Kawaguchi et al., 2017) and mean-field studies of stochastic optimization (Smith et al., 2021; Stephan et al., 2017; Smith and Le, 2018). However, in practice, we are rarely concerned with only the average behavior of a model. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
616,
|
| 88 |
+
826,
|
| 89 |
+
727
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "One pathway to understanding the principles that govern how deep models process data is to study the properties of deep models for data points with different “amounts” or “types” of example difficulty. There are a number of definitions of example difficulty in the literature (E.g. see Carlini et al. (2019); Hooker et al. (2019); Lalor et al. (2018); Agarwal and Hooker (2020)). Two are particularly relevant to this work. Firstly, the probability of predicting the ground truth label for an example, when that example is omitted from the training set (Jiang et al., 2021), which represents a statistical view of example difficulty. Secondly, the difficulty of learning an example, parameterized by the earliest training iteration after which the model predicts the ground truth class for that example in all subsequent iterations (Toneva et al., 2019). This measure represents a learning view of example difficulty 2. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
728,
|
| 99 |
+
826,
|
| 100 |
+
864
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "These notions suffer from two fundamental limitations. While early-exit strategies in computer vision (Teerapittayanon et al., 2016; Huang et al., 2018) and NLP (Dehghani et al., 2018; Liu et al., 2020b; Schwartz et al., 2020; Xin et al., 2020) suggest predictions for easier examples require less computation, the above example difficulty notions do not encapsulate the processing of data inside a given converged model. Moreover, existing notions of example difficulty (E.g. Carlini et al. (2019)) provide a one-dimensional view of difficulty which can not distinguish between examples that are difficult for different reasons. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
92,
|
| 110 |
+
825,
|
| 111 |
+
188
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "In this paper, we take a significant step towards resolving the above shortcomings. To take the processing of the data into account we propose a new measure of example difficulty, the prediction depth, which is determined from the hidden embeddings. To escape the one-dimensional view of difficulty, we introduce three distinct difficulty types by relating the hidden embeddings for an input to high-level concepts about example difficulty: “Does this example look mislabeled?”; “Is classifying this example only easy if the label is given?”; “Is this example ambiguous both with and without its label?”. Furthermore, we show how this enhanced notion of example difficulty can unify our understanding of several seemingly unrelated phenomena in deep learning. We hope that the results presented in this work will aid the development of models that capture heteroscedastic uncertainty, our understanding of how deep networks respond to distributional shift, and the advancement of curriculum learning approaches and machine learning fairness. These connections are discussed in Section 5. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
189,
|
| 121 |
+
825,
|
| 122 |
+
354
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Contributions Our main contributions are as follows: ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
176,
|
| 131 |
+
364,
|
| 132 |
+
540,
|
| 133 |
+
378
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "• We introduce a measure of computational example difficulty: the prediction depth (PD). The prediction depth, illustrated in Figure 1, represents the number of hidden layers after which the network’s final prediction is already (effectively) determined (Section 2). \nWe show that the prediction depth is larger for examples that visually appear to be more difficult, and that prediction depth is consistent between architectures and random seeds (Section 2.2). \n• Our empirical investigation reveals that prediction depth appears to establish a linear lower bound on the consistency of a prediction. We further show that predictions are on average more accurate for validation points with small prediction depths (Section 3.1). \nWe demonstrate that final predictions for data points that converge earlier during training are typically determined in earlier layers which establishes a correspondence between the training history of the network and the processing of data in the hidden layers (Section 3.2). \n• We show that both the adversarial input margin and the output margin are larger for examples with smaller prediction depths. We further design an intervention to reduce the output margin of a network and show that this leads to predictions being made only in the latest hidden layers (Section 3.3). \nWe identify three extreme forms of example difficulty by considering the prediction depth in the training and validation splits independently and demonstrate how a simple algorithm that uses the hidden embeddings in one middle layer to make predictions can lead to dramatic improvements in accuracy for inputs that strongly exhibit a specific form of example difficulty (Section 4). \nWe use our results to present a coherent picture of deep learning that unifies four seemingly unrelated deep learning phenomena: early layers generalize while later layers memorize; networks converge from input layer towards output layer; easy examples are learned first and networks present simpler functions earlier in training (Section 5). ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
217,
|
| 142 |
+
385,
|
| 143 |
+
825,
|
| 144 |
+
753
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "Experimental Setup: To ensure that our results are robust to the choice of architectures and datasets, we report empirical findings for ResNet18 (He et al., 2016), VGG16 (Simonyan and Zisserman, 2015) and MLP architectures trained on CIFAR10, CIFAR100 (Krizhevsky et al., 2009), Fashion MNIST (FMNIST) (Xiao et al., 2017) and SVHN (Netzer et al., 2011) datasets. All models were trained using SGD with momentum. Our MLP comprises 7 hidden layers of width 2048 with ReLU activations. Details of the datasets, architectures, and hyperparameters used can be found in Appendix A. ",
|
| 151 |
+
"bbox": [
|
| 152 |
+
174,
|
| 153 |
+
758,
|
| 154 |
+
825,
|
| 155 |
+
842
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "Related Work: Our work uses hidden layer probes to determine example difficulty. We have discussed how our study relates to prior work on example difficulty. Hidden layer probes have also been used to study deep learning. Deep k-NN methods (Papernot and McDaniel, 2018) determine their predictions and estimate their own uncertainties by comparing the hidden embeddings of an input to those of the training set. Cohen et al. (2018) showed that SVM, $\\mathbf { k }$ -Nearest Neighbors $\\mathbf { k }$ -NN) ",
|
| 162 |
+
"bbox": [
|
| 163 |
+
174,
|
| 164 |
+
842,
|
| 165 |
+
823,
|
| 166 |
+
911
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 1
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "and logistic regression probes achieve similar accuracies. However, they did not study the processing of individual data points nor did they relate the $\\mathbf { k }$ -NN accuracy to notions of example difficulty. Alain and Bengio (2017) used linear classifier probes in the hidden layers to interrogate deep models and demonstrated that linear separability of the embeddings increases monotonically with depth. We provide a more detailed discussion of related work in Appendix B. ",
|
| 173 |
+
"bbox": [
|
| 174 |
+
174,
|
| 175 |
+
90,
|
| 176 |
+
825,
|
| 177 |
+
161
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 2
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "2 Prediction Depth: a Computational View of Example Difficulty ",
|
| 184 |
+
"text_level": 1,
|
| 185 |
+
"bbox": [
|
| 186 |
+
174,
|
| 187 |
+
174,
|
| 188 |
+
730,
|
| 189 |
+
191
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 2
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "We discussed the statistical and learning views of example difficulty in Section 1. In this section, we introduce a computational view of example difficulty parametrized by the prediction depth as defined in Section 2.1. This computational view asserts that, for “easy” examples, a deep model’s final prediction is effectively made after only a few layers, while more layers are used for “difficult” examples. ",
|
| 196 |
+
"bbox": [
|
| 197 |
+
173,
|
| 198 |
+
199,
|
| 199 |
+
826,
|
| 200 |
+
268
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 2
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "2.1 Definition ",
|
| 207 |
+
"text_level": 1,
|
| 208 |
+
"bbox": [
|
| 209 |
+
174,
|
| 210 |
+
280,
|
| 211 |
+
282,
|
| 212 |
+
295
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 2
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "text",
|
| 218 |
+
"text": "Asserting that the final prediction is effectively determined in earlier layers of a model, before the output, we estimate the depth at which a prediction is made for a given input as follows 3: ",
|
| 219 |
+
"bbox": [
|
| 220 |
+
176,
|
| 221 |
+
299,
|
| 222 |
+
823,
|
| 223 |
+
328
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 2
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "1. We construct k-NN classifier probes from the embeddings of the training set after particular layers of the network, including the input and the final softmax. The placement of $\\mathbf { k }$ -NN probes is described in Appendix A.5. We use $k = 3 0$ in the $\\mathbf { k }$ -NN probes. Appendix A.4 establishes that the k-NN accuracies we report are insensitive to $k$ over a wide range. 2. A prediction is defined to be made at a depth $L = l$ if the $\\mathbf { k }$ -NN classification after layer $L = l - 1$ is different from the network’s final classification, but the classifications of k-NN probes after every layer $L \\geq l$ are all equal to the final classification of the network. Data points consistently classified by all $\\mathbf { k }$ -NN probes are determined to be (effectively) predicted in layer 0 (the input) 4. ",
|
| 230 |
+
"bbox": [
|
| 231 |
+
210,
|
| 232 |
+
333,
|
| 233 |
+
825,
|
| 234 |
+
460
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 2
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "It is worth noting that the prediction depth can be calculated for all data points: both in the training and validation splits. This leads to two notions of computational difficulty: ",
|
| 241 |
+
"bbox": [
|
| 242 |
+
171,
|
| 243 |
+
465,
|
| 244 |
+
823,
|
| 245 |
+
493
|
| 246 |
+
],
|
| 247 |
+
"page_idx": 2
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"text": "• The difficulty of predicting the (given) class for an input (in the training split) • The difficulty of making a prediction for an input, unseen in advance (from the validation split) ",
|
| 252 |
+
"bbox": [
|
| 253 |
+
218,
|
| 254 |
+
498,
|
| 255 |
+
825,
|
| 256 |
+
545
|
| 257 |
+
],
|
| 258 |
+
"page_idx": 2
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "text",
|
| 262 |
+
"text": "We examine both notions of computational difficulty in this paper and use the distinction between them to describe different forms of example difficulty in Section 4. ",
|
| 263 |
+
"bbox": [
|
| 264 |
+
173,
|
| 265 |
+
549,
|
| 266 |
+
823,
|
| 267 |
+
579
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "2.2 Prediction depth is a meaningful and robust notion of example difficulty ",
|
| 274 |
+
"text_level": 1,
|
| 275 |
+
"bbox": [
|
| 276 |
+
176,
|
| 277 |
+
588,
|
| 278 |
+
714,
|
| 279 |
+
603
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 2
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "text",
|
| 285 |
+
"text": "In this section we show that prediction depth agrees with intuitive notions of example difficulty and that it is consistent between different training runs and similar architectures. ",
|
| 286 |
+
"bbox": [
|
| 287 |
+
174,
|
| 288 |
+
608,
|
| 289 |
+
823,
|
| 290 |
+
637
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 2
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "text",
|
| 296 |
+
"text": "Prediction depth is higher for examples and datasets that seem more difficult If prediction depth is a sensible measure of example difficulty then we would expect the following sanity checks to be observed: ",
|
| 297 |
+
"bbox": [
|
| 298 |
+
176,
|
| 299 |
+
645,
|
| 300 |
+
825,
|
| 301 |
+
686
|
| 302 |
+
],
|
| 303 |
+
"page_idx": 2
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"type": "text",
|
| 307 |
+
"text": "1. Individual data points that are visually confusing or mislabeled should have larger prediction depths as compared to images that are clear examples of their class. \n2. Data points from tasks that are intuitively simpler should have lower prediction depths on average. ",
|
| 308 |
+
"bbox": [
|
| 309 |
+
212,
|
| 310 |
+
693,
|
| 311 |
+
825,
|
| 312 |
+
751
|
| 313 |
+
],
|
| 314 |
+
"page_idx": 2
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"type": "text",
|
| 318 |
+
"text": "Figure 1 shows that the prediction depth passes both of these sanity checks. Appendix C.1 presents additional images, providing further evidence for this claim. ",
|
| 319 |
+
"bbox": [
|
| 320 |
+
171,
|
| 321 |
+
756,
|
| 322 |
+
823,
|
| 323 |
+
784
|
| 324 |
+
],
|
| 325 |
+
"page_idx": 2
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"type": "text",
|
| 329 |
+
"text": "Prediction depth is consistent across random seeds and similar architectures Figure 2 shows that the prediction depth is highly consistent between different architectures and random seeds for all datasets. Perfect agreement is not expected as different deep learning algorithms have different inductive biases which affects the perceived difficulty of examples. We observe stronger correlation between prediction depth for ResNet18 and VGG16, than between VGG16 and MLP. This may be explained by the fact that ResNet18 and VGG16 are both convolutional networks and we expect their inductive biases to be more similar to one another than to MLP. ",
|
| 330 |
+
"bbox": [
|
| 331 |
+
173,
|
| 332 |
+
792,
|
| 333 |
+
825,
|
| 334 |
+
849
|
| 335 |
+
],
|
| 336 |
+
"page_idx": 2
|
| 337 |
+
},
|
| 338 |
+
{
|
| 339 |
+
"type": "image",
|
| 340 |
+
"img_path": "images/41ae6d0999f3d52ac3d9fed1621b96ae037b526605cd4d18c4e702c118a942c4.jpg",
|
| 341 |
+
"image_caption": [
|
| 342 |
+
"Figure 1: Deep models use fewer layers to (effectively) determine the prediction for easy examples and more layers for hard examples. Left: A cartoon illustrating the definition of prediction depth (given in Section 2.1). Also shown are training examples from CIFAR100 (“Clock”) and SVHN (“Digit 8”). The examples shown are predicted at the input (first layer) or softmax (last layer) of ResNet18. The examples predicted in the input are visually typical (“easy”), while those predicted in the softmax are mislabeled and/or visually confusing (“hard” examples). To find the prediction depth, we build $\\mathbf { k }$ -NN classifiers from the embeddings of the training set in different layers of the model. The prediction depth corresponds to the earliest layer at which the predictions of all subsequent k-NN classifiers converge to a fixed label. Right: Probability of prediction depth in ResNet18 models for four datasets (training split). We see that the four distributions have different characteristic prediction depths. Ranking the mean prediction depths of these datasets in ascending order, we observe: Fashion MNIST (smallest), SVHN (second), CIFAR10 (third), and CIFAR100 (largest). This order aligns with how one might intuitively rank the difficulties of these classification tasks. "
|
| 343 |
+
],
|
| 344 |
+
"image_footnote": [],
|
| 345 |
+
"bbox": [
|
| 346 |
+
178,
|
| 347 |
+
88,
|
| 348 |
+
821,
|
| 349 |
+
228
|
| 350 |
+
],
|
| 351 |
+
"page_idx": 3
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"type": "image",
|
| 355 |
+
"img_path": "images/23c98a880da3f394cd13a1b9baa89a6f129ff8653082737c21aec2cb3c228e0f.jpg",
|
| 356 |
+
"image_caption": [
|
| 357 |
+
"Figure 2: Consistency of prediction depth between architectures and random seeds. Left: The panel shows the correlation coefficient between prediction depths in different architectures, for both train and validation splits in four datasets. Diagonal comparisons between an architecture and itself show the correlation for the same architecture trained with different random seeds. Right: Histograms comparing the mean value of prediction depth obtained for each data point in the training set of CIFAR10 from an ensemble of 250 trained models. In this plot, for visual simplicity, we rescale prediction depth to the interval $[ 0 , 1 ]$ for each network. Similar results for all other datasets are presented in Appendix C.2. "
|
| 358 |
+
],
|
| 359 |
+
"image_footnote": [],
|
| 360 |
+
"bbox": [
|
| 361 |
+
178,
|
| 362 |
+
402,
|
| 363 |
+
820,
|
| 364 |
+
526
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 3
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "text",
|
| 370 |
+
"text": "",
|
| 371 |
+
"bbox": [
|
| 372 |
+
174,
|
| 373 |
+
637,
|
| 374 |
+
825,
|
| 375 |
+
679
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 3
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "text",
|
| 381 |
+
"text": "3 Deep Learning Phenomena Through the Lens of Prediction Depth ",
|
| 382 |
+
"text_level": 1,
|
| 383 |
+
"bbox": [
|
| 384 |
+
173,
|
| 385 |
+
693,
|
| 386 |
+
754,
|
| 387 |
+
710
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 3
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "In this section, we explore how the prediction depth can be used to better understand three important aspects of Deep Learning: accuracy and consistency of a prediction; the order in which data is learned and the simplicity of the learned function (as measured by the margin) in the vicinity of a data point. ",
|
| 394 |
+
"bbox": [
|
| 395 |
+
174,
|
| 396 |
+
718,
|
| 397 |
+
825,
|
| 398 |
+
761
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 3
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "text",
|
| 404 |
+
"text": "3.1 Depth of a prediction gives a linear lower bound on its consistency ",
|
| 405 |
+
"text_level": 1,
|
| 406 |
+
"bbox": [
|
| 407 |
+
174,
|
| 408 |
+
771,
|
| 409 |
+
671,
|
| 410 |
+
786
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 3
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"text": "Adopting a statistical view of example difficulty, Jiang et al. (2021) identified example difficulty with the expected accuracy of the learning algorithm for a given input, averaged over models trained on different random subsets of the training set with different random seeds. In this section, we clarify the relationship between the prediction depth and the expected accuracy by disentangling the accuracy from the sensitivity of predictions to the particular training split and random seed. Following Jiang et al. (2021), we measure the expected accuracy using the consistency score. ",
|
| 417 |
+
"bbox": [
|
| 418 |
+
174,
|
| 419 |
+
791,
|
| 420 |
+
825,
|
| 421 |
+
875
|
| 422 |
+
],
|
| 423 |
+
"page_idx": 3
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"text": "Consistency score $\\hat { C }$ : The frequency of classifying an example correctly when it is omitted from the training set. An empirical estimator of the consistency score for a validation point $( x , y )$ ",
|
| 428 |
+
"bbox": [
|
| 429 |
+
178,
|
| 430 |
+
882,
|
| 431 |
+
821,
|
| 432 |
+
911
|
| 433 |
+
],
|
| 434 |
+
"page_idx": 3
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "image",
|
| 438 |
+
"img_path": "images/67ee1b181de37aba816ac42fe368a058ecc0e63537f5c06a4103f90e7f6c3a63.jpg",
|
| 439 |
+
"image_caption": [
|
| 440 |
+
"Figure 3: Consistency score vs. prediction depth in the validation split (left) can be understood as the superposition of two simple functions (middle and right). We trained 250 ResNet18 models on CIFAR10, with $9 0 { : } 1 0 \\%$ random train:validation splits as described in Appendix A. These histograms compare the frequency of correct predictions to the average prediction depth for a data point when it occurs in the validation split. The density of data points is indicated by the color bar, which follows a log scale. The average prediction depth forms two, surprisingly simple, linear bounds on the consistency score (see Section 3.1 for a full description.) This Figure is reproduced for all datasets and architectures in Appendix C.3, illustrating the consistency of this result. "
|
| 441 |
+
],
|
| 442 |
+
"image_footnote": [],
|
| 443 |
+
"bbox": [
|
| 444 |
+
176,
|
| 445 |
+
90,
|
| 446 |
+
821,
|
| 447 |
+
207
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 4
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "is given by (Jiang et al., 2021): ",
|
| 454 |
+
"bbox": [
|
| 455 |
+
232,
|
| 456 |
+
335,
|
| 457 |
+
436,
|
| 458 |
+
349
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 4
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "equation",
|
| 464 |
+
"img_path": "images/5730aeecf83fec515bfe03f509fd7fa6e15a2f6c15a6a194a6df8b4a4d27036c.jpg",
|
| 465 |
+
"text": "$$\n\\hat { C } _ { A , S } ( x , y ) = \\hat { \\mathbb { E } } _ { \\tilde { S } \\sim { \\cal S } \\setminus \\{ ( x , y ) \\} } ^ { r } \\left[ \\delta _ { y _ { A } , y } \\right]\n$$",
|
| 466 |
+
"text_format": "latex",
|
| 467 |
+
"bbox": [
|
| 468 |
+
411,
|
| 469 |
+
357,
|
| 470 |
+
645,
|
| 471 |
+
381
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 4
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "where $A$ is a deep learning algorithm (architecture, loss and optimizer), $y$ is the ground truth class for $x$ , $\\tilde { \\cal S }$ is a random subset of $n$ points sampled from a training dataset $s$ excluding $( x , y )$ , $y _ { A }$ is the predicted class of $x$ for $A$ trained with data $\\tilde { \\cal S }$ , $\\delta$ is the Kronecker delta and $\\hat { \\mathbb { E } } ^ { r }$ denotes empirical averaging with $r$ i.i.d. samples of such subsets $\\tilde { \\cal S }$ . ",
|
| 478 |
+
"bbox": [
|
| 479 |
+
230,
|
| 480 |
+
386,
|
| 481 |
+
823,
|
| 482 |
+
449
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 4
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "text",
|
| 488 |
+
"text": "Figure 3 (left panel) shows the relationship between consistency score and prediction depth. This plot indicates a surprising piecewise linear boundary which is symmetric around consistency score $\\frac { 1 } { 2 }$ This suggests the existence of a missing concept that could simplify the picture. We next show that the missing concept is the notion of a consensus class which is defined below. ",
|
| 489 |
+
"bbox": [
|
| 490 |
+
176,
|
| 491 |
+
455,
|
| 492 |
+
825,
|
| 493 |
+
511
|
| 494 |
+
],
|
| 495 |
+
"page_idx": 4
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"type": "text",
|
| 499 |
+
"text": "Consensus class ${ \\hat { y } } _ { A }$ : The consensus class of $x$ is defined as the predicted class for input $x$ by a majority voting ensemble of $r$ models each of which is trained on a randomly chosen subset ${ \\tilde { \\cal S } } \\stackrel { n } { \\sim } { \\cal S } \\backslash \\{ ( x , y ) \\} \\stackrel { 5 } { \\sim }$ . ",
|
| 500 |
+
"bbox": [
|
| 501 |
+
174,
|
| 502 |
+
517,
|
| 503 |
+
825,
|
| 504 |
+
564
|
| 505 |
+
],
|
| 506 |
+
"page_idx": 4
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"type": "text",
|
| 510 |
+
"text": "Figure 3 (middle and right) shows how conditioning on whether consensus class matches the ground truth can change the relationship between consistency score and the prediction depth. For points where the consensus class matches the ground truth (middle) we see that the prediction depth forms a, surprisingly simple, linear lower bound on the consistency score. For points where the consensus class differs from the ground truth (right) at low prediction depth the consistency score is bounded from above by a line that reflects the bound from the middle plot in $\\begin{array} { r } { \\hat { C } = \\frac { 1 } { 2 } } \\end{array}$ , suggesting that such points are repeatedly mislabeled with a wrong class label. At high prediction depth, the consistency score is low, which suggests highly inconsistent predictions and low accuracy. This result suggests a simple hypothesis: that predictions with low prediction depth are consistent with the consensus class, whether that matches the ground truth class or not, while predictions made in later layers depend strongly on the specific training split and random seed used for training and initialization. We measure consistency with the consensus class using the consensus-consistency score. ",
|
| 511 |
+
"bbox": [
|
| 512 |
+
173,
|
| 513 |
+
569,
|
| 514 |
+
825,
|
| 515 |
+
738
|
| 516 |
+
],
|
| 517 |
+
"page_idx": 4
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"type": "text",
|
| 521 |
+
"text": "Consensus-consistency score $C ^ { * }$ : The fraction of models in an ensemble that predict the ensemble’s consensus class ${ \\hat { y } } _ { A } \\left( x \\right)$ for an unseen input $x$ . ",
|
| 522 |
+
"bbox": [
|
| 523 |
+
171,
|
| 524 |
+
743,
|
| 525 |
+
823,
|
| 526 |
+
772
|
| 527 |
+
],
|
| 528 |
+
"page_idx": 4
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"type": "equation",
|
| 532 |
+
"img_path": "images/6a1a098c8a6a2978c52b97c9e07e0fa9551c7045cde12caea458017c72e5794f.jpg",
|
| 533 |
+
"text": "$$\nC _ { A , S } ^ { * } ( x ) = \\hat { \\mathbb { E } } _ { \\tilde { S } \\sim \\tilde { S } \\backslash \\{ ( x , y ) \\} } ^ { r } \\left[ \\delta _ { y _ { A } , \\hat { y } _ { A } ( x ) } \\right]\n$$",
|
| 534 |
+
"text_format": "latex",
|
| 535 |
+
"bbox": [
|
| 536 |
+
403,
|
| 537 |
+
779,
|
| 538 |
+
651,
|
| 539 |
+
804
|
| 540 |
+
],
|
| 541 |
+
"page_idx": 4
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"type": "text",
|
| 545 |
+
"text": "where the notation is the same as in (1) 6. ",
|
| 546 |
+
"bbox": [
|
| 547 |
+
233,
|
| 548 |
+
811,
|
| 549 |
+
503,
|
| 550 |
+
825
|
| 551 |
+
],
|
| 552 |
+
"page_idx": 4
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"type": "text",
|
| 556 |
+
"text": "Figure 4 (left) establishes that our simple hypothesis is indeed correct: the prediction depth forms a linear lower bound on the consensus-consistency score for all data points, irrespective of whether the consensus class matches or differs from the ground truth. Interestingly, Figure 4 (middle and right) shows how the prediction depth in a single model, can be used to estimate both of these quantities. That is, predictions of data points with lower prediction depth are both more likely to be consistent and more likely to be correct. ",
|
| 557 |
+
"bbox": [
|
| 558 |
+
174,
|
| 559 |
+
832,
|
| 560 |
+
821,
|
| 561 |
+
862
|
| 562 |
+
],
|
| 563 |
+
"page_idx": 4
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"type": "image",
|
| 567 |
+
"img_path": "images/8a5ae0a88a3e513d4097c5f1dcee15b7f3d5e2e68ceae4e1b0a5b33e9d9f4a7a.jpg",
|
| 568 |
+
"image_caption": [
|
| 569 |
+
"Figure 4: Left: Prediction depth provides us with a linear lower bound on consensus-consistency. Results for CIFAR100 with ResNet18. We train 250 models $( 9 0 { : } 1 0 \\%$ random train:validation splits) and compare the average prediction depth when a point occurs in the validation set, to the consensus-consistency of the corresponding predictions. Predictions made for points with low mean prediction depths are highly consistent. Conversely, predictions for points with high mean prediction depths are typically more sensitive to the particular training split and random seed used during training. This left plot shows the result for CIFAR100 with ResNet18. The density of data points is indicated by the color bar, which follows a log scale. Middle: Prediction depth in one model predicts the consensus-consistency of an ensemble that does not include that model. For each dataset we train 25 ResNet18 models with the full training set (see Appendix A). The consensus-consistency of each test point is obtained from 24 of the models, while the prediction depth is obtained from the remaining 1 model. We see that prediction depth in one model predicts the consensus-consistency of a separate ensemble: a measure of the uncertainty of the prediction. The size of each marker in the middle and right plots shows the fraction of the dataset with each prediction depth. Reaffirming the second sanity check in Section 2.2, and in agreement with Figure 1 (right), intuitively simpler datasets (Fashion MNIST and SVHN) have low average prediction depths, while CIFAR100 (intuitively the hardest dataset) has the largest average prediction depth. Right: Prediction depth predicts accuracy. For each dataset we train 250 ResNet18 models $9 0 { : } 1 0 \\%$ random train:validation splits). Each time a point appears in the validation split we record the prediction depth and whether the prediction was correct. Predictions made in earlier layers are more likely to be correct. Consistency of these plots is demonstrated for all datasets and architectures in Appendix C.3 where we also describe the relationship between the prediction depth and the entropy of the predictions for an ensemble. "
|
| 570 |
+
],
|
| 571 |
+
"image_footnote": [],
|
| 572 |
+
"bbox": [
|
| 573 |
+
178,
|
| 574 |
+
93,
|
| 575 |
+
821,
|
| 576 |
+
208
|
| 577 |
+
],
|
| 578 |
+
"page_idx": 5
|
| 579 |
+
},
|
| 580 |
+
{
|
| 581 |
+
"type": "text",
|
| 582 |
+
"text": "",
|
| 583 |
+
"bbox": [
|
| 584 |
+
174,
|
| 585 |
+
484,
|
| 586 |
+
825,
|
| 587 |
+
540
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 5
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "text",
|
| 593 |
+
"text": "3.2 The prediction depth of an input is correlated with its learning difficulty ",
|
| 594 |
+
"text_level": 1,
|
| 595 |
+
"bbox": [
|
| 596 |
+
174,
|
| 597 |
+
551,
|
| 598 |
+
714,
|
| 599 |
+
566
|
| 600 |
+
],
|
| 601 |
+
"page_idx": 5
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "text",
|
| 605 |
+
"text": "In Section 3.1, we describe the relationship between the prediction depth, which represents a computational view of example difficulty and the consistency and consensus-consistency scores, which represent a statistical view. In this section we compare prediction depth to a learning view of example difficulty. We measure the difficulty of learning an example by the speed at which the model’s prediction converges for that input during training. The following definition is adapted from Toneva et al. (2019): ",
|
| 606 |
+
"bbox": [
|
| 607 |
+
174,
|
| 608 |
+
571,
|
| 609 |
+
825,
|
| 610 |
+
655
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 5
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "text",
|
| 616 |
+
"text": "Iteration learned A data point is said to be learned by a classifier at training iteration $t = \\tau$ if the predicted class at iteration $t = \\tau - 1$ is different from the final prediction of the converged network and the predictions at all iterations $t \\geq \\tau$ are equal to the final prediction of the converged network. Data points consistently classified after all training steps and at the moment of initialization, are said to be learned in step $t = 0$ 7 . ",
|
| 617 |
+
"bbox": [
|
| 618 |
+
174,
|
| 619 |
+
661,
|
| 620 |
+
825,
|
| 621 |
+
731
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 5
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"text": "Figure 5 (left plot) shows the positive correlation between the prediction depth and the iteration learned, for all four datasets in VGG16. Consistent results are presented for all architectures and datasets, in both the validation and training splits in Appendix C.4. As a result of the reported correlation, we anticipate that many of the data points correctly classified by the k-NN probe in a particular layer should also be correctly classified by the network at a corresponding interval of training steps. If this is correct then we would expect there to be a visual correspondence between the training learning curve (which shows how the accuracy of the network changes during training) and the accuracy of the $\\mathbf { k }$ -NN probes as data passes from input, through the network, towards the output layer. We call the series of $\\mathbf { k }$ -NN probe accuracies the inference learning curve. ",
|
| 628 |
+
"bbox": [
|
| 629 |
+
173,
|
| 630 |
+
736,
|
| 631 |
+
825,
|
| 632 |
+
861
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 5
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "image",
|
| 638 |
+
"img_path": "images/a02ab6322e5cd8cebfe9ac42455d2b4efbdada80864f46deb3a0b8efc92674dd.jpg",
|
| 639 |
+
"image_caption": [
|
| 640 |
+
"Figure 5: Left: Data points with small prediction depths are on average learned before data points with higher prediction depths. We train 250 VGG16 models for each dataset, using a $9 0 { : } 1 0 \\%$ random train:validation split as described in Appendix A. Each time an input appears in the validation split we record the prediction depth and the iteration learned in that model. This plot shows the average iteration learned for data points at each prediction depth. Marker size shows the fraction of the dataset with each prediction depth. The Pearson correlation coefficients for the four data sets are as follows. CIFAR100: 0.83. CIFAR10: 0.7. Fashion MNIST: 0.79. SVHN: 0.77. Middle and right: The training learning curve (middle) shares several important features with the inference learning curve (right). Blue, yellow and green curves represent different components of the CIFAR10 training split, in which we have randomized (and fixed) $40 \\%$ of the labels, and red curves show the test split. The middle and right plots show results from 5 random seeds. The inference learning curve (right) is the sequence of k-NN probe accuracy values for each split. All three plots show results for VGG16. The hyperparameters used are given in Appendix A. "
|
| 641 |
+
],
|
| 642 |
+
"image_footnote": [],
|
| 643 |
+
"bbox": [
|
| 644 |
+
183,
|
| 645 |
+
90,
|
| 646 |
+
812,
|
| 647 |
+
185
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 6
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "image",
|
| 653 |
+
"img_path": "images/cd8a095f06b0d86716987a5edc4dae02cc92e33acd326dbeae942c6b16d73e2a.jpg",
|
| 654 |
+
"image_caption": [
|
| 655 |
+
"Figure 6: Left and Middle: Test examples with smaller prediction depths, on average, have larger output and input margins. We train 25 VGG16 models with different random seeds on CIFAR10 (see Appendix A for details) and compare the mean prediction depth of each test point in these 25 runs to its mean output and input margins (log scales). Correlation coefficients are $- 0 . 7 0$ (output margin) and $- 0 . 6 9$ (input margin). The density of data points is indicated by the color bar, which follows a log scale. Although the prediction depth could be at most 14, no data point has an average prediction depth greater than 12. Right: An intervention that does not encourage large output margin ( $^ { * } O$ -Hinge”) results, as predicted, in models where the predictions are effectively determined in higher layers in the network compared to the standard training $( \\ ^ { \\ast } C E ^ { \\prime \\prime } )$ . "
|
| 656 |
+
],
|
| 657 |
+
"image_footnote": [],
|
| 658 |
+
"bbox": [
|
| 659 |
+
176,
|
| 660 |
+
356,
|
| 661 |
+
818,
|
| 662 |
+
457
|
| 663 |
+
],
|
| 664 |
+
"page_idx": 6
|
| 665 |
+
},
|
| 666 |
+
{
|
| 667 |
+
"type": "text",
|
| 668 |
+
"text": "To test this hypothesis we train a model on a training split where a subset of labels are corrupted and compare the training and inference learning curves on four splits of the data: unchanged training data; mislabeled training data; the original labels of the mislabeled training data and the test split. In Figure 5 (middle and right plots) we see that many of the important features of the training learning curve are indeed present in the inference learning curve. During training (middle), mislabeled data are initially processed as though they are a member of their original class (before they were mislabeled) (Liu et al., 2020a). After an initial period of learning, the network begins to learn the new (random) labels that have been assigned to those data points, so the orange curve moves upwards, and the green curve downwards. At this point, a maximum is observed in the training accuracy (Arpit et al., 2017). In the right plot we see that these same phenomena occur in the inference learning curve. ",
|
| 669 |
+
"bbox": [
|
| 670 |
+
173,
|
| 671 |
+
574,
|
| 672 |
+
825,
|
| 673 |
+
727
|
| 674 |
+
],
|
| 675 |
+
"page_idx": 6
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"type": "text",
|
| 679 |
+
"text": "3.3 Deep models exhibit larger margins for inputs with lower prediction depth ",
|
| 680 |
+
"text_level": 1,
|
| 681 |
+
"bbox": [
|
| 682 |
+
176,
|
| 683 |
+
743,
|
| 684 |
+
728,
|
| 685 |
+
758
|
| 686 |
+
],
|
| 687 |
+
"page_idx": 6
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"type": "text",
|
| 691 |
+
"text": "It is reported in the literature that deep networks learn functions of increasing complexity during training (Hu et al., 2020; Kalimeris et al., 2019). We frame this observation differently: the learned function is “locally simpler” in the vicinity of data points with smaller prediction depths, and these points are typically learned earlier in training (Section 3.2). ",
|
| 692 |
+
"bbox": [
|
| 693 |
+
174,
|
| 694 |
+
765,
|
| 695 |
+
825,
|
| 696 |
+
820
|
| 697 |
+
],
|
| 698 |
+
"page_idx": 6
|
| 699 |
+
},
|
| 700 |
+
{
|
| 701 |
+
"type": "text",
|
| 702 |
+
"text": "Two known measures of the simplicity of a learned function are the output margin (the difference between the largest and second-largest logits) and the adversarial input margin (the smallest norm required for an adversarial perturbation in the input to change the model’s class prediction). We estimate the adversarial input margin, $\\gamma$ , with a linear approximation (Jiang et al., 2018): for an input x with predicted class i, γ ' minj6=i |zi−zj ||∇x(zi−zj )| where $z _ { j }$ is the logit returned by the network for class $j$ . Figure 6 (left and middle plots) show that data points with smaller prediction depths have both larger input and output margins on average and that variances of the input and output margins decrease as the prediction depth increases. ",
|
| 703 |
+
"bbox": [
|
| 704 |
+
174,
|
| 705 |
+
821,
|
| 706 |
+
825,
|
| 707 |
+
912
|
| 708 |
+
],
|
| 709 |
+
"page_idx": 6
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"type": "image",
|
| 713 |
+
"img_path": "images/6adf476b71571c6b4cc9499c21b8fe2583b9b43fa207152bd6831ec0fc9ca860.jpg",
|
| 714 |
+
"image_caption": [
|
| 715 |
+
"Figure 7: The prediction depth can be the same, or very different for the same input when it occurs in the train and validation splits. Corners of this plot correspond to different forms of example difficulty. (See Section 4 for discussion.) We train 250 ResNet18 models on CIFAR10 with random $9 0 { : } 1 0 \\%$ train:validation splits as described in Appendix A. These histograms compare average prediction depth for each data point when it occurs in the validation split vs the training split. This behavior is consistently reproduced for all datasets and architectures in Appendix C.6. Below we show extreme (not hand-chosen) images of “Birds” that appear closest to the corners of this plot. The consensus class is given above each image (tiebreaks favor the class “Bird”.) "
|
| 716 |
+
],
|
| 717 |
+
"image_footnote": [],
|
| 718 |
+
"bbox": [
|
| 719 |
+
179,
|
| 720 |
+
89,
|
| 721 |
+
820,
|
| 722 |
+
262
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 7
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "",
|
| 729 |
+
"bbox": [
|
| 730 |
+
173,
|
| 731 |
+
378,
|
| 732 |
+
823,
|
| 733 |
+
406
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 7
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"text": "To illustrate the strength of the relationship between the prediction depth and output margin, we demonstrate that reducing the output margin of the learned function results in a model that clusters the data only in the latest layers: such a solution has a very high average prediction depth. We do not minimize the output margin directly but rather use a loss and an optimizer that do not encourage high output margin. Naturally there are many unknowns that may contribute to this effect. We simply report the intervention and the outcome. ",
|
| 740 |
+
"bbox": [
|
| 741 |
+
174,
|
| 742 |
+
407,
|
| 743 |
+
825,
|
| 744 |
+
489
|
| 745 |
+
],
|
| 746 |
+
"page_idx": 7
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "text",
|
| 750 |
+
"text": "The intervention is performed as follows: we construct a loss function that does not promote confidence: a zero-margin hinge loss ( $^ { 6 6 } 0$ -Hinge”), and optimize the network using full-batch gradient descent with momentum and very small learning rate. For an input $x$ with label $i$ the 0-Hinge loss is given by $\\begin{array} { r } { l ( x ) = \\sum _ { j \\neq i } \\operatorname* { m a x } ( \\dot { 0 } , z _ { i } - z _ { j } ) } \\end{array}$ where $z _ { j }$ represents the logit for class $j$ . The form of this intervention is justified in Appendix A.7. As a control, we additionally train a model in the standard fashion using the cross-entropy loss and SGD with momentum and large initial learning rate. Since full-batch gradients are computationally expensive, we train on a subset of CIFAR10 (see Appendix A.7, where we also give the hyperparameters and learning curves.). The output margin obtained with the intervention is 5 orders of magnitude smaller than in the control experiment: $2 . 0 \\times 1 0 ^ { - 4 } \\pm 2 . 0 \\times 1 0 ^ { - 4 }$ for the 0-Hinge loss and $1 . { \\overline { { 6 } } } \\times 1 0 ^ { 1 } \\pm 0 . 5 0 \\times 1 0 ^ { 1 }$ for cross-entropy loss. Figure 6 (right) compares the accuracies of the $\\mathbf { k }$ -NN probes resulting from these training approaches. The 0-Hinge loss training achieves only a marginal improvement in accuracy (red) over an untrained network (purple), and the training split is accurately clustered only in the latest layers. This confirms the predicted behavior: the intervention leads to a model that exhibits both very small average output margins and very late clustering of the data. Very late clustering of the data implies high prediction depths since the $\\mathbf { k }$ -NN probe classifications change in the latest layers for many data points. ",
|
| 751 |
+
"bbox": [
|
| 752 |
+
173,
|
| 753 |
+
492,
|
| 754 |
+
826,
|
| 755 |
+
714
|
| 756 |
+
],
|
| 757 |
+
"page_idx": 7
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "text",
|
| 761 |
+
"text": "4 Beyond a One-Dimensional Picture of Example Difficulty ",
|
| 762 |
+
"text_level": 1,
|
| 763 |
+
"bbox": [
|
| 764 |
+
174,
|
| 765 |
+
728,
|
| 766 |
+
683,
|
| 767 |
+
746
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 7
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "In this section we transcend the one-dimensional picture of example difficulty by identifying different underlying reasons behind the difficulty of an example, in a way that is general to different architectures and datasets. ",
|
| 774 |
+
"bbox": [
|
| 775 |
+
178,
|
| 776 |
+
755,
|
| 777 |
+
823,
|
| 778 |
+
796
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 7
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "Figure 7 shows that the prediction depth can be different when an input occurs in the training split vs. the validation split. Thus, there are two axes of example difficulty: ",
|
| 785 |
+
"bbox": [
|
| 786 |
+
173,
|
| 787 |
+
797,
|
| 788 |
+
821,
|
| 789 |
+
825
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 7
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "1. Difficulty of making a prediction when an input is in the validation set 2. Difficulty of finding commonalities during training with other examples of the same ground truth class ",
|
| 796 |
+
"bbox": [
|
| 797 |
+
212,
|
| 798 |
+
832,
|
| 799 |
+
825,
|
| 800 |
+
877
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 7
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "Both axes have a range from “clear” to “ambiguous”. In Section 3.1 we show that predictions made for validation points with later prediction depths are often inconsistent, with low consensusconsistency. Conversely, a low prediction depth typically indicates an input with high consensusconsistency. For Axis 1 we will identify validation points with low prediction depths as “clear” and those with high prediction depths as “ambiguous”. We will additionally identify a low or high prediction depth in the training split with examples that are respectively “clear” and “ambiguous” on Axis 2. By making combinations of low/high values of $( \\mathrm { P D } _ { \\mathrm { V a l . } }$ , $\\mathrm { P D } _ { \\mathrm { T r a i n } _ { . } }$ ) we obtain four extremes of example difficulty: ",
|
| 807 |
+
"bbox": [
|
| 808 |
+
173,
|
| 809 |
+
883,
|
| 810 |
+
821,
|
| 811 |
+
911
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 7
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "image",
|
| 817 |
+
"img_path": "images/14930e4f6df689d31626c023acd5f7f776fdcf3f0a5998ae876b3c3fa70cabe4.jpg",
|
| 818 |
+
"image_caption": [
|
| 819 |
+
"Figure 8: Average k-NN probe confidence (solid lines) and accuracy (dotted lines) for the ground truth class (left) and consensus class (right), in the validation split for examples exhibiting extreme forms of difficulty. Mean values for 100 examples with each form of difficulty, identified as the 100 examples closest to the corners in Figure 7 (left). This result is for CIFAR10 with ResNet18: similar plots for all datasets and architectures are shown in Appendix C.7. See Section 4 for the discussion of the result and how it can be used to improve prediction accuracy. "
|
| 820 |
+
],
|
| 821 |
+
"image_footnote": [],
|
| 822 |
+
"bbox": [
|
| 823 |
+
174,
|
| 824 |
+
89,
|
| 825 |
+
818,
|
| 826 |
+
207
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 8
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "text",
|
| 832 |
+
"text": "",
|
| 833 |
+
"bbox": [
|
| 834 |
+
173,
|
| 835 |
+
304,
|
| 836 |
+
826,
|
| 837 |
+
388
|
| 838 |
+
],
|
| 839 |
+
"page_idx": 8
|
| 840 |
+
},
|
| 841 |
+
{
|
| 842 |
+
"type": "text",
|
| 843 |
+
"text": "Easy examples: (Low $\\mathrm { P D } _ { \\mathrm { V a l . } }$ , Low $\\mathrm { P D } _ { \\mathrm { T r a i n } }$ ). Such examples are often visually typical members of their class and the predicted label nearly always matches the ground truth. \nLooks like a different class: (Low $\\mathrm { P D } _ { \\mathrm { V a l . } }$ , High $\\mathrm { P D } _ { \\mathrm { T r a i n } }$ ). In the validation set, there is a clear (and nearly always incorrect) classification for such an input, but it is difficult to connect such inputs to other examples of their ground truth class during training. Mislabeled examples are of this kind, as are visually confusing images which at first appear to show something else. \nAmbiguous unless the label is given: (High $\\mathrm { P D } _ { \\mathrm { V a l . } }$ , Low $\\mathrm { P D } _ { \\mathrm { T r a i n } }$ ). These examples are difficult to connect to their predicted class in the validation split but easy to connect to their ground truth class during training. These points may, for example, visually resemble both their own class and another class. They are likely to be misclassified. \nAmbiguous: (High $\\mathrm { P D } _ { \\mathrm { V a l . } }$ , High $\\mathrm { P D } _ { \\mathrm { T r a i n } }$ ). These examples may be corrupted or show an example of a rare sub-class. Predictions for these inputs can depend strongly on the random seed used for training and initialization. ",
|
| 844 |
+
"bbox": [
|
| 845 |
+
173,
|
| 846 |
+
392,
|
| 847 |
+
826,
|
| 848 |
+
587
|
| 849 |
+
],
|
| 850 |
+
"page_idx": 8
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"type": "text",
|
| 854 |
+
"text": "In Figure 7 we visualize CIFAR10 “Bird” images with the extreme forms of example difficulty for ResNet18, as identified using the prediction depth in the training and validation splits. In the full dataset (left panel) we see that the prediction depth can be very different in the training and validation splits: the two prediction depths are typically similar for points where the consensus class is equal to the ground truth (right panel), but can be very different when the consensus class is different from the ground truth (middle panel). This behavior is consistently reproduced for all datasets and architectures in Appendix C.6. ",
|
| 855 |
+
"bbox": [
|
| 856 |
+
174,
|
| 857 |
+
592,
|
| 858 |
+
825,
|
| 859 |
+
688
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 8
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "Looking at these examples of the class “Bird” with different difficulty types, we observe that ResNet18 finds small garden birds easiest, while birds in flight against a blue background “look like airplanes”, ostriches are “ambiguous without their label” and the “ambiguous” examples are either unclear photographs or examples of rare sub-groups that don’t appear frequently in the data. We found the consensus-consistency of inputs that are “Ambiguous” or “Ambiguous without its label” to be significantly lower than those of examples that are “Easy” or “Look like a different class”. ",
|
| 866 |
+
"bbox": [
|
| 867 |
+
174,
|
| 868 |
+
689,
|
| 869 |
+
825,
|
| 870 |
+
772
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 8
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "text",
|
| 876 |
+
"text": "In order to better understand how networks process examples with different, extreme forms of example difficulty, Fig. 8 examines how the k-NN confidence (fraction of votes) and accuracy of the ground truth class and of the consensus class progress, as validation points pass through the network. “Easy” examples are classified as their consensus class (which is equal to their ground truth class) in all k-NN probes and the confidence in the consensus class steadily increases as data points proceed through the hidden layers. Examples that “look like a different class” are also processed as members of their consensus class, similarly to “easy” examples. However, unlike “easy” examples, their consensus classes do not match their ground truth classes. Examples that are “ambiguous without their labels” are initially processed as members of their ground truth classes with intermediate confidence, but in later layers become mistaken for their consensus class. “Ambiguous” examples are processed with low confidence and accuracy in the early layers, for both ground truth and consensus classes. In later layers “ambiguous” examples are recognized, with intermediate confidence and accuracy, as members of the consensus class, which matches the ground truth class for a sizeable fraction of “ambiguous” examples. ",
|
| 877 |
+
"bbox": [
|
| 878 |
+
174,
|
| 879 |
+
773,
|
| 880 |
+
825,
|
| 881 |
+
911
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 8
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "text",
|
| 887 |
+
"text": "",
|
| 888 |
+
"bbox": [
|
| 889 |
+
174,
|
| 890 |
+
92,
|
| 891 |
+
825,
|
| 892 |
+
147
|
| 893 |
+
],
|
| 894 |
+
"page_idx": 9
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"type": "text",
|
| 898 |
+
"text": "Improving the prediction accuracy Can the prediction accuracy be improved using our understanding of how each class of difficult examples are processed by deep models? Figure 8 suggest that $\\mathbf { k }$ -NN probes in intermediate layers may be more accurate than the full deep model for examples that are “ambiguous without their label” (data points closest to the lower right corner of Figure 7). In order to test this hypothesis, we compare the accuracy of the $\\mathbf { k }$ -NN probe in layer 4 to the full model’s prediction for the 100 examples closest to the lower right corner of Figure 8. We obtain a striking improvement in accuracy from $2 5 \\%$ to $98 \\%$ for these examples. This showcases how insights from this study can be directly used to improve prediction accuracy. ",
|
| 899 |
+
"bbox": [
|
| 900 |
+
174,
|
| 901 |
+
156,
|
| 902 |
+
825,
|
| 903 |
+
267
|
| 904 |
+
],
|
| 905 |
+
"page_idx": 9
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"type": "text",
|
| 909 |
+
"text": "5 Discussion ",
|
| 910 |
+
"text_level": 1,
|
| 911 |
+
"bbox": [
|
| 912 |
+
173,
|
| 913 |
+
280,
|
| 914 |
+
294,
|
| 915 |
+
296
|
| 916 |
+
],
|
| 917 |
+
"page_idx": 9
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"type": "text",
|
| 921 |
+
"text": "Summary We have introduced a notion of example difficulty called the prediction depth, which uses the processing of data inside the network to score the difficulty of an example. We have shown how the prediction depth is related to the accuracy and uncertainty of a prediction, the adversarial input margin and the output margin of the learned solution, and that data points that are easier according to the prediction depth are also typically learned earlier in training. We have also shown that the difficulty of an example can be both similar, or very different depending on whether an input appears in the validation split or the training split, and described four extremes of example difficulty. For data points that are “ambiguous without their label”, we have demonstrated how returning the $\\mathbf { k }$ -NN prediction in a middle layer can lead to impressive increases in model accuracy: for CIFAR10 in ResNet18 we obtained an increase in accuracy from $2 5 \\%$ to $98 \\%$ for the inputs that are most “ambiguous without their label”. ",
|
| 922 |
+
"bbox": [
|
| 923 |
+
173,
|
| 924 |
+
305,
|
| 925 |
+
825,
|
| 926 |
+
457
|
| 927 |
+
],
|
| 928 |
+
"page_idx": 9
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"type": "text",
|
| 932 |
+
"text": "Connecting known phenomena In the literature, the following phenomena are separately reported from different experimental paradigms: ",
|
| 933 |
+
"bbox": [
|
| 934 |
+
176,
|
| 935 |
+
467,
|
| 936 |
+
825,
|
| 937 |
+
496
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 9
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "text",
|
| 943 |
+
"text": "1. Early layers generalize while later layers memorize (Stephenson et al., 2021). \n2. Model layers converge from input layer towards output layer (Raghu et al., 2017; Morcos et al., 2018). \n3. Deep models learn easy data (Jiang et al., 2021; Toneva et al., 2019) and simple functions first (Hu et al., 2020; Kalimeris et al., 2019). ",
|
| 944 |
+
"bbox": [
|
| 945 |
+
212,
|
| 946 |
+
498,
|
| 947 |
+
825,
|
| 948 |
+
574
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 9
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "text",
|
| 954 |
+
"text": "Following this paper, a coherent and closely related picture emerges: ",
|
| 955 |
+
"bbox": [
|
| 956 |
+
184,
|
| 957 |
+
579,
|
| 958 |
+
624,
|
| 959 |
+
593
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 9
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "1. Predictions made in early layers are more likely to be consistent than those made in later layers. Consistent predictions are likely to be correct and the expected accuracy of inconsistent predictions is naturally low (Section 3.1). \n2. Data points learned early in training typically have smaller prediction depths than those learned later during training (Section 3.2). \n3. On average, deep neural networks exhibit wider input and output margins (common measures of “local simplicity”) in the vicinity of data with smaller prediction depths (Section 3.3). ",
|
| 966 |
+
"bbox": [
|
| 967 |
+
212,
|
| 968 |
+
598,
|
| 969 |
+
825,
|
| 970 |
+
700
|
| 971 |
+
],
|
| 972 |
+
"page_idx": 9
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"type": "text",
|
| 976 |
+
"text": "Pertinence of example difficulty to topics in machine learning Curriculum Learning attempts to treat hard examples differently from easy examples during training. Robustness to distribution shifts that change the relative frequencies of common and rare subgroups in the test set (which we have shown can have different forms of example difficulty) is important for ML Fairness. Methods developed to address heteroscedastic uncertainty typically address example difficulty as a onedimensional quantity. We expand upon the relevance of our work to these three topics in Appendix D. ",
|
| 977 |
+
"bbox": [
|
| 978 |
+
174,
|
| 979 |
+
708,
|
| 980 |
+
825,
|
| 981 |
+
791
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 9
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "text",
|
| 987 |
+
"text": "Limitations We believe that the results we report stem from a deep model’s representation, which is hierarchical by construction. We expect that the same results will therefore apply in larger models, larger datasets, and tasks other than image classification, but testing this remains as further work. Although we demonstrate that returning the results of a hidden k-NN can yield dramatic increases in accuracy for examples that are “ambiguous without their label”, we otherwise do not explore ways to practically apply the insights we present. In particular, we expressly do not claim that all that is required for good accuracy is to reduce the prediction depth: freezing later layers of the network would not be expected to result in good generalization. ",
|
| 988 |
+
"bbox": [
|
| 989 |
+
174,
|
| 990 |
+
800,
|
| 991 |
+
825,
|
| 992 |
+
911
|
| 993 |
+
],
|
| 994 |
+
"page_idx": 9
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"type": "text",
|
| 998 |
+
"text": "Funding Transparency Statement ",
|
| 999 |
+
"text_level": 1,
|
| 1000 |
+
"bbox": [
|
| 1001 |
+
174,
|
| 1002 |
+
89,
|
| 1003 |
+
455,
|
| 1004 |
+
107
|
| 1005 |
+
],
|
| 1006 |
+
"page_idx": 10
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"type": "text",
|
| 1010 |
+
"text": "This research was funded by, and undertaken at, Google. All calculations were performed using Google’s computer infrastructure. ",
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
173,
|
| 1013 |
+
114,
|
| 1014 |
+
823,
|
| 1015 |
+
142
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 10
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "Acknowledgment ",
|
| 1022 |
+
"text_level": 1,
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
174,
|
| 1025 |
+
156,
|
| 1026 |
+
321,
|
| 1027 |
+
172
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 10
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "We would like to thank Hanie Sedghi, Ilya Tolstikhin, Ibrahim Alabdulmohsin, Daniel Keysers and Julian Eisenschlos for valuable discussions on the topic and Arthur Baldock for proofreading the manuscript. ",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
174,
|
| 1036 |
+
181,
|
| 1037 |
+
825,
|
| 1038 |
+
223
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 10
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "References ",
|
| 1045 |
+
"text_level": 1,
|
| 1046 |
+
"bbox": [
|
| 1047 |
+
174,
|
| 1048 |
+
237,
|
| 1049 |
+
266,
|
| 1050 |
+
253
|
| 1051 |
+
],
|
| 1052 |
+
"page_idx": 10
|
| 1053 |
+
},
|
| 1054 |
+
{
|
| 1055 |
+
"type": "text",
|
| 1056 |
+
"text": "Agarwal, C. and Hooker, S. (2020). Estimating example difficulty using variance of gradients. In ICML, Workshop on Human Interpretability in Machine Learning (WHI). \nAlain, G. and Bengio, Y. (2017). Understanding intermediate layers using linear classifier probes. In International Conference on Learning Representations (Workshop). \nArpit, D., Jastrzebski, S., Ballas, N., Krueger, D., Bengio, E., Kanwal, M. S., Maharaj, T., Fischer, A., Courville, A., Bengio, Y., et al. (2017). A closer look at memorization in deep networks. In International Conference on Machine Learning. \nBahri, D., Jiang, H., and Gupta, M. (2020). Deep k-nn for noisy labels. In International Conference on Machine Learning. \nBengio, Y., Louradour, J., Collobert, R., and Weston, J. (2009). Curriculum learning. In Proceedings of International Conference on Machine Learning. \nCarlini, N., Erlingsson, U., and Papernot, N. (2019). Distribution density, tails, and outliers in machine learning: Metrics and applications. arXiv preprint arXiv:1910.13427. \nChatterjee, S. (2019). Coherent gradients: An approach to understanding generalization in gradient descent-based optimization. In International Conference on Learning Representations. \nCohen, G., Sapiro, G., and Giryes, R. (2018). Dnn or k-nn: That is the generalize vs. memorize question. In NeurIPS, Workshop on Integration of Deep Learning Theories. \nDehghani, M., Gouws, S., Vinyals, O., Uszkoreit, J., and Kaiser, L. (2018). Universal transformers. In International Conference on Learning Representations. \nElman, J. L. (1993). Learning and development in neural networks: The importance of starting small. Cognition, 48(1):71–99. \nFeldman, V. and Zhang, C. (2020). What neural networks memorize and why: Discovering the long tail via influence estimation. In Proceedings of the 34th International Conference on Neural Information Processing Systems. \nGhorbani, B., Krishnan, S., and Xiao, Y. (2019). An investigation into neural net optimization via hessian eigenvalue density. In International Conference on Machine Learning. \nHacohen, G., Choshen, L., and Weinshall, D. (2020). Let’s agree to agree: Neural networks share classification order on real datasets. In International Conference on Machine Learning. \nHacohen, G. and Weinshall, D. (2019). On the power of curriculum learning in training deep networks. In International Conference on Machine Learning. \nHe, K., Zhang, X., Ren, S., and Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition. \nHooker, S., Courville, A., Clark, G., Dauphin, Y., and Frome, A. (2019). What do compressed deep neural networks forget? arXiv preprint arXiv:1911.05248. \nHooker, S., Moorosi, N., Clark, G., Bengio, S., and Denton, E. (2020). Characterising bias in compressed models. arXiv preprint arXiv:2010.03058. \nHu, W., Xiao, L., Adlam, B., and Pennington, J. (2020). The surprising simplicity of the early-time learning dynamics of neural networks. In Proceedings of the 34th International Conference on Neural Information Processing Systems. \nHuang, G., Chen, D., Li, T., Wu, F., van der Maaten, L., and Weinberger, K. (2018). Multi-scale dense networks for resource efficient image classification. In International Conference on Learning Representations. \nJiang, Y., Krishnan, D., Mobahi, H., and Bengio, S. (2018). Predicting the generalization gap in deep networks with margin distributions. In International Conference on Learning Representations. \nJiang, Y., Neyshabur, B., Mobahi, H., Krishnan, D., and Bengio, S. (2020). Fantastic generalization measures and where to find them. In International Conference on Learning Representations. \nJiang, Z., Zhang, C., Talwar, K., and Mozer, M. C. (2021). Characterizing structural regularities of labeled data in overparameterized models. In International Conference on Machine Learning. \nKalimeris, D., Kaplun, G., Nakkiran, P., Edelman, B., Yang, T., Barak, B., and Zhang, H. (2019). Sgd on neural networks learns functions of increasing complexity. In Advances in Neural Information Processing Systems, volume 32. \nKawaguchi, K., Kaelbling, L. P., and Bengio, Y. (2017). Generalization in deep learning. arXiv preprint arXiv:1710.05468. \nKendall, A. and Gal, Y. (2017). What uncertainties do we need in bayesian deep learning for computer vision? In Proceedings of the 31st International Conference on Neural Information Processing Systems. \nKendall, A., Gal, Y., and Cipolla, R. (2018). Multi-task learning using uncertainty to weigh losses for scene geometry and semantics. In Proceedings of the IEEE conference on computer vision and pattern recognition. \nKeskar, N. S., Nocedal, J., Tang, P. T. P., Mudigere, D., and Smelyanskiy, M. (2017). On large-batch training for deep learning: Generalization gap and sharp minima. In International Conference on Learning Representations. \nKolesnikov, A., Beyer, L., Zhai, X., Puigcerver, J., Yung, J., Gelly, S., and Houlsby, N. (2020). Big transfer (bit): General visual representation learning. In European Conference on Computer Vision. \nKrizhevsky, A., Hinton, G., et al. (2009). Learning multiple layers of features from tiny images. Technical Report. \nLakshminarayanan, B., Pritzel, A., and Blundell, C. (2017). Simple and scalable predictive uncertainty estimation using deep ensembles. In Proceedings of the 31st International Conference on Neural Information Processing Systems. \nLalor, J. P., Wu, H., Munkhdalai, T., and Yu, H. (2018). Understanding deep learning performance through an examination of test set difficulty: A psychometric case study. In Proceedings of the Conference on Empirical Methods in Natural Language Processing. \nLi, H., Xu, Z., Taylor, G., Studer, C., and Goldstein, T. (2018). Visualizing the loss landscape of neural nets. In Proceedings of the 32nd International Conference on Neural Information Processing Systems. \nLiu, S., Niles-Weed, J., Razavian, N., and Fernandez-Granda, C. (2020a). Early-learning regularization prevents memorization of noisy labels. Advances in Neural Information Processing Systems, 33. \nLiu, W., Zhou, P., Wang, Z., Zhao, Z., Deng, H., and JU, Q. (2020b). Fastbert: a self-distilling bert with adaptive inference time. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 6035–6044. \nLong, P. M. and Sedghi, H. (2019). Generalization bounds for deep convolutional neural networks. In International Conference on Learning Representations. \nMangalam, K. and Prabhu, V. (2019). Do deep neural networks learn shallow learnable examples first? In ICML, Workshop on Identifying and Understanding Deep Learning Phenomena. \nMorcos, A. S., Raghu, M., and Bengio, S. (2018). Insights on representational similarity in neural networks with canonical correlation. In Proceedings of the 32nd International Conference on Neural Information Processing Systems. \nNagarajan, V., Andreassen, A., and Neyshabur, B. (2021). Understanding the failure modes of out-of-distribution generalization. In International Conference on Learning Representations. \nNetzer, Y., Wang, T., Coates, A., Bissacco, A., Wu, B., and Ng, A. Y. (2011). Reading digits in natural images with unsupervised feature learning. Technical Report. \nNeyshabur, B., Bhojanapalli, S., McAllester, D., and Srebro, N. (2017). Exploring generalization in deep learning. In Proceedings of the 31st International Conference on Neural Information Processing Systems. \nPapernot, N. and McDaniel, P. (2018). Deep k-nearest neighbors: Towards confident, interpretable and robust deep learning. arXiv preprint arXiv:1803.04765. \nPennington, J. and Bahri, Y. (2017). Geometry of neural network loss surfaces via random matrix theory. In International Conference on Machine Learning. \nRaghu, M., Gilmer, J., Yosinski, J., and Sohl-Dickstein, J. (2017). Svcca: singular vector canonical correlation analysis for deep learning dynamics and interpretability. In Proceedings of the 31st International Conference on Neural Information Processing Systems. \nRecht, B., Roelofs, R., Schmidt, L., and Shankar, V. (2019). Do imagenet classifiers generalize to imagenet? In International Conference on Machine Learning. \nSagun, L., Bottou, L., and LeCun, Y. (2016). Eigenvalues of the hessian in deep learning: Singularity and beyond. arXiv preprint arXiv:1611.07476. \nSagun, L., Evci, U., Guney, V. U., Dauphin, Y., and Bottou, L. (2018). Empirical analysis of the hessian of over-parametrized neural networks. In International Conference on Learning Representations (Workshop). \nSanger, T. D. (1994). Neural network learning control of robot manipulators using gradually increasing task difficulty. IEEE transactions on Robotics and Automation, 10(3):323–333. \nSchwartz, R., Stanovsky, G., Swayamdipta, S., Dodge, J., and Smith, N. A. (2020). The right tool for the job: Matching model and instance complexities. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. \nSimonyan, K. and Zisserman, A. (2015). Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations. \nSmith, S. L., Dherin, B., Barrett, D. G., and De, S. (2021). On the origin of implicit regularization in stochastic gradient descent. In International Conference on Learning Representations. \nSmith, S. L., Kindermans, P.-J., Ying, C., and Le, Q. V. (2018). Don’t decay the learning rate, increase the batch size. In International Conference on Learning Representations. \nSmith, S. L. and Le, Q. V. (2018). A bayesian perspective on generalization and stochastic gradient descent. In International Conference on Learning Representations. \nSoudry, D., Hoffer, E., Nacson, M. S., Gunasekar, S., and Srebro, N. (2018). The implicit bias of gradient descent on separable data. The Journal of Machine Learning Research, 19(1):2822–2878. \nStephan, M., Hoffman, M. D., Blei, D. M., et al. (2017). Stochastic gradient descent as approximate bayesian inference. Journal of Machine Learning Research, 18(134):1–35. \nStephenson, C., suchismita padhy, Ganesh, A., Hui, Y., Tang, H., and Chung, S. (2021). On the geometry of generalization and memorization in deep neural networks. In International Conference on Learning Representations. \nTeerapittayanon, S., McDanel, B., and Kung, H.-T. (2016). Branchynet: Fast inference via early exiting from deep neural networks. In International Conference on Pattern Recognition. \nToneva, M., Sordoni, A., des Combes, R. T., Trischler, A., Bengio, Y., and Gordon, G. J. (2019). An empirical study of example forgetting during deep neural network learning. In International Conference on Learning Representations. \nUnterthiner, T., Keysers, D., Gelly, S., Bousquet, O., and Tolstikhin, I. (2020). Predicting neural network accuracy from weights. arXiv preprint arXiv:2002.11448. \nWen, Y., Tran, D., and Ba, J. (2019). Batchensemble: an alternative approach to efficient ensemble and lifelong learning. In International Conference on Learning Representations. \nWenzel, F., Snoek, J., Tran, D., and Jenatton, R. (2020). Hyperparameter ensembles for robustness and uncertainty quantification. In Proceedings of the 34th International Conference on Neural Information Processing Systems. \nWu, X., Dyer, E., and Neyshabur, B. (2021). When do curricula work? In International Conference on Learning Representations. \nXiao, H., Rasul, K., and Vollgraf, R. (2017). Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747. \nXin, J., Tang, R., Lee, J., Yu, Y., and Lin, J. (2020). Deebert: Dynamic early exiting for accelerating bert inference. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. \nYao, Z., Gholami, A., Keutzer, K., and Mahoney, M. (2020). Pyhessian: Neural networks through the lens of the hessian. In International Conference on Machine Learning (Workshop). \nZielinski, P., Krishnan, S., and Chatterjee, S. (2020). Weak and strong gradient directions: Explaining memorization, generalization, and hardness of examples at scale. arXiv preprint arXiv:2003.07422. ",
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
169,
|
| 1059 |
+
252,
|
| 1060 |
+
828,
|
| 1061 |
+
914
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 10
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
169,
|
| 1070 |
+
44,
|
| 1071 |
+
828,
|
| 1072 |
+
917
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 11
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
169,
|
| 1081 |
+
55,
|
| 1082 |
+
828,
|
| 1083 |
+
911
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 12
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
171,
|
| 1092 |
+
90,
|
| 1093 |
+
828,
|
| 1094 |
+
502
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 13
|
| 1097 |
+
}
|
| 1098 |
+
]
|
parse/train/WWRBHhH158K/WWRBHhH158K_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/WWRBHhH158K/WWRBHhH158K_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Novel Visual Category Discovery with Dual Ranking Statistics and Mutual Knowledge Distillation
|
| 2 |
+
|
| 3 |
+
Bingchen Zhao1 Kai Han2,3,4∗
|
| 4 |
+
|
| 5 |
+
1Tongji University 2The University of Hong Kong 3Google Research 4University of Bristol zhaobc.gm@gmail.com kaihanx@hku.hk
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
In this paper, we tackle the problem of novel visual category discovery, i.e., grouping unlabelled images from new classes into different semantic partitions by leveraging a labelled dataset that contains images from other different but relevant categories. This is a more realistic and challenging setting than conventional semi-supervised learning. We propose a two-branch learning framework for this problem, with one branch focusing on local part-level information and the other branch focusing on overall characteristics. To transfer knowledge from labelled data to unlabelled data, we propose using dual ranking statistics on both branches to generate pseudo labels for training on the unlabelled data. We further introduce a mutual knowledge distillation method to allow information exchange and encourage agreement between the two branches for discovering new categories, allowing our model to enjoy the benefits of global and local features. We comprehensively evaluate our method on public benchmarks for generic object classification, as well as the more challenging benchmarks for fine-grained visual recognition, achieving state-of-the-art performance.
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
Superior performance on many problems has been achieved by recent machine learning models, especially the ones based on deep learning. While the success comes at the cost of large-scale human annotation, which is prohibitively expensive in practice. For example, modern convolutional neural networks (CNNs) can surpass human-level recognition performance on ImageNet after training with over one million labelled images [22]. On the one hand, it is not possible to annotate all possible classes in the real world, as there are way more classes than the 1, 000 classes in ImageNet and new classes keep growing over time. On the other hand, annotating specific data, such as the medical data, may require specific expertise, which renders the large-scale annotation extremely difficult, if not impossible. Therefore, it is desired to enable the machine learning systems to deal with unlabelled data automatically.
|
| 14 |
+
|
| 15 |
+
Recently, the problem of novel category discovery was formalized in [20, 18], which aims at discovering new visual categories on unlabelled data by transferring knowledge from labelled data. The labelled data is assumed to contain similar but different categories to those in the unlabelled data. This problem is similar to semi-supervised learning in the sense that both labelled and unlabelled data are used to learn the model. While novel category discovery is much harder because semi-supervised learning assumes that every class contains labelled instances, while for novel category discovery there are no labels available for the new classes in the unlabelled data. This setting is also relevant to unsupervised clustering. But differently, novel category discovery makes use of the labelled data to extract a specific class prior (i.e., the properties that delineate a class) for partitioning the unlabelled data, while the unsupervised clustering may produce multiple different but equally valid clustering results by adopting different properties (e.g., color, shape, pose, lighting, etc). In this paper, we introduce a simple and effective two-branch framework for novel category discovery, with one branch focusing on local part-level information and the other branch focusing on overall characteristics. Our contributions are as follows.
|
| 16 |
+
|
| 17 |
+
First, we propose to apply dual ranking statistics for transferring knowledge from the known classes in the labelled data to the unlabelled data, resulting in more robust pseudo label generation for learning on the unlabelled data. We maintain a dynamic object part dictionary and apply part-level ranking statistics on the similarity distribution of each instance over the dictionary to obtain pseudo labels, which are complementary to the pseudo labels obtained by simply examining the ranking statistics of global descriptors.
|
| 18 |
+
|
| 19 |
+
Second, we introduce a mutual knowledge distillation method to allow information exchange and encourage agreement between the local and global branches. The dual ranking statistics provide global and part-level information for learning in two branches separately. The mutual knowledge distillation further allows information exchange between the two branches and makes them benefit from each other. Unlike conventional methods that distill between teacher and student models with known labels, our method distills between two branches of the same model without any manual annotations.
|
| 20 |
+
|
| 21 |
+
Third, we comprehensively evaluate our method on public benchmarks for generic object classification, including CIFAR10, CIFAR100, and ImageNet, obtaining state-of-the-art results. Furthermore, we also validate our approach on the more challenging fine-grained datasets CUB-200, Stanford-Cars, and FGVC-Aircraft, in which the local details are more important to distinguish different classes. Our method outperforms existing methods by a substantial margin, thanks to the ability of our model to subtly exploit both local and global information. Our code can be found at https://github.com/DTennant/dual-rank-ncd.
|
| 22 |
+
|
| 23 |
+
# 2 Related work
|
| 24 |
+
|
| 25 |
+
Our work is relevant to novel category discovery, knowledge distillation, and part-level feature learning. We briefly review the most relevant work below.
|
| 26 |
+
|
| 27 |
+
Novel category discovery is a relatively new problem setting recently formalized by [20, 18] with the task being automatically discovering new object categories in the unlabelled data by making use of a labeled dataset containing different but relevant object classes. The purpose of using the extra labelled data is to learn a category prior to reduce the ambiguity of class definition. This task is closely related to unsupervised clustering and semi-supervised learning, but also significantly different from them. Unsupervised clustering has been studied for decades with many classical approaches [35, 3, 9] and deep learning based solutions [50, 16, 40] being proposed. Due to the lack of a proper class prior, multiple equally valid clustering results can be achieved by different criteria. Therefore, it can not be directly applied to discovery new classes as we expect the model to follow a unique class definition. In semi-supervised learning [43, 39, 6, 38, 46], unlabelled data are used together with labelled data to train a more robust model, with the assumption that all classes in the unlabelled data have labelled instances. However, this is unlikely to be true for real applications where unlabelled data may come from new classes. Thus, novel category discovery is a more realistic setting. The DTC method introduced in [20] approaches this problem in two steps. The model is firstly trained with supervised learning on the labelled data to capture high-level semantic class information and then trained on the unlabelled data with a clustering loss to discover new categories. In [18, 19], Han et al. proposed to use self-supervision to bootstrap feature learning and introduced ranking statistics on the feature embedding to provide pseudo labels for training on unlabelled data. The KCL [25] and MCL [26] methods were designed for general transfer learning across domains and tasks, which can also be applied for novel category discovery. These two methods maintain two models for training and testing, a pretrained binary classifier for pseudo label generation and a clustering model. The binary classifier pretrained on the labelled data is used to provide pseudo labels to train the clustering model on unlabelled data. Concurrent to our work, several methods [28, 58, 57, 14] are proposed to improve the performance of novel category discovery from different perspectives, showing promising results.
|
| 28 |
+
|
| 29 |
+
The existing methods only consider the global feature descriptors while ignoring the local object parts which are essential to distinguish classes that look similar. In our approach, we jointly consider both and allow information exchange between them for more reliable new category discovery.
|
| 30 |
+
|
| 31 |
+
Knowledge distillation is often employed to learn a compact student model using the knowledge distilled from a larger teacher model by enforcing the agreement of outputs or representations between the two models (e.g., [24, 41, 54, 52, 27, 29, 1, 48]). Apart from distilling a larger teacher model to a smaller student model, self-distillation methods show that distilling between two identical models can also improve the performance [53, 15, 4]. Mutual learning [56] is a similar technique that trains two models of the same architecture simultaneously but with different initialization and encourages them to learn collaboratively from each other. It has been shown that different initialization leads the model to focus on different regions of the input and thus the trained model can better capture the holistic structure of the data, resulting in better performance. Though effective, the above methods require the labels for training. Thus they can not be applied for novel category discovery. Recently, [13] introduced a self-supervised distillation method called SEED to improve the representation learning on a small model (student) by distilling from a pretrained large model (teacher). The student model is trained to predict the same similarity score distribution inferred by the frozen teacher model over a queue of instances. We draw inspiration from [13] to design the mutual knowledge distillation module in our method for novel category discovery between the local and global branches.
|
| 32 |
+
|
| 33 |
+
Part-level features have been shown to be effective for tasks involving image verification such as few-shot learning [10, 55, 12] and image retrieval [7, 34, 5, 2, 37, 42, 45]. In [10], the part-level visual concepts are generated by clustering feature vectors from the feature maps obtained using a trained neural network. These visual concepts are used as matching primitives at test time for few-shot learning. Zhang et al. [55] used the Earth-Mover’s Distance (EMD) between local part features to measure the distance between two images for matching. Doersch et al. [12] proposed CrossTransformers to model the cross-attention between each local part of a query image and a set of support images for few-shot learning. Part-level features have been more widely used in the domain of image retrieval with both classical [34, 5] and deep learning based [2, 37, 42, 45, 7] methods. Intuitively, the part-level features provide better precision for the retrieved results because the local matching is more restricted, and global features yield better recall [7]. In our work, we leverage both local and global features to enjoy the benefits of both through the dual ranking statistics and the mutual knowledge distillation, for more robust novel category discovery.
|
| 34 |
+
|
| 35 |
+
# 3 Method
|
| 36 |
+
|
| 37 |
+
The goal of novel category discovery is to automatically partition unlabelled instances $x _ { i } ^ { u } \in \mathcal { D } ^ { u }$ into $C ^ { u }$ semantic clusters by transferring the knowledge from the labelled instances $( x _ { i } ^ { l } , y _ { i } ^ { l } ) \in \mathcal { D } ^ { l }$ , where $y _ { i } ^ { l } \in \{ 1 , \ldots , C ^ { l } \}$ . The key assumption is that the classes in $\mathcal { D } ^ { l }$ and $\mathcal { D } ^ { u }$ are relevant though different, so that the properties that constitute a class learned from $\mathcal { D } ^ { l }$ can be transferred to $\mathcal { D } ^ { u }$ . Following [18], we assume $C ^ { u }$ is known a priori. When it is unknown, we can employ off-the-shelf methods such as [20] to get an estimate.
|
| 38 |
+
|
| 39 |
+
To tackle this challenge, we introduce a framework with mutual knowledge distillation between a global branch and a local branch (see fig. 1). The global branch is designed to capture the overall feature, while the local branch is designed to focus on each individual spatial local part. They have a shared feature extractor $f _ { \theta }$ . Each branch has a feature projection layer and two linear heads. We denote the feature projection layer as $\psi$ and the two linear heads as $\eta ^ { l }$ and $\eta ^ { u }$ respectively. We also denote $\psi$ followed by the average pooling operation as $\bar { \psi }$ . Unless stated otherwise, we use subscripts $g$ and $p$ to differentiate feature projection layers and linear heads of global and local branches respectively in the rest of the paper. The two linear heads are responsible for classifying $C ^ { l }$ labelled categories and clustering $C ^ { u }$ unlabelled categories respectively. To transfer knowledge from the labelled data to the unlabelled data, we adopt global image level and local object part-level ranking statistics on the feature representations. In this way, the model will have reliable pseudo labels for training on the unlabelled data. Moreover, we also incorporate mutual knowledge distillation between the two branches to enforce global and local agreement, leading to more reliable novel category discovery. Next, we will introduce each component of our framework in more detail. In section 3.1, we first introduce the our knowledge transfer method using dual ranking statistics. In section 3.2, we describe our mutual knowledge distillation method for novel category discovery. Lastly, we summarize the overall training loss in section 3.3.
|
| 40 |
+
|
| 41 |
+

|
| 42 |
+
Figure 1: Overview of our proposed method. An input image $x _ { i }$ is firstly processed by the feature extractor ranking s $f _ { \theta }$ . The resulting feature is sent to the glistics on the global feature embedding al and local branches. The globato generate pseudo labels to the ch usesloss for $z _ { i }$ $\mathcal { L } _ { \mathrm { B C E } } ^ { g }$ new class discovery, while the local branch uses ranking statistics on the similarity score vector $o _ { i }$ between each of the local parts and a dynamic part dictionary to generate pseudo-labels. The two branches mutually distill knowledge from each other to allow information exchange and encourage agreement through two auxiliary memory banks with $\mathcal { L } _ { \mathrm { s K L D } }$ loss. We omit the supervised linear head, cross-entropy loss $\mathcal { L } _ { \mathrm { C E } }$ and consistency loss $\mathcal { L } _ { \mathrm { M S E } }$ in the plot for the sake of clarity.
|
| 43 |
+
|
| 44 |
+
# 3.1 Dual ranking statistics for knowledge transfer
|
| 45 |
+
|
| 46 |
+
It is proven that ranking statistics is robust to noise, especially in high-dimensional space [51]. Han et al. [18] proposed to use ranking statistics for novel category discovery. The idea is to generate pair-wise pseudo labels by comparing the top- $k$ ranks of two feature vectors via examining the feature magnitude. Specifically, the binary pseudo label $s _ { i j }$ is determined by
|
| 47 |
+
|
| 48 |
+
$$
|
| 49 |
+
s _ { i j } = \mathbb { 1 } \left\{ \mathrm { t o p } _ { k } ( z _ { i } ) = \mathrm { t o p } _ { k } ( z _ { j } ) \right\} ,
|
| 50 |
+
$$
|
| 51 |
+
|
| 52 |
+
where $z _ { i }$ and $z _ { j }$ are feature vectors of two unlabelled images. With the binary pseudo labels, the model can then be trained using the binary cross-entropy loss on the unlabelled data.
|
| 53 |
+
|
| 54 |
+
Unlike [18] which only considers global image feature descriptors, we also explore each individual object part for novel category discovery. Verification based on part-level features has been shown to be effective to match two images (e.g. [55, 12]). The pair-wise verification using global features focuses on the holistic structure of the object and thus may introduce more false positives with high recall (but low precision). While pair-wise verification using local part features focuses on local details, which is more strict, and thus may introduce more false negatives with high precision (but low recall) [7]. Hence, local part features and global features are complementary to each other for verification and should be considered jointly for more robust category discovery, as ideally we expect to have both high precision and recall. Therefore, to achieve this goal, we propose to have one branch using global features and another branch using part-level features. Ranking statistics is applied on each branch to generate pseudo labels. For the global one, we simply apply a soft extension of the hard ranking statistics [18]. In particular, instead of forcing $s _ { i j }$ in eq. (1) to be either 0 or 1, it can be replaced by a continuous value $\begin{array} { r } { s _ { i j } = \frac { c } { k } \in [ 0 , 1 ] } \end{array}$ where $c$ is the number of shared elements in $\mathrm { t o p } _ { k } ( z _ { i } )$ and $\mathrm { t o p } _ { k } ( z _ { j } )$ . Hence, the BCE loss for the global branch can be written as
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
\mathcal { L } _ { \mathrm { B C E } } ^ { g } = - \frac { 1 } { M ^ { 2 } } \sum _ { i = 1 } ^ { M } \sum _ { j = 1 } ^ { M } [ s _ { i j } ^ { g } \log \eta _ { g } ^ { u } ( z _ { i } ^ { u } ) ^ { \top } \eta _ { g } ^ { u } ( z _ { j } ^ { u } ) + ( 1 - s _ { i j } ^ { g } ) \log ( 1 - \eta _ { g } ^ { u } ( z _ { i } ^ { u } ) ^ { \top } \eta _ { g } ^ { u } ( z _ { j } ^ { u } ) ) ] ,
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
where $M$ is the number of unlabelled images, $z _ { i } ^ { u } = \bar { \psi } _ { g } ( f _ { \theta } ( x _ { i } ^ { u } ) ) \in \mathbb { R } ^ { d }$ is a global feature vector of the image $x _ { i } ^ { u }$ , and $s _ { i j } ^ { g }$ is the soft ranking statistics score between $x _ { i } ^ { u }$ and $x _ { j } ^ { u }$ .
|
| 61 |
+
|
| 62 |
+
For the local one, we propose to maintain a memory bank to act as a dynamic object part dictionary and obtain the ranking statistics by comparing each object part with the collection of part descriptors in the memory bank. Concretely, the memory bank is a First-In-First-Out (FIFO) queue $\mathcal { V } = [ v _ { 1 } , \dotsc , v _ { e } ]$ storing the part-level features, where $e$ is the number of part-level features in the queue. Each part feature in $v$ is the $d$ -dimensional feature vector from a randomly selected spatial location in the feature map $\psi _ { p } ( f _ { \theta } ( x _ { i } ) ) \in \mathbb { R } ^ { d \times h \times w }$ of an randomly sampled image $x _ { i } \in \mathcal { D } ^ { l } \dot { \cup } \mathcal { D } ^ { u }$ . We select one part feature vector from each image in current mini-batch. Other part sampling methods like using all parts or selecting based on activation maps can also be applied (as will be seen in section 4.3), while we found that the simple random sampling is on par with other more complicated methods. Following MoCo [21], when the current mini-batch of part features is enqueued into $\nu$ , the oldest mini-batch in $\nu$ is dequeued. For the feature vector $q _ { j } ^ { u }$ drawn at every spatial location of the feature map $\psi _ { p } ( f _ { \theta } ( x _ { i } ^ { u } ) )$ in current mini-batch, we can then obtain a $e$ -dimensional vector representing the similarity between $q _ { j }$ and all part features in the dictionary $\nu$ . All $q _ { j }$ for $x _ { i } ^ { u }$ across $h \times w$ locations are then fused together by average-pooling. Let us denote by $o _ { i } ^ { u } \in \mathbb { R } ^ { e }$ the fused similarity vector (see fig. 2). For any pair of unlabelled images $x _ { i } ^ { u }$ and $x _ { j } ^ { u }$ in current mini-batch, their soft ranking statistics score $s _ { i j } ^ { p }$ can then be obtained by comparing $o _ { i } ^ { u }$ and $o _ { j } ^ { u }$ as described above for the global feature descriptors. Similar to eq. (2), we can define the BCE loss $\mathcal { L } _ { \mathrm { B C E } } ^ { p }$ to train the local branch. The BCE loss for both branches can then be written as
|
| 63 |
+
|
| 64 |
+

|
| 65 |
+
Figure 2: Design of the local comparison process. Each part of an image is compared against all parts in the memory bank $\nu$ , forming one similarity vector for each part. All resulting similarity vectors are then fused to a single vector by average pooling, which is used to generate pair-wise pseudo labels.
|
| 66 |
+
|
| 67 |
+
$$
|
| 68 |
+
\begin{array} { r } { \mathcal { L } _ { \mathrm { B C E } } = \mathcal { L } _ { \mathrm { B C E } } ^ { g } + \mathcal { L } _ { \mathrm { B C E } } ^ { p } . } \end{array}
|
| 69 |
+
$$
|
| 70 |
+
|
| 71 |
+
# 3.2 Mutual knowledge distillation for novel category discovery
|
| 72 |
+
|
| 73 |
+
So far, our model considers local and global information in two branches independently. To make the two branches directly benefit from each other, we propose a mutual knowledge distillation method for novel category discovery to allow information exchange and encourage agreement between the local and global branches.
|
| 74 |
+
|
| 75 |
+
Existing mutual knowledge distillation methods are normally designed for two models (i.e., teacher model and student model or two peer models) [24, 56], while we distill between two branches of the same model with each branch having a different focus. More importantly, unlike the conventional mutual learning and knowledge distillation methods that have the same class assignment for the same input due to the availability of labels, in our setting, the cluster assignments of the unlabelled linear heads $\eta _ { g } ^ { u }$ and $\eta _ { p } ^ { u }$ for the same unlabelled data point may be completely different for the two branches. Therefore, these knowledge distillation methods can not be applied for novel category discovery. Recently, [13] introduced the knowledge distillation between the teacher and student models by comparing the similarity score distribution between each instance and a queue of features from the larger teacher model. Inspired by [13], we develop a mutual knowledge distillation method between the local and global branches for novel category discovery without using labels.
|
| 76 |
+
|
| 77 |
+
Instead of using the softmax output of $\eta _ { g } ^ { u }$ and $\eta _ { p } ^ { u }$ for mutual learning, which is invalid in our case, we mutually distill the two branches via the similarity score distribution over a memory bank per branch. Specifically, we maintain two FIFO feature banks to store the features extracted by $\bar { \psi } _ { p }$ and $\bar { \psi } _ { g }$ , denoted as $B _ { p } = [ b _ { 1 } ^ { p } , \ldots , b _ { T } ^ { p } ]$ and $B _ { g } = [ b _ { 1 } ^ { g } , \dotsc , b _ { T } ^ { g } ]$ . Both $B _ { p }$ and $B _ { g }$ contain features of $x _ { i } \in \mathcal { D } ^ { l } \cup \mathcal { D } ^ { u }$ . Again, similar to MoCo [21], when the current mini-batch is enqueued, the oldest mini-batch is dequeued in both memory banks. For each unlabelled image $x _ { i } ^ { u }$ , we first obtain the feature representations using $z _ { i } ^ { u } = \bar { \psi } _ { g } ( \dot { f } _ { \theta } ( x _ { i } ^ { u } ) )$ and $z _ { i } ^ { \prime u } = \bar { \psi } _ { p } ( f _ { \theta } ( x _ { i } ^ { u } ) )$ . The similarity score distribution $p ^ { g } ( x _ { i } ^ { u } , B _ { g } )$ and $p ^ { p } ( x _ { i } ^ { u } , B _ { p } )$ can be defined as
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
p ^ { g } ( x _ { i } ^ { u } , \mathcal { B } _ { g } ) = [ p _ { 1 } ^ { g } , \dotsc , p _ { T } ^ { g } ] , \quad p _ { j } ^ { g } = \frac { e x p ( z _ { i } ^ { u } \cdot b _ { j } ^ { g } / \tau ) } { \sum _ { b _ { k } ^ { g } \sim \mathcal { B } _ { g } } e x p ( z _ { i } ^ { u } \cdot b _ { k } ^ { g } / \tau ) }
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
and
|
| 84 |
+
|
| 85 |
+
$$
|
| 86 |
+
p ^ { p } ( x _ { i } ^ { u } , \mathcal { B } _ { p } ) = [ p _ { 1 } ^ { p } , \ldots , p _ { T } ^ { p } ] , \quad p _ { j } ^ { p } = \frac { e x p ( z _ { i } ^ { \prime u } \cdot b _ { j } ^ { p } / \tau ) } { \sum _ { b _ { k } ^ { p } \sim \mathcal { B } _ { p } } e x p ( z _ { i } ^ { \prime u } \cdot b _ { k } ^ { p } / \tau ) }
|
| 87 |
+
$$
|
| 88 |
+
|
| 89 |
+
where $\tau$ is a scalar temperature to control the sharpness of the similarity score distribution.
|
| 90 |
+
|
| 91 |
+
To encourage agreement between the similarity score distributions of an unlabelled image from two branches, we apply mutual learning on the score distribution using the symmetric Kullback-Leibler Divergence (sKLD) loss
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
\mathcal { L } _ { \mathrm { s K L D } } = \frac { 1 } { 2 } ( D _ { K L } ( p ^ { p } \| p ^ { g } ) + D _ { K L } ( p ^ { g } \| p ^ { p } ) )
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
where $D _ { K L }$ is the Kullback–Leibler (KL) divergence with $\begin{array} { r } { D _ { K L } ( p _ { 1 } \| p _ { 2 } ) = p _ { 1 } \log \frac { p _ { 1 } } { p _ { 2 } } } \end{array}$ . In this way, the global and local branches of the model can learn from each other, while maintaining their own merits. Our mutual knowledge distillation method differs from SEED [13] in several aspects. First, SEED aims at improving high level visual representation, while we aim at enforcing the agreement between local and global features for novel category discovery; second, SEED distills between two different models while we distill between two branches of the same model; third, SEED maintains a queue derived from the global features of the teacher model, while we maintain two queues as dictionaries for global and local features; last, in SEED the larger teacher model is frozen during distillation and the student model is trained with cross-entropy loss, whereas in our method both branches are jointly trained with the sKLD loss.
|
| 98 |
+
|
| 99 |
+
# 3.3 Overall training loss
|
| 100 |
+
|
| 101 |
+
Apart from the BCE and sKLD losses introduced above, we also apply the standard cross-entropy loss on both branches, which is written as
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
\mathcal { L } _ { \mathrm { C E } } = - \frac { 1 } { N } \sum _ { i = 1 } ^ { N } y _ { i } \log \eta _ { g } ^ { l } ( z _ { i } ^ { l } ) + y _ { i } \log \eta _ { p } ^ { l } ( z _ { i } ^ { \prime l } )
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
where $N$ is the number of labeled images, $z _ { i } ^ { l } = \bar { \psi } _ { g } ( f _ { \theta } ( x _ { i } ^ { l } ) )$ , and $z _ { i } ^ { \prime l } = \bar { \psi } _ { p } ( f _ { \theta } ( x _ { i } ^ { l } ) )$ . Similar to [18], the feature extractor $f _ { \theta }$ is pretrained with self-supervised learning and is frozen during the training for novel category discovery.
|
| 108 |
+
|
| 109 |
+
Following [18, 20], we also include the consistency regularization loss to enforce the predictions of the same data point under different transformations to be the same. Specifically, let ${ \hat { x } } _ { i }$ be a randomly transformed counterpart of the input image $x _ { i }$ . The consistency loss is then defined as
|
| 110 |
+
|
| 111 |
+
$$
|
| 112 |
+
\begin{array} { r l r } & { } & { \mathcal { L } _ { \mathrm { M S E } } = \displaystyle \frac { 1 } { N } \sum _ { i = 1 } ^ { N } [ ( \eta _ { g } ^ { l } ( z _ { i } ^ { l } ) - \eta _ { g } ^ { l } ( \hat { z } _ { i } ^ { l } ) ) ^ { 2 } + ( \eta _ { p } ^ { l } ( z _ { i } ^ { \prime l } ) - \eta _ { p } ^ { l } ( \hat { z } _ { i } ^ { \prime l } ) ) ^ { 2 } ) ] + } \\ & { } & { \displaystyle \frac { 1 } { M } \sum _ { i = 1 } ^ { M } [ ( \eta _ { g } ^ { u } ( z _ { i } ^ { u } ) - \eta _ { g } ^ { u } ( \hat { z } _ { i } ^ { u } ) ) ^ { 2 } + ( \eta _ { p } ^ { u } ( z _ { i } ^ { \prime u } ) - \eta _ { p } ^ { u } ( \hat { z } _ { i } ^ { \prime u } ) ) ^ { 2 } ] , } \end{array}
|
| 113 |
+
$$
|
| 114 |
+
|
| 115 |
+
where $\hat { z } _ { i }$ is the feature embedding of the transformed image ${ \hat { x } } _ { i }$ . Without enforcing the consistency, we may have different ranking statistics for $\hat { z } _ { i }$ and $z _ { i }$ , which will lead to diffferent $s _ { i j }$ for the same images under different augmentation, confusing the training.
|
| 116 |
+
|
| 117 |
+
In summary, the overall loss function used to train our model is
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
\begin{array} { r } { \mathcal { L } = \mathcal { L } _ { \mathrm { B C E } } + \mathcal { L } _ { \mathrm { s K L D } } + \mathcal { L } _ { \mathrm { C E } } + \omega ( t ) \mathcal { L } _ { \mathrm { M S E } } , } \end{array}
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
where $\omega ( t ) = \lambda e ^ { - 5 ( 1 - \frac { t } { r } ) ^ { 2 } }$ is a ramp-up function as widely used in the literature [46, 33, 18] with $\lambda \in \mathbb { R } _ { + }$ . $t$ and $r$ are the current time step and the ramp-up length respectively.
|
| 124 |
+
|
| 125 |
+
After training, as the two branches already agree with each other, we simply take the output of the global branch as the final prediction. In particular, for each unlabelled image, we take the index of the max value in the softmax output as its cluster assignment. It is also worth noting that the memory banks and ranking statistics are no longer needed at inference time.
|
| 126 |
+
|
| 127 |
+
# 4 Experimental results
|
| 128 |
+
|
| 129 |
+
# 4.1 Experimental setup
|
| 130 |
+
|
| 131 |
+
Benchmark and evaluation metric. We follow [18] to validate our method on a variety of benchmark datasets for generic image classification including CIFAR-10 [31], CIFAR-100 [31] and ImageNet-1K [11]. For ImageNet-1K, three 30-class unlabelled splits are used in the experiments and the average performance is reported. We further experiment with ImageNet100 [47] which has less number of labelled classes but the same number of unlabelled classes as ImageNet-1K. In addition, we also validate our method on the more challenging fine-grained datasets including CUB-200 [49], Stanford-Cars [30], and FGVC aircraft [36]. One key assumption for novel category discovery is that the labelled classes are relevant to the unlabelled ones.
|
| 132 |
+
|
| 133 |
+
Table 1: Data splits in the experiments.
|
| 134 |
+
|
| 135 |
+
<table><tr><td></td><td>labelled</td><td>unlabelled</td></tr><tr><td>CIFAR-10</td><td>5</td><td>5</td></tr><tr><td>CIFAR-100</td><td>80</td><td>20</td></tr><tr><td>ImageNet-1K</td><td>882</td><td>{30,30,30}</td></tr><tr><td>ImageNet-100</td><td>70</td><td>30</td></tr><tr><td>CUB-200</td><td>160</td><td>40</td></tr><tr><td>Stanford-Cars</td><td>156</td><td>40</td></tr><tr><td>FGVC-aircraft</td><td>81</td><td>21</td></tr></table>
|
| 136 |
+
|
| 137 |
+
Due to the diversity of classes in generic image recognition datasets, it is not easy to tell the relevance between classes, though it is implicitly contained in the rules used to identify classes during data curation. In contrast, the relevance of the fine-grained datasets is explicitly determined by the fact that all classes in a fine-grained dataset belong to the same entry level class, e.g., birds, cars, and airplanes for the above fine-grained datasets. Besides, the fine-grained datasets pose more challenges for novel category discovery because of the high inter-class similarity. In this case, spatial local details become crucial clues to distinguish them. The labelled and unlabelled splits are summarized in table 1.
|
| 138 |
+
|
| 139 |
+
We follow the standard practice in the literature to adopt clustering accuracy (ACC) on the unlabelled data as the metric for evaluation. It is defined as 1N PNti=1 $\begin{array} { r } { \frac { 1 } { N _ { t } } \dot { \sum } _ { i = 1 } ^ { N _ { t } } \mathbb { 1 } ( y _ { i } ^ { * } = h ( y _ { i } ) ) } \end{array}$ where $h$ is the optimal permutation obtained by Hungarian algorithm [32] that can match the clustering assignment $y _ { i }$ with the ground-truth label $y _ { i } ^ { * }$ , and $N _ { t }$ is the number of unlabelled images.
|
| 140 |
+
|
| 141 |
+
Implementation details. We follow [18] to initialize our model with parameters pretrained by self-supervised learning. Our default model is realized based on ResNet50 [23]. Namely, the first three macro blocks of ResNet50 are the feature extractor, $f _ { \theta }$ , which is initialized with MoCov2 [8] pretrained on ImageNet via self-supervision and are frozen during training for novel category discovery. The last macro block is duplicated into two as the projection layers $\psi _ { p }$ and $\psi _ { g }$ , for local and global branches respectively. Each of them is followed by two linear heads, $\eta ^ { l }$ and $\eta ^ { u }$ , for labelled and unlabelled data respectively. For a fair comparison with prior methods, we also experiment using ResNet18 with RotNet [17] initialization. For all our experiments, we use SGD with momentum [44] as the optimizer and use a batch size of 128 for labelled data and 64 for unlabelled data. The temperature parameter $\tau$ is set to 0.07, and the size of the three memory-banks are all set to 2048 for memory efficiency and also considering the relatively limited number of images in the fine-grained datasets. For the dual ranking statistics, we set $k = 5$ for the global branch following [18], and $k = 3 0$ for the local branch to include more local parts into consideration. Our experiments are performed using GTX 1080Ti GPUs.
|
| 142 |
+
|
| 143 |
+
# 4.2 Comparison to the state-of-the-art
|
| 144 |
+
|
| 145 |
+
Comparison on generic image classification datasets. In table 2, we compare our method with baselines and state-of-the-art methods for novel category discovery on generic image classification datasets CIFAR-10, CIFAR-100, and ImageNet following the same protocol as RankStat [18] for fairness. Our method achieves state-of-the-art results on all datasets. It can be seen that our method significantly outperforms $k$ -means, KCL [25], MCL [26], and DTC [20]. Notably, our method outperforms the previous state-of-the-art [18] on the most challenging ImageNet-1K dataset by a significant margin of $6 . 4 \%$ . The improvements on CIFAR-10 and CIFAR-100 are smaller. We hypothesize that this is due to the spatial resolution discrepancy. The image resolution of CIFAR-10 and CIFAR-100 is only $3 2 \times 3 2$ , which leads to very small spatial local features. Thus, the local branch cannot offer much more useful information than the global branch. In contrast, the input resolution of ImageNet-1K is $2 2 4 \times 2 2 4$ . Hence, a larger spatial feature map can be obtained to take more advantages of the local branch.
|
| 146 |
+
|
| 147 |
+
Table 2: Comparison of novel category discovery on generic classification datasets. For fair comparison, our method uses ResNet18 [23] backbone initialized with RotNet [17] following [18].
|
| 148 |
+
|
| 149 |
+
<table><tr><td>No</td><td>Method</td><td>CIFAR-10</td><td>CIFAR-100</td><td>ImageNet-1K</td></tr><tr><td>(1)</td><td>k-means [35]</td><td>72.5±0.0%</td><td>56.3±1.7%</td><td>71.9%</td></tr><tr><td>(2)</td><td>KCL [25]</td><td>66.5±3.9%</td><td>14.3±1.3%</td><td>73.8%</td></tr><tr><td>(3)</td><td>MCL [26]</td><td>64.2±0.1%</td><td>21.3±3.4%</td><td>74.4%</td></tr><tr><td>(4)</td><td>DTC[20]</td><td>87.5±0.3%</td><td>56.7±1.2%</td><td>78.3%</td></tr><tr><td>(5)</td><td>RankStat [18]</td><td>90.4±0.5%</td><td>73.2±2.1%</td><td>82.5%</td></tr><tr><td>(6)</td><td>Ours</td><td>91.6±0.6%</td><td>75.3±2.3%</td><td>88.9%</td></tr></table>
|
| 150 |
+
|
| 151 |
+
Comparison on fine-grained image classification datasets. In table 3, we compare with other methods on fine-grained image classification datasets. In these datasets, the difference of holistic structure between classes is small, and the classes are mostly differentiated by the local details. Thus, only looking at the global feature descriptors is far from enough for the fine-grained scenario, where the local information plays a vital role. Comparing rows 2–3 with row 5, it can be observed that our proposed method substantially outperforms previous state-of-the-art models that only use global features. For example, our method shows $8 . 3 \%$ , $8 . 1 \%$ and $4 . 1 \%$ improvements respectively on CUB-200, Stanford-Cars and FGVC-Aircraft over RankStat [18]. To further verify the effectiveness of our local branch, we carry out another experiment by dropping the global branch (row 4 in table 3). Dropping the global branch will disable the mutual knowledge distillation accordingly. It can be seen that using the local branch alone already yields a notable improvement over RankStat [18] (row 3 vs row 4). Our full method establishes the new state-of-the-art.
|
| 152 |
+
|
| 153 |
+
Table 3: Comparison of novel category discovery on fine-grained classification datasets. “Ours w/o global” means our proposed method without global branch and mutual distillation.
|
| 154 |
+
|
| 155 |
+
<table><tr><td>No</td><td>Method</td><td>CUB-200</td><td>Stanford-Cars</td><td>FGVC-Aircraft</td></tr><tr><td>(1)</td><td>k-means [35]</td><td>20.4 ±1.1%</td><td>31.4 ± 0.9%</td><td>44.7 ± 1.3%</td></tr><tr><td>(2)</td><td>DTC[20]</td><td>33.6 ± 0.7%</td><td>46.5 ± 2.4%</td><td>58.7 ± 1.2%</td></tr><tr><td>(3)</td><td>RankStat [18]</td><td>39.5 ± 1.7%</td><td>53.8 ± 2.0%</td><td>66.3 ± 0.7%</td></tr><tr><td>(4)</td><td>Ours w/o global</td><td>43.1 ± 2.3%</td><td>56.8 ± 2.3%</td><td>67.3 ± 1.0%</td></tr><tr><td>(5)</td><td>Ours full</td><td>47.8 ± 2.4%</td><td>61.9 ± 2.5%</td><td>70.4 ± 0.9%</td></tr></table>
|
| 156 |
+
|
| 157 |
+
# 4.3 Ablation study
|
| 158 |
+
|
| 159 |
+
Effectiveness of different components. In table 4, we ablate different components of our method. It is clear that all components in our method are effective as removing any of them will cause the performance drop. Without BCE loss, our dual ranking statistics is disabled and no pair-wise pseudo labels are transferred from the labelled data. Therefore, the parameters within $\eta ^ { u }$ remain untrained, leading to poor performance equivalent to a random baseline. The sKLD loss also has a strong impact on the final performance. Without it, the performance drops $8 . 0 { - } 1 1 . 3 \%$ absolute ACC. This performance drop shows that the information exchange between the global and the local branches are crucial. The consistency loss also plays an important role, as the performance without consistency drops $9 . 9 \mathrm { - } 1 2 . 2 \%$ absolute ACC. Similar to [18, 20] the cross-entropy loss, consistency loss and self-supervision are also important for our method. Having all these components in a unified framework, our full method obtains the best performance.
|
| 160 |
+
|
| 161 |
+
Table 4: Effectiveness of different components of our method. “MSE” means MSE consistency loss; “CE” means cross-entropy loss for training on labelled data; “BCE” means binary cross-entropy loss for training both global and local branches on unlabeled data; “sKLD” means the sKLD loss for mutual distillation between the two branches; “Self-sup.” means self-supervised pre-training.
|
| 162 |
+
|
| 163 |
+
<table><tr><td></td><td>CUB-200</td><td>Stanford-Cars</td><td>FGVC-Aircraft</td><td>ImageNet-100</td></tr><tr><td>Ours w/o BCE</td><td>2.2 ± 1.3%</td><td>3.1 ± 0.4%</td><td>5.1 ± 0.4%</td><td>3.0 ± 0.3%</td></tr><tr><td>Ours w/o sKLD</td><td>39.8 ± 1.8%</td><td>50.6 ± 2.1%</td><td>60.8 ± 1.5%</td><td>58.2 ± 1.2%</td></tr><tr><td>Ours w/o CE</td><td>41.2 ± 2.4%</td><td>52.4 ± 4.3%</td><td>60.2 ± 2.7%</td><td>59.1 ± 2.7%</td></tr><tr><td>Ours w/o MSE</td><td>37.9 ± 4.5%</td><td>50.6 ± 6.2%</td><td>58.9 ± 5.7%</td><td>57.2 ± 3.6%</td></tr><tr><td> Ours w/o Self-sup.</td><td>44.3 ± 3.5%</td><td>58.2 ± 1.8%</td><td>67.4 ± 1.3%</td><td>65.3 ± 1.3%</td></tr><tr><td>Ours full</td><td>47.8 ± 2.4%</td><td>61.9 ± 2.5%</td><td>70.4 ± 0.9%</td><td>69.4 ± 2.1%</td></tr></table>
|
| 164 |
+
|
| 165 |
+
Different configurations of the two-branch design. Our two-branch design allows mutual knowledge distillation between local and global branches. In table 5 we compare different branch configurations. Row 1 and row 2 represent the global and local single-branch baselines. As can be seen, the local branch configuration performs better than the global one which is the configuration of [18], demonstrating the local ranking statistics with the part dictionary is more effective than that with global features. By introducing another branch of the same type (row $1 \mathrm { r o w } 3$ , row $2 \mathrm { r o w } 4$ ) to incorporate mutual knowledge distillation, the performance can be consistently boosted, which further verifies the effectiveness of our mutual knowledge distillation method for novel category discovery. Mutual knowledge distillation between two local branches is more effective than the counterpart between two global branches. Row 5 presents the results of mutual distillation between global branch and local branch, showing best performance, which corroborates that mutual knowledge distillation between local and global branches enables them to complement each other.
|
| 166 |
+
|
| 167 |
+
Table 5: Different configurations of the two-branch design.
|
| 168 |
+
|
| 169 |
+
<table><tr><td>No</td><td colspan="2">Configuration</td><td>CUB200</td><td>Stanford-Cars</td><td>ImageNet-100</td></tr><tr><td>(1)</td><td>global</td><td></td><td>39.5 ± 1.7%</td><td>53.8 ± 2.0%</td><td>62.5 ± 1.2%</td></tr><tr><td>(2)</td><td>local</td><td>=</td><td>43.1 ± 0.9%</td><td>56.8 ± 1.7%</td><td>64.2 ± 1.6%</td></tr><tr><td>(3)</td><td>global</td><td>global</td><td>41.2 ± 0.8%</td><td>54.6 ± 0.7%</td><td>63.2 ± 0.9%</td></tr><tr><td>(4)</td><td>local</td><td>local</td><td>44.7 ± 1.1%</td><td>57.9 ± 0.5%</td><td>65.7 ± 1.4%</td></tr><tr><td>(5)</td><td>global</td><td>local</td><td>47.8 ± 2.4%</td><td>61.9 ± 2.5%</td><td>69.4 ± 2.1%</td></tr></table>
|
| 170 |
+
|
| 171 |
+
Effects of larger memory banks. It has been shown in [21] that increasing the size of the memory bank can improve self-supervised representation learning. In our experiments, we set the memory sizes of $B _ { p }$ , $B _ { g }$ and $\nu$ to 2048 for training efficiency. In table 6, we show the results by increasing the memory sizes. As can be seen, similar to [21], the memory size and the performance is positively correlated. With more instances or parts in the memory banks, more useful information can be used for mutual knowledge distillation $\boldsymbol { B } _ { p }$ and $B _ { g . }$ ) and local part ranking statistics measure $( \mathcal { V } )$ , thus improving the results. However, with a relatively small memory size of 2048, our method already achieves promising results. Note that due to the limited number of images in CUB-200 and Stanford-Cars, the performance boost with the increase of bank size for $B _ { p }$ and $B _ { g }$ quickly reaches a plateau. While for CIFAR-10 and ImageNet-100, more instances can be enqueued to foster the knowledge distillation. In terms of $\nu$ , the performance is consistently improved with the increase of the size of $\nu$ for all datasets. Due to the larger image resolution in CUB-200 and Stanford-Cars, more useful part features can be extracted from each image for local ranking statistics. Therefore, the performance is less affected by the smaller number of images. This further demonstrates the effectiveness of our local part-level ranking statistics.
|
| 172 |
+
|
| 173 |
+
Different sampling methods for memory bank $\nu$ . The part memory bank $\nu$ stores the part-level features for the local-comparison branch, and is updated in a FIFO manner. Here we compare different ways of maintaining $\nu$ . Our default choice is to randomly sample one part-level feature from each image in a training mini-batch. However, random sampling may not select the most informative part-level features from the image, so an alternative is to select part-level features based on class-activation-map (CAM) [59]. Instead of random sampling, the part with the highest response is selected by CAM. Rather than sampling only a single part from each image, we can simply use all
|
| 174 |
+
|
| 175 |
+
(a) ACC with varying size for $\boldsymbol { B } _ { p }$ and $B _ { g }$ .
|
| 176 |
+
|
| 177 |
+
Table 6: Increasing the size of memory bank. “SCars” denotes Stanford-Cars dataset; “IM-100” denotes ImageNet-100 dataset.
|
| 178 |
+
|
| 179 |
+
<table><tr><td>Bank size</td><td>2048</td><td>4096</td><td>8192</td><td>16384</td><td>32768</td></tr><tr><td>CIFAR-10</td><td>91.6%</td><td>92.3%</td><td>92.4%</td><td>92.7%</td><td>93.0%</td></tr><tr><td>CUB-200</td><td>47.8%</td><td>48.3%</td><td>48.4%</td><td>48.5%</td><td>48.4%</td></tr><tr><td>SCars</td><td>61.9%</td><td>62.4%</td><td>62.8%</td><td>62.9%</td><td>62.9%</td></tr><tr><td>IM-100</td><td>69.4%</td><td>70.2%</td><td>70.8%</td><td>71.1%</td><td>71.3%</td></tr></table>
|
| 180 |
+
|
| 181 |
+
(b) ACC with varying size for $\nu$
|
| 182 |
+
|
| 183 |
+
<table><tr><td>Bank size</td><td>2048</td><td>4096</td><td>8192</td><td>1638432768</td><td></td></tr><tr><td>CIFAR-10 91.6% 91.7%</td><td></td><td></td><td>91.7%</td><td>91.9%</td><td>92.0%</td></tr><tr><td>CUB-200 47.8% 48.5% 48.7% 49.2%</td><td></td><td></td><td></td><td></td><td>49.3%</td></tr><tr><td>SCars</td><td></td><td>61.9% 62.7% 63.4%</td><td></td><td>663.6%</td><td>63.7%</td></tr><tr><td>IM-100</td><td></td><td></td><td></td><td>69.4% 70.5% 71.2% 71.3% 71.4%</td><td></td></tr></table>
|
| 184 |
+
|
| 185 |
+
the parts for each image. We compare these three different choices in table 7. It can be seen that using all the parts causes slight performance drop. This is reasonable because using all parts introduces redundancy in $\nu$ , making the local comparison more prone to noise. On the other hand, selecting the most activated part using CAM shows a better performance than the random selection, indicating that more informative parts in the memory bank can enable better local comparison. As the gap is not significant, we use the random sampling as our default choice for its simplicity and efficacy.
|
| 186 |
+
|
| 187 |
+
Table 7: Effects of using different way to update $\nu$ . “Random” means random part selection; “All” means using all parts; “CAM” means selecting the most activated parts using CAM [59].
|
| 188 |
+
|
| 189 |
+
<table><tr><td></td><td>CIFAR-100</td><td>ImageNet-100</td><td>CUB-200</td><td>Stanford-Cars</td></tr><tr><td>Random</td><td>75.3 ± 2.3%</td><td>69.4 ± 2.1%</td><td>47.8 ± 2.4%</td><td>61.9 ± 2.5%</td></tr><tr><td>All</td><td>76.0 ± 2.6%</td><td>68.7 ± 2.3%</td><td>46.5 ± 1.9%</td><td>61.0 ± 2.4%</td></tr><tr><td>CAM</td><td>76.5 ± 2.4%</td><td>70.3 ± 2.4%</td><td>48.5 ± 1.8%</td><td>62.4 ± 2.1%</td></tr></table>
|
| 190 |
+
|
| 191 |
+
Unknown number of novel classes. In a more realistic setting, the unlabelled class number $C ^ { u }$ may not be known. In this case, we can apply existing methods to estimate category number in the unlabelled data, such as the algorithm from DTC [20], before adopting our method. In table 8 we provide the results of novel category discovery using the estimated number of classes on CUB200/ImageNet-100 by DTC [20]. We denote the estimated class number as $\hat { C } ^ { u }$ . As shown in table 8, with the estimated class number by DTC, our model also obtains a significantly better performance than RankStat [18].
|
| 192 |
+
|
| 193 |
+
Table 8: Results with estimated class numbers and ground truth class numbers.
|
| 194 |
+
|
| 195 |
+
<table><tr><td></td><td colspan="2">CUB-200</td><td colspan="2">ImageNet-100</td></tr><tr><td>Class numbers</td><td>Cu = 40</td><td>Cu= 43</td><td>Cu = 30</td><td>Cu =32</td></tr><tr><td>RankStat [18]</td><td>39.5±1.7%</td><td>38.2±2.1%</td><td>66.3±0.7%</td><td>65.0±1.2%</td></tr><tr><td>Ours</td><td>47.8±2.4%</td><td>44.6±2.6%</td><td>70.4±0.9%</td><td>68.8±1.5%</td></tr></table>
|
| 196 |
+
|
| 197 |
+
Please refer to the supplementary for more results and analysis. Our code can be found at https: //github.com/DTennant/dual-rank-ncd.
|
| 198 |
+
|
| 199 |
+
# 5 Conclusion
|
| 200 |
+
|
| 201 |
+
We have introduced a two-branch learning framework for novel category discovery, with one branch focusing on local part-level information and the other branch focusing on overall characteristics. To transfer knowledge from labelled data to unlabelled data, we proposed to use local ranking statistics by maintaining a local part dictionary build on-the-fly for training, together with the global ranking statistics. We further introduced a mutual knowledge distillation method for information exchange and encouraging the agreement between the two branches. We thoroughly evaluated our method on generic image classification datasets as well as fine-grained recognition datasets, achieving state-of-the-art performance.
|
| 202 |
+
|
| 203 |
+
# References
|
| 204 |
+
|
| 205 |
+
[1] Sungsoo Ahn, Shell Xu Hu, Andreas Damianou, Neil D Lawrence, and Zhenwen Dai. Variational information distillation for knowledge transfer. In CVPR, 2019. [2] Relja Arandjelovic, Petr Gronat, Akihiko Torii, Tomas Pajdla, and Josef Sivic. Netvlad: Cnn architecture for weakly supervised place recognition. In CVPR, 2016. [3] David Arthur and Sergei Vassilvitskii. k-means $^ { + + }$ : the advantages of careful seeding. In ACM-SIAM Symposium on Discrete Algorithms, 2007. [4] Hessam Bagherinezhad, Maxwell Horton, Mohammad Rastegari, and Ali Farhadi. Label refinery: Improving imagenet classification through label progression. In arXiv preprint arXiv:1805.02641, 2018. [5] Herbert Bay, Tinne Tuytelaars, and Luc Van Gool. Surf: Speeded up robust features. In ECCV, 2006. [6] David Berthelot, Nicholas Carlini, Ian Goodfellow, Nicolas Papernot, Avital Oliver, and Colin Raffel. Mixmatch: A holistic approach to semi-supervised learning. In NeurIPS, 2019.
|
| 206 |
+
[7] Bingyi Cao, André Araujo, and Jack Sim. Unifying deep local and global features for image search. In ECCV, 2020.
|
| 207 |
+
[8] Xinlei Chen, Haoqi Fan, Ross Girshick, and Kaiming He. Improved baselines with momentum contrastive learning. arXiv preprint arXiv:2003.04297, 2020. [9] Dorin Comaniciu and Peter Meer. Mean shift: A robust approach toward feature space analysis. IEEE TPAMI, 2002.
|
| 208 |
+
[10] Boyang Deng, Qing Liu, Siyuan Qiao, and Alan Yuille. Few-shot learning by exploiting visual concepts within cnns. In arXiv preprint arXiv:1711.08277, 2017.
|
| 209 |
+
[11] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, 2009.
|
| 210 |
+
[12] Carl Doersch, Ankush Gupta, and Andrew Zisserman. Crosstransformers: spatially-aware few-shot transfer. In NeurIPS, 2020.
|
| 211 |
+
[13] Zhiyuan Fang, Jianfeng Wang, Lijuan Wang, Lei Zhang, Yezhou Yang, and Zicheng Liu. Seed: Self-supervised distillation for visual representation. In ICLR, 2021.
|
| 212 |
+
[14] Enrico Fini, Enver Sangineto, Stéphane Lathuilière, Zhun Zhong, Moin Nabi, and Elisa Ricci. A unified objective for novel class discovery. In ICCV, 2021.
|
| 213 |
+
[15] Tommaso Furlanello, Zachary Lipton, Michael Tschannen, Laurent Itti, and Anima Anandkumar. Born again neural networks. In ICML, 2018.
|
| 214 |
+
[16] Kamran Ghasedi Dizaji, Amirhossein Herandi, Cheng Deng, Weidong Cai, and Heng Huang. Deep clustering via joint convolutional autoencoder embedding and relative entropy minimization. In ICCV, 2017.
|
| 215 |
+
[17] Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. In ICLR, 2018.
|
| 216 |
+
[18] Kai Han, Sylvestre-Alvise Rebuffi, Sebastien Ehrhardt, Andrea Vedaldi, and Andrew Zisserman. Automatically discovering and learning new visual categories with ranking statistics. In ICLR, 2020.
|
| 217 |
+
[19] Kai Han, Sylvestre-Alvise Rebuffi, Sebastien Ehrhardt, Andrea Vedaldi, and Andrew Zisserman. Autonovel: Automatically discovering and learning novel visual categories. IEEE TPAMI, 2021.
|
| 218 |
+
[20] Kai Han, Andrea Vedaldi, and Andrew Zisserman. Learning to discover novel visual categories via deep transfer clustering. In ICCV, 2019.
|
| 219 |
+
[21] Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In CVPR, 2020.
|
| 220 |
+
[22] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In ICCV, 2015.
|
| 221 |
+
[23] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016.
|
| 222 |
+
[24] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. In NIPS 2014 Deep Learning Workshop, 2015.
|
| 223 |
+
[25] Yen-Chang Hsu, Zhaoyang Lv, and Zsolt Kira. Learning to cluster in order to transfer across domains and tasks. In ICLR, 2018.
|
| 224 |
+
[26] Yen-Chang Hsu, Zhaoyang Lv, Joel Schlosser, Phillip Odom, and Zsolt Kira. Multi-class classification without multi-class labels. In ICLR, 2019.
|
| 225 |
+
[27] Zehao Huang and Naiyan Wang. Like what you like: Knowledge distill via neuron selectivity transfer. arXiv preprint arXiv:1707.01219, 2017.
|
| 226 |
+
[28] Xuihui Jia, Kai Han, Yukun Zhu, and Bradley Green. Joint representation learning and novel category discovery on single-and multi-modal data. In ICCV, 2021.
|
| 227 |
+
[29] Jangho Kim, SeoungUK Park, and Nojun Kwak. Paraphrasing complex network: Network compression via factor transfer. In NeurIPS, 2018.
|
| 228 |
+
[30] Jonathan Krause, Michael Stark, Jia Deng, and Li Fei-Fei. 3d object representations for fine-grained categorization. In 4th International IEEE Workshop on 3D Representation and Recognition (3dRR-13), 2013.
|
| 229 |
+
[31] Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical Report, 2009.
|
| 230 |
+
[32] Harold W Kuhn. The hungarian method for the assignment problem. Naval Research Logistics Quarterly, 1955.
|
| 231 |
+
[33] Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. In ICLR, 2017.
|
| 232 |
+
[34] David G Lowe. Distinctive image features from scale-invariant keypoints. In IJCV, 2004.
|
| 233 |
+
[35] James MacQueen. Some methods for classification and analysis of multivariate observations. In Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, 1967.
|
| 234 |
+
[36] Subhransu Maji, Esa Rahtu, Juho Kannala, Matthew Blaschko, and Andrea Vedaldi. Finegrained visual classification of aircraft. arXiv preprint arXiv:1306.5151, 2013.
|
| 235 |
+
[37] Hyeonwoo Noh, Andre Araujo, Jack Sim, Tobias Weyand, and Bohyung Han. Large-scale image retrieval with attentive deep local features. In ICCV, 2017.
|
| 236 |
+
[38] Avital Oliver, Augustus Odena, Colin Raffel, Ekin D Cubuk, and Ian J Goodfellow. Realistic evaluation of deep semi-supervised learning algorithms. In NeurIPS, 2018.
|
| 237 |
+
[39] Sylvestre-Alvise Rebuffi, Sebastien Ehrhardt, Kai Han, Andrea Vedaldi, and Andrew Zisserman. Semi-supervised learning with scarce annotations. In CVPR Deep-Vision workshop, 2020.
|
| 238 |
+
[40] Sylvestre-Alvise Rebuffi, Sebastien Ehrhardt, Kai Han, Andrea Vedaldi, and Andrew Zisserman. Lsd-c: Linearly separable deep clusters. In ICCV Workshop on Visual Inductive Priors for Data-Efficient Deep Learning, 2021.
|
| 239 |
+
[41] Adriana Romero, Nicolas Ballas, Samira Ebrahimi Kahou, Antoine Chassang, Carlo Gatta, and Yoshua Bengio. Fitnets: Hints for thin deep nets. In ICLR, 2015.
|
| 240 |
+
[42] Oriane Siméoni, Yannis Avrithis, and Ondrej Chum. Local features and visual words emerge in activations. In CVPR, 2019.
|
| 241 |
+
[43] 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, 2020.
|
| 242 |
+
[44] Ilya Sutskever, James Martens, George Dahl, and Geoffrey Hinton. On the importance of initialization and momentum in deep learning. In ICML, 2013.
|
| 243 |
+
[45] Hajime Taira, Masatoshi Okutomi, Torsten Sattler, Mircea Cimpoi, Marc Pollefeys, Josef Sivic, Tomas Pajdla, and Akihiko Torii. Inloc: Indoor visual localization with dense matching and view synthesis. In CVPR, 2018.
|
| 244 |
+
[46] Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In NeurIPS, 2017.
|
| 245 |
+
[47] Yonglong Tian, Dilip Krishnan, and Phillip Isola. Contrastive multiview coding. In ECCV, 2020.
|
| 246 |
+
[48] Yonglong Tian, Dilip Krishnan, and Phillip Isola. Contrastive representation distillation. In ICLR, 2020.
|
| 247 |
+
[49] Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. CaltechUCSD Birds 200. Computation & Neural Systems Technical Report, 2010.
|
| 248 |
+
[50] Junyuan Xie, Ross Girshick, and Ali Farhadi. Unsupervised deep embedding for clustering analysis. In ICML, 2016.
|
| 249 |
+
[51] Jay Yagnik, Dennis Strelow, David A. Ross, and Ruei sung Lin. The power of comparative reasoning. In ICCV, 2011.
|
| 250 |
+
[52] Junho Yim, Donggyu Joo, Jihoon Bae, and Junmo Kim. A gift from knowledge distillation: Fast optimization, network minimization and transfer learning. In CVPR, 2017.
|
| 251 |
+
[53] Junho Yim, Donggyu Joo, Jihoon Bae, and Junmo Kim. A gift from knowledge distillation: Fast optimization, network minimization and transfer learning. In CVPR, 2017.
|
| 252 |
+
[54] Sergey Zagoruyko and Nikos Komodakis. Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer. In ICLR, 2017.
|
| 253 |
+
[55] Chi Zhang, Yujun Cai, Guosheng Lin, and Chunhua Shen. Deepemd: Differentiable earth mover’s distance for few-shot learning. In CVPR, 2020.
|
| 254 |
+
[56] Ying Zhang, Tao Xiang, Timothy M Hospedales, and Huchuan Lu. Deep mutual learning. In CVPR, 2018.
|
| 255 |
+
[57] Zhun Zhong, Enrico Fini, Subhankar Roy, Zhiming Luo, Elisa Ricci, and Nicu Sebe. Neighborhood contrastive learning for novel class discovery. In CVPR, 2021.
|
| 256 |
+
[58] Zhun Zhong, Linchao Zhu, Zhiming Luo, Shaozi Li, Yi Yang, and Nicu Sebe. Openmix: Reviving known knowledge for discovering novel visual categories in an open world. In CVPR, 2021.
|
| 257 |
+
[59] Bolei Zhou, Aditya Khosla, Agata Lapedriza, Auda Oliva, and Antonio Torralba. Learning Deep Features for Discriminative Localization. In CVPR, 2016.
|
parse/train/xWq1MVj7YrE/xWq1MVj7YrE_content_list.json
ADDED
|
@@ -0,0 +1,1088 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Novel Visual Category Discovery with Dual Ranking Statistics and Mutual Knowledge Distillation ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
183,
|
| 8 |
+
154,
|
| 9 |
+
816,
|
| 10 |
+
203
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Bingchen Zhao1 Kai Han2,3,4∗ ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
380,
|
| 19 |
+
256,
|
| 20 |
+
624,
|
| 21 |
+
271
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "1Tongji University 2The University of Hong Kong 3Google Research 4University of Bristol zhaobc.gm@gmail.com kaihanx@hku.hk ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
186,
|
| 30 |
+
282,
|
| 31 |
+
812,
|
| 32 |
+
311
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
462,
|
| 42 |
+
348,
|
| 43 |
+
535,
|
| 44 |
+
363
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "In this paper, we tackle the problem of novel visual category discovery, i.e., grouping unlabelled images from new classes into different semantic partitions by leveraging a labelled dataset that contains images from other different but relevant categories. This is a more realistic and challenging setting than conventional semi-supervised learning. We propose a two-branch learning framework for this problem, with one branch focusing on local part-level information and the other branch focusing on overall characteristics. To transfer knowledge from labelled data to unlabelled data, we propose using dual ranking statistics on both branches to generate pseudo labels for training on the unlabelled data. We further introduce a mutual knowledge distillation method to allow information exchange and encourage agreement between the two branches for discovering new categories, allowing our model to enjoy the benefits of global and local features. We comprehensively evaluate our method on public benchmarks for generic object classification, as well as the more challenging benchmarks for fine-grained visual recognition, achieving state-of-the-art performance. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
381,
|
| 54 |
+
766,
|
| 55 |
+
587
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
614,
|
| 66 |
+
310,
|
| 67 |
+
631
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Superior performance on many problems has been achieved by recent machine learning models, especially the ones based on deep learning. While the success comes at the cost of large-scale human annotation, which is prohibitively expensive in practice. For example, modern convolutional neural networks (CNNs) can surpass human-level recognition performance on ImageNet after training with over one million labelled images [22]. On the one hand, it is not possible to annotate all possible classes in the real world, as there are way more classes than the 1, 000 classes in ImageNet and new classes keep growing over time. On the other hand, annotating specific data, such as the medical data, may require specific expertise, which renders the large-scale annotation extremely difficult, if not impossible. Therefore, it is desired to enable the machine learning systems to deal with unlabelled data automatically. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
647,
|
| 77 |
+
825,
|
| 78 |
+
786
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Recently, the problem of novel category discovery was formalized in [20, 18], which aims at discovering new visual categories on unlabelled data by transferring knowledge from labelled data. The labelled data is assumed to contain similar but different categories to those in the unlabelled data. This problem is similar to semi-supervised learning in the sense that both labelled and unlabelled data are used to learn the model. While novel category discovery is much harder because semi-supervised learning assumes that every class contains labelled instances, while for novel category discovery there are no labels available for the new classes in the unlabelled data. This setting is also relevant to unsupervised clustering. But differently, novel category discovery makes use of the labelled data to extract a specific class prior (i.e., the properties that delineate a class) for partitioning the unlabelled data, while the unsupervised clustering may produce multiple different but equally valid clustering results by adopting different properties (e.g., color, shape, pose, lighting, etc). In this paper, we introduce a simple and effective two-branch framework for novel category discovery, with one branch focusing on local part-level information and the other branch focusing on overall characteristics. Our contributions are as follows. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
792,
|
| 88 |
+
825,
|
| 89 |
+
890
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
92,
|
| 99 |
+
825,
|
| 100 |
+
188
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "First, we propose to apply dual ranking statistics for transferring knowledge from the known classes in the labelled data to the unlabelled data, resulting in more robust pseudo label generation for learning on the unlabelled data. We maintain a dynamic object part dictionary and apply part-level ranking statistics on the similarity distribution of each instance over the dictionary to obtain pseudo labels, which are complementary to the pseudo labels obtained by simply examining the ranking statistics of global descriptors. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
194,
|
| 110 |
+
825,
|
| 111 |
+
277
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Second, we introduce a mutual knowledge distillation method to allow information exchange and encourage agreement between the local and global branches. The dual ranking statistics provide global and part-level information for learning in two branches separately. The mutual knowledge distillation further allows information exchange between the two branches and makes them benefit from each other. Unlike conventional methods that distill between teacher and student models with known labels, our method distills between two branches of the same model without any manual annotations. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
284,
|
| 121 |
+
825,
|
| 122 |
+
381
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Third, we comprehensively evaluate our method on public benchmarks for generic object classification, including CIFAR10, CIFAR100, and ImageNet, obtaining state-of-the-art results. Furthermore, we also validate our approach on the more challenging fine-grained datasets CUB-200, Stanford-Cars, and FGVC-Aircraft, in which the local details are more important to distinguish different classes. Our method outperforms existing methods by a substantial margin, thanks to the ability of our model to subtly exploit both local and global information. Our code can be found at https://github.com/DTennant/dual-rank-ncd. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
387,
|
| 132 |
+
825,
|
| 133 |
+
484
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "2 Related work ",
|
| 140 |
+
"text_level": 1,
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
510,
|
| 144 |
+
316,
|
| 145 |
+
526
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "Our work is relevant to novel category discovery, knowledge distillation, and part-level feature learning. We briefly review the most relevant work below. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
176,
|
| 154 |
+
545,
|
| 155 |
+
821,
|
| 156 |
+
574
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "Novel category discovery is a relatively new problem setting recently formalized by [20, 18] with the task being automatically discovering new object categories in the unlabelled data by making use of a labeled dataset containing different but relevant object classes. The purpose of using the extra labelled data is to learn a category prior to reduce the ambiguity of class definition. This task is closely related to unsupervised clustering and semi-supervised learning, but also significantly different from them. Unsupervised clustering has been studied for decades with many classical approaches [35, 3, 9] and deep learning based solutions [50, 16, 40] being proposed. Due to the lack of a proper class prior, multiple equally valid clustering results can be achieved by different criteria. Therefore, it can not be directly applied to discovery new classes as we expect the model to follow a unique class definition. In semi-supervised learning [43, 39, 6, 38, 46], unlabelled data are used together with labelled data to train a more robust model, with the assumption that all classes in the unlabelled data have labelled instances. However, this is unlikely to be true for real applications where unlabelled data may come from new classes. Thus, novel category discovery is a more realistic setting. The DTC method introduced in [20] approaches this problem in two steps. The model is firstly trained with supervised learning on the labelled data to capture high-level semantic class information and then trained on the unlabelled data with a clustering loss to discover new categories. In [18, 19], Han et al. proposed to use self-supervision to bootstrap feature learning and introduced ranking statistics on the feature embedding to provide pseudo labels for training on unlabelled data. The KCL [25] and MCL [26] methods were designed for general transfer learning across domains and tasks, which can also be applied for novel category discovery. These two methods maintain two models for training and testing, a pretrained binary classifier for pseudo label generation and a clustering model. The binary classifier pretrained on the labelled data is used to provide pseudo labels to train the clustering model on unlabelled data. Concurrent to our work, several methods [28, 58, 57, 14] are proposed to improve the performance of novel category discovery from different perspectives, showing promising results. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
579,
|
| 166 |
+
825,
|
| 167 |
+
911
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "The existing methods only consider the global feature descriptors while ignoring the local object parts which are essential to distinguish classes that look similar. In our approach, we jointly consider both and allow information exchange between them for more reliable new category discovery. ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
174,
|
| 176 |
+
92,
|
| 177 |
+
823,
|
| 178 |
+
132
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 2
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "Knowledge distillation is often employed to learn a compact student model using the knowledge distilled from a larger teacher model by enforcing the agreement of outputs or representations between the two models (e.g., [24, 41, 54, 52, 27, 29, 1, 48]). Apart from distilling a larger teacher model to a smaller student model, self-distillation methods show that distilling between two identical models can also improve the performance [53, 15, 4]. Mutual learning [56] is a similar technique that trains two models of the same architecture simultaneously but with different initialization and encourages them to learn collaboratively from each other. It has been shown that different initialization leads the model to focus on different regions of the input and thus the trained model can better capture the holistic structure of the data, resulting in better performance. Though effective, the above methods require the labels for training. Thus they can not be applied for novel category discovery. Recently, [13] introduced a self-supervised distillation method called SEED to improve the representation learning on a small model (student) by distilling from a pretrained large model (teacher). The student model is trained to predict the same similarity score distribution inferred by the frozen teacher model over a queue of instances. We draw inspiration from [13] to design the mutual knowledge distillation module in our method for novel category discovery between the local and global branches. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
174,
|
| 187 |
+
140,
|
| 188 |
+
825,
|
| 189 |
+
347
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 2
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "Part-level features have been shown to be effective for tasks involving image verification such as few-shot learning [10, 55, 12] and image retrieval [7, 34, 5, 2, 37, 42, 45]. In [10], the part-level visual concepts are generated by clustering feature vectors from the feature maps obtained using a trained neural network. These visual concepts are used as matching primitives at test time for few-shot learning. Zhang et al. [55] used the Earth-Mover’s Distance (EMD) between local part features to measure the distance between two images for matching. Doersch et al. [12] proposed CrossTransformers to model the cross-attention between each local part of a query image and a set of support images for few-shot learning. Part-level features have been more widely used in the domain of image retrieval with both classical [34, 5] and deep learning based [2, 37, 42, 45, 7] methods. Intuitively, the part-level features provide better precision for the retrieved results because the local matching is more restricted, and global features yield better recall [7]. In our work, we leverage both local and global features to enjoy the benefits of both through the dual ranking statistics and the mutual knowledge distillation, for more robust novel category discovery. ",
|
| 196 |
+
"bbox": [
|
| 197 |
+
174,
|
| 198 |
+
353,
|
| 199 |
+
825,
|
| 200 |
+
532
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 2
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "3 Method ",
|
| 207 |
+
"text_level": 1,
|
| 208 |
+
"bbox": [
|
| 209 |
+
174,
|
| 210 |
+
550,
|
| 211 |
+
269,
|
| 212 |
+
568
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 2
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "text",
|
| 218 |
+
"text": "The goal of novel category discovery is to automatically partition unlabelled instances $x _ { i } ^ { u } \\in \\mathcal { D } ^ { u }$ into $C ^ { u }$ semantic clusters by transferring the knowledge from the labelled instances $( x _ { i } ^ { l } , y _ { i } ^ { l } ) \\in \\mathcal { D } ^ { l }$ , where $y _ { i } ^ { l } \\in \\{ 1 , \\ldots , C ^ { l } \\}$ . The key assumption is that the classes in $\\mathcal { D } ^ { l }$ and $\\mathcal { D } ^ { u }$ are relevant though different, so that the properties that constitute a class learned from $\\mathcal { D } ^ { l }$ can be transferred to $\\mathcal { D } ^ { u }$ . Following [18], we assume $C ^ { u }$ is known a priori. When it is unknown, we can employ off-the-shelf methods such as [20] to get an estimate. ",
|
| 219 |
+
"bbox": [
|
| 220 |
+
174,
|
| 221 |
+
582,
|
| 222 |
+
825,
|
| 223 |
+
670
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 2
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "To tackle this challenge, we introduce a framework with mutual knowledge distillation between a global branch and a local branch (see fig. 1). The global branch is designed to capture the overall feature, while the local branch is designed to focus on each individual spatial local part. They have a shared feature extractor $f _ { \\theta }$ . Each branch has a feature projection layer and two linear heads. We denote the feature projection layer as $\\psi$ and the two linear heads as $\\eta ^ { l }$ and $\\eta ^ { u }$ respectively. We also denote $\\psi$ followed by the average pooling operation as $\\bar { \\psi }$ . Unless stated otherwise, we use subscripts $g$ and $p$ to differentiate feature projection layers and linear heads of global and local branches respectively in the rest of the paper. The two linear heads are responsible for classifying $C ^ { l }$ labelled categories and clustering $C ^ { u }$ unlabelled categories respectively. To transfer knowledge from the labelled data to the unlabelled data, we adopt global image level and local object part-level ranking statistics on the feature representations. In this way, the model will have reliable pseudo labels for training on the unlabelled data. Moreover, we also incorporate mutual knowledge distillation between the two branches to enforce global and local agreement, leading to more reliable novel category discovery. Next, we will introduce each component of our framework in more detail. In section 3.1, we first introduce the our knowledge transfer method using dual ranking statistics. In section 3.2, we describe our mutual knowledge distillation method for novel category discovery. Lastly, we summarize the overall training loss in section 3.3. ",
|
| 230 |
+
"bbox": [
|
| 231 |
+
174,
|
| 232 |
+
676,
|
| 233 |
+
825,
|
| 234 |
+
911
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 2
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "image",
|
| 240 |
+
"img_path": "images/2dd763a851145b2b50eaa5dc81b0f5491e1b84c655a2ef8f98c275b9f126162c.jpg",
|
| 241 |
+
"image_caption": [
|
| 242 |
+
"Figure 1: Overview of our proposed method. An input image $x _ { i }$ is firstly processed by the feature extractor ranking s $f _ { \\theta }$ . The resulting feature is sent to the glistics on the global feature embedding al and local branches. The globato generate pseudo labels to the ch usesloss for $z _ { i }$ $\\mathcal { L } _ { \\mathrm { B C E } } ^ { g }$ new class discovery, while the local branch uses ranking statistics on the similarity score vector $o _ { i }$ between each of the local parts and a dynamic part dictionary to generate pseudo-labels. The two branches mutually distill knowledge from each other to allow information exchange and encourage agreement through two auxiliary memory banks with $\\mathcal { L } _ { \\mathrm { s K L D } }$ loss. We omit the supervised linear head, cross-entropy loss $\\mathcal { L } _ { \\mathrm { C E } }$ and consistency loss $\\mathcal { L } _ { \\mathrm { M S E } }$ in the plot for the sake of clarity. "
|
| 243 |
+
],
|
| 244 |
+
"image_footnote": [],
|
| 245 |
+
"bbox": [
|
| 246 |
+
238,
|
| 247 |
+
89,
|
| 248 |
+
758,
|
| 249 |
+
313
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 3
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "3.1 Dual ranking statistics for knowledge transfer ",
|
| 256 |
+
"text_level": 1,
|
| 257 |
+
"bbox": [
|
| 258 |
+
174,
|
| 259 |
+
438,
|
| 260 |
+
532,
|
| 261 |
+
453
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 3
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "It is proven that ranking statistics is robust to noise, especially in high-dimensional space [51]. Han et al. [18] proposed to use ranking statistics for novel category discovery. The idea is to generate pair-wise pseudo labels by comparing the top- $k$ ranks of two feature vectors via examining the feature magnitude. Specifically, the binary pseudo label $s _ { i j }$ is determined by ",
|
| 268 |
+
"bbox": [
|
| 269 |
+
173,
|
| 270 |
+
463,
|
| 271 |
+
825,
|
| 272 |
+
520
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 3
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "equation",
|
| 278 |
+
"img_path": "images/5a2c479ee1f578e24436be898fe014614f7307b0782058f35cd28d783aa80e6e.jpg",
|
| 279 |
+
"text": "$$\ns _ { i j } = \\mathbb { 1 } \\left\\{ \\mathrm { t o p } _ { k } ( z _ { i } ) = \\mathrm { t o p } _ { k } ( z _ { j } ) \\right\\} ,\n$$",
|
| 280 |
+
"text_format": "latex",
|
| 281 |
+
"bbox": [
|
| 282 |
+
390,
|
| 283 |
+
525,
|
| 284 |
+
606,
|
| 285 |
+
542
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 3
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "text",
|
| 291 |
+
"text": "where $z _ { i }$ and $z _ { j }$ are feature vectors of two unlabelled images. With the binary pseudo labels, the model can then be trained using the binary cross-entropy loss on the unlabelled data. ",
|
| 292 |
+
"bbox": [
|
| 293 |
+
174,
|
| 294 |
+
547,
|
| 295 |
+
825,
|
| 296 |
+
577
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 3
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"text": "Unlike [18] which only considers global image feature descriptors, we also explore each individual object part for novel category discovery. Verification based on part-level features has been shown to be effective to match two images (e.g. [55, 12]). The pair-wise verification using global features focuses on the holistic structure of the object and thus may introduce more false positives with high recall (but low precision). While pair-wise verification using local part features focuses on local details, which is more strict, and thus may introduce more false negatives with high precision (but low recall) [7]. Hence, local part features and global features are complementary to each other for verification and should be considered jointly for more robust category discovery, as ideally we expect to have both high precision and recall. Therefore, to achieve this goal, we propose to have one branch using global features and another branch using part-level features. Ranking statistics is applied on each branch to generate pseudo labels. For the global one, we simply apply a soft extension of the hard ranking statistics [18]. In particular, instead of forcing $s _ { i j }$ in eq. (1) to be either 0 or 1, it can be replaced by a continuous value $\\begin{array} { r } { s _ { i j } = \\frac { c } { k } \\in [ 0 , 1 ] } \\end{array}$ where $c$ is the number of shared elements in $\\mathrm { t o p } _ { k } ( z _ { i } )$ and $\\mathrm { t o p } _ { k } ( z _ { j } )$ . Hence, the BCE loss for the global branch can be written as ",
|
| 303 |
+
"bbox": [
|
| 304 |
+
173,
|
| 305 |
+
582,
|
| 306 |
+
825,
|
| 307 |
+
776
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 3
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "equation",
|
| 313 |
+
"img_path": "images/ba36f05637bdeb30fefdeff42ea38835e59c22d033bae20b54419d0a6f5f0cd1.jpg",
|
| 314 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { B C E } } ^ { g } = - \\frac { 1 } { M ^ { 2 } } \\sum _ { i = 1 } ^ { M } \\sum _ { j = 1 } ^ { M } [ s _ { i j } ^ { g } \\log \\eta _ { g } ^ { u } ( z _ { i } ^ { u } ) ^ { \\top } \\eta _ { g } ^ { u } ( z _ { j } ^ { u } ) + ( 1 - s _ { i j } ^ { g } ) \\log ( 1 - \\eta _ { g } ^ { u } ( z _ { i } ^ { u } ) ^ { \\top } \\eta _ { g } ^ { u } ( z _ { j } ^ { u } ) ) ] ,\n$$",
|
| 315 |
+
"text_format": "latex",
|
| 316 |
+
"bbox": [
|
| 317 |
+
215,
|
| 318 |
+
782,
|
| 319 |
+
781,
|
| 320 |
+
827
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 3
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"text": "where $M$ is the number of unlabelled images, $z _ { i } ^ { u } = \\bar { \\psi } _ { g } ( f _ { \\theta } ( x _ { i } ^ { u } ) ) \\in \\mathbb { R } ^ { d }$ is a global feature vector of the image $x _ { i } ^ { u }$ , and $s _ { i j } ^ { g }$ is the soft ranking statistics score between $x _ { i } ^ { u }$ and $x _ { j } ^ { u }$ . ",
|
| 327 |
+
"bbox": [
|
| 328 |
+
173,
|
| 329 |
+
833,
|
| 330 |
+
825,
|
| 331 |
+
864
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 3
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "For the local one, we propose to maintain a memory bank to act as a dynamic object part dictionary and obtain the ranking statistics by comparing each object part with the collection of part descriptors in the memory bank. Concretely, the memory bank is a First-In-First-Out (FIFO) queue $\\mathcal { V } = [ v _ { 1 } , \\dotsc , v _ { e } ]$ storing the part-level features, where $e$ is the number of part-level features in the queue. Each part feature in $v$ is the $d$ -dimensional feature vector from a randomly selected spatial location in the feature map $\\psi _ { p } ( f _ { \\theta } ( x _ { i } ) ) \\in \\mathbb { R } ^ { d \\times h \\times w }$ of an randomly sampled image $x _ { i } \\in \\mathcal { D } ^ { l } \\dot { \\cup } \\mathcal { D } ^ { u }$ . We select one part feature vector from each image in current mini-batch. Other part sampling methods like using all parts or selecting based on activation maps can also be applied (as will be seen in section 4.3), while we found that the simple random sampling is on par with other more complicated methods. Following MoCo [21], when the current mini-batch of part features is enqueued into $\\nu$ , the oldest mini-batch in $\\nu$ is dequeued. For the feature vector $q _ { j } ^ { u }$ drawn at every spatial location of the feature map $\\psi _ { p } ( f _ { \\theta } ( x _ { i } ^ { u } ) )$ in current mini-batch, we can then obtain a $e$ -dimensional vector representing the similarity between $q _ { j }$ and all part features in the dictionary $\\nu$ . All $q _ { j }$ for $x _ { i } ^ { u }$ across $h \\times w$ locations are then fused together by average-pooling. Let us denote by $o _ { i } ^ { u } \\in \\mathbb { R } ^ { e }$ the fused similarity vector (see fig. 2). For any pair of unlabelled images $x _ { i } ^ { u }$ and $x _ { j } ^ { u }$ in current mini-batch, their soft ranking statistics score $s _ { i j } ^ { p }$ can then be obtained by comparing $o _ { i } ^ { u }$ and $o _ { j } ^ { u }$ as described above for the global feature descriptors. Similar to eq. (2), we can define the BCE loss $\\mathcal { L } _ { \\mathrm { B C E } } ^ { p }$ to train the local branch. The BCE loss for both branches can then be written as ",
|
| 338 |
+
"bbox": [
|
| 339 |
+
174,
|
| 340 |
+
869,
|
| 341 |
+
825,
|
| 342 |
+
911
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 3
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "image",
|
| 348 |
+
"img_path": "images/cb7a4df580fce62457decb56c6de81a066ec16a461e9267e44526bb300df2b49.jpg",
|
| 349 |
+
"image_caption": [
|
| 350 |
+
"Figure 2: Design of the local comparison process. Each part of an image is compared against all parts in the memory bank $\\nu$ , forming one similarity vector for each part. All resulting similarity vectors are then fused to a single vector by average pooling, which is used to generate pair-wise pseudo labels. "
|
| 351 |
+
],
|
| 352 |
+
"image_footnote": [],
|
| 353 |
+
"bbox": [
|
| 354 |
+
209,
|
| 355 |
+
88,
|
| 356 |
+
792,
|
| 357 |
+
289
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 4
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "text",
|
| 363 |
+
"text": "",
|
| 364 |
+
"bbox": [
|
| 365 |
+
174,
|
| 366 |
+
358,
|
| 367 |
+
825,
|
| 368 |
+
571
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 4
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "equation",
|
| 374 |
+
"img_path": "images/16d8f47546925c5617567648a7bd985bc9600adf8fc1b71a27ee79a7864f792e.jpg",
|
| 375 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { L } _ { \\mathrm { B C E } } = \\mathcal { L } _ { \\mathrm { B C E } } ^ { g } + \\mathcal { L } _ { \\mathrm { B C E } } ^ { p } . } \\end{array}\n$$",
|
| 376 |
+
"text_format": "latex",
|
| 377 |
+
"bbox": [
|
| 378 |
+
421,
|
| 379 |
+
575,
|
| 380 |
+
575,
|
| 381 |
+
594
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 4
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "text",
|
| 387 |
+
"text": "3.2 Mutual knowledge distillation for novel category discovery ",
|
| 388 |
+
"text_level": 1,
|
| 389 |
+
"bbox": [
|
| 390 |
+
174,
|
| 391 |
+
608,
|
| 392 |
+
619,
|
| 393 |
+
623
|
| 394 |
+
],
|
| 395 |
+
"page_idx": 4
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"type": "text",
|
| 399 |
+
"text": "So far, our model considers local and global information in two branches independently. To make the two branches directly benefit from each other, we propose a mutual knowledge distillation method for novel category discovery to allow information exchange and encourage agreement between the local and global branches. ",
|
| 400 |
+
"bbox": [
|
| 401 |
+
174,
|
| 402 |
+
633,
|
| 403 |
+
825,
|
| 404 |
+
689
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 4
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "text",
|
| 410 |
+
"text": "Existing mutual knowledge distillation methods are normally designed for two models (i.e., teacher model and student model or two peer models) [24, 56], while we distill between two branches of the same model with each branch having a different focus. More importantly, unlike the conventional mutual learning and knowledge distillation methods that have the same class assignment for the same input due to the availability of labels, in our setting, the cluster assignments of the unlabelled linear heads $\\eta _ { g } ^ { u }$ and $\\eta _ { p } ^ { u }$ for the same unlabelled data point may be completely different for the two branches. Therefore, these knowledge distillation methods can not be applied for novel category discovery. Recently, [13] introduced the knowledge distillation between the teacher and student models by comparing the similarity score distribution between each instance and a queue of features from the larger teacher model. Inspired by [13], we develop a mutual knowledge distillation method between the local and global branches for novel category discovery without using labels. ",
|
| 411 |
+
"bbox": [
|
| 412 |
+
173,
|
| 413 |
+
695,
|
| 414 |
+
825,
|
| 415 |
+
848
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 4
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "text",
|
| 421 |
+
"text": "Instead of using the softmax output of $\\eta _ { g } ^ { u }$ and $\\eta _ { p } ^ { u }$ for mutual learning, which is invalid in our case, we mutually distill the two branches via the similarity score distribution over a memory bank per branch. Specifically, we maintain two FIFO feature banks to store the features extracted by $\\bar { \\psi } _ { p }$ and $\\bar { \\psi } _ { g }$ , denoted as $B _ { p } = [ b _ { 1 } ^ { p } , \\ldots , b _ { T } ^ { p } ]$ and $B _ { g } = [ b _ { 1 } ^ { g } , \\dotsc , b _ { T } ^ { g } ]$ . Both $B _ { p }$ and $B _ { g }$ contain features of $x _ { i } \\in \\mathcal { D } ^ { l } \\cup \\mathcal { D } ^ { u }$ . Again, similar to MoCo [21], when the current mini-batch is enqueued, the oldest mini-batch is dequeued in both memory banks. For each unlabelled image $x _ { i } ^ { u }$ , we first obtain the feature representations using $z _ { i } ^ { u } = \\bar { \\psi } _ { g } ( \\dot { f } _ { \\theta } ( x _ { i } ^ { u } ) )$ and $z _ { i } ^ { \\prime u } = \\bar { \\psi } _ { p } ( f _ { \\theta } ( x _ { i } ^ { u } ) )$ . The similarity score distribution $p ^ { g } ( x _ { i } ^ { u } , B _ { g } )$ and $p ^ { p } ( x _ { i } ^ { u } , B _ { p } )$ can be defined as ",
|
| 422 |
+
"bbox": [
|
| 423 |
+
174,
|
| 424 |
+
854,
|
| 425 |
+
825,
|
| 426 |
+
912
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 4
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "",
|
| 433 |
+
"bbox": [
|
| 434 |
+
173,
|
| 435 |
+
90,
|
| 436 |
+
825,
|
| 437 |
+
148
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 5
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "equation",
|
| 443 |
+
"img_path": "images/e5f619a092210288e1b498fd2d006058190429b2a6095cb0e8d0fdca7edaa471.jpg",
|
| 444 |
+
"text": "$$\np ^ { g } ( x _ { i } ^ { u } , \\mathcal { B } _ { g } ) = [ p _ { 1 } ^ { g } , \\dotsc , p _ { T } ^ { g } ] , \\quad p _ { j } ^ { g } = \\frac { e x p ( z _ { i } ^ { u } \\cdot b _ { j } ^ { g } / \\tau ) } { \\sum _ { b _ { k } ^ { g } \\sim \\mathcal { B } _ { g } } e x p ( z _ { i } ^ { u } \\cdot b _ { k } ^ { g } / \\tau ) }\n$$",
|
| 445 |
+
"text_format": "latex",
|
| 446 |
+
"bbox": [
|
| 447 |
+
299,
|
| 448 |
+
155,
|
| 449 |
+
699,
|
| 450 |
+
195
|
| 451 |
+
],
|
| 452 |
+
"page_idx": 5
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"type": "text",
|
| 456 |
+
"text": "and ",
|
| 457 |
+
"bbox": [
|
| 458 |
+
173,
|
| 459 |
+
202,
|
| 460 |
+
200,
|
| 461 |
+
215
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 5
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "equation",
|
| 467 |
+
"img_path": "images/45e7a8ed78d9e6ce99d4682956be3caf248e0b1df3885cec6f6c897ab3abbf1b.jpg",
|
| 468 |
+
"text": "$$\np ^ { p } ( x _ { i } ^ { u } , \\mathcal { B } _ { p } ) = [ p _ { 1 } ^ { p } , \\ldots , p _ { T } ^ { p } ] , \\quad p _ { j } ^ { p } = \\frac { e x p ( z _ { i } ^ { \\prime u } \\cdot b _ { j } ^ { p } / \\tau ) } { \\sum _ { b _ { k } ^ { p } \\sim \\mathcal { B } _ { p } } e x p ( z _ { i } ^ { \\prime u } \\cdot b _ { k } ^ { p } / \\tau ) }\n$$",
|
| 469 |
+
"text_format": "latex",
|
| 470 |
+
"bbox": [
|
| 471 |
+
297,
|
| 472 |
+
213,
|
| 473 |
+
700,
|
| 474 |
+
252
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 5
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "text",
|
| 480 |
+
"text": "where $\\tau$ is a scalar temperature to control the sharpness of the similarity score distribution. ",
|
| 481 |
+
"bbox": [
|
| 482 |
+
176,
|
| 483 |
+
256,
|
| 484 |
+
766,
|
| 485 |
+
270
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 5
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "text",
|
| 491 |
+
"text": "To encourage agreement between the similarity score distributions of an unlabelled image from two branches, we apply mutual learning on the score distribution using the symmetric Kullback-Leibler Divergence (sKLD) loss ",
|
| 492 |
+
"bbox": [
|
| 493 |
+
176,
|
| 494 |
+
276,
|
| 495 |
+
823,
|
| 496 |
+
318
|
| 497 |
+
],
|
| 498 |
+
"page_idx": 5
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"type": "equation",
|
| 502 |
+
"img_path": "images/0edc5ba469b7b673ed8c4ed500b5012db474c945cdb4434cb6cc16cc9072fb1c.jpg",
|
| 503 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { s K L D } } = \\frac { 1 } { 2 } ( D _ { K L } ( p ^ { p } \\| p ^ { g } ) + D _ { K L } ( p ^ { g } \\| p ^ { p } ) )\n$$",
|
| 504 |
+
"text_format": "latex",
|
| 505 |
+
"bbox": [
|
| 506 |
+
356,
|
| 507 |
+
325,
|
| 508 |
+
640,
|
| 509 |
+
356
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 5
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "where $D _ { K L }$ is the Kullback–Leibler (KL) divergence with $\\begin{array} { r } { D _ { K L } ( p _ { 1 } \\| p _ { 2 } ) = p _ { 1 } \\log \\frac { p _ { 1 } } { p _ { 2 } } } \\end{array}$ . In this way, the global and local branches of the model can learn from each other, while maintaining their own merits. Our mutual knowledge distillation method differs from SEED [13] in several aspects. First, SEED aims at improving high level visual representation, while we aim at enforcing the agreement between local and global features for novel category discovery; second, SEED distills between two different models while we distill between two branches of the same model; third, SEED maintains a queue derived from the global features of the teacher model, while we maintain two queues as dictionaries for global and local features; last, in SEED the larger teacher model is frozen during distillation and the student model is trained with cross-entropy loss, whereas in our method both branches are jointly trained with the sKLD loss. ",
|
| 516 |
+
"bbox": [
|
| 517 |
+
173,
|
| 518 |
+
361,
|
| 519 |
+
826,
|
| 520 |
+
503
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 5
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"text": "3.3 Overall training loss ",
|
| 527 |
+
"text_level": 1,
|
| 528 |
+
"bbox": [
|
| 529 |
+
174,
|
| 530 |
+
520,
|
| 531 |
+
354,
|
| 532 |
+
535
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 5
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "Apart from the BCE and sKLD losses introduced above, we also apply the standard cross-entropy loss on both branches, which is written as ",
|
| 539 |
+
"bbox": [
|
| 540 |
+
174,
|
| 541 |
+
545,
|
| 542 |
+
823,
|
| 543 |
+
574
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 5
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "equation",
|
| 549 |
+
"img_path": "images/737a2273cec0375fe0a1665e2b8e0e6eb56c0b69be5d158f431718c64e25dd40.jpg",
|
| 550 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { C E } } = - \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } y _ { i } \\log \\eta _ { g } ^ { l } ( z _ { i } ^ { l } ) + y _ { i } \\log \\eta _ { p } ^ { l } ( z _ { i } ^ { \\prime l } )\n$$",
|
| 551 |
+
"text_format": "latex",
|
| 552 |
+
"bbox": [
|
| 553 |
+
348,
|
| 554 |
+
580,
|
| 555 |
+
648,
|
| 556 |
+
625
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 5
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "text",
|
| 562 |
+
"text": "where $N$ is the number of labeled images, $z _ { i } ^ { l } = \\bar { \\psi } _ { g } ( f _ { \\theta } ( x _ { i } ^ { l } ) )$ , and $z _ { i } ^ { \\prime l } = \\bar { \\psi } _ { p } ( f _ { \\theta } ( x _ { i } ^ { l } ) )$ . Similar to [18], the feature extractor $f _ { \\theta }$ is pretrained with self-supervised learning and is frozen during the training for novel category discovery. ",
|
| 563 |
+
"bbox": [
|
| 564 |
+
174,
|
| 565 |
+
632,
|
| 566 |
+
825,
|
| 567 |
+
676
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 5
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "text",
|
| 573 |
+
"text": "Following [18, 20], we also include the consistency regularization loss to enforce the predictions of the same data point under different transformations to be the same. Specifically, let ${ \\hat { x } } _ { i }$ be a randomly transformed counterpart of the input image $x _ { i }$ . The consistency loss is then defined as ",
|
| 574 |
+
"bbox": [
|
| 575 |
+
174,
|
| 576 |
+
681,
|
| 577 |
+
825,
|
| 578 |
+
724
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 5
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "equation",
|
| 584 |
+
"img_path": "images/4807437b0699850e032e926492139b8086d006acd543d936203265f5329d5476.jpg",
|
| 585 |
+
"text": "$$\n\\begin{array} { r l r } & { } & { \\mathcal { L } _ { \\mathrm { M S E } } = \\displaystyle \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } [ ( \\eta _ { g } ^ { l } ( z _ { i } ^ { l } ) - \\eta _ { g } ^ { l } ( \\hat { z } _ { i } ^ { l } ) ) ^ { 2 } + ( \\eta _ { p } ^ { l } ( z _ { i } ^ { \\prime l } ) - \\eta _ { p } ^ { l } ( \\hat { z } _ { i } ^ { \\prime l } ) ) ^ { 2 } ) ] + } \\\\ & { } & { \\displaystyle \\frac { 1 } { M } \\sum _ { i = 1 } ^ { M } [ ( \\eta _ { g } ^ { u } ( z _ { i } ^ { u } ) - \\eta _ { g } ^ { u } ( \\hat { z } _ { i } ^ { u } ) ) ^ { 2 } + ( \\eta _ { p } ^ { u } ( z _ { i } ^ { \\prime u } ) - \\eta _ { p } ^ { u } ( \\hat { z } _ { i } ^ { \\prime u } ) ) ^ { 2 } ] , } \\end{array}\n$$",
|
| 586 |
+
"text_format": "latex",
|
| 587 |
+
"bbox": [
|
| 588 |
+
290,
|
| 589 |
+
731,
|
| 590 |
+
700,
|
| 591 |
+
820
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 5
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "where $\\hat { z } _ { i }$ is the feature embedding of the transformed image ${ \\hat { x } } _ { i }$ . Without enforcing the consistency, we may have different ranking statistics for $\\hat { z } _ { i }$ and $z _ { i }$ , which will lead to diffferent $s _ { i j }$ for the same images under different augmentation, confusing the training. ",
|
| 598 |
+
"bbox": [
|
| 599 |
+
174,
|
| 600 |
+
825,
|
| 601 |
+
825,
|
| 602 |
+
867
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 5
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "In summary, the overall loss function used to train our model is ",
|
| 609 |
+
"bbox": [
|
| 610 |
+
173,
|
| 611 |
+
873,
|
| 612 |
+
589,
|
| 613 |
+
888
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 5
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "equation",
|
| 619 |
+
"img_path": "images/f19903b196c3c3b67ee93ba70830a5286523c5f1902e405ceeb4460e28fd2b3f.jpg",
|
| 620 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { L } = \\mathcal { L } _ { \\mathrm { B C E } } + \\mathcal { L } _ { \\mathrm { s K L D } } + \\mathcal { L } _ { \\mathrm { C E } } + \\omega ( t ) \\mathcal { L } _ { \\mathrm { M S E } } , } \\end{array}\n$$",
|
| 621 |
+
"text_format": "latex",
|
| 622 |
+
"bbox": [
|
| 623 |
+
364,
|
| 624 |
+
896,
|
| 625 |
+
632,
|
| 626 |
+
912
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 5
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "text",
|
| 632 |
+
"text": "where $\\omega ( t ) = \\lambda e ^ { - 5 ( 1 - \\frac { t } { r } ) ^ { 2 } }$ is a ramp-up function as widely used in the literature [46, 33, 18] with $\\lambda \\in \\mathbb { R } _ { + }$ . $t$ and $r$ are the current time step and the ramp-up length respectively. ",
|
| 633 |
+
"bbox": [
|
| 634 |
+
174,
|
| 635 |
+
88,
|
| 636 |
+
823,
|
| 637 |
+
119
|
| 638 |
+
],
|
| 639 |
+
"page_idx": 6
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"type": "text",
|
| 643 |
+
"text": "After training, as the two branches already agree with each other, we simply take the output of the global branch as the final prediction. In particular, for each unlabelled image, we take the index of the max value in the softmax output as its cluster assignment. It is also worth noting that the memory banks and ranking statistics are no longer needed at inference time. ",
|
| 644 |
+
"bbox": [
|
| 645 |
+
174,
|
| 646 |
+
126,
|
| 647 |
+
825,
|
| 648 |
+
181
|
| 649 |
+
],
|
| 650 |
+
"page_idx": 6
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"type": "text",
|
| 654 |
+
"text": "4 Experimental results ",
|
| 655 |
+
"text_level": 1,
|
| 656 |
+
"bbox": [
|
| 657 |
+
176,
|
| 658 |
+
200,
|
| 659 |
+
379,
|
| 660 |
+
218
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 6
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "4.1 Experimental setup ",
|
| 667 |
+
"text_level": 1,
|
| 668 |
+
"bbox": [
|
| 669 |
+
176,
|
| 670 |
+
234,
|
| 671 |
+
349,
|
| 672 |
+
250
|
| 673 |
+
],
|
| 674 |
+
"page_idx": 6
|
| 675 |
+
},
|
| 676 |
+
{
|
| 677 |
+
"type": "text",
|
| 678 |
+
"text": "Benchmark and evaluation metric. We follow [18] to validate our method on a variety of benchmark datasets for generic image classification including CIFAR-10 [31], CIFAR-100 [31] and ImageNet-1K [11]. For ImageNet-1K, three 30-class unlabelled splits are used in the experiments and the average performance is reported. We further experiment with ImageNet100 [47] which has less number of labelled classes but the same number of unlabelled classes as ImageNet-1K. In addition, we also validate our method on the more challenging fine-grained datasets including CUB-200 [49], Stanford-Cars [30], and FGVC aircraft [36]. One key assumption for novel category discovery is that the labelled classes are relevant to the unlabelled ones. ",
|
| 679 |
+
"bbox": [
|
| 680 |
+
173,
|
| 681 |
+
261,
|
| 682 |
+
826,
|
| 683 |
+
371
|
| 684 |
+
],
|
| 685 |
+
"page_idx": 6
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"type": "table",
|
| 689 |
+
"img_path": "images/bd52297edd59fbfaaa7576c415561103ddc8d8b32165c96b585f8e401c826e4c.jpg",
|
| 690 |
+
"table_caption": [
|
| 691 |
+
"Table 1: Data splits in the experiments. "
|
| 692 |
+
],
|
| 693 |
+
"table_footnote": [],
|
| 694 |
+
"table_body": "<table><tr><td></td><td>labelled</td><td>unlabelled</td></tr><tr><td>CIFAR-10</td><td>5</td><td>5</td></tr><tr><td>CIFAR-100</td><td>80</td><td>20</td></tr><tr><td>ImageNet-1K</td><td>882</td><td>{30,30,30}</td></tr><tr><td>ImageNet-100</td><td>70</td><td>30</td></tr><tr><td>CUB-200</td><td>160</td><td>40</td></tr><tr><td>Stanford-Cars</td><td>156</td><td>40</td></tr><tr><td>FGVC-aircraft</td><td>81</td><td>21</td></tr></table>",
|
| 695 |
+
"bbox": [
|
| 696 |
+
531,
|
| 697 |
+
397,
|
| 698 |
+
821,
|
| 699 |
+
530
|
| 700 |
+
],
|
| 701 |
+
"page_idx": 6
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"type": "text",
|
| 705 |
+
"text": "Due to the diversity of classes in generic image recognition datasets, it is not easy to tell the relevance between classes, though it is implicitly contained in the rules used to identify classes during data curation. In contrast, the relevance of the fine-grained datasets is explicitly determined by the fact that all classes in a fine-grained dataset belong to the same entry level class, e.g., birds, cars, and airplanes for the above fine-grained datasets. Besides, the fine-grained datasets pose more challenges for novel category discovery because of the high inter-class similarity. In this case, spatial local details become crucial clues to distinguish them. The labelled and unlabelled splits are summarized in table 1. ",
|
| 706 |
+
"bbox": [
|
| 707 |
+
174,
|
| 708 |
+
372,
|
| 709 |
+
517,
|
| 710 |
+
536
|
| 711 |
+
],
|
| 712 |
+
"page_idx": 6
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"type": "text",
|
| 716 |
+
"text": "",
|
| 717 |
+
"bbox": [
|
| 718 |
+
174,
|
| 719 |
+
536,
|
| 720 |
+
689,
|
| 721 |
+
550
|
| 722 |
+
],
|
| 723 |
+
"page_idx": 6
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"type": "text",
|
| 727 |
+
"text": "We follow the standard practice in the literature to adopt clustering accuracy (ACC) on the unlabelled data as the metric for evaluation. It is defined as 1N PNti=1 $\\begin{array} { r } { \\frac { 1 } { N _ { t } } \\dot { \\sum } _ { i = 1 } ^ { N _ { t } } \\mathbb { 1 } ( y _ { i } ^ { * } = h ( y _ { i } ) ) } \\end{array}$ where $h$ is the optimal permutation obtained by Hungarian algorithm [32] that can match the clustering assignment $y _ { i }$ with the ground-truth label $y _ { i } ^ { * }$ , and $N _ { t }$ is the number of unlabelled images. ",
|
| 728 |
+
"bbox": [
|
| 729 |
+
174,
|
| 730 |
+
556,
|
| 731 |
+
825,
|
| 732 |
+
617
|
| 733 |
+
],
|
| 734 |
+
"page_idx": 6
|
| 735 |
+
},
|
| 736 |
+
{
|
| 737 |
+
"type": "text",
|
| 738 |
+
"text": "Implementation details. We follow [18] to initialize our model with parameters pretrained by self-supervised learning. Our default model is realized based on ResNet50 [23]. Namely, the first three macro blocks of ResNet50 are the feature extractor, $f _ { \\theta }$ , which is initialized with MoCov2 [8] pretrained on ImageNet via self-supervision and are frozen during training for novel category discovery. The last macro block is duplicated into two as the projection layers $\\psi _ { p }$ and $\\psi _ { g }$ , for local and global branches respectively. Each of them is followed by two linear heads, $\\eta ^ { l }$ and $\\eta ^ { u }$ , for labelled and unlabelled data respectively. For a fair comparison with prior methods, we also experiment using ResNet18 with RotNet [17] initialization. For all our experiments, we use SGD with momentum [44] as the optimizer and use a batch size of 128 for labelled data and 64 for unlabelled data. The temperature parameter $\\tau$ is set to 0.07, and the size of the three memory-banks are all set to 2048 for memory efficiency and also considering the relatively limited number of images in the fine-grained datasets. For the dual ranking statistics, we set $k = 5$ for the global branch following [18], and $k = 3 0$ for the local branch to include more local parts into consideration. Our experiments are performed using GTX 1080Ti GPUs. ",
|
| 739 |
+
"bbox": [
|
| 740 |
+
173,
|
| 741 |
+
632,
|
| 742 |
+
825,
|
| 743 |
+
827
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 6
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "text",
|
| 749 |
+
"text": "4.2 Comparison to the state-of-the-art ",
|
| 750 |
+
"text_level": 1,
|
| 751 |
+
"bbox": [
|
| 752 |
+
176,
|
| 753 |
+
844,
|
| 754 |
+
450,
|
| 755 |
+
858
|
| 756 |
+
],
|
| 757 |
+
"page_idx": 6
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "text",
|
| 761 |
+
"text": "Comparison on generic image classification datasets. In table 2, we compare our method with baselines and state-of-the-art methods for novel category discovery on generic image classification datasets CIFAR-10, CIFAR-100, and ImageNet following the same protocol as RankStat [18] for fairness. Our method achieves state-of-the-art results on all datasets. It can be seen that our method significantly outperforms $k$ -means, KCL [25], MCL [26], and DTC [20]. Notably, our method outperforms the previous state-of-the-art [18] on the most challenging ImageNet-1K dataset by a significant margin of $6 . 4 \\%$ . The improvements on CIFAR-10 and CIFAR-100 are smaller. We hypothesize that this is due to the spatial resolution discrepancy. The image resolution of CIFAR-10 and CIFAR-100 is only $3 2 \\times 3 2$ , which leads to very small spatial local features. Thus, the local branch cannot offer much more useful information than the global branch. In contrast, the input resolution of ImageNet-1K is $2 2 4 \\times 2 2 4$ . Hence, a larger spatial feature map can be obtained to take more advantages of the local branch. ",
|
| 762 |
+
"bbox": [
|
| 763 |
+
176,
|
| 764 |
+
869,
|
| 765 |
+
823,
|
| 766 |
+
911
|
| 767 |
+
],
|
| 768 |
+
"page_idx": 6
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"text": "",
|
| 773 |
+
"bbox": [
|
| 774 |
+
173,
|
| 775 |
+
90,
|
| 776 |
+
825,
|
| 777 |
+
215
|
| 778 |
+
],
|
| 779 |
+
"page_idx": 7
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "table",
|
| 783 |
+
"img_path": "images/85539cc589c76a4ab1b4312bb92863971bda641195612df14532cde322506730.jpg",
|
| 784 |
+
"table_caption": [
|
| 785 |
+
"Table 2: Comparison of novel category discovery on generic classification datasets. For fair comparison, our method uses ResNet18 [23] backbone initialized with RotNet [17] following [18]. "
|
| 786 |
+
],
|
| 787 |
+
"table_footnote": [],
|
| 788 |
+
"table_body": "<table><tr><td>No</td><td>Method</td><td>CIFAR-10</td><td>CIFAR-100</td><td>ImageNet-1K</td></tr><tr><td>(1)</td><td>k-means [35]</td><td>72.5±0.0%</td><td>56.3±1.7%</td><td>71.9%</td></tr><tr><td>(2)</td><td>KCL [25]</td><td>66.5±3.9%</td><td>14.3±1.3%</td><td>73.8%</td></tr><tr><td>(3)</td><td>MCL [26]</td><td>64.2±0.1%</td><td>21.3±3.4%</td><td>74.4%</td></tr><tr><td>(4)</td><td>DTC[20]</td><td>87.5±0.3%</td><td>56.7±1.2%</td><td>78.3%</td></tr><tr><td>(5)</td><td>RankStat [18]</td><td>90.4±0.5%</td><td>73.2±2.1%</td><td>82.5%</td></tr><tr><td>(6)</td><td>Ours</td><td>91.6±0.6%</td><td>75.3±2.3%</td><td>88.9%</td></tr></table>",
|
| 789 |
+
"bbox": [
|
| 790 |
+
269,
|
| 791 |
+
263,
|
| 792 |
+
728,
|
| 793 |
+
376
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 7
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "text",
|
| 799 |
+
"text": "Comparison on fine-grained image classification datasets. In table 3, we compare with other methods on fine-grained image classification datasets. In these datasets, the difference of holistic structure between classes is small, and the classes are mostly differentiated by the local details. Thus, only looking at the global feature descriptors is far from enough for the fine-grained scenario, where the local information plays a vital role. Comparing rows 2–3 with row 5, it can be observed that our proposed method substantially outperforms previous state-of-the-art models that only use global features. For example, our method shows $8 . 3 \\%$ , $8 . 1 \\%$ and $4 . 1 \\%$ improvements respectively on CUB-200, Stanford-Cars and FGVC-Aircraft over RankStat [18]. To further verify the effectiveness of our local branch, we carry out another experiment by dropping the global branch (row 4 in table 3). Dropping the global branch will disable the mutual knowledge distillation accordingly. It can be seen that using the local branch alone already yields a notable improvement over RankStat [18] (row 3 vs row 4). Our full method establishes the new state-of-the-art. ",
|
| 800 |
+
"bbox": [
|
| 801 |
+
173,
|
| 802 |
+
397,
|
| 803 |
+
826,
|
| 804 |
+
563
|
| 805 |
+
],
|
| 806 |
+
"page_idx": 7
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"type": "table",
|
| 810 |
+
"img_path": "images/f45a485ceb4479670a43c65f627906a1acca721d0098bbc8ac827ec4a2993b70.jpg",
|
| 811 |
+
"table_caption": [
|
| 812 |
+
"Table 3: Comparison of novel category discovery on fine-grained classification datasets. “Ours w/o global” means our proposed method without global branch and mutual distillation. "
|
| 813 |
+
],
|
| 814 |
+
"table_footnote": [],
|
| 815 |
+
"table_body": "<table><tr><td>No</td><td>Method</td><td>CUB-200</td><td>Stanford-Cars</td><td>FGVC-Aircraft</td></tr><tr><td>(1)</td><td>k-means [35]</td><td>20.4 ±1.1%</td><td>31.4 ± 0.9%</td><td>44.7 ± 1.3%</td></tr><tr><td>(2)</td><td>DTC[20]</td><td>33.6 ± 0.7%</td><td>46.5 ± 2.4%</td><td>58.7 ± 1.2%</td></tr><tr><td>(3)</td><td>RankStat [18]</td><td>39.5 ± 1.7%</td><td>53.8 ± 2.0%</td><td>66.3 ± 0.7%</td></tr><tr><td>(4)</td><td>Ours w/o global</td><td>43.1 ± 2.3%</td><td>56.8 ± 2.3%</td><td>67.3 ± 1.0%</td></tr><tr><td>(5)</td><td>Ours full</td><td>47.8 ± 2.4%</td><td>61.9 ± 2.5%</td><td>70.4 ± 0.9%</td></tr></table>",
|
| 816 |
+
"bbox": [
|
| 817 |
+
246,
|
| 818 |
+
611,
|
| 819 |
+
751,
|
| 820 |
+
709
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 7
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "text",
|
| 826 |
+
"text": "4.3 Ablation study ",
|
| 827 |
+
"text_level": 1,
|
| 828 |
+
"bbox": [
|
| 829 |
+
174,
|
| 830 |
+
732,
|
| 831 |
+
315,
|
| 832 |
+
747
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 7
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"text": "Effectiveness of different components. In table 4, we ablate different components of our method. It is clear that all components in our method are effective as removing any of them will cause the performance drop. Without BCE loss, our dual ranking statistics is disabled and no pair-wise pseudo labels are transferred from the labelled data. Therefore, the parameters within $\\eta ^ { u }$ remain untrained, leading to poor performance equivalent to a random baseline. The sKLD loss also has a strong impact on the final performance. Without it, the performance drops $8 . 0 { - } 1 1 . 3 \\%$ absolute ACC. This performance drop shows that the information exchange between the global and the local branches are crucial. The consistency loss also plays an important role, as the performance without consistency drops $9 . 9 \\mathrm { - } 1 2 . 2 \\%$ absolute ACC. Similar to [18, 20] the cross-entropy loss, consistency loss and self-supervision are also important for our method. Having all these components in a unified framework, our full method obtains the best performance. ",
|
| 839 |
+
"bbox": [
|
| 840 |
+
173,
|
| 841 |
+
758,
|
| 842 |
+
825,
|
| 843 |
+
911
|
| 844 |
+
],
|
| 845 |
+
"page_idx": 7
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "table",
|
| 849 |
+
"img_path": "images/dd1ae19585a64f88035ef906388d2fe9d39cc5a48db4b15fc0e1d0f78bf2d07a.jpg",
|
| 850 |
+
"table_caption": [
|
| 851 |
+
"Table 4: Effectiveness of different components of our method. “MSE” means MSE consistency loss; “CE” means cross-entropy loss for training on labelled data; “BCE” means binary cross-entropy loss for training both global and local branches on unlabeled data; “sKLD” means the sKLD loss for mutual distillation between the two branches; “Self-sup.” means self-supervised pre-training. "
|
| 852 |
+
],
|
| 853 |
+
"table_footnote": [],
|
| 854 |
+
"table_body": "<table><tr><td></td><td>CUB-200</td><td>Stanford-Cars</td><td>FGVC-Aircraft</td><td>ImageNet-100</td></tr><tr><td>Ours w/o BCE</td><td>2.2 ± 1.3%</td><td>3.1 ± 0.4%</td><td>5.1 ± 0.4%</td><td>3.0 ± 0.3%</td></tr><tr><td>Ours w/o sKLD</td><td>39.8 ± 1.8%</td><td>50.6 ± 2.1%</td><td>60.8 ± 1.5%</td><td>58.2 ± 1.2%</td></tr><tr><td>Ours w/o CE</td><td>41.2 ± 2.4%</td><td>52.4 ± 4.3%</td><td>60.2 ± 2.7%</td><td>59.1 ± 2.7%</td></tr><tr><td>Ours w/o MSE</td><td>37.9 ± 4.5%</td><td>50.6 ± 6.2%</td><td>58.9 ± 5.7%</td><td>57.2 ± 3.6%</td></tr><tr><td> Ours w/o Self-sup.</td><td>44.3 ± 3.5%</td><td>58.2 ± 1.8%</td><td>67.4 ± 1.3%</td><td>65.3 ± 1.3%</td></tr><tr><td>Ours full</td><td>47.8 ± 2.4%</td><td>61.9 ± 2.5%</td><td>70.4 ± 0.9%</td><td>69.4 ± 2.1%</td></tr></table>",
|
| 855 |
+
"bbox": [
|
| 856 |
+
199,
|
| 857 |
+
154,
|
| 858 |
+
797,
|
| 859 |
+
272
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 8
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "Different configurations of the two-branch design. Our two-branch design allows mutual knowledge distillation between local and global branches. In table 5 we compare different branch configurations. Row 1 and row 2 represent the global and local single-branch baselines. As can be seen, the local branch configuration performs better than the global one which is the configuration of [18], demonstrating the local ranking statistics with the part dictionary is more effective than that with global features. By introducing another branch of the same type (row $1 \\mathrm { r o w } 3$ , row $2 \\mathrm { r o w } 4$ ) to incorporate mutual knowledge distillation, the performance can be consistently boosted, which further verifies the effectiveness of our mutual knowledge distillation method for novel category discovery. Mutual knowledge distillation between two local branches is more effective than the counterpart between two global branches. Row 5 presents the results of mutual distillation between global branch and local branch, showing best performance, which corroborates that mutual knowledge distillation between local and global branches enables them to complement each other. ",
|
| 866 |
+
"bbox": [
|
| 867 |
+
173,
|
| 868 |
+
280,
|
| 869 |
+
826,
|
| 870 |
+
446
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 8
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "table",
|
| 876 |
+
"img_path": "images/c1b755fafcc2407df4e822640710f2481b51c150a89f30d73553424411c95d60.jpg",
|
| 877 |
+
"table_caption": [
|
| 878 |
+
"Table 5: Different configurations of the two-branch design. "
|
| 879 |
+
],
|
| 880 |
+
"table_footnote": [],
|
| 881 |
+
"table_body": "<table><tr><td>No</td><td colspan=\"2\">Configuration</td><td>CUB200</td><td>Stanford-Cars</td><td>ImageNet-100</td></tr><tr><td>(1)</td><td>global</td><td></td><td>39.5 ± 1.7%</td><td>53.8 ± 2.0%</td><td>62.5 ± 1.2%</td></tr><tr><td>(2)</td><td>local</td><td>=</td><td>43.1 ± 0.9%</td><td>56.8 ± 1.7%</td><td>64.2 ± 1.6%</td></tr><tr><td>(3)</td><td>global</td><td>global</td><td>41.2 ± 0.8%</td><td>54.6 ± 0.7%</td><td>63.2 ± 0.9%</td></tr><tr><td>(4)</td><td>local</td><td>local</td><td>44.7 ± 1.1%</td><td>57.9 ± 0.5%</td><td>65.7 ± 1.4%</td></tr><tr><td>(5)</td><td>global</td><td>local</td><td>47.8 ± 2.4%</td><td>61.9 ± 2.5%</td><td>69.4 ± 2.1%</td></tr></table>",
|
| 882 |
+
"bbox": [
|
| 883 |
+
251,
|
| 884 |
+
478,
|
| 885 |
+
746,
|
| 886 |
+
577
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 8
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "text",
|
| 892 |
+
"text": "Effects of larger memory banks. It has been shown in [21] that increasing the size of the memory bank can improve self-supervised representation learning. In our experiments, we set the memory sizes of $B _ { p }$ , $B _ { g }$ and $\\nu$ to 2048 for training efficiency. In table 6, we show the results by increasing the memory sizes. As can be seen, similar to [21], the memory size and the performance is positively correlated. With more instances or parts in the memory banks, more useful information can be used for mutual knowledge distillation $\\boldsymbol { B } _ { p }$ and $B _ { g . }$ ) and local part ranking statistics measure $( \\mathcal { V } )$ , thus improving the results. However, with a relatively small memory size of 2048, our method already achieves promising results. Note that due to the limited number of images in CUB-200 and Stanford-Cars, the performance boost with the increase of bank size for $B _ { p }$ and $B _ { g }$ quickly reaches a plateau. While for CIFAR-10 and ImageNet-100, more instances can be enqueued to foster the knowledge distillation. In terms of $\\nu$ , the performance is consistently improved with the increase of the size of $\\nu$ for all datasets. Due to the larger image resolution in CUB-200 and Stanford-Cars, more useful part features can be extracted from each image for local ranking statistics. Therefore, the performance is less affected by the smaller number of images. This further demonstrates the effectiveness of our local part-level ranking statistics. ",
|
| 893 |
+
"bbox": [
|
| 894 |
+
173,
|
| 895 |
+
593,
|
| 896 |
+
825,
|
| 897 |
+
799
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 8
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "Different sampling methods for memory bank $\\nu$ . The part memory bank $\\nu$ stores the part-level features for the local-comparison branch, and is updated in a FIFO manner. Here we compare different ways of maintaining $\\nu$ . Our default choice is to randomly sample one part-level feature from each image in a training mini-batch. However, random sampling may not select the most informative part-level features from the image, so an alternative is to select part-level features based on class-activation-map (CAM) [59]. Instead of random sampling, the part with the highest response is selected by CAM. Rather than sampling only a single part from each image, we can simply use all ",
|
| 904 |
+
"bbox": [
|
| 905 |
+
174,
|
| 906 |
+
814,
|
| 907 |
+
825,
|
| 908 |
+
911
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 8
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "(a) ACC with varying size for $\\boldsymbol { B } _ { p }$ and $B _ { g }$ . ",
|
| 915 |
+
"bbox": [
|
| 916 |
+
215,
|
| 917 |
+
133,
|
| 918 |
+
462,
|
| 919 |
+
147
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 9
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "table",
|
| 925 |
+
"img_path": "images/fc2bafeaa300c483ebd03362d3e2039ddda0a27d655db646c07cdc13e899cbf0.jpg",
|
| 926 |
+
"table_caption": [
|
| 927 |
+
"Table 6: Increasing the size of memory bank. “SCars” denotes Stanford-Cars dataset; “IM-100” denotes ImageNet-100 dataset. "
|
| 928 |
+
],
|
| 929 |
+
"table_footnote": [],
|
| 930 |
+
"table_body": "<table><tr><td>Bank size</td><td>2048</td><td>4096</td><td>8192</td><td>16384</td><td>32768</td></tr><tr><td>CIFAR-10</td><td>91.6%</td><td>92.3%</td><td>92.4%</td><td>92.7%</td><td>93.0%</td></tr><tr><td>CUB-200</td><td>47.8%</td><td>48.3%</td><td>48.4%</td><td>48.5%</td><td>48.4%</td></tr><tr><td>SCars</td><td>61.9%</td><td>62.4%</td><td>62.8%</td><td>62.9%</td><td>62.9%</td></tr><tr><td>IM-100</td><td>69.4%</td><td>70.2%</td><td>70.8%</td><td>71.1%</td><td>71.3%</td></tr></table>",
|
| 931 |
+
"bbox": [
|
| 932 |
+
179,
|
| 933 |
+
154,
|
| 934 |
+
485,
|
| 935 |
+
233
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 9
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "table",
|
| 941 |
+
"img_path": "images/025db46b530927d0e3c11b150457758ca4dc93d6e3616eef1e0ee315c2fe7ed4.jpg",
|
| 942 |
+
"table_caption": [
|
| 943 |
+
"(b) ACC with varying size for $\\nu$ "
|
| 944 |
+
],
|
| 945 |
+
"table_footnote": [],
|
| 946 |
+
"table_body": "<table><tr><td>Bank size</td><td>2048</td><td>4096</td><td>8192</td><td>1638432768</td><td></td></tr><tr><td>CIFAR-10 91.6% 91.7%</td><td></td><td></td><td>91.7%</td><td>91.9%</td><td>92.0%</td></tr><tr><td>CUB-200 47.8% 48.5% 48.7% 49.2%</td><td></td><td></td><td></td><td></td><td>49.3%</td></tr><tr><td>SCars</td><td></td><td>61.9% 62.7% 63.4%</td><td></td><td>663.6%</td><td>63.7%</td></tr><tr><td>IM-100</td><td></td><td></td><td></td><td>69.4% 70.5% 71.2% 71.3% 71.4%</td><td></td></tr></table>",
|
| 947 |
+
"bbox": [
|
| 948 |
+
511,
|
| 949 |
+
154,
|
| 950 |
+
818,
|
| 951 |
+
233
|
| 952 |
+
],
|
| 953 |
+
"page_idx": 9
|
| 954 |
+
},
|
| 955 |
+
{
|
| 956 |
+
"type": "text",
|
| 957 |
+
"text": "the parts for each image. We compare these three different choices in table 7. It can be seen that using all the parts causes slight performance drop. This is reasonable because using all parts introduces redundancy in $\\nu$ , making the local comparison more prone to noise. On the other hand, selecting the most activated part using CAM shows a better performance than the random selection, indicating that more informative parts in the memory bank can enable better local comparison. As the gap is not significant, we use the random sampling as our default choice for its simplicity and efficacy. ",
|
| 958 |
+
"bbox": [
|
| 959 |
+
173,
|
| 960 |
+
250,
|
| 961 |
+
825,
|
| 962 |
+
334
|
| 963 |
+
],
|
| 964 |
+
"page_idx": 9
|
| 965 |
+
},
|
| 966 |
+
{
|
| 967 |
+
"type": "table",
|
| 968 |
+
"img_path": "images/29d11cbaa2242712dfb7f757c488efd4ce68455692e3e87085322cd2154c07f8.jpg",
|
| 969 |
+
"table_caption": [
|
| 970 |
+
"Table 7: Effects of using different way to update $\\nu$ . “Random” means random part selection; “All” means using all parts; “CAM” means selecting the most activated parts using CAM [59]. "
|
| 971 |
+
],
|
| 972 |
+
"table_footnote": [],
|
| 973 |
+
"table_body": "<table><tr><td></td><td>CIFAR-100</td><td>ImageNet-100</td><td>CUB-200</td><td>Stanford-Cars</td></tr><tr><td>Random</td><td>75.3 ± 2.3%</td><td>69.4 ± 2.1%</td><td>47.8 ± 2.4%</td><td>61.9 ± 2.5%</td></tr><tr><td>All</td><td>76.0 ± 2.6%</td><td>68.7 ± 2.3%</td><td>46.5 ± 1.9%</td><td>61.0 ± 2.4%</td></tr><tr><td>CAM</td><td>76.5 ± 2.4%</td><td>70.3 ± 2.4%</td><td>48.5 ± 1.8%</td><td>62.4 ± 2.1%</td></tr></table>",
|
| 974 |
+
"bbox": [
|
| 975 |
+
243,
|
| 976 |
+
385,
|
| 977 |
+
753,
|
| 978 |
+
455
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 9
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "Unknown number of novel classes. In a more realistic setting, the unlabelled class number $C ^ { u }$ may not be known. In this case, we can apply existing methods to estimate category number in the unlabelled data, such as the algorithm from DTC [20], before adopting our method. In table 8 we provide the results of novel category discovery using the estimated number of classes on CUB200/ImageNet-100 by DTC [20]. We denote the estimated class number as $\\hat { C } ^ { u }$ . As shown in table 8, with the estimated class number by DTC, our model also obtains a significantly better performance than RankStat [18]. ",
|
| 985 |
+
"bbox": [
|
| 986 |
+
173,
|
| 987 |
+
484,
|
| 988 |
+
826,
|
| 989 |
+
585
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 9
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "table",
|
| 995 |
+
"img_path": "images/ff9bd179749429918a4314b49197b8b6b86d1e1250b6c38e2cc98667c11956c3.jpg",
|
| 996 |
+
"table_caption": [
|
| 997 |
+
"Table 8: Results with estimated class numbers and ground truth class numbers. "
|
| 998 |
+
],
|
| 999 |
+
"table_footnote": [],
|
| 1000 |
+
"table_body": "<table><tr><td></td><td colspan=\"2\">CUB-200</td><td colspan=\"2\">ImageNet-100</td></tr><tr><td>Class numbers</td><td>Cu = 40</td><td>Cu= 43</td><td>Cu = 30</td><td>Cu =32</td></tr><tr><td>RankStat [18]</td><td>39.5±1.7%</td><td>38.2±2.1%</td><td>66.3±0.7%</td><td>65.0±1.2%</td></tr><tr><td>Ours</td><td>47.8±2.4%</td><td>44.6±2.6%</td><td>70.4±0.9%</td><td>68.8±1.5%</td></tr></table>",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
241,
|
| 1003 |
+
621,
|
| 1004 |
+
754,
|
| 1005 |
+
694
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 9
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "Please refer to the supplementary for more results and analysis. Our code can be found at https: //github.com/DTennant/dual-rank-ncd. ",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
174,
|
| 1014 |
+
710,
|
| 1015 |
+
828,
|
| 1016 |
+
738
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 9
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "5 Conclusion ",
|
| 1023 |
+
"text_level": 1,
|
| 1024 |
+
"bbox": [
|
| 1025 |
+
173,
|
| 1026 |
+
763,
|
| 1027 |
+
299,
|
| 1028 |
+
781
|
| 1029 |
+
],
|
| 1030 |
+
"page_idx": 9
|
| 1031 |
+
},
|
| 1032 |
+
{
|
| 1033 |
+
"type": "text",
|
| 1034 |
+
"text": "We have introduced a two-branch learning framework for novel category discovery, with one branch focusing on local part-level information and the other branch focusing on overall characteristics. To transfer knowledge from labelled data to unlabelled data, we proposed to use local ranking statistics by maintaining a local part dictionary build on-the-fly for training, together with the global ranking statistics. We further introduced a mutual knowledge distillation method for information exchange and encouraging the agreement between the two branches. We thoroughly evaluated our method on generic image classification datasets as well as fine-grained recognition datasets, achieving state-of-the-art performance. ",
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
174,
|
| 1037 |
+
800,
|
| 1038 |
+
826,
|
| 1039 |
+
911
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 9
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "text",
|
| 1045 |
+
"text": "References ",
|
| 1046 |
+
"text_level": 1,
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
174,
|
| 1049 |
+
89,
|
| 1050 |
+
267,
|
| 1051 |
+
106
|
| 1052 |
+
],
|
| 1053 |
+
"page_idx": 10
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"type": "text",
|
| 1057 |
+
"text": "[1] Sungsoo Ahn, Shell Xu Hu, Andreas Damianou, Neil D Lawrence, and Zhenwen Dai. Variational information distillation for knowledge transfer. In CVPR, 2019. [2] Relja Arandjelovic, Petr Gronat, Akihiko Torii, Tomas Pajdla, and Josef Sivic. Netvlad: Cnn architecture for weakly supervised place recognition. In CVPR, 2016. [3] David Arthur and Sergei Vassilvitskii. k-means $^ { + + }$ : the advantages of careful seeding. In ACM-SIAM Symposium on Discrete Algorithms, 2007. [4] Hessam Bagherinezhad, Maxwell Horton, Mohammad Rastegari, and Ali Farhadi. Label refinery: Improving imagenet classification through label progression. In arXiv preprint arXiv:1805.02641, 2018. [5] Herbert Bay, Tinne Tuytelaars, and Luc Van Gool. Surf: Speeded up robust features. In ECCV, 2006. [6] David Berthelot, Nicholas Carlini, Ian Goodfellow, Nicolas Papernot, Avital Oliver, and Colin Raffel. Mixmatch: A holistic approach to semi-supervised learning. In NeurIPS, 2019. \n[7] Bingyi Cao, André Araujo, and Jack Sim. Unifying deep local and global features for image search. In ECCV, 2020. \n[8] Xinlei Chen, Haoqi Fan, Ross Girshick, and Kaiming He. Improved baselines with momentum contrastive learning. arXiv preprint arXiv:2003.04297, 2020. [9] Dorin Comaniciu and Peter Meer. Mean shift: A robust approach toward feature space analysis. IEEE TPAMI, 2002. \n[10] Boyang Deng, Qing Liu, Siyuan Qiao, and Alan Yuille. Few-shot learning by exploiting visual concepts within cnns. In arXiv preprint arXiv:1711.08277, 2017. \n[11] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, 2009. \n[12] Carl Doersch, Ankush Gupta, and Andrew Zisserman. Crosstransformers: spatially-aware few-shot transfer. In NeurIPS, 2020. \n[13] Zhiyuan Fang, Jianfeng Wang, Lijuan Wang, Lei Zhang, Yezhou Yang, and Zicheng Liu. Seed: Self-supervised distillation for visual representation. In ICLR, 2021. \n[14] Enrico Fini, Enver Sangineto, Stéphane Lathuilière, Zhun Zhong, Moin Nabi, and Elisa Ricci. A unified objective for novel class discovery. In ICCV, 2021. \n[15] Tommaso Furlanello, Zachary Lipton, Michael Tschannen, Laurent Itti, and Anima Anandkumar. Born again neural networks. In ICML, 2018. \n[16] Kamran Ghasedi Dizaji, Amirhossein Herandi, Cheng Deng, Weidong Cai, and Heng Huang. Deep clustering via joint convolutional autoencoder embedding and relative entropy minimization. In ICCV, 2017. \n[17] Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. In ICLR, 2018. \n[18] Kai Han, Sylvestre-Alvise Rebuffi, Sebastien Ehrhardt, Andrea Vedaldi, and Andrew Zisserman. Automatically discovering and learning new visual categories with ranking statistics. In ICLR, 2020. \n[19] Kai Han, Sylvestre-Alvise Rebuffi, Sebastien Ehrhardt, Andrea Vedaldi, and Andrew Zisserman. Autonovel: Automatically discovering and learning novel visual categories. IEEE TPAMI, 2021. \n[20] Kai Han, Andrea Vedaldi, and Andrew Zisserman. Learning to discover novel visual categories via deep transfer clustering. In ICCV, 2019. \n[21] Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In CVPR, 2020. \n[22] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In ICCV, 2015. \n[23] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016. \n[24] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. In NIPS 2014 Deep Learning Workshop, 2015. \n[25] Yen-Chang Hsu, Zhaoyang Lv, and Zsolt Kira. Learning to cluster in order to transfer across domains and tasks. In ICLR, 2018. \n[26] Yen-Chang Hsu, Zhaoyang Lv, Joel Schlosser, Phillip Odom, and Zsolt Kira. Multi-class classification without multi-class labels. In ICLR, 2019. \n[27] Zehao Huang and Naiyan Wang. Like what you like: Knowledge distill via neuron selectivity transfer. arXiv preprint arXiv:1707.01219, 2017. \n[28] Xuihui Jia, Kai Han, Yukun Zhu, and Bradley Green. Joint representation learning and novel category discovery on single-and multi-modal data. In ICCV, 2021. \n[29] Jangho Kim, SeoungUK Park, and Nojun Kwak. Paraphrasing complex network: Network compression via factor transfer. In NeurIPS, 2018. \n[30] Jonathan Krause, Michael Stark, Jia Deng, and Li Fei-Fei. 3d object representations for fine-grained categorization. In 4th International IEEE Workshop on 3D Representation and Recognition (3dRR-13), 2013. \n[31] Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical Report, 2009. \n[32] Harold W Kuhn. The hungarian method for the assignment problem. Naval Research Logistics Quarterly, 1955. \n[33] Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. In ICLR, 2017. \n[34] David G Lowe. Distinctive image features from scale-invariant keypoints. In IJCV, 2004. \n[35] James MacQueen. Some methods for classification and analysis of multivariate observations. In Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, 1967. \n[36] Subhransu Maji, Esa Rahtu, Juho Kannala, Matthew Blaschko, and Andrea Vedaldi. Finegrained visual classification of aircraft. arXiv preprint arXiv:1306.5151, 2013. \n[37] Hyeonwoo Noh, Andre Araujo, Jack Sim, Tobias Weyand, and Bohyung Han. Large-scale image retrieval with attentive deep local features. In ICCV, 2017. \n[38] Avital Oliver, Augustus Odena, Colin Raffel, Ekin D Cubuk, and Ian J Goodfellow. Realistic evaluation of deep semi-supervised learning algorithms. In NeurIPS, 2018. \n[39] Sylvestre-Alvise Rebuffi, Sebastien Ehrhardt, Kai Han, Andrea Vedaldi, and Andrew Zisserman. Semi-supervised learning with scarce annotations. In CVPR Deep-Vision workshop, 2020. \n[40] Sylvestre-Alvise Rebuffi, Sebastien Ehrhardt, Kai Han, Andrea Vedaldi, and Andrew Zisserman. Lsd-c: Linearly separable deep clusters. In ICCV Workshop on Visual Inductive Priors for Data-Efficient Deep Learning, 2021. \n[41] Adriana Romero, Nicolas Ballas, Samira Ebrahimi Kahou, Antoine Chassang, Carlo Gatta, and Yoshua Bengio. Fitnets: Hints for thin deep nets. In ICLR, 2015. \n[42] Oriane Siméoni, Yannis Avrithis, and Ondrej Chum. Local features and visual words emerge in activations. In CVPR, 2019. \n[43] 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, 2020. \n[44] Ilya Sutskever, James Martens, George Dahl, and Geoffrey Hinton. On the importance of initialization and momentum in deep learning. In ICML, 2013. \n[45] Hajime Taira, Masatoshi Okutomi, Torsten Sattler, Mircea Cimpoi, Marc Pollefeys, Josef Sivic, Tomas Pajdla, and Akihiko Torii. Inloc: Indoor visual localization with dense matching and view synthesis. In CVPR, 2018. \n[46] Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In NeurIPS, 2017. \n[47] Yonglong Tian, Dilip Krishnan, and Phillip Isola. Contrastive multiview coding. In ECCV, 2020. \n[48] Yonglong Tian, Dilip Krishnan, and Phillip Isola. Contrastive representation distillation. In ICLR, 2020. \n[49] Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. CaltechUCSD Birds 200. Computation & Neural Systems Technical Report, 2010. \n[50] Junyuan Xie, Ross Girshick, and Ali Farhadi. Unsupervised deep embedding for clustering analysis. In ICML, 2016. \n[51] Jay Yagnik, Dennis Strelow, David A. Ross, and Ruei sung Lin. The power of comparative reasoning. In ICCV, 2011. \n[52] Junho Yim, Donggyu Joo, Jihoon Bae, and Junmo Kim. A gift from knowledge distillation: Fast optimization, network minimization and transfer learning. In CVPR, 2017. \n[53] Junho Yim, Donggyu Joo, Jihoon Bae, and Junmo Kim. A gift from knowledge distillation: Fast optimization, network minimization and transfer learning. In CVPR, 2017. \n[54] Sergey Zagoruyko and Nikos Komodakis. Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer. In ICLR, 2017. \n[55] Chi Zhang, Yujun Cai, Guosheng Lin, and Chunhua Shen. Deepemd: Differentiable earth mover’s distance for few-shot learning. In CVPR, 2020. \n[56] Ying Zhang, Tao Xiang, Timothy M Hospedales, and Huchuan Lu. Deep mutual learning. In CVPR, 2018. \n[57] Zhun Zhong, Enrico Fini, Subhankar Roy, Zhiming Luo, Elisa Ricci, and Nicu Sebe. Neighborhood contrastive learning for novel class discovery. In CVPR, 2021. \n[58] Zhun Zhong, Linchao Zhu, Zhiming Luo, Shaozi Li, Yi Yang, and Nicu Sebe. Openmix: Reviving known knowledge for discovering novel visual categories in an open world. In CVPR, 2021. \n[59] Bolei Zhou, Aditya Khosla, Agata Lapedriza, Auda Oliva, and Antonio Torralba. Learning Deep Features for Discriminative Localization. In CVPR, 2016. ",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
171,
|
| 1060 |
+
103,
|
| 1061 |
+
828,
|
| 1062 |
+
917
|
| 1063 |
+
],
|
| 1064 |
+
"page_idx": 10
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"type": "text",
|
| 1068 |
+
"text": "",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
171,
|
| 1071 |
+
49,
|
| 1072 |
+
830,
|
| 1073 |
+
917
|
| 1074 |
+
],
|
| 1075 |
+
"page_idx": 11
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"type": "text",
|
| 1079 |
+
"text": "",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
171,
|
| 1082 |
+
85,
|
| 1083 |
+
828,
|
| 1084 |
+
767
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 12
|
| 1087 |
+
}
|
| 1088 |
+
]
|
parse/train/xWq1MVj7YrE/xWq1MVj7YrE_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/xWq1MVj7YrE/xWq1MVj7YrE_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|