Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/8xoN9ZdSW8/8xoN9ZdSW8.md +240 -0
- parse/train/8xoN9ZdSW8/8xoN9ZdSW8_content_list.json +947 -0
- parse/train/8xoN9ZdSW8/8xoN9ZdSW8_middle.json +0 -0
- parse/train/8xoN9ZdSW8/8xoN9ZdSW8_model.json +0 -0
- parse/train/MdZPf3qCF7s/MdZPf3qCF7s.md +436 -0
- parse/train/MdZPf3qCF7s/MdZPf3qCF7s_content_list.json +994 -0
- parse/train/MdZPf3qCF7s/MdZPf3qCF7s_middle.json +0 -0
- parse/train/MdZPf3qCF7s/MdZPf3qCF7s_model.json +0 -0
- parse/train/POWv6hDd9XH/POWv6hDd9XH.md +415 -0
- parse/train/POWv6hDd9XH/POWv6hDd9XH_content_list.json +0 -0
- parse/train/POWv6hDd9XH/POWv6hDd9XH_middle.json +0 -0
- parse/train/POWv6hDd9XH/POWv6hDd9XH_model.json +0 -0
- parse/train/d20KTY2VrNk/d20KTY2VrNk.md +250 -0
- parse/train/d20KTY2VrNk/d20KTY2VrNk_content_list.json +1107 -0
- parse/train/d20KTY2VrNk/d20KTY2VrNk_middle.json +0 -0
- parse/train/d20KTY2VrNk/d20KTY2VrNk_model.json +0 -0
- parse/train/rk49Mg-CW/rk49Mg-CW.md +267 -0
- parse/train/rk49Mg-CW/rk49Mg-CW_content_list.json +1501 -0
- parse/train/rk49Mg-CW/rk49Mg-CW_middle.json +0 -0
- parse/train/rk49Mg-CW/rk49Mg-CW_model.json +0 -0
parse/train/8xoN9ZdSW8/8xoN9ZdSW8.md
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Multimodal Virtual Point 3D Detection
|
| 2 |
+
|
| 3 |
+
Tianwei Yin UT Austin yintianwei@utexas.edu
|
| 4 |
+
|
| 5 |
+
Xingyi Zhou UT Austin zhouxy@cs.utexas.edu
|
| 6 |
+
|
| 7 |
+
Philipp Krähenbühl UT Austin philkr@cs.utexas.edu
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Lidar-based sensing drives current autonomous vehicles. Despite rapid progress, current Lidar sensors still lag two decades behind traditional color cameras in terms of resolution and cost. For autonomous driving, this means that large objects close to the sensors are easily visible, but far-away or small objects comprise only one measurement or two. This is an issue, especially when these objects turn out to be driving hazards. On the other hand, these same objects are clearly visible in onboard RGB sensors. In this work, we present an approach to seamlessly fuse RGB sensors into Lidar-based 3D recognition. Our approach takes a set of 2D detections to generate dense 3D virtual points to augment an otherwise sparse 3D point cloud. These virtual points naturally integrate into any standard Lidar-based 3D detectors along with regular Lidar measurements. The resulting multi-modal detector is simple and effective. Experimental results on the large-scale nuScenes dataset show that our framework improves a strong CenterPoint baseline by a significant $6 . 6 \ \mathrm { m A P }$ , and outperforms competing fusion approaches. Code and more visualizations are available at https://tianweiy.github.io/mvp/.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
3D perception is a core component in safe autonomous driving [1, 55]. A 3D Lidar sensor provides accurate depth measurements of the surrounding environment [23, 49, 75], but is costly and has low resolution at long range. A top-of-the-line 64-lane Lidar sensor can easily cost more than a small car with an input resolution that is at least two orders of magnitude lower than a $\$ 50\mathrm { \text R G B }$ sensor. This Lidar sensor receives one or two measurements for small or far away objects, whereas a corresponding RGB sensor sees hundreds of pixels. However, the RGB sensor does not perceive the depth and cannot directly place its measurements into a scene.
|
| 16 |
+
|
| 17 |
+
In this paper, we present a simple and effective framework to fuse 3D Lidar and high-resolution color measurements. We lift RGB measurements into 3D virtual points by mapping them into the scene using close-by depth measurements of a Lidar sensor (See Figure 1 for an example). Our Multi-modal Virtual Point detector, MVP, generates high-resolution 3D point-cloud near target objects. A center-based 3D detector [66] then identifies all objects in the scene. Specifically, MVP uses 2D object detections to crop the original point cloud into instance frustums. MVP then generates dense 3D virtual points near these foreground points by lifting 2D pixels into 3D space. We use depth completion in image space to infer the depth of each virtual point. Finally, MVP combines virtual points with the original Lidar measurements as input to a standard center-based 3D detector [66].
|
| 18 |
+
|
| 19 |
+
Our multi-modal virtual point method has several key advantages: First, 2D object detections are well optimized [17, 74] and highly accurate even for small objects. See Figure 2 for a comparison of two state-of-the-art 2D and 3D detectors on the same scene. The 2D detector has a significantly higher 2D detection accuracy but lacks the necessary 3D information used in the downstream driving task. Secondly, virtual points reduce the density imbalance between close and faraway objects. MVP augments objects at different distances with the same number of virtual points, making the point cloud measurement of these objects more consistent. Finally, our framework is a plug-andplay module to any existing or new 2D or 3D detectors. We test our model on the large-scale nuScenes dataset [2]. Adding multi-modal virtual points brings ${ \bf 6 . 6 \ m A P }$ improvements over a strong CenterPoint baseline [66]. Without any ensembles or test-time augmentation, our best model achieves ${ \bf 6 6 . 4 \ m A P }$ and ${ \bf 7 0 . 5 N D S }$ on nuScenes, outperforming all competing non-ensembled methods on the nuScenes leaderboard at the time of submission.
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: We augment sparse Lidar point cloud with dense semantic virtual points generated from 2D detections. Left: the augmented point-cloud in the scene. We show the original points in gray and augmented points in red. Right: three cutouts with the origial points on top and virtual points below. The virtual points are up to two orders of magnitude denser.
|
| 23 |
+
|
| 24 |
+
# 2 Related work
|
| 25 |
+
|
| 26 |
+
2D Object Detection has great progress in recent years. Standard approaches include the RCNN family [13, 17, 43] which first predict class-agnostic bounding boxes based on predefined anchor boxes and then classify and refine them in a two-stage fashion with deep neural networks. YOLO [42], SSD [33], and RetinaNet [30] predicts the class specific bounded boxes in one shot. Recent anchorfree detectors like CornerNet [24] and CenterNet [74] directly localize objects through keypoints without the need of predefined anchors. In our approach, we use CenterNet [74] as our 2D detector for its simplicity and superior performance for detecting small objects. See Figure 2 for an example of a 2D detectors output.
|
| 27 |
+
|
| 28 |
+
Lidar-based 3D Object Detection estimates rotated 3D bounding boxes from 3D point clouds [7, 12, 23, 37, 60–63, 65, 76]. 3D detectors share a common output representation and network structure with 2D detectors but encode the input differently. VoxelNet [75] uses a PointNe-based feature extractor to generate a voxel-wise feature representation from which a backbone consisted of sparse 3D convolutions and bird-eye view 2D convolution produces detection outputs. SECOND [60] introduces more efficient sparse convolution operations. PIXOR [61] and PointPillars [23] directly process point clouds in bird-eye view, further improving efficiency. Two-stage 3D detectors [8, 45– 47, 63] use a PointNet-based set abstraction layer [39] to aggregate RoI-specifc features inside first stage proposals to refine outputs. Anchor-free approaches [5, 36, 57, 59, 61, 66] remove the need for axis-aligned bird-eye view anchor boxes. VoteNet [36] detects 3D objects through Hough voting and clustering. CenterPoint [66] proposes a center-based representation for 3D object detection and tracking and achieved state-of-the-art performance on nuScenes and Waymo benchmarks. However, as Figure 2 shows a Lidar-only detector still misses small or far-away objects due to the sparsity of depth measurements. In this work, we build upon the CenterPoint detector and demonstrate significant ${ \bf 6 . 6 \ m A P }$ improvements by adding our multi-modal virtual point approach.
|
| 29 |
+
|
| 30 |
+
Camera-based 3D Object Detection Camera-based 3D object detection predicts 3D bounding boxes from camera images. Mono3D [6] uses the ground-plane assumption to generate 3D candidate boxes and scores the proposals using 2D semantic cues. CenterNet [74] first detects 2D objects in images and predicts the corresponding 3D depth and bounding box attributes using center features. Despite rapid progress, monocular 3D object detectors still perform far behind the Lidar-based methods. On state-of-the-art 3D detection benchmarks [2, 12], state-of-the-art monocular methods [26, 41] achieve about half the mAP detection accuracy, of standard Lidar based baselines [60]. PseudoLidar [56] based methods produce a virtual point cloud from RGB images, similar to our approach. However, they rely on noisy stereo depth estimates [25, 40, 56] while we use more accurate Lidar measurements. Again, the performance of purely color-based approaches lags slightly behind Lidar or fusion-based methods [2, 12].
|
| 31 |
+
|
| 32 |
+

|
| 33 |
+
Figure 2: Comparison between state-of-the-art image-based 2D detector [73] and point cloud based 3D detector [66]. We show detection from the 2D detector in blue and detection from 3D detector in green. For the 3D detector, we project the predicted 3D bounding boxes into images to get the 2D detections. For the 2D detector, we train the model using projected 2D boxes from 3D annotations. Compared to 2D detector, 3D detector often misses faraway or small objects.A quantitative comparison between 2D and 3D detectors is included in Section 5.2.
|
| 34 |
+
|
| 35 |
+
Multi-modal 3D Object Detection fuses information of Lidar and color cameras [20, 28, 28, 29, 35, 37, 53, 67, 71, 72]. Frustum PointNet [38] and Frustum ConvNet [58] first detect objects in image space to identify regions of interest in the point cloud for further processing. It improves the efficiency and precision of 3D detection but is fundamentally limited by the quality of 2D detections. In contrast, we adopt a standard 3D backbone [75] to process the augmented Lidar point cloud, combining the benefit of both sensor modalities. MV3D [7] and AVOD [22] performs object-centric fusion in a two-stage framework. Objects are first detected in each sensor and fused at the proposal stage using RoIPooling [43]. Continuous fusion [20, 29] shares image and Lidar features between their backbones. Closest to our approach are MVX-Net [48], PointAugmenting [54], and PointPainting [52], which utilize point-wise correspondence to annotate each lidar point with image-based segmentation or CNN features. We instead augment the 3D lidar point cloud with additional points surrounding 3D measurements. These additional points make full use of the higher dimensional RGB measurements.
|
| 36 |
+
|
| 37 |
+
Point Cloud Augmentation generates denser point clouds from sparse Lidar measurements. Lidarbased methods like PUNet [69], PUGAN [27], and Wang et al. [64] learn high level point-wise features from raw Lidar scans. They then reconstruct multiple upsampled point clouds from each high dimensional feature vector. Image-based methods [18, 21, 51] perform depth completion from sparse measurements. We build upon these depth completion methods and demonstrate state-of-the-art 3D detection results through point upsampling.
|
| 38 |
+
|
| 39 |
+
# 3 Preliminary
|
| 40 |
+
|
| 41 |
+
Our framework relies on both 2D detection, existing 3D detectors, and a mapping between 2D and 3D. We introduce the necessary concepts and notations below.
|
| 42 |
+
|
| 43 |
+
2D Detection. Let $I$ be a camera image. A 2D object detector aims to localize and classify all objects in $I$ . A bounding-box $b _ { i } \in \mathbb { R } ^ { 4 }$ describes the objects location. A class score $s _ { i } ( c )$ predicts the likelihood of detection $b _ { i }$ to be of class $c$ . An optional instance mask $m _ { i } \in [ 0 , 1 ] ^ { W \times H }$ predicts a pixel-level segmentation of each object. In this paper, we use the popular CenterNet [74] detector. CenterNet detects objects through keypoint estimation. It takes the input image $I$ and predicts a heatmap for each class $c$ . Peaks (local maxima) of the heatmap corresponds to an object. The model regresses to other bounding box attributes using peak features with an L1 [74] or box IoU [44] objective. For instance segmentation, we use CenterNet2 [73] which adds a cascade RoI heads [3] on top of the first stage proposal network. The overall network runs at 40 FPS and achieves 43.3 instance segmentation mAP on the nuScenes image dataset [2].
|
| 44 |
+
|
| 45 |
+
3D Detection. Let $P = \{ ( x , y , z , r ) _ { i } \}$ be a point cloud with 3D location $( x , y , z )$ and reflectance $r$ . The goal of a 3D detector is to predict a set of 3D bounding boxes $\{ b _ { i } \}$ from the point cloud $P$ . The bounding box $b = ( u , v , o , w , \bar { l } , h , \theta )$ includes the 3D center location $( u , v , o )$ , object size $( w , l , h )$ and the yaw rotation along $\mathbf { Z }$ axis $\theta$ . In this paper, we build upon the state-of-the-art CenterPoint [66] detector. We experiment with two popular 3D backbones: VoxelNet [75] and PointPillars [23]. VoxelNet quantizes the irregular point clouds into regular bins followed by a simple average pooling to extract features from all points inside a bin [60]. After that, a backbone consisted of sparse 3D convolutions [14] processes the quantized 3D feature volumes and the output is a map view feature map $M \in \mathbb { R } ^ { \bar { W } \times \bar { H } \times F }$ . PointPillar directly processes point clouds as bird-eye view pillar, a single elongated voxel per map location, and extracts features with fast 2D convolution to get the map view feature map $M$ .
|
| 46 |
+
|
| 47 |
+
With the map view features, a detection head inspired by CenterNet [74] localizes objects in bird-eye view and regress to other box parameters using center features.
|
| 48 |
+
|
| 49 |
+
2D-3D Correspondence. Multi-modal fusion approaches [48, 52, 53, 72] often rely on a pointwise correspondence between 3D point clouds and 2D pixels. In absence of calibration noise, the projection from the 3D Lidar coordinate into a 2D image coordinate involves an SE(3) transformation from the Lidar measurement to the camera frame and a perspective projection from the camera frame into image coordinates. All transformations may be described with homogeneous, time-dependent transformations. Let $t _ { 1 }$ and $t _ { 2 }$ be the capture time of the Lidar measurement and RGB image respectively. Let $T _ { \mathrm { ( c a r l i d a r ) } }$ be the transformation from the Lidar sensor to the reference frame of the car. Let $T _ { ( t _ { 1 } t _ { 2 } ) }$ be the transformation of the car between $t _ { 2 }$ and $t _ { 1 }$ . Let $T _ { \mathrm { ( r g b c a r ) } }$ be the transformation from the cars reference frame to the RGB sensor. Finally, let $P _ { \mathrm { r g b } }$ be the projection matrix of the RGB camera defined by the camera intrinsic. The transformation from the Lidar to RGB sensor is then defined by
|
| 50 |
+
|
| 51 |
+
$$
|
| 52 |
+
T _ { \mathrm { r g b } \mathrm { l i d a r } } ^ { t _ { 1 } t _ { 2 } } = T _ { ( \mathrm { r g b } c a r ) } T _ { ( t _ { 1 } t _ { 2 } ) } T _ { ( \mathrm { c a r } \mathrm { l i d a r } ) } ,
|
| 53 |
+
$$
|
| 54 |
+
|
| 55 |
+
followed by a perspective projection with camear matrix $P _ { \mathrm { r g b } }$ and a perspective division. The perspective division makes the mapping from Lidar to RGB surjective and non-invertible. In the next section, we show how to recover an inverse mapping by using depth measurements of Lidar when mapping RGB to Lidar.
|
| 56 |
+
|
| 57 |
+
# 4 Multimodal Virtual Point
|
| 58 |
+
|
| 59 |
+
Given a set of 2D object detections, we want to generate dense virtual points $\boldsymbol { v } _ { i } = ( x , y , z , \mathbf { e } )$ where $( x , y , z )$ is the 3D location and $\mathbf { e }$ is the semantic feature from the 2D detector. For simplicity, we use the 2D detectors class scores as semantic features. For each detection $b _ { j }$ with associated instance mask $\mathbf { m } _ { j }$ we generate a fixed number $\tau$ multimodal virtual points.
|
| 60 |
+
|
| 61 |
+
Virtual Point Generation. We start by projecting the 3D Lidar point cloud onto our detection. Specifically, we transform each Lidar point $( x , y , z , r ) _ { i }$ into the reference frame of the RGB camera following Equation (1), then project it into image coordinates $\mathbf { p } _ { i }$ with associated depth $d _ { i }$ using a perspective projection. Let the collection of all projected points and depth values for a single detection $j$ be the objects frustum $\mathbf { F } _ { j } = \{ ( \mathbf { p } _ { i } , d _ { i } ) | \mathbf { p } _ { i } \overset { \cdot } { \in } \bar { \mathbf { m } } _ { j } \forall _ { i } \}$ . The frustum only considers projected 3D points $\mathbf { p } _ { i }$ that fall within a detection mask $\mathbf { m } _ { j }$ . Any Lidar measurement outside detection masks is discarded. Next, we generate virtual points from each frustum $\mathbf { F } _ { j }$ .
|
| 62 |
+
|
| 63 |
+
We start by randomly sampling 2D points $\mathbf s \in \mathbf m$ from each instance mask m. We sample $\tau$ points uniformly at random without repetition. For each sampled point $\mathbf { s } _ { k }$ , we retrieve a depth estimate $d _ { k }$ from its nearest neighbor in the frustum $F _ { j }$ : $d _ { k } = \arg \operatorname* { m i n } _ { d _ { i } } \left\| \mathbf { p } _ { i } - \mathbf { s } _ { k } \right\|$ . Given the depth estimate, we unproject the point back into 3D and append the object’s semantic feature $e _ { j }$ to the virtual point. We concatenate the one-hot encoding of the detected class and the detections objectness score in the semantic feature.
|
| 64 |
+
|
| 65 |
+
Algorithm 1: Multi-modal Virtual Point Generation
|
| 66 |
+
|
| 67 |
+
<table><tr><td>Input Hyper parameters :Number of virtual points per object T Output</td><td>:Lidar point cloud L = {(x,y, z,r)i}. Instance masks {m1,...,mn} for n objects. Semantic features {e1,..,en} with ej ∈ RD</td></tr><tr><td>Fj←の ∀j∈{1...n}; for(xi,yi,zi,ri) ∈Ldo /* Perspective projection to 2D point p depth d p,d←Project(PrgbTtda(myi,,1)T);</td><td>: Multi-modal 3D virtual points V ∈ Rn Xτ×(3+D) // Point cloud instance frustums */</td></tr><tr><td>for j ∈{1...n} do ifp∈mj then</td><td></td></tr><tr><td>Fj←FjU{(p,d)}; end</td><td>// Add point to frustum</td></tr><tr><td>end end</td><td></td></tr><tr><td>for j ∈{1...n} do</td><td></td></tr><tr><td>S ← Sample,(mj);</td><td></td></tr><tr><td></td><td></td></tr><tr><td>for s ∈Sdo</td><td></td></tr><tr><td></td><td>// Uniformly sample T 2d points in instance mask</td></tr><tr><td>(p,d) ← NN(s,Fj);</td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td>// Find closest projected 3D point</td></tr><tr><td></td><td></td></tr><tr><td>(PrgbTtiar)</td><td>/* Unproject the 2D point s using the nearest neighbors depth d*/</td></tr><tr><td>q↑(</td><td></td></tr><tr><td></td><td>Unproject(s,d);</td></tr><tr><td>Add (q,ej) to Vj;</td><td></td></tr><tr><td></td><td></td></tr><tr><td>end</td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td>end</td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>
|
| 68 |
+
|
| 69 |
+
The virtual point generation is summarized in Algorithm 1 and Figure 3. Next, we show how to incorporate virtual points into a point-based 3D detector.
|
| 70 |
+
|
| 71 |
+
Virtual Point 3D detection. Voxel-based 3D detectors [60, 66] first voxelize 3D points $( x , y , z ) _ { i }$ and average all point features $( x , y , z , t , r ) _ { i }$ within a voxel. Here $r _ { i }$ is a reflectance measure and $t _ { i }$ is the capture time. A standard 3D convolutional network uses these voxelized features in further processing. For virtual points, this creates an issue. The feature dimensions of real points $( x , y , z , t , r )$ and virtual points differ $( x , y , z , t , \mathbf { e } )$ . A simple solution could be to either concatenate virtual and real points into a larger feature $( x , y , z , t , r , \mathbf { e } )$ and set any missing information to zero. However, this is both wasteful, as the dimension of real points grows by $3 \times$ , and it creates an imbalanced ratio between virtual and real points in different parts of the scene. Furthermore, real measurements are often a bit more precise than virtual points and simple averaging of the two blurs out the information contained in real measurements. To solve this, we modify the average pooling approach by separately averaging features of virtual and real points and concatenating the final averaged features together as input to 3D convolution. For the rest of the architecture, we follow CenterPoint [66].
|
| 72 |
+
|
| 73 |
+
We further use virtual points in a second-stage refinement. Our MVP model generates dense virtual points near target objects which help two-stage refinement [45, 66]. Here, we follow Yin et al. [66] to extract bird-eye view features from all outward surfaces of the predicted 3D box. The main difference to Yin et al. is that our input is much denser around objects, and hence the second stage refinement has access to richer information.
|
| 74 |
+
|
| 75 |
+
# 5 Experiments
|
| 76 |
+
|
| 77 |
+
We evaluate our proposed multimodal virtual point method on the challenging nuScenes benchmark.
|
| 78 |
+
|
| 79 |
+
nuScenes [2] is a popular multimodal autonomous driving datasets for 3D object detection in urban scenes. The dataset contains 1000 driving sequences, with each 20s long and annotated with 3D bounding boxes. The Lidar frequency is $2 0 \mathrm { H z }$ and the dataset provides sensor and vehicle pose information for each Lidar frame but only includes object annotation every ten frames (0.5s). The dataset hides any personally identifiable information, blurs faces and license plates in color images. There are in total 6 RGB cameras at a resolution of $1 6 0 0 \times 9 0 0$ and a capture frequency of $1 2 \mathrm { H z }$ . We follow the official dataset split to use 700, 150, 150 sequences for training, validation, and testing. This in total results in 28130 frames for training, 6019 frames for validation, and 6008 frames for testing. The annotations include a fine-grained label space of ten classes with a long-tail distribution. For 3D object detection, the official evaluation metrics include the mean Average Precision (mAP)[11] and nuScenes detection score (NDS) [2]. mAP measures the localization precision using a threshold based on the birds-eye view center distance $< 0 . 5 \mathrm { m }$ , 1m, 2m, 4m. NDS is a weighted combination of mAP and regression accuracy of other object attributes including box size, orientation, translation, and class-specific attributes [2]. NDS is the main ranking metric for the benchmark.
|
| 80 |
+
|
| 81 |
+

|
| 82 |
+
(a) 2D instance segmentation
|
| 83 |
+
|
| 84 |
+

|
| 85 |
+
(c) Sampling and nearest neighbor matching
|
| 86 |
+
|
| 87 |
+

|
| 88 |
+
(b) Lidar point cloud projection
|
| 89 |
+
|
| 90 |
+

|
| 91 |
+
(d) Reprojected virtual points
|
| 92 |
+
Figure 3: Overview of our mlutimodal virtual point generation framework. We start by extracting 2D instance masks for each object in a color image (a). We then project all Lidar measurements into the reference frame of the RGB camera (b). For visualization purposes, points inside the objects are black, other points are grey. We then sample random points inside each 2D instance mask and retrieve a depth estimate from their nearest neighbor Lidar projection (c). For visualization clarity, (c) only shows a subset of virtual points. Finally, all virtual points are reprojected into the original point-cloud (d).
|
| 93 |
+
|
| 94 |
+
Implementation Details. Our implementation is based on the opensourced code of CenterPoint 1 [66] for 3D detection and CenterNet2 $[ 7 3 ]$ for 2D Detection.
|
| 95 |
+
|
| 96 |
+
For 2D detection, we train a CenterNet [74] detector on the nuScenes image dataset [2]. We use the DLA-34 [68] backbone with deformable convolutions [10]. We add cascade RoI heads [3] for instance segmentation following Zhou et al. [73]. We train the detector on the nuScenes dataset using the SGD optimizer with a batch size of 16 and a learning rate of 0.02 for 90000 iterations.
|
| 97 |
+
|
| 98 |
+
For 3D detection, we use the same VoxelNet [75] and PointPillars [23] architectures following [23, 66, 76]. For VoxelNet, the detection range is $[ - 5 4 m , 5 4 m ]$ for the $X$ , $Y$ axis and $[ - 5 m , 3 m ]$ for the $Z$ axis while the range is $[ - 5 1 . 2 m , 5 1 . 2 m ]$ for the $X$ , $Y$ axis for the PointPillar architecture. The voxel size is $( 0 . 0 7 5 m , 0 . 0 7 5 m , 0 . 2 m )$ and $( 0 . 2 m , 0 . 2 m , 8 m )$ for VoxelNet and PointPillar respectively. For data augmentation, we follow CenterPoint and use global random rotations between $[ - \bar { \pi } / 4 , \pi / 4 ]$ , global random scaling between [0.9, 1.1] and global translations between $[ - 0 . 5 m , 0 . 5 m ]$ . To deal with the long-tail class distribution in nuScenes, we use the ground truth sampling in [60] to randomly paste objects into the current frame [60, 76]. We also adopt the class-balanced resampling and class-grouped heads in [76] to improve the average density of rare classes. We train the model for 20 epochs with the AdamW [34] optimizer using the one-cycle policy [16], with a max learning rate of 3e-3 following [66]. The training takes 2.5 days on 4 V100 GPUs with a batch size of 16 (4 frames per GPU).
|
| 99 |
+
|
| 100 |
+
Table 1: Comparisons with previous methods on nuScenes test set. We show the NDS, mAP, and mAP for each class. Abbreviations are construction vehicle (CV), pedestrian (Ped), motorcycle (Motor), and traffic cone (TC).
|
| 101 |
+
|
| 102 |
+
<table><tr><td>Method</td><td>mAP</td><td>NDS</td><td>Car</td><td>Truck</td><td>Bus</td><td>Trailer</td><td>CV</td><td>Ped</td><td>Motor</td><td>Bicycle</td><td>TC</td><td>Barrier</td></tr><tr><td>PointPillars [23]</td><td>30.5</td><td>45.3</td><td>68.4</td><td>23.0</td><td>28.2</td><td>23.4</td><td>4.1</td><td>59.7</td><td>27.4</td><td>1.1</td><td>30.8</td><td>38.9</td></tr><tr><td>WYSIWYG[19]</td><td>35.0</td><td>41.9</td><td>79.1</td><td>30.4</td><td>46.6</td><td>40.1</td><td>7.1</td><td>65.0</td><td>18.2</td><td>0.1</td><td>28.8</td><td>34.7</td></tr><tr><td>3DSSD [62]</td><td>42.6</td><td>56.4</td><td>81.2</td><td>47.2</td><td>61.4</td><td>30.5</td><td>12.6</td><td>70.2</td><td>36.0</td><td>8.6</td><td>31.1</td><td>47.9</td></tr><tr><td>PMPNet [65]</td><td>45.4</td><td>53.1</td><td>79.7</td><td>33.6</td><td>47.1</td><td>43.1</td><td>18.1</td><td>76.5</td><td>40.7</td><td>7.9</td><td>58.8</td><td>48.8</td></tr><tr><td>PointPainting [52]</td><td>46.4</td><td>58.1</td><td>77.9</td><td>35.8</td><td>36.2</td><td>37.3</td><td>15.8</td><td>73.3</td><td>41.5</td><td>24.1</td><td>62.4</td><td>60.2</td></tr><tr><td>CBGS [76]</td><td>52.8</td><td>63.3</td><td>81.1</td><td>48.5</td><td>54.9</td><td>42.9</td><td>10.5</td><td>80.1</td><td>51.5</td><td>22.3</td><td>70.9</td><td>65.7</td></tr><tr><td>CVCNet [4]</td><td>55.3</td><td>64.4</td><td>82.7</td><td>46.1</td><td>46.6</td><td>49.4</td><td>22.6</td><td>79.8</td><td>59.1</td><td>31.4</td><td>65.6</td><td>69.6</td></tr><tr><td>HotSpotNet [5]</td><td>59.3</td><td>66.0</td><td>83.1</td><td>50.9</td><td>56.4</td><td>53.3</td><td>23.0</td><td>81.3</td><td>63.5</td><td>36.6</td><td>73.0</td><td>71.6</td></tr><tr><td>CenterPoint [66]</td><td>58.0</td><td>65.5</td><td>84.6</td><td>51.0</td><td>60.2</td><td>53.2</td><td>17.5 83.4</td><td></td><td>53.7</td><td>28.7</td><td>76.7</td><td>70.9</td></tr><tr><td>MVP (Ours)</td><td>66.4</td><td>70.5</td><td>86.8</td><td>58.5</td><td>67.4</td><td>57.3</td><td>26.1</td><td>89.1</td><td>70.0</td><td>49.3</td><td>85.0</td><td>74.8</td></tr></table>
|
| 103 |
+
|
| 104 |
+
During the testing, we set the output threshold to be 0.05 for the 2D detector and generate 50 virtual points for each 2D object in the scene. We use an output threshold of 0.1 for the 3D detector after performing non-maxima suppression with an IoU threshold of 0.2 following CenterPoint [66].
|
| 105 |
+
|
| 106 |
+
# 5.1 State-of-the-art Comparison
|
| 107 |
+
|
| 108 |
+
We first compare with state-of-the-art approaches on the nuScenes test set. We obtain all results on the public leaderboard by submitting our predictions to an online evaluation server. The submission uses a single MVP model without any ensemble or test-time augmentations. We compare to other methods under the same setting. Table 1 summarizes our results. On the nuScenes dataset, MVP achieves state-of-the-art results of $6 6 . 4 \ : \mathrm { m A P }$ and $7 0 . 5 \ : \mathrm { N D S }$ , outperforming the strong CenterPoint baseline by $8 . 4 \mathrm { m A P }$ and 5.0 NDS. MVP shows consistent improvements across all object categories with significant $1 1 \mathrm { m A P }$ accuracy boosts for small objects $( + 2 0 . 6$ for Bicycle and $+ 1 6 . 3$ for motorcycle). These results clearly verify the effectiveness of our multi-modal virtual point approach.
|
| 109 |
+
|
| 110 |
+
# 5.2 Ablation Studies
|
| 111 |
+
|
| 112 |
+
Comparison of 2D and 3D Detector. We first validate the superior detection performance of the camera-based 2D detector compared to the Lidar-based 3D detector. Specifically, we use two state-ofthe-art object detectors: CenterPoint [66] for Lidar-based 3D detection, and CenterNet [74] for imagebased 2D detection. To compare the performance of detectors working in different modalities, we project the predicted 3D bounding boxes into the image space to get the corresponding 2D detections. The 2D CenterNet detector is trained with projected 2D boxes from ground truth 3D annotations. Table 2 summarizes the results over the whole nuScenes validation set. 2D CenterNet [74] significantly outperforms the CenterPoint model by $9 . 8 \mathrm { m A P }$ (using 2D overlap). The improvements are larger for smaller objects with a $1 2 . 6 \mathrm { m A P }$ improvement for objects of medium size and more than $3 \times$ accuracy improvements for small objects $6 . 9 \mathrm { m A P }$ vs. $1 . 6 \mathrm { m A P }$ ). See Figure 2 for a qualitative visualization of these two detectors’ outputs. These results support our motivations for utilizing high-resolution image information to improve 3D detection models with sparse Lidar input.
|
| 113 |
+
|
| 114 |
+
Table 2: Quantitative comparison between state-of-the-art image-based 2D detector [74] and point cloud based 3D detector [66] on the nuScenes validation set measuring 2D detection accuracy (AP). The comparison use the COCO [31] style mean average precision with 2D IoU threshold between 0.5 and 0.95 in image coordinates. For 3D CenterPoint [66] detector, we project the predicted 3D bounding boxes into images to get the 2D detections. The results show that the 2D detector performs significantly better than Lidar-based 3D detector at localizing small or medium size objects due to high resolution camera input.
|
| 115 |
+
|
| 116 |
+
<table><tr><td>Method</td><td>APsmall</td><td>APmedium</td><td>APlarge</td><td>AP</td></tr><tr><td>CenterPoint [66]</td><td>1.6</td><td>11.7</td><td>34.5</td><td>22.7</td></tr><tr><td>CenterNet [74]</td><td>6.9</td><td>24.3</td><td>42.6</td><td>32.5</td></tr></table>
|
| 117 |
+
|
| 118 |
+
Table 3: Component analysis of our MVP model with VoxelNet [60, 75] and PointPillars [23] backbones on nuScenes validation set.
|
| 119 |
+
|
| 120 |
+
<table><tr><td>Encoder</td><td>Baseline</td><td>Virtual Point</td><td>Split Voxelization</td><td>Two-stage</td><td>mAP↑</td><td>NDS↑</td></tr><tr><td rowspan="5">VoxelNet</td><td>?</td><td></td><td></td><td></td><td>59.6</td><td>66.8</td></tr><tr><td></td><td></td><td></td><td>√</td><td>60.5</td><td>67.4</td></tr><tr><td>√</td><td>√</td><td></td><td></td><td>65.9</td><td>69.6</td></tr><tr><td>√</td><td>√</td><td></td><td></td><td>66.0</td><td>70.0</td></tr><tr><td>√</td><td>√</td><td>√</td><td>厂</td><td>67.1</td><td>70.8</td></tr><tr><td rowspan="2">PointPillars</td><td>广</td><td></td><td></td><td></td><td>52.3</td><td>61.3</td></tr><tr><td></td><td>√</td><td></td><td></td><td>62.7</td><td>66.1</td></tr></table>
|
| 121 |
+
|
| 122 |
+
Component Analysis. Next, we ablate our contributions on the nuScenes validation set. We use the Lidar-only CenterPoint [74] model as our baseline. All hyperparameters and training procedures are the same between all baselines. We change inputs (MVP or regular points), voxelization, or an optional second stage. Table 3 shows the importance of each component of our MVP model. Simply augmenting the Lidar point cloud with multi-modal virtual points gives a $6 . 3 \ \mathrm { m A P }$ and $1 0 . 4 \ \mathrm { m A P }$ improvements for VoxelNet and PointPillars encoder, respectively. For the VoxelNet encoder, split voxelization gives another $0 . 4 ~ \mathrm { N D S }$ improvements due to the better modeling of features inside a voxel. Moreover, two-stage refinement with surface center features brings another $1 . 1 \ \mathrm { m A P }$ and $0 . 8 ~ \mathrm { N D S }$ improvements over our first stage models with small overheads $( 1 - 2 \mathrm { m s } )$ . The improvement of two-stage refinement is slightly larger with virtual points than without. This highlights the effectiveness of our virtual point method to create a finer local structure for better localization and regression using two-stage point-based detection.
|
| 123 |
+
|
| 124 |
+
Performance Breakdown. To better understand the improvements of our MVP model, we show the performance comparisons on different subsets of the nuScenes validation set based on object distances to the ego-vehicle. We divide all ground truth annotations and predictions into three ranges: $0 { - } 1 5 \mathrm { m }$ , $1 5 { - } 3 0 \mathrm { m }$ , and $3 0 { - } 5 0 \mathrm { m }$ . The baselines include both the Lidar-only two-stage CenterPoint [66] model and the state-of-the-art multi-modal fusion method PointPainting [52]. We reimplement PointPainting using the same 2D detections, backbones, and tricks (including two-stage) as our MVP approach. The main difference to PointPainting [52] is our denser Lidar inputs with multimodal virtual points. Table 4 shows the results. Our MVP model outperforms the Lidar-only baseline by $6 . 6 \mathrm { m A P }$ while achieving a significant $1 0 . 1 \mathrm { m A P }$ improvement for faraway objects. Compared to PointPainting [52], our model achieve a $1 . 1 \mathrm { m A P }$ improvement for faraway objects and performs comparatively for closer objects. This improvement comes from the dense and fine-grained 3D structure generated from our MVP framework. Our method makes better use of the higher dimensional RGB measurements than the simple point-wise semantic feature concatenation as used in prior works [48, 52].
|
| 125 |
+
|
| 126 |
+
Robustness to 2D Detection We investigate the impact of 2D instance segmentation quality on the final 3D detection performance. With the same image network, we simulate the degradation of 2D segmentation performance with smaller input resolutions. We show the results in Table 5. Our
|
| 127 |
+
|
| 128 |
+
MVP model is robust to the quality of 2D instance segmentation. The 3D detection performance only decreases by $0 . 8 \mathrm { N D S }$ with a 9 point worse instance segmentation inputs.
|
| 129 |
+
|
| 130 |
+
Depth Estimation Accuracy We further quantify the depth estimation quality of our nearest neighbor-based depth interpolation algorithm. We choose objects with at least 15 lidar points and randomly mask out $80 \%$ of the points. We then generate virtual points from the projected locations of the masked out lidar points and compute the a bi-directional pointwise chamfer distance between virtual points and masked out real lidar points. Our nearest neighbor approach has bi-directional chamfer distance of 0.33 meter on the nuScenes validation set. We believe more advanced learning based approaches like [18] and [21] may further improve the depth completion and 3D detection performance.
|
| 131 |
+
|
| 132 |
+
KITTI Results To test the generalization of our method, we add an experiment on the popular KITTI dataset [12]. For 2D detection, we use a pretrained MaskFormer [9] model to generate the instance segmentation masks and create 100 virtual points for each 2D object in the scene. For 3D detection, we use the popular PointPillars [23] detector with augmented point cloud inputs. All other parameters are the same as the default PointPillars model. As shown in Table 6, augmenting the Lidar point cloud with our multimodal virtual points gives a $0 . 5 \mathrm { m A P }$ and $2 . 3 \mathrm { m A P }$ for vehicle and cyclist class, respectively. We didn’t notice an improvement for the pedestrian class, presumable due to inconsistent pedestrian definition between our image model (trained on COCO [32]) and the 3D detector. On COCO, people inside a vehicle or on top of a bike are all considered to be pedestrians while KITTI 3D detectors treat them as vehicle or cyclist.
|
| 133 |
+
|
| 134 |
+
Table 4: Comparisons between Lidar-only CenterPoint [66] method, fusion-based PointPainting [52] method (denoted as CenterPoint $^ +$ Ours(w/o virtual)), and our multimodal virtual point method for detecting objects of different ranges. All three entries use the VoxelNet backbone. We split the nuScenes validation set into three subsets containing objects at different ranges.
|
| 135 |
+
|
| 136 |
+
<table><tr><td rowspan="2">Method</td><td colspan="4">nuScenes mAP</td></tr><tr><td>0-15m</td><td>15-30m</td><td>30-50m</td><td>Overall</td></tr><tr><td>CenterPoint [66]</td><td>76.2</td><td>60.3</td><td>37.2</td><td>60.5</td></tr><tr><td>CenterPoint + Ours(w/o virtual)</td><td>78.2</td><td>67.4</td><td>46.2</td><td>66.5</td></tr><tr><td>CenterPoint + Ours</td><td>78.1</td><td>67.7</td><td>47.3</td><td>67.1</td></tr></table>
|
| 137 |
+
|
| 138 |
+
Table 5: Influence of 2D instance segmentation quality for the final 3D detection performance. We show the input resolution, 2D detection mAP, and 3D detection nuScenes detection score (NDS).
|
| 139 |
+
|
| 140 |
+
<table><tr><td>Resolution</td><td>2D mAP</td><td>NDS</td></tr><tr><td>900</td><td>43.3</td><td>70.0</td></tr><tr><td>640</td><td>39.5</td><td>69.6</td></tr><tr><td>480</td><td>34.2</td><td>69.2</td></tr></table>
|
| 141 |
+
|
| 142 |
+
Table 6: Comparison between Lidar-only PointPillars detector and our multimodal virtual point method for 3D detection on KITTI dataset. We show the 3D detection mean average precision for each class under the moderate difficulty level.
|
| 143 |
+
|
| 144 |
+
<table><tr><td>Method</td><td>Car</td><td>Cyclist</td><td>Pedestrian</td></tr><tr><td>PointPillars [23]</td><td>77.3</td><td>62.7</td><td>52.3</td></tr><tr><td>PointsPillars+Ours</td><td>77.8</td><td>65.0</td><td>50.5</td></tr></table>
|
| 145 |
+
|
| 146 |
+
# 6 Discussion and conclusions
|
| 147 |
+
|
| 148 |
+
We proposed a simple multi-modal virtual point approach for outdoor 3D object detection. The main innovation is a multi-modal virtual point generation algorithm that lifts RGB measurements into
|
| 149 |
+
|
| 150 |
+

|
| 151 |
+
Figure 4: Example qualitative results of MVP on the nuScenes validation set. We show the raw point-cloud in blue, our detected objects in green bounding boxes, and Lidar points inside bounding boxes in red. Best viewed on screen.
|
| 152 |
+
|
| 153 |
+
3D virtual points using close-by measurements of a Lidar sensor. Our MVP framework generates high-resolution 3D point clouds near target objects and enables more accurate localization and regression, especially for small and faraway objects. The model significantly improves the strong Lidar-only CenterPoint detector and sets a new state-of-the-art on the nuScenes benchmark. Our framework seamlessly integrates into any current or future 3D detection algorithms.
|
| 154 |
+
|
| 155 |
+
There are still certain limitations with the current approach. Firstly, we assume that virtual points have the same depth as close-by Lidar measurements. This may not hold in the real world. Objects like cars don’t have a planar shape vertical to the ground plane. In the future, we plan to apply learning-based methods [50, 70] to infer the detailed 3D shape and pose from both Lidar measurements and image features. Secondly, our current two-stage refinement modules only use features from the bird-eye view which may not take full advantage of the high-resolution virtual points generated from our algorithm. We believe point or voxel-based two-stage 3D detectors like PVRCNN [45] and M3Detr [15] may give more significant improvements. Finally, the point-based abstraction connecting 2D and 3D detection may introduce too large of a bottleneck to transmit information from 2D to 3D. For example, no pose information is contained in our current position $^ +$ class based MVP features.
|
| 156 |
+
|
| 157 |
+
Overall, we believe future methods for scalable 3D perception can benefit from the interplay of camera and Lidar sensor inputs via dense semantic virtual points.
|
| 158 |
+
|
| 159 |
+
Societal Impacts. First and foremost better 3D detection and tracking will lead to safer autonomous vehicles. However, in the short term, it may lead to earlier adoption of potentially not-yet safe autonomous vehicles, and misleading error rates in 3D detection may lead to real-world accidents. Fusing multiple modalities may also increase the iteration cycle and safety testing requirements of autonomous vehicles, as different modalities clearly adapt differently to changes in weather, geographic locations, or even day-night cycles. A low sun may uniquely distract an RGB sensor, and hence unnecessarily distract a 3D detector through MVPs.
|
| 160 |
+
|
| 161 |
+
Furthermore, increasing the reliance of autonomous vehicles on color sensors introduces privacy issues. While most human beings look indistinguishable in 3D Lidar measurements, they are clearly identifiable in color images. In the wrong hands, this additional data may be used for mass surveillance.
|
| 162 |
+
|
| 163 |
+
Acknowledgement We thank the anonymous reviewers for the constructive comments. This material is based upon work supported by the National Science Foundation under Grant No. IIS-1845485 and IIS-2006820.
|
| 164 |
+
|
| 165 |
+
References
|
| 166 |
+
[1] Mayank Bansal, Alex Krizhevsky, and Abhijit Ogale. Chauffeurnet: Learning to drive by imitating the best and synthesizing the worst. RSS, 2019.
|
| 167 |
+
[2] Holger Caesar, Varun Bankiti, Alex H. Lang, Sourabh Vora, Venice Erin Liong, Qiang Xu, Anush Krishnan, Yu Pan, Giancarlo Baldan, and Oscar Beijbom. nuscenes: A multimodal dataset for autonomous driving. CVPR, 2020.
|
| 168 |
+
[3] Zhaowei Cai and Nuno Vasconcelos. Cascade r-cnn: Delving into high quality object detection. CVPR, 2018. [4] Qi Chen, Lin Sun, Ernest Cheung, Kui Jia, and Alan Yuille. Every view counts: Cross-view consistency in 3d object detection with hybrid-cylindrical-spherical voxelization. NeurIPS, 2020.
|
| 169 |
+
[5] Qi Chen, Lin Sun, Zhixin Wang, Kui Jia, and Alan Yuille. Object as hotspots: An anchor-free 3d object detection approach via firing of hotspots. ECCV, 2020.
|
| 170 |
+
[6] Xiaozhi Chen, Kaustav Kundu, Ziyu Zhang, Huimin Ma, Sanja Fidler, and Raquel Urtasun. Monocular 3d object detection for autonomous driving. CVPR, 2016.
|
| 171 |
+
[7] Xiaozhi Chen, Huimin Ma, Ji Wan, Bo Li, and Tian Xia. Multi-view 3d object detection network for autonomous driving. CVPR, 2017.
|
| 172 |
+
[8] Yilun Chen, Shu Liu, Xiaoyong Shen, and Jiaya Jia. Fast point r-cnn. ICCV, 2019.
|
| 173 |
+
[9] Bowen Cheng, Alexander G Schwing, and Alexander Kirillov. Per-pixel classification is not all you need for semantic segmentation. arXiv preprint arXiv:2107.06278, 2021.
|
| 174 |
+
[10] Jifeng Dai, Haozhi Qi, Yuwen Xiong, Yi Li, Guodong Zhang, Han Hu, and Yichen Wei. Deformable convolutional networks. ICCV, 2017.
|
| 175 |
+
[11] Mark Everingham, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. The pascal visual object classes (voc) challenge. IJCV, 2010.
|
| 176 |
+
[12] Andreas Geiger, Philip Lenz, and Raquel Urtasun. Are we ready for autonomous driving? the kitti vision benchmark suite. CVPR, 2012.
|
| 177 |
+
[13] Ross Girshick. Fast r-cnn. ICCV, 2015.
|
| 178 |
+
[14] Benjamin Graham, Martin Engelcke, and Laurens van der Maaten. 3d semantic segmentation with submanifold sparse convolutional networks. CVPR, 2018.
|
| 179 |
+
[15] Tianrui Guan, Jun Wang, Shiyi Lan, Rohan Chandra, Zuxuan Wu, Larry Davis, and Dinesh Manocha. M3detr: Multi-representation, multi-scale, mutual-relation 3d object detection with transformers. arXiv preprint arXiv:2104.11896, 2021.
|
| 180 |
+
[16] Sylvain Gugger. The 1cycle policy. https://sgugger.github.io/the-1cycle-policy. html, 2018.
|
| 181 |
+
[17] Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross Girshick. Mask r-cnn. ICCV, 2017.
|
| 182 |
+
[18] Mu Hu, Shuling Wang, Bin Li, Shiyu Ning, Li Fan, and Xiaojin Gong. Penet: Towards precise and efficient image guided depth completion. 2021.
|
| 183 |
+
[19] Peiyun Hu, Jason Ziglar, David Held, and Deva Ramanan. What you see is what you get: Exploiting visibility for 3d object detection. CVPR, 2020.
|
| 184 |
+
[20] Tengteng Huang, Zhe Liu, Xiwu Chen, and Xiang Bai. Epnet: Enhancing point features with image semantics for 3d object detection. ECCV, 2020.
|
| 185 |
+
[21] Saif Imran, Xiaoming Liu, and Daniel Morris. Depth completion with twin surface extrapolation at occlusion boundaries. pages 2583–2592, 2021.
|
| 186 |
+
[22] Jason Ku, Melissa Mozifian, Jungwook Lee, Ali Harakeh, and Steven L Waslander. Joint 3d proposal generation and object detection from view aggregation. IROS, 2018.
|
| 187 |
+
[23] Alex H. Lang, Sourabh Vora, Holger Caesar, Lubing Zhou, Jiong Yang, and Oscar Beijbom. Pointpillars: Fast encoders for object detection from point clouds. CVPR, 2019.
|
| 188 |
+
[24] Hei Law and Jia Deng. Cornernet: Detecting objects as paired keypoints. ECCV, 2018.
|
| 189 |
+
[25] Peiliang Li, Xiaozhi Chen, and Shaojie Shen. Stereo r-cnn based 3d object detection for autonomous driving. CVPR, 2019.
|
| 190 |
+
[26] Peixuan Li, Huaici Zhao, Pengfei Liu, and Feidao Cao. Rtm3d: Real-time monocular 3d detection from object keypoints for autonomous driving. arXiv preprint arXiv:2001.03343, 2, 2020.
|
| 191 |
+
[27] Ruihui Li, Xianzhi Li, Chi-Wing Fu, Daniel Cohen-Or, and Pheng-Ann Heng. Pu-gan: a point cloud upsampling adversarial network. pages 7203–7212, 2019.
|
| 192 |
+
[28] Ming Liang, Bin Yang, Yun Chen, Rui Hu, and Raquel Urtasun. Multi-task multi-sensor fusion for 3d object detection. CVPR, 2019.
|
| 193 |
+
[29] Ming Liang, Bin Yang, Shenlong Wang, and Raquel Urtasun. Deep continuous fusion for multi-sensor 3d object detection. ECCV, 2018.
|
| 194 |
+
[30] Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, and Piotr Dollar. Focal loss for dense object detection. ICCV, 2017.
|
| 195 |
+
[31] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. ECCV, 2014.
|
| 196 |
+
[32] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. ECCV, 2014.
|
| 197 |
+
[33] Wei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy, Scott Reed, Cheng-Yang Fu, and Alexander C Berg. Ssd: Single shot multibox detector. ECCV, 2016.
|
| 198 |
+
[34] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. ICLR, 2019.
|
| 199 |
+
[35] Su Pang, Daniel Morris, and Hayder Radha. Clocs: Camera-lidar object candidates fusion for 3d object detection. arXiv preprint arXiv:2009.00784, 2020.
|
| 200 |
+
[36] Charles R. Qi, Or Litany, Kaiming He, and Leonidas Guibas. Deep hough voting for 3d object detection in point clouds. ICCV, 2019.
|
| 201 |
+
[37] Charles R. Qi, Wei Liu, Chenxia Wu, Hao Su, and Leonidas J. Guibas. Frustum pointnets for 3d object detection from rgb-d data. CVPR, 2018.
|
| 202 |
+
[38] Charles R Qi, Wei Liu, Chenxia Wu, Hao Su, and Leonidas J Guibas. Frustum pointnets for 3d object detection from rgb-d data. CVPR, 2018.
|
| 203 |
+
[39] Charles Ruizhongtai Qi, Li Yi, Hao Su, and Leonidas J Guibas. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. NeurIPS, 2017.
|
| 204 |
+
[40] Rui Qian, Divyansh Garg, Yan Wang, Yurong You, Serge Belongie, Bharath Hariharan, Mark Campbell, Kilian Q Weinberger, and Wei-Lun Chao. End-to-end pseudo-lidar for image-based 3d object detection. CVPR, 2020.
|
| 205 |
+
[41] Cody Reading, Ali Harakeh, Julia Chae, and Steven L Waslander. Categorical depth distribution network for monocular 3d object detection. arXiv preprint arXiv:2103.01100, 2021.
|
| 206 |
+
[42] Joseph Redmon and Ali Farhadi. Yolo9000: better, faster, stronger. CVPR, 2017.
|
| 207 |
+
[43] Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. NIPS, 2015.
|
| 208 |
+
[44] Hamid Rezatofighi, Nathan Tsoi, JunYoung Gwak, Amir Sadeghian, Ian Reid, and Silvio Savarese. Generalized intersection over union: A metric and a loss for bounding box regression. CVPR, 2019.
|
| 209 |
+
[45] Shaoshuai Shi, Chaoxu Guo, Li Jiang, Zhe Wang, Jianping Shi, Xiaogang Wang, and Hongsheng Li. Pv-rcnn: Point-voxel feature set abstraction for 3d object detection. CVPR, 2020.
|
| 210 |
+
[46] Shaoshuai Shi, Xiaogang Wang, and Hongsheng Li. Pointrcnn: 3d object proposal generation and detection from point cloud. CVPR, 2019.
|
| 211 |
+
[47] Shaoshuai Shi, Zhe Wang, Jianping Shi, Xiaogang Wang, and Hongsheng Li. From points to parts: 3d object detection from point cloud with part-aware and part-aggregation network. TPAMI, 2020.
|
| 212 |
+
[48] Vishwanath A Sindagi, Yin Zhou, and Oncel Tuzel. Mvx-net: Multimodal voxelnet for 3d object detection. ICRA, 2019.
|
| 213 |
+
[49] Pei Sun, Henrik Kretzschmar, Xerxes Dotiwalla, Aurelien Chouard, Vijaysai Patnaik, Paul Tsui, James Guo, Yin Zhou, Yuning Chai, Benjamin Caine, et al. Scalability in perception for autonomous driving: An open dataset benchmark. CVPR, 2020.
|
| 214 |
+
[50] Shubham Tulsiani, Abhishek Kar, João Carreira, and Jitendra Malik. Learning category-specific deformable 3d models for object reconstruction. TPAMI, 2017.
|
| 215 |
+
[51] Jonas Uhrig, Nick Schneider, Lukas Schneider, Uwe Franke, Thomas Brox, and Andreas Geiger. Sparsity invariant cnns. pages 11–20, 2017.
|
| 216 |
+
[52] Sourabh Vora, Alex H Lang, Bassam Helou, and Oscar Beijbom. Pointpainting: Sequential fusion for 3d object detection. CVPR, 2020.
|
| 217 |
+
[53] Chunwei Wang, Chao Ma, Ming Zhu, and Xiaokang Yang. Pointaugmenting: Cross-modal augmentation for 3d object detection. CVPR, 2021.
|
| 218 |
+
[54] Chunwei Wang, Chao Ma, Ming Zhu, and Xiaokang Yang. Pointaugmenting: Cross-modal augmentation for 3d object detection. pages 11794–11803, June 2021.
|
| 219 |
+
[55] Dequan Wang, Coline Devin, Qi-Zhi Cai, Philipp Krähenbühl, and Trevor Darrell. Monocular plan view networks for autonomous driving. IROS, 2019.
|
| 220 |
+
[56] Yan Wang, Wei-Lun Chao, Divyansh Garg, Bharath Hariharan, Mark Campbell, and Kilian Q Weinberger. Pseudo-lidar from visual depth estimation: Bridging the gap in 3d object detection for autonomous driving. CVPR, 2019.
|
| 221 |
+
[57] Yue Wang, Alireza Fathi, Abhijit Kundu, David Ross, Caroline Pantofaru, Tom Funkhouser, and Justin Solomon. Pillar-based object detection for autonomous driving. ECCV, 2020.
|
| 222 |
+
[58] Zhixin Wang and Kui Jia. Frustum convnet: Sliding frustums to aggregate local point-wise features for amodal 3d object detection. arXiv preprint arXiv:1903.01864, 2019.
|
| 223 |
+
[59] Kelvin Wong, Shenlong Wang, Mengye Ren, Ming Liang, and Raquel Urtasun. Identifying unknown instances for autonomous driving. CORL, 2019.
|
| 224 |
+
[60] Yan Yan, Yuxing Mao, and Bo Li. Second: Sparsely embedded convolutional detection. Sensors, 2018.
|
| 225 |
+
[61] Bin Yang, Wenjie Luo, and Raquel Urtasun. Pixor: Real-time 3d object detection from point clouds. CVPR, 2018.
|
| 226 |
+
[62] Zetong Yang, Yanan Sun, Shu Liu, and Jiaya Jia. 3dssd: Point-based 3d single stage object detector. CVPR, 2020.
|
| 227 |
+
[63] Zetong Yang, Yanan Sun, Shu Liu, Xiaoyong Shen, and Jiaya Jia. Std: Sparse-to-dense 3d object detector for point cloud. ICCV, 2019.
|
| 228 |
+
[64] Wang Yifan, Shihao Wu, Hui Huang, Daniel Cohen-Or, and Olga Sorkine-Hornung. Patch-based progressive 3d point set upsampling. pages 5958–5967, 2019.
|
| 229 |
+
[65] Junbo Yin, Jianbing Shen, Chenye Guan, Dingfu Zhou, and Ruigang Yang. Lidar-based online 3d video object detection with graph-based message passing and spatiotemporal transformer attention. CVPR, 2020.
|
| 230 |
+
[66] Tianwei Yin, Xingyi Zhou, and Philipp Krähenbühl. Center-based 3d object detection and tracking. CVPR, 2021.
|
| 231 |
+
[67] Jin Hyeok Yoo, Yecheol Kim, Ji Song Kim, and Jun Won Choi. 3d-cvf: Generating joint camera and lidar features using cross-view spatial feature fusion for 3d object detection. arXiv preprint arXiv:2004.12636, 3, 2020.
|
| 232 |
+
[68] Fisher Yu, Dequan Wang, Evan Shelhamer, and Trevor Darrell. Deep layer aggregation. CVPR, 2018.
|
| 233 |
+
[69] Lequan Yu, Xianzhi Li, Chi-Wing Fu, Daniel Cohen-Or, and Pheng-Ann Heng. Pu-net: Point cloud upsampling network. pages 2790–2799, 2018.
|
| 234 |
+
[70] Wentao Yuan, Tejas Khot, David Held, Christoph Mertz, and Martial Hebert. Pcn: Point completion network. 3DV, 2018.
|
| 235 |
+
[71] Haolin Zhang, Dongfang Yang, Ekim Yurtsever, Keith A Redmill, and Ümit Özgüner. Farawayfrustum: Dealing with lidar sparsity for 3d object detection using fusion. arXiv preprint arXiv:2011.01404, 2020.
|
| 236 |
+
[72] Wenwei Zhang, Zhe Wang, and Chen Change Loy. Multi-modality cut and paste for 3d object detection. arXiv preprint arXiv:2012.12741, 2020.
|
| 237 |
+
[73] Xingyi Zhou, Vladlen Koltun, and Philipp Krähenbühl. Probabilistic two-stage detection. arXiv preprint arXiv:2103.07461, 2021.
|
| 238 |
+
[74] Xingyi Zhou, Dequan Wang, and Philipp Krähenbühl. Objects as points. arXiv:1904.07850, 2019.
|
| 239 |
+
[75] Yin Zhou and Oncel Tuzel. Voxelnet: End-to-end learning for point cloud based 3d object detection. CVPR, 2018.
|
| 240 |
+
[76] Benjin Zhu, Zhengkai Jiang, Xiangxin Zhou, Zeming Li, and Gang Yu. Class-balanced grouping and sampling for point cloud 3d object detection. arXiv:1908.09492, 2019.
|
parse/train/8xoN9ZdSW8/8xoN9ZdSW8_content_list.json
ADDED
|
@@ -0,0 +1,947 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Multimodal Virtual Point 3D Detection ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
261,
|
| 8 |
+
122,
|
| 9 |
+
736,
|
| 10 |
+
147
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Tianwei Yin UT Austin yintianwei@utexas.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
200,
|
| 19 |
+
196,
|
| 20 |
+
382,
|
| 21 |
+
238
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Xingyi Zhou UT Austin zhouxy@cs.utexas.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
416,
|
| 30 |
+
196,
|
| 31 |
+
589,
|
| 32 |
+
238
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Philipp Krähenbühl UT Austin philkr@cs.utexas.edu ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
622,
|
| 41 |
+
196,
|
| 42 |
+
797,
|
| 43 |
+
238
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Abstract ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
462,
|
| 53 |
+
275,
|
| 54 |
+
535,
|
| 55 |
+
291
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Lidar-based sensing drives current autonomous vehicles. Despite rapid progress, current Lidar sensors still lag two decades behind traditional color cameras in terms of resolution and cost. For autonomous driving, this means that large objects close to the sensors are easily visible, but far-away or small objects comprise only one measurement or two. This is an issue, especially when these objects turn out to be driving hazards. On the other hand, these same objects are clearly visible in onboard RGB sensors. In this work, we present an approach to seamlessly fuse RGB sensors into Lidar-based 3D recognition. Our approach takes a set of 2D detections to generate dense 3D virtual points to augment an otherwise sparse 3D point cloud. These virtual points naturally integrate into any standard Lidar-based 3D detectors along with regular Lidar measurements. The resulting multi-modal detector is simple and effective. Experimental results on the large-scale nuScenes dataset show that our framework improves a strong CenterPoint baseline by a significant $6 . 6 \\ \\mathrm { m A P }$ , and outperforms competing fusion approaches. Code and more visualizations are available at https://tianweiy.github.io/mvp/. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
233,
|
| 64 |
+
306,
|
| 65 |
+
766,
|
| 66 |
+
512
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 Introduction ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
537,
|
| 77 |
+
310,
|
| 78 |
+
555
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "3D perception is a core component in safe autonomous driving [1, 55]. A 3D Lidar sensor provides accurate depth measurements of the surrounding environment [23, 49, 75], but is costly and has low resolution at long range. A top-of-the-line 64-lane Lidar sensor can easily cost more than a small car with an input resolution that is at least two orders of magnitude lower than a $\\$ 50\\mathrm { \\text R G B }$ sensor. This Lidar sensor receives one or two measurements for small or far away objects, whereas a corresponding RGB sensor sees hundreds of pixels. However, the RGB sensor does not perceive the depth and cannot directly place its measurements into a scene. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
569,
|
| 88 |
+
825,
|
| 89 |
+
666
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "In this paper, we present a simple and effective framework to fuse 3D Lidar and high-resolution color measurements. We lift RGB measurements into 3D virtual points by mapping them into the scene using close-by depth measurements of a Lidar sensor (See Figure 1 for an example). Our Multi-modal Virtual Point detector, MVP, generates high-resolution 3D point-cloud near target objects. A center-based 3D detector [66] then identifies all objects in the scene. Specifically, MVP uses 2D object detections to crop the original point cloud into instance frustums. MVP then generates dense 3D virtual points near these foreground points by lifting 2D pixels into 3D space. We use depth completion in image space to infer the depth of each virtual point. Finally, MVP combines virtual points with the original Lidar measurements as input to a standard center-based 3D detector [66]. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
672,
|
| 99 |
+
825,
|
| 100 |
+
797
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Our multi-modal virtual point method has several key advantages: First, 2D object detections are well optimized [17, 74] and highly accurate even for small objects. See Figure 2 for a comparison of two state-of-the-art 2D and 3D detectors on the same scene. The 2D detector has a significantly higher 2D detection accuracy but lacks the necessary 3D information used in the downstream driving task. Secondly, virtual points reduce the density imbalance between close and faraway objects. MVP augments objects at different distances with the same number of virtual points, making the point cloud measurement of these objects more consistent. Finally, our framework is a plug-andplay module to any existing or new 2D or 3D detectors. We test our model on the large-scale nuScenes dataset [2]. Adding multi-modal virtual points brings ${ \\bf 6 . 6 \\ m A P }$ improvements over a strong CenterPoint baseline [66]. Without any ensembles or test-time augmentation, our best model achieves ${ \\bf 6 6 . 4 \\ m A P }$ and ${ \\bf 7 0 . 5 N D S }$ on nuScenes, outperforming all competing non-ensembled methods on the nuScenes leaderboard at the time of submission. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
804,
|
| 110 |
+
825,
|
| 111 |
+
901
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "image",
|
| 117 |
+
"img_path": "images/802ca41f707f79ce428e72b18cbf58e49acac072296129e4f9b9be5cda82590f.jpg",
|
| 118 |
+
"image_caption": [
|
| 119 |
+
"Figure 1: We augment sparse Lidar point cloud with dense semantic virtual points generated from 2D detections. Left: the augmented point-cloud in the scene. We show the original points in gray and augmented points in red. Right: three cutouts with the origial points on top and virtual points below. The virtual points are up to two orders of magnitude denser. "
|
| 120 |
+
],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
85,
|
| 125 |
+
802,
|
| 126 |
+
276
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
368,
|
| 136 |
+
825,
|
| 137 |
+
438
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "2 Related work ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
174,
|
| 147 |
+
458,
|
| 148 |
+
316,
|
| 149 |
+
474
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "2D Object Detection has great progress in recent years. Standard approaches include the RCNN family [13, 17, 43] which first predict class-agnostic bounding boxes based on predefined anchor boxes and then classify and refine them in a two-stage fashion with deep neural networks. YOLO [42], SSD [33], and RetinaNet [30] predicts the class specific bounded boxes in one shot. Recent anchorfree detectors like CornerNet [24] and CenterNet [74] directly localize objects through keypoints without the need of predefined anchors. In our approach, we use CenterNet [74] as our 2D detector for its simplicity and superior performance for detecting small objects. See Figure 2 for an example of a 2D detectors output. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
491,
|
| 159 |
+
825,
|
| 160 |
+
602
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "Lidar-based 3D Object Detection estimates rotated 3D bounding boxes from 3D point clouds [7, 12, 23, 37, 60–63, 65, 76]. 3D detectors share a common output representation and network structure with 2D detectors but encode the input differently. VoxelNet [75] uses a PointNe-based feature extractor to generate a voxel-wise feature representation from which a backbone consisted of sparse 3D convolutions and bird-eye view 2D convolution produces detection outputs. SECOND [60] introduces more efficient sparse convolution operations. PIXOR [61] and PointPillars [23] directly process point clouds in bird-eye view, further improving efficiency. Two-stage 3D detectors [8, 45– 47, 63] use a PointNet-based set abstraction layer [39] to aggregate RoI-specifc features inside first stage proposals to refine outputs. Anchor-free approaches [5, 36, 57, 59, 61, 66] remove the need for axis-aligned bird-eye view anchor boxes. VoteNet [36] detects 3D objects through Hough voting and clustering. CenterPoint [66] proposes a center-based representation for 3D object detection and tracking and achieved state-of-the-art performance on nuScenes and Waymo benchmarks. However, as Figure 2 shows a Lidar-only detector still misses small or far-away objects due to the sparsity of depth measurements. In this work, we build upon the CenterPoint detector and demonstrate significant ${ \\bf 6 . 6 \\ m A P }$ improvements by adding our multi-modal virtual point approach. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
618,
|
| 170 |
+
825,
|
| 171 |
+
825
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "Camera-based 3D Object Detection Camera-based 3D object detection predicts 3D bounding boxes from camera images. Mono3D [6] uses the ground-plane assumption to generate 3D candidate boxes and scores the proposals using 2D semantic cues. CenterNet [74] first detects 2D objects in images and predicts the corresponding 3D depth and bounding box attributes using center features. Despite rapid progress, monocular 3D object detectors still perform far behind the Lidar-based methods. On state-of-the-art 3D detection benchmarks [2, 12], state-of-the-art monocular methods [26, 41] achieve about half the mAP detection accuracy, of standard Lidar based baselines [60]. PseudoLidar [56] based methods produce a virtual point cloud from RGB images, similar to our approach. However, they rely on noisy stereo depth estimates [25, 40, 56] while we use more accurate Lidar measurements. Again, the performance of purely color-based approaches lags slightly behind Lidar or fusion-based methods [2, 12]. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
842,
|
| 181 |
+
825,
|
| 182 |
+
911
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "image",
|
| 188 |
+
"img_path": "images/a55c340fde8c8833b29c6154a86673938c751a9c42cb9d55d9d976e5de2cbfcd.jpg",
|
| 189 |
+
"image_caption": [
|
| 190 |
+
"Figure 2: Comparison between state-of-the-art image-based 2D detector [73] and point cloud based 3D detector [66]. We show detection from the 2D detector in blue and detection from 3D detector in green. For the 3D detector, we project the predicted 3D bounding boxes into images to get the 2D detections. For the 2D detector, we train the model using projected 2D boxes from 3D annotations. Compared to 2D detector, 3D detector often misses faraway or small objects.A quantitative comparison between 2D and 3D detectors is included in Section 5.2. "
|
| 191 |
+
],
|
| 192 |
+
"image_footnote": [],
|
| 193 |
+
"bbox": [
|
| 194 |
+
183,
|
| 195 |
+
88,
|
| 196 |
+
813,
|
| 197 |
+
270
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 2
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"text": "",
|
| 204 |
+
"bbox": [
|
| 205 |
+
174,
|
| 206 |
+
387,
|
| 207 |
+
826,
|
| 208 |
+
470
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 2
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"text": "Multi-modal 3D Object Detection fuses information of Lidar and color cameras [20, 28, 28, 29, 35, 37, 53, 67, 71, 72]. Frustum PointNet [38] and Frustum ConvNet [58] first detect objects in image space to identify regions of interest in the point cloud for further processing. It improves the efficiency and precision of 3D detection but is fundamentally limited by the quality of 2D detections. In contrast, we adopt a standard 3D backbone [75] to process the augmented Lidar point cloud, combining the benefit of both sensor modalities. MV3D [7] and AVOD [22] performs object-centric fusion in a two-stage framework. Objects are first detected in each sensor and fused at the proposal stage using RoIPooling [43]. Continuous fusion [20, 29] shares image and Lidar features between their backbones. Closest to our approach are MVX-Net [48], PointAugmenting [54], and PointPainting [52], which utilize point-wise correspondence to annotate each lidar point with image-based segmentation or CNN features. We instead augment the 3D lidar point cloud with additional points surrounding 3D measurements. These additional points make full use of the higher dimensional RGB measurements. ",
|
| 215 |
+
"bbox": [
|
| 216 |
+
173,
|
| 217 |
+
484,
|
| 218 |
+
825,
|
| 219 |
+
651
|
| 220 |
+
],
|
| 221 |
+
"page_idx": 2
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"text": "Point Cloud Augmentation generates denser point clouds from sparse Lidar measurements. Lidarbased methods like PUNet [69], PUGAN [27], and Wang et al. [64] learn high level point-wise features from raw Lidar scans. They then reconstruct multiple upsampled point clouds from each high dimensional feature vector. Image-based methods [18, 21, 51] perform depth completion from sparse measurements. We build upon these depth completion methods and demonstrate state-of-the-art 3D detection results through point upsampling. ",
|
| 226 |
+
"bbox": [
|
| 227 |
+
174,
|
| 228 |
+
666,
|
| 229 |
+
825,
|
| 230 |
+
750
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 2
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "text",
|
| 236 |
+
"text": "3 Preliminary ",
|
| 237 |
+
"text_level": 1,
|
| 238 |
+
"bbox": [
|
| 239 |
+
174,
|
| 240 |
+
767,
|
| 241 |
+
305,
|
| 242 |
+
785
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 2
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "text",
|
| 248 |
+
"text": "Our framework relies on both 2D detection, existing 3D detectors, and a mapping between 2D and 3D. We introduce the necessary concepts and notations below. ",
|
| 249 |
+
"bbox": [
|
| 250 |
+
174,
|
| 251 |
+
799,
|
| 252 |
+
825,
|
| 253 |
+
827
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 2
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "2D Detection. Let $I$ be a camera image. A 2D object detector aims to localize and classify all objects in $I$ . A bounding-box $b _ { i } \\in \\mathbb { R } ^ { 4 }$ describes the objects location. A class score $s _ { i } ( c )$ predicts the likelihood of detection $b _ { i }$ to be of class $c$ . An optional instance mask $m _ { i } \\in [ 0 , 1 ] ^ { W \\times H }$ predicts a pixel-level segmentation of each object. In this paper, we use the popular CenterNet [74] detector. CenterNet detects objects through keypoint estimation. It takes the input image $I$ and predicts a heatmap for each class $c$ . Peaks (local maxima) of the heatmap corresponds to an object. The model regresses to other bounding box attributes using peak features with an L1 [74] or box IoU [44] objective. For instance segmentation, we use CenterNet2 [73] which adds a cascade RoI heads [3] on top of the first stage proposal network. The overall network runs at 40 FPS and achieves 43.3 instance segmentation mAP on the nuScenes image dataset [2]. ",
|
| 260 |
+
"bbox": [
|
| 261 |
+
174,
|
| 262 |
+
842,
|
| 263 |
+
825,
|
| 264 |
+
911
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 2
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "text",
|
| 270 |
+
"text": "",
|
| 271 |
+
"bbox": [
|
| 272 |
+
174,
|
| 273 |
+
90,
|
| 274 |
+
825,
|
| 275 |
+
161
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 3
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "3D Detection. Let $P = \\{ ( x , y , z , r ) _ { i } \\}$ be a point cloud with 3D location $( x , y , z )$ and reflectance $r$ . The goal of a 3D detector is to predict a set of 3D bounding boxes $\\{ b _ { i } \\}$ from the point cloud $P$ . The bounding box $b = ( u , v , o , w , \\bar { l } , h , \\theta )$ includes the 3D center location $( u , v , o )$ , object size $( w , l , h )$ and the yaw rotation along $\\mathbf { Z }$ axis $\\theta$ . In this paper, we build upon the state-of-the-art CenterPoint [66] detector. We experiment with two popular 3D backbones: VoxelNet [75] and PointPillars [23]. VoxelNet quantizes the irregular point clouds into regular bins followed by a simple average pooling to extract features from all points inside a bin [60]. After that, a backbone consisted of sparse 3D convolutions [14] processes the quantized 3D feature volumes and the output is a map view feature map $M \\in \\mathbb { R } ^ { \\bar { W } \\times \\bar { H } \\times F }$ . PointPillar directly processes point clouds as bird-eye view pillar, a single elongated voxel per map location, and extracts features with fast 2D convolution to get the map view feature map $M$ . ",
|
| 282 |
+
"bbox": [
|
| 283 |
+
173,
|
| 284 |
+
172,
|
| 285 |
+
826,
|
| 286 |
+
327
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 3
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "text",
|
| 292 |
+
"text": "With the map view features, a detection head inspired by CenterNet [74] localizes objects in bird-eye view and regress to other box parameters using center features. ",
|
| 293 |
+
"bbox": [
|
| 294 |
+
176,
|
| 295 |
+
333,
|
| 296 |
+
820,
|
| 297 |
+
361
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 3
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "text",
|
| 303 |
+
"text": "2D-3D Correspondence. Multi-modal fusion approaches [48, 52, 53, 72] often rely on a pointwise correspondence between 3D point clouds and 2D pixels. In absence of calibration noise, the projection from the 3D Lidar coordinate into a 2D image coordinate involves an SE(3) transformation from the Lidar measurement to the camera frame and a perspective projection from the camera frame into image coordinates. All transformations may be described with homogeneous, time-dependent transformations. Let $t _ { 1 }$ and $t _ { 2 }$ be the capture time of the Lidar measurement and RGB image respectively. Let $T _ { \\mathrm { ( c a r l i d a r ) } }$ be the transformation from the Lidar sensor to the reference frame of the car. Let $T _ { ( t _ { 1 } t _ { 2 } ) }$ be the transformation of the car between $t _ { 2 }$ and $t _ { 1 }$ . Let $T _ { \\mathrm { ( r g b c a r ) } }$ be the transformation from the cars reference frame to the RGB sensor. Finally, let $P _ { \\mathrm { r g b } }$ be the projection matrix of the RGB camera defined by the camera intrinsic. The transformation from the Lidar to RGB sensor is then defined by ",
|
| 304 |
+
"bbox": [
|
| 305 |
+
173,
|
| 306 |
+
375,
|
| 307 |
+
825,
|
| 308 |
+
527
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 3
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "equation",
|
| 314 |
+
"img_path": "images/e7a236cbacf886781d09c17da3b28fd2577925d4c8dcead32a360c4bd7c298b3.jpg",
|
| 315 |
+
"text": "$$\nT _ { \\mathrm { r g b } \\mathrm { l i d a r } } ^ { t _ { 1 } t _ { 2 } } = T _ { ( \\mathrm { r g b } c a r ) } T _ { ( t _ { 1 } t _ { 2 } ) } T _ { ( \\mathrm { c a r } \\mathrm { l i d a r } ) } ,\n$$",
|
| 316 |
+
"text_format": "latex",
|
| 317 |
+
"bbox": [
|
| 318 |
+
348,
|
| 319 |
+
529,
|
| 320 |
+
647,
|
| 321 |
+
549
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 3
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "text",
|
| 327 |
+
"text": "followed by a perspective projection with camear matrix $P _ { \\mathrm { r g b } }$ and a perspective division. The perspective division makes the mapping from Lidar to RGB surjective and non-invertible. In the next section, we show how to recover an inverse mapping by using depth measurements of Lidar when mapping RGB to Lidar. ",
|
| 328 |
+
"bbox": [
|
| 329 |
+
174,
|
| 330 |
+
550,
|
| 331 |
+
825,
|
| 332 |
+
606
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 3
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "text",
|
| 338 |
+
"text": "4 Multimodal Virtual Point ",
|
| 339 |
+
"text_level": 1,
|
| 340 |
+
"bbox": [
|
| 341 |
+
176,
|
| 342 |
+
625,
|
| 343 |
+
418,
|
| 344 |
+
642
|
| 345 |
+
],
|
| 346 |
+
"page_idx": 3
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "text",
|
| 350 |
+
"text": "Given a set of 2D object detections, we want to generate dense virtual points $\\boldsymbol { v } _ { i } = ( x , y , z , \\mathbf { e } )$ where $( x , y , z )$ is the 3D location and $\\mathbf { e }$ is the semantic feature from the 2D detector. For simplicity, we use the 2D detectors class scores as semantic features. For each detection $b _ { j }$ with associated instance mask $\\mathbf { m } _ { j }$ we generate a fixed number $\\tau$ multimodal virtual points. ",
|
| 351 |
+
"bbox": [
|
| 352 |
+
173,
|
| 353 |
+
655,
|
| 354 |
+
825,
|
| 355 |
+
710
|
| 356 |
+
],
|
| 357 |
+
"page_idx": 3
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"text": "Virtual Point Generation. We start by projecting the 3D Lidar point cloud onto our detection. Specifically, we transform each Lidar point $( x , y , z , r ) _ { i }$ into the reference frame of the RGB camera following Equation (1), then project it into image coordinates $\\mathbf { p } _ { i }$ with associated depth $d _ { i }$ using a perspective projection. Let the collection of all projected points and depth values for a single detection $j$ be the objects frustum $\\mathbf { F } _ { j } = \\{ ( \\mathbf { p } _ { i } , d _ { i } ) | \\mathbf { p } _ { i } \\overset { \\cdot } { \\in } \\bar { \\mathbf { m } } _ { j } \\forall _ { i } \\}$ . The frustum only considers projected 3D points $\\mathbf { p } _ { i }$ that fall within a detection mask $\\mathbf { m } _ { j }$ . Any Lidar measurement outside detection masks is discarded. Next, we generate virtual points from each frustum $\\mathbf { F } _ { j }$ . ",
|
| 362 |
+
"bbox": [
|
| 363 |
+
173,
|
| 364 |
+
723,
|
| 365 |
+
825,
|
| 366 |
+
821
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 3
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "We start by randomly sampling 2D points $\\mathbf s \\in \\mathbf m$ from each instance mask m. We sample $\\tau$ points uniformly at random without repetition. For each sampled point $\\mathbf { s } _ { k }$ , we retrieve a depth estimate $d _ { k }$ from its nearest neighbor in the frustum $F _ { j }$ : $d _ { k } = \\arg \\operatorname* { m i n } _ { d _ { i } } \\left\\| \\mathbf { p } _ { i } - \\mathbf { s } _ { k } \\right\\|$ . Given the depth estimate, we unproject the point back into 3D and append the object’s semantic feature $e _ { j }$ to the virtual point. We concatenate the one-hot encoding of the detected class and the detections objectness score in the semantic feature. ",
|
| 373 |
+
"bbox": [
|
| 374 |
+
174,
|
| 375 |
+
828,
|
| 376 |
+
825,
|
| 377 |
+
911
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 3
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "table",
|
| 383 |
+
"img_path": "images/2b2e5fe5fedd61ddc46af5b0876944c38bdf336f7c783b29a1b6504c82489147.jpg",
|
| 384 |
+
"table_caption": [
|
| 385 |
+
"Algorithm 1: Multi-modal Virtual Point Generation "
|
| 386 |
+
],
|
| 387 |
+
"table_footnote": [],
|
| 388 |
+
"table_body": "<table><tr><td>Input Hyper parameters :Number of virtual points per object T Output</td><td>:Lidar point cloud L = {(x,y, z,r)i}. Instance masks {m1,...,mn} for n objects. Semantic features {e1,..,en} with ej ∈ RD</td></tr><tr><td>Fj←の ∀j∈{1...n}; for(xi,yi,zi,ri) ∈Ldo /* Perspective projection to 2D point p depth d p,d←Project(PrgbTtda(myi,,1)T);</td><td>: Multi-modal 3D virtual points V ∈ Rn Xτ×(3+D) // Point cloud instance frustums */</td></tr><tr><td>for j ∈{1...n} do ifp∈mj then</td><td></td></tr><tr><td>Fj←FjU{(p,d)}; end</td><td>// Add point to frustum</td></tr><tr><td>end end</td><td></td></tr><tr><td>for j ∈{1...n} do</td><td></td></tr><tr><td>S ← Sample,(mj);</td><td></td></tr><tr><td></td><td></td></tr><tr><td>for s ∈Sdo</td><td></td></tr><tr><td></td><td>// Uniformly sample T 2d points in instance mask</td></tr><tr><td>(p,d) ← NN(s,Fj);</td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td>// Find closest projected 3D point</td></tr><tr><td></td><td></td></tr><tr><td>(PrgbTtiar)</td><td>/* Unproject the 2D point s using the nearest neighbors depth d*/</td></tr><tr><td>q↑(</td><td></td></tr><tr><td></td><td>Unproject(s,d);</td></tr><tr><td>Add (q,ej) to Vj;</td><td></td></tr><tr><td></td><td></td></tr><tr><td>end</td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td>end</td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>",
|
| 389 |
+
"bbox": [
|
| 390 |
+
169,
|
| 391 |
+
109,
|
| 392 |
+
808,
|
| 393 |
+
500
|
| 394 |
+
],
|
| 395 |
+
"page_idx": 4
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"type": "text",
|
| 399 |
+
"text": "The virtual point generation is summarized in Algorithm 1 and Figure 3. Next, we show how to incorporate virtual points into a point-based 3D detector. ",
|
| 400 |
+
"bbox": [
|
| 401 |
+
176,
|
| 402 |
+
527,
|
| 403 |
+
823,
|
| 404 |
+
556
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 4
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "text",
|
| 410 |
+
"text": "Virtual Point 3D detection. Voxel-based 3D detectors [60, 66] first voxelize 3D points $( x , y , z ) _ { i }$ and average all point features $( x , y , z , t , r ) _ { i }$ within a voxel. Here $r _ { i }$ is a reflectance measure and $t _ { i }$ is the capture time. A standard 3D convolutional network uses these voxelized features in further processing. For virtual points, this creates an issue. The feature dimensions of real points $( x , y , z , t , r )$ and virtual points differ $( x , y , z , t , \\mathbf { e } )$ . A simple solution could be to either concatenate virtual and real points into a larger feature $( x , y , z , t , r , \\mathbf { e } )$ and set any missing information to zero. However, this is both wasteful, as the dimension of real points grows by $3 \\times$ , and it creates an imbalanced ratio between virtual and real points in different parts of the scene. Furthermore, real measurements are often a bit more precise than virtual points and simple averaging of the two blurs out the information contained in real measurements. To solve this, we modify the average pooling approach by separately averaging features of virtual and real points and concatenating the final averaged features together as input to 3D convolution. For the rest of the architecture, we follow CenterPoint [66]. ",
|
| 411 |
+
"bbox": [
|
| 412 |
+
173,
|
| 413 |
+
570,
|
| 414 |
+
825,
|
| 415 |
+
736
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 4
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "text",
|
| 421 |
+
"text": "We further use virtual points in a second-stage refinement. Our MVP model generates dense virtual points near target objects which help two-stage refinement [45, 66]. Here, we follow Yin et al. [66] to extract bird-eye view features from all outward surfaces of the predicted 3D box. The main difference to Yin et al. is that our input is much denser around objects, and hence the second stage refinement has access to richer information. ",
|
| 422 |
+
"bbox": [
|
| 423 |
+
174,
|
| 424 |
+
742,
|
| 425 |
+
823,
|
| 426 |
+
813
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 4
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "5 Experiments ",
|
| 433 |
+
"text_level": 1,
|
| 434 |
+
"bbox": [
|
| 435 |
+
174,
|
| 436 |
+
830,
|
| 437 |
+
312,
|
| 438 |
+
848
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 4
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "We evaluate our proposed multimodal virtual point method on the challenging nuScenes benchmark. ",
|
| 445 |
+
"bbox": [
|
| 446 |
+
173,
|
| 447 |
+
862,
|
| 448 |
+
823,
|
| 449 |
+
877
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 4
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "nuScenes [2] is a popular multimodal autonomous driving datasets for 3D object detection in urban scenes. The dataset contains 1000 driving sequences, with each 20s long and annotated with 3D bounding boxes. The Lidar frequency is $2 0 \\mathrm { H z }$ and the dataset provides sensor and vehicle pose information for each Lidar frame but only includes object annotation every ten frames (0.5s). The dataset hides any personally identifiable information, blurs faces and license plates in color images. There are in total 6 RGB cameras at a resolution of $1 6 0 0 \\times 9 0 0$ and a capture frequency of $1 2 \\mathrm { H z }$ . We follow the official dataset split to use 700, 150, 150 sequences for training, validation, and testing. This in total results in 28130 frames for training, 6019 frames for validation, and 6008 frames for testing. The annotations include a fine-grained label space of ten classes with a long-tail distribution. For 3D object detection, the official evaluation metrics include the mean Average Precision (mAP)[11] and nuScenes detection score (NDS) [2]. mAP measures the localization precision using a threshold based on the birds-eye view center distance $< 0 . 5 \\mathrm { m }$ , 1m, 2m, 4m. NDS is a weighted combination of mAP and regression accuracy of other object attributes including box size, orientation, translation, and class-specific attributes [2]. NDS is the main ranking metric for the benchmark. ",
|
| 456 |
+
"bbox": [
|
| 457 |
+
173,
|
| 458 |
+
882,
|
| 459 |
+
825,
|
| 460 |
+
911
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 4
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "image",
|
| 466 |
+
"img_path": "images/cea7a1071c5d0c5bc301c9e9942c92293f3b2a4e760b5ea509b38ed771cc1c6a.jpg",
|
| 467 |
+
"image_caption": [
|
| 468 |
+
"(a) 2D instance segmentation "
|
| 469 |
+
],
|
| 470 |
+
"image_footnote": [],
|
| 471 |
+
"bbox": [
|
| 472 |
+
181,
|
| 473 |
+
89,
|
| 474 |
+
495,
|
| 475 |
+
227
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 5
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "image",
|
| 481 |
+
"img_path": "images/5a2df439a19e6fcc13bada1b5f3b60c478049920845b63d54b385013d873945f.jpg",
|
| 482 |
+
"image_caption": [
|
| 483 |
+
"(c) Sampling and nearest neighbor matching "
|
| 484 |
+
],
|
| 485 |
+
"image_footnote": [],
|
| 486 |
+
"bbox": [
|
| 487 |
+
181,
|
| 488 |
+
255,
|
| 489 |
+
495,
|
| 490 |
+
392
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 5
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "image",
|
| 496 |
+
"img_path": "images/9f1823b3fa830acf8f5a3696a1391bef1515e7d3a3b10a89fbb499802d865087.jpg",
|
| 497 |
+
"image_caption": [
|
| 498 |
+
"(b) Lidar point cloud projection "
|
| 499 |
+
],
|
| 500 |
+
"image_footnote": [],
|
| 501 |
+
"bbox": [
|
| 502 |
+
503,
|
| 503 |
+
89,
|
| 504 |
+
816,
|
| 505 |
+
226
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 5
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "image",
|
| 511 |
+
"img_path": "images/204de22807dcc359aac30aa34f6961fd838fa62c2772317304f2511914c55425.jpg",
|
| 512 |
+
"image_caption": [
|
| 513 |
+
"(d) Reprojected virtual points ",
|
| 514 |
+
"Figure 3: Overview of our mlutimodal virtual point generation framework. We start by extracting 2D instance masks for each object in a color image (a). We then project all Lidar measurements into the reference frame of the RGB camera (b). For visualization purposes, points inside the objects are black, other points are grey. We then sample random points inside each 2D instance mask and retrieve a depth estimate from their nearest neighbor Lidar projection (c). For visualization clarity, (c) only shows a subset of virtual points. Finally, all virtual points are reprojected into the original point-cloud (d). "
|
| 515 |
+
],
|
| 516 |
+
"image_footnote": [],
|
| 517 |
+
"bbox": [
|
| 518 |
+
563,
|
| 519 |
+
260,
|
| 520 |
+
761,
|
| 521 |
+
397
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 5
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "text",
|
| 527 |
+
"text": "",
|
| 528 |
+
"bbox": [
|
| 529 |
+
173,
|
| 530 |
+
551,
|
| 531 |
+
826,
|
| 532 |
+
718
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 5
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "Implementation Details. Our implementation is based on the opensourced code of CenterPoint 1 [66] for 3D detection and CenterNet2 $[ 7 3 ]$ for 2D Detection. ",
|
| 539 |
+
"bbox": [
|
| 540 |
+
174,
|
| 541 |
+
733,
|
| 542 |
+
821,
|
| 543 |
+
761
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 5
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "For 2D detection, we train a CenterNet [74] detector on the nuScenes image dataset [2]. We use the DLA-34 [68] backbone with deformable convolutions [10]. We add cascade RoI heads [3] for instance segmentation following Zhou et al. [73]. We train the detector on the nuScenes dataset using the SGD optimizer with a batch size of 16 and a learning rate of 0.02 for 90000 iterations. ",
|
| 550 |
+
"bbox": [
|
| 551 |
+
174,
|
| 552 |
+
767,
|
| 553 |
+
825,
|
| 554 |
+
824
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 5
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "text",
|
| 560 |
+
"text": "For 3D detection, we use the same VoxelNet [75] and PointPillars [23] architectures following [23, 66, 76]. For VoxelNet, the detection range is $[ - 5 4 m , 5 4 m ]$ for the $X$ , $Y$ axis and $[ - 5 m , 3 m ]$ for the $Z$ axis while the range is $[ - 5 1 . 2 m , 5 1 . 2 m ]$ for the $X$ , $Y$ axis for the PointPillar architecture. The voxel size is $( 0 . 0 7 5 m , 0 . 0 7 5 m , 0 . 2 m )$ and $( 0 . 2 m , 0 . 2 m , 8 m )$ for VoxelNet and PointPillar respectively. For data augmentation, we follow CenterPoint and use global random rotations between $[ - \\bar { \\pi } / 4 , \\pi / 4 ]$ , global random scaling between [0.9, 1.1] and global translations between $[ - 0 . 5 m , 0 . 5 m ]$ . To deal with the long-tail class distribution in nuScenes, we use the ground truth sampling in [60] to randomly paste objects into the current frame [60, 76]. We also adopt the class-balanced resampling and class-grouped heads in [76] to improve the average density of rare classes. We train the model for 20 epochs with the AdamW [34] optimizer using the one-cycle policy [16], with a max learning rate of 3e-3 following [66]. The training takes 2.5 days on 4 V100 GPUs with a batch size of 16 (4 frames per GPU). ",
|
| 561 |
+
"bbox": [
|
| 562 |
+
176,
|
| 563 |
+
830,
|
| 564 |
+
825,
|
| 565 |
+
872
|
| 566 |
+
],
|
| 567 |
+
"page_idx": 5
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"type": "table",
|
| 571 |
+
"img_path": "images/78548d34669a26866e7ea69ace84a52b81990fcc429e6e0e749843da3e8dc6b3.jpg",
|
| 572 |
+
"table_caption": [
|
| 573 |
+
"Table 1: Comparisons with previous methods on nuScenes test set. We show the NDS, mAP, and mAP for each class. Abbreviations are construction vehicle (CV), pedestrian (Ped), motorcycle (Motor), and traffic cone (TC). "
|
| 574 |
+
],
|
| 575 |
+
"table_footnote": [],
|
| 576 |
+
"table_body": "<table><tr><td>Method</td><td>mAP</td><td>NDS</td><td>Car</td><td>Truck</td><td>Bus</td><td>Trailer</td><td>CV</td><td>Ped</td><td>Motor</td><td>Bicycle</td><td>TC</td><td>Barrier</td></tr><tr><td>PointPillars [23]</td><td>30.5</td><td>45.3</td><td>68.4</td><td>23.0</td><td>28.2</td><td>23.4</td><td>4.1</td><td>59.7</td><td>27.4</td><td>1.1</td><td>30.8</td><td>38.9</td></tr><tr><td>WYSIWYG[19]</td><td>35.0</td><td>41.9</td><td>79.1</td><td>30.4</td><td>46.6</td><td>40.1</td><td>7.1</td><td>65.0</td><td>18.2</td><td>0.1</td><td>28.8</td><td>34.7</td></tr><tr><td>3DSSD [62]</td><td>42.6</td><td>56.4</td><td>81.2</td><td>47.2</td><td>61.4</td><td>30.5</td><td>12.6</td><td>70.2</td><td>36.0</td><td>8.6</td><td>31.1</td><td>47.9</td></tr><tr><td>PMPNet [65]</td><td>45.4</td><td>53.1</td><td>79.7</td><td>33.6</td><td>47.1</td><td>43.1</td><td>18.1</td><td>76.5</td><td>40.7</td><td>7.9</td><td>58.8</td><td>48.8</td></tr><tr><td>PointPainting [52]</td><td>46.4</td><td>58.1</td><td>77.9</td><td>35.8</td><td>36.2</td><td>37.3</td><td>15.8</td><td>73.3</td><td>41.5</td><td>24.1</td><td>62.4</td><td>60.2</td></tr><tr><td>CBGS [76]</td><td>52.8</td><td>63.3</td><td>81.1</td><td>48.5</td><td>54.9</td><td>42.9</td><td>10.5</td><td>80.1</td><td>51.5</td><td>22.3</td><td>70.9</td><td>65.7</td></tr><tr><td>CVCNet [4]</td><td>55.3</td><td>64.4</td><td>82.7</td><td>46.1</td><td>46.6</td><td>49.4</td><td>22.6</td><td>79.8</td><td>59.1</td><td>31.4</td><td>65.6</td><td>69.6</td></tr><tr><td>HotSpotNet [5]</td><td>59.3</td><td>66.0</td><td>83.1</td><td>50.9</td><td>56.4</td><td>53.3</td><td>23.0</td><td>81.3</td><td>63.5</td><td>36.6</td><td>73.0</td><td>71.6</td></tr><tr><td>CenterPoint [66]</td><td>58.0</td><td>65.5</td><td>84.6</td><td>51.0</td><td>60.2</td><td>53.2</td><td>17.5 83.4</td><td></td><td>53.7</td><td>28.7</td><td>76.7</td><td>70.9</td></tr><tr><td>MVP (Ours)</td><td>66.4</td><td>70.5</td><td>86.8</td><td>58.5</td><td>67.4</td><td>57.3</td><td>26.1</td><td>89.1</td><td>70.0</td><td>49.3</td><td>85.0</td><td>74.8</td></tr></table>",
|
| 577 |
+
"bbox": [
|
| 578 |
+
173,
|
| 579 |
+
145,
|
| 580 |
+
839,
|
| 581 |
+
314
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 6
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "text",
|
| 587 |
+
"text": "",
|
| 588 |
+
"bbox": [
|
| 589 |
+
174,
|
| 590 |
+
353,
|
| 591 |
+
825,
|
| 592 |
+
478
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 6
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "During the testing, we set the output threshold to be 0.05 for the 2D detector and generate 50 virtual points for each 2D object in the scene. We use an output threshold of 0.1 for the 3D detector after performing non-maxima suppression with an IoU threshold of 0.2 following CenterPoint [66]. ",
|
| 599 |
+
"bbox": [
|
| 600 |
+
176,
|
| 601 |
+
484,
|
| 602 |
+
825,
|
| 603 |
+
526
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 6
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "5.1 State-of-the-art Comparison ",
|
| 610 |
+
"text_level": 1,
|
| 611 |
+
"bbox": [
|
| 612 |
+
176,
|
| 613 |
+
551,
|
| 614 |
+
410,
|
| 615 |
+
566
|
| 616 |
+
],
|
| 617 |
+
"page_idx": 6
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"type": "text",
|
| 621 |
+
"text": "We first compare with state-of-the-art approaches on the nuScenes test set. We obtain all results on the public leaderboard by submitting our predictions to an online evaluation server. The submission uses a single MVP model without any ensemble or test-time augmentations. We compare to other methods under the same setting. Table 1 summarizes our results. On the nuScenes dataset, MVP achieves state-of-the-art results of $6 6 . 4 \\ : \\mathrm { m A P }$ and $7 0 . 5 \\ : \\mathrm { N D S }$ , outperforming the strong CenterPoint baseline by $8 . 4 \\mathrm { m A P }$ and 5.0 NDS. MVP shows consistent improvements across all object categories with significant $1 1 \\mathrm { m A P }$ accuracy boosts for small objects $( + 2 0 . 6$ for Bicycle and $+ 1 6 . 3$ for motorcycle). These results clearly verify the effectiveness of our multi-modal virtual point approach. ",
|
| 622 |
+
"bbox": [
|
| 623 |
+
173,
|
| 624 |
+
580,
|
| 625 |
+
825,
|
| 626 |
+
691
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 6
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "text",
|
| 632 |
+
"text": "5.2 Ablation Studies ",
|
| 633 |
+
"text_level": 1,
|
| 634 |
+
"bbox": [
|
| 635 |
+
174,
|
| 636 |
+
717,
|
| 637 |
+
328,
|
| 638 |
+
731
|
| 639 |
+
],
|
| 640 |
+
"page_idx": 6
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"type": "text",
|
| 644 |
+
"text": "Comparison of 2D and 3D Detector. We first validate the superior detection performance of the camera-based 2D detector compared to the Lidar-based 3D detector. Specifically, we use two state-ofthe-art object detectors: CenterPoint [66] for Lidar-based 3D detection, and CenterNet [74] for imagebased 2D detection. To compare the performance of detectors working in different modalities, we project the predicted 3D bounding boxes into the image space to get the corresponding 2D detections. The 2D CenterNet detector is trained with projected 2D boxes from ground truth 3D annotations. Table 2 summarizes the results over the whole nuScenes validation set. 2D CenterNet [74] significantly outperforms the CenterPoint model by $9 . 8 \\mathrm { m A P }$ (using 2D overlap). The improvements are larger for smaller objects with a $1 2 . 6 \\mathrm { m A P }$ improvement for objects of medium size and more than $3 \\times$ accuracy improvements for small objects $6 . 9 \\mathrm { m A P }$ vs. $1 . 6 \\mathrm { m A P }$ ). See Figure 2 for a qualitative visualization of these two detectors’ outputs. These results support our motivations for utilizing high-resolution image information to improve 3D detection models with sparse Lidar input. ",
|
| 645 |
+
"bbox": [
|
| 646 |
+
174,
|
| 647 |
+
744,
|
| 648 |
+
826,
|
| 649 |
+
911
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 6
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "table",
|
| 655 |
+
"img_path": "images/1ee9c49f4298ee27ab67866ba09e039f5065bae527f195903579c6ea38c65d36.jpg",
|
| 656 |
+
"table_caption": [
|
| 657 |
+
"Table 2: Quantitative comparison between state-of-the-art image-based 2D detector [74] and point cloud based 3D detector [66] on the nuScenes validation set measuring 2D detection accuracy (AP). The comparison use the COCO [31] style mean average precision with 2D IoU threshold between 0.5 and 0.95 in image coordinates. For 3D CenterPoint [66] detector, we project the predicted 3D bounding boxes into images to get the 2D detections. The results show that the 2D detector performs significantly better than Lidar-based 3D detector at localizing small or medium size objects due to high resolution camera input. "
|
| 658 |
+
],
|
| 659 |
+
"table_footnote": [],
|
| 660 |
+
"table_body": "<table><tr><td>Method</td><td>APsmall</td><td>APmedium</td><td>APlarge</td><td>AP</td></tr><tr><td>CenterPoint [66]</td><td>1.6</td><td>11.7</td><td>34.5</td><td>22.7</td></tr><tr><td>CenterNet [74]</td><td>6.9</td><td>24.3</td><td>42.6</td><td>32.5</td></tr></table>",
|
| 661 |
+
"bbox": [
|
| 662 |
+
302,
|
| 663 |
+
199,
|
| 664 |
+
692,
|
| 665 |
+
258
|
| 666 |
+
],
|
| 667 |
+
"page_idx": 7
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "table",
|
| 671 |
+
"img_path": "images/4d597376ab0a3e43a94b577a75e54c3e33079cd0bb93f177d7bae1f11dfb2f70.jpg",
|
| 672 |
+
"table_caption": [
|
| 673 |
+
"Table 3: Component analysis of our MVP model with VoxelNet [60, 75] and PointPillars [23] backbones on nuScenes validation set. "
|
| 674 |
+
],
|
| 675 |
+
"table_footnote": [],
|
| 676 |
+
"table_body": "<table><tr><td>Encoder</td><td>Baseline</td><td>Virtual Point</td><td>Split Voxelization</td><td>Two-stage</td><td>mAP↑</td><td>NDS↑</td></tr><tr><td rowspan=\"5\">VoxelNet</td><td>?</td><td></td><td></td><td></td><td>59.6</td><td>66.8</td></tr><tr><td></td><td></td><td></td><td>√</td><td>60.5</td><td>67.4</td></tr><tr><td>√</td><td>√</td><td></td><td></td><td>65.9</td><td>69.6</td></tr><tr><td>√</td><td>√</td><td></td><td></td><td>66.0</td><td>70.0</td></tr><tr><td>√</td><td>√</td><td>√</td><td>厂</td><td>67.1</td><td>70.8</td></tr><tr><td rowspan=\"2\">PointPillars</td><td>广</td><td></td><td></td><td></td><td>52.3</td><td>61.3</td></tr><tr><td></td><td>√</td><td></td><td></td><td>62.7</td><td>66.1</td></tr></table>",
|
| 677 |
+
"bbox": [
|
| 678 |
+
197,
|
| 679 |
+
321,
|
| 680 |
+
800,
|
| 681 |
+
457
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 7
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "Component Analysis. Next, we ablate our contributions on the nuScenes validation set. We use the Lidar-only CenterPoint [74] model as our baseline. All hyperparameters and training procedures are the same between all baselines. We change inputs (MVP or regular points), voxelization, or an optional second stage. Table 3 shows the importance of each component of our MVP model. Simply augmenting the Lidar point cloud with multi-modal virtual points gives a $6 . 3 \\ \\mathrm { m A P }$ and $1 0 . 4 \\ \\mathrm { m A P }$ improvements for VoxelNet and PointPillars encoder, respectively. For the VoxelNet encoder, split voxelization gives another $0 . 4 ~ \\mathrm { N D S }$ improvements due to the better modeling of features inside a voxel. Moreover, two-stage refinement with surface center features brings another $1 . 1 \\ \\mathrm { m A P }$ and $0 . 8 ~ \\mathrm { N D S }$ improvements over our first stage models with small overheads $( 1 - 2 \\mathrm { m s } )$ . The improvement of two-stage refinement is slightly larger with virtual points than without. This highlights the effectiveness of our virtual point method to create a finer local structure for better localization and regression using two-stage point-based detection. ",
|
| 688 |
+
"bbox": [
|
| 689 |
+
174,
|
| 690 |
+
489,
|
| 691 |
+
825,
|
| 692 |
+
655
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 7
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "text",
|
| 698 |
+
"text": "Performance Breakdown. To better understand the improvements of our MVP model, we show the performance comparisons on different subsets of the nuScenes validation set based on object distances to the ego-vehicle. We divide all ground truth annotations and predictions into three ranges: $0 { - } 1 5 \\mathrm { m }$ , $1 5 { - } 3 0 \\mathrm { m }$ , and $3 0 { - } 5 0 \\mathrm { m }$ . The baselines include both the Lidar-only two-stage CenterPoint [66] model and the state-of-the-art multi-modal fusion method PointPainting [52]. We reimplement PointPainting using the same 2D detections, backbones, and tricks (including two-stage) as our MVP approach. The main difference to PointPainting [52] is our denser Lidar inputs with multimodal virtual points. Table 4 shows the results. Our MVP model outperforms the Lidar-only baseline by $6 . 6 \\mathrm { m A P }$ while achieving a significant $1 0 . 1 \\mathrm { m A P }$ improvement for faraway objects. Compared to PointPainting [52], our model achieve a $1 . 1 \\mathrm { m A P }$ improvement for faraway objects and performs comparatively for closer objects. This improvement comes from the dense and fine-grained 3D structure generated from our MVP framework. Our method makes better use of the higher dimensional RGB measurements than the simple point-wise semantic feature concatenation as used in prior works [48, 52]. ",
|
| 699 |
+
"bbox": [
|
| 700 |
+
174,
|
| 701 |
+
672,
|
| 702 |
+
826,
|
| 703 |
+
852
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 7
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "Robustness to 2D Detection We investigate the impact of 2D instance segmentation quality on the final 3D detection performance. With the same image network, we simulate the degradation of 2D segmentation performance with smaller input resolutions. We show the results in Table 5. Our ",
|
| 710 |
+
"bbox": [
|
| 711 |
+
176,
|
| 712 |
+
869,
|
| 713 |
+
825,
|
| 714 |
+
911
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 7
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "MVP model is robust to the quality of 2D instance segmentation. The 3D detection performance only decreases by $0 . 8 \\mathrm { N D S }$ with a 9 point worse instance segmentation inputs. ",
|
| 721 |
+
"bbox": [
|
| 722 |
+
173,
|
| 723 |
+
90,
|
| 724 |
+
823,
|
| 725 |
+
119
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 8
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "text",
|
| 731 |
+
"text": "Depth Estimation Accuracy We further quantify the depth estimation quality of our nearest neighbor-based depth interpolation algorithm. We choose objects with at least 15 lidar points and randomly mask out $80 \\%$ of the points. We then generate virtual points from the projected locations of the masked out lidar points and compute the a bi-directional pointwise chamfer distance between virtual points and masked out real lidar points. Our nearest neighbor approach has bi-directional chamfer distance of 0.33 meter on the nuScenes validation set. We believe more advanced learning based approaches like [18] and [21] may further improve the depth completion and 3D detection performance. ",
|
| 732 |
+
"bbox": [
|
| 733 |
+
174,
|
| 734 |
+
133,
|
| 735 |
+
825,
|
| 736 |
+
244
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 8
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "text",
|
| 742 |
+
"text": "KITTI Results To test the generalization of our method, we add an experiment on the popular KITTI dataset [12]. For 2D detection, we use a pretrained MaskFormer [9] model to generate the instance segmentation masks and create 100 virtual points for each 2D object in the scene. For 3D detection, we use the popular PointPillars [23] detector with augmented point cloud inputs. All other parameters are the same as the default PointPillars model. As shown in Table 6, augmenting the Lidar point cloud with our multimodal virtual points gives a $0 . 5 \\mathrm { m A P }$ and $2 . 3 \\mathrm { m A P }$ for vehicle and cyclist class, respectively. We didn’t notice an improvement for the pedestrian class, presumable due to inconsistent pedestrian definition between our image model (trained on COCO [32]) and the 3D detector. On COCO, people inside a vehicle or on top of a bike are all considered to be pedestrians while KITTI 3D detectors treat them as vehicle or cyclist. ",
|
| 743 |
+
"bbox": [
|
| 744 |
+
173,
|
| 745 |
+
257,
|
| 746 |
+
825,
|
| 747 |
+
396
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 8
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "table",
|
| 753 |
+
"img_path": "images/70c4f84ecb0a865516f5b71ae7cd255f772c3b660216a12311a8fd1055d3e5ed.jpg",
|
| 754 |
+
"table_caption": [
|
| 755 |
+
"Table 4: Comparisons between Lidar-only CenterPoint [66] method, fusion-based PointPainting [52] method (denoted as CenterPoint $^ +$ Ours(w/o virtual)), and our multimodal virtual point method for detecting objects of different ranges. All three entries use the VoxelNet backbone. We split the nuScenes validation set into three subsets containing objects at different ranges. "
|
| 756 |
+
],
|
| 757 |
+
"table_footnote": [],
|
| 758 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"4\">nuScenes mAP</td></tr><tr><td>0-15m</td><td>15-30m</td><td>30-50m</td><td>Overall</td></tr><tr><td>CenterPoint [66]</td><td>76.2</td><td>60.3</td><td>37.2</td><td>60.5</td></tr><tr><td>CenterPoint + Ours(w/o virtual)</td><td>78.2</td><td>67.4</td><td>46.2</td><td>66.5</td></tr><tr><td>CenterPoint + Ours</td><td>78.1</td><td>67.7</td><td>47.3</td><td>67.1</td></tr></table>",
|
| 759 |
+
"bbox": [
|
| 760 |
+
246,
|
| 761 |
+
477,
|
| 762 |
+
750,
|
| 763 |
+
563
|
| 764 |
+
],
|
| 765 |
+
"page_idx": 8
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"type": "table",
|
| 769 |
+
"img_path": "images/dfef2903a7381027637e1bb7917c259fe2df3eb2d2bcd1bd76587a4e337c3981.jpg",
|
| 770 |
+
"table_caption": [
|
| 771 |
+
"Table 5: Influence of 2D instance segmentation quality for the final 3D detection performance. We show the input resolution, 2D detection mAP, and 3D detection nuScenes detection score (NDS). "
|
| 772 |
+
],
|
| 773 |
+
"table_footnote": [],
|
| 774 |
+
"table_body": "<table><tr><td>Resolution</td><td>2D mAP</td><td>NDS</td></tr><tr><td>900</td><td>43.3</td><td>70.0</td></tr><tr><td>640</td><td>39.5</td><td>69.6</td></tr><tr><td>480</td><td>34.2</td><td>69.2</td></tr></table>",
|
| 775 |
+
"bbox": [
|
| 776 |
+
387,
|
| 777 |
+
627,
|
| 778 |
+
611,
|
| 779 |
+
693
|
| 780 |
+
],
|
| 781 |
+
"page_idx": 8
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "table",
|
| 785 |
+
"img_path": "images/ce8c11ce2d80e86156912ca8066df1803440ae3fb1008b7b4d79a42d9a9a31f1.jpg",
|
| 786 |
+
"table_caption": [
|
| 787 |
+
"Table 6: Comparison between Lidar-only PointPillars detector and our multimodal virtual point method for 3D detection on KITTI dataset. We show the 3D detection mean average precision for each class under the moderate difficulty level. "
|
| 788 |
+
],
|
| 789 |
+
"table_footnote": [],
|
| 790 |
+
"table_body": "<table><tr><td>Method</td><td>Car</td><td>Cyclist</td><td>Pedestrian</td></tr><tr><td>PointPillars [23]</td><td>77.3</td><td>62.7</td><td>52.3</td></tr><tr><td>PointsPillars+Ours</td><td>77.8</td><td>65.0</td><td>50.5</td></tr></table>",
|
| 791 |
+
"bbox": [
|
| 792 |
+
325,
|
| 793 |
+
771,
|
| 794 |
+
669,
|
| 795 |
+
823
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 8
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "text",
|
| 801 |
+
"text": "6 Discussion and conclusions ",
|
| 802 |
+
"text_level": 1,
|
| 803 |
+
"bbox": [
|
| 804 |
+
174,
|
| 805 |
+
853,
|
| 806 |
+
429,
|
| 807 |
+
869
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 8
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "We proposed a simple multi-modal virtual point approach for outdoor 3D object detection. The main innovation is a multi-modal virtual point generation algorithm that lifts RGB measurements into ",
|
| 814 |
+
"bbox": [
|
| 815 |
+
173,
|
| 816 |
+
882,
|
| 817 |
+
823,
|
| 818 |
+
911
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 8
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "image",
|
| 824 |
+
"img_path": "images/5a7f2232cbdf4080c6316765137c68f82bd0e04a9c51e683a2d6ef8aacb10ad9.jpg",
|
| 825 |
+
"image_caption": [
|
| 826 |
+
"Figure 4: Example qualitative results of MVP on the nuScenes validation set. We show the raw point-cloud in blue, our detected objects in green bounding boxes, and Lidar points inside bounding boxes in red. Best viewed on screen. "
|
| 827 |
+
],
|
| 828 |
+
"image_footnote": [],
|
| 829 |
+
"bbox": [
|
| 830 |
+
192,
|
| 831 |
+
83,
|
| 832 |
+
818,
|
| 833 |
+
354
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 9
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "text",
|
| 839 |
+
"text": "3D virtual points using close-by measurements of a Lidar sensor. Our MVP framework generates high-resolution 3D point clouds near target objects and enables more accurate localization and regression, especially for small and faraway objects. The model significantly improves the strong Lidar-only CenterPoint detector and sets a new state-of-the-art on the nuScenes benchmark. Our framework seamlessly integrates into any current or future 3D detection algorithms. ",
|
| 840 |
+
"bbox": [
|
| 841 |
+
174,
|
| 842 |
+
431,
|
| 843 |
+
823,
|
| 844 |
+
501
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 9
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "There are still certain limitations with the current approach. Firstly, we assume that virtual points have the same depth as close-by Lidar measurements. This may not hold in the real world. Objects like cars don’t have a planar shape vertical to the ground plane. In the future, we plan to apply learning-based methods [50, 70] to infer the detailed 3D shape and pose from both Lidar measurements and image features. Secondly, our current two-stage refinement modules only use features from the bird-eye view which may not take full advantage of the high-resolution virtual points generated from our algorithm. We believe point or voxel-based two-stage 3D detectors like PVRCNN [45] and M3Detr [15] may give more significant improvements. Finally, the point-based abstraction connecting 2D and 3D detection may introduce too large of a bottleneck to transmit information from 2D to 3D. For example, no pose information is contained in our current position $^ +$ class based MVP features. ",
|
| 851 |
+
"bbox": [
|
| 852 |
+
174,
|
| 853 |
+
507,
|
| 854 |
+
825,
|
| 855 |
+
646
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 9
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "text",
|
| 861 |
+
"text": "Overall, we believe future methods for scalable 3D perception can benefit from the interplay of camera and Lidar sensor inputs via dense semantic virtual points. ",
|
| 862 |
+
"bbox": [
|
| 863 |
+
174,
|
| 864 |
+
652,
|
| 865 |
+
823,
|
| 866 |
+
680
|
| 867 |
+
],
|
| 868 |
+
"page_idx": 9
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"type": "text",
|
| 872 |
+
"text": "Societal Impacts. First and foremost better 3D detection and tracking will lead to safer autonomous vehicles. However, in the short term, it may lead to earlier adoption of potentially not-yet safe autonomous vehicles, and misleading error rates in 3D detection may lead to real-world accidents. Fusing multiple modalities may also increase the iteration cycle and safety testing requirements of autonomous vehicles, as different modalities clearly adapt differently to changes in weather, geographic locations, or even day-night cycles. A low sun may uniquely distract an RGB sensor, and hence unnecessarily distract a 3D detector through MVPs. ",
|
| 873 |
+
"bbox": [
|
| 874 |
+
174,
|
| 875 |
+
695,
|
| 876 |
+
825,
|
| 877 |
+
792
|
| 878 |
+
],
|
| 879 |
+
"page_idx": 9
|
| 880 |
+
},
|
| 881 |
+
{
|
| 882 |
+
"type": "text",
|
| 883 |
+
"text": "Furthermore, increasing the reliance of autonomous vehicles on color sensors introduces privacy issues. While most human beings look indistinguishable in 3D Lidar measurements, they are clearly identifiable in color images. In the wrong hands, this additional data may be used for mass surveillance. ",
|
| 884 |
+
"bbox": [
|
| 885 |
+
174,
|
| 886 |
+
799,
|
| 887 |
+
825,
|
| 888 |
+
854
|
| 889 |
+
],
|
| 890 |
+
"page_idx": 9
|
| 891 |
+
},
|
| 892 |
+
{
|
| 893 |
+
"type": "text",
|
| 894 |
+
"text": "Acknowledgement We thank the anonymous reviewers for the constructive comments. This material is based upon work supported by the National Science Foundation under Grant No. IIS-1845485 and IIS-2006820. ",
|
| 895 |
+
"bbox": [
|
| 896 |
+
176,
|
| 897 |
+
869,
|
| 898 |
+
825,
|
| 899 |
+
910
|
| 900 |
+
],
|
| 901 |
+
"page_idx": 9
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"type": "text",
|
| 905 |
+
"text": "References \n[1] Mayank Bansal, Alex Krizhevsky, and Abhijit Ogale. Chauffeurnet: Learning to drive by imitating the best and synthesizing the worst. RSS, 2019. \n[2] Holger Caesar, Varun Bankiti, Alex H. Lang, Sourabh Vora, Venice Erin Liong, Qiang Xu, Anush Krishnan, Yu Pan, Giancarlo Baldan, and Oscar Beijbom. nuscenes: A multimodal dataset for autonomous driving. CVPR, 2020. \n[3] Zhaowei Cai and Nuno Vasconcelos. Cascade r-cnn: Delving into high quality object detection. CVPR, 2018. [4] Qi Chen, Lin Sun, Ernest Cheung, Kui Jia, and Alan Yuille. Every view counts: Cross-view consistency in 3d object detection with hybrid-cylindrical-spherical voxelization. NeurIPS, 2020. \n[5] Qi Chen, Lin Sun, Zhixin Wang, Kui Jia, and Alan Yuille. Object as hotspots: An anchor-free 3d object detection approach via firing of hotspots. ECCV, 2020. \n[6] Xiaozhi Chen, Kaustav Kundu, Ziyu Zhang, Huimin Ma, Sanja Fidler, and Raquel Urtasun. Monocular 3d object detection for autonomous driving. CVPR, 2016. \n[7] Xiaozhi Chen, Huimin Ma, Ji Wan, Bo Li, and Tian Xia. Multi-view 3d object detection network for autonomous driving. CVPR, 2017. \n[8] Yilun Chen, Shu Liu, Xiaoyong Shen, and Jiaya Jia. Fast point r-cnn. ICCV, 2019. \n[9] Bowen Cheng, Alexander G Schwing, and Alexander Kirillov. Per-pixel classification is not all you need for semantic segmentation. arXiv preprint arXiv:2107.06278, 2021. \n[10] Jifeng Dai, Haozhi Qi, Yuwen Xiong, Yi Li, Guodong Zhang, Han Hu, and Yichen Wei. Deformable convolutional networks. ICCV, 2017. \n[11] Mark Everingham, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. The pascal visual object classes (voc) challenge. IJCV, 2010. \n[12] Andreas Geiger, Philip Lenz, and Raquel Urtasun. Are we ready for autonomous driving? the kitti vision benchmark suite. CVPR, 2012. \n[13] Ross Girshick. Fast r-cnn. ICCV, 2015. \n[14] Benjamin Graham, Martin Engelcke, and Laurens van der Maaten. 3d semantic segmentation with submanifold sparse convolutional networks. CVPR, 2018. \n[15] Tianrui Guan, Jun Wang, Shiyi Lan, Rohan Chandra, Zuxuan Wu, Larry Davis, and Dinesh Manocha. M3detr: Multi-representation, multi-scale, mutual-relation 3d object detection with transformers. arXiv preprint arXiv:2104.11896, 2021. \n[16] Sylvain Gugger. The 1cycle policy. https://sgugger.github.io/the-1cycle-policy. html, 2018. \n[17] Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross Girshick. Mask r-cnn. ICCV, 2017. \n[18] Mu Hu, Shuling Wang, Bin Li, Shiyu Ning, Li Fan, and Xiaojin Gong. Penet: Towards precise and efficient image guided depth completion. 2021. \n[19] Peiyun Hu, Jason Ziglar, David Held, and Deva Ramanan. What you see is what you get: Exploiting visibility for 3d object detection. CVPR, 2020. \n[20] Tengteng Huang, Zhe Liu, Xiwu Chen, and Xiang Bai. Epnet: Enhancing point features with image semantics for 3d object detection. ECCV, 2020. \n[21] Saif Imran, Xiaoming Liu, and Daniel Morris. Depth completion with twin surface extrapolation at occlusion boundaries. pages 2583–2592, 2021. \n[22] Jason Ku, Melissa Mozifian, Jungwook Lee, Ali Harakeh, and Steven L Waslander. Joint 3d proposal generation and object detection from view aggregation. IROS, 2018. \n[23] Alex H. Lang, Sourabh Vora, Holger Caesar, Lubing Zhou, Jiong Yang, and Oscar Beijbom. Pointpillars: Fast encoders for object detection from point clouds. CVPR, 2019. \n[24] Hei Law and Jia Deng. Cornernet: Detecting objects as paired keypoints. ECCV, 2018. \n[25] Peiliang Li, Xiaozhi Chen, and Shaojie Shen. Stereo r-cnn based 3d object detection for autonomous driving. CVPR, 2019. \n[26] Peixuan Li, Huaici Zhao, Pengfei Liu, and Feidao Cao. Rtm3d: Real-time monocular 3d detection from object keypoints for autonomous driving. arXiv preprint arXiv:2001.03343, 2, 2020. \n[27] Ruihui Li, Xianzhi Li, Chi-Wing Fu, Daniel Cohen-Or, and Pheng-Ann Heng. Pu-gan: a point cloud upsampling adversarial network. pages 7203–7212, 2019. \n[28] Ming Liang, Bin Yang, Yun Chen, Rui Hu, and Raquel Urtasun. Multi-task multi-sensor fusion for 3d object detection. CVPR, 2019. \n[29] Ming Liang, Bin Yang, Shenlong Wang, and Raquel Urtasun. Deep continuous fusion for multi-sensor 3d object detection. ECCV, 2018. \n[30] Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, and Piotr Dollar. Focal loss for dense object detection. ICCV, 2017. \n[31] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. ECCV, 2014. \n[32] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. ECCV, 2014. \n[33] Wei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy, Scott Reed, Cheng-Yang Fu, and Alexander C Berg. Ssd: Single shot multibox detector. ECCV, 2016. \n[34] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. ICLR, 2019. \n[35] Su Pang, Daniel Morris, and Hayder Radha. Clocs: Camera-lidar object candidates fusion for 3d object detection. arXiv preprint arXiv:2009.00784, 2020. \n[36] Charles R. Qi, Or Litany, Kaiming He, and Leonidas Guibas. Deep hough voting for 3d object detection in point clouds. ICCV, 2019. \n[37] Charles R. Qi, Wei Liu, Chenxia Wu, Hao Su, and Leonidas J. Guibas. Frustum pointnets for 3d object detection from rgb-d data. CVPR, 2018. \n[38] Charles R Qi, Wei Liu, Chenxia Wu, Hao Su, and Leonidas J Guibas. Frustum pointnets for 3d object detection from rgb-d data. CVPR, 2018. \n[39] Charles Ruizhongtai Qi, Li Yi, Hao Su, and Leonidas J Guibas. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. NeurIPS, 2017. \n[40] Rui Qian, Divyansh Garg, Yan Wang, Yurong You, Serge Belongie, Bharath Hariharan, Mark Campbell, Kilian Q Weinberger, and Wei-Lun Chao. End-to-end pseudo-lidar for image-based 3d object detection. CVPR, 2020. \n[41] Cody Reading, Ali Harakeh, Julia Chae, and Steven L Waslander. Categorical depth distribution network for monocular 3d object detection. arXiv preprint arXiv:2103.01100, 2021. \n[42] Joseph Redmon and Ali Farhadi. Yolo9000: better, faster, stronger. CVPR, 2017. \n[43] Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. NIPS, 2015. \n[44] Hamid Rezatofighi, Nathan Tsoi, JunYoung Gwak, Amir Sadeghian, Ian Reid, and Silvio Savarese. Generalized intersection over union: A metric and a loss for bounding box regression. CVPR, 2019. \n[45] Shaoshuai Shi, Chaoxu Guo, Li Jiang, Zhe Wang, Jianping Shi, Xiaogang Wang, and Hongsheng Li. Pv-rcnn: Point-voxel feature set abstraction for 3d object detection. CVPR, 2020. \n[46] Shaoshuai Shi, Xiaogang Wang, and Hongsheng Li. Pointrcnn: 3d object proposal generation and detection from point cloud. CVPR, 2019. \n[47] Shaoshuai Shi, Zhe Wang, Jianping Shi, Xiaogang Wang, and Hongsheng Li. From points to parts: 3d object detection from point cloud with part-aware and part-aggregation network. TPAMI, 2020. \n[48] Vishwanath A Sindagi, Yin Zhou, and Oncel Tuzel. Mvx-net: Multimodal voxelnet for 3d object detection. ICRA, 2019. \n[49] Pei Sun, Henrik Kretzschmar, Xerxes Dotiwalla, Aurelien Chouard, Vijaysai Patnaik, Paul Tsui, James Guo, Yin Zhou, Yuning Chai, Benjamin Caine, et al. Scalability in perception for autonomous driving: An open dataset benchmark. CVPR, 2020. \n[50] Shubham Tulsiani, Abhishek Kar, João Carreira, and Jitendra Malik. Learning category-specific deformable 3d models for object reconstruction. TPAMI, 2017. \n[51] Jonas Uhrig, Nick Schneider, Lukas Schneider, Uwe Franke, Thomas Brox, and Andreas Geiger. Sparsity invariant cnns. pages 11–20, 2017. \n[52] Sourabh Vora, Alex H Lang, Bassam Helou, and Oscar Beijbom. Pointpainting: Sequential fusion for 3d object detection. CVPR, 2020. \n[53] Chunwei Wang, Chao Ma, Ming Zhu, and Xiaokang Yang. Pointaugmenting: Cross-modal augmentation for 3d object detection. CVPR, 2021. \n[54] Chunwei Wang, Chao Ma, Ming Zhu, and Xiaokang Yang. Pointaugmenting: Cross-modal augmentation for 3d object detection. pages 11794–11803, June 2021. \n[55] Dequan Wang, Coline Devin, Qi-Zhi Cai, Philipp Krähenbühl, and Trevor Darrell. Monocular plan view networks for autonomous driving. IROS, 2019. \n[56] Yan Wang, Wei-Lun Chao, Divyansh Garg, Bharath Hariharan, Mark Campbell, and Kilian Q Weinberger. Pseudo-lidar from visual depth estimation: Bridging the gap in 3d object detection for autonomous driving. CVPR, 2019. \n[57] Yue Wang, Alireza Fathi, Abhijit Kundu, David Ross, Caroline Pantofaru, Tom Funkhouser, and Justin Solomon. Pillar-based object detection for autonomous driving. ECCV, 2020. \n[58] Zhixin Wang and Kui Jia. Frustum convnet: Sliding frustums to aggregate local point-wise features for amodal 3d object detection. arXiv preprint arXiv:1903.01864, 2019. \n[59] Kelvin Wong, Shenlong Wang, Mengye Ren, Ming Liang, and Raquel Urtasun. Identifying unknown instances for autonomous driving. CORL, 2019. \n[60] Yan Yan, Yuxing Mao, and Bo Li. Second: Sparsely embedded convolutional detection. Sensors, 2018. \n[61] Bin Yang, Wenjie Luo, and Raquel Urtasun. Pixor: Real-time 3d object detection from point clouds. CVPR, 2018. \n[62] Zetong Yang, Yanan Sun, Shu Liu, and Jiaya Jia. 3dssd: Point-based 3d single stage object detector. CVPR, 2020. \n[63] Zetong Yang, Yanan Sun, Shu Liu, Xiaoyong Shen, and Jiaya Jia. Std: Sparse-to-dense 3d object detector for point cloud. ICCV, 2019. \n[64] Wang Yifan, Shihao Wu, Hui Huang, Daniel Cohen-Or, and Olga Sorkine-Hornung. Patch-based progressive 3d point set upsampling. pages 5958–5967, 2019. \n[65] Junbo Yin, Jianbing Shen, Chenye Guan, Dingfu Zhou, and Ruigang Yang. Lidar-based online 3d video object detection with graph-based message passing and spatiotemporal transformer attention. CVPR, 2020. \n[66] Tianwei Yin, Xingyi Zhou, and Philipp Krähenbühl. Center-based 3d object detection and tracking. CVPR, 2021. \n[67] Jin Hyeok Yoo, Yecheol Kim, Ji Song Kim, and Jun Won Choi. 3d-cvf: Generating joint camera and lidar features using cross-view spatial feature fusion for 3d object detection. arXiv preprint arXiv:2004.12636, 3, 2020. \n[68] Fisher Yu, Dequan Wang, Evan Shelhamer, and Trevor Darrell. Deep layer aggregation. CVPR, 2018. \n[69] Lequan Yu, Xianzhi Li, Chi-Wing Fu, Daniel Cohen-Or, and Pheng-Ann Heng. Pu-net: Point cloud upsampling network. pages 2790–2799, 2018. \n[70] Wentao Yuan, Tejas Khot, David Held, Christoph Mertz, and Martial Hebert. Pcn: Point completion network. 3DV, 2018. \n[71] Haolin Zhang, Dongfang Yang, Ekim Yurtsever, Keith A Redmill, and Ümit Özgüner. Farawayfrustum: Dealing with lidar sparsity for 3d object detection using fusion. arXiv preprint arXiv:2011.01404, 2020. \n[72] Wenwei Zhang, Zhe Wang, and Chen Change Loy. Multi-modality cut and paste for 3d object detection. arXiv preprint arXiv:2012.12741, 2020. \n[73] Xingyi Zhou, Vladlen Koltun, and Philipp Krähenbühl. Probabilistic two-stage detection. arXiv preprint arXiv:2103.07461, 2021. \n[74] Xingyi Zhou, Dequan Wang, and Philipp Krähenbühl. Objects as points. arXiv:1904.07850, 2019. \n[75] Yin Zhou and Oncel Tuzel. Voxelnet: End-to-end learning for point cloud based 3d object detection. CVPR, 2018. \n[76] Benjin Zhu, Zhengkai Jiang, Xiangxin Zhou, Zeming Li, and Gang Yu. Class-balanced grouping and sampling for point cloud 3d object detection. arXiv:1908.09492, 2019. ",
|
| 906 |
+
"bbox": [
|
| 907 |
+
171,
|
| 908 |
+
78,
|
| 909 |
+
828,
|
| 910 |
+
916
|
| 911 |
+
],
|
| 912 |
+
"page_idx": 10
|
| 913 |
+
},
|
| 914 |
+
{
|
| 915 |
+
"type": "text",
|
| 916 |
+
"text": "",
|
| 917 |
+
"bbox": [
|
| 918 |
+
171,
|
| 919 |
+
35,
|
| 920 |
+
830,
|
| 921 |
+
916
|
| 922 |
+
],
|
| 923 |
+
"page_idx": 11
|
| 924 |
+
},
|
| 925 |
+
{
|
| 926 |
+
"type": "text",
|
| 927 |
+
"text": "",
|
| 928 |
+
"bbox": [
|
| 929 |
+
171,
|
| 930 |
+
59,
|
| 931 |
+
828,
|
| 932 |
+
916
|
| 933 |
+
],
|
| 934 |
+
"page_idx": 12
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"type": "text",
|
| 938 |
+
"text": "",
|
| 939 |
+
"bbox": [
|
| 940 |
+
171,
|
| 941 |
+
85,
|
| 942 |
+
828,
|
| 943 |
+
617
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 13
|
| 946 |
+
}
|
| 947 |
+
]
|
parse/train/8xoN9ZdSW8/8xoN9ZdSW8_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/8xoN9ZdSW8/8xoN9ZdSW8_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/MdZPf3qCF7s/MdZPf3qCF7s.md
ADDED
|
@@ -0,0 +1,436 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Data augmentation for efficient learning from parametric experts
|
| 2 |
+
|
| 3 |
+
Anonymous Author(s)
|
| 4 |
+
Affiliation
|
| 5 |
+
Address
|
| 6 |
+
email
|
| 7 |
+
|
| 8 |
+
# Abstract
|
| 9 |
+
|
| 10 |
+
1 We present a simple, yet powerful data-augmentation technique to enable data
|
| 11 |
+
2 efficient learning from parametric experts. Whereas behavioral cloning refers to
|
| 12 |
+
3 learning from samples of an expert, we focus here on what we refer to as the policy
|
| 13 |
+
4 cloning setting which allows for offline queries of an expert or expert policy. This
|
| 14 |
+
5 setting arises naturally in a number of problems, especially as a component of
|
| 15 |
+
6 other algorithms. We achieve a very high level of data efficiency in transferring
|
| 16 |
+
7 behavior from an expert to a student policy for high Degrees of Freedom (DoF)
|
| 17 |
+
8 control problems using our augmented policy cloning (APC) approach, which
|
| 18 |
+
9 combines conventional image-based data augmentation to build invariance to
|
| 19 |
+
10 image perturbations with an expert-aware offline data augmentation approach that
|
| 20 |
+
11 induces appropriate feedback-sensitivity in a region around expert trajectories. We
|
| 21 |
+
12 show that our method increases data-efficiency of policy cloning, enabling transfer
|
| 22 |
+
13 of complex high-DoF behaviors from just a few trajectories, and we also show
|
| 23 |
+
14 benefits of our approach in the context of algorithms in which policy cloning is a
|
| 24 |
+
15 constituent part.
|
| 25 |
+
|
| 26 |
+
# 16 1 Introduction
|
| 27 |
+
|
| 28 |
+
17 In various control and reinforcement learning settings, there is a need to transfer behavior from an
|
| 29 |
+
18 expert policy to a student policy. Broadly, when only samples from the expert policy are available, the
|
| 30 |
+
19 standard approach is to employ a version of regression from states to actions. This class of approaches
|
| 31 |
+
20 for producing a policy is known as behavioral cloning [Pomerleau, 1989, Michie and Sammut, 1996].
|
| 32 |
+
21 Behavioral cloning is quite flexible and supports the setting where the expert trajectories come from a
|
| 33 |
+
22 human teleoperating the relevant system directly, as well as various settings where the trajectories are
|
| 34 |
+
23 sampled from other controllers, which themselves may have been trained or scripted. However, for
|
| 35 |
+
24 any of the settings where the expert policy is actually available, rather than just samples from the
|
| 36 |
+
25 expert, it is reasonable to suspect that sampling random rollouts from the expert policy followed by
|
| 37 |
+
26 performing behavioral cloning is not the optimally efficient approach for transferring behavior from
|
| 38 |
+
27 the expert to the student. Once a trajectory has been sampled via an expert rollout, there is actually
|
| 39 |
+
28 additional information available that can be ascertained in the neighborhood of the trajectory, without
|
| 40 |
+
29 having to perform an additional rollout, via the local feedback properties of the expert.
|
| 41 |
+
30 In this work, we refer to this setting, where we want to transfer from an expert policy to a student
|
| 42 |
+
31 policy, while assuming the expert policy can be queried, as policy cloning. Naturally, there is still
|
| 43 |
+
32 often an incentive to reduce the total number of rollouts, which may require actually collecting data
|
| 44 |
+
33 in an unsafe or costly fashion, especially for real-world control problems. As such, there is an aim to
|
| 45 |
+
34 characterize any efficiency that can be gained in learning from small numbers of rollouts without as
|
| 46 |
+
35 much concern for how many offline queries are required of the expert policy. If one has primarily
|
| 47 |
+
36 encountered behavioral cloning in the context of learning from human demonstrations, policy cloning,
|
| 48 |
+
37 with an available expert policy may seem contrived. However, policy cloning naturally arises in many
|
| 49 |
+
38 settings. For example, we may have multiple experts that we wish to consolidate into a single neural
|
| 50 |
+
39 network policy or there may be memory considerations that motivate compressing a large expert
|
| 51 |
+
40 network into a smaller model with similar behavior. Perhaps most natural are settings in which an
|
| 52 |
+
41 expert policy is costly or slow to execute, for example due to running a compute intensive procedure
|
| 53 |
+
42 such as model predictive control (MPC) on specialized hardware (e.g. GPU); in such settings, the
|
| 54 |
+
43 aim is to transfer expert behavior to a parametric student policy that amortizes the cost. DAGGER is
|
| 55 |
+
44 one well known approach for efficiently transferring behavior from an expert to a student under these
|
| 56 |
+
45 kinds of constraints [Ross et al., 2011]. In a separate setting, the expert may be suboptimal and the
|
| 57 |
+
46 student needs to learn from expert while also being able to exceed the expert performance, perhaps
|
| 58 |
+
47 by continuing to learn from a task via RL. This problem has been described as kickstarting in one
|
| 59 |
+
48 incarnation [Schmitt et al., 2018], but also can arise when learning from behavioral priors [Tirumala
|
| 60 |
+
49 et al., 2020], [Galashov et al., 2019], as also happens, for example, in Distral [Teh et al., 2017].
|
| 61 |
+
50 To improve data-efficiency in supervised settings generally, including in behavioral cloning settings,
|
| 62 |
+
51 it is reasonable to consider data augmentation. Data augmentation refers to applying perturbations to
|
| 63 |
+
52 a finite training dataset to effectively amplify its diversity, usually in the hopes of producing a model
|
| 64 |
+
53 that is invariant to the class of perturbations performed. For example, in the well studied problem
|
| 65 |
+
54 of object classification from single images, it is known that applying many kinds of perturbation
|
| 66 |
+
55 should not affect the object label, so a model can be trained with many input perturbations all yielding
|
| 67 |
+
56 the same output [Shorten and Khoshgoftaar, 2019]. This setting is fairly representative, with data
|
| 68 |
+
57 augmentation usually intended to make the model “robust" to nuisance perturbations of the input.
|
| 69 |
+
58 This class of image-perturbation has also been recently demonstrated to be effective in the context of
|
| 70 |
+
59 control problems in the offline RL setting [Yarats et al., 2021, Laskin et al., 2020].
|
| 71 |
+
60 Critically, for control problems it is not the case that the action should be invariant to the input state.
|
| 72 |
+
61 Or rather, while it does make sense for a control policy to be invariant to certain classes of sensor
|
| 73 |
+
62 noise, an important class of robustness is that the policy is appropriately feedback-responsive. This is
|
| 74 |
+
63 to say that for small perturbations of the state of the control system, the optimal action is different
|
| 75 |
+
64 in precisely the way that the expert implicitly knows. This has been recognized and exploited in
|
| 76 |
+
65 previous research that has distilled feedback-control plans into controllers [Mordatch and Todorov,
|
| 77 |
+
66 2014, Mordatch et al., 2015, Merel et al., 2019]. A similar intuition also underlies schemes which
|
| 78 |
+
67 inject noise into the expert during rollouts to sample more comprehensively the space of how the
|
| 79 |
+
68 expert recovers from perturbations [Laskey et al., 2017, Merel et al., 2019].
|
| 80 |
+
69 In this work, we leverage this insight to develop a highly efficient policy cloning approach that
|
| 81 |
+
70 makes use of both classes of data augmentation. For a high-DoF control problem that operates only
|
| 82 |
+
71 from state (humanoid run task from DeepMind control suite [Tunyasuvunakool et al., 2020]), we
|
| 83 |
+
72 demonstrate the feasibility of policy cloning that employs state-based data augmentation with expert
|
| 84 |
+
73 querying to transfer the feedback-sensitive behavior of the expert in a region around a small number
|
| 85 |
+
74 of rollouts. Then on a more difficult high-DoF control problem that involves both state-derived and
|
| 86 |
+
75 egocentric image observations (humanoid running through corrdiors task from DeepMind control
|
| 87 |
+
76 suite [Tunyasuvunakool et al., 2020]), we combine the state-based expert-aware data augmentation
|
| 88 |
+
77 with a separate image augmentation intended to induce invariance to image perturbations. Essentially
|
| 89 |
+
78 our expert-aware data augmentation involves applying random perturbations to the state-derived
|
| 90 |
+
79 observations, and training the student to match the expert-queried optimal action at each perturbed
|
| 91 |
+
80 state, thereby gaining considerable knowledge from the expert without performing excessive rollouts
|
| 92 |
+
81 simply to cover the state space around existing trajectories. Our approach compares favorably to
|
| 93 |
+
82 sensible baselines, including the naive approach of attempting to perform behavioral cloning with
|
| 94 |
+
83 state perturbations, which seeks to induce invariance (as proposed in [Laskin et al., 2020]) rather than
|
| 95 |
+
84 feedback-sensitivity to state-derived observations.
|
| 96 |
+
85 In the presentation that follows, we will describe the problem setting (Section 2) as well as our
|
| 97 |
+
86 approach (Section 3), describe the domains we employ and present our initial experiments (Section 4),
|
| 98 |
+
87 show that our augmented policy cloning approach works well when used as a component of other
|
| 99 |
+
88 algorithms like DAGGER and kickstarting (Section 5), and finally close with a discussion (Section 6).
|
| 100 |
+
|
| 101 |
+
# 89 2 Problem description
|
| 102 |
+
|
| 103 |
+
# 2.1 Expert-driven learning
|
| 104 |
+
|
| 105 |
+
91 We start by introducing a notion of expert-driven learning that will be used throughout the paper.
|
| 106 |
+
92 At first, we present a general form of the expert-driven objective and then introduce a few concrete
|
| 107 |
+
93 examples. We consider a standard Reinforcement Learning (RL) problem. We present the domain as
|
| 108 |
+
94 an MDP with continuous states for simplicity, however the problem definition is similar for a POMDP
|
| 109 |
+
95 with observations derived from the state. Formally, we describe the MDP in terms of a continuous state
|
| 110 |
+
96 space $S \in \mathcal { R } ^ { n }$ (for some $n > 0$ ), an action space $\mathcal { A }$ , transition dynamics $p ( s ^ { \prime } | s , a ) : S \times \mathcal { A } p ( S )$ ,
|
| 111 |
+
97 and a reward function $r : \mathcal { S } \times \mathcal { A } \mathcal { R }$ . Let $\Pi$ be a set of parametric policies, i.e. of mappings
|
| 112 |
+
98 $\pi _ { \theta } : S p ( { \mathcal { A } } )$ from the state space $s$ to the probability distributions over actions $\mathcal { A }$ , where $\theta \in \mathcal { R } ^ { m }$
|
| 113 |
+
99 for some $m > 0$ . For simplicity of the notation, we omit the parameter in front of the policy, i.e.
|
| 114 |
+
100 $\pi = \pi _ { \theta }$ and optimizing over the set of policies would be equivalent to the optimizing over a set of
|
| 115 |
+
101 parameters. A reinforcement learning problem consists in finding such a policy $\pi$ that it maximizes
|
| 116 |
+
102 the expected discounted future reward:
|
| 117 |
+
|
| 118 |
+
$$
|
| 119 |
+
J ( \pi ) = \mathbb { E } _ { p ( \tau ) } \left[ \sum _ { t } \gamma ^ { t } r ( a _ { t } | s _ { t } ) \right] ,
|
| 120 |
+
$$
|
| 121 |
+
|
| 122 |
+
103 where $\begin{array} { r } { p ( \tau ) = p ( s _ { 0 } ) \prod _ { t } p ( a _ { t } | s _ { t } ) p ( s _ { t + 1 } | s _ { t } , a _ { t } ) } \end{array}$ is a trajectory distribution. We assume the existence
|
| 123 |
+
104 of an expert policy $\pi _ { E } ( a | s )$ . This policy could be used to simplify the learning of a new policy on the
|
| 124 |
+
105 same problem. Formally, we construct a new learning objective which aims to maximize the expected
|
| 125 |
+
106 reward of the problem in hand as well as to clone the expert policy:
|
| 126 |
+
|
| 127 |
+
$$
|
| 128 |
+
J ( \pi , \pi _ { E } ) = \alpha J ( \pi ) - \lambda D ( \pi , \pi _ { E } ) ,
|
| 129 |
+
$$
|
| 130 |
+
|
| 131 |
+
107 where $D$ is some measure of distance of $\pi$ from $\pi _ { E }$ and $\alpha \ge 0 , \lambda \ge 0$ are parameters measuring
|
| 132 |
+
108 importance of both objectives. In most of the applications, $\alpha \in \{ 0 , 1 \}$ and $\lambda \geq 0$ represents a relative
|
| 133 |
+
109 importance of cloning an expert policy with respect to the RL objective.
|
| 134 |
+
|
| 135 |
+
# 2.2 Behavioral cloning (BC)
|
| 136 |
+
|
| 137 |
+
One important instance of the objective (2) with $\alpha = 0 , \lambda = 1$ is behavioral cloning. In this case, the measure of distance is defined as:
|
| 138 |
+
|
| 139 |
+
$$
|
| 140 |
+
D _ { B C } ( \pi , \pi _ { E } ) = - \mathbb { E } _ { ( a , s ) \in \mathcal { B } _ { E } } [ \log \pi ( a | s ) ]
|
| 141 |
+
$$
|
| 142 |
+
|
| 143 |
+
113 Here, $\boldsymbol { B _ { E } } = \{ ( s _ { i } , a _ { i } ) , i = 1 , \ldots , N \}$ , $N > 0$ is a fixed dataset containing expert data. Minimizing
|
| 144 |
+
114 the objective (3) is be equivalent to maximizing the likelihood of the expert data under the policy $\pi$ .
|
| 145 |
+
115 The action in eqn. (3) can be replaced by $\pi _ { E } ( s )$ for deterministic policies or by the mean or the mode
|
| 146 |
+
116 for stochastic policies (e.g., by the mean $\mu _ { E } ( s )$ for Gaussian policies $\pi _ { E } ( \cdot | s ) = \mathcal { N } ( \mu _ { E } ( s ) , \sigma _ { E } ( s ) ) )$ .
|
| 147 |
+
|
| 148 |
+
# 117 2.3 DAGGER
|
| 149 |
+
|
| 150 |
+
118 Performance of Behavioral Cloning (BC) can be limited due to the fixed dataset, since the resulting
|
| 151 |
+
119 policy may fail to generalize to states outside the training distribution. A different approach, known
|
| 152 |
+
120 in the literature as DAGGER [Ross et al., 2011] was proposed to overcome this limitation. In this
|
| 153 |
+
121 setting, the expert is queried in states visited by the student, thus reducing distribution shift. In our
|
| 154 |
+
122 notation, this corresponds to $\alpha = 0$ , $\lambda = 1$ in eqn. (2) and the measure of distance is defined as:
|
| 155 |
+
|
| 156 |
+
$$
|
| 157 |
+
D _ { \mathrm { D A G G E R } } ( \pi , \pi _ { E } ) = - \mathbb { E } _ { p _ { \beta } ( \tau ) } [ \log \pi ( a _ { t } ^ { \prime } | s _ { t } ) ] ,
|
| 158 |
+
$$
|
| 159 |
+
|
| 160 |
+
123 where $p _ { \beta } ( \tau ) , \beta \in [ 0 , 1 ]$ is a trajectory distribution where actions are sampled according to the mixture
|
| 161 |
+
124 policy between a student and an expert:
|
| 162 |
+
|
| 163 |
+
$$
|
| 164 |
+
p ( a | s ) = \beta \tilde { \pi } ( a | s ) + ( 1 - \beta ) \pi _ { E } ( a | s ) ,
|
| 165 |
+
$$
|
| 166 |
+
|
| 167 |
+
125 The action $a _ { t } ^ { \prime }$ in eqn. (4) is resampled from the expert policy for the state $s _ { t }$ , i.e., $a _ { t } ^ { \prime } \sim \pi _ { E } ( \cdot | s _ { t } )$
|
| 168 |
+
126 As in Section 2.2, for stochastic experts this action can be replaced by the mean or mode of the
|
| 169 |
+
127 distribution in eqn. (4). The policy $\tilde { \pi } ( a | s )$ corresponds to a frozen version of student policy $\pi$ so
|
| 170 |
+
128 that the gradient $\nabla _ { \pi } D _ { \mathrm { D A G G E R } } ( \pi , \pi _ { E } )$ is not taken with respect to $p ( a | s )$ . Note that even though, in
|
| 171 |
+
129 eqn. (4) we collect data from the environment, the setting nevertheless corresponds to pure imitation
|
| 172 |
+
130 learning since expected reward is not directly maximized.
|
| 173 |
+
132 In eqn. (2), we combine both maximization of expected task reward and minimization of distance to
|
| 174 |
+
133 the expert. In literature, it is known as Kickstarting [Schmitt et al., 2018]. In this case, in the objective
|
| 175 |
+
134 from eqn. (2), $\alpha = 1$ , and $\lambda \geq 0$ . As the measure of distance, we use the cross-entropy from expert
|
| 176 |
+
135 to a student, similarly to [Schmitt et al., 2018]:
|
| 177 |
+
|
| 178 |
+
$$
|
| 179 |
+
J ( \pi , \pi _ { E } ) = J ( \pi ) - \lambda \mathbb { E } _ { p ( \tau ) } \left[ - \mathbb { E } _ { \pi _ { E } ( a | s ) } \log \pi ( a | s ) \right]
|
| 180 |
+
$$
|
| 181 |
+
|
| 182 |
+
136 where $p ( \tau )$ is a trajectory distribution, where actions are sampled according to the student policy
|
| 183 |
+
137 $\pi ( \cdot | s )$ . Usually, in the Kickstarting setting, the expert is sub-optimal and the goal is to train a policy
|
| 184 |
+
138 that eventually outperforms the expert. Thus, it is customary to reduce $\lambda$ over the course of training.
|
| 185 |
+
139 Yet, for simplicity, in our experiments we keep this coefficient fixed.
|
| 186 |
+
|
| 187 |
+
# 40 3 Augmented policy cloning
|
| 188 |
+
|
| 189 |
+
141 The previous section has demonstrated that the objective corresponding to the cloning behavior from
|
| 190 |
+
142 the parametric expert policy could arise in multiple scenarios. In this section we propose a new and
|
| 191 |
+
143 simple method which can significantly improve the data efficiency of the approaches described in
|
| 192 |
+
144 Section 2. We explain the basic idea for BC, but its generalization to other expert-driven learning
|
| 193 |
+
145 approaches described in Section 2 is straightforward. In Section 5 we show results for these problems.
|
| 194 |
+
146 When optimizing the objective (3), for every state $s \in \mathcal { D } _ { E }$ from the expert trajectories dataset, we
|
| 195 |
+
147 consider a small Gaussian state perturbation:
|
| 196 |
+
|
| 197 |
+
$$
|
| 198 |
+
\delta s \sim \mathcal N ( 0 , \sigma _ { s } ^ { 2 } )
|
| 199 |
+
$$
|
| 200 |
+
|
| 201 |
+
148 which produces a new virtual state:
|
| 202 |
+
|
| 203 |
+
$$
|
| 204 |
+
\boldsymbol { s } ^ { \prime } = \boldsymbol { s } + \delta \boldsymbol { s }
|
| 205 |
+
$$
|
| 206 |
+
|
| 207 |
+
149 Then, for this state we query the expert and obtain a new action
|
| 208 |
+
|
| 209 |
+
$$
|
| 210 |
+
a ^ { \prime } \sim \pi _ { E } ( \cdot | s + \delta s )
|
| 211 |
+
$$
|
| 212 |
+
|
| 213 |
+
150 We then augment the dataset $\mathcal { D } _ { E }$ with these new pairs of virtual states and actions. More explicitly
|
| 214 |
+
151 the idea can be expressed in terms of the following objective:
|
| 215 |
+
|
| 216 |
+
$$
|
| 217 |
+
\begin{array} { r } { D ( \pi , \pi _ { E } ) _ { A P C } = \mathbb { E } _ { ( a , s ) \in B _ { E } } [ \log \pi ( a | s ) + \mathbb { E } _ { \delta s \sim \mathcal { N } ( 0 , \sigma _ { s } ^ { 2 } ) , a ^ { \prime } \sim \pi _ { E } ( \cdot | s + \delta s ) } \log \pi ( a ^ { \prime } | s + \delta s ) ] } \end{array}
|
| 218 |
+
$$
|
| 219 |
+
|
| 220 |
+
152 We call this approach Augmented Policy Cloning (APC) as it queries the expert policy to augment
|
| 221 |
+
153 the training data. This approach is different from a naive data-augmentation technique, where a new
|
| 222 |
+
154 state would be generated, but associated with the original action (and not a new one). It therefore
|
| 223 |
+
155 allows to build policies which are feedback-responsive with respect to the expert. We formulate APC
|
| 224 |
+
156 algorithm for BC in Algorithm 1.
|
| 225 |
+
|
| 226 |
+
# 157 4 Core Results: Evaluation of Augmented Policy Cloning
|
| 227 |
+
|
| 228 |
+
# 4.1 Domains
|
| 229 |
+
|
| 230 |
+
159 To study how our method performs on complex control domains, we consider two complex, high-DoF
|
| 231 |
+
160 continuous control tasks involving control of a physically simulated humanoid body. Both domains
|
| 232 |
+
161 are implemented using the MuJoCo physics engine [Todorov et al., 2012] and are available in the
|
| 233 |
+
162 dm_control repository [Tunyasuvunakool et al., 2020]. The first task is the standard control suite
|
| 234 |
+
163 Run task, where the Humanoid body needs to run at a target speed and observations are based on
|
| 235 |
+
164 proprioception. The second task is the Walls task which requires the same Humanoid body to run
|
| 236 |
+
165 along a corridor and avoid walls, using both proprioception and egocentric vision as observations.
|
| 237 |
+
166 Both of these problems are rather challenging insofar as they require stabilization and locomotion
|
| 238 |
+
167 control of a relatively complex humanoid body with 21 actuated DoFs, in one case using vision to
|
| 239 |
+
168 guide the movement. Note these environments are related to the domains that have been proposed
|
| 240 |
+
169 for use in offline RL benchmarks [Gulcehre et al., 2020]; however, the experiments we perform in
|
| 241 |
+
170 this work require availability of the expert policy, so we do not use offline data, but instead train
|
| 242 |
+
171 new experts and perform experiments in the very low data regime. For more details, please refer to
|
| 243 |
+
172 Section 1.1 in Supplementary Material.
|
| 244 |
+
|
| 245 |
+
Parametric student policy: $\pi _ { \theta }$
|
| 246 |
+
Initial parameters: $\theta _ { 0 }$
|
| 247 |
+
expert policy: $\pi _ { E }$
|
| 248 |
+
Dataset $\boldsymbol { B _ { E } } = \{ ( s _ { i } , a _ { i } ) , i = 1 , \ldots , N \}$ , $N > 0$ of expert state-action pairs
|
| 249 |
+
State perturbation noise $\sigma _ { s }$
|
| 250 |
+
Learning rate $\alpha$
|
| 251 |
+
Number of augmented samples: $M$
|
| 252 |
+
Number of gradient updates: $K$
|
| 253 |
+
Size of a batch: $L$
|
| 254 |
+
for $\mathbf { k } { = } 1 , \ldots , \mathbf { K }$ do Sample a batch of pairs $\{ ( a _ { i } , s _ { i } ) \} _ { i = 1 } ^ { L } \sim B _ { E }$ For each state $s _ { i }$ , sample $M$ perturbations $\delta s _ { j } \sim \mathcal { N } ( 0 , \sigma _ { s } ) , j = 1 , \ldots , M$ Construct $M$ virtual states $s _ { i , j } ^ { \prime } = s _ { i } + \delta s _ { j } , i = 1 , \dots , L , j = 1 , \dots , M$ Resample new actions from expert $a _ { i , j } ^ { \prime } \sim \pi _ { E } ( \cdot | s _ { i , j } ^ { \prime } )$ For Gaussian experts, the action $a _ { i } = \mu _ { E } ( s _ { i } )$ and the new actions are $a _ { i , j } ^ { \prime } = \mu _ { E } ( s _ { i , j } ^ { \prime } )$ Compute the empirical negative log-likelihood: $\begin{array} { r } { \mathcal { L } = - \left[ \log \pi _ { \theta _ { k } } ^ { - } ( a _ { i } | s _ { i } ) + \frac { 1 } { M } \sum _ { j = 1 } ^ { M } \log \pi _ { \theta _ { k } } ( a _ { i , j } ^ { \prime } | s _ { i , j } ^ { \prime } ) \right] } \end{array}$ Update the parameters $\theta _ { k + 1 } = \theta _ { k } - \alpha \nabla _ { \theta } \mathcal { L }$
|
| 255 |
+
end for
|
| 256 |
+
|
| 257 |
+
173 For each task, we train expert policies to convergence using the MPO algorithm Abdolmaleki et al.
|
| 258 |
+
174 [2018]. Since the expert policy essentially saturates task performance, for each task, we keep three
|
| 259 |
+
175 partially trained experts such that we can assess the ability of the kickstarting approach to outperform
|
| 260 |
+
176 sub-optimal experts. We refer to the different experts as Low, achieving approximatively $25 \%$ of the
|
| 261 |
+
177 optimal policy reward, Medium, achieving around $50 \%$ of the performance and High, corresponding
|
| 262 |
+
178 to the converged policy. Each expert is represented by a Gaussian policy. For more details, please
|
| 263 |
+
179 refer to Section 1.2 in Supplementary Material.
|
| 264 |
+
|
| 265 |
+
# 80 4.2 Applying Augmented Policy Cloning
|
| 266 |
+
|
| 267 |
+
81 First, we evaluate the performance of APC in fitting a fixed dataset of expert trajectories. In order
|
| 268 |
+
82 to study the data efficiency of the method, we construct datasets containing different numbers of
|
| 269 |
+
83 expert trajectories. The expert policies are represented by conditionally Gaussian distributions,
|
| 270 |
+
84 i.e. $\pi _ { E } ( \cdot | \bar { s } ) = \mathcal { N } ( \mu _ { E } ( s ) , \bar { \sigma ( s ) } )$ . Thus, to assess the robustness of our method to expert noise we
|
| 271 |
+
85 produce trajectories using the experts’ mean but adding different levels of (homoscedastic) zero-mean
|
| 272 |
+
86 Gaussian noise $\sigma _ { E }$ .
|
| 273 |
+
|
| 274 |
+
$$
|
| 275 |
+
\displaystyle a \sim \mathcal { N } ( \mu _ { E } ( s ) , \sigma _ { E } )
|
| 276 |
+
$$
|
| 277 |
+
|
| 278 |
+
187 Note that in addition to policy noise $\sigma _ { E }$ which is introduced when sampling trajectories, initial pose
|
| 279 |
+
188 and environment layout (for the Walls task) are also sampled randomly for each episode. We consider
|
| 280 |
+
189 4 levels of expert policy noise: Deterministic, which uses the Gaussian mean for the action, Low,
|
| 281 |
+
190 with $\sigma _ { E } = 0 . 2$ , Medium $\sigma _ { E } = 0 . 5$ and High $\sigma _ { E } = 1 . 0$ .
|
| 282 |
+
191 For the APC method, we rely on Algorithm 1. For baselines, we consider BC algorithm from eqn. (3)
|
| 283 |
+
192 as well as a simple modification of BC, where we apply, similar to APC, state perturbations as in
|
| 284 |
+
193 eqn. (7) and eqn. (8), but we do not produce a new action from the expert. We call this approach
|
| 285 |
+
194 Naive Augmented Behavior Cloning (Naive ABC) which essentially corresponds to robustification
|
| 286 |
+
195 of the student policies with respect to state perturbation and is similar in spirit to standard data
|
| 287 |
+
196 augmentation approaches. For vision-based tasks, we consider random crop augmentations of size
|
| 288 |
+
197 $4 8 \mathbf { x } 4 8$ (downsampled from the input image of 64x64), similar to Laskin et al. [2020]. When the
|
| 289 |
+
198 image augmentations are used we add "with image" to the method name. On top of that, we consider
|
| 290 |
+
199 a variant, where only image augmentation is used, which we call Naive ABC (image only). For
|
| 291 |
+
200 all methods, as an action in the objective from eqn. (3), we use an expert mean $\mu _ { E } ( s )$ . We train
|
| 292 |
+
201 all approaches to convergence (300K learning iterations on Walls and 13M learning iterations on
|
| 293 |
+
202 Run). Each learning iteration corresponds applying gradients to 64 trajectories, each containing
|
| 294 |
+
203 10 time steps. After each learning iteration, we evaluate the policy on both a validation set (50
|
| 295 |
+
204 random instances of the environment) and a test set (150 random instances of the environments).
|
| 296 |
+
205 We apply early-stopping based on the validation set performance to select the best model and
|
| 297 |
+
206 report corresponding performance on the test set. For more details, please refer to Section 1.3 in
|
| 298 |
+
207 Supplementary Material. As an additional evaluation, we test robustness of the obtained policies to a
|
| 299 |
+
208 fixed amount of noise during execution. For a learned student policy $\pi ( \cdot | s ) = \mathcal { N } ( \mu ( s ) , \sigma ( s ) )$ , we
|
| 300 |
+
209 evaluate it by executing an action:
|
| 301 |
+
|
| 302 |
+

|
| 303 |
+
Figure 1: Behavioral cloning results on Run and Walls tasks (represented by rows). The X-axis represents the number of trajectories, whereas the Y-axis corresponds to the episodic reward averaged among 150 independent evaluations. The highest point of the bar corresponds to the mean, whereas the dashed lines indicate the standard deviation. The pink dashed line indicate average expert performance. The legend describes a method which is used. On the plot on the left depicts a standard BC experiment, where dataset contains a specified number of full trajectories from the expert. The plot on the right illustrates the experiment, where a dataset contains 1 full trajectories and the rest are the short ones, containing only 200 timesteps each.
|
| 304 |
+
|
| 305 |
+
$$
|
| 306 |
+
a \sim { \mathcal { N } } ( \mu ( s ) , \sigma ) ,
|
| 307 |
+
$$
|
| 308 |
+
|
| 309 |
+
210 where $\sigma$ is the fixed amount of student noise. We consider similar noise magnitudes as for the
|
| 310 |
+
211 expert. For APC and Naive ABC, we sweep over state perturbation noise levels and choose the ones
|
| 311 |
+
212 performing the best on the validation set. For APC, we use $\sigma _ { s } = 0 . 1$ for Run and $\sigma _ { s } = 1 . 0$ for Walls.
|
| 312 |
+
213 For Naive ABC, we use $\sigma _ { s } = 0 . 0 0 1$ for Run and $\sigma _ { s } = 0 . 0 1$ for Walls. The ablation experiments
|
| 313 |
+
214 over noise levels for APC and Naive ABC are presented in Section 2 of the Supplementary Material
|
| 314 |
+
215 (Figure 1 and Figure 2).
|
| 315 |
+
216 The first of results, in Figure 1 (left) demonstrates the increased data efficiency of APC over BC and
|
| 316 |
+
217 Naive ABC in terms of number of trajectories. The noise level of the expert and student are fixed to
|
| 317 |
+
218 Low for the ease of comparison. We also see that Naive ABC performs similarly to BC. To further
|
| 318 |
+
219 push the limits of data efficiency, we conducted a variant where a dataset contains only 1 full trajectory
|
| 319 |
+
220 (1000 timesteps for Run and around $2 \mathrm { k }$ timesteps for Walls) along with multiple short trajectories
|
| 320 |
+
221 (200 time-step only). This dramatically reduces the amount of expert data available to learn from.
|
| 321 |
+
222 However, we hypothesise that in the environments considered, much of the diversity of the trajectories
|
| 322 |
+
223 arises due to initial state variation. This setting might arise in domains where execution is costly,
|
| 323 |
+
224 such as robotics applications. In such setting we might have a few longer trajectories along with a
|
| 324 |
+
225 patchwork of shorter trajectories covering more diverse parts of the state space. The results for this
|
| 325 |
+
226 experiment are given in figure 1 (right). Again, we see that APC is significantly more efficient than
|
| 326 |
+
227 BC and Naive ABC. Interesting to note that APC picks up quite a high performance after observing
|
| 327 |
+
228 10 (1 full and 9 short) trajectories for Run task and 100 (1 full and 99 short) trajectories for the Walls
|
| 328 |
+
29 task. In Section 3 in Supplementary material, we provide additional results for Walls task when we
|
| 329 |
+
230 use image-based perturbations.
|
| 330 |
+
|
| 331 |
+
In the next experiment, in order to understand how robust our method to noise, we study the impact of different levels of student and expert noises on performance. For each run, we use a dataset of 100 trajectories. The results are given in figure 2, where each column corresponds to a different level of expert noise, and the X-axis represents different levels of student noise. At first, we observe that APC is consistently more robust than BC and Naive ABC for any level of expert and student noise. On top of that, we can notice that for any fixed level of expert noise, the performance degrades when a student noise increases. Finally, we see that for higher noise levels of expert, the learned student performs better in the high noise regime. It is consistent with the intuition - training on noisy trajectories leads to a more robust policy. Overall, APC leads the most robust policy.
|
| 332 |
+
|
| 333 |
+

|
| 334 |
+
Figure 2: Noise sensitivity results. We consider 4 levels of noise for student and expert: Deterministic, which uses the Gaussian mean for the action, Low, is the noise $\sigma = 0 . 2$ , Medium $\sigma = 0 . 5$ and High $\sigma = 1 . 0$ . Each column corresponds to a different level of expert noise. X-axis corresponds to a different level of student noise. Y-axis corresponds to the episodic reward averaged among 150 independent evaluations. The highest point of the bar corresponds to the mean, whereas the dashed lines indicate the standard deviation. The legend denotes a method and a row corresponds to a task. The pink dashed line indicate average expert performance.
|
| 335 |
+
|
| 336 |
+
# 240 5 Additional Results: Augmented Policy Cloning as a subroutine
|
| 337 |
+
|
| 338 |
+
# 241 5.1 DAGGER with data augmentation
|
| 339 |
+
|
| 340 |
+

|
| 341 |
+
Figure 3: DAGGER results. On the $\mathrm { X }$ -axis we report the number of environment steps. On the Y-axis we report averaged across 3 seeds episodic reward achieved by the student. We report confidence intervals in the shaded areas. For Run task, the confidence intervals are very small and are not visible. In solid line we report the performance without using expert policy during the acting. In dashed line, we report the performance of the policy which mixes $30 \%$ with the expert. All the methods use mean action during evaluation.
|
| 342 |
+
|
| 343 |
+
242 As described in Section 2.3, DAGGER [Ross et al., 2011] is a more sophisticated approach where
|
| 344 |
+
243 data is collected from the real environment by executing a policy from eqn. (5), which is a mixture
|
| 345 |
+
244 between a student and an expert. In this section we study how data augmentation approaches affect
|
| 346 |
+
245 the data efficiency of the DAGGER algorithm.
|
| 347 |
+
246 We consider similar baselines for both tasks as in the previous section. For an expert policy that has
|
| 348 |
+
247 been pre-trained via MPO [Abdolmaleki et al., 2018], we perform online rollouts for two values of
|
| 349 |
+
248 the expert-student mixing coefficient, $\beta = 0$ and $\beta = 0 . 3$ (see eqn. 5). Since both student and expert
|
| 350 |
+
249 are Gaussian distributions, instead of using a $\log \pi$ in eqn. (4), we could use a state-conditional cross
|
| 351 |
+
250 entropy from an expert to a student, $\mathcal { H } [ \pi _ { E } ( \cdot | s ) | | \pi ( \cdot | s ) ]$ . Empirically, we found that it worked better
|
| 352 |
+
251 than using $\log \pi$ . We demonstrate a comparison in Section 4 in Supplementary Material. We run
|
| 353 |
+
252 the experiments in a data-restricted setup such that for every collected trajectory (10 time-steps), we
|
| 354 |
+
253 apply 10 gradient steps, using a replay-buffer to store the past experience. Additional experimental
|
| 355 |
+
254 details are given in Section 1.4 in Supplementary Material. Results are shown in Figure 3. We see
|
| 356 |
+
255 that APC and its vision variant outperform BC and Naive ABC similarly to the behavior cloning
|
| 357 |
+
256 experiments. While we observe that image augmentation can help, we see that the primary advantage
|
| 358 |
+
257 comes from the state-based augmentation for APC. For the Run task, we observe that all DAGGER
|
| 359 |
+
258 methods achieve slightly lower performance than an expert policy. We speculate that this is due to
|
| 360 |
+
259 insufficient coverage of the state space during training.
|
| 361 |
+
|
| 362 |
+
# 260 5.2 Kickstarting with data augmentation
|
| 363 |
+
|
| 364 |
+

|
| 365 |
+
Figure 4: Kickstarting results. On the X-axis we show the number of environment steps. On the Y-axis we report averaged across 3 seeds episodic reward achieved by the student. We report confidence intervals in the shaded areas. For Run task, the confidence intervals are very small and are not visible. Each row indicates a task, whereas a column corresponds to the expert type. Dashed black line shows the expert performance.
|
| 366 |
+
|
| 367 |
+
261 A similar in spirit approach is kickstarting Schmitt et al. [2018], where we solve an RL task as well
|
| 368 |
+
262 as cloning the expert policy. Similarly to previous section, we apply APC in kickstarting on the
|
| 369 |
+
263 cross entropy term in eqn. (6). We use 3 types of expert policy as described in Section 4.1. We run
|
| 370 |
+
264 experiments using a distributed setup with 64 acting policies and 1 learner, querying the batches
|
| 371 |
+
265 of trajectories (of size 10) from a replay buffer. On top of running BC methods, we also report the
|
| 372 |
+
266 performance of MPO Abdolmaleki et al. [2018] learning from scratch on the task of interest. All
|
| 373 |
+
267 details are given in Section 1.5 in Supplementary Material. The results are given in figure 4.
|
| 374 |
+
|
| 375 |
+
268 We observe that APC performs better than Naive ABC on Run task and similarly on Walls task. Both
|
| 376 |
+
269 approaches perform better than BC and learning from scratch. We hypothesise that the reason of not
|
| 377 |
+
270 seeing a consistent advantage could be due to two factors. As we are in a high-data regime, since
|
| 378 |
+
271 there is no limit on relative acting / learning ratio, and acting policies are not restricted to collect
|
| 379 |
+
272 trajectories, it is unclear whether data-augmentation should help. In addition, we use reward signal
|
| 380 |
+
273 which makes the impact of expert cloning less important. Note that the resulting agent is less data
|
| 381 |
+
274 efficient in these experiments; this is because we do not control the relative ratio between acting
|
| 382 |
+
275 and learning (i.e., no rate-limiting on the learner, due to instability of kickstarting experiments when
|
| 383 |
+
276 rate-limiting was explored). Furthermore, unlike in kickstarting Schmitt et al. [2018], we do not use an annealing schedule of $\lambda$ to make the experiments simpler, but we still observe that a fixed coefficient helps to kickstart an experiment and outperform an expert policy. On top of that, we see that image-based augmentation have less of impact in this setting.
|
| 384 |
+
|
| 385 |
+
# 280 6 Discussion
|
| 386 |
+
|
| 387 |
+
Many expert-driven learning approaches actually have access to an expert that can be queried; however, this opportunity is rarely exploited fully. In this work we demonstrated a general scheme for more efficient transfer of expert behavior by augmenting expert trajectory data with virtual, perturbed states as well as the expert actions in these virtual states. This data augmentation technique is widely applicable and we demonstrated that it improves data efficiency when used in place of behavioral cloning both in the offline setting or when behavioral cloning is used as a step within DAGGER or kickstarting.
|
| 388 |
+
|
| 389 |
+
Critically, data efficiency is generally very important in realistic applications, where new data acquisition cost could be high. In particular, settings involving deployment of policies in the real world, such as robotics applications, may benefit from an ability to efficiently transfer expert policy behavior from one neural network to another (for compression or execution speed reasons), or to combine behavior from multiple experts into a single neural network. While overall, we consider the present work to be fairly basic research with limited ethical impact, insofar as our approach decreases the amount of data which needs to be collected through processes which could potentially be unsafe or costly, there is a potential positive social value.
|
| 390 |
+
|
| 391 |
+
The limitations of our approach consist in the reliance on the ability to query expert policy for the perturbed states which reduces the amount of applications where the method could be used. Another limitation is the reliance on the continuous state spaces. In discrete state spaces, it is unclear whether a small perturbation in state would result in a valid action from an expert.
|
| 392 |
+
|
| 393 |
+
In future work, we plan to explore how our proposed augmentation technique can be leveraged in the context of KL-regularized RL with behavior priors.
|
| 394 |
+
|
| 395 |
+
# References
|
| 396 |
+
|
| 397 |
+
Abbas Abdolmaleki, Jost Tobias Springenberg, Yuval Tassa, Remi Munos, Nicolas Heess, and Martin Riedmiller. Maximum a posteriori policy optimisation, 2018.
|
| 398 |
+
|
| 399 |
+
Alexandre Galashov, Siddhant M. Jayakumar, Leonard Hasenclever, Dhruva Tirumala, Jonathan Schwarz, Guillaume Desjardins, Wojciech M. Czarnecki, Yee Whye Teh, Razvan Pascanu, and Nicolas Heess. Information asymmetry in kl-regularized rl, 2019.
|
| 400 |
+
|
| 401 |
+
Caglar Gulcehre, Ziyu Wang, Alexander Novikov, Thomas Paine, Sergio Gómez, Konrad Zolna, Rishabh Agarwal, Josh S Merel, Daniel J Mankowitz, Cosmin Paduraru, et al. Rl unplugged: A collection of benchmarks for offline reinforcement learning. Advances in Neural Information Processing Systems, 33, 2020.
|
| 402 |
+
|
| 403 |
+
Michael Laskey, Jonathan Lee, Roy Fox, Anca Dragan, and Ken Goldberg. Dart: Noise injection for robust imitation learning. In Conference on robot learning, pages 143–156. PMLR, 2017.
|
| 404 |
+
|
| 405 |
+
314 Michael Laskin, Kimin Lee, Adam Stooke, Lerrel Pinto, Pieter Abbeel, and Aravind Srinivas. Reinforcement learning with augmented data, 2020.
|
| 406 |
+
|
| 407 |
+
Josh Merel, Leonard Hasenclever, Alexandre Galashov, Arun Ahuja, Vu Pham, Greg Wayne, Yee Whye Teh, and Nicolas Heess. Neural probabilistic motor primitives for humanoid control, 2019.
|
| 408 |
+
Donald Michie and Claude Sammut. Behavioural Clones and Cognitive Skill Models, page 387–395. Oxford University Press, Inc., USA, 1996. ISBN 019853860X.
|
| 409 |
+
Igor Mordatch and Emo Todorov. Combining the benefits of function approximation and trajectory optimization. In Robotics: Science and Systems, volume 4, 2014.
|
| 410 |
+
Igor Mordatch, Kendall Lowrey, Galen Andrew, Zoran Popovic, and Emanuel V Todorov. Interactive control of diverse complex characters with neural networks. Advances in Neural Information Processing Systems, 28:3132–3140, 2015.
|
| 411 |
+
Dean A Pomerleau. Alvinn: An autonomous land vehicle in a neural network. Technical report, Carnegie-Mellon, 1989.
|
| 412 |
+
Stephane Ross, Geoffrey J. Gordon, and J. Andrew Bagnell. A reduction of imitation learning and structured prediction to no-regret online learning, 2011.
|
| 413 |
+
Simon Schmitt, Jonathan J. Hudson, Augustin Zidek, Simon Osindero, Carl Doersch, Wojciech M. Czarnecki, Joel Z. Leibo, Heinrich Kuttler, Andrew Zisserman, Karen Simonyan, and S. M. Ali Eslami. Kickstarting deep reinforcement learning, 2018.
|
| 414 |
+
Connor Shorten and Taghi Khoshgoftaar. A survey on image data augmentation for deep learning. Journal of Big Data, 6, 07 2019. doi: 10.1186/s40537-019-0197-0.
|
| 415 |
+
Yee Whye Teh, Victor Bapst, Wojciech Marian Czarnecki, John Quan, James Kirkpatrick, Raia Hadsell, Nicolas Heess, and Razvan Pascanu. Distral: Robust multitask reinforcement learning. arXiv preprint arXiv:1707.04175, 2017.
|
| 416 |
+
Dhruva Tirumala, Alexandre Galashov, Hyeonwoo Noh, Leonard Hasenclever, Razvan Pascanu, Jonathan Schwarz, Guillaume Desjardins, Wojciech Marian Czarnecki, Arun Ahuja, Yee Whye Teh, et al. Behavior priors for efficient reinforcement learning. arXiv preprint arXiv:2010.14274, 2020.
|
| 417 |
+
Emanuel Todorov, Tom Erez, and Yuval Tassa. Mujoco: A physics engine for model-based control. In 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, pages 5026–5033. IEEE, 2012.
|
| 418 |
+
Saran Tunyasuvunakool, Alistair Muldal, Yotam Doron, Siqi Liu, Steven Bohez, Josh Merel, Tom Erez, Timothy Lillicrap, Nicolas Heess, and Yuval Tassa. dm_control: Software and tasks for continuous control. Software Impacts, 6:100022, 2020.
|
| 419 |
+
Denis Yarats, Ilya Kostrikov, and Rob Fergus. Image augmentation is all you need: Regularizing deep reinforcement learning from pixels. In 9th International Conference on Learning Representations, ICLR, volume 2021, 2021.
|
| 420 |
+
|
| 421 |
+
# 51 7 NeuRIPS 2021 checklist
|
| 422 |
+
|
| 423 |
+
• Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? Yes, we believe that the claims in the abstract and introduction are accurately reflected by the paper’s contributions and scope.
|
| 424 |
+
• Have you read the ethics review guidelines and ensured that your paper conforms to them? Yes.
|
| 425 |
+
• Did you discuss any potential negative societal impacts of your work? Yes. We included this in the Discussion section.
|
| 426 |
+
• Did you describe the limitations of your work? Yes, we discuss these in the "Discussion" section.
|
| 427 |
+
• Did you state the full set of assumptions of all theoretical results Not applicable.
|
| 428 |
+
• Did you include complete proofs of all theoretical results Not applicable.
|
| 429 |
+
• Did you include the code, data, and instructions needed to reproduce the main experimental results ? We included complete details in the supplementary material which could be used to reproduce the experimental results.
|
| 430 |
+
• Did you specify all the training details? Yes, in the main paper and supplementary material.
|
| 431 |
+
• Did you report error bars? We did. For every plot we reported the mean and standard deviations averaged across a number of independent random evaluations.
|
| 432 |
+
• Did you include the amount of compute and the type of resources used? Yes, we did, in the supplementary material.
|
| 433 |
+
• If your work uses existing assests, did you cite the creators? Yes. We use DeepMind control suite tasks and we cite the appropriate publications. Did you mention the license of the assets? We did not explicitly mention the licence as it is clear from the reference. Did you include any new assets either in the supplementary material os as a URL? No. Did you discuss whether and how consent was obtained from people whose data you’re using / curating? Since the assets and references are in the public access, no consent was required. Did you discuss whether the data you are using / curating contains personally identifiable information or offensive content? The assets which we used did not include any personally identifiable information nor offensive content.
|
| 434 |
+
• Did you include the full text of instructions given to participants and screenshots, if applicable? Not applicable.
|
| 435 |
+
Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable Not applicable.
|
| 436 |
+
• Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? Not applicable.
|
parse/train/MdZPf3qCF7s/MdZPf3qCF7s_content_list.json
ADDED
|
@@ -0,0 +1,994 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Data augmentation for efficient learning from parametric experts ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
223,
|
| 8 |
+
122,
|
| 9 |
+
774,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous Author(s) \nAffiliation \nAddress \nemail ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
423,
|
| 19 |
+
226,
|
| 20 |
+
580,
|
| 21 |
+
281
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
318,
|
| 32 |
+
535,
|
| 33 |
+
334
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "1 We present a simple, yet powerful data-augmentation technique to enable data \n2 efficient learning from parametric experts. Whereas behavioral cloning refers to \n3 learning from samples of an expert, we focus here on what we refer to as the policy \n4 cloning setting which allows for offline queries of an expert or expert policy. This \n5 setting arises naturally in a number of problems, especially as a component of \n6 other algorithms. We achieve a very high level of data efficiency in transferring \n7 behavior from an expert to a student policy for high Degrees of Freedom (DoF) \n8 control problems using our augmented policy cloning (APC) approach, which \n9 combines conventional image-based data augmentation to build invariance to \n10 image perturbations with an expert-aware offline data augmentation approach that \n11 induces appropriate feedback-sensitivity in a region around expert trajectories. We \n12 show that our method increases data-efficiency of policy cloning, enabling transfer \n13 of complex high-DoF behaviors from just a few trajectories, and we also show \n14 benefits of our approach in the context of algorithms in which policy cloning is a \n15 constituent part. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
148,
|
| 42 |
+
349,
|
| 43 |
+
766,
|
| 44 |
+
558
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "16 1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
148,
|
| 54 |
+
584,
|
| 55 |
+
312,
|
| 56 |
+
602
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "17 In various control and reinforcement learning settings, there is a need to transfer behavior from an \n18 expert policy to a student policy. Broadly, when only samples from the expert policy are available, the \n19 standard approach is to employ a version of regression from states to actions. This class of approaches \n20 for producing a policy is known as behavioral cloning [Pomerleau, 1989, Michie and Sammut, 1996]. \n21 Behavioral cloning is quite flexible and supports the setting where the expert trajectories come from a \n22 human teleoperating the relevant system directly, as well as various settings where the trajectories are \n23 sampled from other controllers, which themselves may have been trained or scripted. However, for \n24 any of the settings where the expert policy is actually available, rather than just samples from the \n25 expert, it is reasonable to suspect that sampling random rollouts from the expert policy followed by \n26 performing behavioral cloning is not the optimally efficient approach for transferring behavior from \n27 the expert to the student. Once a trajectory has been sampled via an expert rollout, there is actually \n28 additional information available that can be ascertained in the neighborhood of the trajectory, without \n29 having to perform an additional rollout, via the local feedback properties of the expert. \n30 In this work, we refer to this setting, where we want to transfer from an expert policy to a student \n31 policy, while assuming the expert policy can be queried, as policy cloning. Naturally, there is still \n32 often an incentive to reduce the total number of rollouts, which may require actually collecting data \n33 in an unsafe or costly fashion, especially for real-world control problems. As such, there is an aim to \n34 characterize any efficiency that can be gained in learning from small numbers of rollouts without as \n35 much concern for how many offline queries are required of the expert policy. If one has primarily \n36 encountered behavioral cloning in the context of learning from human demonstrations, policy cloning, \n37 with an available expert policy may seem contrived. However, policy cloning naturally arises in many \n38 settings. For example, we may have multiple experts that we wish to consolidate into a single neural \n39 network policy or there may be memory considerations that motivate compressing a large expert \n40 network into a smaller model with similar behavior. Perhaps most natural are settings in which an \n41 expert policy is costly or slow to execute, for example due to running a compute intensive procedure \n42 such as model predictive control (MPC) on specialized hardware (e.g. GPU); in such settings, the \n43 aim is to transfer expert behavior to a parametric student policy that amortizes the cost. DAGGER is \n44 one well known approach for efficiently transferring behavior from an expert to a student under these \n45 kinds of constraints [Ross et al., 2011]. In a separate setting, the expert may be suboptimal and the \n46 student needs to learn from expert while also being able to exceed the expert performance, perhaps \n47 by continuing to learn from a task via RL. This problem has been described as kickstarting in one \n48 incarnation [Schmitt et al., 2018], but also can arise when learning from behavioral priors [Tirumala \n49 et al., 2020], [Galashov et al., 2019], as also happens, for example, in Distral [Teh et al., 2017]. \n50 To improve data-efficiency in supervised settings generally, including in behavioral cloning settings, \n51 it is reasonable to consider data augmentation. Data augmentation refers to applying perturbations to \n52 a finite training dataset to effectively amplify its diversity, usually in the hopes of producing a model \n53 that is invariant to the class of perturbations performed. For example, in the well studied problem \n54 of object classification from single images, it is known that applying many kinds of perturbation \n55 should not affect the object label, so a model can be trained with many input perturbations all yielding \n56 the same output [Shorten and Khoshgoftaar, 2019]. This setting is fairly representative, with data \n57 augmentation usually intended to make the model “robust\" to nuisance perturbations of the input. \n58 This class of image-perturbation has also been recently demonstrated to be effective in the context of \n59 control problems in the offline RL setting [Yarats et al., 2021, Laskin et al., 2020]. \n60 Critically, for control problems it is not the case that the action should be invariant to the input state. \n61 Or rather, while it does make sense for a control policy to be invariant to certain classes of sensor \n62 noise, an important class of robustness is that the policy is appropriately feedback-responsive. This is \n63 to say that for small perturbations of the state of the control system, the optimal action is different \n64 in precisely the way that the expert implicitly knows. This has been recognized and exploited in \n65 previous research that has distilled feedback-control plans into controllers [Mordatch and Todorov, \n66 2014, Mordatch et al., 2015, Merel et al., 2019]. A similar intuition also underlies schemes which \n67 inject noise into the expert during rollouts to sample more comprehensively the space of how the \n68 expert recovers from perturbations [Laskey et al., 2017, Merel et al., 2019]. \n69 In this work, we leverage this insight to develop a highly efficient policy cloning approach that \n70 makes use of both classes of data augmentation. For a high-DoF control problem that operates only \n71 from state (humanoid run task from DeepMind control suite [Tunyasuvunakool et al., 2020]), we \n72 demonstrate the feasibility of policy cloning that employs state-based data augmentation with expert \n73 querying to transfer the feedback-sensitive behavior of the expert in a region around a small number \n74 of rollouts. Then on a more difficult high-DoF control problem that involves both state-derived and \n75 egocentric image observations (humanoid running through corrdiors task from DeepMind control \n76 suite [Tunyasuvunakool et al., 2020]), we combine the state-based expert-aware data augmentation \n77 with a separate image augmentation intended to induce invariance to image perturbations. Essentially \n78 our expert-aware data augmentation involves applying random perturbations to the state-derived \n79 observations, and training the student to match the expert-queried optimal action at each perturbed \n80 state, thereby gaining considerable knowledge from the expert without performing excessive rollouts \n81 simply to cover the state space around existing trajectories. Our approach compares favorably to \n82 sensible baselines, including the naive approach of attempting to perform behavioral cloning with \n83 state perturbations, which seeks to induce invariance (as proposed in [Laskin et al., 2020]) rather than \n84 feedback-sensitivity to state-derived observations. \n85 In the presentation that follows, we will describe the problem setting (Section 2) as well as our \n86 approach (Section 3), describe the domains we employ and present our initial experiments (Section 4), \n87 show that our augmented policy cloning approach works well when used as a component of other \n88 algorithms like DAGGER and kickstarting (Section 5), and finally close with a discussion (Section 6). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
145,
|
| 65 |
+
617,
|
| 66 |
+
825,
|
| 67 |
+
796
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "",
|
| 74 |
+
"bbox": [
|
| 75 |
+
147,
|
| 76 |
+
803,
|
| 77 |
+
825,
|
| 78 |
+
900
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
145,
|
| 87 |
+
92,
|
| 88 |
+
825,
|
| 89 |
+
270
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 1
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
145,
|
| 98 |
+
277,
|
| 99 |
+
825,
|
| 100 |
+
416
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "",
|
| 107 |
+
"bbox": [
|
| 108 |
+
147,
|
| 109 |
+
421,
|
| 110 |
+
825,
|
| 111 |
+
546
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "",
|
| 118 |
+
"bbox": [
|
| 119 |
+
147,
|
| 120 |
+
554,
|
| 121 |
+
825,
|
| 122 |
+
773
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "",
|
| 129 |
+
"bbox": [
|
| 130 |
+
147,
|
| 131 |
+
780,
|
| 132 |
+
825,
|
| 133 |
+
835
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "89 2 Problem description ",
|
| 140 |
+
"text_level": 1,
|
| 141 |
+
"bbox": [
|
| 142 |
+
148,
|
| 143 |
+
89,
|
| 144 |
+
375,
|
| 145 |
+
107
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 2
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "2.1 Expert-driven learning ",
|
| 152 |
+
"text_level": 1,
|
| 153 |
+
"bbox": [
|
| 154 |
+
169,
|
| 155 |
+
119,
|
| 156 |
+
374,
|
| 157 |
+
135
|
| 158 |
+
],
|
| 159 |
+
"page_idx": 2
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"type": "text",
|
| 163 |
+
"text": "91 We start by introducing a notion of expert-driven learning that will be used throughout the paper. \n92 At first, we present a general form of the expert-driven objective and then introduce a few concrete \n93 examples. We consider a standard Reinforcement Learning (RL) problem. We present the domain as \n94 an MDP with continuous states for simplicity, however the problem definition is similar for a POMDP \n95 with observations derived from the state. Formally, we describe the MDP in terms of a continuous state \n96 space $S \\in \\mathcal { R } ^ { n }$ (for some $n > 0$ ), an action space $\\mathcal { A }$ , transition dynamics $p ( s ^ { \\prime } | s , a ) : S \\times \\mathcal { A } p ( S )$ , \n97 and a reward function $r : \\mathcal { S } \\times \\mathcal { A } \\mathcal { R }$ . Let $\\Pi$ be a set of parametric policies, i.e. of mappings \n98 $\\pi _ { \\theta } : S p ( { \\mathcal { A } } )$ from the state space $s$ to the probability distributions over actions $\\mathcal { A }$ , where $\\theta \\in \\mathcal { R } ^ { m }$ \n99 for some $m > 0$ . For simplicity of the notation, we omit the parameter in front of the policy, i.e. \n100 $\\pi = \\pi _ { \\theta }$ and optimizing over the set of policies would be equivalent to the optimizing over a set of \n101 parameters. A reinforcement learning problem consists in finding such a policy $\\pi$ that it maximizes \n102 the expected discounted future reward: ",
|
| 164 |
+
"bbox": [
|
| 165 |
+
142,
|
| 166 |
+
145,
|
| 167 |
+
826,
|
| 168 |
+
311
|
| 169 |
+
],
|
| 170 |
+
"page_idx": 2
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"type": "equation",
|
| 174 |
+
"img_path": "images/ffd2940e2c8cdba6cb857074d5bf8571b21fc9fb334d93625c02b964dbec1de3.jpg",
|
| 175 |
+
"text": "$$\nJ ( \\pi ) = \\mathbb { E } _ { p ( \\tau ) } \\left[ \\sum _ { t } \\gamma ^ { t } r ( a _ { t } | s _ { t } ) \\right] ,\n$$",
|
| 176 |
+
"text_format": "latex",
|
| 177 |
+
"bbox": [
|
| 178 |
+
390,
|
| 179 |
+
314,
|
| 180 |
+
606,
|
| 181 |
+
358
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 2
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "103 where $\\begin{array} { r } { p ( \\tau ) = p ( s _ { 0 } ) \\prod _ { t } p ( a _ { t } | s _ { t } ) p ( s _ { t + 1 } | s _ { t } , a _ { t } ) } \\end{array}$ is a trajectory distribution. We assume the existence \n104 of an expert policy $\\pi _ { E } ( a | s )$ . This policy could be used to simplify the learning of a new policy on the \n105 same problem. Formally, we construct a new learning objective which aims to maximize the expected \n106 reward of the problem in hand as well as to clone the expert policy: ",
|
| 188 |
+
"bbox": [
|
| 189 |
+
140,
|
| 190 |
+
361,
|
| 191 |
+
825,
|
| 192 |
+
417
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 2
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "equation",
|
| 198 |
+
"img_path": "images/0b954363af042f0f644d4a64768b811c1ae0f0d6ef19d57f6a6d9ecc43651eef.jpg",
|
| 199 |
+
"text": "$$\nJ ( \\pi , \\pi _ { E } ) = \\alpha J ( \\pi ) - \\lambda D ( \\pi , \\pi _ { E } ) ,\n$$",
|
| 200 |
+
"text_format": "latex",
|
| 201 |
+
"bbox": [
|
| 202 |
+
385,
|
| 203 |
+
421,
|
| 204 |
+
611,
|
| 205 |
+
439
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "107 where $D$ is some measure of distance of $\\pi$ from $\\pi _ { E }$ and $\\alpha \\ge 0 , \\lambda \\ge 0$ are parameters measuring \n108 importance of both objectives. In most of the applications, $\\alpha \\in \\{ 0 , 1 \\}$ and $\\lambda \\geq 0$ represents a relative \n109 importance of cloning an expert policy with respect to the RL objective. ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
142,
|
| 214 |
+
443,
|
| 215 |
+
825,
|
| 216 |
+
486
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "2.2 Behavioral cloning (BC) ",
|
| 223 |
+
"text_level": 1,
|
| 224 |
+
"bbox": [
|
| 225 |
+
171,
|
| 226 |
+
500,
|
| 227 |
+
380,
|
| 228 |
+
515
|
| 229 |
+
],
|
| 230 |
+
"page_idx": 2
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"type": "text",
|
| 234 |
+
"text": "One important instance of the objective (2) with $\\alpha = 0 , \\lambda = 1$ is behavioral cloning. In this case, the measure of distance is defined as: ",
|
| 235 |
+
"bbox": [
|
| 236 |
+
166,
|
| 237 |
+
525,
|
| 238 |
+
823,
|
| 239 |
+
554
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 2
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "equation",
|
| 245 |
+
"img_path": "images/e1f804cdc3d12257fc66ccf1481ffac9b898d0848dc2cf84d6938c1e8d0acaf2.jpg",
|
| 246 |
+
"text": "$$\nD _ { B C } ( \\pi , \\pi _ { E } ) = - \\mathbb { E } _ { ( a , s ) \\in \\mathcal { B } _ { E } } [ \\log \\pi ( a | s ) ]\n$$",
|
| 247 |
+
"text_format": "latex",
|
| 248 |
+
"bbox": [
|
| 249 |
+
366,
|
| 250 |
+
558,
|
| 251 |
+
632,
|
| 252 |
+
577
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 2
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "text",
|
| 258 |
+
"text": "113 Here, $\\boldsymbol { B _ { E } } = \\{ ( s _ { i } , a _ { i } ) , i = 1 , \\ldots , N \\}$ , $N > 0$ is a fixed dataset containing expert data. Minimizing \n114 the objective (3) is be equivalent to maximizing the likelihood of the expert data under the policy $\\pi$ . \n115 The action in eqn. (3) can be replaced by $\\pi _ { E } ( s )$ for deterministic policies or by the mean or the mode \n116 for stochastic policies (e.g., by the mean $\\mu _ { E } ( s )$ for Gaussian policies $\\pi _ { E } ( \\cdot | s ) = \\mathcal { N } ( \\mu _ { E } ( s ) , \\sigma _ { E } ( s ) ) )$ . ",
|
| 259 |
+
"bbox": [
|
| 260 |
+
142,
|
| 261 |
+
580,
|
| 262 |
+
826,
|
| 263 |
+
637
|
| 264 |
+
],
|
| 265 |
+
"page_idx": 2
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "text",
|
| 269 |
+
"text": "117 2.3 DAGGER ",
|
| 270 |
+
"text_level": 1,
|
| 271 |
+
"bbox": [
|
| 272 |
+
142,
|
| 273 |
+
651,
|
| 274 |
+
279,
|
| 275 |
+
666
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 2
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "118 Performance of Behavioral Cloning (BC) can be limited due to the fixed dataset, since the resulting \n119 policy may fail to generalize to states outside the training distribution. A different approach, known \n120 in the literature as DAGGER [Ross et al., 2011] was proposed to overcome this limitation. In this \n121 setting, the expert is queried in states visited by the student, thus reducing distribution shift. In our \n122 notation, this corresponds to $\\alpha = 0$ , $\\lambda = 1$ in eqn. (2) and the measure of distance is defined as: ",
|
| 282 |
+
"bbox": [
|
| 283 |
+
140,
|
| 284 |
+
676,
|
| 285 |
+
825,
|
| 286 |
+
747
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 2
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "equation",
|
| 292 |
+
"img_path": "images/70e5448924fadbd3b123de81161e2348116925d1b97b016da34d21234e2025ae.jpg",
|
| 293 |
+
"text": "$$\nD _ { \\mathrm { D A G G E R } } ( \\pi , \\pi _ { E } ) = - \\mathbb { E } _ { p _ { \\beta } ( \\tau ) } [ \\log \\pi ( a _ { t } ^ { \\prime } | s _ { t } ) ] ,\n$$",
|
| 294 |
+
"text_format": "latex",
|
| 295 |
+
"bbox": [
|
| 296 |
+
357,
|
| 297 |
+
751,
|
| 298 |
+
638,
|
| 299 |
+
770
|
| 300 |
+
],
|
| 301 |
+
"page_idx": 2
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"type": "text",
|
| 305 |
+
"text": "123 where $p _ { \\beta } ( \\tau ) , \\beta \\in [ 0 , 1 ]$ is a trajectory distribution where actions are sampled according to the mixture \n124 policy between a student and an expert: ",
|
| 306 |
+
"bbox": [
|
| 307 |
+
147,
|
| 308 |
+
775,
|
| 309 |
+
831,
|
| 310 |
+
803
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 2
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "equation",
|
| 316 |
+
"img_path": "images/cddb8850672c2abf0cd61aa43c62562cc49c03201701415a5b017030212a8530.jpg",
|
| 317 |
+
"text": "$$\np ( a | s ) = \\beta \\tilde { \\pi } ( a | s ) + ( 1 - \\beta ) \\pi _ { E } ( a | s ) ,\n$$",
|
| 318 |
+
"text_format": "latex",
|
| 319 |
+
"bbox": [
|
| 320 |
+
374,
|
| 321 |
+
806,
|
| 322 |
+
622,
|
| 323 |
+
824
|
| 324 |
+
],
|
| 325 |
+
"page_idx": 2
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"type": "text",
|
| 329 |
+
"text": "125 The action $a _ { t } ^ { \\prime }$ in eqn. (4) is resampled from the expert policy for the state $s _ { t }$ , i.e., $a _ { t } ^ { \\prime } \\sim \\pi _ { E } ( \\cdot | s _ { t } )$ \n126 As in Section 2.2, for stochastic experts this action can be replaced by the mean or mode of the \n127 distribution in eqn. (4). The policy $\\tilde { \\pi } ( a | s )$ corresponds to a frozen version of student policy $\\pi$ so \n128 that the gradient $\\nabla _ { \\pi } D _ { \\mathrm { D A G G E R } } ( \\pi , \\pi _ { E } )$ is not taken with respect to $p ( a | s )$ . Note that even though, in \n129 eqn. (4) we collect data from the environment, the setting nevertheless corresponds to pure imitation \n130 learning since expected reward is not directly maximized. \n132 In eqn. (2), we combine both maximization of expected task reward and minimization of distance to \n133 the expert. In literature, it is known as Kickstarting [Schmitt et al., 2018]. In this case, in the objective \n134 from eqn. (2), $\\alpha = 1$ , and $\\lambda \\geq 0$ . As the measure of distance, we use the cross-entropy from expert \n135 to a student, similarly to [Schmitt et al., 2018]: ",
|
| 330 |
+
"bbox": [
|
| 331 |
+
140,
|
| 332 |
+
827,
|
| 333 |
+
825,
|
| 334 |
+
912
|
| 335 |
+
],
|
| 336 |
+
"page_idx": 2
|
| 337 |
+
},
|
| 338 |
+
{
|
| 339 |
+
"type": "text",
|
| 340 |
+
"text": "",
|
| 341 |
+
"bbox": [
|
| 342 |
+
140,
|
| 343 |
+
116,
|
| 344 |
+
825,
|
| 345 |
+
172
|
| 346 |
+
],
|
| 347 |
+
"page_idx": 3
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"type": "equation",
|
| 351 |
+
"img_path": "images/db81e070f3dbc7cd708fd7e25282dc625e24205fa66f4e4857f116352ae50b7c.jpg",
|
| 352 |
+
"text": "$$\nJ ( \\pi , \\pi _ { E } ) = J ( \\pi ) - \\lambda \\mathbb { E } _ { p ( \\tau ) } \\left[ - \\mathbb { E } _ { \\pi _ { E } ( a | s ) } \\log \\pi ( a | s ) \\right]\n$$",
|
| 353 |
+
"text_format": "latex",
|
| 354 |
+
"bbox": [
|
| 355 |
+
328,
|
| 356 |
+
176,
|
| 357 |
+
668,
|
| 358 |
+
196
|
| 359 |
+
],
|
| 360 |
+
"page_idx": 3
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"type": "text",
|
| 364 |
+
"text": "136 where $p ( \\tau )$ is a trajectory distribution, where actions are sampled according to the student policy \n137 $\\pi ( \\cdot | s )$ . Usually, in the Kickstarting setting, the expert is sub-optimal and the goal is to train a policy \n138 that eventually outperforms the expert. Thus, it is customary to reduce $\\lambda$ over the course of training. \n139 Yet, for simplicity, in our experiments we keep this coefficient fixed. ",
|
| 365 |
+
"bbox": [
|
| 366 |
+
140,
|
| 367 |
+
202,
|
| 368 |
+
825,
|
| 369 |
+
258
|
| 370 |
+
],
|
| 371 |
+
"page_idx": 3
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"type": "text",
|
| 375 |
+
"text": "40 3 Augmented policy cloning ",
|
| 376 |
+
"text_level": 1,
|
| 377 |
+
"bbox": [
|
| 378 |
+
155,
|
| 379 |
+
276,
|
| 380 |
+
423,
|
| 381 |
+
295
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 3
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "text",
|
| 387 |
+
"text": "141 The previous section has demonstrated that the objective corresponding to the cloning behavior from \n142 the parametric expert policy could arise in multiple scenarios. In this section we propose a new and \n143 simple method which can significantly improve the data efficiency of the approaches described in \n144 Section 2. We explain the basic idea for BC, but its generalization to other expert-driven learning \n145 approaches described in Section 2 is straightforward. In Section 5 we show results for these problems. \n146 When optimizing the objective (3), for every state $s \\in \\mathcal { D } _ { E }$ from the expert trajectories dataset, we \n147 consider a small Gaussian state perturbation: ",
|
| 388 |
+
"bbox": [
|
| 389 |
+
140,
|
| 390 |
+
308,
|
| 391 |
+
825,
|
| 392 |
+
378
|
| 393 |
+
],
|
| 394 |
+
"page_idx": 3
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"type": "text",
|
| 398 |
+
"text": "",
|
| 399 |
+
"bbox": [
|
| 400 |
+
145,
|
| 401 |
+
383,
|
| 402 |
+
825,
|
| 403 |
+
412
|
| 404 |
+
],
|
| 405 |
+
"page_idx": 3
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"type": "equation",
|
| 409 |
+
"img_path": "images/879240cc09a37a72659299d47b0def4db435f1dd0a1600a2f9d65bce01ee7c05.jpg",
|
| 410 |
+
"text": "$$\n\\delta s \\sim \\mathcal N ( 0 , \\sigma _ { s } ^ { 2 } )\n$$",
|
| 411 |
+
"text_format": "latex",
|
| 412 |
+
"bbox": [
|
| 413 |
+
447,
|
| 414 |
+
416,
|
| 415 |
+
550,
|
| 416 |
+
435
|
| 417 |
+
],
|
| 418 |
+
"page_idx": 3
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"type": "text",
|
| 422 |
+
"text": "148 which produces a new virtual state: ",
|
| 423 |
+
"bbox": [
|
| 424 |
+
150,
|
| 425 |
+
440,
|
| 426 |
+
405,
|
| 427 |
+
455
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 3
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "equation",
|
| 433 |
+
"img_path": "images/8a33731927c7736c07c23d4d87dd7c7cdf2411038f23c26be16389deba783d84.jpg",
|
| 434 |
+
"text": "$$\n\\boldsymbol { s } ^ { \\prime } = \\boldsymbol { s } + \\delta \\boldsymbol { s }\n$$",
|
| 435 |
+
"text_format": "latex",
|
| 436 |
+
"bbox": [
|
| 437 |
+
457,
|
| 438 |
+
453,
|
| 439 |
+
540,
|
| 440 |
+
468
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 3
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "149 Then, for this state we query the expert and obtain a new action ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
145,
|
| 449 |
+
473,
|
| 450 |
+
591,
|
| 451 |
+
488
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 3
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "equation",
|
| 457 |
+
"img_path": "images/6f5cbd5f8d9738c56d4260eb0b9c85e2c4279de8210c6fe80029987948693854.jpg",
|
| 458 |
+
"text": "$$\na ^ { \\prime } \\sim \\pi _ { E } ( \\cdot | s + \\delta s )\n$$",
|
| 459 |
+
"text_format": "latex",
|
| 460 |
+
"bbox": [
|
| 461 |
+
437,
|
| 462 |
+
492,
|
| 463 |
+
560,
|
| 464 |
+
511
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 3
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "150 We then augment the dataset $\\mathcal { D } _ { E }$ with these new pairs of virtual states and actions. More explicitly \n151 the idea can be expressed in terms of the following objective: ",
|
| 471 |
+
"bbox": [
|
| 472 |
+
138,
|
| 473 |
+
516,
|
| 474 |
+
826,
|
| 475 |
+
545
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 3
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "equation",
|
| 481 |
+
"img_path": "images/efa2c9a2f5a5e3d7774a3d11a47265fc2bbb4209d87ab7c3dad4954a87af4cc5.jpg",
|
| 482 |
+
"text": "$$\n\\begin{array} { r } { D ( \\pi , \\pi _ { E } ) _ { A P C } = \\mathbb { E } _ { ( a , s ) \\in B _ { E } } [ \\log \\pi ( a | s ) + \\mathbb { E } _ { \\delta s \\sim \\mathcal { N } ( 0 , \\sigma _ { s } ^ { 2 } ) , a ^ { \\prime } \\sim \\pi _ { E } ( \\cdot | s + \\delta s ) } \\log \\pi ( a ^ { \\prime } | s + \\delta s ) ] } \\end{array}\n$$",
|
| 483 |
+
"text_format": "latex",
|
| 484 |
+
"bbox": [
|
| 485 |
+
202,
|
| 486 |
+
549,
|
| 487 |
+
766,
|
| 488 |
+
569
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 3
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "152 We call this approach Augmented Policy Cloning (APC) as it queries the expert policy to augment \n153 the training data. This approach is different from a naive data-augmentation technique, where a new \n154 state would be generated, but associated with the original action (and not a new one). It therefore \n155 allows to build policies which are feedback-responsive with respect to the expert. We formulate APC \n156 algorithm for BC in Algorithm 1. ",
|
| 495 |
+
"bbox": [
|
| 496 |
+
142,
|
| 497 |
+
571,
|
| 498 |
+
825,
|
| 499 |
+
642
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 3
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "157 4 Core Results: Evaluation of Augmented Policy Cloning ",
|
| 506 |
+
"text_level": 1,
|
| 507 |
+
"bbox": [
|
| 508 |
+
147,
|
| 509 |
+
661,
|
| 510 |
+
665,
|
| 511 |
+
679
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 3
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"text": "4.1 Domains ",
|
| 518 |
+
"text_level": 1,
|
| 519 |
+
"bbox": [
|
| 520 |
+
165,
|
| 521 |
+
693,
|
| 522 |
+
274,
|
| 523 |
+
707
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 3
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "159 To study how our method performs on complex control domains, we consider two complex, high-DoF \n160 continuous control tasks involving control of a physically simulated humanoid body. Both domains \n161 are implemented using the MuJoCo physics engine [Todorov et al., 2012] and are available in the \n162 dm_control repository [Tunyasuvunakool et al., 2020]. The first task is the standard control suite \n163 Run task, where the Humanoid body needs to run at a target speed and observations are based on \n164 proprioception. The second task is the Walls task which requires the same Humanoid body to run \n165 along a corridor and avoid walls, using both proprioception and egocentric vision as observations. \n166 Both of these problems are rather challenging insofar as they require stabilization and locomotion \n167 control of a relatively complex humanoid body with 21 actuated DoFs, in one case using vision to \n168 guide the movement. Note these environments are related to the domains that have been proposed \n169 for use in offline RL benchmarks [Gulcehre et al., 2020]; however, the experiments we perform in \n170 this work require availability of the expert policy, so we do not use offline data, but instead train \n171 new experts and perform experiments in the very low data regime. For more details, please refer to \n172 Section 1.1 in Supplementary Material. ",
|
| 530 |
+
"bbox": [
|
| 531 |
+
140,
|
| 532 |
+
718,
|
| 533 |
+
826,
|
| 534 |
+
911
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 3
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "Parametric student policy: $\\pi _ { \\theta }$ \nInitial parameters: $\\theta _ { 0 }$ \nexpert policy: $\\pi _ { E }$ \nDataset $\\boldsymbol { B _ { E } } = \\{ ( s _ { i } , a _ { i } ) , i = 1 , \\ldots , N \\}$ , $N > 0$ of expert state-action pairs \nState perturbation noise $\\sigma _ { s }$ \nLearning rate $\\alpha$ \nNumber of augmented samples: $M$ \nNumber of gradient updates: $K$ \nSize of a batch: $L$ \nfor $\\mathbf { k } { = } 1 , \\ldots , \\mathbf { K }$ do Sample a batch of pairs $\\{ ( a _ { i } , s _ { i } ) \\} _ { i = 1 } ^ { L } \\sim B _ { E }$ For each state $s _ { i }$ , sample $M$ perturbations $\\delta s _ { j } \\sim \\mathcal { N } ( 0 , \\sigma _ { s } ) , j = 1 , \\ldots , M$ Construct $M$ virtual states $s _ { i , j } ^ { \\prime } = s _ { i } + \\delta s _ { j } , i = 1 , \\dots , L , j = 1 , \\dots , M$ Resample new actions from expert $a _ { i , j } ^ { \\prime } \\sim \\pi _ { E } ( \\cdot | s _ { i , j } ^ { \\prime } )$ For Gaussian experts, the action $a _ { i } = \\mu _ { E } ( s _ { i } )$ and the new actions are $a _ { i , j } ^ { \\prime } = \\mu _ { E } ( s _ { i , j } ^ { \\prime } )$ Compute the empirical negative log-likelihood: $\\begin{array} { r } { \\mathcal { L } = - \\left[ \\log \\pi _ { \\theta _ { k } } ^ { - } ( a _ { i } | s _ { i } ) + \\frac { 1 } { M } \\sum _ { j = 1 } ^ { M } \\log \\pi _ { \\theta _ { k } } ( a _ { i , j } ^ { \\prime } | s _ { i , j } ^ { \\prime } ) \\right] } \\end{array}$ Update the parameters $\\theta _ { k + 1 } = \\theta _ { k } - \\alpha \\nabla _ { \\theta } \\mathcal { L }$ \nend for ",
|
| 541 |
+
"bbox": [
|
| 542 |
+
183,
|
| 543 |
+
109,
|
| 544 |
+
771,
|
| 545 |
+
386
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 4
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "text",
|
| 551 |
+
"text": "173 For each task, we train expert policies to convergence using the MPO algorithm Abdolmaleki et al. \n174 [2018]. Since the expert policy essentially saturates task performance, for each task, we keep three \n175 partially trained experts such that we can assess the ability of the kickstarting approach to outperform \n176 sub-optimal experts. We refer to the different experts as Low, achieving approximatively $25 \\%$ of the \n177 optimal policy reward, Medium, achieving around $50 \\%$ of the performance and High, corresponding \n178 to the converged policy. Each expert is represented by a Gaussian policy. For more details, please \n179 refer to Section 1.2 in Supplementary Material. ",
|
| 552 |
+
"bbox": [
|
| 553 |
+
142,
|
| 554 |
+
414,
|
| 555 |
+
825,
|
| 556 |
+
512
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 4
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "text",
|
| 562 |
+
"text": "80 4.2 Applying Augmented Policy Cloning ",
|
| 563 |
+
"text_level": 1,
|
| 564 |
+
"bbox": [
|
| 565 |
+
155,
|
| 566 |
+
527,
|
| 567 |
+
465,
|
| 568 |
+
544
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 4
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "81 First, we evaluate the performance of APC in fitting a fixed dataset of expert trajectories. In order \n82 to study the data efficiency of the method, we construct datasets containing different numbers of \n83 expert trajectories. The expert policies are represented by conditionally Gaussian distributions, \n84 i.e. $\\pi _ { E } ( \\cdot | \\bar { s } ) = \\mathcal { N } ( \\mu _ { E } ( s ) , \\bar { \\sigma ( s ) } )$ . Thus, to assess the robustness of our method to expert noise we \n85 produce trajectories using the experts’ mean but adding different levels of (homoscedastic) zero-mean \n86 Gaussian noise $\\sigma _ { E }$ . ",
|
| 575 |
+
"bbox": [
|
| 576 |
+
150,
|
| 577 |
+
553,
|
| 578 |
+
825,
|
| 579 |
+
637
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 4
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "equation",
|
| 585 |
+
"img_path": "images/2ae4dadac8338f60587aa4c8480b702ee4326f20d696915a68e1e5336e573398.jpg",
|
| 586 |
+
"text": "$$\n\\displaystyle a \\sim \\mathcal { N } ( \\mu _ { E } ( s ) , \\sigma _ { E } )\n$$",
|
| 587 |
+
"text_format": "latex",
|
| 588 |
+
"bbox": [
|
| 589 |
+
433,
|
| 590 |
+
636,
|
| 591 |
+
565,
|
| 592 |
+
654
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 4
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "187 Note that in addition to policy noise $\\sigma _ { E }$ which is introduced when sampling trajectories, initial pose \n188 and environment layout (for the Walls task) are also sampled randomly for each episode. We consider \n189 4 levels of expert policy noise: Deterministic, which uses the Gaussian mean for the action, Low, \n190 with $\\sigma _ { E } = 0 . 2$ , Medium $\\sigma _ { E } = 0 . 5$ and High $\\sigma _ { E } = 1 . 0$ . \n191 For the APC method, we rely on Algorithm 1. For baselines, we consider BC algorithm from eqn. (3) \n192 as well as a simple modification of BC, where we apply, similar to APC, state perturbations as in \n193 eqn. (7) and eqn. (8), but we do not produce a new action from the expert. We call this approach \n194 Naive Augmented Behavior Cloning (Naive ABC) which essentially corresponds to robustification \n195 of the student policies with respect to state perturbation and is similar in spirit to standard data \n196 augmentation approaches. For vision-based tasks, we consider random crop augmentations of size \n197 $4 8 \\mathbf { x } 4 8$ (downsampled from the input image of 64x64), similar to Laskin et al. [2020]. When the \n198 image augmentations are used we add \"with image\" to the method name. On top of that, we consider \n199 a variant, where only image augmentation is used, which we call Naive ABC (image only). For \n200 all methods, as an action in the objective from eqn. (3), we use an expert mean $\\mu _ { E } ( s )$ . We train \n201 all approaches to convergence (300K learning iterations on Walls and 13M learning iterations on \n202 Run). Each learning iteration corresponds applying gradients to 64 trajectories, each containing \n203 10 time steps. After each learning iteration, we evaluate the policy on both a validation set (50 \n204 random instances of the environment) and a test set (150 random instances of the environments). \n205 We apply early-stopping based on the validation set performance to select the best model and \n206 report corresponding performance on the test set. For more details, please refer to Section 1.3 in \n207 Supplementary Material. As an additional evaluation, we test robustness of the obtained policies to a \n208 fixed amount of noise during execution. For a learned student policy $\\pi ( \\cdot | s ) = \\mathcal { N } ( \\mu ( s ) , \\sigma ( s ) )$ , we \n209 evaluate it by executing an action: ",
|
| 599 |
+
"bbox": [
|
| 600 |
+
142,
|
| 601 |
+
655,
|
| 602 |
+
826,
|
| 603 |
+
712
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 4
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "",
|
| 610 |
+
"bbox": [
|
| 611 |
+
140,
|
| 612 |
+
718,
|
| 613 |
+
826,
|
| 614 |
+
911
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 4
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "image",
|
| 620 |
+
"img_path": "images/6ba5e847a627b5cd0f9ec953ef682d44960299536be320f0eb5349ad60ca4536.jpg",
|
| 621 |
+
"image_caption": [
|
| 622 |
+
"Figure 1: Behavioral cloning results on Run and Walls tasks (represented by rows). The X-axis represents the number of trajectories, whereas the Y-axis corresponds to the episodic reward averaged among 150 independent evaluations. The highest point of the bar corresponds to the mean, whereas the dashed lines indicate the standard deviation. The pink dashed line indicate average expert performance. The legend describes a method which is used. On the plot on the left depicts a standard BC experiment, where dataset contains a specified number of full trajectories from the expert. The plot on the right illustrates the experiment, where a dataset contains 1 full trajectories and the rest are the short ones, containing only 200 timesteps each. "
|
| 623 |
+
],
|
| 624 |
+
"image_footnote": [],
|
| 625 |
+
"bbox": [
|
| 626 |
+
173,
|
| 627 |
+
87,
|
| 628 |
+
759,
|
| 629 |
+
422
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 5
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "",
|
| 636 |
+
"bbox": [
|
| 637 |
+
140,
|
| 638 |
+
569,
|
| 639 |
+
825,
|
| 640 |
+
638
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 5
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "equation",
|
| 646 |
+
"img_path": "images/7ae0536b5e79d953b93aef718d373cfc0b07f0ddb2551c6ba79e487121acb932.jpg",
|
| 647 |
+
"text": "$$\na \\sim { \\mathcal { N } } ( \\mu ( s ) , \\sigma ) ,\n$$",
|
| 648 |
+
"text_format": "latex",
|
| 649 |
+
"bbox": [
|
| 650 |
+
441,
|
| 651 |
+
637,
|
| 652 |
+
553,
|
| 653 |
+
654
|
| 654 |
+
],
|
| 655 |
+
"page_idx": 5
|
| 656 |
+
},
|
| 657 |
+
{
|
| 658 |
+
"type": "text",
|
| 659 |
+
"text": "210 where $\\sigma$ is the fixed amount of student noise. We consider similar noise magnitudes as for the \n211 expert. For APC and Naive ABC, we sweep over state perturbation noise levels and choose the ones \n212 performing the best on the validation set. For APC, we use $\\sigma _ { s } = 0 . 1$ for Run and $\\sigma _ { s } = 1 . 0$ for Walls. \n213 For Naive ABC, we use $\\sigma _ { s } = 0 . 0 0 1$ for Run and $\\sigma _ { s } = 0 . 0 1$ for Walls. The ablation experiments \n214 over noise levels for APC and Naive ABC are presented in Section 2 of the Supplementary Material \n215 (Figure 1 and Figure 2). \n216 The first of results, in Figure 1 (left) demonstrates the increased data efficiency of APC over BC and \n217 Naive ABC in terms of number of trajectories. The noise level of the expert and student are fixed to \n218 Low for the ease of comparison. We also see that Naive ABC performs similarly to BC. To further \n219 push the limits of data efficiency, we conducted a variant where a dataset contains only 1 full trajectory \n220 (1000 timesteps for Run and around $2 \\mathrm { k }$ timesteps for Walls) along with multiple short trajectories \n221 (200 time-step only). This dramatically reduces the amount of expert data available to learn from. \n222 However, we hypothesise that in the environments considered, much of the diversity of the trajectories \n223 arises due to initial state variation. This setting might arise in domains where execution is costly, \n224 such as robotics applications. In such setting we might have a few longer trajectories along with a \n225 patchwork of shorter trajectories covering more diverse parts of the state space. The results for this \n226 experiment are given in figure 1 (right). Again, we see that APC is significantly more efficient than \n227 BC and Naive ABC. Interesting to note that APC picks up quite a high performance after observing \n228 10 (1 full and 9 short) trajectories for Run task and 100 (1 full and 99 short) trajectories for the Walls \n29 task. In Section 3 in Supplementary material, we provide additional results for Walls task when we \n230 use image-based perturbations. ",
|
| 660 |
+
"bbox": [
|
| 661 |
+
140,
|
| 662 |
+
655,
|
| 663 |
+
825,
|
| 664 |
+
739
|
| 665 |
+
],
|
| 666 |
+
"page_idx": 5
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"type": "text",
|
| 670 |
+
"text": "",
|
| 671 |
+
"bbox": [
|
| 672 |
+
138,
|
| 673 |
+
744,
|
| 674 |
+
825,
|
| 675 |
+
911
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 5
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "text",
|
| 681 |
+
"text": "",
|
| 682 |
+
"bbox": [
|
| 683 |
+
150,
|
| 684 |
+
90,
|
| 685 |
+
826,
|
| 686 |
+
133
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 6
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "text",
|
| 692 |
+
"text": "In the next experiment, in order to understand how robust our method to noise, we study the impact of different levels of student and expert noises on performance. For each run, we use a dataset of 100 trajectories. The results are given in figure 2, where each column corresponds to a different level of expert noise, and the X-axis represents different levels of student noise. At first, we observe that APC is consistently more robust than BC and Naive ABC for any level of expert and student noise. On top of that, we can notice that for any fixed level of expert noise, the performance degrades when a student noise increases. Finally, we see that for higher noise levels of expert, the learned student performs better in the high noise regime. It is consistent with the intuition - training on noisy trajectories leads to a more robust policy. Overall, APC leads the most robust policy. ",
|
| 693 |
+
"bbox": [
|
| 694 |
+
163,
|
| 695 |
+
138,
|
| 696 |
+
825,
|
| 697 |
+
265
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 6
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "image",
|
| 703 |
+
"img_path": "images/55922519d083cd5acd37c2639ce28266b4d4cbf46504ddb38df60d0a847fc02f.jpg",
|
| 704 |
+
"image_caption": [
|
| 705 |
+
"Figure 2: Noise sensitivity results. We consider 4 levels of noise for student and expert: Deterministic, which uses the Gaussian mean for the action, Low, is the noise $\\sigma = 0 . 2$ , Medium $\\sigma = 0 . 5$ and High $\\sigma = 1 . 0$ . Each column corresponds to a different level of expert noise. X-axis corresponds to a different level of student noise. Y-axis corresponds to the episodic reward averaged among 150 independent evaluations. The highest point of the bar corresponds to the mean, whereas the dashed lines indicate the standard deviation. The legend denotes a method and a row corresponds to a task. The pink dashed line indicate average expert performance. "
|
| 706 |
+
],
|
| 707 |
+
"image_footnote": [],
|
| 708 |
+
"bbox": [
|
| 709 |
+
174,
|
| 710 |
+
279,
|
| 711 |
+
761,
|
| 712 |
+
468
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 6
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "text",
|
| 718 |
+
"text": "240 5 Additional Results: Augmented Policy Cloning as a subroutine ",
|
| 719 |
+
"text_level": 1,
|
| 720 |
+
"bbox": [
|
| 721 |
+
143,
|
| 722 |
+
607,
|
| 723 |
+
727,
|
| 724 |
+
626
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 6
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "text",
|
| 730 |
+
"text": "241 5.1 DAGGER with data augmentation ",
|
| 731 |
+
"text_level": 1,
|
| 732 |
+
"bbox": [
|
| 733 |
+
147,
|
| 734 |
+
641,
|
| 735 |
+
449,
|
| 736 |
+
656
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 6
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "image",
|
| 742 |
+
"img_path": "images/2496941df8315f2f080842d8e7e0f351aad02ffd4ab30021f8f43e0567433480.jpg",
|
| 743 |
+
"image_caption": [
|
| 744 |
+
"Figure 3: DAGGER results. On the $\\mathrm { X }$ -axis we report the number of environment steps. On the Y-axis we report averaged across 3 seeds episodic reward achieved by the student. We report confidence intervals in the shaded areas. For Run task, the confidence intervals are very small and are not visible. In solid line we report the performance without using expert policy during the acting. In dashed line, we report the performance of the policy which mixes $30 \\%$ with the expert. All the methods use mean action during evaluation. "
|
| 745 |
+
],
|
| 746 |
+
"image_footnote": [],
|
| 747 |
+
"bbox": [
|
| 748 |
+
173,
|
| 749 |
+
674,
|
| 750 |
+
759,
|
| 751 |
+
818
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 6
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "text",
|
| 757 |
+
"text": "242 As described in Section 2.3, DAGGER [Ross et al., 2011] is a more sophisticated approach where \n243 data is collected from the real environment by executing a policy from eqn. (5), which is a mixture \n244 between a student and an expert. In this section we study how data augmentation approaches affect \n245 the data efficiency of the DAGGER algorithm. \n246 We consider similar baselines for both tasks as in the previous section. For an expert policy that has \n247 been pre-trained via MPO [Abdolmaleki et al., 2018], we perform online rollouts for two values of \n248 the expert-student mixing coefficient, $\\beta = 0$ and $\\beta = 0 . 3$ (see eqn. 5). Since both student and expert \n249 are Gaussian distributions, instead of using a $\\log \\pi$ in eqn. (4), we could use a state-conditional cross \n250 entropy from an expert to a student, $\\mathcal { H } [ \\pi _ { E } ( \\cdot | s ) | | \\pi ( \\cdot | s ) ]$ . Empirically, we found that it worked better \n251 than using $\\log \\pi$ . We demonstrate a comparison in Section 4 in Supplementary Material. We run \n252 the experiments in a data-restricted setup such that for every collected trajectory (10 time-steps), we \n253 apply 10 gradient steps, using a replay-buffer to store the past experience. Additional experimental \n254 details are given in Section 1.4 in Supplementary Material. Results are shown in Figure 3. We see \n255 that APC and its vision variant outperform BC and Naive ABC similarly to the behavior cloning \n256 experiments. While we observe that image augmentation can help, we see that the primary advantage \n257 comes from the state-based augmentation for APC. For the Run task, we observe that all DAGGER \n258 methods achieve slightly lower performance than an expert policy. We speculate that this is due to \n259 insufficient coverage of the state space during training. ",
|
| 758 |
+
"bbox": [
|
| 759 |
+
140,
|
| 760 |
+
90,
|
| 761 |
+
825,
|
| 762 |
+
147
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 7
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "",
|
| 769 |
+
"bbox": [
|
| 770 |
+
138,
|
| 771 |
+
154,
|
| 772 |
+
825,
|
| 773 |
+
348
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 7
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "260 5.2 Kickstarting with data augmentation ",
|
| 780 |
+
"text_level": 1,
|
| 781 |
+
"bbox": [
|
| 782 |
+
147,
|
| 783 |
+
367,
|
| 784 |
+
470,
|
| 785 |
+
381
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 7
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "image",
|
| 791 |
+
"img_path": "images/de92604cbf28af517d0ab8201ecd8de84edebc9a85dfb463a974c61abfee81e9.jpg",
|
| 792 |
+
"image_caption": [
|
| 793 |
+
"Figure 4: Kickstarting results. On the X-axis we show the number of environment steps. On the Y-axis we report averaged across 3 seeds episodic reward achieved by the student. We report confidence intervals in the shaded areas. For Run task, the confidence intervals are very small and are not visible. Each row indicates a task, whereas a column corresponds to the expert type. Dashed black line shows the expert performance. "
|
| 794 |
+
],
|
| 795 |
+
"image_footnote": [],
|
| 796 |
+
"bbox": [
|
| 797 |
+
173,
|
| 798 |
+
400,
|
| 799 |
+
761,
|
| 800 |
+
717
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 7
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "261 A similar in spirit approach is kickstarting Schmitt et al. [2018], where we solve an RL task as well \n262 as cloning the expert policy. Similarly to previous section, we apply APC in kickstarting on the \n263 cross entropy term in eqn. (6). We use 3 types of expert policy as described in Section 4.1. We run \n264 experiments using a distributed setup with 64 acting policies and 1 learner, querying the batches \n265 of trajectories (of size 10) from a replay buffer. On top of running BC methods, we also report the \n266 performance of MPO Abdolmaleki et al. [2018] learning from scratch on the task of interest. All \n267 details are given in Section 1.5 in Supplementary Material. The results are given in figure 4. ",
|
| 807 |
+
"bbox": [
|
| 808 |
+
140,
|
| 809 |
+
814,
|
| 810 |
+
825,
|
| 811 |
+
912
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 7
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "268 We observe that APC performs better than Naive ABC on Run task and similarly on Walls task. Both \n269 approaches perform better than BC and learning from scratch. We hypothesise that the reason of not \n270 seeing a consistent advantage could be due to two factors. As we are in a high-data regime, since \n271 there is no limit on relative acting / learning ratio, and acting policies are not restricted to collect \n272 trajectories, it is unclear whether data-augmentation should help. In addition, we use reward signal \n273 which makes the impact of expert cloning less important. Note that the resulting agent is less data \n274 efficient in these experiments; this is because we do not control the relative ratio between acting \n275 and learning (i.e., no rate-limiting on the learner, due to instability of kickstarting experiments when \n276 rate-limiting was explored). Furthermore, unlike in kickstarting Schmitt et al. [2018], we do not use an annealing schedule of $\\lambda$ to make the experiments simpler, but we still observe that a fixed coefficient helps to kickstart an experiment and outperform an expert policy. On top of that, we see that image-based augmentation have less of impact in this setting. ",
|
| 818 |
+
"bbox": [
|
| 819 |
+
140,
|
| 820 |
+
90,
|
| 821 |
+
825,
|
| 822 |
+
257
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 8
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "280 6 Discussion ",
|
| 829 |
+
"text_level": 1,
|
| 830 |
+
"bbox": [
|
| 831 |
+
148,
|
| 832 |
+
280,
|
| 833 |
+
294,
|
| 834 |
+
296
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 8
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "Many expert-driven learning approaches actually have access to an expert that can be queried; however, this opportunity is rarely exploited fully. In this work we demonstrated a general scheme for more efficient transfer of expert behavior by augmenting expert trajectory data with virtual, perturbed states as well as the expert actions in these virtual states. This data augmentation technique is widely applicable and we demonstrated that it improves data efficiency when used in place of behavioral cloning both in the offline setting or when behavioral cloning is used as a step within DAGGER or kickstarting. ",
|
| 841 |
+
"bbox": [
|
| 842 |
+
173,
|
| 843 |
+
313,
|
| 844 |
+
825,
|
| 845 |
+
410
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 8
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "Critically, data efficiency is generally very important in realistic applications, where new data acquisition cost could be high. In particular, settings involving deployment of policies in the real world, such as robotics applications, may benefit from an ability to efficiently transfer expert policy behavior from one neural network to another (for compression or execution speed reasons), or to combine behavior from multiple experts into a single neural network. While overall, we consider the present work to be fairly basic research with limited ethical impact, insofar as our approach decreases the amount of data which needs to be collected through processes which could potentially be unsafe or costly, there is a potential positive social value. ",
|
| 852 |
+
"bbox": [
|
| 853 |
+
173,
|
| 854 |
+
415,
|
| 855 |
+
825,
|
| 856 |
+
526
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 8
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"text": "The limitations of our approach consist in the reliance on the ability to query expert policy for the perturbed states which reduces the amount of applications where the method could be used. Another limitation is the reliance on the continuous state spaces. In discrete state spaces, it is unclear whether a small perturbation in state would result in a valid action from an expert. ",
|
| 863 |
+
"bbox": [
|
| 864 |
+
176,
|
| 865 |
+
532,
|
| 866 |
+
825,
|
| 867 |
+
588
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 8
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "In future work, we plan to explore how our proposed augmentation technique can be leveraged in the context of KL-regularized RL with behavior priors. ",
|
| 874 |
+
"bbox": [
|
| 875 |
+
171,
|
| 876 |
+
594,
|
| 877 |
+
820,
|
| 878 |
+
623
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 8
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"text": "References ",
|
| 885 |
+
"text_level": 1,
|
| 886 |
+
"bbox": [
|
| 887 |
+
174,
|
| 888 |
+
646,
|
| 889 |
+
266,
|
| 890 |
+
661
|
| 891 |
+
],
|
| 892 |
+
"page_idx": 8
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"type": "text",
|
| 896 |
+
"text": "Abbas Abdolmaleki, Jost Tobias Springenberg, Yuval Tassa, Remi Munos, Nicolas Heess, and Martin Riedmiller. Maximum a posteriori policy optimisation, 2018. ",
|
| 897 |
+
"bbox": [
|
| 898 |
+
171,
|
| 899 |
+
671,
|
| 900 |
+
823,
|
| 901 |
+
700
|
| 902 |
+
],
|
| 903 |
+
"page_idx": 8
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"type": "text",
|
| 907 |
+
"text": "Alexandre Galashov, Siddhant M. Jayakumar, Leonard Hasenclever, Dhruva Tirumala, Jonathan Schwarz, Guillaume Desjardins, Wojciech M. Czarnecki, Yee Whye Teh, Razvan Pascanu, and Nicolas Heess. Information asymmetry in kl-regularized rl, 2019. ",
|
| 908 |
+
"bbox": [
|
| 909 |
+
171,
|
| 910 |
+
713,
|
| 911 |
+
823,
|
| 912 |
+
756
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 8
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "Caglar Gulcehre, Ziyu Wang, Alexander Novikov, Thomas Paine, Sergio Gómez, Konrad Zolna, Rishabh Agarwal, Josh S Merel, Daniel J Mankowitz, Cosmin Paduraru, et al. Rl unplugged: A collection of benchmarks for offline reinforcement learning. Advances in Neural Information Processing Systems, 33, 2020. ",
|
| 919 |
+
"bbox": [
|
| 920 |
+
173,
|
| 921 |
+
770,
|
| 922 |
+
825,
|
| 923 |
+
825
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 8
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "Michael Laskey, Jonathan Lee, Roy Fox, Anca Dragan, and Ken Goldberg. Dart: Noise injection for robust imitation learning. In Conference on robot learning, pages 143–156. PMLR, 2017. ",
|
| 930 |
+
"bbox": [
|
| 931 |
+
160,
|
| 932 |
+
840,
|
| 933 |
+
823,
|
| 934 |
+
869
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 8
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "314 Michael Laskin, Kimin Lee, Adam Stooke, Lerrel Pinto, Pieter Abbeel, and Aravind Srinivas. Reinforcement learning with augmented data, 2020. ",
|
| 941 |
+
"bbox": [
|
| 942 |
+
147,
|
| 943 |
+
883,
|
| 944 |
+
826,
|
| 945 |
+
911
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 8
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "Josh Merel, Leonard Hasenclever, Alexandre Galashov, Arun Ahuja, Vu Pham, Greg Wayne, Yee Whye Teh, and Nicolas Heess. Neural probabilistic motor primitives for humanoid control, 2019. \nDonald Michie and Claude Sammut. Behavioural Clones and Cognitive Skill Models, page 387–395. Oxford University Press, Inc., USA, 1996. ISBN 019853860X. \nIgor Mordatch and Emo Todorov. Combining the benefits of function approximation and trajectory optimization. In Robotics: Science and Systems, volume 4, 2014. \nIgor Mordatch, Kendall Lowrey, Galen Andrew, Zoran Popovic, and Emanuel V Todorov. Interactive control of diverse complex characters with neural networks. Advances in Neural Information Processing Systems, 28:3132–3140, 2015. \nDean A Pomerleau. Alvinn: An autonomous land vehicle in a neural network. Technical report, Carnegie-Mellon, 1989. \nStephane Ross, Geoffrey J. Gordon, and J. Andrew Bagnell. A reduction of imitation learning and structured prediction to no-regret online learning, 2011. \nSimon Schmitt, Jonathan J. Hudson, Augustin Zidek, Simon Osindero, Carl Doersch, Wojciech M. Czarnecki, Joel Z. Leibo, Heinrich Kuttler, Andrew Zisserman, Karen Simonyan, and S. M. Ali Eslami. Kickstarting deep reinforcement learning, 2018. \nConnor Shorten and Taghi Khoshgoftaar. A survey on image data augmentation for deep learning. Journal of Big Data, 6, 07 2019. doi: 10.1186/s40537-019-0197-0. \nYee Whye Teh, Victor Bapst, Wojciech Marian Czarnecki, John Quan, James Kirkpatrick, Raia Hadsell, Nicolas Heess, and Razvan Pascanu. Distral: Robust multitask reinforcement learning. arXiv preprint arXiv:1707.04175, 2017. \nDhruva Tirumala, Alexandre Galashov, Hyeonwoo Noh, Leonard Hasenclever, Razvan Pascanu, Jonathan Schwarz, Guillaume Desjardins, Wojciech Marian Czarnecki, Arun Ahuja, Yee Whye Teh, et al. Behavior priors for efficient reinforcement learning. arXiv preprint arXiv:2010.14274, 2020. \nEmanuel Todorov, Tom Erez, and Yuval Tassa. Mujoco: A physics engine for model-based control. In 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, pages 5026–5033. IEEE, 2012. \nSaran Tunyasuvunakool, Alistair Muldal, Yotam Doron, Siqi Liu, Steven Bohez, Josh Merel, Tom Erez, Timothy Lillicrap, Nicolas Heess, and Yuval Tassa. dm_control: Software and tasks for continuous control. Software Impacts, 6:100022, 2020. \nDenis Yarats, Ilya Kostrikov, and Rob Fergus. Image augmentation is all you need: Regularizing deep reinforcement learning from pixels. In 9th International Conference on Learning Representations, ICLR, volume 2021, 2021. ",
|
| 952 |
+
"bbox": [
|
| 953 |
+
161,
|
| 954 |
+
93,
|
| 955 |
+
828,
|
| 956 |
+
722
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 9
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "51 7 NeuRIPS 2021 checklist ",
|
| 963 |
+
"text_level": 1,
|
| 964 |
+
"bbox": [
|
| 965 |
+
156,
|
| 966 |
+
739,
|
| 967 |
+
406,
|
| 968 |
+
756
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 9
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "text",
|
| 974 |
+
"text": "• Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? Yes, we believe that the claims in the abstract and introduction are accurately reflected by the paper’s contributions and scope. \n• Have you read the ethics review guidelines and ensured that your paper conforms to them? Yes. \n• Did you discuss any potential negative societal impacts of your work? Yes. We included this in the Discussion section. \n• Did you describe the limitations of your work? Yes, we discuss these in the \"Discussion\" section. \n• Did you state the full set of assumptions of all theoretical results Not applicable. \n• Did you include complete proofs of all theoretical results Not applicable. \n• Did you include the code, data, and instructions needed to reproduce the main experimental results ? We included complete details in the supplementary material which could be used to reproduce the experimental results. \n• Did you specify all the training details? Yes, in the main paper and supplementary material. \n• Did you report error bars? We did. For every plot we reported the mean and standard deviations averaged across a number of independent random evaluations. \n• Did you include the amount of compute and the type of resources used? Yes, we did, in the supplementary material. \n• If your work uses existing assests, did you cite the creators? Yes. We use DeepMind control suite tasks and we cite the appropriate publications. Did you mention the license of the assets? We did not explicitly mention the licence as it is clear from the reference. Did you include any new assets either in the supplementary material os as a URL? No. Did you discuss whether and how consent was obtained from people whose data you’re using / curating? Since the assets and references are in the public access, no consent was required. Did you discuss whether the data you are using / curating contains personally identifiable information or offensive content? The assets which we used did not include any personally identifiable information nor offensive content. \n• Did you include the full text of instructions given to participants and screenshots, if applicable? Not applicable. \nDid you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable Not applicable. \n• Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? Not applicable. ",
|
| 975 |
+
"bbox": [
|
| 976 |
+
215,
|
| 977 |
+
767,
|
| 978 |
+
826,
|
| 979 |
+
912
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 9
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"text": "",
|
| 986 |
+
"bbox": [
|
| 987 |
+
214,
|
| 988 |
+
84,
|
| 989 |
+
826,
|
| 990 |
+
746
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 10
|
| 993 |
+
}
|
| 994 |
+
]
|
parse/train/MdZPf3qCF7s/MdZPf3qCF7s_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/MdZPf3qCF7s/MdZPf3qCF7s_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/POWv6hDd9XH/POWv6hDd9XH.md
ADDED
|
@@ -0,0 +1,415 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# BRECQ: PUSHING THE LIMIT OF POST-TRAININGQUANTIZATION BY BLOCK RECONSTRUCTION
|
| 2 |
+
|
| 3 |
+
Yuhang $\mathbf { L i } ^ { 1 2 } \hat { \mathbf { \Omega } }$ ∗, Ruihao $\mathbf { G o n g ^ { 2 * } }$ , $\mathbf { X } \mathbf { u } \ \mathbf { T a n } ^ { 2 }$ , Yang Yang2, Peng $\mathbf { H } \mathbf { u } ^ { 2 }$ , Qi Zhang2, Fengwei $\mathbf { Y } \mathbf { u } ^ { 2 }$ , Wei Wang, Shi $\mathbf { G u } ^ { \bar { 1 } \boxtimes }$ 1University of Electronic Science and Technology of China, 2SenseTime Research liyuhang699@gmail.com, gongruihao@sensetime.com, gus@uestc.edu.cn
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
We study the challenging task of neural network quantization without end-toend retraining, called Post-training Quantization (PTQ). PTQ usually requires a small subset of training data but produces less powerful quantized models than Quantization-Aware Training (QAT). In this work, we propose a novel PTQ framework, dubbed BRECQ, which pushes the limits of bitwidth in PTQ down to INT2 for the first time. BRECQ leverages the basic building blocks in neural networks and reconstructs them one-by-one. In a comprehensive theoretical study of the second-order error, we show that BRECQ achieves a good balance between crosslayer dependency and generalization error. To further employ the power of quantization, the mixed precision technique is incorporated in our framework by approximating the inter-layer and intra-layer sensitivity. Extensive experiments on various handcrafted and searched neural architectures are conducted for both image classification and object detection tasks. And for the first time we prove that, without bells and whistles, PTQ can attain 4-bit ResNet and MobileNetV2 comparable with QAT and enjoy $2 4 0 \times$ faster production of quantized models. Codes are available at https://github.com/yhhhli/BRECQ.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
The past decade has witnessed the rapid development of deep learning in many tasks, such as computer vision, autonomous driving, etc. However, the issue of huge computation cost and memory footprint requirements in deep learning has received considerable attention. Some works such as neural architecture search (Zoph & Le, 2016) try to design and search a tiny network, while others, like quantization (Hubara et al., 2017), and network pruning (Han et al., 2015) are designed to compress and accelerate off-the-shelf well-trained redundant networks.
|
| 12 |
+
|
| 13 |
+
Many popular quantization and network pruning methods follow a simple pipeline: training the original model and then finetune the quantized/pruned model. However, this pipeline requires a full training dataset and many computation resources to perform end-to-end backpropagation, which will greatly delay the production cycle of compressed models. Besides, not all training data are always ready-to-use considering the privacy problem. Therefore, there is more demand in industry for quantizing the neural networks without retraining, which is called Post-training Quantization. Although PTQ is fast and light, it suffers from severe accuracy degeneration when the quantization precision is low. For example, DFQ (Nagel et al., 2019) can quantize ResNet-18 to 8-bit without accuracy loss $6 9 . 7 \%$ top-1 accuracy) but in 4-bit quantization, it can only achieve $39 \%$ top-1 accuracy. The primary reason is the approximation in the parameter space is not equivalent to the approximation in model space thus we cannot assure the optimal minimization on the final task loss.
|
| 14 |
+
|
| 15 |
+
Recent works like (Nagel et al., 2020) recognized the problem and analyzed the loss degradation by Taylor series expansion. Analysis of the second-order error term indicates we can reconstruct each layer output to approximate the task loss degeneration. However, their work cannot further quantize the weights into INT2 because the cross-layer dependency in the Hessian matrix cannot be ignored when the perturbation on weight is not small enough. In this work, we analyze the second-order error based on the Gauss-Newton matrix. We show that the second-order error can be transformed into network final outputs but suffer from bad generalization. To achieve the best tradeoff, we adopt an intermediate choice, block reconstruction. In addition, our contributions are threefold:
|
| 16 |
+
|
| 17 |
+
1. Based on the second-order analysis, we define a set of reconstruction units and show that block reconstruction is the best choice with the support from theoretical and empirical evidence. We also use Fisher Information Matrix to assign each pre-activation with an importance measure during reconstruction.
|
| 18 |
+
2. We incorporate genetic algorithm and the well-defined intra-block sensitivity measure to generate latency and size guaranteed mixed precision quantized neural networks, which fulfills a general improvement on both specialized hardware (FPGA) and general hardware (ARM CPU).
|
| 19 |
+
3. We conduct extensive experiments to verify our proposed methods. We find that our method is applicable to a large variety of tasks and models. Moreover, we show that post-training quantization can quantize weights to INT2 without significant accuracy loss for the first time.
|
| 20 |
+
|
| 21 |
+
# 2 PRELIMINARIES
|
| 22 |
+
|
| 23 |
+
Notations Vectors are denoted by small bold letters and matrices (or tensors) are denoted by capital bold letters. For instance, $\mathbf { W }$ and w represent the weight tensor and its flattened version. Bar accent denotes the expectation over data points, e.g. a¯. Bracketed superscript $\mathbf { w } ^ { ( \ell ) }$ indicates the layer index. For a convolutional or a fully-connected layer, we mark its input and output vectors by $\mathbf { X }$ and $\mathbf { z }$ . Thus given a feedforward neural network with $n$ layers, we can denote the forward process by
|
| 24 |
+
|
| 25 |
+
$$
|
| 26 |
+
\begin{array} { r } { \mathbf { x } ^ { ( \ell + 1 ) } = h ( \mathbf { z } ^ { ( \ell ) } ) = h ( \mathbf { W } ^ { ( \ell ) } \mathbf { x } ^ { ( \ell ) } + \mathbf { b } ^ { ( \ell ) } ) , ~ 1 \leq \ell \leq n , } \end{array}
|
| 27 |
+
$$
|
| 28 |
+
|
| 29 |
+
where $h ( \cdot )$ indicates the activation function (ReLU in this paper). For simplicity, we omit the analysis of bias $\mathbf { b } ^ { ( \ell ) }$ as it can be merged into activation. $| | \cdot | | _ { F }$ denotes the Frobenius norm.
|
| 30 |
+
|
| 31 |
+
Quantization Background Uniform symmetric quantization maps the floating-point numbers to several fixed-points. These points (or grids) have the same interval and are symmetrically distributed. We denote the set that contains these grids as $\mathcal { Q } _ { b } ^ { \mathrm { u , s y m } } = s \times \{ - 2 ^ { b - 1 } , \ldots , \mathsf { \bar { 0 } } , \ldots , 2 ^ { b - 1 } - 1 \}$ . Here, $q ( \cdot ) : \mathcal { R } \to \mathcal { Q } _ { b } ^ { \mathrm { u , s y } \mathrm { \hat { m } } }$ $s$ is the step size between two grids and , is generally designed to minimize the quantization error: $b$ is the bit-width. Quantization function, denoted by
|
| 32 |
+
|
| 33 |
+
$$
|
| 34 |
+
\operatorname* { m i n } | | \hat { \mathbf { w } } - \mathbf { w } | | _ { F } ^ { 2 } . \mathrm { ~ s . t . ~ } \hat { \mathbf { w } } \in \mathcal { Q } _ { b } ^ { \mathrm { u , s y m } }
|
| 35 |
+
$$
|
| 36 |
+
|
| 37 |
+
Solving this minimization problem, one can easily get the $q ( \cdot )$ by leveraging the rounding-to-nearest operation $\lfloor \cdot \rceil$ . Rounding-to-nearest is a prevalent method to perform quantization, e.g. PACT (Choi et al., 2018). However, recently some empirical or theoretical evidence supports that simply minimizing the quantization error in parameter space does not bring optimal task performances. Specifically, Esser et al. (2020) propose to learn the step size $s$ by gradient descent in quantization-aware training (QAT). LAPQ (Nahshan et al., 2019) finds the optimal step size when the loss function is minimized without re-training the weights. Their motivations are all towards minimizing a final objective, which is the task loss, i.e.,
|
| 38 |
+
|
| 39 |
+
$$
|
| 40 |
+
\operatorname* { m i n } \mathbb { E } [ L ( \hat { \mathbf { w } } ) ] , \mathrm { s . t . } \hat { \mathbf { w } } \in \mathcal { Q } _ { b } ^ { \mathsf { u , s y m } } .
|
| 41 |
+
$$
|
| 42 |
+
|
| 43 |
+
While this optimization objective is simple and can be well-optimized in QAT scenarios, it is not easy to learn the quantized weight without end-to-end finetuning as well as sufficient training data and computing resources. In post-training quantization settings, we only have full precision weights that $\mathbf { w } ^ { \star } = \arg \operatorname* { m i n } _ { \mathbf { w } } \mathbb { E } [ L ( \mathbf { w } ) ]$ where $\mathbf { w } \in \mathcal { R }$ and a small subset of training data to do calibration.
|
| 44 |
+
|
| 45 |
+
Taylor Expansion It turns out that the quantization imposed on weights could be viewed as a special case of weight perturbation. To quantitatively analyze the loss degradation caused by quantization, Nagel et al. (2020) use Taylor series expansions and approximates the loss degradation by
|
| 46 |
+
|
| 47 |
+
$$
|
| 48 |
+
\mathbb { E } [ L ( \mathbf { w } + \Delta \mathbf { w } ) ] - \mathbb { E } [ L ( \mathbf { w } ) ] \approx \Delta \mathbf { w } ^ { \mathsf { T } } \bar { \mathbf { g } } ^ { ( \mathbf { w } ) } + \frac { 1 } { 2 } \Delta \mathbf { w } ^ { \mathsf { T } } \bar { \mathbf { H } } ^ { ( \mathbf { w } ) } \Delta \mathbf { w } ,
|
| 49 |
+
$$
|
| 50 |
+
|
| 51 |
+
where $\bar { \bf g } ^ { ( \mathbf { w } ) } = \mathbb { E } [ \nabla _ { \mathbf { w } } L ]$ and $\bar { \bf H } ^ { ( \bf w ) } = \mathbb { E } [ \nabla _ { \bf w } ^ { 2 } L ]$ are the gradients and the Hessian matrix and $\Delta \mathbf { w }$ is the weight perturbation. Given the pre-trained model is converged to a minimum, the gradients can be safely thought to be close to 0. However, optimizing with the large-scale full Hessian is memoryinfeasible on many devices as the full Hessian requires terabytes of memory space. To tackle this problem, they make two assumptions:
|
| 52 |
+
|
| 53 |
+
1. Layers are mutual-independent, thus the Hessian is in the form of layer-diagonal1 and Kroneckerfactored, i.e., $\bar { \mathbf { H } } ^ { ( \mathbf { w } ^ { ( \ell ) } ) } = \mathbb { E } [ \mathbf { x } ^ { ( \ell ) } \mathbf { x } ^ { ( \ell ) , \top } \otimes \mathbf { H } ^ { ( \mathbf { z } ^ { ( \ell ) } ) } ]$ , where $\otimes$ is the Kronecker product.
|
| 54 |
+
|
| 55 |
+
2. The second-order derivatives of pre-activations are constant diagonal matrix $( \mathbf { H } ^ { ( \mathbf { z } ^ { ( \ell ) } ) } = c \times \mathbf { I } )$ which is independent of input data points.
|
| 56 |
+
|
| 57 |
+
At last, the objective is transformed into a practical proxy signal, the change in feature-maps $( \mathbf { z } = \mathbf { W } \mathbf { x } ,$ ), and the quantized model can be obtained by a layer-by-layer feature map reconstruction algorithm (with few calibration images). Recent works, like Bit-Split (Wang et al., 2020) and AdaQuant (Hubara et al., 2020), also take this layer-wise objective to improve the post-training quantization. However, they failed to quantize weights to INT2. We think the inherent reason is that when $\Delta \mathbf { w }$ grows higher, the former assumptions do not hold and an accurate signal is required.
|
| 58 |
+
|
| 59 |
+
# 3 PROPOSED METHOD
|
| 60 |
+
|
| 61 |
+
# 3.1 CROSS-LAYER DEPENDENCY
|
| 62 |
+
|
| 63 |
+
Denote the neural network output $\mathbf { z } ^ { ( n ) } = f ( \theta )$ , the loss function can be represented by $L ( f ( \theta ) )$ where $\boldsymbol { \theta } = \operatorname { v e c } [ \mathbf { w } ^ { ( 1 ) , \top } , \dots , \mathbf { w } ^ { ( n ) , \top } ] ^ { \top }$ is the stacked vector of weights in all $n$ layers. The Hessian matrix can be computed by
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
\frac { \partial ^ { 2 } L } { \partial \theta _ { i } \partial \theta _ { j } } = \frac { \partial } { \partial \theta _ { j } } \left( \sum _ { k = 1 } ^ { m } \frac { \partial L } { \partial \mathbf { z } _ { k } ^ { ( n ) } } \frac { \partial \mathbf { z } _ { k } ^ { ( n ) } } { \partial \theta _ { i } } \right) = \sum _ { k = 1 } ^ { m } \frac { \partial L } { \partial \mathbf { z } _ { k } ^ { ( n ) } } \frac { \partial ^ { 2 } \mathbf { z } _ { k } ^ { ( n ) } } { \partial \theta _ { i } \partial \theta _ { j } } + \sum _ { k , l = 1 } ^ { m } \frac { \partial \mathbf { z } _ { k } ^ { ( n ) } } { \partial \theta _ { i } } \frac { \partial ^ { 2 } L } { \partial \mathbf { z } _ { k } ^ { ( n ) } \partial \mathbf { z } _ { l } ^ { ( n ) } } \frac { \partial \mathbf { z } _ { l } ^ { ( n ) } } { \partial \theta _ { j } } ,
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
where $\mathbf { z } ^ { ( n ) } \in \mathcal { R } ^ { m }$ . Since the pretrained full precision model is converged to a local minimum, we can assume the Hessian is positive-semidefinite (PSD). Specifically, the converged model has $\nabla _ { \mathbf { z } ^ { ( n ) } } L$ close to 0 so the first term in Eq. (5) is neglected and Hessian becomes the Gauss-Newton (GN) matrix $\mathbf { G } ^ { ( \theta ) }$ . GN matrix can be written in matrix form (Botev et al., 2017) as
|
| 70 |
+
|
| 71 |
+
$$
|
| 72 |
+
{ \bf H } ^ { ( \theta ) } \approx { \bf G } ^ { ( \theta ) } = { \bf J } _ { { \bf z } ^ { ( n ) } } ( \theta ) ^ { \top } { \bf H } ^ { ( { \bf z } ^ { ( n ) } ) } { \bf J } _ { { \bf z } ^ { ( n ) } } ( \theta ) ,
|
| 73 |
+
$$
|
| 74 |
+
|
| 75 |
+
where $\mathbf { J } _ { \mathbf { z } ^ { ( n ) } } ( \theta )$ is the Jacobian matrix of the network output with respect to the network parameters. However, in practice, we cannot explicitly compute and store the Jacobian for each input data point in such a raw form. To reduce the computation and memory budget, we will transform the secondorder error into the network output, as shown in the following theorem.
|
| 76 |
+
|
| 77 |
+
Theorem 3.1. Consider an $n$ -layer feedforward neural network with ReLU activation function. Assuming all weights are quantized, the second-order error optimization can be transformed by:
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
\underset { \hat { \theta } } { \arg \operatorname* { m i n } } \Delta \theta ^ { \mathsf { T } } \bar { \mathbf { H } } ^ { ( \theta ) } \Delta \theta \approx \underset { \hat { \theta } } { \arg \operatorname* { m i n } } \mathbb { E } \left[ \Delta \mathbf { z } ^ { ( n ) , \mathsf { T } } \mathbf { H } ^ { ( \mathbf { z } ^ { ( n ) } ) } \Delta \mathbf { z } ^ { ( n ) } \right] .
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
Remark 3.1. The same transformation is also applicable for activation quantization. The quadratic loss is defined as $\mathbb { E } [ \Delta \gamma ^ { \mathsf { T } } \mathbf { H } ^ { ( \gamma ) } \Delta \gamma ]$ where $\Delta \gamma = \mathrm { v e c } [ \Delta \mathbf { x } ^ { ( 1 ) , \top } , \allowbreak . . . , \Delta \mathbf { x } ^ { ( n ) , \top } ] ^ { \top }$ .
|
| 84 |
+
|
| 85 |
+
We prove the theorem using the quadratic form, details can be found in Appendix A.1. Here we provide a sketch of the proof by matrix form. The product of perturbation and Jacobian can be thought as the first-order Taylor approximation of the change in network output $\Delta \mathbf { z } ^ { ( n ) }$ :
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\Delta \mathbf { z } ^ { ( n ) } = \hat { \mathbf { z } } ^ { ( n ) } - \mathbf { z } ^ { ( n ) } \approx \mathbf { J } _ { \mathbf { z } ^ { ( n ) } } ( \theta ) \Delta \theta .
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
Therefore, combining Eq. (8) and Eq. (6) we can transform the large-scale second-order error into the change in network outputs characterized by the output Hessian $\mathbf { \bar { H } } ^ { ( \mathbf { z } ^ { ( n ) } ) }$ . The theorem indicates a simple observation, suppose a well-trained teacher model and an initialized student model, we can minimize their discrepancy by reconstructing the network’s final output $\mathbf { z } ^ { ( n ) }$ , which coincides with and generalizes the distillation (Hinton et al., 2015; Polino et al., 2018). LAPQ (Nahshan et al., 2019) also considers the dependency but their optimization does not rely on second-order information. However, we should emphasize that distillation requires the same computation and data resources as in normal training procedure, which is impractical for PTQ with limited data.
|
| 92 |
+
|
| 93 |
+

|
| 94 |
+
|
| 95 |
+

|
| 96 |
+
|
| 97 |
+
(a) A typical structure of CNN (taken from Radosavovic et al. (2020)). Network is composed of a stem layer (first convolution on input images), a body and a head layer (average pooling with a fully connected layer). A body contains several stages, and a stage contains several blocks. A representative block is the bottleneck block with residual path.
|
| 98 |
+
|
| 99 |
+
(b) An example illustration of Hessian (or Fisher) matrix. Blue sub-block means the layer-diagonal and each layer are mutualindependent; orange sub-block consider the dependency inside a building block and green parts measure all dependencies.
|
| 100 |
+
|
| 101 |
+
Figure 1: We define 4 kinds of reconstruction granularity, namely net-wise, stage-wise, block-wise and layerwise optimization, each of them corresponds an essential component of CNN.
|
| 102 |
+
|
| 103 |
+
# 3.2 BLOCK RECONSTRUCTION
|
| 104 |
+
|
| 105 |
+
Although the network output reconstruction has an accurate estimation of the second-order error, we find in practice it is worse than the layer-by-layer reconstruction in PTQ. The primary reason for this is optimizing the whole networks over 1024 calibration data samples leads to over-fitting easily. As Jakubovitz et al. (2019) explained, the networks can have perfect expressivity when the number of parameters exceeds the number of data samples during training, but lower training error does not ensure lower test error. We find layer-wise reconstruction acts like a regularizer which reduces the generalization error by matching each layer’s output distribution. In other words, both layer-wise and network-wise output reconstruction has their own drawbacks. And there should be a better bias-variance trade-off choice to conduct reconstruction at an intermediate granularity.
|
| 106 |
+
|
| 107 |
+
The layer-wise optimization corresponds to layer-diagonal Hessian (Fig. 1b blue parts) and the network-wise optimization corresponds to full Hessian (Fig. 1b green parts). Similarly, we can define an intermediate block-diagonal Hessian. Formally, if layer $k$ to layer $\ell$ (where $1 \leq k < \ell \leq n$ ) form a block, the weight vector is defined as $\tilde { \theta } = \sec [ \mathbf { w } ^ { ( k ) , \top } , \dots , \mathbf { w } ^ { ( \ell ) , \top } ] ^ { \top }$ and the Hessian can be also transformed by $\Delta \tilde { { \boldsymbol { \theta } } } ^ { \mathsf { T } } \bar { \mathbf { H } } ^ { ( \tilde { \theta } ) } \Delta \tilde { { \boldsymbol { \theta } } } = \mathbb { E } [ \Delta \mathbf { z } ^ { ( \ell ) , \mathsf { T } } \mathbf { H } ^ { ( \mathbf { z } ^ { ( \ell ) } ) } \Delta \mathbf { z } ^ { ( \ell ) } ]$ . Such block-diagonal Hessian ignores the inter-block dependency and considers the intra-block dependency but it produces less generalization error. Then we can block-by-block reconstruct the intermediate output.
|
| 108 |
+
|
| 109 |
+
To this end, we define 2 extra kinds of intermediate reconstruction granularity: Stage-wise reconstruction and Block-wise reconstruction. These 4 reconstruction granularities are described below:
|
| 110 |
+
|
| 111 |
+
1. Layer-wise Reconstruction: Assume the Hessian matrix is layer-diagonal and optimize the layer output one-by-one. It does not consider cross-layer dependency and resemble existing methods (Nagel et al., 2020; Hubara et al., 2020; Wang et al., 2020).
|
| 112 |
+
2. Block-wise Reconstruction: A block is the core component in modern CNN, such as the Residual Bottleneck Block as shown in Fig. 1a. This method assumes the Hessian matrix is blockdiagonal and block-by-block perform reconstruction, which ignores inter-block dependencies.
|
| 113 |
+
3. Stage-wise Reconstruction: A stage is where the featuremaps will be downsampled and generate more channels, which is believed to produce higher-level features. Typical CNN in ImageNet dataset contains 4 or 5 different stages. This method simultaneously optimizes all layers within a stage and thus considers more dependencies than the block-wise method.
|
| 114 |
+
4. Network-wise Reconstruction: Optimize the whole quantized network by reconstructing the output of the final layers. This method resembles distillation but does not result in good performances with few images because of high generalization error.
|
| 115 |
+
|
| 116 |
+
The relationship between network, stage, block, and layer is illustrated in Fig. 1a. We test these 4 kinds of reconstruction granularity and find that block-wise optimization outperforms others. We think this is because the main off-diagonal loss in the Hessian is concentrated in each block, as Fig. 1b orange part illustrated, while the inter-block loss is small and can be ignored in the opti
|
| 117 |
+
|
| 118 |
+
# Algorithm 1: BRECQ optimization
|
| 119 |
+
|
| 120 |
+
Input: Pretrained FP model; Calibration dataset, iteration $T$ for all $i = 1 , 2 , \dots , N$ -th block in the FP model do
|
| 121 |
+
|
| 122 |
+
Collect input data to the block $\mathbf { x } ^ { ( i ) }$ , the FP output $\mathbf { z } ^ { ( i ) }$ and its gradient $\mathbf { g } ^ { ( \mathbf { z } ^ { ( i ) } ) }$ ;
|
| 123 |
+
for all $j = 1 , 2 , \dots , T$ -iteration do Get quantized output $\hat { \mathbf { z } } ^ { ( i ) }$ and compute $\Delta \mathbf { z } ^ { ( i ) } = \mathbf { z } ^ { ( i ) } - \hat { \mathbf { z } } ^ { ( i ) }$ ; Descend Eq. (10) and update the rounding of all the weights in this block (Eq. (16)); if Activation Quantization is triggered then Update the activation quantization step size (Eq. (18)).
|
| 124 |
+
|
| 125 |
+
After optimization, compute the sensitivity for each layer and between layers (2-bit only);
|
| 126 |
+
|
| 127 |
+
return Quantized model, Sensitivities for mixed precision;
|
| 128 |
+
|
| 129 |
+
mization. The shortcut connections, which is proposed in (He et al., 2016), may also increase the dependencies within a block. Also, the stage-wise or net-wise optimization suffer from the bad generalization on the validation set and degenerate the final performances. We report the quantitative comparison in Sec. 4.1. We name our algorithm BRECQ, because we choose block as our base reconstruction unit. It is necessary to point out that our analysis does not give the optimal configuration of the reconstruction granularity. The choice of block-wise optimization comes from our experiments and we find this choice has two merits. (1) No hyper-parameters included and (2) applicable for all models and all tasks we tested.
|
| 130 |
+
|
| 131 |
+
# 3.3 APPROXIMATING PRE-ACTIVATION HESSIAN
|
| 132 |
+
|
| 133 |
+
With block-diagonal approximated Hessian matrix, we can measure the cross-layer dependency inside each block and transform any block’s second-order error to the output of this block $\mathbb { E } [ \Delta \mathbf { z } ^ { ( \ell ) , \mathsf { T } } \mathbf { H } ^ { ( \mathbf { z } ^ { ( \ell ) } ) } \Delta \mathbf { z } ^ { ( \ell ) } ]$ . This objective requires the further computation of the knowledge in the rest of the network, i.e., pre-activation Hessian $\mathbf { H } ^ { ( \mathbf { z } ^ { ( \ell ) } ) }$ . One way is to follow Nagel et al. (2020) and assume $\mathbf { H } ^ { ( \mathbf { z } ^ { ( \ell ) } ) } = c \times \mathbf { I }$ . Therefore the quadratic loss becomes $| | \Delta \mathbf { z } ^ { ( \ell ) } | | ^ { 2 }$ . This method might be easy to implement but lose too much information.
|
| 134 |
+
|
| 135 |
+
We use the diagonal Fisher Information Matrix (FIM) to replace the pre-activation Hessian. Formally, given a probabilistic model $p ( x | \theta )$ , the FIM is defined as:
|
| 136 |
+
|
| 137 |
+
$$
|
| 138 |
+
\bar { \mathbf { F } } ^ { ( \theta ) } = \mathbb { E } \left[ \nabla _ { \theta } \log p _ { \theta } ( y | x ) \nabla _ { \theta } \log p _ { \theta } ( y | x ) ^ { \top } \right] = - \mathbb { E } \left[ \nabla _ { \theta } ^ { 2 } \log p _ { \theta } ( y | x ) \right] = - \bar { \mathbf { H } } _ { \log p ( x | \theta ) } ^ { ( \theta ) } .
|
| 139 |
+
$$
|
| 140 |
+
|
| 141 |
+
The FIM is equal to the negative expected Hessian of the log-likelihood function, therefore, a simple corollary is that the Hessian of task loss will become FIM if the model distribution matches the true data distribution (LeCun et al., 2012). Although matching true data distribution seems impossible, this is the best we can do since the pretrained model is converged.
|
| 142 |
+
|
| 143 |
+
The diagonal of the pre-activation FIM is equal to the squared gradients of each elements, which is successfully used in Adam (Kingma & Ba, 2014) for the second momentum. The optimization objective becomes
|
| 144 |
+
|
| 145 |
+
$$
|
| 146 |
+
\operatorname* { m i n } _ { \hat { \mathbf { w } } } \mathbb { E } \left[ \Delta \mathbf { z } ^ { ( \ell ) , \top } \mathbf { H } ^ { ( \mathbf { z } ^ { ( \ell ) } ) } \Delta \mathbf { z } ^ { ( \ell ) } \right] = \operatorname* { m i n } _ { \hat { \mathbf { w } } } \mathbb { E } \left[ \Delta \mathbf { z } ^ { ( \ell ) , \top } \mathrm { d i a g } \left( ( \frac { \partial L } { \partial \mathbf { z } _ { 1 } ^ { ( \ell ) } } ) ^ { 2 } , \dots , ( \frac { \partial L } { \partial \mathbf { z } _ { a } ^ { ( \ell ) } } ) ^ { 2 } \right) \Delta \mathbf { z } ^ { ( \ell ) } \right] .
|
| 147 |
+
$$
|
| 148 |
+
|
| 149 |
+
Compared with the MSE minimization, the above minimization incorporates the squared gradient information. If the output has higher absolute gradients, it will receive more attention when being reconstructed. A similar method for pruning the pre-activation has been proposed in Theis et al. (2018).
|
| 150 |
+
|
| 151 |
+
Note that BRECQ is compatible with any optimization method, like STE (Hubara et al., 2017). Here we adopt adaptive rounding (Nagel et al., 2020) for weights and learned step size (Esser et al., 2020) for activation step size because we observe they generally perform better in PTQ, see details in Appendix B.4.1. We formulate the overall calibration algorithm for a unified precision model in algorithm 1. We should emphasize that we only need a small subset (1024 in our experiments) of the whole training dataset to calibrate the quantized model. And we can obtain a quantized ResNet-18 within 20 minutes on a single GTX 1080TI GPU.
|
| 152 |
+
|
| 153 |
+
# 3.4 MIXED PRECISION
|
| 154 |
+
|
| 155 |
+
To further push the limit of post-training quantization, we employ mixed precision techniques, which can be formulated by
|
| 156 |
+
|
| 157 |
+
$$
|
| 158 |
+
\operatorname* { m i n } _ { \mathbf { c } } L ( \hat { \mathbf { w } } , \mathbf { c } ) , \ \mathrm { s . t . } \ H ( \mathbf { c } ) \leq \delta , \ \mathbf { c } \in \{ 2 , 4 , 8 \} ^ { n } .
|
| 159 |
+
$$
|
| 160 |
+
|
| 161 |
+
Here, c is the bit-width vector with the shape of number of layers. $H ( \cdot )$ is a hardware performance measurement function, which is used to ensure the mixed precision model has the same or lower hardware performance (e.g., memory and speed) than a predefined threshold $\delta$ . We choose 2, 4, 8-bit for mixed precision because they are most common in practical deployment.
|
| 162 |
+
|
| 163 |
+
Regarding the training loss $L$ , we find that nearly all existing literature (Cai et al., 2020; Hubara et al., 2020; Dong et al., 2019) uses layer-wise measurement. They all assume the sensitivity within a layer is independent and can be summed together. Therefore, the mixed precision problem becomes an integer programming problem. However, we argue that the loss measurement should contain two parts: diagonal loss and off-diagonal loss, the first is the same with previous works and measure the sensitivity of each layer independently, while the off-diagonal loss is used to measure the cross-layer sensitivity. Theoretically, we should examine all permutations, which results in $3 ^ { n }$ possibilities and prohibits the search algorithm. Our first attempt is to reduce the off-diagonal loss into the blocklevel as we mentioned that the Hessian can be approximated to a block-diagonal matrix. Granted, we still find the search space is large, for example, if a block has four layers, then we have to consider the $3 ^ { 4 } ~ = ~ 8 1$ permutations for a single block. Based on our preliminary experiments, we find that 4-bit and 8-bit quantization nearly do not drop the final accuracy. Hence we only take 2-bit permutations into consideration and drastically reduce the search space. We use genetic algorithm (Guo et al., 2020) to search the optimal bitwidth configuration with hardware performance threshold, the algorithm is located in algorithm 2. Due to space limits, we put related works in Appendix 5. Readers can refer to related works for a brief discussion on quantization and secondorder analysis.
|
| 164 |
+
|
| 165 |
+
# 4 EXPERIMENTS
|
| 166 |
+
|
| 167 |
+
In this section, we report experimental results for the ImageNet classification task and MS COCO object detection task. The detailed implementation of the experiments can be found in the Appendix B.4.4. The rest of this section will contain ablation study on reconstruction granularity, classification and detection results, mixed precision results and comparison with quantization-aware training. In Appendix B, we conduct more experiments, including the impact of the first and the last layer, the impact of calibration dataset size and data source.
|
| 168 |
+
|
| 169 |
+
# 4.1 ABLATION STUDY
|
| 170 |
+
|
| 171 |
+
We test four kinds of reconstruction granularity: Net-wise, Stage-wise, Block-wise, and Layer-wise reconstruction. We conduct ImageNet experiments using MobileNetV2 and ResNet-18 with 2- bit weight quantization for all layers except for the first and the last layer. It can be seen from Table 1 that Block-wise optimization outperforms other methods. This result implies that the generalization error in net-wise and stage-wise optimization outweighs their off-diagonal loss. In ResNet
|
| 172 |
+
|
| 173 |
+
Table 1: Ablation study.
|
| 174 |
+
|
| 175 |
+
<table><tr><td>Model</td><td>Layer</td><td>Block</td><td>Stage</td><td>Net</td></tr><tr><td>ResNet-18</td><td>65.19</td><td>66.39</td><td>66.01</td><td>54.15</td></tr><tr><td>MobileNetV2</td><td>52.13</td><td>59.67</td><td>54.23</td><td>40.76</td></tr></table>
|
| 176 |
+
|
| 177 |
+
18, we find the difference is not significant, this can be potentially attributed to that ResNet-18 only has 19 layers in the body and the block size, as well as the stage size, is small, therefore leading to indistinct results.
|
| 178 |
+
|
| 179 |
+
# 4.2 IMAGENET
|
| 180 |
+
|
| 181 |
+
We conduct experiments on a variety of modern deep learning architectures, including ResNet (He et al., 2016) with normal convolution, MobileNetV2 (Sandler et al., 2018) with depthwise separable convolution and RegNet (Radosavovic et al., 2020) with group convolution. Last but not least important, we also investigate the neural architecture searched (NAS) models, MNasNet (Tan et al., 2019). In Table 2, we only quantize weights into low-bit integers and keep activations full precision. We compare with strong baselines including Bias Correction, optimal MSE, AdaRound, AdaQuant, and Bit-split. Note that the first and the last layer are kept with 8-bit. While most of the existing methods have good performances in 4-bit quantization, they cannot successfully quantize the model into 2-bit. Our method consistently achieves the lowest accuracy degradation for ResNets (within $5 \%$ ) and other compact models. We further quantize activations into 4-bit to make the quantized model run on integer-arithmetic hardware platforms. We find that 4-bit activation quantization can have a huge impact on RegNet and MobileNet. Nonetheless, our methods produce higher performance than other state-of-the-arts. To be noted, BRECQ is the first to promote the 2W4A accuracy of PTQ to a usable level while all other existing methods crashed.
|
| 182 |
+
|
| 183 |
+
Table 2: Accuracy comparison on weight-only quantized post-training models. Activations here are unquantized and kept full precision. We also conduct variance study for our experiments. Bold values indicates best results. \* indicates our implementation based on open-source codes.
|
| 184 |
+
|
| 185 |
+
<table><tr><td>Methods</td><td>Bits (W/A)</td><td>ResNet-18</td><td>ResNet-50</td><td>MobileNetV2</td><td>RegNet-600MF</td><td>RegNet-3.2GF</td><td>MnasNet-2.0</td></tr><tr><td>Full Prec.</td><td>32/32</td><td>71.08</td><td>77.00</td><td>72.49</td><td>73.71</td><td>78.36</td><td>76.68</td></tr><tr><td>Bias Correction*</td><td>4/32</td><td>50.43</td><td>64.64</td><td>62.82</td><td>67.09</td><td>71.73</td><td>72.31</td></tr><tr><td>OMSE (Choukroun et al.,2019)</td><td>4/32</td><td>67.12</td><td>74.67</td><td>-</td><td></td><td>-</td><td>-</td></tr><tr><td>AdaRound (Nagel et al.,2020)</td><td>4/32</td><td>68.71</td><td>75.23</td><td>69.78</td><td>71.97*</td><td>77.12*</td><td>74.87*</td></tr><tr><td>AdaQuant (Hubara et al., 2020)</td><td>4/32</td><td>68.82</td><td>75.22</td><td>44.78</td><td></td><td></td><td></td></tr><tr><td>Bit-Split (Wang et al.,2020)</td><td>4/32</td><td>69.11</td><td>75.58</td><td>=</td><td>=</td><td>=</td><td>=</td></tr><tr><td>BRECQ (Ours)</td><td>4/32</td><td>70.70±0.07</td><td>76.29±0.04</td><td>71.66±0.04</td><td>73.02±0.09</td><td>78.04±0.04</td><td>76.00±0.02</td></tr><tr><td>Bias Correction*</td><td>3/32</td><td>12.85</td><td>7.97</td><td>10.89</td><td>28.82</td><td>17.95</td><td>40.72</td></tr><tr><td>AdaRound (Nagel et al., 2020)*</td><td>3/32</td><td>68.07</td><td>73.42</td><td>64.33</td><td>67.71</td><td>72.31</td><td>69.33</td></tr><tr><td>AdaQuant (Hubara et al.,2020)*</td><td>3/32</td><td>58.12</td><td>67.61</td><td>12.56</td><td>=</td><td></td><td>=</td></tr><tr><td>Bit-Split (Wang et al., 2020)</td><td>3/32</td><td>66.75</td><td>73.24</td><td>-</td><td>=</td><td>=</td><td></td></tr><tr><td>BRECQ (Ours)</td><td>3/32</td><td>69.81±0.05</td><td>75.61±0.09</td><td>69.50±0.12</td><td>71.48±0.07</td><td>77.22±0.04</td><td>74.58±0.08</td></tr><tr><td>Bias Correction*</td><td>2/32</td><td>0.13</td><td>0.12</td><td>0.14</td><td>0.18</td><td>0.11</td><td>0.11</td></tr><tr><td>AdaRound (Nagel etal., 2020)*</td><td>2/32</td><td>55.96</td><td>47.95</td><td>32.54</td><td>25.66</td><td>24.70</td><td>30.60</td></tr><tr><td>AdaQuant (Hubara et al.,2020)*</td><td>2/32</td><td>0.30</td><td>0.49</td><td>0.11</td><td>=</td><td>=</td><td>=</td></tr><tr><td>BRECQ (Ours)</td><td>2/32</td><td>66.30±0.12</td><td>72.40±0.12</td><td>59.67±0.13</td><td>65.83±0.13</td><td>73.88±0.14</td><td>67.13±0.13</td></tr></table>
|
| 186 |
+
|
| 187 |
+
Table 3: Accuracy comparison on fully quantized post-training models. Activations here are quantized to 4-bit. Notations follows the upper table.
|
| 188 |
+
|
| 189 |
+
<table><tr><td>Methods</td><td>Bits (W/A)</td><td>ResNet-18</td><td>ResNet-50</td><td>MobileNetV2</td><td>RegNet-600MF</td><td>RegNet-3.2GF</td><td>MNasNet-2.0</td></tr><tr><td>Full Prec.</td><td>32/32</td><td>71.08</td><td>77.00</td><td>72.49</td><td>73.71</td><td>78.36</td><td>76.68</td></tr><tr><td>ACIQ-Mix (Banner et al.,2019)</td><td>4/4</td><td>67.0</td><td>73.8</td><td>-</td><td>·</td><td>-</td><td>·</td></tr><tr><td>ZeroQ(Cai et al.,2020)*</td><td>4/4</td><td>21.71</td><td>2.94</td><td>26.24</td><td>28.54</td><td>12.24</td><td>3.89</td></tr><tr><td>LAPQ (Nahshan et al.,2019)</td><td>4/4</td><td>60.3</td><td>70.0</td><td>49.7</td><td>57.71*</td><td>55.89*</td><td>65.32*</td></tr><tr><td>AdaQuant (Hubara et al., 2020)</td><td>4/4</td><td>67.5</td><td>73.7</td><td>34.95*</td><td>-</td><td></td><td></td></tr><tr><td>Bit-Split (Wang et al.,2020)</td><td>4/4</td><td>67.56</td><td>73.71</td><td>=</td><td>-</td><td>=</td><td></td></tr><tr><td>BRECQ (Ours)</td><td>4/4</td><td>69.60±0.04</td><td>75.05±0.09</td><td>66.57±0.67</td><td>68.33±0.28</td><td>74.21±0.19</td><td>73.56±0.24</td></tr><tr><td>ZeroQ(Cai et al.,2020)*</td><td>2/4</td><td>0.08</td><td>0.08</td><td>0.10</td><td>0.10</td><td>0.05</td><td>0.12</td></tr><tr><td>LAPQ (Nahshan et al., 2019)*</td><td>2/4</td><td>0.18</td><td>0.14</td><td>0.13</td><td>0.17</td><td>0.12</td><td>0.18</td></tr><tr><td>AdaQuant (Hubara et al., 2020)*</td><td>2/4</td><td>0.21</td><td>0.12</td><td>0.10</td><td>=</td><td></td><td></td></tr><tr><td>BRECQ (Ours)</td><td>2/4</td><td>64.80±0.08</td><td>70.29±0.23</td><td>53.34±0.15</td><td>59.31±0.49</td><td>67.15±0.11</td><td>63.01±0.35</td></tr></table>
|
| 190 |
+
|
| 191 |
+
# 4.3 COMPARISON WITH QUANTIZATION-AWARE TRAINING
|
| 192 |
+
|
| 193 |
+
Table 4: Performance as well as training cost comparison with quantization-aware training (QAT).
|
| 194 |
+
|
| 195 |
+
<table><tr><td>Models</td><td>Methods</td><td>Precision</td><td>Accuracy</td><td>Model Size</td><td>Training Data</td><td>GPU hours</td></tr><tr><td rowspan="6">ResNet-18 FP: 71.08</td><td>ZEROQ(CAI ET AL., 2020))</td><td>4/4</td><td>21.20</td><td>5.81MB</td><td>0</td><td>0.008</td></tr><tr><td>BRECQ(OURS)</td><td>4/4</td><td>69.60</td><td>5.81MB</td><td>1024</td><td>0.4</td></tr><tr><td>BRECQ (W/DISTILLED DATA)</td><td>4/4</td><td>69.32</td><td>5.81MB</td><td>0</td><td>0.4</td></tr><tr><td>PACT(CHOI ET AL., 2018)</td><td>4/4</td><td>69.2</td><td>5.81MB</td><td>1.2 M</td><td>100</td></tr><tr><td>DSQ (GONG ET AL., 2019)</td><td>4/4</td><td>69.56</td><td>5.81MB</td><td>1.2 M</td><td>100</td></tr><tr><td>LSQ (ESSER ET AL., 2020)</td><td>4/4</td><td>71.1</td><td>5.81MB</td><td>1.2 M</td><td>100</td></tr><tr><td rowspan="5">MobileNetV2 FP: 72.49</td><td>BRECQ (OURS)</td><td>4/4</td><td>66.57</td><td>2.26MB</td><td>1024</td><td>0.8</td></tr><tr><td>PACT (CHOI ET AL., 2018)</td><td>4/4</td><td>61.40</td><td>2.26MB</td><td>1.2 M</td><td>192</td></tr><tr><td>DSQ (GONG ET AL., 2019)</td><td>4/4</td><td>64.80</td><td>2.26MB</td><td>1.2 M</td><td>192</td></tr><tr><td>BRECQ (OURS)</td><td>Mixed/8</td><td>70.74</td><td>1.38 MB</td><td>1024</td><td>3.2</td></tr><tr><td>HAQ (WANG ET AL., 2019)</td><td>Mixed/8</td><td>70.90</td><td>1.38 MB</td><td>1.2 M</td><td>384</td></tr></table>
|
| 196 |
+
|
| 197 |
+
Table 5: Objection detection task (MS COCO) comparison on fully quantized post-training models. Activations here are quantized to 8-bit. We report the bounding box mean Average Precision (mAP) metric.
|
| 198 |
+
|
| 199 |
+
<table><tr><td rowspan="2">Models</td><td rowspan="2">Backbone</td><td>Full Prec.</td><td colspan="2">Bias Correction*</td><td colspan="2">AdaRound*</td><td>ZeroQ</td><td colspan="3">BRECQ (Ours)</td></tr><tr><td>32/32</td><td>8/8</td><td>4/8</td><td>4/8</td><td>2/8</td><td>4MP/8</td><td>8/8</td><td>4/8</td><td>2/8</td></tr><tr><td rowspan="3">Faster RCNN (Ren et al.,</td><td>ResNet-18</td><td>34.55</td><td>34.30</td><td>0.84</td><td>33.96</td><td>23.01</td><td>-</td><td>34.53</td><td>34.34</td><td>31.82</td></tr><tr><td>ResNet-50</td><td>38.55</td><td>38.25</td><td>0.25</td><td>37.58</td><td>19.63</td><td>-</td><td>38.54</td><td>38.29</td><td>34.23</td></tr><tr><td>MobileNetV2</td><td>33.44</td><td>33.24</td><td>18.39</td><td>32.77</td><td>16.35</td><td>-</td><td>33.40</td><td>33.18</td><td>27.54</td></tr><tr><td rowspan="3">RetinaNet (Lin et al.,</td><td>ResNet-18</td><td>33.20</td><td>33.00</td><td>0.04</td><td>32.59</td><td>19.93</td><td>-</td><td>33.14</td><td>33.01</td><td>31.42</td></tr><tr><td>ResNet-50</td><td>36.82</td><td>36.68</td><td>0.07</td><td>36.00</td><td>19.97</td><td>33.7</td><td>36.73</td><td>36.65</td><td>34.75</td></tr><tr><td>MobileNetV2</td><td>32.63</td><td>32.60</td><td>18.47</td><td>31.89</td><td>14.10</td><td>-</td><td>32.57</td><td>32.31</td><td>27.59</td></tr></table>
|
| 200 |
+
|
| 201 |
+

|
| 202 |
+
Figure 2: Mixed Precision results.
|
| 203 |
+
|
| 204 |
+
In this section, we compare our algorithm (post-training quantization) with some quantization-aware training methods, including PACT (Choi et al., 2018), DSQ (Gong et al., 2019), LSQ (Esser et al., 2020), and a mixed precision technique HAQ (Wang et al., 2019). Table 4 shows that although BRECQ is a PTQ method with limited available data, it can achieve comparable accuracy results with existing quantization-aware training models. In addition, our method can surpass them in 4- bit MobileNetV2 while using less than one training GPU hours. Our method also has comparable accuracy with HAQ, which is a training-based mixed precision method. Note that our GPU hours include 3 unified precision training (2-, 4-, 8-bit respectively) and further mixed-precision training only needs to check the lookup table. Instead, HAQ would end-to-end search for each hardware performance threshold from scratch.
|
| 205 |
+
|
| 206 |
+
# 4.4 MS COCO
|
| 207 |
+
|
| 208 |
+
To validate the effectiveness of BRECQ on other tasks, we conduct object detection on the twostage Faster-RCNN (Ren et al., 2015) and the one-stage RetinaNet (Lin et al., 2017). ResNet-18, 50 as well as MobileNetV2 are adopted as backbones for the detection model. Results in Table 5 demonstrate our method nearly does not drop the performance in 4-bit weight quantization and 8- bit activation. In particular, BRECQ only decreases ${ \bf 0 . 2 1 \% }$ mAP performance on 4-bit ResNet-18 backboned Faster RCNN. On 4-bit ResNet-50 backboned RetinaNet, our method is outperforms the mixed precision based ZeroQ model by $3 \%$ mAP. Even when the weight bit decreases to 2, the model still achieves near-to-original mAP.
|
| 209 |
+
|
| 210 |
+
# 4.5 MIXED PRECISION
|
| 211 |
+
|
| 212 |
+
In this section, we test (1) model-size guaranteed mixed precision and (2) FPGA latency guaranteed mixed precision2 to unleash the potential of mixed precision and further push the limit of PTQ. We choose ResNet-18, MobileNetV2, and RegNetX-600MF to validate the efficacy of our algorithm. Note that in this section, we keep activation in 8-bit because we only compare the discrepancy between the unified and mixed precision in weights. We omit 3-bit weight quantization in unified precision because it is usually unfriendly to the hardware. Latency settings can be found in Appendix B.4.3. From Fig. 2 we find that (1) mixed precision consistently outperforms unified precision, especially when using extremely low-bit, e.g., up to $10 \%$ accuracy increase with the same latency as the 2-bit model. (2) mixed precision can produce many bit configurations that can adapt to plenty of hardware requirements while unified precision can only have 2 fixed models.
|
| 213 |
+
|
| 214 |
+
# 5 RELATED WORKS
|
| 215 |
+
|
| 216 |
+
Quantization Model quantization can be classified into two categories: Quantization-aware Training (QAT) and Post-training Quantization (PTQ). Rounding floating-point numbers to fixed-points numbers will produce 0 gradients almost everywhere. Therefore, most QAT methods employ the Straight-Through Estimator (STE) for gradients approximation. Gong et al. (2019) uses a differentiable tanh function to gradually approach the step function. Choi et al. (2018); Esser et al. (2020) introduces parameterized clipping thresholds to learn it by STE. Apart from uniform quantization, some works like Li et al. (2019) argue that non-uniform quantization has better performance than uniform quantization while keeping its efficiency. Despite the promising results given by QAT methods, they usually need more than 100 GPU hours to get it. In that case, PTQ plays an important role which is what we focus on in this paper. Generally, most deep learning models can be safely quantized to 8-bit without re-training. Data-Free Quantization Nagel et al. (2019) even do layer-wise 8-bit PTQ without any data. However, in 4-bit quantization, most parameter space-based methods cannot obtain good performances. Recently, Nagel et al. (2020) propose to do layer-wise calibration and made huge progress in 4-bit quantization. Our work continues its analysis on Taylor expansion and considers the off-diagonal loss. Another perspective of quantification is the precision allocation scheme. Hardware-aware Quantization (HAQ Wang et al. (2019)) leverages reinforcement learning to search the optimal bitwidth configuration. Hessian-aware Weight Quantization (HAWQ) (Dong et al., 2019) utilizes the second-order information to decide the bitwidth. Mixed precision also appears in PTQ, such as the Pareto frontier method in ZeroQ (Cai et al., 2020) and the Integer Programming method in AdaQuant (Hubara et al., 2020).
|
| 217 |
+
|
| 218 |
+
Second-order Analysis and Optimization The history of second-order information in perturbation analysis can be traced to the 1990s like Optimal Brain Surgeon (Hassibi & Stork, 1993; Dong et al., 2017). The Hessian matrix is essential for pruning and quantization. As aforementioned, HAWQ uses the largest eigenvalue of Hessian to determine the sensitivity. Hessian matrix is also important for second-order optimization like Newton’s method as it consists of the curvature information. However, calculating the real full Hessian is prohibitive on today’s deep learning architectures. Therefore, approximations are made to simplify the calculation and make the storage more flexible, e.g., Gauss-Newton optimization with Kronecker-factored recursive approximation Botev et al. (2017). Hessian-Free optimization (Martens, 2010) avoids the explicit computation of the Hessian matrix by solving the linear system $g = H v$ . Second-order optimization with FIM is called Natural Gradient Descent (Amari, 1998). K-FAC (Martens & Grosse, 2015) utilizes the layer-diagonal FIM and the approximation of the expected Kronecker product to compute the curvature information.
|
| 219 |
+
|
| 220 |
+
# 6 CONCLUSION
|
| 221 |
+
|
| 222 |
+
In this paper, we propose BRECQ, a post-training quantization framework by analyzing the secondorder error. We show that the reconstruction of quantization at the block granularity arrives at a good balance of cross-layer dependency and first order approximation, especially in 2-bit weight quantization where no prior works succeed to quantize. BRECQ is compatible with mixed precision and can reduce the search cost. To our best knowledge, BRECQ reaches the highest performance in post-training quantization and is the first to be on a par with quantization-aware training using 4-bit.
|
| 223 |
+
|
| 224 |
+
# ACKNOWLEDGMENT
|
| 225 |
+
|
| 226 |
+
We thank Markus Nagel and anonymous reviewers for their kind help of this work. This project is primarily supported by NSFC 61876032.
|
| 227 |
+
|
| 228 |
+
# REFERENCES
|
| 229 |
+
|
| 230 |
+
Shun-Ichi Amari. Natural gradient works efficiently in learning. Neural computation, 10(2):251– 276, 1998.
|
| 231 |
+
|
| 232 |
+
Haoli Bai, Jiaxiang Wu, Irwin King, and Michael Lyu. Few shot network compression via cross distillation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pp. 3203–3210, 2020.
|
| 233 |
+
|
| 234 |
+
Ron Banner, Yury Nahshan, and Daniel Soudry. Post training 4-bit quantization of convolutional networks for rapid-deployment. In Advances in Neural Information Processing Systems, 2019.
|
| 235 |
+
|
| 236 |
+
Aleksandar Botev, Hippolyt Ritter, and David Barber. Practical gauss-newton optimisation for deep learning. arXiv preprint arXiv:1706.03662, 2017.
|
| 237 |
+
|
| 238 |
+
Yaohui Cai, Zhewei Yao, Zhen Dong, Amir Gholami, Michael W Mahoney, and Kurt Keutzer. Zeroq: A novel zero shot quantization framework. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 13169–13178, 2020.
|
| 239 |
+
|
| 240 |
+
Jungwook Choi, Zhuo Wang, Swagath Venkataramani, Pierce I-Jen Chuang, Vijayalakshmi Srinivasan, and Kailash Gopalakrishnan. Pact: Parameterized clipping activation for quantized neural networks. arXiv preprint arXiv:1805.06085, 2018.
|
| 241 |
+
|
| 242 |
+
Yoni Choukroun, Eli Kravchik, Fan Yang, and Pavel Kisilev. Low-bit quantization of neural networks for efficient inference. In 2019 IEEE/CVF International Conference on Computer Vision Workshop (ICCVW), pp. 3009–3018. IEEE, 2019.
|
| 243 |
+
|
| 244 |
+
Xin Dong, Shangyu Chen, and Sinno Pan. Learning to prune deep neural networks via layer-wise optimal brain surgeon. In Advances in Neural Information Processing Systems, 2017.
|
| 245 |
+
|
| 246 |
+
Zhen Dong, Zhewei Yao, Amir Gholami, Michael W Mahoney, and Kurt Keutzer. Hawq: Hessian aware quantization of neural networks with mixed-precision. In Proceedings of the IEEE International Conference on Computer Vision, pp. 293–302, 2019.
|
| 247 |
+
|
| 248 |
+
Steven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy, and Dharmendra S. Modha. Learned step size quantization. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id $\underline { { \underline { { \mathbf { \Pi } } } } } =$ rkgO66VKDS.
|
| 249 |
+
|
| 250 |
+
Ruihao Gong, Xianglong Liu, Shenghu Jiang, Tianxiang Li, Peng Hu, Jiazhen Lin, Fengwei Yu, and Junjie Yan. Differentiable soft quantization: Bridging full-precision and low-bit neural networks. arXiv preprint arXiv:1908.05033, 2019.
|
| 251 |
+
|
| 252 |
+
Zichao Guo, Xiangyu Zhang, Haoyuan Mu, Wen Heng, Zechun Liu, Yichen Wei, and Jian Sun. Single path one-shot neural architecture search with uniform sampling. In European Conference on Computer Vision, pp. 544–560. Springer, 2020.
|
| 253 |
+
|
| 254 |
+
Qingchang Han, Yongmin Hu, Fengwei Yu, Hailong Yang, Bing Liu, Peng Hu, Ruihao Gong, Yanfei Wang, Rui Wang, Zhongzhi Luan, et al. Extremely low-bit convolution optimization for quantized neural network on modern computer architectures. In 49th International Conference on Parallel Processing-ICPP, pp. 1–12, 2020.
|
| 255 |
+
|
| 256 |
+
Song Han, Huizi Mao, and William J Dally. Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. arXiv preprint arXiv:1510.00149, 2015.
|
| 257 |
+
|
| 258 |
+
Babak Hassibi and David G Stork. Second order derivatives for network pruning: Optimal brain surgeon. In Advances in neural information processing systems, pp. 164–171, 1993.
|
| 259 |
+
|
| 260 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016.
|
| 261 |
+
|
| 262 |
+
Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
|
| 263 |
+
|
| 264 |
+
Itay Hubara, Matthieu Courbariaux, Daniel Soudry, Ran El-Yaniv, and Yoshua Bengio. Quantized neural networks: Training neural networks with low precision weights and activations. The Journal of Machine Learning Research, 18(1):6869–6898, 2017.
|
| 265 |
+
|
| 266 |
+
Itay Hubara, Yury Nahshan, Yair Hanani, Ron Banner, and Daniel Soudry. Improving post training neural quantization: Layer-wise calibration and integer programming. arXiv preprint arXiv:2006.10518, 2020.
|
| 267 |
+
|
| 268 |
+
Daniel Jakubovitz, Raja Giryes, and Miguel RD Rodrigues. Generalization error in deep learning. In Compressed Sensing and Its Applications, pp. 153–193. Springer, 2019.
|
| 269 |
+
|
| 270 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 271 |
+
|
| 272 |
+
Yann A LeCun, Leon Bottou, Genevieve B Orr, and Klaus-Robert M ´ uller. Efficient backprop. In ¨ Neural networks: Tricks of the trade, pp. 9–48. Springer, 2012.
|
| 273 |
+
|
| 274 |
+
Yuhang Li, Xin Dong, and Wei Wang. Additive powers-of-two quantization: An efficient nonuniform discretization for neural networks. In International Conference on Learning Representations, 2019.
|
| 275 |
+
|
| 276 |
+
Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, and Piotr Dollar. Focal loss for dense ´ object detection. In Proceedings of the IEEE international conference on computer vision, pp. 2980–2988, 2017.
|
| 277 |
+
|
| 278 |
+
James Martens. Deep learning via hessian-free optimization. 2010.
|
| 279 |
+
|
| 280 |
+
James Martens and Roger Grosse. Optimizing neural networks with kronecker-factored approximate curvature. In International conference on machine learning, pp. 2408–2417, 2015.
|
| 281 |
+
|
| 282 |
+
Markus Nagel, Mart van Baalen, Tijmen Blankevoort, and Max Welling. Data-free quantization through weight equalization and bias correction. In Proceedings of the IEEE International Conference on Computer Vision, pp. 1325–1334, 2019.
|
| 283 |
+
|
| 284 |
+
Markus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos, and Tijmen Blankevoort. Up or down? adaptive rounding for post-training quantization. arXiv preprint arXiv:2004.10568, 2020.
|
| 285 |
+
|
| 286 |
+
Yury Nahshan, Brian Chmiel, Chaim Baskin, Evgenii Zheltonozhskii, Ron Banner, Alex M Bronstein, and Avi Mendelson. Loss aware post-training quantization. arXiv preprint arXiv:1911.07190, 2019.
|
| 287 |
+
|
| 288 |
+
Antonio Polino, Razvan Pascanu, and Dan Alistarh. Model compression via distillation and quantization. arXiv preprint arXiv:1802.05668, 2018.
|
| 289 |
+
|
| 290 |
+
Ilija Radosavovic, Raj Prateek Kosaraju, Ross Girshick, Kaiming He, and Piotr Dollar. Designing ´ network design spaces. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10428–10436, 2020.
|
| 291 |
+
|
| 292 |
+
Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In Advances in neural information processing systems, pp. 91–99, 2015.
|
| 293 |
+
|
| 294 |
+
Mark Sandler, Andrew Howard, Menglong Zhu, Andrey Zhmoginov, and Liang-Chieh Chen. Mobilenetv2: Inverted residuals and linear bottlenecks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 4510–4520, 2018.
|
| 295 |
+
|
| 296 |
+
Hardik Sharma, Jongse Park, Naveen Suda, Liangzhen Lai, Benson Chau, Vikas Chandra, and Hadi Esmaeilzadeh. Bit fusion: Bit-level dynamically composable architecture for accelerating deep neural network. In 2018 ACM/IEEE 45th Annual International Symposium on Computer Architecture (ISCA), pp. 764–775. IEEE, 2018.
|
| 297 |
+
|
| 298 |
+
Mingxing Tan, Bo Chen, Ruoming Pang, Vijay Vasudevan, Mark Sandler, Andrew Howard, and Quoc V Le. Mnasnet: Platform-aware neural architecture search for mobile. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2820–2828, 2019.
|
| 299 |
+
|
| 300 |
+
Lucas Theis, Iryna Korshunova, Alykhan Tejani, and Ferenc Huszar. Faster gaze prediction with ´ dense networks and fisher pruning. arXiv preprint arXiv:1801.05787, 2018.
|
| 301 |
+
|
| 302 |
+
Kuan Wang, Zhijian Liu, Yujun Lin, Ji Lin, and Song Han. Haq: Hardware-aware automated quantization with mixed precision. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 8612–8620, 2019.
|
| 303 |
+
|
| 304 |
+
Peisong Wang, Qiang Chen, Xiangyu He, and Jian Cheng. Towards accurate post-training network quantization via bit-split and stitching. In Proc. 37nd Int. Conf. Mach. Learn.(ICML), 2020.
|
| 305 |
+
|
| 306 |
+
Barret Zoph and Quoc V Le. Neural architecture search with reinforcement learning. arXiv preprint arXiv:1611.01578, 2016.
|
| 307 |
+
|
| 308 |
+
# A MAIN PROOFS
|
| 309 |
+
|
| 310 |
+
# A.1 PROOF OF THEOREM 3.1
|
| 311 |
+
|
| 312 |
+
Proof. We will prove the theorem using quadratic form. Denote the weight vector shape as $\theta \in \mathbb { R } ^ { d }$ , and the network output vector shape as $\mathbf { z } ^ { ( n ) } \in \mathbb { R } ^ { m }$ . The quadratic form of the $\Delta \boldsymbol { \theta } ^ { \top } \bar { \mathbf { H } ^ { ( \theta ) } } \Delta \boldsymbol { \theta }$ can be represented by:
|
| 313 |
+
|
| 314 |
+
$$
|
| 315 |
+
\Delta \theta ^ { \mathsf { T } } \mathbf { H } ^ { ( \theta ) } \Delta \theta = \sum _ { i = 1 } ^ { d } \Delta \theta _ { i } ^ { 2 } \left( \frac { \partial ^ { 2 } L } { \partial \theta _ { i } ^ { 2 } } \right) + 2 \sum _ { i < j } ^ { d } \Delta \theta _ { i } \Delta \theta _ { j } \frac { \partial L } { \partial \theta _ { i } \theta _ { j } } = \sum _ { i = 1 } ^ { d } \sum _ { j = 1 } ^ { d } \left( \Delta \theta _ { i } \Delta \theta _ { j } \frac { \partial L } { \partial \theta _ { i } \theta _ { j } } \right) ,
|
| 316 |
+
$$
|
| 317 |
+
|
| 318 |
+
where $L$ is the cross-entropy loss. Based on Eq. (5), we have
|
| 319 |
+
|
| 320 |
+
$$
|
| 321 |
+
\frac { \partial ^ { 2 } L } { \partial \theta _ { i } \theta _ { j } } = \sum _ { k , l } ^ { m } \frac { \partial \mathbf { z } _ { k } ^ { ( n ) } } { \partial \theta _ { l } } \frac { \partial ^ { 2 } L } { \partial \mathbf { z } _ { k } ^ { ( n ) } \mathbf { z } _ { l } ^ { ( n ) } } \frac { \partial \mathbf { z } _ { l } ^ { ( n ) } } { \partial \theta _ { j } }
|
| 322 |
+
$$
|
| 323 |
+
|
| 324 |
+
Substituting above equation in Eq. (12), we have
|
| 325 |
+
|
| 326 |
+
$$
|
| 327 |
+
\begin{array} { l } { { \displaystyle \Delta \theta ^ { \top } { \bf H } ^ { ( \theta ) } \Delta \theta = \sum _ { i = 1 } ^ { d } \sum _ { j = 1 } ^ { d } \Delta \theta _ { i } \Delta \theta _ { j } \left( \displaystyle \sum _ { k = 1 } ^ { m } \frac { m } { i \omega _ { i } } \frac { \partial { \bf z } _ { k } ^ { ( n ) } } { \partial \theta _ { i } } \frac { \partial ^ { 2 } L } { \partial { \bf z } _ { k } ^ { ( n ) } { \bf z } _ { i } ^ { ( n ) } } \frac { \partial { \bf z } _ { l } ^ { ( n ) } } { \partial \theta _ { j } } \right) } } \\ { { \displaystyle \ = \sum _ { i = 1 } ^ { d } \sum _ { j = 1 } ^ { d } \sum _ { k = 1 } ^ { m } \sum _ { l = 1 } ^ { m } \left( \Delta \theta _ { i } \Delta \theta _ { j } \frac { \partial { \bf z } _ { k } ^ { ( n ) } } { \partial \theta _ { i } } \frac { \partial ^ { 2 } L } { \partial { \bf z } _ { k } ^ { ( n ) } { \bf z } _ { l } ^ { ( n ) } } \frac { \partial { \bf z } _ { l } ^ { ( n ) } } { \partial \theta _ { j } } \right) } } \\ { { \displaystyle \ = \sum _ { k = 1 } ^ { m } \sum _ { l = 1 } ^ { m } \left( \frac { \partial ^ { 2 } L } { \partial { \bf z } _ { k } ^ { ( n ) } { \bf z } _ { l } ^ { ( n ) } } \right) \left( \sum _ { i = 1 } ^ { d } \Delta \theta _ { i } \frac { \partial { \bf z } _ { k } ^ { ( n ) } } { \partial \theta _ { i } } \right) \left( \sum _ { j = 1 } ^ { d } \Delta \theta _ { j } \frac { \partial { \bf z } _ { k } ^ { ( n ) } } { \partial \theta _ { j } } \right) } } \\ { { \displaystyle \ = ( \Delta \theta { \bf J } \left[ \frac { { \bf z } ^ { ( n ) } } { \theta } \right] ) ^ { \top } { \bf H } ^ { ( \bf z } ^ { ( n ) } ) \left( \Delta \theta { \bf J } \left[ \frac { { \bf z } ^ { ( n ) } } { \theta } \right] \right) , } } \end{array}
|
| 328 |
+
$$
|
| 329 |
+
|
| 330 |
+
where we define the $\mathbf { J } [ \textstyle { \frac { x } { y } } ]$ is the Jacobian matrix of $x$ w.r.t. $y$ . To this end, we use the first-order Taylor expansion as we did in Eq. (8) to approximate the change in network output, i.e.,
|
| 331 |
+
|
| 332 |
+
$$
|
| 333 |
+
\Delta \mathbf { z } ^ { ( n ) } \approx \Delta \theta \mathbf { J } \left[ \frac { \mathbf { z } ^ { ( n ) } } { \theta } \right]
|
| 334 |
+
$$
|
| 335 |
+
|
| 336 |
+
Therefore, the final objective is transformed to $\Delta \mathbf { z } ^ { ( n ) , \mathsf { T } } \mathbf { H } ^ { ( \mathbf { z } ^ { ( n ) } ) } \Delta \mathbf { z } ^ { ( n ) }$ .
|
| 337 |
+
|
| 338 |
+
# B EXPERIMENTS
|
| 339 |
+
|
| 340 |
+
# B.1 EFFECT OF THE FIRST AND THE LAST LAYER
|
| 341 |
+
|
| 342 |
+
Many papers claim that the first and the last layer can have a huge impact on the final accuracy. In this section, we investigate this phenomenon as well as the impact of the first and the last layer on hardware performances. We test ResNet-18, MobileNetV2 as well as RegNet-600MF. Our observations include:
|
| 343 |
+
|
| 344 |
+
1. In terms of accuracy, the 4-bit quantization is essentially good, both of these two layers won’t drop too much accuracy (with $0 . 2 \%$ ). But in 2-bit quantization, the last fully connected layer is far more important than the first layer. We also observe that the first layer in MobileNetV2 and RegNet $3 { \times } 3$ kernels, 32 channels) is slightly more sensitive than that in ResNet-18 $7 \times 7$ kernel, 64 channels).
|
| 345 |
+
2. In terms of model size, the first layer merely has a minor impact because the input images only have 3 channels, while the last layer contains many weight parameters and greatly affects the memory footprint. We should point out that just the model size in the first layer is low doesn’t mean the memory burden is low, because the input image will cost huge memory space.
|
| 346 |
+
3. In terms of latency, the situation depends on the architecture. For example, in ResNet-18 the first layer has a huge impact on the latency, while in MobileNetV2 and RegNet-600MF the last layer is more important than the first layer. This is because the latency is affected by multiple factors, such as the input size of the featuremap, the FLOPs, and the weight memory size. The arithmetic intensity (OPs/byte) greatly affects the latency. We find that the operations with high arithmetic intensity, i.e., shallow layers in the network, generate a less latency gap between different bitwidths.
|
| 347 |
+
|
| 348 |
+
In conclusion, we find that keeping the first and the last layer 8-bit is unnecessary. Especially in ResNet-18, we find that setting all layers to 4-bit results in $5 3 . 3 ~ \mathrm { m s }$ latency and is faster than the $5 9 . 8 ~ \mathrm { m s }$ in 2-bit quantization (with first and last layer 8-bit), but the accuracy is even $4 \%$ higher. Such phenomenon indicates the potential power of the mixed precision.
|
| 349 |
+
|
| 350 |
+
# B.2 EFFECT OF DATA
|
| 351 |
+
|
| 352 |
+
We evaluated the influence of the size of calibration dataset and the source of the data on ResNet-18. We test different numbers of input data point and find that the improvement in 4-bit quantization is trivial. Yet in 2-bit quantization we can see that the accuracy increases $5 \%$ when #data points increase. We also test the distilled data introduced in ZeroQ (Cai et al., 2020). Distilled data is learned from pretrained models’ BN statistics, i.e., $\begin{array} { r } { \mathbf { x } _ { \mathrm { d i s t i l l e d } } ^ { 1 } = \arg \operatorname* { m i n } _ { \mathbf { x } \in \mathcal { R } } \sum _ { i = 1 } ^ { n } ( ( \mu _ { i } - \hat { \mu } _ { i } ) ^ { 2 } + ( \varsigma _ { i } - } \end{array}$ $\hat { \varsigma } _ { i } )$ ) where $\mu _ { i }$ and $\varsigma _ { i }$ is the original mean and variance in BN statistics of the $( i )$ -th layer. We find that distilled data performs good in 4-bit quantization but still has a large margin with the original ImageNet dataset in 2-bit quantization. We also find the final accuracy does not benefit much from the increase of number of distilled data, this might because the distilled data are minimized by a same objective and has low diversity.
|
| 353 |
+
|
| 354 |
+
Table 6: Impact of the first and the last layer
|
| 355 |
+
|
| 356 |
+
<table><tr><td rowspan="2">Models</td><td colspan="2">No Quantization</td><td colspan="3">Precision 4/8</td><td colspan="3">Precision 2/8</td></tr><tr><td>First</td><td>Last</td><td>Accuracy</td><td>Model Size</td><td>Latency</td><td>Accuracy</td><td>Model Size</td><td>Latency</td></tr><tr><td rowspan="4">ResNet-18 FP: 71.08</td><td>√</td><td>√</td><td>70.76</td><td>5.81MB</td><td>70.72 ms</td><td>66.30</td><td>3.15 MB</td><td>59.84 ms</td></tr><tr><td>X</td><td>√</td><td>70.66</td><td>5.81 MB</td><td>53.76 ms</td><td>65.95</td><td>3.15MB</td><td>31.20 ms</td></tr><tr><td>√</td><td>X</td><td>70.64</td><td>5.57MB</td><td>70.08 ms</td><td>64.87</td><td>2.79 MB</td><td>58.72 ms</td></tr><tr><td>X</td><td>X</td><td>70.58</td><td>5.56 MB</td><td>53.28 ms</td><td>64.53</td><td>2.78 MB</td><td>30.88 ms</td></tr><tr><td rowspan="4">MobileNetV2 FP: 72.49</td><td>√</td><td>√</td><td>71.80</td><td>2.26MB</td><td>32.80 ms</td><td>59.59</td><td>1.74 MB</td><td>30.40 ms</td></tr><tr><td>X</td><td>���</td><td>71.69</td><td>2.26 MB</td><td>32.64 ms</td><td>59.13</td><td>1.74 MB</td><td>30.24 ms</td></tr><tr><td>√</td><td>×</td><td>71.42</td><td>1.65MB</td><td>31.52 ms</td><td>56.29</td><td>0.83MB</td><td>28.48 ms</td></tr><tr><td>×</td><td>×</td><td>71.42</td><td>1.65MB</td><td>31.36 ms</td><td>55.58</td><td>0.82 MB</td><td>28.32 ms</td></tr><tr><td rowspan="4">RegNet-600MF FP: 73.71</td><td>√</td><td>√</td><td>72.98</td><td>3.19MB</td><td>31.84 ms</td><td>65.66</td><td>1.84 MB</td><td>23.20ms</td></tr><tr><td>X</td><td>√</td><td>72.89</td><td>3.19 MB</td><td>31.68 ms</td><td>65.83</td><td>1.85 MB</td><td>22.88 ms</td></tr><tr><td>√</td><td>X</td><td>72.69</td><td>2.94 MB</td><td>31.20 ms</td><td>62.93</td><td>1.47 MB</td><td>22.40 ms</td></tr><tr><td>×</td><td>X</td><td>72.73</td><td>2.94 MB</td><td>31.04 ms</td><td>63.08</td><td>1.47 MB</td><td>22.08 ms</td></tr></table>
|
| 357 |
+
|
| 358 |
+

|
| 359 |
+
Figure 3: Effect of #data points and data source.
|
| 360 |
+
|
| 361 |
+
B.3 MOBILE CPU LATENCY GUARANTEED MIXED PRECISION
|
| 362 |
+
|
| 363 |
+

|
| 364 |
+
Figure 4: Mixed precision results on ResNet-18 and 50.
|
| 365 |
+
|
| 366 |
+
In this section, we test the mobile CPU latency guaranteed mixed precision. The latency lookup table is tested using the technique in Gong et al. (2019). We only validate it on ResNet-18 and ResNet-50 because the current low-bit General Matrix Multiply (GEMM) implementation only supports normal convolution. The results concur with Fig. 2. Below 4-bit, the mixed precision can achieve better task performance than the unified precision models. For ResNet-50, the improvement is lower than that for ResNet-18 and any other mixed precision models. We think this is because the sensitivity in ResNet-50 is not distinct and therefore the improvement brought by mixed precision is trivial.
|
| 367 |
+
|
| 368 |
+
# B.4 IMPLEMENTATION
|
| 369 |
+
|
| 370 |
+
# B.4.1 LEARNING STRATEGIES
|
| 371 |
+
|
| 372 |
+
In this work, we mainly focus on developing optimization objective rather than optimization strategies. We observe adaptive rounding performs well in post-training quantization. A brief introduction on AdaRound is given below, the detailed algorithm can be found in Nagel et al. (2020).
|
| 373 |
+
|
| 374 |
+
Traditional quantization function is performed by rounding-to-nearest operation: $\hat { \textbf { w } } = \textbf { \em s } \times \textbf { { n } }$ $\mathrm { c l i p } ( \lfloor \mathbf { w } / s \rceil , \bar { n } , p )$ . AdaRound optimizes the rounding policy in post-training quantization. Specifically, all weights are initially rounded by floor operation, and a learnable variable $\mathbf { v }$ determines the final rounding result to be flooring or ceiling. A sigmoid-like function $\sigma ( \cdot )$ keeps the learnable variable $\mathbf { v }$ moving between 0 and 1 and a regularization term assures the $\sigma ( \mathbf { v } )$ can converged to either 0 or 1. The formulation is given by
|
| 375 |
+
|
| 376 |
+
$$
|
| 377 |
+
\hat { \mathbf { w } } = s \times \mathrm { c l i p } \left( \lfloor \frac { \mathbf { w } } { s } \rfloor + \sigma ( \mathbf { v } ) , n , p \right)
|
| 378 |
+
$$
|
| 379 |
+
|
| 380 |
+
The minimization problem together with the regularization is given by
|
| 381 |
+
|
| 382 |
+
$$
|
| 383 |
+
\underset { \mathbf { v } } { \arg \operatorname* { m i n } } \mathbb { E } \left[ \Delta \mathbf { z } ^ { ( \ell ) , \top } \mathrm { d i a g } ( ( \frac { \partial L } { \partial \mathbf { z } _ { 1 } ^ { ( \ell ) } } ) ^ { 2 } , \dots , ( \frac { \partial L } { \partial \mathbf { z } _ { a } ^ { ( \ell ) } } ) ^ { 2 } ) \Delta \mathbf { z } ^ { ( \ell ) } \right] + \lambda \sum _ { i } \left( 1 - | 2 \sigma ( \mathbf { v } _ { i } ) - 1 | ^ { \beta } \right) ,
|
| 384 |
+
$$
|
| 385 |
+
|
| 386 |
+
where progressively decreasing $\beta$ in the calibration ensures the $\sigma ( \mathbf { v } )$ converged to binary values. The activations cannot be quantized using adaptive rounding because they vary with different input data points. Thus, we can only adjust its quantization step size Esser et al. (2020). Denoting the quadratic loss in above equation as $L _ { q }$ , the gradients of step size is given by
|
| 387 |
+
|
| 388 |
+
$$
|
| 389 |
+
\frac { \partial L _ { q } } { \partial s } = \left\{ \begin{array} { l l } { \displaystyle \frac { \partial L _ { q } } { \partial \hat { \mathbf { x } } } } & { \mathrm { i f } \mathbf { x } > n } \\ { \displaystyle \frac { \partial L _ { q } } { \partial \hat { \mathbf { x } } } \left( \frac { \hat { \mathbf { x } } } { s } - \frac { \mathbf { x } } { s } \right) } & { \mathrm { i f } 0 \leq \mathbf { x } < \alpha } \\ { 0 } & { \mathrm { i f } \mathbf { x } \leq 0 } \end{array} \right. ,
|
| 390 |
+
$$
|
| 391 |
+
|
| 392 |
+
where all step size in the block will be optimized.
|
| 393 |
+
|
| 394 |
+
# Algorithm 2: Genetic algorithm
|
| 395 |
+
|
| 396 |
+
B.4.2 GENETIC ALGORITHM FOR MIXED PRECISION
|
| 397 |
+
|
| 398 |
+
<table><tr><td>Input:Random initialized population Po with population size S; Iteration T, mutation probability p; Hardware performance threshold δ; Hardware measurement function H()</td></tr><tr><td>TopK= ; for all t = 1,2,...,T-th iteration do</td></tr><tr><td>Evaluate fitness value (Eq.(11)) for each individual ;</td></tr><tr><td>Update and sort TopK based on fitness function;</td></tr><tr><td>repeat</td></tr><tr><td>New bitwidth configuration by crossover Ccross = Crossover(TopK);</td></tr><tr><td>Pcrossover := Pcrossover + Ccross if H(Ccross)< 8;</td></tr><tr><td>until Size of Pcrossver equal to S/2;</td></tr><tr><td>repeat New bitwidth configuration by mutation Cmutate = Mutate(TopK, probability = p);</td></tr><tr><td></td></tr><tr><td>Pmutate := Pmutate + Cmutate if H(Cmutate) < δ;</td></tr><tr><td></td></tr><tr><td>until Size of Pmutate equal to S/2;</td></tr><tr><td></td></tr><tr><td>Pt = Pcrossover U Pmutate;</td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td>Pmutate = O, Pcrossover = Ω;</td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr><tr><td></td></tr></table>
|
| 399 |
+
|
| 400 |
+
Get the best fitted entry and then do the overall block reconstruction (cf. algorithm 1); return mixed precision model
|
| 401 |
+
|
| 402 |
+
# B.4.3 LATENCY ACQUISITION
|
| 403 |
+
|
| 404 |
+
We test the latency of quantized neural networks on a self-developed simulator of a precisionvariable accelerator for NN. The basic architecture of this accelerator is inspired by typical systolicmatrix multiplication. The accelerator supports the per-channel quantization parameter. The precision of each layer of a NN is highly configurable in this accelerator, supporting 9 types of precision combination: activation: 2-, 4-, 8-bit $\times$ weight: 2-, 4-, 8-bit, see Fig. 5a. With the support of scalable function-unit (Sharma et al., 2018), the peak performance of the accelerator is able to achieve corresponding linear improvement as the precision decreases. For example, the peak performance of this accelerator is 256 GMAC/s in $\mathsf { 8 - b i t } \times \mathsf { 8 }$ -bit precision, and it scales to 512 GMAC/s in 8- bit $\times 4$ -bit precision and 4 TMAC/s in $2 { \cdot } \mathrm { b i t } \times 2$ -bit precision. Although this accelerator provides considerable computation resources especially in low precision, the parallelism of the specific layer (like depthwise convolution) and the bandwidth of on-chip buffer is limited. Consequently, actual performance may not scale accurately along with the peak performance, and the final performance differs according to the size and type of layers. The simulator performs cycle-accurate simulation and evaluation for a given NN executed on the accelerator, so we can get an equivalent evaluation by using this simulator. The simulator is available in the provided source codes.
|
| 405 |
+
|
| 406 |
+
For the acquisition of mobile ARM CPU latency, we adopt the redesigned low-bit GEMM implementation in Han et al. (2020). Fig. 5b shows a brief overview of the low-bit GEMM implementation. Since there is no instruction supporting the bit-width below 8 on ARM architecture, we can not get a higher computation efficiency for extremely low-bit such as 2-bit and 4-bit. But we can acquire a better memory access efficiency. The primary speedup comes from the reduction of data movement. Specifically, we can conduct more times of addition in the same 8-bit register before we have to move it to a 16-bit register to avoid overflow. The lower bit-width is used, the less movement is needed. Together with the optimized data packing and data padding, we can run mixed precision quantization on Raspberry Pi 3B, which has a 1.2 GHz 64-bit quad-core ARM Cortex-A53. Note that this implementation is not optimized for depthwise separable or group convolution, therefore we only verify the latency on ResNets.
|
| 407 |
+
|
| 408 |
+

|
| 409 |
+
Figure 5: FPGA-based and mobile CPU-based latency acquisition.
|
| 410 |
+
|
| 411 |
+
# B.4.4 IMPLEMENTATION DETAILS
|
| 412 |
+
|
| 413 |
+
The ImageNet dataset consists of 1.2M training images and 50K test images. We follows standard pre-process (He et al., 2016) to get 1024 $2 2 4 \times 2 2 4$ input images as the calibration dataset. We fold the batch normalization layer into convolution and freeze the BN statistics before post-training quantization. We use Adam optimizer (Kingma & Ba, 2014) to learn the weight rounding and activation range to reconstruct the block output. Note that some layers are not a component of any block, such as the first convolutional layer and the last fully connected layer and the last convolutional layer in the MobileNetV2. These layers use naive layer reconstruction. The batch size of learning is set to 32 and each block will be optimized for $2 \times 1 \dot { 0 } ^ { 4 }$ iterations. The learning rate is set to $1 0 ^ { - \bar { 3 } }$ during the whole learning process. Other hyper-parameters such as the temperature $\beta$ are kept the same with Nagel et al. (2020). For activation step size, we also use Adam optimizer and set the learning rate to 4e-5. Note that we do not implement the gradient scale as introduced in the original paper (Esser et al., 2020). After reconstruction, we will store the sensitivity measured on the calibration dataset. Note that we will store intra-block sensitivity in 2-bit quantization. The sensitivity, as well as hardware performances for each layer, will be stored in a lookup table. When calculating the fitness value and determining the hardware performances in a genetic algorithm, we will check the lookup table. For genetic algorithm, we set the population size to 50 and evolve 100 iterations to obtain the best individual. The first population is initialized by Gaussian distribution and we round the samples to integers in [0, 1, 2], corresponding to bit-width [2, 4, 8]. The mutation probability is set to 0.1. The genetic algorithm usually completes the evolution in only about 3 seconds.
|
| 414 |
+
|
| 415 |
+
For object detection tasks, we use 256 training images taken from the MS COCO dataset for calibration. The image resolution is set to 800 (max size 1333) for ResNet-18 and ResNet-50, while the image resolution for MobileNetV2 is set to 600 (max size 1000). Note that we only apply block reconstruction in the backbone because other parts of the architecture, such as Feature Pyramid Net, do not have the block structure. Therefore a naive layer reconstruction is applied to the rest of the network. Learning hyper-parameters are kept the same with ImageNet experiments.
|
parse/train/POWv6hDd9XH/POWv6hDd9XH_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/POWv6hDd9XH/POWv6hDd9XH_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/POWv6hDd9XH/POWv6hDd9XH_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/d20KTY2VrNk/d20KTY2VrNk.md
ADDED
|
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Instance-Dependent Label-Noise Learning under Structural Causal Models
|
| 2 |
+
|
| 3 |
+
Yu Yao1 Tongliang Liu1† Mingming Gong2 Bo Han3 Gang Niu4 Kun Zhang5
|
| 4 |
+
|
| 5 |
+
1TML Lab, University of Sydney; 2University of Melbourne; 3Hong Kong Baptist University; 4RIKEN AIP; 5Carnegie Mellon University
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
Label noise generally degenerates the performance of deep learning algorithms because deep neural networks easily overfit label errors. Let $X$ and $Y$ denote the instance and clean label, respectively. When $Y$ is a cause of $X$ , according to which many datasets have been constructed, e.g., SVHN and CIFAR, the distributions of $P ( X )$ and $P ( { Y \vert } X )$ are generally entangled. This means that the unsupervised instances are helpful to learn the classifier and thus reduce the side effect of label noise. However, it remains elusive on how to exploit the causal information to handle the label-noise problem. We propose to model and make use of the causal process in order to correct the label-noise effect. Empirically, the proposed method outperforms all state-of-the-art methods on both synthetic and real-world labelnoise datasets.
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
Learning with noisy labels can be dated back to [1] and has recently drawn a lot of attention [15, 19, 11, 10, 28]. In real life, large-scale datasets are likely to contain label noise. It is partly because that many cheap but imperfect data collection methods such as crowd-sourcing and web crawling are widely used to build large-scale datasets. Training with such data usually lead to poor generalization abilities of deep neural networks because they can memorize noisy labels [2, 33].
|
| 14 |
+
|
| 15 |
+
To improve the generalization ability of training with noisy labels, one family of existing label-noise learning methods is to model how the label noise was generated [17, 19, 27, 34, 14]. Specifically, these methods try to reveal the transition relationship from clean labels to noisy labels of instances, i.e., the distribution $P ( \tilde { Y } | Y , X )$ , where $\tilde { Y }$ , $Y$ and $X$ are the random variables for the noisy label, latent clean label, and instance, respectively. The advantage of modelling label noise is that given only the noisy data, when the transition relationship is identifiable, classifiers can be learned to converge to the optimal ones defined by the clean data, with theoretical guarantees. However, the transition relationship is not identifiable in general. To make it identifiable, various assumptions have been made on the transition relationship. For example, Natarajan et al. [17] assume that the transition relationship is instance independent, i.e., $P ( \tilde { Y } | Y , X ) = \bar { P } ( \tilde { Y } | Y )$ ; Xia et al. [30] assume that the $P ( { \tilde { Y } } | Y , X )$ is dependent on different parts of an instance. Cheng et al. [7] assume that the label noise rates are upper bounded. In practice, these assumptions may not be satisfied and are generally hard to be verified given noisy data alone.
|
| 16 |
+
|
| 17 |
+
Inspired by causal learning [20, 25, 21, 23], we provide a causal perspective of label-noise learning method named CausalNL. We exploit the causal information to help identifiability of the transition matrix $P ( { \tilde { Y } } | Y , X )$ other than making assumptions directly on the transition relationship.
|
| 18 |
+
|
| 19 |
+
Specifically, we assume that the data containing instancedependent label noise is generated according to the causal graph in Fig. 1. For example, for the Street View House Numbers (SVHN) dataset [18], $X$ represents the image containing the digit; $Y$ represents the clean label of the digit shown on the plate; $Z$ represents the latent variable that captures the information affecting the generation of the images, e.g., orientation, lighting, and font style. Here $Y$ is naturally a cause of $X$ and the causal generative process can be described in the following way. First, the house plate is generated according to the street number and attached to the front door. Then, the house plate is captured by a camera (installed in a Google street view car) to form $X$ , taking into account of other factors such as illumination and viewpoint. Finally, the images containing house numbers are collected and relabeled to form the dataset. Let us denote the annotated label by the noisy label $\tilde { Y }$ as the annotator may not be always reliable, especially when the dataset is very large but the budget is limited. During the annotation process, the noisy labels were generated according to both the images and the range of predefined digit numbers. Hence, both $X$ and $Y$ are causes of $\tilde { Y }$ . Note that most existing image datasets are collected with the causal relationship that $Y$ causes $X$ . For example, see the widely used FashionMNIST and CIFAR. When we synthesize instance-dependent label noise based on them, we will have the causal graph illustrated in Fig. 1. Note also that some datasets are generated with the causal relationship that $X$ causes $Y$ . Other than using domain knowledge, the different causal relationships can be verified by employing causal discovery [26, 25, 21, 37].
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: A graphical causal model which reveals a generative process of the data which contains instancedependent label noise, where the shaded variables are observable and the unshaded variables are latent.
|
| 23 |
+
|
| 24 |
+
When the latent clean label $Y$ is a cause of $X$ , $P ( X )$ will generally contain some information about $P ( { Y \vert } X )$ . This is because, under such a generative process, the distributions of $P ( X )$ and $P ( { Y \vert } X )$ are entangled [22, 39]. To help estimate $P ( { Y \vert } X )$ with $P ( X )$ , we make use of the causal generative process to estimate $P ( X | Y )$ , which directly benefits from $P ( X )$ by generative modeling. The modeling of $P ( X | Y )$ in turn encourages the identifiability of the transition relationship and helps learn $P ( { Y \vert } X )$ . For example, in Fig. 2(a), we have added instance-dependent label-noise with a rate $45 \%$ (i.e., $\mathrm { I D L N } { - } 4 5 \% )$ to the MOON dataset and employed different methods [10, 36] to solve the label-noise learning problem. As illustrated in Fig. 2(b) and Fig. 2(c), previous methods fail to infer clean labels. In contrast, by constraining the conditional distribution of the instances, i.e., restricting the data of each class to be on a manifold by setting the dimension of the latent variable $Z$ to be 1-dimensional, the label transition as well as the clean labels can be successfully recovered (by the proposed method), which is showed in Fig. 2(d). It is worth noting that the idea of finding $P ( { Y \vert } X )$ by modeling $P ( Y )$ and $P ( X | Y )$ instead has been exploited in the context of domain adaptation; for instance, it inspires target shift, (generalized) conditional shift and other settings for domain adaptation [38, 9]
|
| 25 |
+
|
| 26 |
+
Specifically, to make use of the causal graph to contribute to the identifiability of the transition matrix, we propose a causally inspired deep generative method, which models the causal structure with all the observable and latent variables, i.e., the instance $X$ , the noisy label $\tilde { Y }$ , the latent feature $Z$ , and the latent clean label $Y$ . The proposed generative model captures the variables’ relationship indicated by the causal graph. Furthermore, built on the variational autoencoder (VAE) framework [12], we build an inference network which could efficiently infer the latent variables $Z$ and $Y$ when maximising the marginal likelihood $p ( X , { \tilde { Y } } )$ on the given noisy data. In the decoder phase, the data will be reconstructed by exploiting the conditional distribution of instances $P ( X | Y , Z )$ and the transition relationship $P ( { \tilde { Y } } | Y , X )$ , i.e.,
|
| 27 |
+
|
| 28 |
+
$$
|
| 29 |
+
p _ { \theta } ( X , \tilde { Y } ) = \int _ { z , y } P ( Z = z ) P ( Y = y ) p _ { \theta _ { 1 } } ( X | Y = y , Z = z ) p _ { \theta _ { 2 } } ( \tilde { Y } | Y = y , X ) \mathrm { d } z \mathrm { d } y
|
| 30 |
+
$$
|
| 31 |
+
|
| 32 |
+
will be exploited, where $\theta : = \left( \theta _ { 1 } , \theta _ { 2 } \right)$ are the parameters of the causal generative model (more details can be found in Section 3). Ay a high level, according to the equation, given the noisy data and the distributions of $Z$ and $Y$ , constraining $p _ { \theta _ { 1 } } ( X | Y , Z )$ will also greatly reduce the uncertainty of $p _ { \theta _ { 2 } } ( { \tilde { Y } } | Y , X )$ and thus contribute to the identifiability of the transition matrix. Note that adding a constraint on $p _ { \theta _ { 1 } } ( X | Y , Z )$ is natural; for example, images often have a low-dimensional manifold [3]. We can restrict $P ( Z )$ to fulfill the constraint on $p _ { \theta _ { 1 } } ( X | Y , Z )$ . By exploiting the causal structure and the constraint on instances to better model label noise, the proposed method significantly outperforms the baselines. When the label noise rate is large, the superiority is evidenced by a large gain in the classification performance.
|
| 33 |
+
|
| 34 |
+

|
| 35 |
+
Figure 2: (a) An illustration of the MOON training dataset which contains $4 5 \%$ of instance-dependent label noise. Different instances have different noise rates which are randomly generated according to Xia et al. [30]. (b)-(d) The illustration of the classification performance of co-teaching, mixup, and our method, respectively.
|
| 36 |
+
|
| 37 |
+
The rest of the paper is organized as follows. In Section 2, we briefly review the background knowledge of label-noise learning and causality. In Section 3, we formulate our method, named CausalNL, and discuss how it helps to learn a clean classifier, followed by the implementation details. Experimental validations are provided in Section 4. Section 5 concludes the paper.
|
| 38 |
+
|
| 39 |
+
# 2 Noisy Labels and Causality
|
| 40 |
+
|
| 41 |
+
In this section, firstly, we introduce how to model label noise. Then, we introduce the structural causal model and discuss how to exploit the model to encourage the identifiability of the transition relationship and help learn the classifier.
|
| 42 |
+
|
| 43 |
+
Transition Relationship To build a statistically consistent classifier that converges to the optimal classifier defined on clean data by only employing noisy data, the transition relationship $P ( \tilde { Y } | Y , X )$ has to be identified. Given an instance, the conditional distribution can be written in an $C \times C$ matrix which is called the transition matrix [19, 29, 30], where $C$ represents the number of classes. Specifically, for each instance $x$ , there is a transition matrix $T ( x )$ . The $i j$ -th entry of the transition matrix is $T _ { i j } ( x ) = P ( \tilde { Y } = i | Y = j , X = x )$ , which represents the probability that the instance $x$ with the clean label $Y = j$ will have a noisy label $\tilde { Y } = i$ .
|
| 44 |
+
|
| 45 |
+
The transition matrix has been widely studied to build statistically consistent classifiers, because the clean class posterior distribution $P ( \pmb { Y } | \pmb { x } ) = [ P ( \pmb { Y } = 1 | \pmb { X } = \pmb { x } ) , \dots , P ( \pmb { Y } = C | \pmb { X } = \pmb { x } ) ] ^ { \top }$ can be inferred by using the transition matrix and the noisy class posterior $P ( \tilde { Y } | x ) = [ P ( \tilde { Y } =$ $1 | X = x ) , \ldots , P ( \tilde { Y } = C | X = x ) ] ^ { \top }$ , i.e., we have $P ( \tilde { \mathbf { Y } } | x ) = T ( x ) P ( \mathbf { Y } | x )$ . Specifically, the transition matrix has been used to modify loss functions to build risk-consistent estimators; see, e.g., [8, 19, 35, 28], and has been used to correct hypotheses to build classifier-consistent algorithms; see, e.g., [17, 24, 19]. Moreover, the state-of-the-art statically inconsistent algorithms [11, 10] also use diagonal entries of the transition matrix to help select reliable examples used for training.
|
| 46 |
+
|
| 47 |
+
However, the distribution $P ( { \tilde { Y } } | Y , X )$ is not generally identifiable [28]. To make it identifiable, one has to resort to additional assumptions. The most widely used assumption is that given clean label $Y$ , the noisy label $\tilde { Y }$ is conditionally independent of instance $X$ , i.e., $\mathbf { \bar { \xi } } P ( \tilde { Y } | Y , X ) = P ( \tilde { Y } | Y )$ . Under such an assumption, the transition relationship $P ( \tilde { Y } | Y )$ can be successfully identified with the anchor point assumption [15, 34, 14]. However, in the real-world scenarios, this assumption may be hard to satisfied. Although $P ( \tilde { Y } | Y )$ can be used to approximate $P ( { \tilde { Y } } | Y , X )$ , the approximation error can be large in many cases. As for the efforts to model the instance-dependent transition matrix directly, existing methods rely on rather strong assumptions, e.g., the bounded noise rate assumption [7], the part-dependent label noise assumption [30], and the requirement of additional information about the transition matrix [4]. Although the assumptions help the methods achieve superior performance empirically, they are generally difficult to verify or fulfill, limiting their applications in practice.
|
| 48 |
+
|
| 49 |
+
Structural Causal Model Motivated by the limitation of the current methods, we provide a new causal perspective to learn the identifiable of instance-dependent label noise model. Here we briefly introduce some background knowledge of causality [25] used in this paper. A structural causal model (SCM) consists of a set of variables connected by a set of functions. It represents a flow of information and reveals causal relationships among all the variables, providing a fine-grained description of the data generation process. The causal structure encoded by SCMs can be represented as a graphical casual model as shown in Fig. 1, where each node is a variable and each edge is a function involving noise. The SCM corresponding to the graph in Fig. 1 can be written as
|
| 50 |
+
|
| 51 |
+

|
| 52 |
+
Figure 3: A working flow of our method.
|
| 53 |
+
|
| 54 |
+
$$
|
| 55 |
+
Z = \epsilon _ { Z } , Y = \epsilon _ { Y } , X = f ( Z , Y , \epsilon _ { X } ) , \tilde { Y } = f ( X , Y , \epsilon _ { \tilde { Y } } ) ,
|
| 56 |
+
$$
|
| 57 |
+
|
| 58 |
+
where $\epsilon _ { Z } , \epsilon _ { Y } ,$ $\epsilon _ { X }$ and $\epsilon _ { \tilde { Y } }$ are independent exogenous variables, and they sometimes also called error variables. For example, $\epsilon _ { X }$ are an error variable for $X$ , which is responsible for any difference between the actual value of $X$ and the value predicted on the basis of $Z$ and $Y$ alone. Each equation specifies a distribution of a variable conditioned on its parents (which are an empty set for root cause variables in the graph).
|
| 59 |
+
|
| 60 |
+
By making use of the SCM, the benefit of the instances to learning the classifier can be clearly explained. Specifically, the instance $X$ is a function of its label $Y$ and latent feature $Z$ , which means that the instance $X$ is generated from $Y$ and $Z$ . Therefore $X$ must contains information about its clean label $Y$ and latent feature $Z$ . That is the reason that $P ( X )$ can help identify $P ( { Y \vert } X )$ and also $P ( Z | X )$ . However, since we do not have clean labels, it is hard to fully identify $P ( { Y \vert } X )$ from $P ( X )$ in the unsupervised setting. For example, on the MOON dataset shown in Fig. 2 , we can possibly discover the two clusters by enforcing the manifold constraint, but it is impossible to see which class each cluster belongs to. We show in the following that we can make use of the property of $P ( X | Y )$ to help model label noise, i.e., encourage the identifiability of the transition relationship, thereby learning a better classifier.
|
| 61 |
+
|
| 62 |
+
Specifically, under the Markov condition [20], which intuitively means the independence of exogenous variables, the joint distribution $P ( \tilde { Y } , X , Y , Z )$ specified by the SCM can be factorized as follows.
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
P ( X , \tilde { Y } , Y , Z ) = P ( Y ) P ( Z ) P ( X | Y , Z ) P ( \tilde { Y } | Y , X ) .
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
This motivates us to extend VAE [12] to perform inference in our causal model to fit the noisy data in the next section. In the decoder phase, given the noisy data and the distributions of $Z$ and $Y$ , adding a constraint on $P ( X | Y , Z )$ will reduce the uncertainty in the distribution $P ( { \tilde { Y } } | Y , X )$ . In other words, modeling of $P ( X | Y , Z )$ will encourage the identifiability of the transition relationship and thus better model label noise. Since $P ( { \tilde { Y } } | Y , X )$ functions as a bridge to connect the noisy labels to clean labels, we accordingly can better learn $P ( { Y \vert } X )$ or the classifier by only using the noisy data.
|
| 69 |
+
|
| 70 |
+
There are normally two ways to add constraints on the instances, i.e., assuming a specific parametric generative model or introducing prior knowledge of the instances. In this paper, since we mainly study the image classification problem with noisy labels, we focus on the manifold property of images and apply the low-dimensional manifold constraint to the instances.
|
| 71 |
+
|
| 72 |
+
# 3 Causality Captured Instance-Dependent Label-Noise Learning
|
| 73 |
+
|
| 74 |
+
In this section, we propose a structural generative method which captures the causal relationship and utilizes $P ( X )$ to help identify the label-noise transition matrix, and therefore, our method leads to a better classifier that assigns more accurate labels.
|
| 75 |
+
|
| 76 |
+
# 3.1 Variational Inference under the Structural Causal Model
|
| 77 |
+
|
| 78 |
+
To model the generation process of noisy data and to approximate the distribution of the noisy data, our method is designed to follow the causal factorization (see Eq. 2). Specifically, our model contains two decoder networks which jointly model a distribution $p _ { \theta } ( X , { \tilde { Y } } | Y , Z )$ and two encoder (inference) networks which jointly model the posterior distribution $q _ { \phi } ( Z , Y | X )$ . Here we discuss each component of our model in detail.
|
| 79 |
+
|
| 80 |
+
Let the two decoder networks model the distributions $p _ { \theta _ { 1 } } ( X | Y , Z )$ and $p _ { \theta _ { 2 } } ( { \tilde { Y } } | Y , X )$ , respectively. Let $\theta _ { 1 }$ and $\theta _ { 2 }$ be learnable parameters of the distributions. Without loss of generality, we set $p ( Z )$ to a standard normal distribution and $p ( Y )$ to a uniform distribution. Then, modeling the joint distribution in Eq. 2 boils down to modeling the distribution $p _ { \theta } ( X , { \tilde { Y } } | Y , Z )$ , which is decomposed as follows:
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
\begin{array} { r } { p _ { \theta } ( X , \tilde { Y } | Y , Z ) = p _ { \theta _ { 1 } } ( X | Y , Z ) p _ { \theta _ { 2 } } ( \tilde { Y } | Y , X ) . } \end{array}
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
To infer latent variables $Z$ and $Y$ with only observable variables $X$ and $\tilde { Y }$ , we design an inference network which model the variational distribution $q _ { \phi } ( Z , Y | \tilde { Y } , X )$ . Specifically, let $q _ { \phi _ { 2 } } ( Z | Y , X )$ and $q _ { \phi _ { 1 } } ( Y | \tilde { Y } , X )$ be the distributions parameterized by learnable parameters $\phi _ { 1 }$ and $\phi _ { 2 }$ , and then the posterior distribution can be decomposed as follows:
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
q _ { \phi } ( Z , Y | \tilde { Y } , X ) = q _ { \phi _ { 2 } } ( Z | Y , X ) q _ { \phi _ { 1 } } ( Y | \tilde { Y } , X ) ,
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
where we do not include $\tilde { Y }$ as a conditioning variable in $q _ { \phi _ { 2 } } ( Z | Y , X )$ because the causal graph implies $Z \perp \tilde { Y } | X , Y$ . One problem with this posterior form is that we cannot directly employ $q _ { \phi _ { 1 } } ( Y | \tilde { Y } , X )$ to predict labels on the test data, on which $\tilde { Y }$ is absent.
|
| 93 |
+
|
| 94 |
+
To reduce computational costs and to allow our method efficiently infer clean labels, we approximate $q _ { \phi _ { 1 } } ( Y | \tilde { Y } , X )$ by assuming that given the instance $X$ , the clean label $Y$ is conditionally independent from the noisy label $\tilde { Y }$ , i.e., $q _ { \phi _ { 1 } } ( Y | \tilde { Y } , X ) = q _ { \phi _ { 1 } } ( Y | X )$ . This approximation is expected not to have very large approximation error because the images contain sufficient information to predict the clean labels. Thus, we could simplify Eq. 4 as follows
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
q _ { \phi } ( Z , Y | X ) = q _ { \phi _ { 2 } } ( Z | Y , X ) q _ { \phi _ { 1 } } ( Y | X ) ,
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
such that our encoder networks model $q _ { \phi _ { 2 } } ( Z | Y , X )$ and $q _ { \phi _ { 1 } } ( Y | X )$ , respectively. This way, $q _ { \phi _ { 1 } } ( Y | X )$ can be used to infer clean labels efficiently.2 We also found that the encoder network modelling $q _ { \phi _ { 1 } } ( Y | X )$ can directly act as a regularizer, which helps to identify $p _ { \theta _ { 2 } } ( { \tilde { Y } } | Y , X )$ . Moreover, be benefited from this, our method can serve as a general framework which can be easily integrated with the current discriminative label-noise methods [28, 16, 10], and we will showcase it by collaborating co-teaching [10] with our method.
|
| 101 |
+
|
| 102 |
+
Optimization of Parameters Because the marginal distribution $p _ { \theta } ( X , { \tilde { Y } } )$ is usually intractable, to learn the set of parameters $\{ \theta _ { 1 } , \theta _ { 2 } , \phi _ { 1 } , \phi _ { 2 } \}$ given only noisy data, we follow the variational inference framework [5] to maximize the negative evidence lower-bound $\operatorname { E L B O } ( x , \tilde { y } )$ of the marginal likelihood of each datapoint $( x , \tilde { y } )$ instead of maximizing the marginal likelihood itself. By ensembling our decoder and encoder networks, $\operatorname { E L B O } ( x , \tilde { y } )$ is derived as follows:
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
\begin{array} { r l } & { \mathrm { E L B O } ( x , \tilde { y } ) = \mathbb { E } _ { ( z , y ) \sim q _ { \phi } ( Z , Y \mid x ) } \left[ \log p _ { \theta _ { 1 } } ( x \vert y , z ) \right] + \mathbb { E } _ { y \sim q _ { \phi _ { 1 } } ( Y \mid x ) } \left[ \log p _ { \theta _ { 2 } } ( \tilde { y } \vert y , x ) \right] } \\ & { \phantom { = \ } - k l ( q _ { \phi _ { 1 } } ( Y \vert x ) \| p ( Y ) ) - \mathbb { E } _ { y \sim q _ { \phi _ { 1 } } ( Y \mid x ) } \left[ k l ( q _ { \phi } ( Z \vert y , x ) \| p ( Z ) ) \right] , } \end{array}
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
where $k l ( \cdot )$ is the Kullback–Leibler divergence between two distributions. The derivation details are left out in Appendix A. Our model learns the class-conditional distribution $P ( X | Y )$ by maximizing the first expectation in ELBO, which is equivalent to minimizing the reconstruction loss [12]. By learning $P ( X )$ , the inference network $q _ { \phi _ { 1 } } ( Y | X )$ has to select a suitable parameter $\phi ^ { * }$ which samples the $y$ and $z$ to minimize the reconstruction loss $\mathbb { E } _ { ( z , y ) \sim q _ { \phi } ( Z , Y | x ) } \left[ \log p _ { \theta _ { 1 } } ( x | y , z ) \right]$ . When the dimension of $Z$ is chosen to be much smaller than that of $X$ , to obtain a smaller reconstruction error, the decoder has to utilize the information provided by $Y$ , and force the value of $Y$ to be useful for
|
| 109 |
+
|
| 110 |
+
# Algorithm 1 CausalNL
|
| 111 |
+
|
| 112 |
+
Input: A noisy sample $S$ , Average noise rate $\rho$ , Total epoch $T _ { m a x }$ , Batch size $N$ .
|
| 113 |
+
1: For $\mathrm { T } = 1 , \dots , T _ { m a x }$ :
|
| 114 |
+
2: For mini-batch $\bar { S } = \{ x _ { i } \} _ { i = 0 } ^ { N } , \tilde { L } = \{ \tilde { y } _ { i } \} _ { i = 0 } ^ { N }$ in $S$ :
|
| 115 |
+
3: Feed $\bar { S }$ to encoders $\hat { q } _ { \phi _ { 1 } ^ { 1 } }$ and $\hat { q } _ { \phi _ { 1 } ^ { 2 } }$ to get clean label sets $L _ { 1 }$ and $L _ { 2 }$ , respectively;
|
| 116 |
+
4: Feed $( \bar { S } , L _ { 1 } )$ to encoder $\hat { q } _ { \phi _ { 2 } ^ { 1 } }$ to get a representation set $H _ { 1 }$ , feed $( \bar { S } , L _ { 2 } )$ to $\hat { q } _ { \phi _ { 2 } ^ { 2 } }$ to get $H _ { 2 }$ ;
|
| 117 |
+
5: Update $\hat { q } _ { \phi _ { 2 } ^ { 1 } }$ and $\hat { q } _ { \phi _ { 2 } ^ { 2 } }$ with co-teaching loss;
|
| 118 |
+
6: Feed $( L _ { 1 } , H _ { 1 } )$ to decoder $\hat { p } _ { \theta _ { 1 } ^ { 1 } }$ to get reconstructed dataset $\bar { S } _ { 1 }$ , feed $( L _ { 2 } , H _ { 2 } )$ to $\hat { p } _ { \theta _ { 1 } ^ { 2 } }$ to get $\bar { S } _ { 2 }$ ;
|
| 119 |
+
7: Feed $( { \bar { S } } _ { 1 } , L _ { 1 } )$ to decoder $\hat { p } _ { \theta _ { 2 } ^ { 1 } }$ to get predicted noisy labels ${ \tilde { L } } _ { 1 }$ , feed $( \bar { S } _ { 2 } , L _ { 2 } )$ to $\hat { p } _ { \theta _ { 2 } ^ { 2 } }$ to get ${ \tilde { L } } _ { 2 }$ ;
|
| 120 |
+
8: Update networks $\hat { q } _ { \phi _ { 1 } ^ { 1 } }$ , $\hat { q } _ { \phi _ { 2 } ^ { 1 } }$ , $\hat { p } _ { \theta _ { 1 } ^ { 1 } }$ and $\hat { p } _ { \theta _ { 2 } ^ { 1 } }$ by calculating ELBO on $( \bar { S } , \bar { S } _ { 1 } , \tilde { L } , \tilde { L } _ { 1 } )$ , update
|
| 121 |
+
networks $\hat { q } _ { \phi _ { 1 } ^ { 2 } }$ , $\hat { q } _ { \phi _ { 2 } ^ { 2 } }$ , $\hat { p } _ { \theta _ { 1 } ^ { 2 } }$ and $\hat { p } _ { \theta _ { 2 } ^ { 2 } }$ by calculating ELBO on $( \bar { S } , \bar { S } _ { 2 } , \tilde { L } , \tilde { L } _ { 2 } )$ ;
|
| 122 |
+
|
| 123 |
+
Output: The inference network $\hat { q } _ { \phi _ { 1 } ^ { 1 } }$
|
| 124 |
+
|
| 125 |
+
prediction. Furthermore, we constrain the $Y$ to be a one-hot vector, and then $Y$ could be a cluster ID of which the manifold of the $X$ belongs.
|
| 126 |
+
|
| 127 |
+
So far, the latent variable $Y$ can be inferred as a cluster ID instead of a clean class ID. To further link the clusters to clean labels, a naive approach is to select some reliable examples and keep the cluster numbers to be consistent with the noisy labels on these examples. In such a way, the latent representation $Z$ and clean label $Y$ can be effectively inferred, and therefore, it encourages the identifiability of the transition relationship $p _ { \theta _ { 2 } } ( { \tilde { Y } } | Y , { \tilde { X } } )$ . To achieve this, instead of explicitly selecting the reliable example in advance, our method is trained end-to-end, i.e., reliable examples are selected dynamically during the update of parameters of our model by using the co-teaching technique [10]. The advantage of this approach is that the selection bias of the reliable example [6] can be greatly reduced. Intuitively, the accurately selected reliable examples can encourage the identifiability of $p _ { \theta _ { 2 } } ( { \tilde { Y } } | Y , X )$ and $p _ { \theta _ { 1 } } ( X | Y , Z )$ , and the accurately estimated $p _ { \theta _ { 2 } } ( { \tilde { Y } } | Y , X )$ and $p _ { \theta _ { 1 } } ( X | Y , Z )$ will encourage the network to select more reliable examples.
|
| 128 |
+
|
| 129 |
+
# 3.2 Practical Implementation
|
| 130 |
+
|
| 131 |
+
Our method is summarized in Algorithm 1 and illustrated in Fig. 3. Here we introduce the structure of our model and loss functions.
|
| 132 |
+
|
| 133 |
+
Model Structure Because we incorporate co-teaching in our model training, we need to add a copy of the decoder and encoders in our method. As the two branches share the same architectures, we first present the details of the first branch and then briefly introduce the second branch.
|
| 134 |
+
|
| 135 |
+
For the first branch, we need a set of encoders and decoders to model the distributions in Eq. 3 and 5. Specifically, we have two encoder networks
|
| 136 |
+
|
| 137 |
+
$$
|
| 138 |
+
Y _ { 1 } = \hat { q } _ { \phi _ { 1 } ^ { 1 } } ( X ) , ~ Z _ { 1 } \sim \hat { q } _ { \phi _ { 2 } ^ { 1 } } ( X , Y _ { 1 } )
|
| 139 |
+
$$
|
| 140 |
+
|
| 141 |
+
for Eq. 5 and two decoder networks
|
| 142 |
+
|
| 143 |
+
$$
|
| 144 |
+
X _ { 1 } = \hat { p } _ { \theta _ { 1 } ^ { 1 } } ( Y _ { 1 } , Z _ { 1 } ) , \ \tilde { Y } _ { 1 } = \hat { p } _ { \theta _ { 2 } ^ { 1 } } ( X _ { 1 } , Y _ { 1 } )
|
| 145 |
+
$$
|
| 146 |
+
|
| 147 |
+
for Eq. 3. The first encoder ${ \hat { q } } _ { \phi _ { 1 } ^ { 1 } } ( X )$ takes an instance $X$ as input ${ \hat { q } } _ { \phi _ { 1 } ^ { 1 } } ( X )$ and output a predicted clean label $Y _ { 1 }$ . The second encoder ${ \hat { q } } _ { \phi _ { 2 } ^ { 1 } } ( X , Y _ { 1 } )$ takes both the instance $X$ and the generated label $Y _ { 1 }$ as input and outputs a latent feature $Z _ { 1 }$ . Then the generated $Y _ { 1 }$ and $Z _ { 1 }$ are passed through the decoder $\hat { p } _ { \theta _ { 1 } ^ { 1 } } ( Y _ { 1 } , Z _ { 1 } )$ which will generate a reconstructed image $X _ { 1 }$ . Finally, the generated $X _ { 1 }$ and $Y _ { 1 }$ are the input to another decoder $\hat { p } _ { \theta _ { 2 } ^ { 1 } } ( X _ { 1 } , Y _ { 1 } )$ which returns predicted noisy labels $\tilde { Y } _ { 1 }$ . It is worth mentioning that the reparameterization trick [12] is used for sampling, so as to allow backpropagation in $\hat { q } _ { \phi _ { 2 } ^ { 1 } } ( X , Y _ { 1 } )$ .
|
| 148 |
+
|
| 149 |
+
Similarly, the encoder and decoder networks in the second branch are defined as follows:
|
| 150 |
+
|
| 151 |
+
$$
|
| 152 |
+
Y _ { 2 } = \hat { q } _ { \phi _ { 1 } ^ { 2 } } ( X ) , Z _ { 2 } \sim \hat { q } _ { \phi _ { 2 } ^ { 2 } } ( X , Y _ { 2 } ) , X _ { 2 } = \hat { p } _ { \theta _ { 1 } ^ { 2 } } ( Y _ { 2 } , Z _ { 2 } ) , \tilde { Y } _ { 2 } = \hat { p } _ { \theta _ { 2 } ^ { 2 } } ( X _ { 2 } , Y _ { 2 } ) .
|
| 153 |
+
$$
|
| 154 |
+
|
| 155 |
+
During training, we let two encoders ${ \hat { q } } _ { \phi _ { 1 } ^ { 1 } } ( X )$ and $\hat { q } _ { \phi _ { 1 } ^ { 2 } } ( X )$ teach each other given every mini-batch.
|
| 156 |
+
|
| 157 |
+
Loss Functions We divide the loss functions into two parts. The first part is the negative ELBO in Eq. 6, and the second part is a co-teaching loss. The detailed formulation is leaved in Appendix B.
|
| 158 |
+
|
| 159 |
+
For the negative ELBO, the first term $- \mathbb { E } _ { ( z , y ) \sim q _ { \phi } ( Z , Y \mid x ) } \left[ \log p _ { \theta _ { 1 } } ( x \mid y , z ) \right]$ is a reconstruction loss, and we use the $\ell { 1 }$ loss for reconstruction. The second term is $- \mathbb { E } _ { y \sim q _ { \phi _ { 1 } } ( Y | x ) } \left[ \log p _ { \theta _ { 2 } } ( \tilde { y } | y , x ) \right]$ , which aims to learn noisy labels given inference $y$ and $x$ , and can be simply replaced by the cross-entropy loss on outputs of both decoders $\hat { p } _ { \theta _ { 2 } ^ { 1 } } ( X _ { 1 } , Y _ { 1 } )$ and $\hat { p } _ { \theta _ { 2 } ^ { 2 } } ( X _ { 2 } , Y _ { 2 } )$ with the noisy labels contained in the training data. The additional two terms are two regularizers. To calculate $k l ( q _ { \phi _ { 1 } } ( Y | x ) | | p ( Y ) )$ , we assume that the prior $P ( Y )$ is a uniform distribution. Then minimizing $k l ( q _ { \phi _ { 1 } } ( Y | x ) | | p ( Y ) )$ is equivalent to maximizing the entropy of $q _ { \phi _ { 1 } } ( Y | x )$ for each instance $x$ , i.e., $\begin{array} { r } { - \sum _ { y } q _ { \phi _ { 1 } } ( y | x ) \log q _ { \phi _ { 1 } } ( y | x ) } \end{array}$ . The benefit for having this term is that it could reduce the overfiting problem of the inference network. For $\mathbb { E } _ { y \sim q _ { \phi _ { 1 } } ( Y | x ) } \left[ k l ( q _ { \phi } ( Z | y , x ) | | p ( Z ) ) \right]$ , we let $p ( Z )$ be a standard multivariate Gaussian distribution. Empirically, $q _ { \phi } ( Z | y , x )$ is modeled by the encoders ${ \hat { q } } _ { \phi _ { 1 } ^ { 1 } } ( X )$ and $\hat { q } _ { \phi _ { 1 } ^ { 2 } } ( X )$ which are designed to be deterministic mappings, therefore, the expectation can be removed, and only the $k l$ term $k l ( q _ { \phi } ( Z | y , x ) | | p ( Z ) )$ is left. When $p ( Z )$ is a Gaussian distribution, the $k l$ term nicely has a closed form solution [12], i.e., $\begin{array} { r l r } { \mathrm { ~ } } & { { } } & { - \frac { 1 } { 2 } \sum _ { j = 1 } ^ { J } ( 1 + \log ( ( \sigma _ { j } ) ^ { 2 } ) - ( \mu _ { j } ) ^ { 2 } - ( \sigma _ { j } ) ^ { 2 } ) } \end{array}$ , where $J$ is the dimension of a latent representation $z$ , and $\sigma _ { j }$ and $\mu _ { j }$ are the encoder outputs.
|
| 160 |
+
|
| 161 |
+
For the co-teaching loss, we follow the work of Han et al. [10]. Intuitively, two encoders ${ \hat { q } } _ { \phi _ { 1 } ^ { 1 } } ( X )$ and ${ \hat { q } } _ { \phi _ { 1 } ^ { 2 } } ( X )$ feed all data forward and selects some data of possibly clean labels. Then, two networks communicate with each other to select possible clean data in this mini-batch and use them for training. Finally, each encoder backpropagates over the data selected by its peer network and updates itself by cross-entropy loss.
|
| 162 |
+
|
| 163 |
+
# 4 Experiments
|
| 164 |
+
|
| 165 |
+
In this section, we compare the classification accuracy of proposed method with popular label-noise learning algorithms [15, 19, 11, 10, 28, 36, 16] on both synthetic and real-world datasets.
|
| 166 |
+
|
| 167 |
+
# 4.1 Experimental Setup
|
| 168 |
+
|
| 169 |
+
Datasets We examine the efficacy of our approach on manually corrupted versions of four datasets, i.e., FashionMNIST [31], SVHN [18], CIFAR10, CIFAR100 [13], and one real-world noisy dataset, i.e., Clothing1M [32]. FashionMNIST contains 60,000 training images and 10,000 test images with 10 classes; SVHN contains 73,257 training images and 26,032 test images with 10 classes. CIFAR10 contains 50,000 training images and 10,000 test images. CIFAR10 and CIFAR100 both contain 50,000 training images and 10,000 test images but the former has 10 classes of images, and the latter has 10 classes of images. The four datasets contain clean data. We add instance-dependent label noise to the training sets manually according to Xia et al. [30]. Clothing1M has 1M images with real-world noisy labels and $1 0 \mathrm { k }$ images with clean labels for testing. For all the synthetic noisy datasets, the experiments are repeated 5 times.
|
| 170 |
+
|
| 171 |
+
Network structure and optimization For a fair comparison, all experiments are conducted on NVIDIA Tesla V100, and all methods are implemented by PyTorch. Dimension of the latent representation $Z$ is set to 25 for all synthetic noisy datasets. For encoder networks ${ \hat { q } } _ { \phi _ { 1 } ^ { 1 } } ( X )$ and $\hat { q } _ { \phi _ { 1 } ^ { 2 } } ( X )$ , we use the same network structures with the baseline method. Specially, we use a ResNet-18 network for FashionMNIST, a ResNet-34 network for SVHN and CIFAR10, a ResNet-50 network for CIFAR100 without pretraining. For Clothing1M, we use ResNet-50 networks pre-trained on ImageNet. The data-augmentation methods random crop and horizontal flip are used for our method. For Clothing1M, we use a ResNet-50 network pre-trained on ImageNet, and the clean training data is not used. The dimensionality of the latent representation $Z$ is set to 100. Due to limited space, we leave the detailed structure of other decoders and encoders in Appendix C.
|
| 172 |
+
|
| 173 |
+
Baselines and measurements We compare the proposed method with the following state-of-the-art approaches: (i). CE, which trains the standard deep network with the cross-entropy loss on noisy datasets. (ii). Decoupling [16], which trains two networks on samples whose predictions from the two networks are different. (iii). MentorNet [11] and Co-teaching [10], which mainly handle noisy labels by training on instances with small loss values. (iv). Forward [19], Reweight [15], and T-Revision [28]. These approaches utilize a class-dependent transition matrix $T$ to correct the loss function. For these baselines, we follow the experiments settings of the original papers. We report average test accuracy on over the last ten epochs of each model on the clean test set. Higher classification accuracy means that the algorithm is more robust to the label noise.
|
| 174 |
+
|
| 175 |
+
Table 1: Means and standard deviations (percentage) of classification accuracy on FashionMNIST with different label noise levels.
|
| 176 |
+
|
| 177 |
+
<table><tr><td></td><td>IDN-20%</td><td>IDN-30%</td><td>IDN-40%</td><td>IDN-45%</td><td>IDN-50%</td></tr><tr><td>CE</td><td>88.54±0.32</td><td>88.38±0.42</td><td>84.22±0.35</td><td>69.72±0.72</td><td>52.32±0.68</td></tr><tr><td>Co-teaching</td><td>91.21±0.31</td><td>90.30±0.42</td><td>89.10±0.29</td><td>86.78±0.90</td><td>63.22±1.56</td></tr><tr><td>Decoupling</td><td>90.70±0.28</td><td>90.34±0.36</td><td>88.78±0.44</td><td>87.54±0.53</td><td>68.32±1.77</td></tr><tr><td>MentorNet</td><td>91.57±0.29</td><td>90.52±0.41</td><td>88.14±0.76</td><td>85.12±0.76</td><td>61.62±1.42</td></tr><tr><td>Mixup</td><td>88.68±0.37</td><td>88.02±0.37</td><td>85.47±0.55</td><td>79.57±0.75</td><td>66.02±2.58</td></tr><tr><td>Forward</td><td>90.05±0.43</td><td>88.65±0.43</td><td>86.27±0.48</td><td>73.35±1.03</td><td>58.23±3.14</td></tr><tr><td>Reweight</td><td>90.27±0.27</td><td>89.58±0.37</td><td>87.04±0.32</td><td>80.69±0.89</td><td>64.13±1.23</td></tr><tr><td>T-Revision</td><td>91.58±0.31</td><td>90.11±0.61</td><td>89.46±0.42</td><td>84.01±1.14</td><td>68.99±1.04</td></tr><tr><td>CausalNL</td><td>90.84±0.31</td><td>90.68±0.37</td><td>90.01±0.45</td><td>88.75±0.81</td><td>78.19±1.01</td></tr></table>
|
| 178 |
+
|
| 179 |
+
Table 2: Means and standard deviations (percentage) of classification accuracy on SVHN with different label noise levels.
|
| 180 |
+
|
| 181 |
+
<table><tr><td></td><td>IDN-20%</td><td>IDN-30%</td><td>IDN-40%</td><td>IDN-45%</td><td>IDN-50%</td></tr><tr><td>CE</td><td>91.51±0.45</td><td>91.21±0.43</td><td>87.87±1.12</td><td>67.15±1.65</td><td>51.01±3.62</td></tr><tr><td>Co-teaching</td><td>93.93±0.31</td><td>92.06±0.31</td><td>91.93±0.81</td><td>89.33±0.71</td><td>67.62±1.99</td></tr><tr><td>Decoupling</td><td>90.02±0.25</td><td>91.59±0.25</td><td>88.27±0.42</td><td>84.57±0.89</td><td>65.14±2.79</td></tr><tr><td>MentorNet</td><td>94.08±0.12</td><td>92.73±0.37</td><td>90.41±0.49</td><td>87.45±0.75</td><td>61.23±2.82</td></tr><tr><td>Mixup</td><td>89.73±0.37</td><td>90.02±0.35</td><td>85.47±0.63</td><td>82.41±0.62</td><td>68.95±2.58</td></tr><tr><td>Forward</td><td>91.89±0.31</td><td>91.59±0.23</td><td>89.33±0.53</td><td>80.15±1.91</td><td>62.53±3.35</td></tr><tr><td>Reweight</td><td>92.44±0.34</td><td>92.32±0.51</td><td>91.31±0.67</td><td>85.93±0.84</td><td>64.13±3.75</td></tr><tr><td>T-Revision</td><td>93.14±0.53</td><td>93.51±0.74</td><td>92.65±0.76</td><td>88.54±1.58</td><td>64.51±3.42</td></tr><tr><td>CausalNL</td><td>94.06±0.23</td><td>93.86±0.65</td><td>93.82±0.64</td><td>93.19±0.93</td><td>85.41±2.95</td></tr></table>
|
| 182 |
+
|
| 183 |
+
Table 3: Means and standard deviations (percentage) of classification accuracy on CIFAR10 with different label noise levels.
|
| 184 |
+
|
| 185 |
+
<table><tr><td></td><td>IDN-20%</td><td>IDN-30%</td><td>IDN-40%</td><td>IDN-45%</td><td>IDN-50%</td></tr><tr><td>CE</td><td>75.81±0.26</td><td>69.15±0.65</td><td>62.45±0.86</td><td>51.72±1.34</td><td>39.42±2.52</td></tr><tr><td>Co-teaching</td><td>80.96±0.31</td><td>78.56±0.61</td><td>73.41±0.78</td><td>71.60±0.79</td><td>45.92±2.21</td></tr><tr><td>Decoupling</td><td>78.71±0.15</td><td>75.17±0.58</td><td>61.73±0.34</td><td>58.61±1.73</td><td>50.43±2.19</td></tr><tr><td>MentorNet</td><td>81.03±0.24</td><td>77.22±0.47</td><td>71.83±0.49</td><td>66.18±0.64</td><td>47.89±2.03</td></tr><tr><td>Mixup</td><td>73.17±0.34</td><td>70.02±0.31</td><td>61.56±0.71</td><td>56.45±0.67</td><td>48.95±2.58</td></tr><tr><td>Forward</td><td>74.64±0.26</td><td>69.75±0.56</td><td>60.21±0.75</td><td>48.81±2.59</td><td>46.27±1.30</td></tr><tr><td>Reweight</td><td>76.23±0.25</td><td>70.12±0.72</td><td>62.58±0.46</td><td>51.54±0.92</td><td>45.46±2.56</td></tr><tr><td>T-Revision</td><td>76.15±0.37</td><td>70.36±0.54</td><td>64.09±0.37</td><td>52.42±1.01</td><td>49.02±2.13</td></tr><tr><td>CausalNL</td><td>81.47±0.32</td><td>80.38±0.44</td><td>77.53±0.45</td><td>78.60±1.06</td><td>67.39±1.24</td></tr></table>
|
| 186 |
+
|
| 187 |
+
# 4.2 Classification Accuracy Evaluation
|
| 188 |
+
|
| 189 |
+
Results on synthetic noisy datasets Tables 1, 2, 3, and 4 report the classification accuracy on the datasets of $F$ -MNIST, SVHN, CIFAR-10, and CIFAR100, respectively. The synthetic experiments reveal that our method is powerful in handling instance-dependent label noise particularly in the situation of high noise rates. Specifically, for all datasets, the classification accuracy of our method decrease much slower than that of baseline methods. Additionally, the classification accuracies on these datasets are improved by using CausalNL, which implies that our method should capture the underlying data generation process, and then $Y$ should be a cause of $X$ for all these datasets.
|
| 190 |
+
|
| 191 |
+
Table 4: Means and standard deviations (percentage) of classification accuracy on CIFAR100 with different label noise levels.
|
| 192 |
+
|
| 193 |
+
<table><tr><td></td><td>IDN-20%</td><td>IDN-30%</td><td>IDN-40%</td><td>IDN-45%</td><td>IDN-50%</td></tr><tr><td>CE</td><td>30.42±0.44</td><td>24.15±0.78</td><td>21.45±0.70</td><td>15.23±1.32</td><td>14.42±2.21</td></tr><tr><td>Co-teaching</td><td>37.96±0.53</td><td>33.43±0.74</td><td>28.04±1.43</td><td>25.60±0.93</td><td>23.97±1.91</td></tr><tr><td>Decoupling</td><td>36.53±0.49</td><td>30.93±0.88</td><td>27.85±0.91</td><td>23.81±1.31</td><td>19.59±2.12</td></tr><tr><td>MentorNet</td><td>38.91±0.54</td><td>34.23±0.73</td><td>31.89±1.19</td><td>27.53��1.23</td><td>24.15±2.31</td></tr><tr><td>Mixup</td><td>32.92±0.76</td><td>29.76±0.87</td><td>25.92±1.26</td><td>23.13±2.15</td><td>21.31±1.32</td></tr><tr><td>Forward</td><td>36.38±0.92</td><td>33.17±0.73</td><td>26.75±0.93</td><td>21.93±1.29</td><td>19.27±2.11</td></tr><tr><td>Reweight</td><td>36.73±0.72</td><td>31.91±0.91</td><td>28.39±1.46</td><td>24.12±1.41</td><td>20.23±1.23</td></tr><tr><td>T-Revision</td><td>37.24±0.85</td><td>36.54±0.79</td><td>27.23±1.13</td><td>25.53±1.94</td><td>22.54±1.95</td></tr><tr><td>CausalNL</td><td>41.47±0.43</td><td>40.98±0.62</td><td>34.02±0.95</td><td>33.34±1.13</td><td>32.129±2.23</td></tr></table>
|
| 194 |
+
|
| 195 |
+
Table 5: Classification accuracy on Clothing1M. In the experiments, only noisy samples are exploited to train and validate the deep model.
|
| 196 |
+
|
| 197 |
+
<table><tr><td>CE</td><td>Decoupling</td><td>MentorNet</td><td>Co-teaching</td><td>Forward</td><td>Reweight</td><td>T-Revision</td><td>caualNL</td></tr><tr><td>68.88</td><td>54.53</td><td>56.79</td><td>60.15</td><td>69.91</td><td>70.40</td><td>70.97</td><td>72.24</td></tr></table>
|
| 198 |
+
|
| 199 |
+
For noisy $F$ -MNIST, SVHN and CIFAR-10, in the easy case IDN- $20 \%$ , almost all methods work well. When the noise rate is $30 \%$ , the advantages of causalNL begin to show. We surpassed all methods obviously. When the noise rate raises, all the baselines are gradually defeated. Finally, in the hardest case, i.e., IDN- $50 \%$ , the superiority of causalNL widens the gap of performance. The classification accuracy of causalNL is at least over $10 \%$ higher than the best baseline method. For noisy CIFAR-100, none of the methods works well. However, causalNL still overtakes the other methods with clear gaps for all different levels of noise rate.
|
| 200 |
+
|
| 201 |
+
Results on the real-world noisy dataset On the real-world noisy dataset Clothing1M, our method causalNL outperforms all the baselines, as shown in Table 5. The experimental results also show that the noise type in Clothing1M is more likely to be instance-dependent label noise, suggesting that the instance-independent assumption on the transition matrix sometimes can be strong.
|
| 202 |
+
|
| 203 |
+
# 5 Conclusion
|
| 204 |
+
|
| 205 |
+
In this paper, we have investigated how to use $P ( X )$ to help learn instance-dependent label noise. Specifically, previous assumptions are made on the transition matrix, and the assumptions are hard to be verified and might be violated on real-world datasets. From inspired by a causal perspective, when $Y$ is a cause of $X$ , then $P ( X )$ should contain useful information to infer the clean label $Y$ . We propose a novel generative approach called causalNL for instance-dependent label-noise learning. Our model makes use of the causal graph to contribute to the identifiability of the transition matrix, and therefore helps learn clean labels. In order to learn $P ( X )$ , compared to the previous methods, our method contains more parameters. But experiments on both synthetic and real-world noisy datasets show that a bit sacrifice on computational efficiency is worth it, i.e., the classification accuracy of casualNL significantly outperforms all the state-of-the-art methods. Additionally, the results also indicates that in classification problems, $Y$ can usually be considered as a cause of $X$ , and suggests that the understanding and modeling of the data generation process can help leverage additional information that is useful in solving advanced machine learning problems concerning the relationship between different modules of the data joint distribution. In our future work, we will study the theoretical properties of our method and establish identifiability results under certain assumptions on the data-generative process.
|
| 206 |
+
|
| 207 |
+
# Acknowledgments
|
| 208 |
+
|
| 209 |
+
TL was partially supported by Australian Research Council Projects DP-180103424, DE-190101473, and IC-190100031. GM was supported by Australian Research Council Project DE210101624. BH was supported by supported by the RGC Early Career Scheme No. 22200720 and NSFC Young Scientists Fund No. 62006202. GN was supported by JST AIP Acceleration Research Grant Number JPMJCR20U3, Japan. KZ was supported in part by the National Institutes of Health (NIH) under Contract R01HL159805, by the United States Air Force under Contract No. FA8650-17-C7715, by the NSF-Convergence Accelerator Track-D award #2134901, and by a grant from Apple. The NIH or NSF is not responsible for the views reported in this article. The authors thank the reviewers and the meta-reviewer for their helpful and constructive comments on this work.
|
| 210 |
+
|
| 211 |
+
# References
|
| 212 |
+
|
| 213 |
+
[1] Dana Angluin and Philip Laird. Learning from noisy examples. Machine Learning, 2(4): 343–370, 1988. [2] Devansh Arpit, Stanisław Jastrz˛ebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. A closer look at memorization in deep networks. In International Conference on Machine Learning, pages 233–242. PMLR, 2017.
|
| 214 |
+
[3] Mikhail Belkin, Partha Niyogi, and Vikas Sindhwani. Manifold regularization: A geometric framework for learning from labeled and unlabeled examples. Journal of machine learning research, 7(11), 2006.
|
| 215 |
+
[4] Antonin Berthon, Bo Han, Gang Niu, Tongliang Liu, and Masashi Sugiyama. Confidence scores make instance-dependent label-noise learning possible. In ICML, 2021.
|
| 216 |
+
[5] David M Blei, Alp Kucukelbir, and Jon D McAuliffe. Variational inference: A review for statisticians. Journal of the American statistical Association, 112(518):859–877, 2017.
|
| 217 |
+
[6] Hao Cheng, Zhaowei Zhu, Xingyu Li, Yifei Gong, Xing Sun, and Yang Liu. Learning with instance-dependent label noise: A sample sieve approach. In ICLR, 2021.
|
| 218 |
+
[7] Jiacheng Cheng, Tongliang Liu, Kotagiri Ramamohanarao, and Dacheng Tao. Learning with bounded instance and label-dependent label noise. In ICML, 2020.
|
| 219 |
+
[8] Jacob Goldberger and Ehud Ben-Reuven. Training deep neural-networks using a noise adaptation layer. In ICLR, 2017.
|
| 220 |
+
[9] Mingming Gong, Kun Zhang, Tongliang Liu, Dacheng Tao, Clark Glymour, and Bernhard Schölkopf. Domain adaptation with conditional transferable components. In International conference on machine learning, pages 2839–2848. PMLR, 2016.
|
| 221 |
+
[10] Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In NeurIPS, pages 8527–8537, 2018.
|
| 222 |
+
[11] Lu Jiang, Zhengyuan Zhou, Thomas Leung, Li-Jia Li, and Li Fei-Fei. MentorNet: Learning data-driven curriculum for very deep neural networks on corrupted labels. In ICML, pages 2309–2318, 2018.
|
| 223 |
+
[12] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
|
| 224 |
+
[13] Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, 2009.
|
| 225 |
+
[14] Xuefeng Li, Tongliang Liu, Bo Han, Gang Niu, and Masashi Sugiyama. Provably end-to-end label-noise learning without anchor points. In ICML, 2021.
|
| 226 |
+
[15] Tongliang Liu and Dacheng Tao. Classification with noisy labels by importance reweighting. IEEE Transactions on pattern analysis and machine intelligence, 38(3):447–461, 2016.
|
| 227 |
+
[16] Eran Malach and Shai Shalev-Shwartz. Decoupling" when to update" from" how to update". In NeurIPS, pages 960–970, 2017.
|
| 228 |
+
[17] Nagarajan Natarajan, Inderjit S Dhillon, Pradeep K Ravikumar, and Ambuj Tewari. Learning with noisy labels. In NeurIPS, pages 1196–1204, 2013.
|
| 229 |
+
[18] Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, and Andrew $\mathrm { Y . N g }$ . Reading digits in natural images with unsupervised feature learning. In NIPS Workshop on Deep Learning and Unsupervised Feature Learning, 2011.
|
| 230 |
+
[19] Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. Making deep neural networks robust to label noise: A loss correction approach. In CVPR, pages 1944–1952, 2017.
|
| 231 |
+
[20] Judea Pearl. Causality: Models, Reasoning, and Inference. Cambridge University Press, New York, NY, USA, 2000. ISBN 0-521-77362-8.
|
| 232 |
+
[21] Jonas Peters, Dominik Janzing, and Bernhard Schölkopf. Elements of causal inference: foundations and learning algorithms. The MIT Press, 2017.
|
| 233 |
+
[22] B Schölkopf, D Janzing, J Peters, E Sgouritsa, K Zhang, and J Mooij. On causal and anticausal learning. In 29th International Conference on Machine Learning (ICML 2012), pages 1255– 1262. International Machine Learning Society, 2012.
|
| 234 |
+
[23] Bernhard Schölkopf. Causality for machine learning. arXiv preprint arXiv:1911.10500, 2019.
|
| 235 |
+
[24] Clayton Scott. A rate of convergence for mixture proportion estimation, with application to learning from noisy labels. In AISTATS, pages 838–846, 2015.
|
| 236 |
+
[25] Peter Spirtes and Kun Zhang. Causal discovery and inference: concepts and recent methodological advances. In Applied informatics, volume 3, pages 1–28. SpringerOpen, 2016.
|
| 237 |
+
[26] Peter Spirtes, Clark N Glymour, Richard Scheines, David Heckerman, Christopher Meek, Gregory Cooper, and Thomas Richardson. Causation, prediction, and search. MIT press, 2000.
|
| 238 |
+
[27] Songhua Wu, Xiaobo Xia, Tongliang Liu, Bo Han, Mingming Gong, Nannan Wang, Haifeng Liu, and Gang Niu. Class2simi: A noise reduction perspective on learning with noisy labels. In International Conference on Machine Learning, pages 11285–11295. PMLR, 2021.
|
| 239 |
+
[28] Xiaobo Xia, Tongliang Liu, Nannan Wang, Bo Han, Chen Gong, Gang Niu, and Masashi Sugiyama. Are anchor points really indispensable in label-noise learning? In NeurIPS, pages 6835–6846, 2019.
|
| 240 |
+
[29] Xiaobo Xia, Tongliang Liu, Nannan Wang, Bo Han, Chen Gong, Gang Niu, and Masashi Sugiyama. Are anchor points really indispensable in label-noise learning? In NeurIPS, pages 6838–6849, 2019.
|
| 241 |
+
[30] Xiaobo Xia, Tongliang Liu, Bo Han, Nannan Wang, Mingming Gong, Haifeng Liu, Gang Niu, Dacheng Tao, and Masashi Sugiyama. Part-dependent label noise: Towards instance-dependent label noise. In NeurIPS, 2020.
|
| 242 |
+
[31] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
|
| 243 |
+
[32] Tong Xiao, Tian Xia, Yi Yang, Chang Huang, and Xiaogang Wang. Learning from massive noisy labeled data for image classification. In CVPR, pages 2691–2699, 2015.
|
| 244 |
+
[33] Quanming Yao, Hansi Yang, Bo Han, Gang Niu, and James T Kwok. Searching to exploit memorization effect in learning with noisy labels. In ICML, 2020.
|
| 245 |
+
[34] Yu Yao, Tongliang Liu, Bo Han, Mingming Gong, Jiankang Deng, Gang Niu, and Masashi Sugiyama. Dual t: Reducing estimation error for transition matrix in label-noise learning. In NeurIPS, 2020.
|
| 246 |
+
[35] Xiyu Yu, Tongliang Liu, Mingming Gong, and Dacheng Tao. Learning with biased complementary labels. In ECCV, pages 68–83, 2018.
|
| 247 |
+
[36] Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In ICLR, 2018.
|
| 248 |
+
[37] Kun Zhang and Aapo Hyvarinen. On the identifiability of the post-nonlinear causal model. arXiv preprint arXiv:1205.2599, 2012.
|
| 249 |
+
[38] Kun Zhang, Mingming Gong, and Bernhard Schölkopf. Multi-source domain adaptation: A causal view. In Twenty-ninth AAAI conference on artificial intelligence, 2015.
|
| 250 |
+
[39] Kun Zhang, Jiji Zhang, and Bernhard Schölkopf. Distinguishing cause from effect based on exogeneity. arXiv preprint arXiv:1504.05651, 2015.
|
parse/train/d20KTY2VrNk/d20KTY2VrNk_content_list.json
ADDED
|
@@ -0,0 +1,1107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Instance-Dependent Label-Noise Learning under Structural Causal Models ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
204,
|
| 8 |
+
122,
|
| 9 |
+
795,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Yu Yao1 Tongliang Liu1† Mingming Gong2 Bo Han3 Gang Niu4 Kun Zhang5 ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
336,
|
| 19 |
+
220,
|
| 20 |
+
661,
|
| 21 |
+
250
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "1TML Lab, University of Sydney; 2University of Melbourne; 3Hong Kong Baptist University; 4RIKEN AIP; 5Carnegie Mellon University ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
187,
|
| 30 |
+
251,
|
| 31 |
+
803,
|
| 32 |
+
280
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
462,
|
| 42 |
+
314,
|
| 43 |
+
535,
|
| 44 |
+
332
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Label noise generally degenerates the performance of deep learning algorithms because deep neural networks easily overfit label errors. Let $X$ and $Y$ denote the instance and clean label, respectively. When $Y$ is a cause of $X$ , according to which many datasets have been constructed, e.g., SVHN and CIFAR, the distributions of $P ( X )$ and $P ( { Y \\vert } X )$ are generally entangled. This means that the unsupervised instances are helpful to learn the classifier and thus reduce the side effect of label noise. However, it remains elusive on how to exploit the causal information to handle the label-noise problem. We propose to model and make use of the causal process in order to correct the label-noise effect. Empirically, the proposed method outperforms all state-of-the-art methods on both synthetic and real-world labelnoise datasets. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
348,
|
| 54 |
+
766,
|
| 55 |
+
501
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
530,
|
| 66 |
+
312,
|
| 67 |
+
547
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Learning with noisy labels can be dated back to [1] and has recently drawn a lot of attention [15, 19, 11, 10, 28]. In real life, large-scale datasets are likely to contain label noise. It is partly because that many cheap but imperfect data collection methods such as crowd-sourcing and web crawling are widely used to build large-scale datasets. Training with such data usually lead to poor generalization abilities of deep neural networks because they can memorize noisy labels [2, 33]. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
564,
|
| 77 |
+
825,
|
| 78 |
+
632
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "To improve the generalization ability of training with noisy labels, one family of existing label-noise learning methods is to model how the label noise was generated [17, 19, 27, 34, 14]. Specifically, these methods try to reveal the transition relationship from clean labels to noisy labels of instances, i.e., the distribution $P ( \\tilde { Y } | Y , X )$ , where $\\tilde { Y }$ , $Y$ and $X$ are the random variables for the noisy label, latent clean label, and instance, respectively. The advantage of modelling label noise is that given only the noisy data, when the transition relationship is identifiable, classifiers can be learned to converge to the optimal ones defined by the clean data, with theoretical guarantees. However, the transition relationship is not identifiable in general. To make it identifiable, various assumptions have been made on the transition relationship. For example, Natarajan et al. [17] assume that the transition relationship is instance independent, i.e., $P ( \\tilde { Y } | Y , X ) = \\bar { P } ( \\tilde { Y } | Y )$ ; Xia et al. [30] assume that the $P ( { \\tilde { Y } } | Y , X )$ is dependent on different parts of an instance. Cheng et al. [7] assume that the label noise rates are upper bounded. In practice, these assumptions may not be satisfied and are generally hard to be verified given noisy data alone. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
638,
|
| 88 |
+
825,
|
| 89 |
+
824
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Inspired by causal learning [20, 25, 21, 23], we provide a causal perspective of label-noise learning method named CausalNL. We exploit the causal information to help identifiability of the transition matrix $P ( { \\tilde { Y } } | Y , X )$ other than making assumptions directly on the transition relationship. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
176,
|
| 98 |
+
832,
|
| 99 |
+
825,
|
| 100 |
+
876
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Specifically, we assume that the data containing instancedependent label noise is generated according to the causal graph in Fig. 1. For example, for the Street View House Numbers (SVHN) dataset [18], $X$ represents the image containing the digit; $Y$ represents the clean label of the digit shown on the plate; $Z$ represents the latent variable that captures the information affecting the generation of the images, e.g., orientation, lighting, and font style. Here $Y$ is naturally a cause of $X$ and the causal generative process can be described in the following way. First, the house plate is generated according to the street number and attached to the front door. Then, the house plate is captured by a camera (installed in a Google street view car) to form $X$ , taking into account of other factors such as illumination and viewpoint. Finally, the images containing house numbers are collected and relabeled to form the dataset. Let us denote the annotated label by the noisy label $\\tilde { Y }$ as the annotator may not be always reliable, especially when the dataset is very large but the budget is limited. During the annotation process, the noisy labels were generated according to both the images and the range of predefined digit numbers. Hence, both $X$ and $Y$ are causes of $\\tilde { Y }$ . Note that most existing image datasets are collected with the causal relationship that $Y$ causes $X$ . For example, see the widely used FashionMNIST and CIFAR. When we synthesize instance-dependent label noise based on them, we will have the causal graph illustrated in Fig. 1. Note also that some datasets are generated with the causal relationship that $X$ causes $Y$ . Other than using domain knowledge, the different causal relationships can be verified by employing causal discovery [26, 25, 21, 37]. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
92,
|
| 110 |
+
576,
|
| 111 |
+
297
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "image",
|
| 117 |
+
"img_path": "images/11a3256e8647b5d8a82c80d99a5dcb468f5604150dd14b34f720132d9fb55de5.jpg",
|
| 118 |
+
"image_caption": [
|
| 119 |
+
"Figure 1: A graphical causal model which reveals a generative process of the data which contains instancedependent label noise, where the shaded variables are observable and the unshaded variables are latent. "
|
| 120 |
+
],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"bbox": [
|
| 123 |
+
607,
|
| 124 |
+
92,
|
| 125 |
+
805,
|
| 126 |
+
185
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "",
|
| 133 |
+
"bbox": [
|
| 134 |
+
173,
|
| 135 |
+
297,
|
| 136 |
+
826,
|
| 137 |
+
425
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "When the latent clean label $Y$ is a cause of $X$ , $P ( X )$ will generally contain some information about $P ( { Y \\vert } X )$ . This is because, under such a generative process, the distributions of $P ( X )$ and $P ( { Y \\vert } X )$ are entangled [22, 39]. To help estimate $P ( { Y \\vert } X )$ with $P ( X )$ , we make use of the causal generative process to estimate $P ( X | Y )$ , which directly benefits from $P ( X )$ by generative modeling. The modeling of $P ( X | Y )$ in turn encourages the identifiability of the transition relationship and helps learn $P ( { Y \\vert } X )$ . For example, in Fig. 2(a), we have added instance-dependent label-noise with a rate $45 \\%$ (i.e., $\\mathrm { I D L N } { - } 4 5 \\% )$ to the MOON dataset and employed different methods [10, 36] to solve the label-noise learning problem. As illustrated in Fig. 2(b) and Fig. 2(c), previous methods fail to infer clean labels. In contrast, by constraining the conditional distribution of the instances, i.e., restricting the data of each class to be on a manifold by setting the dimension of the latent variable $Z$ to be 1-dimensional, the label transition as well as the clean labels can be successfully recovered (by the proposed method), which is showed in Fig. 2(d). It is worth noting that the idea of finding $P ( { Y \\vert } X )$ by modeling $P ( Y )$ and $P ( X | Y )$ instead has been exploited in the context of domain adaptation; for instance, it inspires target shift, (generalized) conditional shift and other settings for domain adaptation [38, 9] ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
173,
|
| 146 |
+
430,
|
| 147 |
+
825,
|
| 148 |
+
637
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "Specifically, to make use of the causal graph to contribute to the identifiability of the transition matrix, we propose a causally inspired deep generative method, which models the causal structure with all the observable and latent variables, i.e., the instance $X$ , the noisy label $\\tilde { Y }$ , the latent feature $Z$ , and the latent clean label $Y$ . The proposed generative model captures the variables’ relationship indicated by the causal graph. Furthermore, built on the variational autoencoder (VAE) framework [12], we build an inference network which could efficiently infer the latent variables $Z$ and $Y$ when maximising the marginal likelihood $p ( X , { \\tilde { Y } } )$ on the given noisy data. In the decoder phase, the data will be reconstructed by exploiting the conditional distribution of instances $P ( X | Y , Z )$ and the transition relationship $P ( { \\tilde { Y } } | Y , X )$ , i.e., ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
173,
|
| 157 |
+
643,
|
| 158 |
+
826,
|
| 159 |
+
775
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "equation",
|
| 165 |
+
"img_path": "images/458a397fc9a6ff6d29adb6b73c24fddb3927682b00748b96e9448b3a32eeb775.jpg",
|
| 166 |
+
"text": "$$\np _ { \\theta } ( X , \\tilde { Y } ) = \\int _ { z , y } P ( Z = z ) P ( Y = y ) p _ { \\theta _ { 1 } } ( X | Y = y , Z = z ) p _ { \\theta _ { 2 } } ( \\tilde { Y } | Y = y , X ) \\mathrm { d } z \\mathrm { d } y\n$$",
|
| 167 |
+
"text_format": "latex",
|
| 168 |
+
"bbox": [
|
| 169 |
+
222,
|
| 170 |
+
782,
|
| 171 |
+
777,
|
| 172 |
+
818
|
| 173 |
+
],
|
| 174 |
+
"page_idx": 1
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"type": "text",
|
| 178 |
+
"text": "will be exploited, where $\\theta : = \\left( \\theta _ { 1 } , \\theta _ { 2 } \\right)$ are the parameters of the causal generative model (more details can be found in Section 3). Ay a high level, according to the equation, given the noisy data and the distributions of $Z$ and $Y$ , constraining $p _ { \\theta _ { 1 } } ( X | Y , Z )$ will also greatly reduce the uncertainty of $p _ { \\theta _ { 2 } } ( { \\tilde { Y } } | Y , X )$ and thus contribute to the identifiability of the transition matrix. Note that adding a constraint on $p _ { \\theta _ { 1 } } ( X | Y , Z )$ is natural; for example, images often have a low-dimensional manifold [3]. We can restrict $P ( Z )$ to fulfill the constraint on $p _ { \\theta _ { 1 } } ( X | Y , Z )$ . By exploiting the causal structure and the constraint on instances to better model label noise, the proposed method significantly outperforms the baselines. When the label noise rate is large, the superiority is evidenced by a large gain in the classification performance. ",
|
| 179 |
+
"bbox": [
|
| 180 |
+
173,
|
| 181 |
+
825,
|
| 182 |
+
825,
|
| 183 |
+
912
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 1
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "image",
|
| 189 |
+
"img_path": "images/8edd33b129b52da12f985bc53180e31caf4a896b594844f7855f0560017d3e3c.jpg",
|
| 190 |
+
"image_caption": [
|
| 191 |
+
"Figure 2: (a) An illustration of the MOON training dataset which contains $4 5 \\%$ of instance-dependent label noise. Different instances have different noise rates which are randomly generated according to Xia et al. [30]. (b)-(d) The illustration of the classification performance of co-teaching, mixup, and our method, respectively. "
|
| 192 |
+
],
|
| 193 |
+
"image_footnote": [],
|
| 194 |
+
"bbox": [
|
| 195 |
+
179,
|
| 196 |
+
97,
|
| 197 |
+
805,
|
| 198 |
+
200
|
| 199 |
+
],
|
| 200 |
+
"page_idx": 2
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"type": "text",
|
| 204 |
+
"text": "",
|
| 205 |
+
"bbox": [
|
| 206 |
+
176,
|
| 207 |
+
277,
|
| 208 |
+
821,
|
| 209 |
+
320
|
| 210 |
+
],
|
| 211 |
+
"page_idx": 2
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"type": "text",
|
| 215 |
+
"text": "The rest of the paper is organized as follows. In Section 2, we briefly review the background knowledge of label-noise learning and causality. In Section 3, we formulate our method, named CausalNL, and discuss how it helps to learn a clean classifier, followed by the implementation details. Experimental validations are provided in Section 4. Section 5 concludes the paper. ",
|
| 216 |
+
"bbox": [
|
| 217 |
+
174,
|
| 218 |
+
325,
|
| 219 |
+
826,
|
| 220 |
+
382
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 2
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "text",
|
| 226 |
+
"text": "2 Noisy Labels and Causality ",
|
| 227 |
+
"text_level": 1,
|
| 228 |
+
"bbox": [
|
| 229 |
+
174,
|
| 230 |
+
404,
|
| 231 |
+
431,
|
| 232 |
+
421
|
| 233 |
+
],
|
| 234 |
+
"page_idx": 2
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"text": "In this section, firstly, we introduce how to model label noise. Then, we introduce the structural causal model and discuss how to exploit the model to encourage the identifiability of the transition relationship and help learn the classifier. ",
|
| 239 |
+
"bbox": [
|
| 240 |
+
174,
|
| 241 |
+
436,
|
| 242 |
+
825,
|
| 243 |
+
479
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 2
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"text": "Transition Relationship To build a statistically consistent classifier that converges to the optimal classifier defined on clean data by only employing noisy data, the transition relationship $P ( \\tilde { Y } | Y , X )$ has to be identified. Given an instance, the conditional distribution can be written in an $C \\times C$ matrix which is called the transition matrix [19, 29, 30], where $C$ represents the number of classes. Specifically, for each instance $x$ , there is a transition matrix $T ( x )$ . The $i j$ -th entry of the transition matrix is $T _ { i j } ( x ) = P ( \\tilde { Y } = i | Y = j , X = x )$ , which represents the probability that the instance $x$ with the clean label $Y = j$ will have a noisy label $\\tilde { Y } = i$ . ",
|
| 250 |
+
"bbox": [
|
| 251 |
+
174,
|
| 252 |
+
484,
|
| 253 |
+
825,
|
| 254 |
+
589
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 2
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"text": "The transition matrix has been widely studied to build statistically consistent classifiers, because the clean class posterior distribution $P ( \\pmb { Y } | \\pmb { x } ) = [ P ( \\pmb { Y } = 1 | \\pmb { X } = \\pmb { x } ) , \\dots , P ( \\pmb { Y } = C | \\pmb { X } = \\pmb { x } ) ] ^ { \\top }$ can be inferred by using the transition matrix and the noisy class posterior $P ( \\tilde { Y } | x ) = [ P ( \\tilde { Y } =$ $1 | X = x ) , \\ldots , P ( \\tilde { Y } = C | X = x ) ] ^ { \\top }$ , i.e., we have $P ( \\tilde { \\mathbf { Y } } | x ) = T ( x ) P ( \\mathbf { Y } | x )$ . Specifically, the transition matrix has been used to modify loss functions to build risk-consistent estimators; see, e.g., [8, 19, 35, 28], and has been used to correct hypotheses to build classifier-consistent algorithms; see, e.g., [17, 24, 19]. Moreover, the state-of-the-art statically inconsistent algorithms [11, 10] also use diagonal entries of the transition matrix to help select reliable examples used for training. ",
|
| 261 |
+
"bbox": [
|
| 262 |
+
173,
|
| 263 |
+
594,
|
| 264 |
+
825,
|
| 265 |
+
712
|
| 266 |
+
],
|
| 267 |
+
"page_idx": 2
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"text": "However, the distribution $P ( { \\tilde { Y } } | Y , X )$ is not generally identifiable [28]. To make it identifiable, one has to resort to additional assumptions. The most widely used assumption is that given clean label $Y$ , the noisy label $\\tilde { Y }$ is conditionally independent of instance $X$ , i.e., $\\mathbf { \\bar { \\xi } } P ( \\tilde { Y } | Y , X ) = P ( \\tilde { Y } | Y )$ . Under such an assumption, the transition relationship $P ( \\tilde { Y } | Y )$ can be successfully identified with the anchor point assumption [15, 34, 14]. However, in the real-world scenarios, this assumption may be hard to satisfied. Although $P ( \\tilde { Y } | Y )$ can be used to approximate $P ( { \\tilde { Y } } | Y , X )$ , the approximation error can be large in many cases. As for the efforts to model the instance-dependent transition matrix directly, existing methods rely on rather strong assumptions, e.g., the bounded noise rate assumption [7], the part-dependent label noise assumption [30], and the requirement of additional information about the transition matrix [4]. Although the assumptions help the methods achieve superior performance empirically, they are generally difficult to verify or fulfill, limiting their applications in practice. ",
|
| 272 |
+
"bbox": [
|
| 273 |
+
173,
|
| 274 |
+
717,
|
| 275 |
+
826,
|
| 276 |
+
877
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 2
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"text": "Structural Causal Model Motivated by the limitation of the current methods, we provide a new causal perspective to learn the identifiable of instance-dependent label noise model. Here we briefly introduce some background knowledge of causality [25] used in this paper. A structural causal model (SCM) consists of a set of variables connected by a set of functions. It represents a flow of information and reveals causal relationships among all the variables, providing a fine-grained description of the data generation process. The causal structure encoded by SCMs can be represented as a graphical casual model as shown in Fig. 1, where each node is a variable and each edge is a function involving noise. The SCM corresponding to the graph in Fig. 1 can be written as ",
|
| 283 |
+
"bbox": [
|
| 284 |
+
174,
|
| 285 |
+
882,
|
| 286 |
+
820,
|
| 287 |
+
911
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 2
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "image",
|
| 293 |
+
"img_path": "images/8870323952342d39d1beb50c1a7bee11d402367d8f4504321c5813b9c4f8fe5c.jpg",
|
| 294 |
+
"image_caption": [
|
| 295 |
+
"Figure 3: A working flow of our method. "
|
| 296 |
+
],
|
| 297 |
+
"image_footnote": [],
|
| 298 |
+
"bbox": [
|
| 299 |
+
236,
|
| 300 |
+
89,
|
| 301 |
+
761,
|
| 302 |
+
257
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 3
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "",
|
| 309 |
+
"bbox": [
|
| 310 |
+
173,
|
| 311 |
+
291,
|
| 312 |
+
825,
|
| 313 |
+
376
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 3
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "equation",
|
| 319 |
+
"img_path": "images/2e51b57396e26c522284c7a0739d4c18475057d9158f1e0c962cfc9619181836.jpg",
|
| 320 |
+
"text": "$$\nZ = \\epsilon _ { Z } , Y = \\epsilon _ { Y } , X = f ( Z , Y , \\epsilon _ { X } ) , \\tilde { Y } = f ( X , Y , \\epsilon _ { \\tilde { Y } } ) ,\n$$",
|
| 321 |
+
"text_format": "latex",
|
| 322 |
+
"bbox": [
|
| 323 |
+
305,
|
| 324 |
+
377,
|
| 325 |
+
691,
|
| 326 |
+
396
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 3
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "text",
|
| 332 |
+
"text": "where $\\epsilon _ { Z } , \\epsilon _ { Y } ,$ $\\epsilon _ { X }$ and $\\epsilon _ { \\tilde { Y } }$ are independent exogenous variables, and they sometimes also called error variables. For example, $\\epsilon _ { X }$ are an error variable for $X$ , which is responsible for any difference between the actual value of $X$ and the value predicted on the basis of $Z$ and $Y$ alone. Each equation specifies a distribution of a variable conditioned on its parents (which are an empty set for root cause variables in the graph). ",
|
| 333 |
+
"bbox": [
|
| 334 |
+
173,
|
| 335 |
+
398,
|
| 336 |
+
825,
|
| 337 |
+
468
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 3
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "text",
|
| 343 |
+
"text": "By making use of the SCM, the benefit of the instances to learning the classifier can be clearly explained. Specifically, the instance $X$ is a function of its label $Y$ and latent feature $Z$ , which means that the instance $X$ is generated from $Y$ and $Z$ . Therefore $X$ must contains information about its clean label $Y$ and latent feature $Z$ . That is the reason that $P ( X )$ can help identify $P ( { Y \\vert } X )$ and also $P ( Z | X )$ . However, since we do not have clean labels, it is hard to fully identify $P ( { Y \\vert } X )$ from $P ( X )$ in the unsupervised setting. For example, on the MOON dataset shown in Fig. 2 , we can possibly discover the two clusters by enforcing the manifold constraint, but it is impossible to see which class each cluster belongs to. We show in the following that we can make use of the property of $P ( X | Y )$ to help model label noise, i.e., encourage the identifiability of the transition relationship, thereby learning a better classifier. ",
|
| 344 |
+
"bbox": [
|
| 345 |
+
173,
|
| 346 |
+
473,
|
| 347 |
+
825,
|
| 348 |
+
613
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 3
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "Specifically, under the Markov condition [20], which intuitively means the independence of exogenous variables, the joint distribution $P ( \\tilde { Y } , X , Y , Z )$ specified by the SCM can be factorized as follows. ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
176,
|
| 357 |
+
617,
|
| 358 |
+
821,
|
| 359 |
+
648
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "equation",
|
| 365 |
+
"img_path": "images/50f008e26c208b60b80da24bd8045bc14dade9cf1b079d54a2a1ffe2e9d4f2b1.jpg",
|
| 366 |
+
"text": "$$\nP ( X , \\tilde { Y } , Y , Z ) = P ( Y ) P ( Z ) P ( X | Y , Z ) P ( \\tilde { Y } | Y , X ) .\n$$",
|
| 367 |
+
"text_format": "latex",
|
| 368 |
+
"bbox": [
|
| 369 |
+
321,
|
| 370 |
+
650,
|
| 371 |
+
674,
|
| 372 |
+
670
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 3
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "text",
|
| 378 |
+
"text": "This motivates us to extend VAE [12] to perform inference in our causal model to fit the noisy data in the next section. In the decoder phase, given the noisy data and the distributions of $Z$ and $Y$ , adding a constraint on $P ( X | Y , Z )$ will reduce the uncertainty in the distribution $P ( { \\tilde { Y } } | Y , X )$ . In other words, modeling of $P ( X | Y , Z )$ will encourage the identifiability of the transition relationship and thus better model label noise. Since $P ( { \\tilde { Y } } | Y , X )$ functions as a bridge to connect the noisy labels to clean labels, we accordingly can better learn $P ( { Y \\vert } X )$ or the classifier by only using the noisy data. ",
|
| 379 |
+
"bbox": [
|
| 380 |
+
173,
|
| 381 |
+
671,
|
| 382 |
+
825,
|
| 383 |
+
760
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 3
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "text",
|
| 389 |
+
"text": "There are normally two ways to add constraints on the instances, i.e., assuming a specific parametric generative model or introducing prior knowledge of the instances. In this paper, since we mainly study the image classification problem with noisy labels, we focus on the manifold property of images and apply the low-dimensional manifold constraint to the instances. ",
|
| 390 |
+
"bbox": [
|
| 391 |
+
174,
|
| 392 |
+
765,
|
| 393 |
+
825,
|
| 394 |
+
820
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 3
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "text",
|
| 400 |
+
"text": "3 Causality Captured Instance-Dependent Label-Noise Learning ",
|
| 401 |
+
"text_level": 1,
|
| 402 |
+
"bbox": [
|
| 403 |
+
173,
|
| 404 |
+
838,
|
| 405 |
+
728,
|
| 406 |
+
856
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 3
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "text",
|
| 412 |
+
"text": "In this section, we propose a structural generative method which captures the causal relationship and utilizes $P ( X )$ to help identify the label-noise transition matrix, and therefore, our method leads to a better classifier that assigns more accurate labels. ",
|
| 413 |
+
"bbox": [
|
| 414 |
+
176,
|
| 415 |
+
869,
|
| 416 |
+
825,
|
| 417 |
+
911
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 3
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "text",
|
| 423 |
+
"text": "3.1 Variational Inference under the Structural Causal Model ",
|
| 424 |
+
"text_level": 1,
|
| 425 |
+
"bbox": [
|
| 426 |
+
173,
|
| 427 |
+
90,
|
| 428 |
+
609,
|
| 429 |
+
106
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 4
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "To model the generation process of noisy data and to approximate the distribution of the noisy data, our method is designed to follow the causal factorization (see Eq. 2). Specifically, our model contains two decoder networks which jointly model a distribution $p _ { \\theta } ( X , { \\tilde { Y } } | Y , Z )$ and two encoder (inference) networks which jointly model the posterior distribution $q _ { \\phi } ( Z , Y | X )$ . Here we discuss each component of our model in detail. ",
|
| 436 |
+
"bbox": [
|
| 437 |
+
173,
|
| 438 |
+
116,
|
| 439 |
+
825,
|
| 440 |
+
188
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 4
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "Let the two decoder networks model the distributions $p _ { \\theta _ { 1 } } ( X | Y , Z )$ and $p _ { \\theta _ { 2 } } ( { \\tilde { Y } } | Y , X )$ , respectively. Let $\\theta _ { 1 }$ and $\\theta _ { 2 }$ be learnable parameters of the distributions. Without loss of generality, we set $p ( Z )$ to a standard normal distribution and $p ( Y )$ to a uniform distribution. Then, modeling the joint distribution in Eq. 2 boils down to modeling the distribution $p _ { \\theta } ( X , { \\tilde { Y } } | Y , Z )$ , which is decomposed as follows: ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
173,
|
| 449 |
+
195,
|
| 450 |
+
825,
|
| 451 |
+
255
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 4
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "equation",
|
| 457 |
+
"img_path": "images/d0c9224bc88c55b7bbcdae487a13b43bbc2db90c1df30bf95490e5d4946a5ec9.jpg",
|
| 458 |
+
"text": "$$\n\\begin{array} { r } { p _ { \\theta } ( X , \\tilde { Y } | Y , Z ) = p _ { \\theta _ { 1 } } ( X | Y , Z ) p _ { \\theta _ { 2 } } ( \\tilde { Y } | Y , X ) . } \\end{array}\n$$",
|
| 459 |
+
"text_format": "latex",
|
| 460 |
+
"bbox": [
|
| 461 |
+
351,
|
| 462 |
+
261,
|
| 463 |
+
647,
|
| 464 |
+
280
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 4
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "To infer latent variables $Z$ and $Y$ with only observable variables $X$ and $\\tilde { Y }$ , we design an inference network which model the variational distribution $q _ { \\phi } ( Z , Y | \\tilde { Y } , X )$ . Specifically, let $q _ { \\phi _ { 2 } } ( Z | Y , X )$ and $q _ { \\phi _ { 1 } } ( Y | \\tilde { Y } , X )$ be the distributions parameterized by learnable parameters $\\phi _ { 1 }$ and $\\phi _ { 2 }$ , and then the posterior distribution can be decomposed as follows: ",
|
| 471 |
+
"bbox": [
|
| 472 |
+
173,
|
| 473 |
+
287,
|
| 474 |
+
825,
|
| 475 |
+
349
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 4
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "equation",
|
| 481 |
+
"img_path": "images/272dd2b0a201dd17ba4eb8069d8398e7b68877ca80af7b9cbb2e37e2542e428b.jpg",
|
| 482 |
+
"text": "$$\nq _ { \\phi } ( Z , Y | \\tilde { Y } , X ) = q _ { \\phi _ { 2 } } ( Z | Y , X ) q _ { \\phi _ { 1 } } ( Y | \\tilde { Y } , X ) ,\n$$",
|
| 483 |
+
"text_format": "latex",
|
| 484 |
+
"bbox": [
|
| 485 |
+
348,
|
| 486 |
+
356,
|
| 487 |
+
648,
|
| 488 |
+
376
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 4
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "where we do not include $\\tilde { Y }$ as a conditioning variable in $q _ { \\phi _ { 2 } } ( Z | Y , X )$ because the causal graph implies $Z \\perp \\tilde { Y } | X , Y$ . One problem with this posterior form is that we cannot directly employ $q _ { \\phi _ { 1 } } ( Y | \\tilde { Y } , X )$ to predict labels on the test data, on which $\\tilde { Y }$ is absent. ",
|
| 495 |
+
"bbox": [
|
| 496 |
+
173,
|
| 497 |
+
383,
|
| 498 |
+
825,
|
| 499 |
+
433
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 4
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "To reduce computational costs and to allow our method efficiently infer clean labels, we approximate $q _ { \\phi _ { 1 } } ( Y | \\tilde { Y } , X )$ by assuming that given the instance $X$ , the clean label $Y$ is conditionally independent from the noisy label $\\tilde { Y }$ , i.e., $q _ { \\phi _ { 1 } } ( Y | \\tilde { Y } , X ) = q _ { \\phi _ { 1 } } ( Y | X )$ . This approximation is expected not to have very large approximation error because the images contain sufficient information to predict the clean labels. Thus, we could simplify Eq. 4 as follows ",
|
| 506 |
+
"bbox": [
|
| 507 |
+
173,
|
| 508 |
+
436,
|
| 509 |
+
825,
|
| 510 |
+
512
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 4
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "equation",
|
| 516 |
+
"img_path": "images/4acac89c1170e45fa5c1e9516f98e210a7b924717b5b7d2ce317d2045653d7e8.jpg",
|
| 517 |
+
"text": "$$\nq _ { \\phi } ( Z , Y | X ) = q _ { \\phi _ { 2 } } ( Z | Y , X ) q _ { \\phi _ { 1 } } ( Y | X ) ,\n$$",
|
| 518 |
+
"text_format": "latex",
|
| 519 |
+
"bbox": [
|
| 520 |
+
367,
|
| 521 |
+
518,
|
| 522 |
+
629,
|
| 523 |
+
536
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 4
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "such that our encoder networks model $q _ { \\phi _ { 2 } } ( Z | Y , X )$ and $q _ { \\phi _ { 1 } } ( Y | X )$ , respectively. This way, $q _ { \\phi _ { 1 } } ( Y | X )$ can be used to infer clean labels efficiently.2 We also found that the encoder network modelling $q _ { \\phi _ { 1 } } ( Y | X )$ can directly act as a regularizer, which helps to identify $p _ { \\theta _ { 2 } } ( { \\tilde { Y } } | Y , X )$ . Moreover, be benefited from this, our method can serve as a general framework which can be easily integrated with the current discriminative label-noise methods [28, 16, 10], and we will showcase it by collaborating co-teaching [10] with our method. ",
|
| 530 |
+
"bbox": [
|
| 531 |
+
173,
|
| 532 |
+
541,
|
| 533 |
+
826,
|
| 534 |
+
630
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 4
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "Optimization of Parameters Because the marginal distribution $p _ { \\theta } ( X , { \\tilde { Y } } )$ is usually intractable, to learn the set of parameters $\\{ \\theta _ { 1 } , \\theta _ { 2 } , \\phi _ { 1 } , \\phi _ { 2 } \\}$ given only noisy data, we follow the variational inference framework [5] to maximize the negative evidence lower-bound $\\operatorname { E L B O } ( x , \\tilde { y } )$ of the marginal likelihood of each datapoint $( x , \\tilde { y } )$ instead of maximizing the marginal likelihood itself. By ensembling our decoder and encoder networks, $\\operatorname { E L B O } ( x , \\tilde { y } )$ is derived as follows: ",
|
| 541 |
+
"bbox": [
|
| 542 |
+
174,
|
| 543 |
+
636,
|
| 544 |
+
825,
|
| 545 |
+
708
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 4
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "equation",
|
| 551 |
+
"img_path": "images/22054737de41d93c7ececa868b7162ef8796476b9db32db2357facf940827825.jpg",
|
| 552 |
+
"text": "$$\n\\begin{array} { r l } & { \\mathrm { E L B O } ( x , \\tilde { y } ) = \\mathbb { E } _ { ( z , y ) \\sim q _ { \\phi } ( Z , Y \\mid x ) } \\left[ \\log p _ { \\theta _ { 1 } } ( x \\vert y , z ) \\right] + \\mathbb { E } _ { y \\sim q _ { \\phi _ { 1 } } ( Y \\mid x ) } \\left[ \\log p _ { \\theta _ { 2 } } ( \\tilde { y } \\vert y , x ) \\right] } \\\\ & { \\phantom { = \\ } - k l ( q _ { \\phi _ { 1 } } ( Y \\vert x ) \\| p ( Y ) ) - \\mathbb { E } _ { y \\sim q _ { \\phi _ { 1 } } ( Y \\mid x ) } \\left[ k l ( q _ { \\phi } ( Z \\vert y , x ) \\| p ( Z ) ) \\right] , } \\end{array}\n$$",
|
| 553 |
+
"text_format": "latex",
|
| 554 |
+
"bbox": [
|
| 555 |
+
232,
|
| 556 |
+
713,
|
| 557 |
+
764,
|
| 558 |
+
756
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 4
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "text",
|
| 564 |
+
"text": "where $k l ( \\cdot )$ is the Kullback–Leibler divergence between two distributions. The derivation details are left out in Appendix A. Our model learns the class-conditional distribution $P ( X | Y )$ by maximizing the first expectation in ELBO, which is equivalent to minimizing the reconstruction loss [12]. By learning $P ( X )$ , the inference network $q _ { \\phi _ { 1 } } ( Y | X )$ has to select a suitable parameter $\\phi ^ { * }$ which samples the $y$ and $z$ to minimize the reconstruction loss $\\mathbb { E } _ { ( z , y ) \\sim q _ { \\phi } ( Z , Y | x ) } \\left[ \\log p _ { \\theta _ { 1 } } ( x | y , z ) \\right]$ . When the dimension of $Z$ is chosen to be much smaller than that of $X$ , to obtain a smaller reconstruction error, the decoder has to utilize the information provided by $Y$ , and force the value of $Y$ to be useful for ",
|
| 565 |
+
"bbox": [
|
| 566 |
+
173,
|
| 567 |
+
760,
|
| 568 |
+
826,
|
| 569 |
+
858
|
| 570 |
+
],
|
| 571 |
+
"page_idx": 4
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"type": "text",
|
| 575 |
+
"text": "Algorithm 1 CausalNL ",
|
| 576 |
+
"text_level": 1,
|
| 577 |
+
"bbox": [
|
| 578 |
+
174,
|
| 579 |
+
90,
|
| 580 |
+
330,
|
| 581 |
+
106
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 5
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "text",
|
| 587 |
+
"text": "",
|
| 588 |
+
"bbox": [
|
| 589 |
+
186,
|
| 590 |
+
109,
|
| 591 |
+
728,
|
| 592 |
+
125
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 5
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "Input: A noisy sample $S$ , Average noise rate $\\rho$ , Total epoch $T _ { m a x }$ , Batch size $N$ . \n1: For $\\mathrm { T } = 1 , \\dots , T _ { m a x }$ : \n2: For mini-batch $\\bar { S } = \\{ x _ { i } \\} _ { i = 0 } ^ { N } , \\tilde { L } = \\{ \\tilde { y } _ { i } \\} _ { i = 0 } ^ { N }$ in $S$ : \n3: Feed $\\bar { S }$ to encoders $\\hat { q } _ { \\phi _ { 1 } ^ { 1 } }$ and $\\hat { q } _ { \\phi _ { 1 } ^ { 2 } }$ to get clean label sets $L _ { 1 }$ and $L _ { 2 }$ , respectively; \n4: Feed $( \\bar { S } , L _ { 1 } )$ to encoder $\\hat { q } _ { \\phi _ { 2 } ^ { 1 } }$ to get a representation set $H _ { 1 }$ , feed $( \\bar { S } , L _ { 2 } )$ to $\\hat { q } _ { \\phi _ { 2 } ^ { 2 } }$ to get $H _ { 2 }$ ; \n5: Update $\\hat { q } _ { \\phi _ { 2 } ^ { 1 } }$ and $\\hat { q } _ { \\phi _ { 2 } ^ { 2 } }$ with co-teaching loss; \n6: Feed $( L _ { 1 } , H _ { 1 } )$ to decoder $\\hat { p } _ { \\theta _ { 1 } ^ { 1 } }$ to get reconstructed dataset $\\bar { S } _ { 1 }$ , feed $( L _ { 2 } , H _ { 2 } )$ to $\\hat { p } _ { \\theta _ { 1 } ^ { 2 } }$ to get $\\bar { S } _ { 2 }$ ; \n7: Feed $( { \\bar { S } } _ { 1 } , L _ { 1 } )$ to decoder $\\hat { p } _ { \\theta _ { 2 } ^ { 1 } }$ to get predicted noisy labels ${ \\tilde { L } } _ { 1 }$ , feed $( \\bar { S } _ { 2 } , L _ { 2 } )$ to $\\hat { p } _ { \\theta _ { 2 } ^ { 2 } }$ to get ${ \\tilde { L } } _ { 2 }$ ; \n8: Update networks $\\hat { q } _ { \\phi _ { 1 } ^ { 1 } }$ , $\\hat { q } _ { \\phi _ { 2 } ^ { 1 } }$ , $\\hat { p } _ { \\theta _ { 1 } ^ { 1 } }$ and $\\hat { p } _ { \\theta _ { 2 } ^ { 1 } }$ by calculating ELBO on $( \\bar { S } , \\bar { S } _ { 1 } , \\tilde { L } , \\tilde { L } _ { 1 } )$ , update \nnetworks $\\hat { q } _ { \\phi _ { 1 } ^ { 2 } }$ , $\\hat { q } _ { \\phi _ { 2 } ^ { 2 } }$ , $\\hat { p } _ { \\theta _ { 1 } ^ { 2 } }$ and $\\hat { p } _ { \\theta _ { 2 } ^ { 2 } }$ by calculating ELBO on $( \\bar { S } , \\bar { S } _ { 2 } , \\tilde { L } , \\tilde { L } _ { 2 } )$ ; ",
|
| 599 |
+
"bbox": [
|
| 600 |
+
179,
|
| 601 |
+
114,
|
| 602 |
+
823,
|
| 603 |
+
277
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 5
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "Output: The inference network $\\hat { q } _ { \\phi _ { 1 } ^ { 1 } }$ ",
|
| 610 |
+
"bbox": [
|
| 611 |
+
187,
|
| 612 |
+
279,
|
| 613 |
+
431,
|
| 614 |
+
295
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 5
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "prediction. Furthermore, we constrain the $Y$ to be a one-hot vector, and then $Y$ could be a cluster ID of which the manifold of the $X$ belongs. ",
|
| 621 |
+
"bbox": [
|
| 622 |
+
174,
|
| 623 |
+
327,
|
| 624 |
+
821,
|
| 625 |
+
354
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 5
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "So far, the latent variable $Y$ can be inferred as a cluster ID instead of a clean class ID. To further link the clusters to clean labels, a naive approach is to select some reliable examples and keep the cluster numbers to be consistent with the noisy labels on these examples. In such a way, the latent representation $Z$ and clean label $Y$ can be effectively inferred, and therefore, it encourages the identifiability of the transition relationship $p _ { \\theta _ { 2 } } ( { \\tilde { Y } } | Y , { \\tilde { X } } )$ . To achieve this, instead of explicitly selecting the reliable example in advance, our method is trained end-to-end, i.e., reliable examples are selected dynamically during the update of parameters of our model by using the co-teaching technique [10]. The advantage of this approach is that the selection bias of the reliable example [6] can be greatly reduced. Intuitively, the accurately selected reliable examples can encourage the identifiability of $p _ { \\theta _ { 2 } } ( { \\tilde { Y } } | Y , X )$ and $p _ { \\theta _ { 1 } } ( X | Y , Z )$ , and the accurately estimated $p _ { \\theta _ { 2 } } ( { \\tilde { Y } } | Y , X )$ and $p _ { \\theta _ { 1 } } ( X | Y , Z )$ will encourage the network to select more reliable examples. ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
173,
|
| 634 |
+
361,
|
| 635 |
+
825,
|
| 636 |
+
517
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 5
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "3.2 Practical Implementation ",
|
| 643 |
+
"text_level": 1,
|
| 644 |
+
"bbox": [
|
| 645 |
+
174,
|
| 646 |
+
534,
|
| 647 |
+
392,
|
| 648 |
+
549
|
| 649 |
+
],
|
| 650 |
+
"page_idx": 5
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"type": "text",
|
| 654 |
+
"text": "Our method is summarized in Algorithm 1 and illustrated in Fig. 3. Here we introduce the structure of our model and loss functions. ",
|
| 655 |
+
"bbox": [
|
| 656 |
+
174,
|
| 657 |
+
559,
|
| 658 |
+
823,
|
| 659 |
+
587
|
| 660 |
+
],
|
| 661 |
+
"page_idx": 5
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"type": "text",
|
| 665 |
+
"text": "Model Structure Because we incorporate co-teaching in our model training, we need to add a copy of the decoder and encoders in our method. As the two branches share the same architectures, we first present the details of the first branch and then briefly introduce the second branch. ",
|
| 666 |
+
"bbox": [
|
| 667 |
+
174,
|
| 668 |
+
593,
|
| 669 |
+
825,
|
| 670 |
+
636
|
| 671 |
+
],
|
| 672 |
+
"page_idx": 5
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"type": "text",
|
| 676 |
+
"text": "For the first branch, we need a set of encoders and decoders to model the distributions in Eq. 3 and 5. Specifically, we have two encoder networks ",
|
| 677 |
+
"bbox": [
|
| 678 |
+
173,
|
| 679 |
+
641,
|
| 680 |
+
825,
|
| 681 |
+
670
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 5
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "equation",
|
| 687 |
+
"img_path": "images/36e7f10596c3a863280078546af513ed91e6a6ba9afab07a4a3cf40d1347fe34.jpg",
|
| 688 |
+
"text": "$$\nY _ { 1 } = \\hat { q } _ { \\phi _ { 1 } ^ { 1 } } ( X ) , ~ Z _ { 1 } \\sim \\hat { q } _ { \\phi _ { 2 } ^ { 1 } } ( X , Y _ { 1 } )\n$$",
|
| 689 |
+
"text_format": "latex",
|
| 690 |
+
"bbox": [
|
| 691 |
+
388,
|
| 692 |
+
676,
|
| 693 |
+
609,
|
| 694 |
+
696
|
| 695 |
+
],
|
| 696 |
+
"page_idx": 5
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"type": "text",
|
| 700 |
+
"text": "for Eq. 5 and two decoder networks ",
|
| 701 |
+
"bbox": [
|
| 702 |
+
174,
|
| 703 |
+
702,
|
| 704 |
+
410,
|
| 705 |
+
717
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 5
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "equation",
|
| 711 |
+
"img_path": "images/d10f444025a98b23627729385dbbd0082887d87e606c41633ab457a617524ee2.jpg",
|
| 712 |
+
"text": "$$\nX _ { 1 } = \\hat { p } _ { \\theta _ { 1 } ^ { 1 } } ( Y _ { 1 } , Z _ { 1 } ) , \\ \\tilde { Y } _ { 1 } = \\hat { p } _ { \\theta _ { 2 } ^ { 1 } } ( X _ { 1 } , Y _ { 1 } )\n$$",
|
| 713 |
+
"text_format": "latex",
|
| 714 |
+
"bbox": [
|
| 715 |
+
370,
|
| 716 |
+
723,
|
| 717 |
+
627,
|
| 718 |
+
744
|
| 719 |
+
],
|
| 720 |
+
"page_idx": 5
|
| 721 |
+
},
|
| 722 |
+
{
|
| 723 |
+
"type": "text",
|
| 724 |
+
"text": "for Eq. 3. The first encoder ${ \\hat { q } } _ { \\phi _ { 1 } ^ { 1 } } ( X )$ takes an instance $X$ as input ${ \\hat { q } } _ { \\phi _ { 1 } ^ { 1 } } ( X )$ and output a predicted clean label $Y _ { 1 }$ . The second encoder ${ \\hat { q } } _ { \\phi _ { 2 } ^ { 1 } } ( X , Y _ { 1 } )$ takes both the instance $X$ and the generated label $Y _ { 1 }$ as input and outputs a latent feature $Z _ { 1 }$ . Then the generated $Y _ { 1 }$ and $Z _ { 1 }$ are passed through the decoder $\\hat { p } _ { \\theta _ { 1 } ^ { 1 } } ( Y _ { 1 } , Z _ { 1 } )$ which will generate a reconstructed image $X _ { 1 }$ . Finally, the generated $X _ { 1 }$ and $Y _ { 1 }$ are the input to another decoder $\\hat { p } _ { \\theta _ { 2 } ^ { 1 } } ( X _ { 1 } , Y _ { 1 } )$ which returns predicted noisy labels $\\tilde { Y } _ { 1 }$ . It is worth mentioning that the reparameterization trick [12] is used for sampling, so as to allow backpropagation in $\\hat { q } _ { \\phi _ { 2 } ^ { 1 } } ( X , Y _ { 1 } )$ . ",
|
| 725 |
+
"bbox": [
|
| 726 |
+
173,
|
| 727 |
+
751,
|
| 728 |
+
826,
|
| 729 |
+
861
|
| 730 |
+
],
|
| 731 |
+
"page_idx": 5
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"type": "text",
|
| 735 |
+
"text": "Similarly, the encoder and decoder networks in the second branch are defined as follows: ",
|
| 736 |
+
"bbox": [
|
| 737 |
+
176,
|
| 738 |
+
866,
|
| 739 |
+
758,
|
| 740 |
+
882
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 5
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "equation",
|
| 746 |
+
"img_path": "images/17e232c7c39bc42a67a9b51256080d1c6d3f283a1a3afd43284c9e3c720769e2.jpg",
|
| 747 |
+
"text": "$$\nY _ { 2 } = \\hat { q } _ { \\phi _ { 1 } ^ { 2 } } ( X ) , Z _ { 2 } \\sim \\hat { q } _ { \\phi _ { 2 } ^ { 2 } } ( X , Y _ { 2 } ) , X _ { 2 } = \\hat { p } _ { \\theta _ { 1 } ^ { 2 } } ( Y _ { 2 } , Z _ { 2 } ) , \\tilde { Y } _ { 2 } = \\hat { p } _ { \\theta _ { 2 } ^ { 2 } } ( X _ { 2 } , Y _ { 2 } ) .\n$$",
|
| 748 |
+
"text_format": "latex",
|
| 749 |
+
"bbox": [
|
| 750 |
+
230,
|
| 751 |
+
888,
|
| 752 |
+
767,
|
| 753 |
+
910
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 5
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "During training, we let two encoders ${ \\hat { q } } _ { \\phi _ { 1 } ^ { 1 } } ( X )$ and $\\hat { q } _ { \\phi _ { 1 } ^ { 2 } } ( X )$ teach each other given every mini-batch. ",
|
| 760 |
+
"bbox": [
|
| 761 |
+
173,
|
| 762 |
+
90,
|
| 763 |
+
820,
|
| 764 |
+
108
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 6
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"text": "Loss Functions We divide the loss functions into two parts. The first part is the negative ELBO in Eq. 6, and the second part is a co-teaching loss. The detailed formulation is leaved in Appendix B. ",
|
| 771 |
+
"bbox": [
|
| 772 |
+
173,
|
| 773 |
+
113,
|
| 774 |
+
820,
|
| 775 |
+
142
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 6
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "text",
|
| 781 |
+
"text": "For the negative ELBO, the first term $- \\mathbb { E } _ { ( z , y ) \\sim q _ { \\phi } ( Z , Y \\mid x ) } \\left[ \\log p _ { \\theta _ { 1 } } ( x \\mid y , z ) \\right]$ is a reconstruction loss, and we use the $\\ell { 1 }$ loss for reconstruction. The second term is $- \\mathbb { E } _ { y \\sim q _ { \\phi _ { 1 } } ( Y | x ) } \\left[ \\log p _ { \\theta _ { 2 } } ( \\tilde { y } | y , x ) \\right]$ , which aims to learn noisy labels given inference $y$ and $x$ , and can be simply replaced by the cross-entropy loss on outputs of both decoders $\\hat { p } _ { \\theta _ { 2 } ^ { 1 } } ( X _ { 1 } , Y _ { 1 } )$ and $\\hat { p } _ { \\theta _ { 2 } ^ { 2 } } ( X _ { 2 } , Y _ { 2 } )$ with the noisy labels contained in the training data. The additional two terms are two regularizers. To calculate $k l ( q _ { \\phi _ { 1 } } ( Y | x ) | | p ( Y ) )$ , we assume that the prior $P ( Y )$ is a uniform distribution. Then minimizing $k l ( q _ { \\phi _ { 1 } } ( Y | x ) | | p ( Y ) )$ is equivalent to maximizing the entropy of $q _ { \\phi _ { 1 } } ( Y | x )$ for each instance $x$ , i.e., $\\begin{array} { r } { - \\sum _ { y } q _ { \\phi _ { 1 } } ( y | x ) \\log q _ { \\phi _ { 1 } } ( y | x ) } \\end{array}$ . The benefit for having this term is that it could reduce the overfiting problem of the inference network. For $\\mathbb { E } _ { y \\sim q _ { \\phi _ { 1 } } ( Y | x ) } \\left[ k l ( q _ { \\phi } ( Z | y , x ) | | p ( Z ) ) \\right]$ , we let $p ( Z )$ be a standard multivariate Gaussian distribution. Empirically, $q _ { \\phi } ( Z | y , x )$ is modeled by the encoders ${ \\hat { q } } _ { \\phi _ { 1 } ^ { 1 } } ( X )$ and $\\hat { q } _ { \\phi _ { 1 } ^ { 2 } } ( X )$ which are designed to be deterministic mappings, therefore, the expectation can be removed, and only the $k l$ term $k l ( q _ { \\phi } ( Z | y , x ) | | p ( Z ) )$ is left. When $p ( Z )$ is a Gaussian distribution, the $k l$ term nicely has a closed form solution [12], i.e., $\\begin{array} { r l r } { \\mathrm { ~ } } & { { } } & { - \\frac { 1 } { 2 } \\sum _ { j = 1 } ^ { J } ( 1 + \\log ( ( \\sigma _ { j } ) ^ { 2 } ) - ( \\mu _ { j } ) ^ { 2 } - ( \\sigma _ { j } ) ^ { 2 } ) } \\end{array}$ , where $J$ is the dimension of a latent representation $z$ , and $\\sigma _ { j }$ and $\\mu _ { j }$ are the encoder outputs. ",
|
| 782 |
+
"bbox": [
|
| 783 |
+
173,
|
| 784 |
+
147,
|
| 785 |
+
825,
|
| 786 |
+
358
|
| 787 |
+
],
|
| 788 |
+
"page_idx": 6
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "text",
|
| 792 |
+
"text": "For the co-teaching loss, we follow the work of Han et al. [10]. Intuitively, two encoders ${ \\hat { q } } _ { \\phi _ { 1 } ^ { 1 } } ( X )$ and ${ \\hat { q } } _ { \\phi _ { 1 } ^ { 2 } } ( X )$ feed all data forward and selects some data of possibly clean labels. Then, two networks communicate with each other to select possible clean data in this mini-batch and use them for training. Finally, each encoder backpropagates over the data selected by its peer network and updates itself by cross-entropy loss. ",
|
| 793 |
+
"bbox": [
|
| 794 |
+
174,
|
| 795 |
+
363,
|
| 796 |
+
825,
|
| 797 |
+
438
|
| 798 |
+
],
|
| 799 |
+
"page_idx": 6
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "text",
|
| 803 |
+
"text": "4 Experiments ",
|
| 804 |
+
"text_level": 1,
|
| 805 |
+
"bbox": [
|
| 806 |
+
174,
|
| 807 |
+
458,
|
| 808 |
+
312,
|
| 809 |
+
476
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 6
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "text",
|
| 815 |
+
"text": "In this section, we compare the classification accuracy of proposed method with popular label-noise learning algorithms [15, 19, 11, 10, 28, 36, 16] on both synthetic and real-world datasets. ",
|
| 816 |
+
"bbox": [
|
| 817 |
+
174,
|
| 818 |
+
489,
|
| 819 |
+
823,
|
| 820 |
+
518
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 6
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "text",
|
| 826 |
+
"text": "4.1 Experimental Setup ",
|
| 827 |
+
"text_level": 1,
|
| 828 |
+
"bbox": [
|
| 829 |
+
174,
|
| 830 |
+
536,
|
| 831 |
+
351,
|
| 832 |
+
551
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 6
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"text": "Datasets We examine the efficacy of our approach on manually corrupted versions of four datasets, i.e., FashionMNIST [31], SVHN [18], CIFAR10, CIFAR100 [13], and one real-world noisy dataset, i.e., Clothing1M [32]. FashionMNIST contains 60,000 training images and 10,000 test images with 10 classes; SVHN contains 73,257 training images and 26,032 test images with 10 classes. CIFAR10 contains 50,000 training images and 10,000 test images. CIFAR10 and CIFAR100 both contain 50,000 training images and 10,000 test images but the former has 10 classes of images, and the latter has 10 classes of images. The four datasets contain clean data. We add instance-dependent label noise to the training sets manually according to Xia et al. [30]. Clothing1M has 1M images with real-world noisy labels and $1 0 \\mathrm { k }$ images with clean labels for testing. For all the synthetic noisy datasets, the experiments are repeated 5 times. ",
|
| 839 |
+
"bbox": [
|
| 840 |
+
173,
|
| 841 |
+
561,
|
| 842 |
+
825,
|
| 843 |
+
700
|
| 844 |
+
],
|
| 845 |
+
"page_idx": 6
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "text",
|
| 849 |
+
"text": "Network structure and optimization For a fair comparison, all experiments are conducted on NVIDIA Tesla V100, and all methods are implemented by PyTorch. Dimension of the latent representation $Z$ is set to 25 for all synthetic noisy datasets. For encoder networks ${ \\hat { q } } _ { \\phi _ { 1 } ^ { 1 } } ( X )$ and $\\hat { q } _ { \\phi _ { 1 } ^ { 2 } } ( X )$ , we use the same network structures with the baseline method. Specially, we use a ResNet-18 network for FashionMNIST, a ResNet-34 network for SVHN and CIFAR10, a ResNet-50 network for CIFAR100 without pretraining. For Clothing1M, we use ResNet-50 networks pre-trained on ImageNet. The data-augmentation methods random crop and horizontal flip are used for our method. For Clothing1M, we use a ResNet-50 network pre-trained on ImageNet, and the clean training data is not used. The dimensionality of the latent representation $Z$ is set to 100. Due to limited space, we leave the detailed structure of other decoders and encoders in Appendix C. ",
|
| 850 |
+
"bbox": [
|
| 851 |
+
173,
|
| 852 |
+
707,
|
| 853 |
+
825,
|
| 854 |
+
849
|
| 855 |
+
],
|
| 856 |
+
"page_idx": 6
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"type": "text",
|
| 860 |
+
"text": "Baselines and measurements We compare the proposed method with the following state-of-the-art approaches: (i). CE, which trains the standard deep network with the cross-entropy loss on noisy datasets. (ii). Decoupling [16], which trains two networks on samples whose predictions from the two networks are different. (iii). MentorNet [11] and Co-teaching [10], which mainly handle noisy labels by training on instances with small loss values. (iv). Forward [19], Reweight [15], and T-Revision [28]. These approaches utilize a class-dependent transition matrix $T$ to correct the loss function. For these baselines, we follow the experiments settings of the original papers. We report average test accuracy on over the last ten epochs of each model on the clean test set. Higher classification accuracy means that the algorithm is more robust to the label noise. ",
|
| 861 |
+
"bbox": [
|
| 862 |
+
174,
|
| 863 |
+
856,
|
| 864 |
+
823,
|
| 865 |
+
911
|
| 866 |
+
],
|
| 867 |
+
"page_idx": 6
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "table",
|
| 871 |
+
"img_path": "images/9ba0e724333e14ebf5ae74c6a7c9fcffd045f11c0d42cea2d12a7c6be488b0bd.jpg",
|
| 872 |
+
"table_caption": [
|
| 873 |
+
"Table 1: Means and standard deviations (percentage) of classification accuracy on FashionMNIST with different label noise levels. "
|
| 874 |
+
],
|
| 875 |
+
"table_footnote": [],
|
| 876 |
+
"table_body": "<table><tr><td></td><td>IDN-20%</td><td>IDN-30%</td><td>IDN-40%</td><td>IDN-45%</td><td>IDN-50%</td></tr><tr><td>CE</td><td>88.54±0.32</td><td>88.38±0.42</td><td>84.22±0.35</td><td>69.72±0.72</td><td>52.32±0.68</td></tr><tr><td>Co-teaching</td><td>91.21±0.31</td><td>90.30±0.42</td><td>89.10±0.29</td><td>86.78±0.90</td><td>63.22±1.56</td></tr><tr><td>Decoupling</td><td>90.70±0.28</td><td>90.34±0.36</td><td>88.78±0.44</td><td>87.54±0.53</td><td>68.32±1.77</td></tr><tr><td>MentorNet</td><td>91.57±0.29</td><td>90.52±0.41</td><td>88.14±0.76</td><td>85.12±0.76</td><td>61.62±1.42</td></tr><tr><td>Mixup</td><td>88.68±0.37</td><td>88.02±0.37</td><td>85.47±0.55</td><td>79.57±0.75</td><td>66.02±2.58</td></tr><tr><td>Forward</td><td>90.05±0.43</td><td>88.65±0.43</td><td>86.27±0.48</td><td>73.35±1.03</td><td>58.23±3.14</td></tr><tr><td>Reweight</td><td>90.27±0.27</td><td>89.58±0.37</td><td>87.04±0.32</td><td>80.69±0.89</td><td>64.13±1.23</td></tr><tr><td>T-Revision</td><td>91.58±0.31</td><td>90.11±0.61</td><td>89.46±0.42</td><td>84.01±1.14</td><td>68.99±1.04</td></tr><tr><td>CausalNL</td><td>90.84±0.31</td><td>90.68±0.37</td><td>90.01±0.45</td><td>88.75±0.81</td><td>78.19±1.01</td></tr></table>",
|
| 877 |
+
"bbox": [
|
| 878 |
+
200,
|
| 879 |
+
125,
|
| 880 |
+
794,
|
| 881 |
+
286
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 7
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "table",
|
| 887 |
+
"img_path": "images/ea50641a5d11a024c1aae14c120f56a435fe0586fe2b0d4c445a44ef957857f9.jpg",
|
| 888 |
+
"table_caption": [
|
| 889 |
+
"Table 2: Means and standard deviations (percentage) of classification accuracy on SVHN with different label noise levels. "
|
| 890 |
+
],
|
| 891 |
+
"table_footnote": [],
|
| 892 |
+
"table_body": "<table><tr><td></td><td>IDN-20%</td><td>IDN-30%</td><td>IDN-40%</td><td>IDN-45%</td><td>IDN-50%</td></tr><tr><td>CE</td><td>91.51±0.45</td><td>91.21±0.43</td><td>87.87±1.12</td><td>67.15±1.65</td><td>51.01±3.62</td></tr><tr><td>Co-teaching</td><td>93.93±0.31</td><td>92.06±0.31</td><td>91.93±0.81</td><td>89.33±0.71</td><td>67.62±1.99</td></tr><tr><td>Decoupling</td><td>90.02±0.25</td><td>91.59±0.25</td><td>88.27±0.42</td><td>84.57±0.89</td><td>65.14±2.79</td></tr><tr><td>MentorNet</td><td>94.08±0.12</td><td>92.73±0.37</td><td>90.41±0.49</td><td>87.45±0.75</td><td>61.23±2.82</td></tr><tr><td>Mixup</td><td>89.73±0.37</td><td>90.02±0.35</td><td>85.47±0.63</td><td>82.41±0.62</td><td>68.95±2.58</td></tr><tr><td>Forward</td><td>91.89±0.31</td><td>91.59±0.23</td><td>89.33±0.53</td><td>80.15±1.91</td><td>62.53±3.35</td></tr><tr><td>Reweight</td><td>92.44±0.34</td><td>92.32±0.51</td><td>91.31±0.67</td><td>85.93±0.84</td><td>64.13±3.75</td></tr><tr><td>T-Revision</td><td>93.14±0.53</td><td>93.51±0.74</td><td>92.65±0.76</td><td>88.54±1.58</td><td>64.51±3.42</td></tr><tr><td>CausalNL</td><td>94.06±0.23</td><td>93.86±0.65</td><td>93.82±0.64</td><td>93.19±0.93</td><td>85.41±2.95</td></tr></table>",
|
| 893 |
+
"bbox": [
|
| 894 |
+
200,
|
| 895 |
+
338,
|
| 896 |
+
794,
|
| 897 |
+
500
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 7
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "table",
|
| 903 |
+
"img_path": "images/f05e68eb5a96cf6ab58ea4fe6e8097deeb3e3ac436dd36fc71c67920ca7be966.jpg",
|
| 904 |
+
"table_caption": [
|
| 905 |
+
"Table 3: Means and standard deviations (percentage) of classification accuracy on CIFAR10 with different label noise levels. "
|
| 906 |
+
],
|
| 907 |
+
"table_footnote": [],
|
| 908 |
+
"table_body": "<table><tr><td></td><td>IDN-20%</td><td>IDN-30%</td><td>IDN-40%</td><td>IDN-45%</td><td>IDN-50%</td></tr><tr><td>CE</td><td>75.81±0.26</td><td>69.15±0.65</td><td>62.45±0.86</td><td>51.72±1.34</td><td>39.42±2.52</td></tr><tr><td>Co-teaching</td><td>80.96±0.31</td><td>78.56±0.61</td><td>73.41±0.78</td><td>71.60±0.79</td><td>45.92±2.21</td></tr><tr><td>Decoupling</td><td>78.71±0.15</td><td>75.17±0.58</td><td>61.73±0.34</td><td>58.61±1.73</td><td>50.43±2.19</td></tr><tr><td>MentorNet</td><td>81.03±0.24</td><td>77.22±0.47</td><td>71.83±0.49</td><td>66.18±0.64</td><td>47.89±2.03</td></tr><tr><td>Mixup</td><td>73.17±0.34</td><td>70.02±0.31</td><td>61.56±0.71</td><td>56.45±0.67</td><td>48.95±2.58</td></tr><tr><td>Forward</td><td>74.64±0.26</td><td>69.75±0.56</td><td>60.21±0.75</td><td>48.81±2.59</td><td>46.27±1.30</td></tr><tr><td>Reweight</td><td>76.23±0.25</td><td>70.12±0.72</td><td>62.58±0.46</td><td>51.54±0.92</td><td>45.46±2.56</td></tr><tr><td>T-Revision</td><td>76.15±0.37</td><td>70.36±0.54</td><td>64.09±0.37</td><td>52.42±1.01</td><td>49.02±2.13</td></tr><tr><td>CausalNL</td><td>81.47±0.32</td><td>80.38±0.44</td><td>77.53±0.45</td><td>78.60±1.06</td><td>67.39±1.24</td></tr></table>",
|
| 909 |
+
"bbox": [
|
| 910 |
+
200,
|
| 911 |
+
551,
|
| 912 |
+
794,
|
| 913 |
+
712
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 7
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "",
|
| 920 |
+
"bbox": [
|
| 921 |
+
174,
|
| 922 |
+
739,
|
| 923 |
+
826,
|
| 924 |
+
809
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 7
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "text",
|
| 930 |
+
"text": "4.2 Classification Accuracy Evaluation ",
|
| 931 |
+
"text_level": 1,
|
| 932 |
+
"bbox": [
|
| 933 |
+
176,
|
| 934 |
+
829,
|
| 935 |
+
457,
|
| 936 |
+
844
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 7
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "Results on synthetic noisy datasets Tables 1, 2, 3, and 4 report the classification accuracy on the datasets of $F$ -MNIST, SVHN, CIFAR-10, and CIFAR100, respectively. The synthetic experiments reveal that our method is powerful in handling instance-dependent label noise particularly in the situation of high noise rates. Specifically, for all datasets, the classification accuracy of our method decrease much slower than that of baseline methods. Additionally, the classification accuracies on these datasets are improved by using CausalNL, which implies that our method should capture the underlying data generation process, and then $Y$ should be a cause of $X$ for all these datasets. ",
|
| 943 |
+
"bbox": [
|
| 944 |
+
174,
|
| 945 |
+
856,
|
| 946 |
+
825,
|
| 947 |
+
911
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 7
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "table",
|
| 953 |
+
"img_path": "images/91690d05aa3c888aec60dcd983db2c0ed2061768144ec8cbb4d8e4e0aa8faab0.jpg",
|
| 954 |
+
"table_caption": [
|
| 955 |
+
"Table 4: Means and standard deviations (percentage) of classification accuracy on CIFAR100 with different label noise levels. "
|
| 956 |
+
],
|
| 957 |
+
"table_footnote": [],
|
| 958 |
+
"table_body": "<table><tr><td></td><td>IDN-20%</td><td>IDN-30%</td><td>IDN-40%</td><td>IDN-45%</td><td>IDN-50%</td></tr><tr><td>CE</td><td>30.42±0.44</td><td>24.15±0.78</td><td>21.45±0.70</td><td>15.23±1.32</td><td>14.42±2.21</td></tr><tr><td>Co-teaching</td><td>37.96±0.53</td><td>33.43±0.74</td><td>28.04±1.43</td><td>25.60±0.93</td><td>23.97±1.91</td></tr><tr><td>Decoupling</td><td>36.53±0.49</td><td>30.93±0.88</td><td>27.85±0.91</td><td>23.81±1.31</td><td>19.59±2.12</td></tr><tr><td>MentorNet</td><td>38.91±0.54</td><td>34.23±0.73</td><td>31.89±1.19</td><td>27.53±1.23</td><td>24.15±2.31</td></tr><tr><td>Mixup</td><td>32.92±0.76</td><td>29.76±0.87</td><td>25.92±1.26</td><td>23.13±2.15</td><td>21.31±1.32</td></tr><tr><td>Forward</td><td>36.38±0.92</td><td>33.17±0.73</td><td>26.75±0.93</td><td>21.93±1.29</td><td>19.27±2.11</td></tr><tr><td>Reweight</td><td>36.73±0.72</td><td>31.91±0.91</td><td>28.39±1.46</td><td>24.12±1.41</td><td>20.23±1.23</td></tr><tr><td>T-Revision</td><td>37.24±0.85</td><td>36.54±0.79</td><td>27.23±1.13</td><td>25.53±1.94</td><td>22.54±1.95</td></tr><tr><td>CausalNL</td><td>41.47±0.43</td><td>40.98±0.62</td><td>34.02±0.95</td><td>33.34±1.13</td><td>32.129±2.23</td></tr></table>",
|
| 959 |
+
"bbox": [
|
| 960 |
+
197,
|
| 961 |
+
125,
|
| 962 |
+
797,
|
| 963 |
+
285
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 8
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "table",
|
| 969 |
+
"img_path": "images/461c0afd8fb5d0ee1f1b24e82bbef26f85c263df8d189f77840de1a550ac9dc6.jpg",
|
| 970 |
+
"table_caption": [
|
| 971 |
+
"Table 5: Classification accuracy on Clothing1M. In the experiments, only noisy samples are exploited to train and validate the deep model. "
|
| 972 |
+
],
|
| 973 |
+
"table_footnote": [],
|
| 974 |
+
"table_body": "<table><tr><td>CE</td><td>Decoupling</td><td>MentorNet</td><td>Co-teaching</td><td>Forward</td><td>Reweight</td><td>T-Revision</td><td>caualNL</td></tr><tr><td>68.88</td><td>54.53</td><td>56.79</td><td>60.15</td><td>69.91</td><td>70.40</td><td>70.97</td><td>72.24</td></tr></table>",
|
| 975 |
+
"bbox": [
|
| 976 |
+
173,
|
| 977 |
+
342,
|
| 978 |
+
838,
|
| 979 |
+
385
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 8
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"text": "",
|
| 986 |
+
"bbox": [
|
| 987 |
+
174,
|
| 988 |
+
420,
|
| 989 |
+
825,
|
| 990 |
+
462
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 8
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "For noisy $F$ -MNIST, SVHN and CIFAR-10, in the easy case IDN- $20 \\%$ , almost all methods work well. When the noise rate is $30 \\%$ , the advantages of causalNL begin to show. We surpassed all methods obviously. When the noise rate raises, all the baselines are gradually defeated. Finally, in the hardest case, i.e., IDN- $50 \\%$ , the superiority of causalNL widens the gap of performance. The classification accuracy of causalNL is at least over $10 \\%$ higher than the best baseline method. For noisy CIFAR-100, none of the methods works well. However, causalNL still overtakes the other methods with clear gaps for all different levels of noise rate. ",
|
| 997 |
+
"bbox": [
|
| 998 |
+
174,
|
| 999 |
+
468,
|
| 1000 |
+
825,
|
| 1001 |
+
565
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 8
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "Results on the real-world noisy dataset On the real-world noisy dataset Clothing1M, our method causalNL outperforms all the baselines, as shown in Table 5. The experimental results also show that the noise type in Clothing1M is more likely to be instance-dependent label noise, suggesting that the instance-independent assumption on the transition matrix sometimes can be strong. ",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
174,
|
| 1010 |
+
571,
|
| 1011 |
+
825,
|
| 1012 |
+
628
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 8
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "5 Conclusion ",
|
| 1019 |
+
"text_level": 1,
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
174,
|
| 1022 |
+
654,
|
| 1023 |
+
299,
|
| 1024 |
+
671
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 8
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "In this paper, we have investigated how to use $P ( X )$ to help learn instance-dependent label noise. Specifically, previous assumptions are made on the transition matrix, and the assumptions are hard to be verified and might be violated on real-world datasets. From inspired by a causal perspective, when $Y$ is a cause of $X$ , then $P ( X )$ should contain useful information to infer the clean label $Y$ . We propose a novel generative approach called causalNL for instance-dependent label-noise learning. Our model makes use of the causal graph to contribute to the identifiability of the transition matrix, and therefore helps learn clean labels. In order to learn $P ( X )$ , compared to the previous methods, our method contains more parameters. But experiments on both synthetic and real-world noisy datasets show that a bit sacrifice on computational efficiency is worth it, i.e., the classification accuracy of casualNL significantly outperforms all the state-of-the-art methods. Additionally, the results also indicates that in classification problems, $Y$ can usually be considered as a cause of $X$ , and suggests that the understanding and modeling of the data generation process can help leverage additional information that is useful in solving advanced machine learning problems concerning the relationship between different modules of the data joint distribution. In our future work, we will study the theoretical properties of our method and establish identifiability results under certain assumptions on the data-generative process. ",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
174,
|
| 1033 |
+
689,
|
| 1034 |
+
826,
|
| 1035 |
+
911
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 8
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "Acknowledgments ",
|
| 1042 |
+
"text_level": 1,
|
| 1043 |
+
"bbox": [
|
| 1044 |
+
176,
|
| 1045 |
+
89,
|
| 1046 |
+
328,
|
| 1047 |
+
106
|
| 1048 |
+
],
|
| 1049 |
+
"page_idx": 9
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "text",
|
| 1053 |
+
"text": "TL was partially supported by Australian Research Council Projects DP-180103424, DE-190101473, and IC-190100031. GM was supported by Australian Research Council Project DE210101624. BH was supported by supported by the RGC Early Career Scheme No. 22200720 and NSFC Young Scientists Fund No. 62006202. GN was supported by JST AIP Acceleration Research Grant Number JPMJCR20U3, Japan. KZ was supported in part by the National Institutes of Health (NIH) under Contract R01HL159805, by the United States Air Force under Contract No. FA8650-17-C7715, by the NSF-Convergence Accelerator Track-D award #2134901, and by a grant from Apple. The NIH or NSF is not responsible for the views reported in this article. The authors thank the reviewers and the meta-reviewer for their helpful and constructive comments on this work. ",
|
| 1054 |
+
"bbox": [
|
| 1055 |
+
173,
|
| 1056 |
+
121,
|
| 1057 |
+
826,
|
| 1058 |
+
244
|
| 1059 |
+
],
|
| 1060 |
+
"page_idx": 9
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "text",
|
| 1064 |
+
"text": "References ",
|
| 1065 |
+
"text_level": 1,
|
| 1066 |
+
"bbox": [
|
| 1067 |
+
174,
|
| 1068 |
+
265,
|
| 1069 |
+
266,
|
| 1070 |
+
281
|
| 1071 |
+
],
|
| 1072 |
+
"page_idx": 9
|
| 1073 |
+
},
|
| 1074 |
+
{
|
| 1075 |
+
"type": "text",
|
| 1076 |
+
"text": "[1] Dana Angluin and Philip Laird. Learning from noisy examples. Machine Learning, 2(4): 343–370, 1988. [2] Devansh Arpit, Stanisław Jastrz˛ebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. A closer look at memorization in deep networks. In International Conference on Machine Learning, pages 233–242. PMLR, 2017. \n[3] Mikhail Belkin, Partha Niyogi, and Vikas Sindhwani. Manifold regularization: A geometric framework for learning from labeled and unlabeled examples. Journal of machine learning research, 7(11), 2006. \n[4] Antonin Berthon, Bo Han, Gang Niu, Tongliang Liu, and Masashi Sugiyama. Confidence scores make instance-dependent label-noise learning possible. In ICML, 2021. \n[5] David M Blei, Alp Kucukelbir, and Jon D McAuliffe. Variational inference: A review for statisticians. Journal of the American statistical Association, 112(518):859–877, 2017. \n[6] Hao Cheng, Zhaowei Zhu, Xingyu Li, Yifei Gong, Xing Sun, and Yang Liu. Learning with instance-dependent label noise: A sample sieve approach. In ICLR, 2021. \n[7] Jiacheng Cheng, Tongliang Liu, Kotagiri Ramamohanarao, and Dacheng Tao. Learning with bounded instance and label-dependent label noise. In ICML, 2020. \n[8] Jacob Goldberger and Ehud Ben-Reuven. Training deep neural-networks using a noise adaptation layer. In ICLR, 2017. \n[9] Mingming Gong, Kun Zhang, Tongliang Liu, Dacheng Tao, Clark Glymour, and Bernhard Schölkopf. Domain adaptation with conditional transferable components. In International conference on machine learning, pages 2839–2848. PMLR, 2016. \n[10] Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In NeurIPS, pages 8527–8537, 2018. \n[11] Lu Jiang, Zhengyuan Zhou, Thomas Leung, Li-Jia Li, and Li Fei-Fei. MentorNet: Learning data-driven curriculum for very deep neural networks on corrupted labels. In ICML, pages 2309–2318, 2018. \n[12] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013. \n[13] Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, 2009. \n[14] Xuefeng Li, Tongliang Liu, Bo Han, Gang Niu, and Masashi Sugiyama. Provably end-to-end label-noise learning without anchor points. In ICML, 2021. \n[15] Tongliang Liu and Dacheng Tao. Classification with noisy labels by importance reweighting. IEEE Transactions on pattern analysis and machine intelligence, 38(3):447–461, 2016. \n[16] Eran Malach and Shai Shalev-Shwartz. Decoupling\" when to update\" from\" how to update\". In NeurIPS, pages 960–970, 2017. \n[17] Nagarajan Natarajan, Inderjit S Dhillon, Pradeep K Ravikumar, and Ambuj Tewari. Learning with noisy labels. In NeurIPS, pages 1196–1204, 2013. \n[18] Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, and Andrew $\\mathrm { Y . N g }$ . Reading digits in natural images with unsupervised feature learning. In NIPS Workshop on Deep Learning and Unsupervised Feature Learning, 2011. \n[19] Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. Making deep neural networks robust to label noise: A loss correction approach. In CVPR, pages 1944–1952, 2017. \n[20] Judea Pearl. Causality: Models, Reasoning, and Inference. Cambridge University Press, New York, NY, USA, 2000. ISBN 0-521-77362-8. \n[21] Jonas Peters, Dominik Janzing, and Bernhard Schölkopf. Elements of causal inference: foundations and learning algorithms. The MIT Press, 2017. \n[22] B Schölkopf, D Janzing, J Peters, E Sgouritsa, K Zhang, and J Mooij. On causal and anticausal learning. In 29th International Conference on Machine Learning (ICML 2012), pages 1255– 1262. International Machine Learning Society, 2012. \n[23] Bernhard Schölkopf. Causality for machine learning. arXiv preprint arXiv:1911.10500, 2019. \n[24] Clayton Scott. A rate of convergence for mixture proportion estimation, with application to learning from noisy labels. In AISTATS, pages 838–846, 2015. \n[25] Peter Spirtes and Kun Zhang. Causal discovery and inference: concepts and recent methodological advances. In Applied informatics, volume 3, pages 1–28. SpringerOpen, 2016. \n[26] Peter Spirtes, Clark N Glymour, Richard Scheines, David Heckerman, Christopher Meek, Gregory Cooper, and Thomas Richardson. Causation, prediction, and search. MIT press, 2000. \n[27] Songhua Wu, Xiaobo Xia, Tongliang Liu, Bo Han, Mingming Gong, Nannan Wang, Haifeng Liu, and Gang Niu. Class2simi: A noise reduction perspective on learning with noisy labels. In International Conference on Machine Learning, pages 11285–11295. PMLR, 2021. \n[28] Xiaobo Xia, Tongliang Liu, Nannan Wang, Bo Han, Chen Gong, Gang Niu, and Masashi Sugiyama. Are anchor points really indispensable in label-noise learning? In NeurIPS, pages 6835–6846, 2019. \n[29] Xiaobo Xia, Tongliang Liu, Nannan Wang, Bo Han, Chen Gong, Gang Niu, and Masashi Sugiyama. Are anchor points really indispensable in label-noise learning? In NeurIPS, pages 6838–6849, 2019. \n[30] Xiaobo Xia, Tongliang Liu, Bo Han, Nannan Wang, Mingming Gong, Haifeng Liu, Gang Niu, Dacheng Tao, and Masashi Sugiyama. Part-dependent label noise: Towards instance-dependent label noise. In NeurIPS, 2020. \n[31] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017. \n[32] Tong Xiao, Tian Xia, Yi Yang, Chang Huang, and Xiaogang Wang. Learning from massive noisy labeled data for image classification. In CVPR, pages 2691–2699, 2015. \n[33] Quanming Yao, Hansi Yang, Bo Han, Gang Niu, and James T Kwok. Searching to exploit memorization effect in learning with noisy labels. In ICML, 2020. \n[34] Yu Yao, Tongliang Liu, Bo Han, Mingming Gong, Jiankang Deng, Gang Niu, and Masashi Sugiyama. Dual t: Reducing estimation error for transition matrix in label-noise learning. In NeurIPS, 2020. \n[35] Xiyu Yu, Tongliang Liu, Mingming Gong, and Dacheng Tao. Learning with biased complementary labels. In ECCV, pages 68–83, 2018. \n[36] Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In ICLR, 2018. \n[37] Kun Zhang and Aapo Hyvarinen. On the identifiability of the post-nonlinear causal model. arXiv preprint arXiv:1205.2599, 2012. \n[38] Kun Zhang, Mingming Gong, and Bernhard Schölkopf. Multi-source domain adaptation: A causal view. In Twenty-ninth AAAI conference on artificial intelligence, 2015. \n[39] Kun Zhang, Jiji Zhang, and Bernhard Schölkopf. Distinguishing cause from effect based on exogeneity. arXiv preprint arXiv:1504.05651, 2015. ",
|
| 1077 |
+
"bbox": [
|
| 1078 |
+
173,
|
| 1079 |
+
287,
|
| 1080 |
+
826,
|
| 1081 |
+
917
|
| 1082 |
+
],
|
| 1083 |
+
"page_idx": 9
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"type": "text",
|
| 1087 |
+
"text": "",
|
| 1088 |
+
"bbox": [
|
| 1089 |
+
169,
|
| 1090 |
+
34,
|
| 1091 |
+
828,
|
| 1092 |
+
916
|
| 1093 |
+
],
|
| 1094 |
+
"page_idx": 10
|
| 1095 |
+
},
|
| 1096 |
+
{
|
| 1097 |
+
"type": "text",
|
| 1098 |
+
"text": "",
|
| 1099 |
+
"bbox": [
|
| 1100 |
+
171,
|
| 1101 |
+
90,
|
| 1102 |
+
828,
|
| 1103 |
+
270
|
| 1104 |
+
],
|
| 1105 |
+
"page_idx": 11
|
| 1106 |
+
}
|
| 1107 |
+
]
|
parse/train/d20KTY2VrNk/d20KTY2VrNk_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/d20KTY2VrNk/d20KTY2VrNk_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rk49Mg-CW/rk49Mg-CW.md
ADDED
|
@@ -0,0 +1,267 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# STOCHASTIC VARIATIONAL VIDEO PREDICTION
|
| 2 |
+
|
| 3 |
+
Mohammad Babaeizadeh1, Chelsea Finn2, Dumitru Erhan3, Roy Campbell1, and Sergey Levine2,3
|
| 4 |
+
|
| 5 |
+
1University of Illinois at Urbana-Champaign 2University of California, Berkeley 3Google Brain
|
| 6 |
+
|
| 7 |
+
mb2@uiuc.edu, cbfinn@eecs.berkeley.edu, dumitru@google.com, rhc@illinois.edu, svlevine@eecs.berkeley.edu
|
| 8 |
+
|
| 9 |
+
# ABSTRACT
|
| 10 |
+
|
| 11 |
+
Predicting the future in real-world settings, particularly from raw sensory observations such as images, is exceptionally challenging. Real-world events can be stochastic and unpredictable, and the high dimensionality and complexity of natural images require the predictive model to build an intricate understanding of the natural world. Many existing methods tackle this problem by making simplifying assumptions about the environment. One common assumption is that the outcome is deterministic and there is only one plausible future. This can lead to low-quality predictions in real-world settings with stochastic dynamics. In this paper, we develop a stochastic variational video prediction (SV2P) method that predicts a different possible future for each sample of its latent variables. To the best of our knowledge, our model is the first to provide effective stochastic multi-frame prediction for real-world videos. We demonstrate the capability of the proposed method in predicting detailed future frames of videos on multiple real-world datasets, both action-free and action-conditioned. We find that our proposed method produces substantially improved video predictions when compared to the same model without stochasticity, and to other stochastic video prediction methods. Our SV2P implementation will be open sourced upon publication.
|
| 12 |
+
|
| 13 |
+
# 1 INTRODUCTION
|
| 14 |
+
|
| 15 |
+
Understanding the interaction dynamics of objects and predicting what happens next is one of the key capabilities of humans which we heavily rely on to make decisions in everyday life (Bubic et al., 2010). A model that can accurately predict future observations of complex sensory modalities such as vision must internally represent the complex dynamics of real-world objects and people, and therefore is more likely to acquire a representation that can be used for a variety of visual perception tasks, such as object tracking and action recognition (Srivastava et al., 2015; Lotter et al., 2017; Denton & Birodkar, 2017). Furthermore, such models can be inherently useful themselves, for example, to allow an autonomous agent or robot to decide how to interact with the world to bring about a desired outcome (Oh et al., 2015; Finn & Levine, 2017).
|
| 16 |
+
|
| 17 |
+
However, modeling future distributions over images is a challenging task, given the high dimensionality of the data and the complex dynamics of the environment. Hence, it is common to make various simplifying assumptions. One particularly common assumption is that the environment is deterministic and that there is only one possible future (Chiappa et al., 2017; Srivastava et al., 2015; Boots et al., 2014; Lotter et al., 2017). Models conditioned on the actions of an agent frequently make this assumption, since the world is more deterministic in these settings (Oh et al., 2015; Finn et al., 2016). However, most real-world prediction tasks, including the action-conditioned settings, are in fact not deterministic, and a deterministic model can lose many of the nuances that are present in real physical interactions. Given the stochastic nature of video prediction, any deterministic model is obliged to predict a statistic of all the possible outcomes. For example, deterministic models trained with a mean squared error loss function generate the expected value of all the possibilities for each pixel independently, which is inherently blurry (Mathieu et al., 2016).
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1: Importance of stochasticity in video prediction. In each video, a random shape follows a random direction (first row). Given only the first frame, the deterministic model from Finn et al. (2016) predicts the average of all the possibilities. The third row is the output of SV2P with latent sampled from approximated posterior which predicts the correct motion. Last two rows are stochastic outcomes using random latent values sampled from assumed prior. As observed, these outcomes are random but within the range of possible futures. Second sample of Figure 1c shows a case where the model predicts the average of more than one outcome.
|
| 21 |
+
|
| 22 |
+
Our main contribution in this paper is a stochastic variational method for video prediction, named SV2P, that predicts a different plausible future for each sample of its latent random variables. We also provide a stable training procedure for training a neural network based implementation of this method. To the extent of our knowledge, SV2P is the first latent variable model to successfully predict multiple frames in real-world settings. Our model also supports action-conditioned predictions, while still being able to predict stochastic outcomes of ambiguous actions, as exemplified in our experiments. We evaluate SV2P on multiple real-world video datasets, as well as a carefully designed toy dataset that highlights the importance of stochasticity in video prediction (see Figure 1). In both our qualitative and quantitative comparisons, SV2P produces substantially improved video predictions when compared to the same model without stochasticity, with respect to standard metrics such as PSNR and SSIM. The stochastic nature of SV2P is most apparent when viewing the predicted videos. Therefore, we highly encourage the reader to check the project website https://goo.gl/iywUHc to view the actual videos of the experiments. The TensorFlow (Abadi et al., 2016) implementation of this project will be open sourced upon publication.
|
| 23 |
+
|
| 24 |
+
# 2 RELATED WORK
|
| 25 |
+
|
| 26 |
+
A number of prior works have addressed video frame prediction while assuming deterministic environments (Ranzato et al., 2014; Srivastava et al., 2015; Vondrick et al., 2015; Xingjian et al., 2015; Boots et al., 2014; Lotter et al., 2017). In this work, we build on the deterministic video prediction model proposed by Finn et al. (2016), which generates the future frames by predicting the motion flow of dynamically masked out objects extracted from the previous frames. Similar transformationbased models were also proposed by De Brabandere et al. (2016); Liu et al. (2017). Prior work has also considered alternative objectives for deterministic video prediction models to mitigate the blurriness of the predicted frames and produce sharper predictions (Mathieu et al., 2016; Vondrick & Torralba, 2017). Despite the adversarial objective, Mathieu et al. (2016) found that injecting noise did not lead to stochastic predictions, even for predicting a single frame. Oh et al. (2015); Chiappa et al. (2017) make sharp video predictions by assuming deterministic outcomes in video games given the actions of the agents. However, this assumption does not hold in real-world settings, which almost always have stochastic dynamics.
|
| 27 |
+
|
| 28 |
+
Auto-regressive models have been proposed for modeling the joint distribution of the raw pixels (Kalchbrenner et al., 2017). Although these models predict sharp images of the future, their training and inference time is extremely high, making them difficult to use in practice. Reed et al. (2017) proposed a parallelized multi-scale algorithm that significantly improves the training and prediction time but still requires more than a minute to generate one second of $6 4 \times 6 4$ video on a GPU. Our comparisons suggest that the predictions from these models are sharp, but noisy, and that our method produces substantially better predictions, especially for longer horizons.
|
| 29 |
+
|
| 30 |
+
Another approach for stochastic prediction uses generative adversarial networks (GANs) (Goodfellow et al., 2014), which have been used for video generation and prediction (Tulyakov et al., 2017; Li et al., 2017). Vondrick et al. (2016); Chen et al. (2017) applied adversarial training to predict video from a single image. Although GANs generate sharp images, they tend to suffer from modecollapse (Goodfellow, 2016), particularly in conditional generation settings (Zhu et al., 2017).
|
| 31 |
+
|
| 32 |
+
Variational auto-encoders (VAEs) (Kingma & Welling, 2014) also have been explored for stochastic prediction tasks. Walker et al. (2016) uses conditional VAEs to predict dense trajectories from pixels. Xue et al. (2016) predicts a single stochastic frame using cross convolutional networks in a VAElike architecture. Shu et al. (2016) uses conditional VAEs and Gaussian mixture priors for stochastic prediction. Both of these works have been evaluated solely on synthetic datasets with simple moving sprites and no object interaction. Real images significantly complicate video prediction due to the diversity and variety of stochastic events that can occur. Fragkiadaki et al. (2017) compared various architectures for multimodal motion forecasting and one-frame video prediction, including variational inference and straightforward sampling from the prior. Unlike these prior models, our focus is on designing a multi-frame video prediction model to produce stochastic predictions of the future. Multi-frame prediction is dramatically harder than single-frame prediction, since complex events such as collisions require multiple frames to fully resolve, and single-frame predictions can simply ignore this complexity. We believe, our approach is the first latent variable model to successfully demonstrate stochastic multi-frame video prediction on real world datasets.
|
| 33 |
+
|
| 34 |
+
# 3 STOCHASTIC VARIATIONAL VIDEO PREDICTION (SV2P)
|
| 35 |
+
|
| 36 |
+
In order to construct our stochastic variational video prediction model, we first formulate a probabilistic graphical model that explains the stochasticity in the video. Since our goal is to perform conditional video prediction, the predictions are conditioned on a set of $c$ context frames $\mathbf { x } _ { 0 } , \ldots , \mathbf { x } _ { c - 1 }$ (e.g., if we are conditioning on one frame, $c = 1 \AA$ ), and our goal is to sample from $p ( \mathbf { x } _ { c : T } | \mathbf { x } _ { 0 : c - 1 } )$ , where $\mathbf { x } _ { i }$ denotes the $\mathrm { i ^ { \mathrm { t h } } }$ frame of the video (Figure 2).
|
| 37 |
+
|
| 38 |
+
Video prediction is stochastic as a consequence of the latent events that are not observable from the context frames alone. For example, when a robot’s arm pushes a toy on a table, the unknown weight of that toy affects how it moves. We therefore introduce a vector of latent variables $\mathbf { z }$ into our model, distributed according to a prior $\mathbf { z } \sim p ( \mathbf { z } )$ , and build a model $p ( \mathbf { x } _ { c : T } | \mathbf { x } _ { 0 : c - 1 } , \mathbf { z } )$ . This model is still stochastic but uses a more general representation, such as a conditional Gaussian, to explain just the noise in the image, while $\mathbf { z }$ accounts for the more complex stochastic phenomena. We can then factorize this model to $\begin{array} { r } { \prod _ { t = c } ^ { T } p _ { \theta } \big ( \mathbf { x } _ { t } | \mathbf { x } _ { 0 : t - 1 } , \mathbf { z } \big ) } \end{array}$ Learning then involves training the parameters of these factors $\theta$ , which we assume to be shared between all the time steps.
|
| 39 |
+
|
| 40 |
+
At inference time we need to estimate values for the true posterior $p ( \mathbf { z } | \mathbf { x } _ { 0 : T } )$ , which is intractable due its dependency on $p ( \mathbf { x } _ { 0 : T } )$ . We
|
| 41 |
+
|
| 42 |
+

|
| 43 |
+
Figure 2: Probabilistic graphical model of stochastic variational video prediction, assuming time-invariant latent. The generative model predicts the next frame conditioned on the previous frames and latent variables (solid lines), while the variational inference model approximates the posterior given all the frames (dotted lines).
|
| 44 |
+
|
| 45 |
+
overcome this problem by approximating the posterior with an inference network $q _ { \phi } ( \mathbf { z } | \mathbf { x } _ { 0 : T } )$ that outputs the parameters of a conditionally Gaussian distribution $\mathcal { N } ( \mu _ { \phi } ( \mathbf { x } _ { 0 : T } ) , \sigma _ { \phi } ( \mathbf { x } _ { 0 : T } ) )$ . This network is trained using the reparameterization trick (Kingma & Welling, 2014), according to:
|
| 46 |
+
|
| 47 |
+

|
| 48 |
+
Figure 3: Architecture of SV2P. At training time, the inference network (top) estimates the posterior $\bar { q _ { \phi } ( \mathbf { z } | \mathbf { x } _ { 0 : T } ) } = \mathcal { N } \big ( \mu ( \mathbf { x } _ { 0 : T } ) , \sigma ( \mathbf { x } _ { 0 : T } ) \big )$ . The latent value ${ \mathbf z } \sim q _ { \phi } ( { \mathbf z } | { \mathbf x } _ { 0 : T } )$ is passed to the generative network along with the (optional) action. The generative network (from Finn et al. (2016)) predicts the next frame given the previous frames, latent values, and actions. At test time, $\mathbf { z }$ is sampled from the assumed prior $\mathcal { N } ( \mathbf { 0 } , \bar { \mathbf { I } } )$ .
|
| 49 |
+
|
| 50 |
+
$$
|
| 51 |
+
\mathbf { z } = \mu _ { \phi } ( \mathbf { x } _ { 0 : T } ) + \sigma _ { \phi } ( \mathbf { x } _ { 0 : T } ) \times \epsilon , \epsilon \sim \mathcal { N } ( \mathbf { 0 } , \mathbf { I } )
|
| 52 |
+
$$
|
| 53 |
+
|
| 54 |
+
Here, $\theta$ and $\phi$ are the parameters of the generative model and inference network, respectively. To learn these parameters, we can optimize the variational lower bound, as in the variational autoencoder (VAE) (Kingma & Welling, 2014):
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
\mathcal { L } ( \mathbf { x } ) = - \mathbb { E } _ { q _ { \phi } ( \mathbf { z } | \mathbf { x } _ { 0 : T } ) } \left[ \log p _ { \theta } ( \mathbf { x } _ { t : T } | \mathbf { x } _ { 0 : t - 1 } , \mathbf { z } ) \right] + D _ { K L } \big ( q _ { \phi } ( \mathbf { z } | \mathbf { x } _ { 0 : T } ) | | p ( \mathbf { z } ) \big )
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
where $D _ { K L }$ is the Kullback-Leibler divergence between the approximated posterior and assumed prior $p ( \mathbf { z } )$ which in our case is the standard Gaussian $\mathcal { N } ( \mathbf { 0 } , \mathbf { I } )$ .
|
| 61 |
+
|
| 62 |
+
In Equation 2, the first term on the RHS represents the reconstruction loss while the second term represents the divergence of the variational posterior from the prior on the latent variable. It is important to emphasize that the approximated posterior is conditioned on all of the frames, including the future frames $\mathbf { x } _ { t : T }$ . This is feasible during training, since $\mathbf { x } _ { t : T }$ is available at the training time, while at test time we can sample the latents from the assumed prior. Since the aim in our method is to recover latent variables that correspond to events which might explain the variability in the videos, we found that it is in fact crucial to condition the inference network on future frames. At test time, the latent variables are simply sampled from the prior which corresponds to a smoothing-like inference process. In principle, we could also perform a filtering-like inference procedure of the form $q _ { \phi } ( \mathbf { z } | \mathbf { x } _ { 0 : t - 1 } )$ for time step $t$ to infer the most likely latent variables based only on the conditioning frames, instead of sampling from the prior, which could produce more accurate predictions at test time. However, it would be undesirable to use a filtering process at training time: in order to incentivize the forward prediction network to make use of the latent variables, they must contain some information that is useful for predicting future frames that is not already present in the context frames. If they are predicted entirely from the context frames, no such information is present, and indeed we found that a purely filtering-based model simply ignores the latent variables.
|
| 63 |
+
|
| 64 |
+
So far, we’ve assumed that the latent events are constant over the entire video. We can relax this assumption by conditioning prediction on a time-variant latent variable $\mathbf { z } _ { t }$ that is sampled at every time step from $p ( \mathbf { z } )$ . The generative model then becomes $\begin{array} { r } { p ( \mathbf { z } _ { t } ) \prod _ { t = c } ^ { T } p _ { \theta } \big ( \mathbf { x } _ { t } | \mathbf { x } _ { 0 : t - 1 } , \mathbf { z } _ { t } \big ) } \end{array}$ and, assuming a fixed posterior, the inference model will be approximated by $q _ { \phi } \big ( \mathbf { z } _ { t } | \mathbf { x } _ { 0 : T } \big )$ , where the model parameters $\phi$ are shared across time. In practice, the only difference between these two formulations is the frequency of sampling $\mathbf { z }$ from $p ( \mathbf { z } )$ and $q _ { \phi } ( \mathbf { z } | \mathbf { x } _ { 0 : T } )$ . In the time-invariant version, we sample $\mathbf { z }$ once per video, whereas with the time-variant latent, sampling happens every frame. The main benefit of time-variant latent variable is better generalization beyond $T$ , since the model does not have to encode all the events of the video in one vector $\mathbf { z }$ . We provide an empirical comparison of these formulations in Section 5.2.
|
| 65 |
+
|
| 66 |
+

|
| 67 |
+
Figure 4: Three phases of training. In the first phase, the inference network is turned off and only the generative network is being trained, resulting in deterministic predictions. The inference network is used in the second phase without a KL-loss. The last phase includes $D _ { K L } \big ( q _ { \phi } ( \mathbf { z } | \mathbf { x } _ { 0 : T } ) | | p ( \mathbf { z } ) \big )$ to enable accurate sampling latent from $p ( \mathbf { z } )$ . (a) the KL-loss $( b )$ the reconstruction loss (c) Training stability. This graph compares reconstruction loss at the end of five training sessions on the BAIR robot pushing dataset, with and without following all the steps of the training procedure. The proposed training is quite stable and results in lower error compared to na¨ıve training.
|
| 68 |
+
|
| 69 |
+
In action-conditioned settings, we modify the generative model to be conditioned on action vector $\mathbf { a } _ { t }$ . This results in $\begin{array} { r } { p ( \mathbf { z } _ { t } ) \prod _ { t = c } ^ { T } p _ { \boldsymbol \theta } ( \mathbf { x } _ { t } | \mathbf { x } _ { 0 : t - 1 } , \mathbf { z } _ { t } , \mathbf { a } _ { t } ) } \end{array}$ as generative model while keeping the posterior approximation intact. Conditioning the outcome on actions can decrease future variability; however it will not eliminate it if the environment is inherently stochastic or the actions are ambiguous. In this case, the model is still capable of predicting stochastic outcomes in a narrower range of possibilities.
|
| 70 |
+
|
| 71 |
+
# 3.1 MODEL ARCHITECTURE
|
| 72 |
+
|
| 73 |
+
To model the approximated posterior $q _ { \phi } ( \mathbf { z } | \mathbf { x } _ { 0 : T } )$ we used a deep convolutional neural network as shown in the top row of Figure 3. Since we assumed a diagonal Gaussian distribution for $q _ { \phi } ( \mathbf { z } | \mathbf { x } _ { 0 : T } )$ , this network outputs the mean $\mu _ { \phi } \big ( \mathbf { x } _ { 0 : T } \big )$ and standard deviation $\log \sigma _ { \phi } ( \mathbf { x } _ { 0 : T } )$ of the approximated posterior. Hence the entire inference network is convolutional, the predicted parameters are $8 \times 8$ single channel response maps. We assume each entry in this response maps is pairwise independent, forming the latent vector $\mathbf { z }$ . The latent value is then sampled using Equation 1. As discussed before, this sampling happens every frame for time-varying latent, and once per video in time-invariant case.
|
| 74 |
+
|
| 75 |
+
For $p ( \mathbf { x } _ { t } | \mathbf { x } _ { 0 : t - 1 } , \mathbf { z } )$ , we used the CDNA architecture proposed by Finn et al. (2016), which is a deterministic convolutional recurrent network that predicts the next frame $\mathbf { x } _ { t }$ given the previous frame $\mathbf { x } _ { t - 1 }$ and an optional action $\mathbf { a } _ { t }$ . This model constructs the next frames by predicting the motions of segments of the image (i.e., objects) and then merging these predictions via masking. Although this model directly outputs pixels, it is partially-appearance invariant and can generalize to unseen objects (Finn et al., 2016). To condition on the latent value, we modify the CDNA architecture by stacking $\mathbf { z } _ { t }$ as an additional channel on tiled action $\mathbf { a } _ { t }$ .
|
| 76 |
+
|
| 77 |
+
# 3.2 TRAINING PROCEDURE
|
| 78 |
+
|
| 79 |
+
Our model can be trained end-to-end. However, our experiments show that na¨ıve training usually results in the model ignoring the latent variables and converging to a suboptimal deterministic solution (Figure 4). Therefore, we train the model end-to-end in three phases, as follows:
|
| 80 |
+
|
| 81 |
+
1. Training the generative network: In this phase, the inference network has been disabled and the latent value $\mathbf { z }$ will be randomly sampled from $\mathcal { N } ( \mathbf { 0 } , \mathbf { I } )$ . The intuition behind this phase is to train the generative model to predict the future frames deterministically (i.e. modeling $\mathbf { \bar { \rho } } _ { p _ { \theta } ( \mathbf { x } _ { t } | \mathbf { x } _ { 0 : t - 1 } ) } ) $ .
|
| 82 |
+
2. Training the inference network: In the second phase, the inference network is trained to estimate the approximate posterior $q _ { \phi } ( \mathbf { z } | \mathbf { x } _ { 0 : T } )$ ; however, the KL-loss is set to 0. This means that the model can use the latent value without being penalized for diverging from $p ( \mathbf { z } )$ . As seen in Figure 4, this phase results in very low reconstruction error, however it is not usable at the test time since $D _ { K L } \mathbf { \bar { ( } } q _ { \phi } ( \mathbf { z } | \mathbf { x } _ { 0 : T } ) | | p ( \mathbf { z } ) \rrangle \gg 0$ and sampling $\mathbf { z }$ from the assumed prior will be inaccurate.
|
| 83 |
+
|
| 84 |
+
3. Divergence reduction: In the last phase, the KL-loss is added, resulting in a sudden drop of KLdivergence and an increase of reconstruction error. The reconstruction loss converging to a value lower than the first phase and KL-loss converging to zero are indicators of successful training. This means that $\mathbf { z }$ can be sampled from $p ( \mathbf { z } )$ at test time for effective stochastic prediction.
|
| 85 |
+
|
| 86 |
+
To gradually transition from the second phase to the third, we add a multiplier to KL-loss that is set to zero during the first two phases and then increased slowly in the last phase. This is similar to the $\beta$ hyper-parameter in Higgins et al. (2016) and Bowman et al. (2016) that is used to balance latent channel capacity and independence constraints with reconstruction accuracy.
|
| 87 |
+
|
| 88 |
+
We found that this training procedure is quite stable and the model almost always converges to the desired parameters. To demonstrate this stability, we trained the model with and without the proposed training procedure, five times each. Figure 4 shows the average and standard deviation of reconstruction loss at the end of these training sessions. Na¨ıve training results in a slightly better error compared to Finn et al. (2016), but with high variance. When following the proposed training algorithm, the model consistently converges to a much lower reconstruction error.
|
| 89 |
+
|
| 90 |
+
# 4 STOCHASTIC MOVEMENT DATASET
|
| 91 |
+
|
| 92 |
+
To highlight the importance of stochasticity in video prediction, we created a toy video dataset with intentionally stochastic motion. Each video in this dataset is four frames long. The first frame contains a random shape (triangle, rectangle or circle) with random size and color, centered in the frame, which then randomly moves to one of the eight directions (up, down, left, right, up-left, upright, down-left, down-right). Each frame is $6 4 \times 6 4 \times 3$ and the background is static gray. The main intuition behind this design is that, given only the first frame, a model can figure out the shape, color, and size of the moving object, but not its movement direction.
|
| 93 |
+
|
| 94 |
+
We train Finn et al. (2016) and SV2P to predict the future frames, given only the first frame. Figure 1 shows the video predictions from these two models. Since Finn et al. (2016) is a deterministic model with mean squared error as loss, it predicts the average of all possible outcomes, as expected. In contrast, SV2P predicts different possible futures for each sample of the latent variable $\mathbf { z } \sim \mathcal { N } ( \mathbf { 0 } , \mathbf { I } )$ . In our experiments, all the videos predicted by SV2P are within the range of plausible futures (e.g. we never saw the shape moves in any direction other than the original eight). However, in some cases, SV2P still predicts the average of more than one future, as it can be seen in the first random sample of Figure 1c. The main reason for this problem seems to be overlapping posterior distributions in latent space which can cause some latent values (sampled from $p ( \mathbf { z } ) _ { , } ^ { \dag }$ ) to be ambiguous.
|
| 95 |
+
|
| 96 |
+
To demonstrate that the inference network is working properly and that the latent variable does indeed learn to store the information necessary for stochastic prediction (i.e., the direction of movement), we include predicted futures when ${ \mathbf z } \sim q _ { \phi } ( { \mathbf x } _ { 0 : T } )$ . By estimating the correct parameters of the latent distribution, using the inference network, the model always generates the right outcome. However, this cannot be used in practice, since the inference network requires access to all the frames, including the ones in the future. Instead, $\mathbf { z }$ will be sampled from assumed prior $p ( \mathbf { z } )$ .
|
| 97 |
+
|
| 98 |
+
# 5 EXPERIMENTS
|
| 99 |
+
|
| 100 |
+
To evaluate SV2P, we test it on three real-world video datasets by comparing it to the CDNA model (Finn et al., 2016), as a deterministic baseline, as well as a baseline that outputs the last seen frame as the prediction. We compare SV2P with an auto-regressive stochastic model, video pixel networks (VPN) (Kalchbrenner et al., 2017). We use the parallel multi-resolution implementation of VPN from Reed et al. (2017), which is an order of magnitude faster than the original VPN, but still requires more than a minute to generate one second of $6 4 \times 6 4$ video. In all of these experiments, we plot the results of sampling the latent once per video (SV2P time-invariant latent) and once per frame (SV2P time-variant latent). We strongly encourage readers to view https://goo.gl/iywUHc for videos of the results which are more illustrative than printed frames.
|
| 101 |
+
|
| 102 |
+
# 5.1 DATASETS
|
| 103 |
+
|
| 104 |
+
We quantitatively and qualitatively evaluate SV2P on following real-world datasets:
|
| 105 |
+
|
| 106 |
+
• BAIR robot pushing dataset (Ebert et al., 2017): This dataset contains action-conditioned videos collected by a Sawyer robotic arm pushing a variety of objects. All of the videos in this datasets have similar table top settings with static background. Each video also has recorded actions taken by the robotic arm which correspond to the commanded gripper pose. An interesting property of this dataset is the fact that the arm movements are quite unpredictable in the absence of actions (compared to the robot pushing dataset (Finn et al., 2016) which the arm moves to the center of the bin). For this dataset, we train the models to predict the next ten frames given the first two, both in action-conditioned and action-free settings.
|
| 107 |
+
|
| 108 |
+
• Human3.6M (Ionescu et al., 2014): Humans and animals are one of the most interesting sources of stochasticity in natural videos, which behave in complex ways as a consequence of unpredictable intentions. To study human motion prediction, we use the Human3.6M dataset which consists of actors performing various actions in a room. We used the pre-processing and testing format of Finn et al. (2016): a $1 0 \ : \mathrm { H z }$ frame rate and 10-frame prediction given the previous ten. The videos from this datasets contains various actions performed by humans (walking, talking on the phone, . . . ). Similar to Finn et al. (2016), we included videos from all the performed actions in training dataset while keeping all the videos from an specific actor out for testing.
|
| 109 |
+
|
| 110 |
+
• Robotic pushing prediction (Finn et al., 2016): We use the robot pushing prediction dataset to compare SV2P with another stochastic prediction method, video pixel networks (VPNs) (Kalchbrenner et al., 2017). VPNs demonstrated excellent results on this dataset in prior work, and therefore robot pushing dataset provides a strong point of comparison. However, in contrast to our method, VPNs do not include latent stochastic variables that represent random events, and rely on an expensive auto-regressive architecture. In this experiment, the models have been trained to predict the next ten frames, given the first two. Similar to BAIR robot pushing dataset, this dataset also contains actions taken by the robotic arm which are the pose of the commanded gripper.
|
| 111 |
+
|
| 112 |
+
# 5.2 QUANTITATIVE COMPARISON
|
| 113 |
+
|
| 114 |
+
In our quantitative evaluation, we aim to understand whether the range of possible futures captured by our stochastic model includes the true future. Models that are more stochastic do not necessarily score better on average standard metrics such as PSNR (Huynh-Thu & Ghanbari, 2008) and SSIM (Wang et al., 2004). However, if we are interested primarily in understanding whether the true outcome is within the set of predictions, we can instead evaluate the score of the best sample from multiple random priors. We argue that this is a better metric for stochastic models, since it allows us to understand if uncertain futures contain the true outcome. Figure 5 illustrates how this metric changes with different numbers of samples. By predicting more possible futures, the probability of predicting the true outcome increases, and therefore it is more likely to get a sample with higher PSNR compared to the ground truth. Of course, as with all video prediction metrics, it is imperfect, and is only suitable for understanding the performance of the model when combined with a visual examination of the qualitative results in Section 5.3.
|
| 115 |
+
|
| 116 |
+

|
| 117 |
+
Figure 5: Stochasticity of SV2P predictions on the action-free BAIR dataset. Each line presents the sample with highest PSNR compared to ground truth, after multiple sampling. The number on the right indicates the number of random samples. As can be seen, SV2P predicts highly stochastic videos and, on average, only three samples is enough to predict outcomes with higher quality compared to Finn et al. (2016).
|
| 118 |
+
|
| 119 |
+
To use this metric, we sample 100 latent values from prior $\mathbf { z } \sim \mathcal { N } ( \mathbf { 0 } , \mathbf { I } )$ and use them to predict 100 videos and show the result of the sample with
|
| 120 |
+
|
| 121 |
+
highest PSNR. For a fair comparison to VPN, we use the same best out of 100 samples for our stochastic baseline. Since even the fast implementation of VPN is quite slow, we limit the comparison with VPN to only last dataset with 256 test samples.
|
| 122 |
+
|
| 123 |
+

|
| 124 |
+
Figure 6: Quantitative comparison of the prediction methods. The stochastic models have been sampled 100 times and the results with the best PSNR have been displayed. For SV2P, we demonstrate the results of both time-variant and time-invariant latent sampling. Repeat shows the results of the lower bound prediction by repeating the last seen frame as the prediction. In the last column, we compare the results of video pixel networks (VPN). All the models, including Finn et al. (2016), have been trained up to the frame marked by vertical separator and the results beyond this line display their generalization. The plots are the average SSIM and PSNR over the test set and shadow is the $9 5 \%$ confidence interval. In all of these graphs, higher is better.
|
| 125 |
+
|
| 126 |
+
Figure 6 displays the quantitative comparison of the predictions on all of the datasets. In this graph, the top row is a PSNR comparison and the bottom row is SSIM, while each column represents a different dataset. To evaluate the generalization of the models beyond what they have been trained for, we generate more frames than what the models observed during training time. The length of the training sequences is marked by a vertical separator in all of the graphs, and the results beyond this line represent extrapolation to longer sequences.
|
| 127 |
+
|
| 128 |
+
Overall, SV2P with both time-variant and time-invariant latent sampling outperform all of the other baselines, by predicting higher quality videos with higher PSNR and SSIM. Time-varying latent sampling is more stable beyond the time horizon used during training (Figure 6b). One possible explanation for this behaviour is that the time-invariant latent has to include the information required for predicting all the frames and therefore, beyond training time, it collapses. This issue is mitigated by a time-variant latent variable which takes a different value at each time step. However, this stability is not always the case as it is more evident in late frames of Figure 6a.
|
| 129 |
+
|
| 130 |
+
One other interesting observation is that the time-invariant model outperforms the time-variant model in the Human3.6M dataset. In this dataset, the most important latent event – the action performed by the actor – is consistent across the whole video which is easier to capture using timeinvariant latent.
|
| 131 |
+
|
| 132 |
+
# 5.3 QUALITATIVE COMPARISON
|
| 133 |
+
|
| 134 |
+
We can better understand the performance of the proposed model by visual examination of the qualitative results. We highlight some of the most important and observable differences in predictions by different models in Figures 8-11 1. In all of these figures, the $\mathbf { X }$ -axis is time (i.e., each row is one video). The first row is the ground truth video, and the second row is the result of Finn et al. (2016). The result of sampling the latent from approximated posterior is provided in the third row. For stochastic methods, we show the best (highest PSNR) and worst (lowest PSNR) predictions out of 100 samples (as discussed in Section 5.2), as well as two random predicted videos from our model.
|
| 135 |
+
|
| 136 |
+
Figure 8 illustrates two examples from the BAIR robot pushing dataset in the action-free setting. As a consequence of the high stochasticity in the movement of the arm in absence of actions, Finn et al. (2016) only blurs the arm out, while SV2P predicts varied but coherent movements of the arm. Note that, although each predicted movements of the arm is random, it is still in the valid range of possible outcomes (i.e., there is no sudden jump of the arm nor random movement of the objects). The proposed model also learned how to move objects in cases where they have been pushed by the predicted movements of the arm, as can be seen in the zoomed images of both samples.
|
| 137 |
+
|
| 138 |
+
In the action-conditioned setting (Figure 9), the differences are more subtle: the range of possible outcomes is narrower, but we can still observe stochasticity in the behavior of the pushed objects. Interactions between the arm and objects are uncertain due to ambiguity in depth, friction, and mass, and SV2P is able to capture some of this variation. Since these variations are subtle and occupy a smaller part of the images, we illustrate this with zoomed insets in Figure 9. Some examples of varied object movements can be found in last three rows of right example of Figure 9. SV2P also generates sharper outputs, compared to Finn et al. (2016) as is evident in the left example of Figure 9.
|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
Figure 7: Quantitative comparison of the predicted frames on Human3.6M dataset using confidence of object detection as quality metric. The y-axis demonstrates the average confidence of Huang et al. (2016) in detecting humans in predicted frames. Based on this metric, SV2P predicts images with more meaningful semantics compared to to Finn et al. (2016).
|
| 142 |
+
|
| 143 |
+
Please note that the approximate posterior $q _ { \phi } ( \mathbf { z } | \mathbf { x } _ { 0 : T } )$ is still trained with the evidence lower bound (ELBO), which means that the posterior must compress the information of the future events. Perfect reconstruction of high-quality images from posterior distributions over latent states is an open problem, and the results in our experiments compare favorably to those typically observed even in single-image VAEs (e.g. see Xue et al. (2016)). This is why the model cannot reconstruct all the future frames perfectly, even though when latent values are sampled from $q _ { \phi } ( \mathbf { z } | \mathbf { x } _ { 0 : T } )$ .
|
| 144 |
+
|
| 145 |
+
Figure 10 displays two examples from the Human3.6M dataset. In absence of actions, Finn et al. (2016) manages to separate the foreground from background, but cannot predict what happens next accurately. This results in distorted or blurred foregrounds. On the other hand, SV2P predicts a variety of different outcomes, and moves the actor accordingly. Note that PSNR and SSIM are measuring reconstruction loss with respect to the ground truth and they may not generally present a better prediction. For some applications, a prediction with lower PSNR/SSIM might have higher quality and be more interesting. A good example is the prediction with the worst PSNR in Figure 10- right, where the model predicts that the actor is spinning in his chair with relatively high quality. However, this output has the lowest PSNR compared to the ground truth.
|
| 146 |
+
|
| 147 |
+
However, pixel-wise metrics such as PSNR and SSIM may not be the best measures for semantic evaluation of predicted frames. Therefore, we use the confidence of an object detector to show the predicted frames contain useful semantic information. For this purpose, we use the open-sourced implementation of Huang et al. (2016) to compare the quality of predicted frames in Human3.6M dataset. As it can be seen in Figure 7, SV2P predicted frames which the human inside can be detected with higher confidence, compared to Finn et al. (2016).
|
| 148 |
+
|
| 149 |
+
Finally, Figure 11 demonstrates results on the Google robot pushing dataset. The qualitative and quantitative results in Figure 11 and 6 both indicate that SV2P produces substantially better predictions than VPNs. The quantitative results suggest that our best-of-100 metric is a reasonable measure of performance: the VPN predictions are more noisy, but simply increasing noise is not sufficient to increase the quality of the best sample. The stochasticity in our predictions is more coherent, corresponding to differences in object or arm motion, while much of the stochasticity in the VPN predictions resembles noise in the image, as well as visible artifacts when predicting for substantially longer time horizons.
|
| 150 |
+
|
| 151 |
+
# 6 CONCLUSION
|
| 152 |
+
|
| 153 |
+
We proposed stochastic variational video prediction (SV2P), an approach for multi-step video prediction based on variational inference. Our primary contributions include an effective stochastic prediction method with latent variables, a network architecture that succeeds on natural videos, and a training procedure that provides for stable optimization. The source code for our method will be released upon acceptance. We evaluated our proposed method on three real-world datasets in actionconditioned and action-free settings, as well as one toy dataset which has been carefully designed to highlight the importance of the stochasticity in video prediction. Both qualitative and quantitative results indicate higher quality predictions compared to other deterministic and stochastic baselines.
|
| 154 |
+
|
| 155 |
+
SV2P can be expanded in numerous ways. First, the current inference network design is fully convolutional, which exposes multiple limitations, such as unmodeled spatial correlations between the latent variables. The model could be improved by incorporating the spatial correlation induced by the convolutions into the prior, using a learned structured prior in place of the standard spherical Gaussian. Time-variant posterior approximation to reflect the new information that is revealed as the video progresses, is another possible SV2P improvement. However, as discussed in Section 3, this requires incentivizing the inference network to incorporate the latent information at training time. This would allow time-variant latent distributions which is more aligned with generative neural models for time-series(Johnson et al., 2016; Gao et al., 2016; Krishnan et al., 2017).
|
| 156 |
+
|
| 157 |
+
Another exciting direction for future research would be to study how stochastic predictions can be used to act in the real world, producing model-based reinforcement learning methods that can execute risk-sensitive behaviors from raw image observations. Accounting for risk in this way could be especially important in safety-critical settings, such as robotics.
|
| 158 |
+
|
| 159 |
+
# ACKNOWLEDGEMENT
|
| 160 |
+
|
| 161 |
+
The authors would like to thank Matt Johnson for providing feedback on an early draft of the paper, and Alex Lee for fixing bugs in the deterministic version of the model. This material is based upon work supported by the National Science Foundation under award no. 1725729 and was partially done while author was interning at Google Brain.
|
| 162 |
+
|
| 163 |
+
# REFERENCES
|
| 164 |
+
|
| 165 |
+
Mart´ın Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, Michael Isard, et al. Tensorflow: A system for largescale machine learning. In OSDI, volume 16, pp. 265–283, 2016.
|
| 166 |
+
|
| 167 |
+
Byron Boots, Arunkumar Byravan, and Dieter Fox. Learning predictive models of a depth camera & manipulator from raw execution traces. In International Conference on Robotics and Automation (ICRA), 2014.
|
| 168 |
+
|
| 169 |
+
Samuel R. Bowman, Luke Vilnis, Oriol Vinyals, Andrew M. Dai, Rafal Jozefowicz, and Samy ´ Bengio. Generating sentences from a continuous space. In Proceedings of the 20th SIGNLL Conference on Computational Natural Language Learning, CoNLL 2016, Berlin, Germany, August 11-12, 2016, pp. 10–21, 2016. URL http://aclweb.org/anthology/K/K16/ K16-1002.pdf.
|
| 170 |
+
|
| 171 |
+
Andreja Bubic, D Yves Von Cramon, and Ricarda I Schubotz. Prediction, cognition and the brain. Frontiers in human neuroscience, 4, 2010.
|
| 172 |
+
|
| 173 |
+
Baoyang Chen, Wenmin Wang, Jinzhuo Wang, Xiongtao Chen, and Weimian Li. Video imagination from a single image with transformation generation. arXiv preprint arXiv:1706.04124, 2017.
|
| 174 |
+
|
| 175 |
+

|
| 176 |
+
Figure 8: Comparing the results of SV2P with Finn et al. (2016) (second row) on action-free BAIR robot pushing dataset. Fourth and fifth rows are the predictions with minimum and maximum PSNR out of 100 random outputs with time-invariant latent sampling. The last two rows are random predicted outcomes. The numbers on top indicate the predicted frame number. In lack of actions and therefore high stochasticity, Finn et al. (2016) only blurs the robotic arm out while the proposed method predicts sharper frames on each sampling. SV2P also predicts the interaction dynamics between random movements of the arm and the objects.
|
| 177 |
+
|
| 178 |
+

|
| 179 |
+
Figure 9: Similar comparison as Figure 8 this time action-conditioned with time-variant latent sampling. SV2P predicts sharper and slightly variant outcomes compared to Finn et al. (2016). This is mostly evident in zoomed in objects which have been pushed by the arm.
|
| 180 |
+
|
| 181 |
+

|
| 182 |
+
Figure 10: Prediction results on the action-free Human3.6M dataset. SV2P predicts a different outcome on each sampling given the latent. In the left example, the model predicts walking as well as stopping which result in different outputs in predicted future frames. Similarly, the right example demonstrates various outcomes including spinning.
|
| 183 |
+
|
| 184 |
+

|
| 185 |
+
Figure 11: Comparing the results of video pixel networks (VPN) (Kalchbrenner et al., 2017; Reed et al., 2017) with SV2P on the robotic pushing dataset. We use the same best PSNR out of 100 random samples for both methods. Besides stochastic movements of the pushed objects, another source of stochasticity is the starting lag in movements of the robotic arm. SV2P generates sharper images compared to Finn et al. (2016) (notice the pushed objects in zoomed images) with less noise compared to Reed et al. (2017) (look at the accumulated noise in later frames).
|
| 186 |
+
|
| 187 |
+
Silvia Chiappa, Sebastien Racani ´ ere, Daan Wierstra, and Shakir Mohamed. Recurrent environment \` simulators. In Proceedings of the International Conference on Learning Representations (ICLR), 2017.
|
| 188 |
+
|
| 189 |
+
Bert De Brabandere, Xu Jia, Tinne Tuytelaars, and Luc Van Gool. Dynamic filter networks. In Neural Information Processing Systems (NIPS), 2016.
|
| 190 |
+
|
| 191 |
+
Emily Denton and Vighnesh Birodkar. Unsupervised learning of disentangled representations from video. arXiv preprint arXiv:1705.10915, 2017.
|
| 192 |
+
|
| 193 |
+
Frederik Ebert, Chelsea Finn, Alex X. Lee, and Sergey Levine. Self-Supervised Visual Planning with Temporal Skip Connections. Conference on Robot Learning (CoRL), 2017.
|
| 194 |
+
|
| 195 |
+
Chelsea Finn and Sergey Levine. Deep visual foresight for planning robot motion. In International Conference on Robotics and Automation (ICRA), 2017.
|
| 196 |
+
|
| 197 |
+
Chelsea Finn, Ian Goodfellow, and Sergey Levine. Unsupervised learning for physical interaction through video prediction. In Advances in Neural Information Processing Systems, 2016.
|
| 198 |
+
|
| 199 |
+
Katerina Fragkiadaki, Jonathan Huang, Alex Alemi, Sudheendra Vijayanarasimhan, Susanna Ricco, and Rahul Sukthankar. Motion prediction under multimodality with conditional stochastic networks. CoRR, abs/1705.02082, 2017.
|
| 200 |
+
|
| 201 |
+
Yuanjun Gao, Evan W Archer, Liam Paninski, and John P Cunningham. Linear dynamical neural population models through nonlinear embeddings. In Advances in Neural Information Processing Systems, pp. 163–171, 2016.
|
| 202 |
+
|
| 203 |
+
Ian Goodfellow. Nips 2016 tutorial: Generative adversarial networks. arXiv preprint arXiv:1701.00160, 2016.
|
| 204 |
+
|
| 205 |
+
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, 2014.
|
| 206 |
+
|
| 207 |
+
Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-vae: Learning basic visual concepts with a constrained variational framework. International Conference on Learning Representations (ICLR), 2016.
|
| 208 |
+
|
| 209 |
+
Jonathan Huang, Vivek Rathod, Chen Sun, Menglong Zhu, Anoop Korattikara, Alireza Fathi, Ian Fischer, Zbigniew Wojna, Yang Song, Sergio Guadarrama, et al. Speed/accuracy trade-offs for modern convolutional object detectors. arXiv preprint arXiv:1611.10012, 2016.
|
| 210 |
+
|
| 211 |
+
Quan Huynh-Thu and Mohammed Ghanbari. Scope of validity of psnr in image/video quality assessment. Electronics letters, 2008.
|
| 212 |
+
|
| 213 |
+
Catalin Ionescu, Dragos Papava, Vlad Olaru, and Cristian Sminchisescu. Human3. 6m: Large scale datasets and predictive methods for 3d human sensing in natural environments. IEEE transactions on pattern analysis and machine intelligence, 36(7), 2014.
|
| 214 |
+
|
| 215 |
+
Matthew Johnson, David K Duvenaud, Alex Wiltschko, Ryan P Adams, and Sandeep R Datta. Composing graphical models with neural networks for structured representations and fast inference. In Advances in neural information processing systems, pp. 2946–2954, 2016.
|
| 216 |
+
|
| 217 |
+
Nal Kalchbrenner, Aaron van den Oord, Karen Simonyan, Ivo Danihelka, Oriol Vinyals, Alex ¨ Graves, and Koray Kavukcuoglu. Video pixel networks. International Conference on Machine Learning (ICML), 2017.
|
| 218 |
+
|
| 219 |
+
Diederik P Kingma and Max Welling. Auto-encoding variational bayes. International Conference on Learning Representations (ICLR), 2014.
|
| 220 |
+
|
| 221 |
+
Rahul G Krishnan, Uri Shalit, and David Sontag. Structured inference networks for nonlinear state space models. In AAAI, pp. 2101–2109, 2017.
|
| 222 |
+
|
| 223 |
+
Yitong Li, Martin Renqiang Min, Dinghan Shen, David Carlson, and Lawrence Carin. Video generation from text. arXiv preprint arXiv:1710.00421, 2017.
|
| 224 |
+
|
| 225 |
+
Ziwei Liu, Raymond Yeh, Xiaoou Tang, Yiming Liu, and Aseem Agarwala. Video frame synthesis using deep voxel flow. International Conference on Computer Vision (ICCV), 2017.
|
| 226 |
+
|
| 227 |
+
William Lotter, Gabriel Kreiman, and David Cox. Deep predictive coding networks for video prediction and unsupervised learning. International Conference on Learning Representations (ICLR), 2017.
|
| 228 |
+
|
| 229 |
+
Michael Mathieu, Camille Couprie, and Yann LeCun. Deep multi-scale video prediction beyond mean square error. International Conference on Learning Representations (ICLR), 2016.
|
| 230 |
+
|
| 231 |
+
Junhyuk Oh, Xiaoxiao Guo, Honglak Lee, Richard L Lewis, and Satinder Singh. Action-conditional video prediction using deep networks in atari games. In Advances in Neural Information Processing Systems, 2015.
|
| 232 |
+
|
| 233 |
+
MarcAurelio Ranzato, Arthur Szlam, Joan Bruna, Michael Mathieu, Ronan Collobert, and Sumit Chopra. Video (language) modeling: a baseline for generative models of natural videos. arXiv preprint arXiv:1412.6604, 2014.
|
| 234 |
+
|
| 235 |
+
Scott E. Reed, Aaron van den Oord, Nal Kalchbrenner, Sergio Gomez Colmenarejo, Ziyu Wang, ¨ Yutian Chen, Dan Belov, and Nando de Freitas. Parallel multiscale autoregressive density estimation. International Conference on Machine Learning (ICML), 2017.
|
| 236 |
+
|
| 237 |
+
Rui Shu, James Brofos, Frank Zhang, Hung Hai Bui, Mohammad Ghavamzadeh, and Mykel Kochenderfer. Stochastic video prediction with conditional density estimation. In ECCV Workshop on Action and Anticipation for Visual Learning, 2016.
|
| 238 |
+
|
| 239 |
+
Nitish Srivastava, Elman Mansimov, and Ruslan Salakhudinov. Unsupervised learning of video representations using lstms. In International Conference on Machine Learning, 2015.
|
| 240 |
+
|
| 241 |
+
Sergey Tulyakov, Ming-Yu Liu, Xiaodong Yang, and Jan Kautz. Mocogan: Decomposing motion and content for video generation. arXiv preprint arXiv:1707.04993, 2017.
|
| 242 |
+
|
| 243 |
+
Carl Vondrick and Antonio Torralba. Generating the future with adversarial transformers. In Computer Vision and Pattern Recognition (CVPR), 2017.
|
| 244 |
+
|
| 245 |
+
Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Anticipating the future by watching unlabeled video. arXiv preprint arXiv:1504.08023, 2015.
|
| 246 |
+
|
| 247 |
+
Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Generating videos with scene dynamics. In Advances In Neural Information Processing Systems, 2016.
|
| 248 |
+
|
| 249 |
+
Jacob Walker, Carl Doersch, Abhinav Gupta, and Martial Hebert. An uncertain future: Forecasting from static images using variational autoencoders. In European Conference on Computer Vision, pp. 835–851. Springer, 2016.
|
| 250 |
+
|
| 251 |
+
Zhou Wang, Alan C Bovik, Hamid R Sheikh, and Eero P Simoncelli. Image quality assessment: from error visibility to structural similarity. IEEE transactions on image processing, 2004.
|
| 252 |
+
|
| 253 |
+
SHI Xingjian, Zhourong Chen, Hao Wang, Dit-Yan Yeung, Wai-Kin Wong, and Wang-chun Woo. Convolutional lstm network: A machine learning approach for precipitation nowcasting. In Advances in Neural Information Processing Systems, 2015.
|
| 254 |
+
|
| 255 |
+
Tianfan Xue, Jiajun Wu, Katherine Bouman, and Bill Freeman. Visual dynamics: Probabilistic future frame synthesis via cross convolutional networks. In Advances in Neural Information Processing Systems, 2016.
|
| 256 |
+
|
| 257 |
+
Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A. Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. International Conference on Computer Vision (ICCV), 2017.
|
| 258 |
+
|
| 259 |
+
# A TRAINING DETAILS
|
| 260 |
+
|
| 261 |
+
Figure 3 contains details of the network architectures used as generative and inference models. In all of the experiments we used the same set of hyper-parameters which can be found in Table 1.
|
| 262 |
+
|
| 263 |
+
Table 1: Hyper-parameters used for experiments.
|
| 264 |
+
|
| 265 |
+
<table><tr><td colspan="2">Generative Network</td></tr><tr><td>model type batch size learning rate scheduled sampling (k) #of masks</td><td>CDNA 16 0.001 900.0 10</td></tr><tr><td># of iterations InferenceNetwork</td><td>200000</td></tr><tr><td>latent minimumo starting β final β # of latent channels # step 1 iterations</td><td>-5.0 0.0 0.001 1 50000</td></tr><tr><td># step 2 iterations # step 3 iterations</td><td>50000 100000</td></tr><tr><td>Optimization</td><td>ADAM</td></tr><tr><td>Method β1</td><td>0.9</td></tr><tr><td>β2 E</td><td>0.999 1e-8</td></tr></table>
|
| 266 |
+
|
| 267 |
+
In the first step of training, we disable the inference network and instead sample latent values from $\mathcal { N } ( \mathbf { 0 } , \mathbf { I } )$ . In step 2, the latent values will be sampled from the approximated posterior $q _ { \phi } ( { \bf z } | { \bf x } _ { 0 : T } ) =$ $\mathcal { N } \big ( \mu ( \mathbf { x } _ { 0 : T } ) , \sigma ( \mathbf { x } _ { 0 : T } ) \big )$ . Please note that the inference network approximates $\log ( \sigma )$ instead of $\sigma$ for numerical stability. To gradually switch from Step 2 of training procedure to Step 3, we increase $\beta$ linearly from its starting value to its end value over the length of training.
|
parse/train/rk49Mg-CW/rk49Mg-CW_content_list.json
ADDED
|
@@ -0,0 +1,1501 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "STOCHASTIC VARIATIONAL VIDEO PREDICTION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
751,
|
| 10 |
+
122
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Mohammad Babaeizadeh1, Chelsea Finn2, Dumitru Erhan3, Roy Campbell1, and Sergey Levine2,3 ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
178,
|
| 19 |
+
150,
|
| 20 |
+
816,
|
| 21 |
+
166
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "1University of Illinois at Urbana-Champaign 2University of California, Berkeley 3Google Brain ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
352,
|
| 30 |
+
176,
|
| 31 |
+
645,
|
| 32 |
+
219
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "mb2@uiuc.edu, cbfinn@eecs.berkeley.edu, dumitru@google.com, rhc@illinois.edu, svlevine@eecs.berkeley.edu ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
238,
|
| 41 |
+
234,
|
| 42 |
+
758,
|
| 43 |
+
261
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "ABSTRACT ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
454,
|
| 53 |
+
303,
|
| 54 |
+
544,
|
| 55 |
+
318
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Predicting the future in real-world settings, particularly from raw sensory observations such as images, is exceptionally challenging. Real-world events can be stochastic and unpredictable, and the high dimensionality and complexity of natural images require the predictive model to build an intricate understanding of the natural world. Many existing methods tackle this problem by making simplifying assumptions about the environment. One common assumption is that the outcome is deterministic and there is only one plausible future. This can lead to low-quality predictions in real-world settings with stochastic dynamics. In this paper, we develop a stochastic variational video prediction (SV2P) method that predicts a different possible future for each sample of its latent variables. To the best of our knowledge, our model is the first to provide effective stochastic multi-frame prediction for real-world videos. We demonstrate the capability of the proposed method in predicting detailed future frames of videos on multiple real-world datasets, both action-free and action-conditioned. We find that our proposed method produces substantially improved video predictions when compared to the same model without stochasticity, and to other stochastic video prediction methods. Our SV2P implementation will be open sourced upon publication. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
233,
|
| 64 |
+
333,
|
| 65 |
+
764,
|
| 66 |
+
568
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 INTRODUCTION ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
176,
|
| 76 |
+
593,
|
| 77 |
+
336,
|
| 78 |
+
608
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Understanding the interaction dynamics of objects and predicting what happens next is one of the key capabilities of humans which we heavily rely on to make decisions in everyday life (Bubic et al., 2010). A model that can accurately predict future observations of complex sensory modalities such as vision must internally represent the complex dynamics of real-world objects and people, and therefore is more likely to acquire a representation that can be used for a variety of visual perception tasks, such as object tracking and action recognition (Srivastava et al., 2015; Lotter et al., 2017; Denton & Birodkar, 2017). Furthermore, such models can be inherently useful themselves, for example, to allow an autonomous agent or robot to decide how to interact with the world to bring about a desired outcome (Oh et al., 2015; Finn & Levine, 2017). ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
625,
|
| 88 |
+
825,
|
| 89 |
+
750
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "However, modeling future distributions over images is a challenging task, given the high dimensionality of the data and the complex dynamics of the environment. Hence, it is common to make various simplifying assumptions. One particularly common assumption is that the environment is deterministic and that there is only one possible future (Chiappa et al., 2017; Srivastava et al., 2015; Boots et al., 2014; Lotter et al., 2017). Models conditioned on the actions of an agent frequently make this assumption, since the world is more deterministic in these settings (Oh et al., 2015; Finn et al., 2016). However, most real-world prediction tasks, including the action-conditioned settings, are in fact not deterministic, and a deterministic model can lose many of the nuances that are present in real physical interactions. Given the stochastic nature of video prediction, any deterministic model is obliged to predict a statistic of all the possible outcomes. For example, deterministic models trained with a mean squared error loss function generate the expected value of all the possibilities for each pixel independently, which is inherently blurry (Mathieu et al., 2016). ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
757,
|
| 99 |
+
825,
|
| 100 |
+
924
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/aba4881bdcfe439c582ea1ff7e0e21c025bd9dddb8b5b58fb4b62ba499e9a6db.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: Importance of stochasticity in video prediction. In each video, a random shape follows a random direction (first row). Given only the first frame, the deterministic model from Finn et al. (2016) predicts the average of all the possibilities. The third row is the output of SV2P with latent sampled from approximated posterior which predicts the correct motion. Last two rows are stochastic outcomes using random latent values sampled from assumed prior. As observed, these outcomes are random but within the range of possible futures. Second sample of Figure 1c shows a case where the model predicts the average of more than one outcome. "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
179,
|
| 113 |
+
95,
|
| 114 |
+
813,
|
| 115 |
+
319
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "Our main contribution in this paper is a stochastic variational method for video prediction, named SV2P, that predicts a different plausible future for each sample of its latent random variables. We also provide a stable training procedure for training a neural network based implementation of this method. To the extent of our knowledge, SV2P is the first latent variable model to successfully predict multiple frames in real-world settings. Our model also supports action-conditioned predictions, while still being able to predict stochastic outcomes of ambiguous actions, as exemplified in our experiments. We evaluate SV2P on multiple real-world video datasets, as well as a carefully designed toy dataset that highlights the importance of stochasticity in video prediction (see Figure 1). In both our qualitative and quantitative comparisons, SV2P produces substantially improved video predictions when compared to the same model without stochasticity, with respect to standard metrics such as PSNR and SSIM. The stochastic nature of SV2P is most apparent when viewing the predicted videos. Therefore, we highly encourage the reader to check the project website https://goo.gl/iywUHc to view the actual videos of the experiments. The TensorFlow (Abadi et al., 2016) implementation of this project will be open sourced upon publication. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
173,
|
| 124 |
+
458,
|
| 125 |
+
825,
|
| 126 |
+
651
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "2 RELATED WORK ",
|
| 133 |
+
"text_level": 1,
|
| 134 |
+
"bbox": [
|
| 135 |
+
176,
|
| 136 |
+
674,
|
| 137 |
+
344,
|
| 138 |
+
690
|
| 139 |
+
],
|
| 140 |
+
"page_idx": 1
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"type": "text",
|
| 144 |
+
"text": "A number of prior works have addressed video frame prediction while assuming deterministic environments (Ranzato et al., 2014; Srivastava et al., 2015; Vondrick et al., 2015; Xingjian et al., 2015; Boots et al., 2014; Lotter et al., 2017). In this work, we build on the deterministic video prediction model proposed by Finn et al. (2016), which generates the future frames by predicting the motion flow of dynamically masked out objects extracted from the previous frames. Similar transformationbased models were also proposed by De Brabandere et al. (2016); Liu et al. (2017). Prior work has also considered alternative objectives for deterministic video prediction models to mitigate the blurriness of the predicted frames and produce sharper predictions (Mathieu et al., 2016; Vondrick & Torralba, 2017). Despite the adversarial objective, Mathieu et al. (2016) found that injecting noise did not lead to stochastic predictions, even for predicting a single frame. Oh et al. (2015); Chiappa et al. (2017) make sharp video predictions by assuming deterministic outcomes in video games given the actions of the agents. However, this assumption does not hold in real-world settings, which almost always have stochastic dynamics. ",
|
| 145 |
+
"bbox": [
|
| 146 |
+
174,
|
| 147 |
+
708,
|
| 148 |
+
825,
|
| 149 |
+
888
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "Auto-regressive models have been proposed for modeling the joint distribution of the raw pixels (Kalchbrenner et al., 2017). Although these models predict sharp images of the future, their training and inference time is extremely high, making them difficult to use in practice. Reed et al. (2017) proposed a parallelized multi-scale algorithm that significantly improves the training and prediction time but still requires more than a minute to generate one second of $6 4 \\times 6 4$ video on a GPU. Our comparisons suggest that the predictions from these models are sharp, but noisy, and that our method produces substantially better predictions, especially for longer horizons. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
895,
|
| 159 |
+
821,
|
| 160 |
+
924
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "",
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
103,
|
| 170 |
+
825,
|
| 171 |
+
174
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 2
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "Another approach for stochastic prediction uses generative adversarial networks (GANs) (Goodfellow et al., 2014), which have been used for video generation and prediction (Tulyakov et al., 2017; Li et al., 2017). Vondrick et al. (2016); Chen et al. (2017) applied adversarial training to predict video from a single image. Although GANs generate sharp images, they tend to suffer from modecollapse (Goodfellow, 2016), particularly in conditional generation settings (Zhu et al., 2017). ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
180,
|
| 181 |
+
825,
|
| 182 |
+
251
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "Variational auto-encoders (VAEs) (Kingma & Welling, 2014) also have been explored for stochastic prediction tasks. Walker et al. (2016) uses conditional VAEs to predict dense trajectories from pixels. Xue et al. (2016) predicts a single stochastic frame using cross convolutional networks in a VAElike architecture. Shu et al. (2016) uses conditional VAEs and Gaussian mixture priors for stochastic prediction. Both of these works have been evaluated solely on synthetic datasets with simple moving sprites and no object interaction. Real images significantly complicate video prediction due to the diversity and variety of stochastic events that can occur. Fragkiadaki et al. (2017) compared various architectures for multimodal motion forecasting and one-frame video prediction, including variational inference and straightforward sampling from the prior. Unlike these prior models, our focus is on designing a multi-frame video prediction model to produce stochastic predictions of the future. Multi-frame prediction is dramatically harder than single-frame prediction, since complex events such as collisions require multiple frames to fully resolve, and single-frame predictions can simply ignore this complexity. We believe, our approach is the first latent variable model to successfully demonstrate stochastic multi-frame video prediction on real world datasets. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
257,
|
| 192 |
+
825,
|
| 193 |
+
450
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "3 STOCHASTIC VARIATIONAL VIDEO PREDICTION (SV2P) ",
|
| 200 |
+
"text_level": 1,
|
| 201 |
+
"bbox": [
|
| 202 |
+
174,
|
| 203 |
+
488,
|
| 204 |
+
674,
|
| 205 |
+
506
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "In order to construct our stochastic variational video prediction model, we first formulate a probabilistic graphical model that explains the stochasticity in the video. Since our goal is to perform conditional video prediction, the predictions are conditioned on a set of $c$ context frames $\\mathbf { x } _ { 0 } , \\ldots , \\mathbf { x } _ { c - 1 }$ (e.g., if we are conditioning on one frame, $c = 1 \\AA$ ), and our goal is to sample from $p ( \\mathbf { x } _ { c : T } | \\mathbf { x } _ { 0 : c - 1 } )$ , where $\\mathbf { x } _ { i }$ denotes the $\\mathrm { i ^ { \\mathrm { t h } } }$ frame of the video (Figure 2). ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
174,
|
| 214 |
+
531,
|
| 215 |
+
825,
|
| 216 |
+
602
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "Video prediction is stochastic as a consequence of the latent events that are not observable from the context frames alone. For example, when a robot’s arm pushes a toy on a table, the unknown weight of that toy affects how it moves. We therefore introduce a vector of latent variables $\\mathbf { z }$ into our model, distributed according to a prior $\\mathbf { z } \\sim p ( \\mathbf { z } )$ , and build a model $p ( \\mathbf { x } _ { c : T } | \\mathbf { x } _ { 0 : c - 1 } , \\mathbf { z } )$ . This model is still stochastic but uses a more general representation, such as a conditional Gaussian, to explain just the noise in the image, while $\\mathbf { z }$ accounts for the more complex stochastic phenomena. We can then factorize this model to $\\begin{array} { r } { \\prod _ { t = c } ^ { T } p _ { \\theta } \\big ( \\mathbf { x } _ { t } | \\mathbf { x } _ { 0 : t - 1 } , \\mathbf { z } \\big ) } \\end{array}$ Learning then involves training the parameters of these factors $\\theta$ , which we assume to be shared between all the time steps. ",
|
| 223 |
+
"bbox": [
|
| 224 |
+
174,
|
| 225 |
+
609,
|
| 226 |
+
483,
|
| 227 |
+
847
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "At inference time we need to estimate values for the true posterior $p ( \\mathbf { z } | \\mathbf { x } _ { 0 : T } )$ , which is intractable due its dependency on $p ( \\mathbf { x } _ { 0 : T } )$ . We ",
|
| 234 |
+
"bbox": [
|
| 235 |
+
174,
|
| 236 |
+
854,
|
| 237 |
+
483,
|
| 238 |
+
896
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 2
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "image",
|
| 244 |
+
"img_path": "images/d9426d145ac0b3d1886124cb14d9334930e47f47b7fcfc7179483e9be5edd844.jpg",
|
| 245 |
+
"image_caption": [
|
| 246 |
+
"Figure 2: Probabilistic graphical model of stochastic variational video prediction, assuming time-invariant latent. The generative model predicts the next frame conditioned on the previous frames and latent variables (solid lines), while the variational inference model approximates the posterior given all the frames (dotted lines). "
|
| 247 |
+
],
|
| 248 |
+
"image_footnote": [],
|
| 249 |
+
"bbox": [
|
| 250 |
+
532,
|
| 251 |
+
625,
|
| 252 |
+
789,
|
| 253 |
+
760
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 2
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "overcome this problem by approximating the posterior with an inference network $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } _ { 0 : T } )$ that outputs the parameters of a conditionally Gaussian distribution $\\mathcal { N } ( \\mu _ { \\phi } ( \\mathbf { x } _ { 0 : T } ) , \\sigma _ { \\phi } ( \\mathbf { x } _ { 0 : T } ) )$ . This network is trained using the reparameterization trick (Kingma & Welling, 2014), according to: ",
|
| 260 |
+
"bbox": [
|
| 261 |
+
174,
|
| 262 |
+
897,
|
| 263 |
+
826,
|
| 264 |
+
924
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 2
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "image",
|
| 270 |
+
"img_path": "images/16adbaba343d53be1ef1ee5168ad849ee9ab134fbaab97ce502f9893b6db2c7c.jpg",
|
| 271 |
+
"image_caption": [
|
| 272 |
+
"Figure 3: Architecture of SV2P. At training time, the inference network (top) estimates the posterior $\\bar { q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } _ { 0 : T } ) } = \\mathcal { N } \\big ( \\mu ( \\mathbf { x } _ { 0 : T } ) , \\sigma ( \\mathbf { x } _ { 0 : T } ) \\big )$ . The latent value ${ \\mathbf z } \\sim q _ { \\phi } ( { \\mathbf z } | { \\mathbf x } _ { 0 : T } )$ is passed to the generative network along with the (optional) action. The generative network (from Finn et al. (2016)) predicts the next frame given the previous frames, latent values, and actions. At test time, $\\mathbf { z }$ is sampled from the assumed prior $\\mathcal { N } ( \\mathbf { 0 } , \\bar { \\mathbf { I } } )$ . "
|
| 273 |
+
],
|
| 274 |
+
"image_footnote": [],
|
| 275 |
+
"bbox": [
|
| 276 |
+
205,
|
| 277 |
+
99,
|
| 278 |
+
794,
|
| 279 |
+
301
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 3
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "text",
|
| 285 |
+
"text": "",
|
| 286 |
+
"bbox": [
|
| 287 |
+
169,
|
| 288 |
+
406,
|
| 289 |
+
771,
|
| 290 |
+
422
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 3
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "equation",
|
| 296 |
+
"img_path": "images/1828bfb76bdbc6193417975ffce2f5bf110875361ec1307e4a143a6822185a7d.jpg",
|
| 297 |
+
"text": "$$\n\\mathbf { z } = \\mu _ { \\phi } ( \\mathbf { x } _ { 0 : T } ) + \\sigma _ { \\phi } ( \\mathbf { x } _ { 0 : T } ) \\times \\epsilon , \\epsilon \\sim \\mathcal { N } ( \\mathbf { 0 } , \\mathbf { I } )\n$$",
|
| 298 |
+
"text_format": "latex",
|
| 299 |
+
"bbox": [
|
| 300 |
+
330,
|
| 301 |
+
428,
|
| 302 |
+
668,
|
| 303 |
+
445
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 3
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "text",
|
| 309 |
+
"text": "Here, $\\theta$ and $\\phi$ are the parameters of the generative model and inference network, respectively. To learn these parameters, we can optimize the variational lower bound, as in the variational autoencoder (VAE) (Kingma & Welling, 2014): ",
|
| 310 |
+
"bbox": [
|
| 311 |
+
174,
|
| 312 |
+
449,
|
| 313 |
+
825,
|
| 314 |
+
491
|
| 315 |
+
],
|
| 316 |
+
"page_idx": 3
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"type": "equation",
|
| 320 |
+
"img_path": "images/ef1cc35f5ce2a989e98ee5ec4321924bf5caf70fa9a3d9f731c041e8cd0d1623.jpg",
|
| 321 |
+
"text": "$$\n\\mathcal { L } ( \\mathbf { x } ) = - \\mathbb { E } _ { q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } _ { 0 : T } ) } \\left[ \\log p _ { \\theta } ( \\mathbf { x } _ { t : T } | \\mathbf { x } _ { 0 : t - 1 } , \\mathbf { z } ) \\right] + D _ { K L } \\big ( q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } _ { 0 : T } ) | | p ( \\mathbf { z } ) \\big )\n$$",
|
| 322 |
+
"text_format": "latex",
|
| 323 |
+
"bbox": [
|
| 324 |
+
254,
|
| 325 |
+
494,
|
| 326 |
+
743,
|
| 327 |
+
515
|
| 328 |
+
],
|
| 329 |
+
"page_idx": 3
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"type": "text",
|
| 333 |
+
"text": "where $D _ { K L }$ is the Kullback-Leibler divergence between the approximated posterior and assumed prior $p ( \\mathbf { z } )$ which in our case is the standard Gaussian $\\mathcal { N } ( \\mathbf { 0 } , \\mathbf { I } )$ . ",
|
| 334 |
+
"bbox": [
|
| 335 |
+
173,
|
| 336 |
+
518,
|
| 337 |
+
823,
|
| 338 |
+
546
|
| 339 |
+
],
|
| 340 |
+
"page_idx": 3
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"type": "text",
|
| 344 |
+
"text": "In Equation 2, the first term on the RHS represents the reconstruction loss while the second term represents the divergence of the variational posterior from the prior on the latent variable. It is important to emphasize that the approximated posterior is conditioned on all of the frames, including the future frames $\\mathbf { x } _ { t : T }$ . This is feasible during training, since $\\mathbf { x } _ { t : T }$ is available at the training time, while at test time we can sample the latents from the assumed prior. Since the aim in our method is to recover latent variables that correspond to events which might explain the variability in the videos, we found that it is in fact crucial to condition the inference network on future frames. At test time, the latent variables are simply sampled from the prior which corresponds to a smoothing-like inference process. In principle, we could also perform a filtering-like inference procedure of the form $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } _ { 0 : t - 1 } )$ for time step $t$ to infer the most likely latent variables based only on the conditioning frames, instead of sampling from the prior, which could produce more accurate predictions at test time. However, it would be undesirable to use a filtering process at training time: in order to incentivize the forward prediction network to make use of the latent variables, they must contain some information that is useful for predicting future frames that is not already present in the context frames. If they are predicted entirely from the context frames, no such information is present, and indeed we found that a purely filtering-based model simply ignores the latent variables. ",
|
| 345 |
+
"bbox": [
|
| 346 |
+
173,
|
| 347 |
+
553,
|
| 348 |
+
825,
|
| 349 |
+
775
|
| 350 |
+
],
|
| 351 |
+
"page_idx": 3
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"type": "text",
|
| 355 |
+
"text": "So far, we’ve assumed that the latent events are constant over the entire video. We can relax this assumption by conditioning prediction on a time-variant latent variable $\\mathbf { z } _ { t }$ that is sampled at every time step from $p ( \\mathbf { z } )$ . The generative model then becomes $\\begin{array} { r } { p ( \\mathbf { z } _ { t } ) \\prod _ { t = c } ^ { T } p _ { \\theta } \\big ( \\mathbf { x } _ { t } | \\mathbf { x } _ { 0 : t - 1 } , \\mathbf { z } _ { t } \\big ) } \\end{array}$ and, assuming a fixed posterior, the inference model will be approximated by $q _ { \\phi } \\big ( \\mathbf { z } _ { t } | \\mathbf { x } _ { 0 : T } \\big )$ , where the model parameters $\\phi$ are shared across time. In practice, the only difference between these two formulations is the frequency of sampling $\\mathbf { z }$ from $p ( \\mathbf { z } )$ and $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } _ { 0 : T } )$ . In the time-invariant version, we sample $\\mathbf { z }$ once per video, whereas with the time-variant latent, sampling happens every frame. The main benefit of time-variant latent variable is better generalization beyond $T$ , since the model does not have to encode all the events of the video in one vector $\\mathbf { z }$ . We provide an empirical comparison of these formulations in Section 5.2. ",
|
| 356 |
+
"bbox": [
|
| 357 |
+
173,
|
| 358 |
+
782,
|
| 359 |
+
825,
|
| 360 |
+
924
|
| 361 |
+
],
|
| 362 |
+
"page_idx": 3
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"type": "image",
|
| 366 |
+
"img_path": "images/4bfa96253e877aba226a73c223f94d0e5e06c8cc5ba6268162a30dfba292d162.jpg",
|
| 367 |
+
"image_caption": [
|
| 368 |
+
"Figure 4: Three phases of training. In the first phase, the inference network is turned off and only the generative network is being trained, resulting in deterministic predictions. The inference network is used in the second phase without a KL-loss. The last phase includes $D _ { K L } \\big ( q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } _ { 0 : T } ) | | p ( \\mathbf { z } ) \\big )$ to enable accurate sampling latent from $p ( \\mathbf { z } )$ . (a) the KL-loss $( b )$ the reconstruction loss (c) Training stability. This graph compares reconstruction loss at the end of five training sessions on the BAIR robot pushing dataset, with and without following all the steps of the training procedure. The proposed training is quite stable and results in lower error compared to na¨ıve training. "
|
| 369 |
+
],
|
| 370 |
+
"image_footnote": [],
|
| 371 |
+
"bbox": [
|
| 372 |
+
179,
|
| 373 |
+
102,
|
| 374 |
+
816,
|
| 375 |
+
236
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 4
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "text",
|
| 381 |
+
"text": "In action-conditioned settings, we modify the generative model to be conditioned on action vector $\\mathbf { a } _ { t }$ . This results in $\\begin{array} { r } { p ( \\mathbf { z } _ { t } ) \\prod _ { t = c } ^ { T } p _ { \\boldsymbol \\theta } ( \\mathbf { x } _ { t } | \\mathbf { x } _ { 0 : t - 1 } , \\mathbf { z } _ { t } , \\mathbf { a } _ { t } ) } \\end{array}$ as generative model while keeping the posterior approximation intact. Conditioning the outcome on actions can decrease future variability; however it will not eliminate it if the environment is inherently stochastic or the actions are ambiguous. In this case, the model is still capable of predicting stochastic outcomes in a narrower range of possibilities. ",
|
| 382 |
+
"bbox": [
|
| 383 |
+
173,
|
| 384 |
+
376,
|
| 385 |
+
825,
|
| 386 |
+
449
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 4
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"text": "3.1 MODEL ARCHITECTURE ",
|
| 393 |
+
"text_level": 1,
|
| 394 |
+
"bbox": [
|
| 395 |
+
174,
|
| 396 |
+
469,
|
| 397 |
+
383,
|
| 398 |
+
483
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 4
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "text",
|
| 404 |
+
"text": "To model the approximated posterior $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } _ { 0 : T } )$ we used a deep convolutional neural network as shown in the top row of Figure 3. Since we assumed a diagonal Gaussian distribution for $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } _ { 0 : T } )$ , this network outputs the mean $\\mu _ { \\phi } \\big ( \\mathbf { x } _ { 0 : T } \\big )$ and standard deviation $\\log \\sigma _ { \\phi } ( \\mathbf { x } _ { 0 : T } )$ of the approximated posterior. Hence the entire inference network is convolutional, the predicted parameters are $8 \\times 8$ single channel response maps. We assume each entry in this response maps is pairwise independent, forming the latent vector $\\mathbf { z }$ . The latent value is then sampled using Equation 1. As discussed before, this sampling happens every frame for time-varying latent, and once per video in time-invariant case. ",
|
| 405 |
+
"bbox": [
|
| 406 |
+
173,
|
| 407 |
+
496,
|
| 408 |
+
825,
|
| 409 |
+
594
|
| 410 |
+
],
|
| 411 |
+
"page_idx": 4
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"type": "text",
|
| 415 |
+
"text": "For $p ( \\mathbf { x } _ { t } | \\mathbf { x } _ { 0 : t - 1 } , \\mathbf { z } )$ , we used the CDNA architecture proposed by Finn et al. (2016), which is a deterministic convolutional recurrent network that predicts the next frame $\\mathbf { x } _ { t }$ given the previous frame $\\mathbf { x } _ { t - 1 }$ and an optional action $\\mathbf { a } _ { t }$ . This model constructs the next frames by predicting the motions of segments of the image (i.e., objects) and then merging these predictions via masking. Although this model directly outputs pixels, it is partially-appearance invariant and can generalize to unseen objects (Finn et al., 2016). To condition on the latent value, we modify the CDNA architecture by stacking $\\mathbf { z } _ { t }$ as an additional channel on tiled action $\\mathbf { a } _ { t }$ . ",
|
| 416 |
+
"bbox": [
|
| 417 |
+
174,
|
| 418 |
+
601,
|
| 419 |
+
825,
|
| 420 |
+
698
|
| 421 |
+
],
|
| 422 |
+
"page_idx": 4
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"type": "text",
|
| 426 |
+
"text": "3.2 TRAINING PROCEDURE ",
|
| 427 |
+
"text_level": 1,
|
| 428 |
+
"bbox": [
|
| 429 |
+
176,
|
| 430 |
+
718,
|
| 431 |
+
377,
|
| 432 |
+
733
|
| 433 |
+
],
|
| 434 |
+
"page_idx": 4
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"text": "Our model can be trained end-to-end. However, our experiments show that na¨ıve training usually results in the model ignoring the latent variables and converging to a suboptimal deterministic solution (Figure 4). Therefore, we train the model end-to-end in three phases, as follows: ",
|
| 439 |
+
"bbox": [
|
| 440 |
+
174,
|
| 441 |
+
746,
|
| 442 |
+
823,
|
| 443 |
+
787
|
| 444 |
+
],
|
| 445 |
+
"page_idx": 4
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "text",
|
| 449 |
+
"text": "1. Training the generative network: In this phase, the inference network has been disabled and the latent value $\\mathbf { z }$ will be randomly sampled from $\\mathcal { N } ( \\mathbf { 0 } , \\mathbf { I } )$ . The intuition behind this phase is to train the generative model to predict the future frames deterministically (i.e. modeling $\\mathbf { \\bar { \\rho } } _ { p _ { \\theta } ( \\mathbf { x } _ { t } | \\mathbf { x } _ { 0 : t - 1 } ) } ) $ . \n2. Training the inference network: In the second phase, the inference network is trained to estimate the approximate posterior $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } _ { 0 : T } )$ ; however, the KL-loss is set to 0. This means that the model can use the latent value without being penalized for diverging from $p ( \\mathbf { z } )$ . As seen in Figure 4, this phase results in very low reconstruction error, however it is not usable at the test time since $D _ { K L } \\mathbf { \\bar { ( } } q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } _ { 0 : T } ) | | p ( \\mathbf { z } ) \\rrangle \\gg 0$ and sampling $\\mathbf { z }$ from the assumed prior will be inaccurate. ",
|
| 450 |
+
"bbox": [
|
| 451 |
+
173,
|
| 452 |
+
804,
|
| 453 |
+
825,
|
| 454 |
+
924
|
| 455 |
+
],
|
| 456 |
+
"page_idx": 4
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "text",
|
| 460 |
+
"text": "3. Divergence reduction: In the last phase, the KL-loss is added, resulting in a sudden drop of KLdivergence and an increase of reconstruction error. The reconstruction loss converging to a value lower than the first phase and KL-loss converging to zero are indicators of successful training. This means that $\\mathbf { z }$ can be sampled from $p ( \\mathbf { z } )$ at test time for effective stochastic prediction. ",
|
| 461 |
+
"bbox": [
|
| 462 |
+
176,
|
| 463 |
+
103,
|
| 464 |
+
823,
|
| 465 |
+
160
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 5
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"text": "To gradually transition from the second phase to the third, we add a multiplier to KL-loss that is set to zero during the first two phases and then increased slowly in the last phase. This is similar to the $\\beta$ hyper-parameter in Higgins et al. (2016) and Bowman et al. (2016) that is used to balance latent channel capacity and independence constraints with reconstruction accuracy. ",
|
| 472 |
+
"bbox": [
|
| 473 |
+
174,
|
| 474 |
+
171,
|
| 475 |
+
825,
|
| 476 |
+
228
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 5
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "We found that this training procedure is quite stable and the model almost always converges to the desired parameters. To demonstrate this stability, we trained the model with and without the proposed training procedure, five times each. Figure 4 shows the average and standard deviation of reconstruction loss at the end of these training sessions. Na¨ıve training results in a slightly better error compared to Finn et al. (2016), but with high variance. When following the proposed training algorithm, the model consistently converges to a much lower reconstruction error. ",
|
| 483 |
+
"bbox": [
|
| 484 |
+
174,
|
| 485 |
+
234,
|
| 486 |
+
825,
|
| 487 |
+
318
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 5
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"text": "4 STOCHASTIC MOVEMENT DATASET ",
|
| 494 |
+
"text_level": 1,
|
| 495 |
+
"bbox": [
|
| 496 |
+
174,
|
| 497 |
+
338,
|
| 498 |
+
496,
|
| 499 |
+
353
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 5
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "To highlight the importance of stochasticity in video prediction, we created a toy video dataset with intentionally stochastic motion. Each video in this dataset is four frames long. The first frame contains a random shape (triangle, rectangle or circle) with random size and color, centered in the frame, which then randomly moves to one of the eight directions (up, down, left, right, up-left, upright, down-left, down-right). Each frame is $6 4 \\times 6 4 \\times 3$ and the background is static gray. The main intuition behind this design is that, given only the first frame, a model can figure out the shape, color, and size of the moving object, but not its movement direction. ",
|
| 506 |
+
"bbox": [
|
| 507 |
+
174,
|
| 508 |
+
369,
|
| 509 |
+
825,
|
| 510 |
+
468
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 5
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "text",
|
| 516 |
+
"text": "We train Finn et al. (2016) and SV2P to predict the future frames, given only the first frame. Figure 1 shows the video predictions from these two models. Since Finn et al. (2016) is a deterministic model with mean squared error as loss, it predicts the average of all possible outcomes, as expected. In contrast, SV2P predicts different possible futures for each sample of the latent variable $\\mathbf { z } \\sim \\mathcal { N } ( \\mathbf { 0 } , \\mathbf { I } )$ . In our experiments, all the videos predicted by SV2P are within the range of plausible futures (e.g. we never saw the shape moves in any direction other than the original eight). However, in some cases, SV2P still predicts the average of more than one future, as it can be seen in the first random sample of Figure 1c. The main reason for this problem seems to be overlapping posterior distributions in latent space which can cause some latent values (sampled from $p ( \\mathbf { z } ) _ { , } ^ { \\dag }$ ) to be ambiguous. ",
|
| 517 |
+
"bbox": [
|
| 518 |
+
174,
|
| 519 |
+
474,
|
| 520 |
+
825,
|
| 521 |
+
599
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 5
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "text",
|
| 527 |
+
"text": "To demonstrate that the inference network is working properly and that the latent variable does indeed learn to store the information necessary for stochastic prediction (i.e., the direction of movement), we include predicted futures when ${ \\mathbf z } \\sim q _ { \\phi } ( { \\mathbf x } _ { 0 : T } )$ . By estimating the correct parameters of the latent distribution, using the inference network, the model always generates the right outcome. However, this cannot be used in practice, since the inference network requires access to all the frames, including the ones in the future. Instead, $\\mathbf { z }$ will be sampled from assumed prior $p ( \\mathbf { z } )$ . ",
|
| 528 |
+
"bbox": [
|
| 529 |
+
174,
|
| 530 |
+
607,
|
| 531 |
+
825,
|
| 532 |
+
690
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 5
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "5 EXPERIMENTS ",
|
| 539 |
+
"text_level": 1,
|
| 540 |
+
"bbox": [
|
| 541 |
+
176,
|
| 542 |
+
709,
|
| 543 |
+
326,
|
| 544 |
+
726
|
| 545 |
+
],
|
| 546 |
+
"page_idx": 5
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "text",
|
| 550 |
+
"text": "To evaluate SV2P, we test it on three real-world video datasets by comparing it to the CDNA model (Finn et al., 2016), as a deterministic baseline, as well as a baseline that outputs the last seen frame as the prediction. We compare SV2P with an auto-regressive stochastic model, video pixel networks (VPN) (Kalchbrenner et al., 2017). We use the parallel multi-resolution implementation of VPN from Reed et al. (2017), which is an order of magnitude faster than the original VPN, but still requires more than a minute to generate one second of $6 4 \\times 6 4$ video. In all of these experiments, we plot the results of sampling the latent once per video (SV2P time-invariant latent) and once per frame (SV2P time-variant latent). We strongly encourage readers to view https://goo.gl/iywUHc for videos of the results which are more illustrative than printed frames. ",
|
| 551 |
+
"bbox": [
|
| 552 |
+
174,
|
| 553 |
+
741,
|
| 554 |
+
825,
|
| 555 |
+
867
|
| 556 |
+
],
|
| 557 |
+
"page_idx": 5
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "text",
|
| 561 |
+
"text": "5.1 DATASETS ",
|
| 562 |
+
"text_level": 1,
|
| 563 |
+
"bbox": [
|
| 564 |
+
174,
|
| 565 |
+
883,
|
| 566 |
+
287,
|
| 567 |
+
897
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 5
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "text",
|
| 573 |
+
"text": "We quantitatively and qualitatively evaluate SV2P on following real-world datasets: ",
|
| 574 |
+
"bbox": [
|
| 575 |
+
174,
|
| 576 |
+
909,
|
| 577 |
+
720,
|
| 578 |
+
924
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 5
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "text",
|
| 584 |
+
"text": "• BAIR robot pushing dataset (Ebert et al., 2017): This dataset contains action-conditioned videos collected by a Sawyer robotic arm pushing a variety of objects. All of the videos in this datasets have similar table top settings with static background. Each video also has recorded actions taken by the robotic arm which correspond to the commanded gripper pose. An interesting property of this dataset is the fact that the arm movements are quite unpredictable in the absence of actions (compared to the robot pushing dataset (Finn et al., 2016) which the arm moves to the center of the bin). For this dataset, we train the models to predict the next ten frames given the first two, both in action-conditioned and action-free settings. ",
|
| 585 |
+
"bbox": [
|
| 586 |
+
173,
|
| 587 |
+
103,
|
| 588 |
+
825,
|
| 589 |
+
215
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 6
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "text",
|
| 595 |
+
"text": "• Human3.6M (Ionescu et al., 2014): Humans and animals are one of the most interesting sources of stochasticity in natural videos, which behave in complex ways as a consequence of unpredictable intentions. To study human motion prediction, we use the Human3.6M dataset which consists of actors performing various actions in a room. We used the pre-processing and testing format of Finn et al. (2016): a $1 0 \\ : \\mathrm { H z }$ frame rate and 10-frame prediction given the previous ten. The videos from this datasets contains various actions performed by humans (walking, talking on the phone, . . . ). Similar to Finn et al. (2016), we included videos from all the performed actions in training dataset while keeping all the videos from an specific actor out for testing. ",
|
| 596 |
+
"bbox": [
|
| 597 |
+
173,
|
| 598 |
+
222,
|
| 599 |
+
825,
|
| 600 |
+
334
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 6
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "text",
|
| 606 |
+
"text": "• Robotic pushing prediction (Finn et al., 2016): We use the robot pushing prediction dataset to compare SV2P with another stochastic prediction method, video pixel networks (VPNs) (Kalchbrenner et al., 2017). VPNs demonstrated excellent results on this dataset in prior work, and therefore robot pushing dataset provides a strong point of comparison. However, in contrast to our method, VPNs do not include latent stochastic variables that represent random events, and rely on an expensive auto-regressive architecture. In this experiment, the models have been trained to predict the next ten frames, given the first two. Similar to BAIR robot pushing dataset, this dataset also contains actions taken by the robotic arm which are the pose of the commanded gripper. ",
|
| 607 |
+
"bbox": [
|
| 608 |
+
174,
|
| 609 |
+
342,
|
| 610 |
+
825,
|
| 611 |
+
453
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 6
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "5.2 QUANTITATIVE COMPARISON ",
|
| 618 |
+
"text_level": 1,
|
| 619 |
+
"bbox": [
|
| 620 |
+
176,
|
| 621 |
+
473,
|
| 622 |
+
418,
|
| 623 |
+
487
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 6
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "In our quantitative evaluation, we aim to understand whether the range of possible futures captured by our stochastic model includes the true future. Models that are more stochastic do not necessarily score better on average standard metrics such as PSNR (Huynh-Thu & Ghanbari, 2008) and SSIM (Wang et al., 2004). However, if we are interested primarily in understanding whether the true outcome is within the set of predictions, we can instead evaluate the score of the best sample from multiple random priors. We argue that this is a better metric for stochastic models, since it allows us to understand if uncertain futures contain the true outcome. Figure 5 illustrates how this metric changes with different numbers of samples. By predicting more possible futures, the probability of predicting the true outcome increases, and therefore it is more likely to get a sample with higher PSNR compared to the ground truth. Of course, as with all video prediction metrics, it is imperfect, and is only suitable for understanding the performance of the model when combined with a visual examination of the qualitative results in Section 5.3. ",
|
| 630 |
+
"bbox": [
|
| 631 |
+
174,
|
| 632 |
+
501,
|
| 633 |
+
496,
|
| 634 |
+
833
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 6
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "image",
|
| 640 |
+
"img_path": "images/78b52c592b0095218a20984840158d2ab406420ba33d49820e2bca9795b24d83.jpg",
|
| 641 |
+
"image_caption": [
|
| 642 |
+
"Figure 5: Stochasticity of SV2P predictions on the action-free BAIR dataset. Each line presents the sample with highest PSNR compared to ground truth, after multiple sampling. The number on the right indicates the number of random samples. As can be seen, SV2P predicts highly stochastic videos and, on average, only three samples is enough to predict outcomes with higher quality compared to Finn et al. (2016). "
|
| 643 |
+
],
|
| 644 |
+
"image_footnote": [],
|
| 645 |
+
"bbox": [
|
| 646 |
+
519,
|
| 647 |
+
516,
|
| 648 |
+
813,
|
| 649 |
+
715
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 6
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "To use this metric, we sample 100 latent values from prior $\\mathbf { z } \\sim \\mathcal { N } ( \\mathbf { 0 } , \\mathbf { I } )$ and use them to predict 100 videos and show the result of the sample with ",
|
| 656 |
+
"bbox": [
|
| 657 |
+
174,
|
| 658 |
+
840,
|
| 659 |
+
496,
|
| 660 |
+
882
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 6
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "highest PSNR. For a fair comparison to VPN, we use the same best out of 100 samples for our stochastic baseline. Since even the fast implementation of VPN is quite slow, we limit the comparison with VPN to only last dataset with 256 test samples. ",
|
| 667 |
+
"bbox": [
|
| 668 |
+
176,
|
| 669 |
+
882,
|
| 670 |
+
823,
|
| 671 |
+
924
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 6
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "image",
|
| 677 |
+
"img_path": "images/82a2595a17bf365c56d24b74d6c233663fec9ac13b964cf26182ff353185ecb9.jpg",
|
| 678 |
+
"image_caption": [
|
| 679 |
+
"Figure 6: Quantitative comparison of the prediction methods. The stochastic models have been sampled 100 times and the results with the best PSNR have been displayed. For SV2P, we demonstrate the results of both time-variant and time-invariant latent sampling. Repeat shows the results of the lower bound prediction by repeating the last seen frame as the prediction. In the last column, we compare the results of video pixel networks (VPN). All the models, including Finn et al. (2016), have been trained up to the frame marked by vertical separator and the results beyond this line display their generalization. The plots are the average SSIM and PSNR over the test set and shadow is the $9 5 \\%$ confidence interval. In all of these graphs, higher is better. "
|
| 680 |
+
],
|
| 681 |
+
"image_footnote": [],
|
| 682 |
+
"bbox": [
|
| 683 |
+
173,
|
| 684 |
+
99,
|
| 685 |
+
823,
|
| 686 |
+
369
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 7
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "text",
|
| 692 |
+
"text": "Figure 6 displays the quantitative comparison of the predictions on all of the datasets. In this graph, the top row is a PSNR comparison and the bottom row is SSIM, while each column represents a different dataset. To evaluate the generalization of the models beyond what they have been trained for, we generate more frames than what the models observed during training time. The length of the training sequences is marked by a vertical separator in all of the graphs, and the results beyond this line represent extrapolation to longer sequences. ",
|
| 693 |
+
"bbox": [
|
| 694 |
+
174,
|
| 695 |
+
521,
|
| 696 |
+
825,
|
| 697 |
+
604
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 7
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "text",
|
| 703 |
+
"text": "Overall, SV2P with both time-variant and time-invariant latent sampling outperform all of the other baselines, by predicting higher quality videos with higher PSNR and SSIM. Time-varying latent sampling is more stable beyond the time horizon used during training (Figure 6b). One possible explanation for this behaviour is that the time-invariant latent has to include the information required for predicting all the frames and therefore, beyond training time, it collapses. This issue is mitigated by a time-variant latent variable which takes a different value at each time step. However, this stability is not always the case as it is more evident in late frames of Figure 6a. ",
|
| 704 |
+
"bbox": [
|
| 705 |
+
174,
|
| 706 |
+
612,
|
| 707 |
+
825,
|
| 708 |
+
710
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 7
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "text",
|
| 714 |
+
"text": "One other interesting observation is that the time-invariant model outperforms the time-variant model in the Human3.6M dataset. In this dataset, the most important latent event – the action performed by the actor – is consistent across the whole video which is easier to capture using timeinvariant latent. ",
|
| 715 |
+
"bbox": [
|
| 716 |
+
174,
|
| 717 |
+
717,
|
| 718 |
+
825,
|
| 719 |
+
772
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 7
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "5.3 QUALITATIVE COMPARISON ",
|
| 726 |
+
"text_level": 1,
|
| 727 |
+
"bbox": [
|
| 728 |
+
176,
|
| 729 |
+
794,
|
| 730 |
+
408,
|
| 731 |
+
808
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 7
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "We can better understand the performance of the proposed model by visual examination of the qualitative results. We highlight some of the most important and observable differences in predictions by different models in Figures 8-11 1. In all of these figures, the $\\mathbf { X }$ -axis is time (i.e., each row is one video). The first row is the ground truth video, and the second row is the result of Finn et al. (2016). The result of sampling the latent from approximated posterior is provided in the third row. For stochastic methods, we show the best (highest PSNR) and worst (lowest PSNR) predictions out of 100 samples (as discussed in Section 5.2), as well as two random predicted videos from our model. ",
|
| 738 |
+
"bbox": [
|
| 739 |
+
174,
|
| 740 |
+
821,
|
| 741 |
+
825,
|
| 742 |
+
891
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 7
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "",
|
| 749 |
+
"bbox": [
|
| 750 |
+
173,
|
| 751 |
+
103,
|
| 752 |
+
825,
|
| 753 |
+
132
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 8
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "Figure 8 illustrates two examples from the BAIR robot pushing dataset in the action-free setting. As a consequence of the high stochasticity in the movement of the arm in absence of actions, Finn et al. (2016) only blurs the arm out, while SV2P predicts varied but coherent movements of the arm. Note that, although each predicted movements of the arm is random, it is still in the valid range of possible outcomes (i.e., there is no sudden jump of the arm nor random movement of the objects). The proposed model also learned how to move objects in cases where they have been pushed by the predicted movements of the arm, as can be seen in the zoomed images of both samples. ",
|
| 760 |
+
"bbox": [
|
| 761 |
+
174,
|
| 762 |
+
138,
|
| 763 |
+
825,
|
| 764 |
+
236
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 8
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"text": "In the action-conditioned setting (Figure 9), the differences are more subtle: the range of possible outcomes is narrower, but we can still observe stochasticity in the behavior of the pushed objects. Interactions between the arm and objects are uncertain due to ambiguity in depth, friction, and mass, and SV2P is able to capture some of this variation. Since these variations are subtle and occupy a smaller part of the images, we illustrate this with zoomed insets in Figure 9. Some examples of varied object movements can be found in last three rows of right example of Figure 9. SV2P also generates sharper outputs, compared to Finn et al. (2016) as is evident in the left example of Figure 9. ",
|
| 771 |
+
"bbox": [
|
| 772 |
+
174,
|
| 773 |
+
243,
|
| 774 |
+
496,
|
| 775 |
+
450
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 8
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "image",
|
| 781 |
+
"img_path": "images/4ef3813f7c9049d9bb6445c5d0f95258bf228837402cb7c08d1cb69e202cc394.jpg",
|
| 782 |
+
"image_caption": [
|
| 783 |
+
"Figure 7: Quantitative comparison of the predicted frames on Human3.6M dataset using confidence of object detection as quality metric. The y-axis demonstrates the average confidence of Huang et al. (2016) in detecting humans in predicted frames. Based on this metric, SV2P predicts images with more meaningful semantics compared to to Finn et al. (2016). "
|
| 784 |
+
],
|
| 785 |
+
"image_footnote": [],
|
| 786 |
+
"bbox": [
|
| 787 |
+
517,
|
| 788 |
+
261,
|
| 789 |
+
784,
|
| 790 |
+
454
|
| 791 |
+
],
|
| 792 |
+
"page_idx": 8
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "text",
|
| 796 |
+
"text": "Please note that the approximate posterior $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } _ { 0 : T } )$ is still trained with the evidence lower bound (ELBO), which means that the posterior must compress the information of the future events. Perfect reconstruction of high-quality images from posterior distributions over latent states is an open problem, and the results in our experiments compare favorably to those typically observed even in single-image VAEs (e.g. see Xue et al. (2016)). This is why the model cannot reconstruct all the future frames perfectly, even though when latent values are sampled from $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } _ { 0 : T } )$ . ",
|
| 797 |
+
"bbox": [
|
| 798 |
+
174,
|
| 799 |
+
459,
|
| 800 |
+
496,
|
| 801 |
+
612
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 8
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"text": "",
|
| 808 |
+
"bbox": [
|
| 809 |
+
174,
|
| 810 |
+
611,
|
| 811 |
+
544,
|
| 812 |
+
625
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 8
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "Figure 10 displays two examples from the Human3.6M dataset. In absence of actions, Finn et al. (2016) manages to separate the foreground from background, but cannot predict what happens next accurately. This results in distorted or blurred foregrounds. On the other hand, SV2P predicts a variety of different outcomes, and moves the actor accordingly. Note that PSNR and SSIM are measuring reconstruction loss with respect to the ground truth and they may not generally present a better prediction. For some applications, a prediction with lower PSNR/SSIM might have higher quality and be more interesting. A good example is the prediction with the worst PSNR in Figure 10- right, where the model predicts that the actor is spinning in his chair with relatively high quality. However, this output has the lowest PSNR compared to the ground truth. ",
|
| 819 |
+
"bbox": [
|
| 820 |
+
174,
|
| 821 |
+
632,
|
| 822 |
+
825,
|
| 823 |
+
757
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 8
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "However, pixel-wise metrics such as PSNR and SSIM may not be the best measures for semantic evaluation of predicted frames. Therefore, we use the confidence of an object detector to show the predicted frames contain useful semantic information. For this purpose, we use the open-sourced implementation of Huang et al. (2016) to compare the quality of predicted frames in Human3.6M dataset. As it can be seen in Figure 7, SV2P predicted frames which the human inside can be detected with higher confidence, compared to Finn et al. (2016). ",
|
| 830 |
+
"bbox": [
|
| 831 |
+
174,
|
| 832 |
+
763,
|
| 833 |
+
825,
|
| 834 |
+
848
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 8
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "Finally, Figure 11 demonstrates results on the Google robot pushing dataset. The qualitative and quantitative results in Figure 11 and 6 both indicate that SV2P produces substantially better predictions than VPNs. The quantitative results suggest that our best-of-100 metric is a reasonable measure of performance: the VPN predictions are more noisy, but simply increasing noise is not sufficient to increase the quality of the best sample. The stochasticity in our predictions is more coherent, corresponding to differences in object or arm motion, while much of the stochasticity in the VPN predictions resembles noise in the image, as well as visible artifacts when predicting for substantially longer time horizons. ",
|
| 841 |
+
"bbox": [
|
| 842 |
+
174,
|
| 843 |
+
854,
|
| 844 |
+
823,
|
| 845 |
+
911
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 8
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "",
|
| 852 |
+
"bbox": [
|
| 853 |
+
176,
|
| 854 |
+
103,
|
| 855 |
+
823,
|
| 856 |
+
159
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 9
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"text": "6 CONCLUSION ",
|
| 863 |
+
"text_level": 1,
|
| 864 |
+
"bbox": [
|
| 865 |
+
176,
|
| 866 |
+
179,
|
| 867 |
+
318,
|
| 868 |
+
195
|
| 869 |
+
],
|
| 870 |
+
"page_idx": 9
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"type": "text",
|
| 874 |
+
"text": "We proposed stochastic variational video prediction (SV2P), an approach for multi-step video prediction based on variational inference. Our primary contributions include an effective stochastic prediction method with latent variables, a network architecture that succeeds on natural videos, and a training procedure that provides for stable optimization. The source code for our method will be released upon acceptance. We evaluated our proposed method on three real-world datasets in actionconditioned and action-free settings, as well as one toy dataset which has been carefully designed to highlight the importance of the stochasticity in video prediction. Both qualitative and quantitative results indicate higher quality predictions compared to other deterministic and stochastic baselines. ",
|
| 875 |
+
"bbox": [
|
| 876 |
+
174,
|
| 877 |
+
210,
|
| 878 |
+
825,
|
| 879 |
+
323
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 9
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "SV2P can be expanded in numerous ways. First, the current inference network design is fully convolutional, which exposes multiple limitations, such as unmodeled spatial correlations between the latent variables. The model could be improved by incorporating the spatial correlation induced by the convolutions into the prior, using a learned structured prior in place of the standard spherical Gaussian. Time-variant posterior approximation to reflect the new information that is revealed as the video progresses, is another possible SV2P improvement. However, as discussed in Section 3, this requires incentivizing the inference network to incorporate the latent information at training time. This would allow time-variant latent distributions which is more aligned with generative neural models for time-series(Johnson et al., 2016; Gao et al., 2016; Krishnan et al., 2017). ",
|
| 886 |
+
"bbox": [
|
| 887 |
+
174,
|
| 888 |
+
329,
|
| 889 |
+
825,
|
| 890 |
+
455
|
| 891 |
+
],
|
| 892 |
+
"page_idx": 9
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"type": "text",
|
| 896 |
+
"text": "Another exciting direction for future research would be to study how stochastic predictions can be used to act in the real world, producing model-based reinforcement learning methods that can execute risk-sensitive behaviors from raw image observations. Accounting for risk in this way could be especially important in safety-critical settings, such as robotics. ",
|
| 897 |
+
"bbox": [
|
| 898 |
+
176,
|
| 899 |
+
462,
|
| 900 |
+
825,
|
| 901 |
+
517
|
| 902 |
+
],
|
| 903 |
+
"page_idx": 9
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"type": "text",
|
| 907 |
+
"text": "ACKNOWLEDGEMENT ",
|
| 908 |
+
"text_level": 1,
|
| 909 |
+
"bbox": [
|
| 910 |
+
176,
|
| 911 |
+
539,
|
| 912 |
+
357,
|
| 913 |
+
553
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 9
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "The authors would like to thank Matt Johnson for providing feedback on an early draft of the paper, and Alex Lee for fixing bugs in the deterministic version of the model. This material is based upon work supported by the National Science Foundation under award no. 1725729 and was partially done while author was interning at Google Brain. ",
|
| 920 |
+
"bbox": [
|
| 921 |
+
174,
|
| 922 |
+
569,
|
| 923 |
+
825,
|
| 924 |
+
626
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 9
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "text",
|
| 930 |
+
"text": "REFERENCES ",
|
| 931 |
+
"text_level": 1,
|
| 932 |
+
"bbox": [
|
| 933 |
+
176,
|
| 934 |
+
646,
|
| 935 |
+
285,
|
| 936 |
+
661
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 9
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "Mart´ın Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, Michael Isard, et al. Tensorflow: A system for largescale machine learning. In OSDI, volume 16, pp. 265–283, 2016. ",
|
| 943 |
+
"bbox": [
|
| 944 |
+
176,
|
| 945 |
+
678,
|
| 946 |
+
823,
|
| 947 |
+
719
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 9
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "text",
|
| 953 |
+
"text": "Byron Boots, Arunkumar Byravan, and Dieter Fox. Learning predictive models of a depth camera & manipulator from raw execution traces. In International Conference on Robotics and Automation (ICRA), 2014. ",
|
| 954 |
+
"bbox": [
|
| 955 |
+
174,
|
| 956 |
+
728,
|
| 957 |
+
823,
|
| 958 |
+
770
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 9
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "text",
|
| 964 |
+
"text": "Samuel R. Bowman, Luke Vilnis, Oriol Vinyals, Andrew M. Dai, Rafal Jozefowicz, and Samy ´ Bengio. Generating sentences from a continuous space. In Proceedings of the 20th SIGNLL Conference on Computational Natural Language Learning, CoNLL 2016, Berlin, Germany, August 11-12, 2016, pp. 10–21, 2016. URL http://aclweb.org/anthology/K/K16/ K16-1002.pdf. ",
|
| 965 |
+
"bbox": [
|
| 966 |
+
174,
|
| 967 |
+
779,
|
| 968 |
+
823,
|
| 969 |
+
849
|
| 970 |
+
],
|
| 971 |
+
"page_idx": 9
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"type": "text",
|
| 975 |
+
"text": "Andreja Bubic, D Yves Von Cramon, and Ricarda I Schubotz. Prediction, cognition and the brain. Frontiers in human neuroscience, 4, 2010. ",
|
| 976 |
+
"bbox": [
|
| 977 |
+
173,
|
| 978 |
+
858,
|
| 979 |
+
820,
|
| 980 |
+
887
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 9
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "Baoyang Chen, Wenmin Wang, Jinzhuo Wang, Xiongtao Chen, and Weimian Li. Video imagination from a single image with transformation generation. arXiv preprint arXiv:1706.04124, 2017. ",
|
| 987 |
+
"bbox": [
|
| 988 |
+
174,
|
| 989 |
+
895,
|
| 990 |
+
821,
|
| 991 |
+
924
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 9
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "image",
|
| 997 |
+
"img_path": "images/a8457f3b2981417099f8ec0f8472dc0520463d5a03763affd471257be50b7a32.jpg",
|
| 998 |
+
"image_caption": [
|
| 999 |
+
"Figure 8: Comparing the results of SV2P with Finn et al. (2016) (second row) on action-free BAIR robot pushing dataset. Fourth and fifth rows are the predictions with minimum and maximum PSNR out of 100 random outputs with time-invariant latent sampling. The last two rows are random predicted outcomes. The numbers on top indicate the predicted frame number. In lack of actions and therefore high stochasticity, Finn et al. (2016) only blurs the robotic arm out while the proposed method predicts sharper frames on each sampling. SV2P also predicts the interaction dynamics between random movements of the arm and the objects. "
|
| 1000 |
+
],
|
| 1001 |
+
"image_footnote": [],
|
| 1002 |
+
"bbox": [
|
| 1003 |
+
178,
|
| 1004 |
+
99,
|
| 1005 |
+
818,
|
| 1006 |
+
424
|
| 1007 |
+
],
|
| 1008 |
+
"page_idx": 10
|
| 1009 |
+
},
|
| 1010 |
+
{
|
| 1011 |
+
"type": "image",
|
| 1012 |
+
"img_path": "images/aeffc9ce522fc01f59fc532bfeee8dd2cf2e3e965715578d204755eb3faf00fc.jpg",
|
| 1013 |
+
"image_caption": [
|
| 1014 |
+
"Figure 9: Similar comparison as Figure 8 this time action-conditioned with time-variant latent sampling. SV2P predicts sharper and slightly variant outcomes compared to Finn et al. (2016). This is mostly evident in zoomed in objects which have been pushed by the arm. "
|
| 1015 |
+
],
|
| 1016 |
+
"image_footnote": [],
|
| 1017 |
+
"bbox": [
|
| 1018 |
+
178,
|
| 1019 |
+
540,
|
| 1020 |
+
818,
|
| 1021 |
+
866
|
| 1022 |
+
],
|
| 1023 |
+
"page_idx": 10
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "image",
|
| 1027 |
+
"img_path": "images/01075ef00723db057ec71d5426419f9a4646c302104026d6443451ee9d56ea2f.jpg",
|
| 1028 |
+
"image_caption": [
|
| 1029 |
+
"Figure 10: Prediction results on the action-free Human3.6M dataset. SV2P predicts a different outcome on each sampling given the latent. In the left example, the model predicts walking as well as stopping which result in different outputs in predicted future frames. Similarly, the right example demonstrates various outcomes including spinning. "
|
| 1030 |
+
],
|
| 1031 |
+
"image_footnote": [],
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
178,
|
| 1034 |
+
98,
|
| 1035 |
+
818,
|
| 1036 |
+
424
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 11
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "image",
|
| 1042 |
+
"img_path": "images/c92dfa1707968d59cea926015c300dfbf4b9777833a4dc8ab341f2d5f1a65bed.jpg",
|
| 1043 |
+
"image_caption": [
|
| 1044 |
+
"Figure 11: Comparing the results of video pixel networks (VPN) (Kalchbrenner et al., 2017; Reed et al., 2017) with SV2P on the robotic pushing dataset. We use the same best PSNR out of 100 random samples for both methods. Besides stochastic movements of the pushed objects, another source of stochasticity is the starting lag in movements of the robotic arm. SV2P generates sharper images compared to Finn et al. (2016) (notice the pushed objects in zoomed images) with less noise compared to Reed et al. (2017) (look at the accumulated noise in later frames). "
|
| 1045 |
+
],
|
| 1046 |
+
"image_footnote": [],
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
173,
|
| 1049 |
+
500,
|
| 1050 |
+
823,
|
| 1051 |
+
825
|
| 1052 |
+
],
|
| 1053 |
+
"page_idx": 11
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"type": "text",
|
| 1057 |
+
"text": "Silvia Chiappa, Sebastien Racani ´ ere, Daan Wierstra, and Shakir Mohamed. Recurrent environment \\` simulators. In Proceedings of the International Conference on Learning Representations (ICLR), 2017. ",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
176,
|
| 1060 |
+
103,
|
| 1061 |
+
823,
|
| 1062 |
+
146
|
| 1063 |
+
],
|
| 1064 |
+
"page_idx": 12
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"type": "text",
|
| 1068 |
+
"text": "Bert De Brabandere, Xu Jia, Tinne Tuytelaars, and Luc Van Gool. Dynamic filter networks. In Neural Information Processing Systems (NIPS), 2016. ",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
173,
|
| 1071 |
+
155,
|
| 1072 |
+
823,
|
| 1073 |
+
185
|
| 1074 |
+
],
|
| 1075 |
+
"page_idx": 12
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"type": "text",
|
| 1079 |
+
"text": "Emily Denton and Vighnesh Birodkar. Unsupervised learning of disentangled representations from video. arXiv preprint arXiv:1705.10915, 2017. ",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
174,
|
| 1082 |
+
194,
|
| 1083 |
+
821,
|
| 1084 |
+
223
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 12
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"type": "text",
|
| 1090 |
+
"text": "Frederik Ebert, Chelsea Finn, Alex X. Lee, and Sergey Levine. Self-Supervised Visual Planning with Temporal Skip Connections. Conference on Robot Learning (CoRL), 2017. ",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
173,
|
| 1093 |
+
232,
|
| 1094 |
+
821,
|
| 1095 |
+
262
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 12
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "Chelsea Finn and Sergey Levine. Deep visual foresight for planning robot motion. In International Conference on Robotics and Automation (ICRA), 2017. ",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
174,
|
| 1104 |
+
270,
|
| 1105 |
+
823,
|
| 1106 |
+
300
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 12
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "Chelsea Finn, Ian Goodfellow, and Sergey Levine. Unsupervised learning for physical interaction through video prediction. In Advances in Neural Information Processing Systems, 2016. ",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
173,
|
| 1115 |
+
309,
|
| 1116 |
+
823,
|
| 1117 |
+
338
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 12
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "Katerina Fragkiadaki, Jonathan Huang, Alex Alemi, Sudheendra Vijayanarasimhan, Susanna Ricco, and Rahul Sukthankar. Motion prediction under multimodality with conditional stochastic networks. CoRR, abs/1705.02082, 2017. ",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
173,
|
| 1126 |
+
347,
|
| 1127 |
+
826,
|
| 1128 |
+
390
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 12
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "text",
|
| 1134 |
+
"text": "Yuanjun Gao, Evan W Archer, Liam Paninski, and John P Cunningham. Linear dynamical neural population models through nonlinear embeddings. In Advances in Neural Information Processing Systems, pp. 163–171, 2016. ",
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
174,
|
| 1137 |
+
400,
|
| 1138 |
+
825,
|
| 1139 |
+
443
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 12
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "text",
|
| 1145 |
+
"text": "Ian Goodfellow. Nips 2016 tutorial: Generative adversarial networks. arXiv preprint arXiv:1701.00160, 2016. ",
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
168,
|
| 1148 |
+
452,
|
| 1149 |
+
825,
|
| 1150 |
+
481
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 12
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, 2014. ",
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
173,
|
| 1159 |
+
489,
|
| 1160 |
+
823,
|
| 1161 |
+
534
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 12
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-vae: Learning basic visual concepts with a constrained variational framework. International Conference on Learning Representations (ICLR), 2016. ",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
173,
|
| 1170 |
+
542,
|
| 1171 |
+
825,
|
| 1172 |
+
599
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 12
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "Jonathan Huang, Vivek Rathod, Chen Sun, Menglong Zhu, Anoop Korattikara, Alireza Fathi, Ian Fischer, Zbigniew Wojna, Yang Song, Sergio Guadarrama, et al. Speed/accuracy trade-offs for modern convolutional object detectors. arXiv preprint arXiv:1611.10012, 2016. ",
|
| 1179 |
+
"bbox": [
|
| 1180 |
+
174,
|
| 1181 |
+
608,
|
| 1182 |
+
825,
|
| 1183 |
+
652
|
| 1184 |
+
],
|
| 1185 |
+
"page_idx": 12
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"type": "text",
|
| 1189 |
+
"text": "Quan Huynh-Thu and Mohammed Ghanbari. Scope of validity of psnr in image/video quality assessment. Electronics letters, 2008. ",
|
| 1190 |
+
"bbox": [
|
| 1191 |
+
173,
|
| 1192 |
+
661,
|
| 1193 |
+
823,
|
| 1194 |
+
690
|
| 1195 |
+
],
|
| 1196 |
+
"page_idx": 12
|
| 1197 |
+
},
|
| 1198 |
+
{
|
| 1199 |
+
"type": "text",
|
| 1200 |
+
"text": "Catalin Ionescu, Dragos Papava, Vlad Olaru, and Cristian Sminchisescu. Human3. 6m: Large scale datasets and predictive methods for 3d human sensing in natural environments. IEEE transactions on pattern analysis and machine intelligence, 36(7), 2014. ",
|
| 1201 |
+
"bbox": [
|
| 1202 |
+
174,
|
| 1203 |
+
699,
|
| 1204 |
+
825,
|
| 1205 |
+
742
|
| 1206 |
+
],
|
| 1207 |
+
"page_idx": 12
|
| 1208 |
+
},
|
| 1209 |
+
{
|
| 1210 |
+
"type": "text",
|
| 1211 |
+
"text": "Matthew Johnson, David K Duvenaud, Alex Wiltschko, Ryan P Adams, and Sandeep R Datta. Composing graphical models with neural networks for structured representations and fast inference. In Advances in neural information processing systems, pp. 2946–2954, 2016. ",
|
| 1212 |
+
"bbox": [
|
| 1213 |
+
176,
|
| 1214 |
+
751,
|
| 1215 |
+
821,
|
| 1216 |
+
795
|
| 1217 |
+
],
|
| 1218 |
+
"page_idx": 12
|
| 1219 |
+
},
|
| 1220 |
+
{
|
| 1221 |
+
"type": "text",
|
| 1222 |
+
"text": "Nal Kalchbrenner, Aaron van den Oord, Karen Simonyan, Ivo Danihelka, Oriol Vinyals, Alex ¨ Graves, and Koray Kavukcuoglu. Video pixel networks. International Conference on Machine Learning (ICML), 2017. ",
|
| 1223 |
+
"bbox": [
|
| 1224 |
+
174,
|
| 1225 |
+
804,
|
| 1226 |
+
823,
|
| 1227 |
+
847
|
| 1228 |
+
],
|
| 1229 |
+
"page_idx": 12
|
| 1230 |
+
},
|
| 1231 |
+
{
|
| 1232 |
+
"type": "text",
|
| 1233 |
+
"text": "Diederik P Kingma and Max Welling. Auto-encoding variational bayes. International Conference on Learning Representations (ICLR), 2014. ",
|
| 1234 |
+
"bbox": [
|
| 1235 |
+
173,
|
| 1236 |
+
856,
|
| 1237 |
+
823,
|
| 1238 |
+
886
|
| 1239 |
+
],
|
| 1240 |
+
"page_idx": 12
|
| 1241 |
+
},
|
| 1242 |
+
{
|
| 1243 |
+
"type": "text",
|
| 1244 |
+
"text": "Rahul G Krishnan, Uri Shalit, and David Sontag. Structured inference networks for nonlinear state space models. In AAAI, pp. 2101–2109, 2017. ",
|
| 1245 |
+
"bbox": [
|
| 1246 |
+
174,
|
| 1247 |
+
895,
|
| 1248 |
+
820,
|
| 1249 |
+
924
|
| 1250 |
+
],
|
| 1251 |
+
"page_idx": 12
|
| 1252 |
+
},
|
| 1253 |
+
{
|
| 1254 |
+
"type": "text",
|
| 1255 |
+
"text": "Yitong Li, Martin Renqiang Min, Dinghan Shen, David Carlson, and Lawrence Carin. Video generation from text. arXiv preprint arXiv:1710.00421, 2017. ",
|
| 1256 |
+
"bbox": [
|
| 1257 |
+
171,
|
| 1258 |
+
103,
|
| 1259 |
+
823,
|
| 1260 |
+
132
|
| 1261 |
+
],
|
| 1262 |
+
"page_idx": 13
|
| 1263 |
+
},
|
| 1264 |
+
{
|
| 1265 |
+
"type": "text",
|
| 1266 |
+
"text": "Ziwei Liu, Raymond Yeh, Xiaoou Tang, Yiming Liu, and Aseem Agarwala. Video frame synthesis using deep voxel flow. International Conference on Computer Vision (ICCV), 2017. ",
|
| 1267 |
+
"bbox": [
|
| 1268 |
+
173,
|
| 1269 |
+
140,
|
| 1270 |
+
823,
|
| 1271 |
+
171
|
| 1272 |
+
],
|
| 1273 |
+
"page_idx": 13
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"type": "text",
|
| 1277 |
+
"text": "William Lotter, Gabriel Kreiman, and David Cox. Deep predictive coding networks for video prediction and unsupervised learning. International Conference on Learning Representations (ICLR), 2017. ",
|
| 1278 |
+
"bbox": [
|
| 1279 |
+
178,
|
| 1280 |
+
178,
|
| 1281 |
+
823,
|
| 1282 |
+
222
|
| 1283 |
+
],
|
| 1284 |
+
"page_idx": 13
|
| 1285 |
+
},
|
| 1286 |
+
{
|
| 1287 |
+
"type": "text",
|
| 1288 |
+
"text": "Michael Mathieu, Camille Couprie, and Yann LeCun. Deep multi-scale video prediction beyond mean square error. International Conference on Learning Representations (ICLR), 2016. ",
|
| 1289 |
+
"bbox": [
|
| 1290 |
+
173,
|
| 1291 |
+
229,
|
| 1292 |
+
823,
|
| 1293 |
+
260
|
| 1294 |
+
],
|
| 1295 |
+
"page_idx": 13
|
| 1296 |
+
},
|
| 1297 |
+
{
|
| 1298 |
+
"type": "text",
|
| 1299 |
+
"text": "Junhyuk Oh, Xiaoxiao Guo, Honglak Lee, Richard L Lewis, and Satinder Singh. Action-conditional video prediction using deep networks in atari games. In Advances in Neural Information Processing Systems, 2015. ",
|
| 1300 |
+
"bbox": [
|
| 1301 |
+
173,
|
| 1302 |
+
267,
|
| 1303 |
+
823,
|
| 1304 |
+
310
|
| 1305 |
+
],
|
| 1306 |
+
"page_idx": 13
|
| 1307 |
+
},
|
| 1308 |
+
{
|
| 1309 |
+
"type": "text",
|
| 1310 |
+
"text": "MarcAurelio Ranzato, Arthur Szlam, Joan Bruna, Michael Mathieu, Ronan Collobert, and Sumit Chopra. Video (language) modeling: a baseline for generative models of natural videos. arXiv preprint arXiv:1412.6604, 2014. ",
|
| 1311 |
+
"bbox": [
|
| 1312 |
+
173,
|
| 1313 |
+
319,
|
| 1314 |
+
826,
|
| 1315 |
+
363
|
| 1316 |
+
],
|
| 1317 |
+
"page_idx": 13
|
| 1318 |
+
},
|
| 1319 |
+
{
|
| 1320 |
+
"type": "text",
|
| 1321 |
+
"text": "Scott E. Reed, Aaron van den Oord, Nal Kalchbrenner, Sergio Gomez Colmenarejo, Ziyu Wang, ¨ Yutian Chen, Dan Belov, and Nando de Freitas. Parallel multiscale autoregressive density estimation. International Conference on Machine Learning (ICML), 2017. ",
|
| 1322 |
+
"bbox": [
|
| 1323 |
+
174,
|
| 1324 |
+
371,
|
| 1325 |
+
825,
|
| 1326 |
+
414
|
| 1327 |
+
],
|
| 1328 |
+
"page_idx": 13
|
| 1329 |
+
},
|
| 1330 |
+
{
|
| 1331 |
+
"type": "text",
|
| 1332 |
+
"text": "Rui Shu, James Brofos, Frank Zhang, Hung Hai Bui, Mohammad Ghavamzadeh, and Mykel Kochenderfer. Stochastic video prediction with conditional density estimation. In ECCV Workshop on Action and Anticipation for Visual Learning, 2016. ",
|
| 1333 |
+
"bbox": [
|
| 1334 |
+
173,
|
| 1335 |
+
422,
|
| 1336 |
+
825,
|
| 1337 |
+
465
|
| 1338 |
+
],
|
| 1339 |
+
"page_idx": 13
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"type": "text",
|
| 1343 |
+
"text": "Nitish Srivastava, Elman Mansimov, and Ruslan Salakhudinov. Unsupervised learning of video representations using lstms. In International Conference on Machine Learning, 2015. ",
|
| 1344 |
+
"bbox": [
|
| 1345 |
+
174,
|
| 1346 |
+
473,
|
| 1347 |
+
823,
|
| 1348 |
+
503
|
| 1349 |
+
],
|
| 1350 |
+
"page_idx": 13
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "text",
|
| 1354 |
+
"text": "Sergey Tulyakov, Ming-Yu Liu, Xiaodong Yang, and Jan Kautz. Mocogan: Decomposing motion and content for video generation. arXiv preprint arXiv:1707.04993, 2017. ",
|
| 1355 |
+
"bbox": [
|
| 1356 |
+
174,
|
| 1357 |
+
511,
|
| 1358 |
+
823,
|
| 1359 |
+
541
|
| 1360 |
+
],
|
| 1361 |
+
"page_idx": 13
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"type": "text",
|
| 1365 |
+
"text": "Carl Vondrick and Antonio Torralba. Generating the future with adversarial transformers. In Computer Vision and Pattern Recognition (CVPR), 2017. ",
|
| 1366 |
+
"bbox": [
|
| 1367 |
+
174,
|
| 1368 |
+
549,
|
| 1369 |
+
821,
|
| 1370 |
+
579
|
| 1371 |
+
],
|
| 1372 |
+
"page_idx": 13
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "text",
|
| 1376 |
+
"text": "Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Anticipating the future by watching unlabeled video. arXiv preprint arXiv:1504.08023, 2015. ",
|
| 1377 |
+
"bbox": [
|
| 1378 |
+
173,
|
| 1379 |
+
587,
|
| 1380 |
+
823,
|
| 1381 |
+
617
|
| 1382 |
+
],
|
| 1383 |
+
"page_idx": 13
|
| 1384 |
+
},
|
| 1385 |
+
{
|
| 1386 |
+
"type": "text",
|
| 1387 |
+
"text": "Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Generating videos with scene dynamics. In Advances In Neural Information Processing Systems, 2016. ",
|
| 1388 |
+
"bbox": [
|
| 1389 |
+
173,
|
| 1390 |
+
625,
|
| 1391 |
+
823,
|
| 1392 |
+
655
|
| 1393 |
+
],
|
| 1394 |
+
"page_idx": 13
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "text",
|
| 1398 |
+
"text": "Jacob Walker, Carl Doersch, Abhinav Gupta, and Martial Hebert. An uncertain future: Forecasting from static images using variational autoencoders. In European Conference on Computer Vision, pp. 835–851. Springer, 2016. ",
|
| 1399 |
+
"bbox": [
|
| 1400 |
+
173,
|
| 1401 |
+
662,
|
| 1402 |
+
825,
|
| 1403 |
+
705
|
| 1404 |
+
],
|
| 1405 |
+
"page_idx": 13
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"type": "text",
|
| 1409 |
+
"text": "Zhou Wang, Alan C Bovik, Hamid R Sheikh, and Eero P Simoncelli. Image quality assessment: from error visibility to structural similarity. IEEE transactions on image processing, 2004. ",
|
| 1410 |
+
"bbox": [
|
| 1411 |
+
168,
|
| 1412 |
+
713,
|
| 1413 |
+
823,
|
| 1414 |
+
744
|
| 1415 |
+
],
|
| 1416 |
+
"page_idx": 13
|
| 1417 |
+
},
|
| 1418 |
+
{
|
| 1419 |
+
"type": "text",
|
| 1420 |
+
"text": "SHI Xingjian, Zhourong Chen, Hao Wang, Dit-Yan Yeung, Wai-Kin Wong, and Wang-chun Woo. Convolutional lstm network: A machine learning approach for precipitation nowcasting. In Advances in Neural Information Processing Systems, 2015. ",
|
| 1421 |
+
"bbox": [
|
| 1422 |
+
176,
|
| 1423 |
+
752,
|
| 1424 |
+
823,
|
| 1425 |
+
796
|
| 1426 |
+
],
|
| 1427 |
+
"page_idx": 13
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "text",
|
| 1431 |
+
"text": "Tianfan Xue, Jiajun Wu, Katherine Bouman, and Bill Freeman. Visual dynamics: Probabilistic future frame synthesis via cross convolutional networks. In Advances in Neural Information Processing Systems, 2016. ",
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
174,
|
| 1434 |
+
804,
|
| 1435 |
+
823,
|
| 1436 |
+
847
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 13
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "text",
|
| 1442 |
+
"text": "Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A. Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. International Conference on Computer Vision (ICCV), 2017. ",
|
| 1443 |
+
"bbox": [
|
| 1444 |
+
174,
|
| 1445 |
+
856,
|
| 1446 |
+
825,
|
| 1447 |
+
898
|
| 1448 |
+
],
|
| 1449 |
+
"page_idx": 13
|
| 1450 |
+
},
|
| 1451 |
+
{
|
| 1452 |
+
"type": "text",
|
| 1453 |
+
"text": "A TRAINING DETAILS ",
|
| 1454 |
+
"text_level": 1,
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
176,
|
| 1457 |
+
102,
|
| 1458 |
+
375,
|
| 1459 |
+
118
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 14
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "text",
|
| 1465 |
+
"text": "Figure 3 contains details of the network architectures used as generative and inference models. In all of the experiments we used the same set of hyper-parameters which can be found in Table 1. ",
|
| 1466 |
+
"bbox": [
|
| 1467 |
+
171,
|
| 1468 |
+
133,
|
| 1469 |
+
826,
|
| 1470 |
+
162
|
| 1471 |
+
],
|
| 1472 |
+
"page_idx": 14
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"type": "table",
|
| 1476 |
+
"img_path": "images/8a855776096651ab9f8362a058eb449c0b39e3195842c9caab343d585a74deb4.jpg",
|
| 1477 |
+
"table_caption": [
|
| 1478 |
+
"Table 1: Hyper-parameters used for experiments. "
|
| 1479 |
+
],
|
| 1480 |
+
"table_footnote": [],
|
| 1481 |
+
"table_body": "<table><tr><td colspan=\"2\">Generative Network</td></tr><tr><td>model type batch size learning rate scheduled sampling (k) #of masks</td><td>CDNA 16 0.001 900.0 10</td></tr><tr><td># of iterations InferenceNetwork</td><td>200000</td></tr><tr><td>latent minimumo starting β final β # of latent channels # step 1 iterations</td><td>-5.0 0.0 0.001 1 50000</td></tr><tr><td># step 2 iterations # step 3 iterations</td><td>50000 100000</td></tr><tr><td>Optimization</td><td>ADAM</td></tr><tr><td>Method β1</td><td>0.9</td></tr><tr><td>β2 E</td><td>0.999 1e-8</td></tr></table>",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
374,
|
| 1484 |
+
202,
|
| 1485 |
+
622,
|
| 1486 |
+
483
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 14
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"text": "In the first step of training, we disable the inference network and instead sample latent values from $\\mathcal { N } ( \\mathbf { 0 } , \\mathbf { I } )$ . In step 2, the latent values will be sampled from the approximated posterior $q _ { \\phi } ( { \\bf z } | { \\bf x } _ { 0 : T } ) =$ $\\mathcal { N } \\big ( \\mu ( \\mathbf { x } _ { 0 : T } ) , \\sigma ( \\mathbf { x } _ { 0 : T } ) \\big )$ . Please note that the inference network approximates $\\log ( \\sigma )$ instead of $\\sigma$ for numerical stability. To gradually switch from Step 2 of training procedure to Step 3, we increase $\\beta$ linearly from its starting value to its end value over the length of training. ",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
173,
|
| 1495 |
+
498,
|
| 1496 |
+
825,
|
| 1497 |
+
570
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 14
|
| 1500 |
+
}
|
| 1501 |
+
]
|
parse/train/rk49Mg-CW/rk49Mg-CW_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rk49Mg-CW/rk49Mg-CW_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|